Sign in Join
FPDoc Onlineexperiment

TPrinter.DoGetPrinterState function

Member of TPrinterprotectedIn unit Printers

Gets the value for the PrinterState property.

Declaration

pascal
function DoGetPrinterState: TPrinterState; virtual

Function result

Value for the property.

Description

DoGetPrinterState returns the printer state. DoGetPrinterState is declared as a virtual method so that it may be overridden in a descendent class to perform the actions needed to determine the printer state for the implementation.

In TPrinter, DoGetPrinterState always returns the value psNoDefine. It must be overridden in a descendent class to perform actions needed for the operating system / widgetset / printer-related technology used in the implementation.

See also

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