The following example demonstrates how to print some input from a user
interface. It shows how to implement on_begin_print
and on_draw_page, as well as how to track print status
and update the print settings.
Figure 18.1. Printing - Simple (TODO: make a screenshot)