Programmer Guide/Command Reference/PRINTDIALOG: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==PRINTDIALOG==
{{Command Reference}}
<var>var</var> := PRINTDIALOG [ <var>settings</var> ]


<code>var := PRINTDIALOG [<var>settings</var>]</code>
Show the print dialog. If the <var>settings</var> argument is specified, the printer settings are set, too. The argument <var>settings</var> 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.


-> var = 'currentprintersettings'
The command returns the current printer settings in a format suitable for using it as the <var>settings</var> parameter.


Show the print dialog. If the <var>settings</var> argument is specified, the printer settings are set too. The argument settings is a string consisting of all available print parameters (including 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.
<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.

Navigation menu

Personal tools