[Overview][Types][Classes][Variables][Index] Reference for unit 'Printers' (#lcl)

Printer

Provides access to a TPrinter instance.

Declaration

Source position: printers.pas line 332

var Printer: TPrinter = Nil;

Description

Printer is a TPrinter variable which can be used to store a unit global printer instance. The value in Printer may contain a derived class instance which implements a specific page description language or printer-related technologies like CUPS. Its value may be assigned in classes which have a specific implementation for a printer device. The value in Printer is freed (when assigned) during finalization of the unit.

Additional printer types and OS-specific implementations are available in the components/printers/ directory in the printer4lazarus package.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.