Next Prev Up Top Contents Index

with-print-job

Macro
Summary

Creates a print job that prints to the specified printer.

Syntax

with-print-job var &key pane jobname printer &body body

Description

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.

See also

with-document-pages
with-page
with-page-transform
set-printer-options


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index