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

TPrinter.Abort

Terminates printing of the current document (when active).

Declaration

Source position: printers.pas line 311

public procedure TPrinter.Abort;

Description

Abort is a procedure used to terminate printing of the current document (when active). Aborts calls CheckPrinting to ensure that Printing contains True. CheckPrinting raises an exception if Abort is called when BeginDoc has not been called.

Abort calls the DoAbort method to perform any actions needed for the class implementation.

Abort updates the PrinterFlags property to include the value pfAborted, and calls the EndDoc method to end printing for the current document.

See also

TPrinter.Printing

  

True if the document is currently being printed.

TPrinter.PrinterFlags

  

Status flags currently enabled for the print device.

TPrinter.DoAbort

  

Performs actions needed to abort printing for the current document.

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