[Overview][Types][Classes][Variables][Index] | Reference for unit 'Printers' (#lcl)

# TPrinter.DoEndPage

Performs actions needed to end the current page for the print device.

## Declaration

Source position: printers.pas line 268

`protected procedure TPrinter.DoEndPage; virtual;`

## Description

DoEndPage is a virtual procedure used to perform actions needed to end the current page for the print device. DoEndPage is called from the EndPage method, and occurs after synchronizing the printer canvas when RawMode is False.

Remark: | In TPrinter, DoEndPage 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

TPrinter.EndPage |  | Ends the current page for the document.
TPrinter.Canvas |  | The Canvas to be used for laying out the current document ready for printing.
TPrinter.RawMode |  | Indicates if raw output is used for the device (as opposed to a page description language).