PtrDevice:ShowSetupDlg() Method
<< Click to Display Table of Contents >> PtrDevice:ShowSetupDlg() Method |
![]() ![]() ![]() |
Purpose
To Display the Printer Setup Dialog Window for the current printer.
Syntax
<oPtrDevice>:ShowSetupDlg() → lSuccess (LOGIC)
Description
This method displays the Printer Setup Dialog Window which allows various options to be set such as the selected Printer, Page Orientation, Paper Size, etc. This method returns TRUE if the user exited the dialog by clicking the OK button; FALSE if the CANCEL button is clicked.
Example
// Show the print setup dialog
oPtrDevice:ShowSetupDlg()