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

Printing Crystal Reports in VB Net

Status
Not open for further replies.

pweegar

Programmer
Nov 3, 2000
403
US
Hope someone has seen this before. And can help! I have an app I am developing in VB .net 2003. As part of the application, I have set up a crystal report, using the crystal report designer.. I added the crystal report viewer to my app.

When I run the application, I can see the report displayed properly. However, when I print it, I get nothing but garbage on each page. I'm printing to a networked HP 5SImx printer.

All other applications and internet printing thru IE print properly (sometimes hundreds of pages at a time). I am printing the report with the following command: CrystalReportViewer1.PrintReport.

I get no error messages, just bad report pages. I was thinking the problem occurs because I am pulling data thru ADO .net and not the current db setting. However, not even my text heading print.

Any ideas would be appreciated!
 
Hello

I had the same problem a while ago.
My solution was related to the printer not having PCL support. I believe most HPs use postscript (PS) drivers by default, which will cause Crystal to render incorrectly.

If you install the latest PCL drivers for this printer and try again it should work.

There is more information on;
 
We also have the same problem with one printer. Crystal reports are fine until we try using the shared printer (toshiba something) We run reports on other printers and they work fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top