## The `Job' method

Argument: None
Result: Boolean scalar

Valid for: Printer

The `Job` method displays the standard print job dialog, which allows the user to specify print parameters such as the number of copies and the collation sequence. (This is the dialog which is normally displayed when the user selects Print.. from the File menu of a typical application). It updates the current print record of the printer object, and should be called before calling the `Open` method which starts the print job.

The return value indicates how the user ended the dialog. If the user pressed the OK button, it returns 1. A return value of 0 indicates that the Cancel button was pressed, so printing should not take place.

See also the `Setup` method which displays the standard dialog for selecting document-specific parameters such as the paper size, paper source, and orientation.

Topic: APLX Help : System Classes : Methods : Job

[ Previous | Next | Contents | Index ]