Next Previous Up Top Contents Index

1 CAPI Reference Entries

print-dialog

Function

Summary

Displays a print dialog and returns a printer object.
Syntax

print-dialog &key screen owner first-page last-page print-selection-p print-pages-p print-copies-p

Description

Theprint-dialog function displays a print dialog and returns a printer object. The print object returned will print multiple copies if requested by the user.
If print-pages-p ist, the user can select a range of pages to print. This should always be the case unless the application only produces single page output. If print-pages ist, first-page and last-page can be used to initialize the page range. For example, they could be set to be the first and last pages of the document.
The print-copies-p keyword indicates whether the application handles production of multiple copies for drivers that do not support this function. Currently this should benil if the application uses Page Sequential printing andt if the application uses Page on Demand printing.
If print-selection-p ist, the user is given the option of printing the current selection. Only specify this if the application has a notion of selection and selecting printing functionality is provided.
The dialog is displayed on the current screen unless screen specifies otherwise.
The interface that owns the dialog is given by owner. It should be a currently displayed interface, and defaults to the current top-level interface.
See also

print-file
print-text

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker