The actual contents of a print job consist of graphics and text created with the Common Graphics API. See "Printing with Common Graphics" for more information on printing graphics.
1. Send a startPage message.
2. Upon reception of an expose callback, draw graphics on the window associated with the shell (window). The number of the page currently being drawn is specified in the callback data of the expose callback.
3. Send an endPage message.
|