PSPrintDialog()

Syntax

Function PSPrintDialog()
TPageScript:PrintDialog()

Returns

A logical value. TRUE if the user pressed OK. FALSE if print dialog is cancelled by the user.

Description

PSPrintDialog() shows the standard Windows print dialog. The user can then select the printer and adjust all the print settings. If the user clicks OK, PSPrintDialog returns TRUE and you may call PSBeginDoc() without having to call any other functions to select the paper format, paper tray, number of copies and so on.

You may also call PSPrintDialog() to let the user select the printer on which a RAW print job is to be sent.

Arguments

None