Adding callbacks
Common Printing uses the callback mechanism to inform applications of events related to the printing process. Callbacks are added to a shell using the addCallback:receiver:selector:clientData: method.
CwPrinterShell uses the following callbacks:
The shell has been mapped and is ready for print job production.
The shell is ready to receive data for the current printer page.
The shell's dimensions have been modified.
The shell is about to be destroyed.
The following diagram shows the proper sequencing of printer shell job commands and callbacks.
Printer shell job commands
Last modified date: 12/21/2017