Printer variable
Provides access to the TPrinter instance for an application.
Declaration
Printer: TPrinter = NilDescription
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 printer implementations are
available in the components/printers/ directory in the
printer4lazarus package. Add the osPrinters.pas
unit to your program if an Access Violation error occurs when using the
Printer variable.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
