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
.
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.