Programmer's Reference
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.
An application uses the following steps to produce pages of graphics and
text:
- Send a startPage message.
- 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.
- Send an endPage message.
- Repeat steps 1 to 3 as necessary.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]