I have code (see below) that uses a common dialog to select a printer. When it reaches the .ShowPrinter statement, the printer dialog fires fine and shows 3-4 available printers. But, when I hit the print button (having made no change to default printer selection - which is a printer connected to my local PC) in the dialog, there is a delay of several seconds before the next line of VB code is reached.
Any ideas??? Thanks in advance.
Set ComDlg = FrmMenu.cdgApp
With ComDlg
.CancelError = True
.PrinterDefault = True
On Error GoTo GmsSelectPrinterErr
.ShowPrinter
On Error GoTo 0
End With
Any ideas??? Thanks in advance.
Set ComDlg = FrmMenu.cdgApp
With ComDlg
.CancelError = True
.PrinterDefault = True
On Error GoTo GmsSelectPrinterErr
.ShowPrinter
On Error GoTo 0
End With