doJobSetup

Syntax: doJobSetup(document)

Returns: TRUE if the user clicks "Print" in the job setup dialog

FALSE if the user clicks "Cancel" in the job setup dialog

The doJobSetup function displays the job setup dialog for a document object. This function should be called right before printing. If doJobSetup returns TRUE, the user clicked the "Print" button, and printing should proceed. If doJobSetup returns FALSE, the user clicked "Cancel", and you should not print the document. This function cannot be called on an empty document.

Example:

This is the recommended way of calling doJobSetup right before printing a PrintOMatic document:

if doJobSetup (doc) = TRUE then print doc