Link to home
Start Free TrialLog in
Avatar of AHMKC1
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
SOLUTION
Avatar of Spykair
Spykair
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AHMKC1
AHMKC1

ASKER

thanks

This is not work for cr 8.0 it works for 7.0 any other idea
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If that doesn't help, please show the code you are using to display the report.

mlmcc
Avatar of AHMKC1

ASKER

OK thanks both of you Finaly I got this yours given location this is as follows

Private Sub CRViewer1_PrintButtonClicked(UseDefault As Boolean)
UseDefault = False
Rpt.PrinterSetup Me.hWnd
Rpt.PrintOut False
End Sub

Thanks again both of you
Glad I could help.

Spykair
Glad i could help

mlmcc