with-print-job creates a print job which prints to
is not specified, the default printer is used. The macro binds
to a graphics port object, and printing is performed by using Graphics Ports operations to draw the object.
is non-nil it must be an instance of output-pane or a subclass. In this case
is bound to
is modified within the dynamic extent of the
with-print-job so all drawing operations draw to the printer instead of
. This can be useful when implementing printing by modifying existing redisplay code that is written expecting an output-pane. If pane is
is bound to a graphics port of type printer-port, which is alive only inside the body of
with-print-job, and sends any drawing into it to the printer.
specifies the owner of the printer port object, which calls to port-owner will return. This has an effect only when
should be either
:compatible which causes drawing to be the same as in LispWorks 6.0, or
:quality which causes all the drawing to be transformed properly, and allows control over anti-aliasing on Microsoft Windows and GTK+. If
is supplied, then
determines the print job's
, otherwise the default value of
For more information about drawing-mode , see The drawing mode and anti-aliasing.
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017