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

Printing Crystal Report straight to printer w/ no user input

Status
Not open for further replies.

lpedde

Programmer
May 16, 2001
10
US
I am using Crystal Reports 7, Visual Basic 6, and OCX integration.

How do I print a report to the printer without having that dialog come up waiting for the printer button to be used?

I have tried report.Action = 1 and report.PrintReport and both wait for the user to "print" the report.

Thanks, Linda
 
It's been a while, but I believe in your crystal controls properties, you can choose print "to file", "to window", or "to printer".

if you set the print property to "to printer" the report will be sent to your default printer when the line:

crystal1.PrintReport

executes.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top