answer page setup

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
answer page setup [as sheet]
Summary

Displays the appropriate page setup dialog for the platform.

Introduced2.9
OSmac, windows, linux
Platformsdesktop
Example
answer page setup
if the commandKey is down then
  answer page setup
end if
Values
NameTypeDescription
The result

*Note:* If the user clicks the cancel button of the answer page setup dialog, then "cancel" is put into the result.

RelatedCommand: answer, reset printing, answer printer, print, open printing, revShowPrintDialog
Property: printRotated, printMargins
Securityprinting
Description

The answer page setup command displays a dialog box where the user can set certain printing page related properties.

If the systemPrintSelector property is false or the system does not support native print dialogs a stack named "Page Setup Dialog" will be used. If the systemPrintSelector property is true then a dialog will be displayed by the operating system, in this case the exact options are determined by the printer driver and the operating system.

If the user does not cancel the dialog, upon return the printer settings properties will be updated to reflect their choices.

Tagsprinting