OnPrintDocument Event

Top  Previous  Next

Occurs after the last document package is sent to the printer.

 

Visual Basic Declaration

 

OnPrintDocument (Sender as Variant, Cancel as Boolean)

 

Delphi Declaration

 

procedure OnPrintDocument (Sender : TObject; var Cancel : Boolean)

 

 

Parameters

 

Sender: The LPD object that raises the event.

Cancel: If it's TRUE, the default print method isn't used.

 

See also OnPrintBanner event.