Please enable JavaScript to view this site.

TIFF Image Printer

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

SectionName:

Devmode settings

PropertyName:

Resolution

varValue:

VT_I4, one of the following:

1200

720

600

400

360

300

254

240

200

150

120

100

75

60

50

Supported Printers: TIFF Image Printer, PDF Image Printer, Raster Image Printer

See Also: ForcePrinterResolution SetDevModeSettings ClearDevmodeSettings SetProperty pnPrinterResolution