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

# TPrinter.Aborted

True if printing of the document has been prematurely terminated by operator command.

## Declaration

Source position: printers.pas line 337

`public property TPrinter.Aborted : Boolean read GetAborted;`

## Description

Aborted is a read-only Boolean property which indicates if the current print job has been terminated. The value for the property is determined by examining the values in the PrinterFlags property. When PrinterFlags includes the value pfAborted, the property value is True.

The status value is included in PrinterFlags when the Abort method is called. It is removed from PrinterFlags when the BeginDoc method is called.

## See also

TPrinter.Abort |  | Terminates printing of the current document (when active).
TPrinter.BeginDoc |  | Starts printing for the current document.
TPrinter.PrinterFlags |  | Status flags currently enabled for the print device.
TPrinterFlags |  | Represents status flag values used for printer devices.