Description
Sets the resolution, or dots per inch (DPI) of the printer. When this option is not set through the IPNSession object, the options from the conversion profile passed into the SetSessionPrinter call are used. If a conversion profile is not set, the options in the default conversion profile for the printer are applied to the output file instead.
To remove the forced resolution, call this method with pnPrinterResolutionDefault as the resolution. This will clear the setting.
The resolution can also be set and cleared individually using the SetProperty call with the appropriate arguments. See the Remarks below for the arguments needed.
Syntax
expression.ForcePrinterResolution(Resolution)
where expression is an IPNSession object.
Parameters
pnPrinterResolution Resolution
A pnPrinterResolution constant for the resolution of the printer.
Remarks
Use the following to set these options using SetProperty:
Method Parameter |
SetProperty Parameters |
||||||
Resolution |
|
Supported Printers: TIFF Image Printer, PDF Image Printer, Raster Image Printer
See Also: ForcePrinterResolution SetDevModeSettings ClearDevmodeSettings SetProperty pnPrinterResolution