SelectPrinter - cPrintDialog¶
Method Type¶
Function
Arguments¶
None
Description¶
Takes the information needed for devmode and devnames and constructs the print dialog information from this.
On success, the phPrintDlg property is filled with information from a PRINTDLGEXW structure.
The phPrintDlg can be used to directly print to a printer. This means that when InitDevNames, InitDevMode, psDeviceName, piFlags, piMinPage, piMaxPage, and piCopies are all correctly set, printing can occur without a printer dialog. Alternatively, a ReadPrinterDevMode needs to be executed.
Consider this an advanced way.