MTblPrintSetupDlg
nRet = MTblPrintSetupDlg( hWndParent, sPrinterName )
Displays the print setup dialog for a printer.
Parameters
hWndParent
Window Handle: Handle of the parent window of the dialog
sPrinterName
String: Name of the printer
Return
Number: IDOK when the user selects the [OK] button, IDCANCEL when the user selects the [CANCEL] button or negative if an error occurs
Example
In this example the setup dialog for the default printer is displayed:
Set sPrinter = MTblPrintGetDefPrinterName( )
Set nRet = MTblPrintSetupDlg( hWndNULL, sPrinter )
Remarks
The settings the user makes are local to the application. The common printer settings are not changed.
See also
Printing
Created with the Personal Edition of HelpNDoc: Free PDF documentation generator