Programmer Guide/Command Reference/PRINTDIALOG: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{Command Reference}}
  <var>var</var> := PRINTDIALOG [ <var>settings</var> ]
  <var>var</var> := PRINTDIALOG [ <var>settings</var> ]


Line 5: 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 13: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