printer (direct printing)

Description

Specifies the printer to directly print to. Only the exact printer name strings as they appear in the Printers Control Panel may be used.

This a read-write property. With javascript, take care to double any backslash that appears in the printer name.

Please note that an error will be thrown if the printer cannot be connected to.

Syntax

rawPrinting.printer = sPrinterName

Example