Printer

This property is the name of the printer. It contains one of the following:
  • The name of the specific printer if the PrintMode of the connection is pcSpecificPrinter.
  • The name of the Windows default printer if the PrintMode of the connection is pcWinDefaultPrinter.
  • A null string if a printer is not configured in the connection or if the PrintMode of the connection is pcPrtToDskAppend or pcPrtToDskSeparate.

Printer is a String data type and is read-only.

The value must have the following format:
<Printer name> on <Port Name>
For example:
  • HP LaserJet 4050 Series PCL 6 on LPT1