Sign in Join
FPDoc Onlineexperiment

TPrinter.Printing property

Member of TPrinterpublicIn unit Printers

True if the document is currently being printed.

Declaration

pascal
property Printing: Boolean read GetPrinting;

Description

Printing is a read-only Boolean property which indicates if the device is currently printing a document. The value for the property is determined by examining the PrinterFlags for the device. When PrinterFlags includes the value pfPrinting, the property value is True.

The status value is included in PrinterFlags when the BeginDoc method is called, and removed from PrinterFlags when the EndDoc method is called.

Use Abort to halt the current printing process.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.