Manage the Print Progress
Handle the following events to track the printing progress and change the printing settings at runtime:
-
This event occurs before each page is printed. In this event handler, you can obtain information about the current printing operation and access the current page index, as well as other page settings.
Handle this event to perform any actions before printing each page. For example, you can bind a progress bar’s ProgressBarControl.Position property to the PrintProgressEventArgs.PageIndex property value to manually reflect the current printing progress.
You can also use the PrintProgressEventArgs.PageSettings property to change a printed page’s settings (such as the paper source).
-
This event occurs only once - before sending a document to a printer. In this event handler, you can change various printing settings before sending a document to a printer.
The following tutorials demonstrate how to use this event to complete different tasks:
Tip
Use the XtraReport.ShowPrintStatusDialog property to specify whether to display the Printing dialog window during the printing process:
