LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

page-setup-dialog

Function
Summary

Displays the page setup dialog for a given printer.

Package

capi

Signature

page-setup-dialog &key screen owner printer continuation

Description

The page-setup-dialog function displays the page setup dialog for printer . If printer is not specified, the dialog for the current printer is displayed.

The CAPI screen on which to display the dialog is given by screen , which is the current screen by default.

owner specifies an owner window for the dialog. See the "Prompting for Input" chapter in the LispWorks CAPI User Guide for details.

If continuation is non-nil, then it must be a function with a lambda list that accepts one argument. The continuation function is called with the values that would normally be returned by page-setup-dialog . On Cocoa, passing continuation causes the dialog to be made as a window-modal sheet and display-dialog returns immediately, leaving the dialog on the screen. The with-dialog-results macro provides a convenient way to create a continuation function.

See also

current-printer


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex