The DIALOG_PRINTJOB function opens a native dialog that allows you to set parameters for a printing job (number of copies to print, for example).
DIALOG_PRINTJOB returns a nonzero value if the user pressed the "OK" button in the dialog, or zero otherwise. You can use the result of this function to programmatically begin printing.
Set this keyword to the widget ID of a widget to be used as the parent of this dialog.
Set this keyword equal to a string indicating the name of the X Windows display on which the dialog is to appear. This keyword is ignored if the DIALOG_PARENT keyword is specified. This keyword is also ignored on Microsoft Windows and Macintosh platforms.