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!

Can I print a CR without previewing it first?

Status
Not open for further replies.

Jerrycurl

Programmer
Aug 4, 1999
85
US
I'm using the CrystalReport control in VB6. I can display the report on the screen and then print it via the Print button on the report window, but I'd like to just send the report to the printer without previewing it on the screen first. Is this possible?
 
In delphi I just set the "OutPutTo" to printer and then make the report active and close it again. This sends is to the printer without showing it.
 
put this code behind a button<br>&quot;reportname&quot;.printout (false)<br>this sends the report straight to the printer w/o previewing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top