AHMKC1
asked on
Select a Specific Printer to print Report
I use VB 6.0 and Crystal Report 8.0 when I want to print a report it always show default printer and don't select other printer because there is no option to change it. How can I choose a specific Printer in which I want to it report.
for report Design I use Report Viewer Control
for report Design I use Report Viewer Control
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If that doesn't help, please show the code you are using to display the report.
mlmcc
mlmcc
ASKER
OK thanks both of you Finaly I got this yours given location this is as follows
Private Sub CRViewer1_PrintButtonClick ed(UseDefa ult As Boolean)
UseDefault = False
Rpt.PrinterSetup Me.hWnd
Rpt.PrintOut False
End Sub
Thanks again both of you
Private Sub CRViewer1_PrintButtonClick
UseDefault = False
Rpt.PrinterSetup Me.hWnd
Rpt.PrintOut False
End Sub
Thanks again both of you
Glad I could help.
Spykair
Spykair
Glad i could help
mlmcc
mlmcc
ASKER
This is not work for cr 8.0 it works for 7.0 any other idea