The with-print-job
macro creates a print job which prints to printer . If printer is not specified, the default printer is used. The macro binds var to a graphics port object, and printing is performed by using graphics port objects to draw the object.
If pane is specified it must be an output pane. In this case var is bound to pane , and the output pane is modified within the dynamic extent of the with-print-job
so all drawing operations draw to the printer instead of the output pane. This can be useful when implementing printing by modifying existing redisplay code that is written expecting the output pane.