Ending a job
The endJob method ends a print job and submits the job for printing. A job can also be canceled at any point by calling cancelJob. In this case, an attempt is made to erase the entire contents of the print job and cancel printing of the job. It is not necessary to issue endJob after canceling a print job.
Once a print job is complete or has been canceled, an application can begin another document by issuing startJob and beginning the printing process again. When all print jobs are complete, destroyWidget should be used to destroy the printer shell and release its associated resources. Finally, the printer display should be closed if it is no longer needed.
Last modified date: 01/29/2015