Vcl.Printers.Printer

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Printer: TPrinter;

C++

extern DELPHI_PACKAGE TPrinter* __fastcall Printer(void);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Printers.pas
Vcl.Printers.hpp
Vcl.Printers Vcl.Printers

Description

Returns a global instance of TPrinter to manage interaction with the printer.

Printer creates an instance of a global TPrinter object the first time it is called. Use the Printer function to print using the TPrinter object.

Printer is declared in the Printers unit. To use the Printer function and the TPrinter object, add Printers to the uses clause of your unit (Delphi) or include Printers.hpp in the source file (C++).

See Also

Code Examples