TPrinter.DoBeginDoc procedure
Performs actions needed when printing is started for a document.
Declaration
procedure DoBeginDoc; virtualDescription
DoBeginDoc is a virtual procedure which performs actions needed
when printing is started for a document. DoBeginDoc is called from the
BeginDoc method, and occurs after checking the printer status and
updating values in
PrinterFlags. When
RawMode is
False, the
Canvas has already been refreshed and its
BeginDoc method has been called.
In
TPrinter, DoBeginDoc has an empty implementation. 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.
