Printer Dev Mode

TECH TIP: Configuring Printer Specific Options

The Report.PrinterSetup properties can be used to set the properties that are common to all printers. Internally RB applies these to the Windows DevMode structure.

Printers often contains additional features, such as output bins, media types, etc. The Windows DevMode structure can contain a private area that is used the printer driver to store printer specific options. These can be configured by using the Printer Driver’s built-in properties dialog. These options can theoritically be set programmatically, the trick is that you have to know where in the structure to store the option and what values are valid.

The following example shows how to display the printer properties dialog and save the devmode for use within RB…

http://www.digital-metaphors.com/tips/SavePrinterDevMode.zip