AccusoftPrintPro8 ActiveX DLL > PrintPro Object : PrintDialog Method |
Displays a printer dialog box.
Visual Basic |
---|
Public Sub PrintDialog() |
The selected printer replaces the current printer only if a document has not been started on the current printer.
The printer dialog box can only be displayed when a printer has been selected, and no print job is in progress. When a print job is in progress, the printer dialog box will not be displayed, and an exception message appears. If the user clicks the Cancel button, the ErrorCode property is set to -5005.