TPrinter = class(TAbstractPrinter)
class PASCALIMPLEMENTATION TPrinter : public Fmx::Graphics::TAbstractPrinter
Encapsulates the Windows and OS X standard printer interfaces.
A print job is started by a call to BeginDoc. The application sends commands by rendering through a Text variable or the printer's canvas. You can move to a new page by calling the NewPage method. The job stays open until the application calls EndDoc. If a problem occurs and you need to terminate a print job that was not sent to the printer successfully, call the Abort method.
Use the TPrinter properties to configure the print job. For example, the title displayed in the Print Manager (and on network header pages) is determined by the Title property. Copies determines the number of copies to print, and Orientation lets you specify whether to print in portrait or landscape mode.
TPrinter includes several read-only properties that let you determine which page is currently being printed, the fonts available on the printer, the paper size, and so on.