getPrintedStatus

getPrintedStatus(): Integer;

The getPrintedStatus method of the Printer class returns the status of the print task after the printer is closed, to enable you to determine if the user printed the report during preview or if the user aborted or cancelled the print task.

The values returned by this method are valid only after the printer has been closed. The printed status is cleared the next time the printer is opened.

The following table lists the values that can be returned by the getPrintedStatus method.

Printer Class Constant Integer Value Description
PrintedStatus_Not 0 No printing occurred
PrintedStatus_All 1 The entire report was printed
PrintedStatus_Partial 2 The user printed specific pages only in print preview
PrintedStatus_Aborted 3 The report printing was aborted
PrintedStatus_Cancelled 4 The report printing process was canceled, producing only partial output