Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR7 + VB6, viewer goes to default printer, no windows print dialog?

Status
Not open for further replies.

mgason

Technical User
Feb 6, 2003
158
0
0
AU
Hi,
we have a customer using CR7 inside a VB app.
The report displays fine in the viewer. When you select print a simple dialog allowing you to select which pages to print appears. The printer is preselected. You can not change it.
How in can we make a standard windows print dialog appear for them?
Is the solution in VB or Crystal?
thanks
Mark
 
I've got something similar available in my cView Report Viewer. The solution is in VB.

You need to trap the windows print event on the RDC and then call up a printer dialog.

The VB default printer or change printer doesn't apply to the CR RDC object. You need to set the printer using the RCD object.

Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top