revShowPrintDialog | ||||||||||
Type | command | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Associations | printing library | |||||||||
Summary | Controls display of the Page Setup (on Mac OS systems) and Print dialog boxes when using the revPrintField or revPrintText commands. | |||||||||
Introduced | 1.0 | |||||||||
OS | mac, windows | |||||||||
Platforms | desktop | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Message: startup, openBackground, preOpenStack, openStack, preOpenCard Command: answer printer, revPrintText, group, revPrintField, answer page setup Function: result Glossary: application, standalone application, dialog box, execute, command, Windows, main stack, OS X, Standalone Application Settings, Mac OS, message, parameter, handler, LiveCode custom library Library: Printing library | |||||||||
Security | printing | |||||||||
Description | Use the revShowPrintDialog command to let users specify options for printing. Before printing, applications usually display a dialog box where the user can set certain print-related properties. (This dialog is displayed by the operating system, not by LiveCode.) Typically, the options in the dialog box include enlargement or reduction, landscape or portrait mode, and paper size, but the exact options are determined by the printer driver and the operating system. If you use the revShowPrintDialog command in a handler before a revPrintField or revPrintText command, these commands display this dialog box. *Cross-platform note:* On Mac OS and OS X systems, the showPageSetup parameter controls whether the Page Setup dialogbox appears, and the showPrint parameter controls whether the Print dialog box appears. On Windows systems, the showPageSetup parameter controls whether the standard printing options dialogbox appears, and the showPrint parameter is ignored. If you use the revShowPrintDialog command outside a handler where a revPrintField or revPrintText command is executed, the revShowPrintDialog command has no effect. The command sets printing options only for the currently executing handler.
| |||||||||
Tags | printing |