|
This method has been made obsolete in PNSrv12Lib. Use ForcePrinterOrientation, ForcePrinterResolution, ForcePrinteColorMode , ForcePrinterPaperSize instead. |
Description
Forces the printer to use the color mode, resolution, paper orientation and paper size options specified. In most cases not all of the options need to be set, often only the printer resolution or color mode may be needed.
The printer options can also be set individually using the SetProperty call with the appropriate arguments. See the Remarks below for a list of arguments.
Syntax
expression.SetDevmodeSettings(Orientation, Resolution, ColorMode, PaperSize)
where expression is an IPNSession object.
Parameters
pnPrinterOrientation Orientation
A pnPrinterOrientation constant for the orientation of the paper.
pnPrinterResolution Resolution
A pnPrinterResolution constant for the resolution of the output file.
Boolean ColorMode
The color mode of the output file. Enter True for color and False for black and white.
String PaperSize
The name of the paper size of the output file. Any paper size listed through the printer user interface can be used here.
Remarks
Use the following to set these options using SetProperty:
Method Parameter |
SetProperty Parameters |
||||||
Orientation |
|
||||||
Resolution |
|
||||||
ColorMode |
|
||||||
PaperSize |
|
Supported Printers: TIFF Image Printer, PDF Image Printer, Raster Image Printer
See Also: ForcePrinterColorMode ForcePrinterOrientation ForcePrinterPaperSize ForcePrinterResolution ClearDevmodeSettings SetProperty pnPrinterColorMode pnPrinterOrientation pnPrinterResolution