Has anyone used .PrintSetup successfully? I've downloaded the Printer Settings example on Seagates website, and even THAT example doesn't work. I get a blank page everytime. I've read just about eveything there is on .PrintSetup and .PrintOut. I'm using CR8.5 and RDC.
I would like to hear someone, anyone, who has used the .PrintSetup successfully.
Dim Report As New CR1
Option Explicit
Private Sub CRViewer1_PrintButtonClicked(UseDefault As Boolean)
UseDefault = False
On Error GoTo Cancel:
Report.PrinterSetup Me.hWnd
Report.PrintOut True
Exit Sub
Cancel:
MsgBox "Printing cancelled"
Exit Sub
End Sub
I would like to hear someone, anyone, who has used the .PrintSetup successfully.
Dim Report As New CR1
Option Explicit
Private Sub CRViewer1_PrintButtonClicked(UseDefault As Boolean)
UseDefault = False
On Error GoTo Cancel:
Report.PrinterSetup Me.hWnd
Report.PrintOut True
Exit Sub
Cancel:
MsgBox "Printing cancelled"
Exit Sub
End Sub