[Overview][Types][Classes][Variables][Index] Reference for unit 'Printers' (#lcl)

TPrinter.Printing

True if the document is currently being printed.

Declaration

Source position: printers.pas line 338

public property TPrinter.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

TPrinter.PrinterFlags

  

Status flags currently enabled for the print device.

TPrinter.Abort

  

Terminates printing of the current document (when active).

TPrinter.BeginDoc

  

Starts printing for the current document.

TPrinter.EndDoc

  

Ends printing for the current document.

TPrinterFlags

  

Represents status flag values used for printer devices.


Version 3.2 Generated 2024-02-25 Home