All Manuals > CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

simple-print-port

Function
Summary

Prints the contents of an output pane to a printer.

Package

capi

Signature

simple-print-port port &key jobname scale dpi printer drawing-mode interactive background

Description

The simple-print-port function prints the output pane specified by port to the default printer, unless specified otherwise by printer . The arguments of scale and dpi are used to determine how to transform the output pane's coordinate space to physical units. Their meaning here is the same as in get-page-area, except that scale may also take the value :scale-to-fit , in which case the pane is printed as large as possible on a single sheet.

The background color of the pane is ignored, and the value given by background is used instead. This defaults to :white .

drawing-mode 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+. The default value of drawing-mode is :quality .

For more information about drawing-mode , see "Drawing mode and anti-aliasing" in the CAPI User Guide .

If interactive is t , a print dialog is displayed. This is the default. If interactive is nil , then the document is printed to the current printer without prompting the user.

See also

print-dialog


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex