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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select printer in run-time

Status
Not open for further replies.

Strannik

Programmer
Jul 4, 2002
132
UA
When report preview window opens it has a lot of toolbar buttons,including 'Print' button. But when I press 'Print' it uses system default printer. Is there any way to display window where user could select the desired printer from the list of installed printers ?
 
What programming language/method (RDC, OCX, etc.) are you using to call the report, and what version of Crystal?

-dave
 
Sorry, I didn't write that.

VB 6, RDC, Crystal Report 8.5
 
In the Viewer's PrintButtonClicked event, make a call to the PrinterSetup method. Take a look a this thread for some guidance: thread768-826313.

-dave
 
to vidru:

Many thanks! Never thought that CR has such a powerfull object model.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top