PRINTDIALOG

From STX Wiki
Jump to navigation Jump to search
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.