Sign in Join
FPDoc Onlineexperiment

TPrinter.CanPrint property

Member of TPrinterpublicIn unit Printers

True if printing is enabled (or not disabled).

Declaration

pascal
property CanPrint: Boolean read GetCanPrint;

Description

CanPrint is a read-only Boolean property which indicates if the print device is enabled and ready to print.

In TPrinter, the property value is always True. The read access specifier (GetCanPrint) can be overridden in a descendent class to use the facilities for the operating system / widgetset / printer-related technology in the implementation.

See also

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