| com.pdftron.pdf.Print.PrintCallback |
PrintCallback interface provides a way for users to receive callback when print job is finished. The callback deponds on how print job will be finished which can be either on completion, fail or cancellation.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onPrintCancelled()
notify the listeners that the print job was cancelled
| ||||||||||
| abstract void |
onPrintCompleted(int pagesCount, int copiesCount)
notify the listeners that the print job was successfully completed
| ||||||||||
| abstract void |
onPrintFailed()
notify the listeners that the print job was failed
| ||||||||||
notify the listeners that the print job was cancelled
notify the listeners that the print job was successfully completed
| pagesCount | the number of pages that were printed |
|---|---|
| copiesCount | the number of copies that were printed |
notify the listeners that the print job was failed