InfoConnect for Airlines VBA Guide
DefaultPrinter Property
Gets or sets the default printer for printer output.
Object.DefaultPrinter As String
Assigning a default printer with this property has no effect on the default printer used by other Windows applications.

The default printer string consists of the printer name, driver, and port as shown in these examples:

DefaultPrinter = "HP LaserJet 4,WINSPOOL,\\Mynet\Myprint"

DefaultPrinter = "Epson AP-4000,WINSPOOL,LPT1:"

To force InfoConnect to always use the default printer specified in the Windows Control Panel, set this property to an empty string.

See Also