Terry Rogers
asked on
Printing Report
Im using the Crystal Report Viewer in my Visual Basic 6 Applicaton. When a user clicks the print button on the Viewer they only have the option to print to the default printer.
How can I get it so the user can select which installed printer to print to?
How can I get it so the user can select which installed printer to print to?
ASKER
Im using version 10 profesional.
I am using CR9 with .Net 2003, when print from report viewer, it pop up an option which list down all the printers that already installed into my pc. I am not sure about VB6, but I think CR 10 should support it anyway.
dylan
dylan
ASKER
How would I enable this feature?
I didn't do anything to enable this feature, it is attached to the print button of CR Report Viewer.
When you click the print button, will it give you a pop up? or directly print to printer? if there is a pop up, what options can you see from the pop up?
dylan
When you click the print button, will it give you a pop up? or directly print to printer? if there is a pop up, what options can you see from the pop up?
dylan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok, I do indeed have the PrinterSetupEx function, however is requires a parameter...
PrinterSetupEx(hWnd as Long) As Long
Any ideas on that?
PrinterSetupEx(hWnd as Long) As Long
Any ideas on that?
ASKER
ok, sorted. Thanks for your helps guys!
need to call it as follows ...
Report.PrinterSetupEx (hWnd)
need to call it as follows ...
Report.PrinterSetupEx (hWnd)
When I click the print button from report viewer, it always pop up a print option and let me choose which printer to print to.
dylan