Programmer Guide/Command Reference/PRINTDIALOG: Difference between revisions
From STX Wiki
Jump to navigationJump to search
mNo edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
The command returns the current printer settings in a format suitable for using it as the <var>settings</var> parameter. | The command returns the current printer settings in a format suitable for using it as the <var>settings</var> parameter. | ||
<var>RC</var> is set to 0 on OK and 1 on Cancel. |
Latest revision as of 12:23, 17 September 2019
var := PRINTDIALOG [ settings ]
Show the print dialog. If the settings argument is specified, the printer settings are set, too. The argument settings is a string consisting of all available print parameters (including the selected printer) in a packed form. The print dialog is derived from the windows print dialog and is a part of the implementation of display and graph items.
The command returns the current printer settings in a format suitable for using it as the settings parameter.
RC is set to 0 on OK and 1 on Cancel.