Vcl.Printers.TPrinter.EndDoc
Delphi
procedure EndDoc;
C++
void __fastcall EndDoc();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Printers.pas Vcl.Printers.hpp |
Vcl.Printers | TPrinter |
Description
Ends the current print job and closes the text file variable.
EndDoc terminates the print job (and closes the currently open Text). The print job will begin printing on the printer after a call to EndDoc.
After the application calls EndDoc, the printer begins printing. Use EndDoc after successfully sending a print job to the printer. If the print job isn't successful, use the Abort method.
See Also
Code Examples