The StartPageEx event is fired when the selected printer starts to print a new page.
The StartPageEx event is available since Printer Version 14.98 and provides more information than the older StartPage event.
Received Parameters
PrinterName: The name of the Printer that sent the event.
JobID The Windows Job ID of the print job.
DocumentName The name of the printed document. (This parameter is provided by the printing application and it usually contains the Title of the printed document. It is not output filename of the printer driver and not the filename of the printed document.)
ImageFileName The name (with the full path) of the output file of the printer driver.
GroupFileName The name (with the full path) of the generated group file.
PageNumber The current page number.