[Overview][Types][Classes][Variables][Index] |
Provides access to the TPrinter instance for an application.
Source position: printers.pas line 354
var Printer: TPrinter = Nil; |
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.
|
TPrinter defines a printer object used in Lazarus applications. |
|
|
Using the Printer |
Version 3.2 | Generated 2024-02-25 | Home |