• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1443
  • Last Modified:

Crystal reports - no printers installed

I am using crystal reports in vs 2005. I am using the PrintToPrinter method which works great from the development machine (that's always the story) but not on the web server. I get a no printers installed error. I am not using the msi installer method, but rather I am publishing the website. Any idea where I should start to troubleshoot?

Thank you
0
larrystewart
Asked:
larrystewart
  • 4
  • 3
1 Solution
 
frodomanCommented:
Are you printing on the web server - meaning you must have printers installed on your web server which isn't typically the case...
0
 
larrystewartAuthor Commented:
No printers installed on the server. Does that matter? I was under the impression that it was the client machine that should have the printers installed.
0
 
frodomanCommented:
If the PrintToPrinter code is executing on the server, as I assume it is, then you're trying to print from the web server not from the client machine.  This document may help you: http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_web_app_printing.pdf

frodoman
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
larrystewartAuthor Commented:
Great article. That explains why its not working. This question may be out of the realm of this solution but I will ask it anyway. I was using the print icon on the viewer's toolbar, it would display the print dialog box and allow me to print to a selected printer. For some reason the icon no longer functions, but assuming it did, would that work on the client side?

Thank you.
0
 
frodomanCommented:
Yes, the viewer is a client-side control so when it is clicked in the client browser it will print to a client-side (or networked) printer.

If you haven't done much printing with Crystal I will add that there's a good reason the above document discusses exporting to PDF for printing - direct printing from the viewer produces sub-par results in my opinion (it is inconsistent between machines, often has minor format glitches, etc.).  You may find you achieve much better results by exporting to PDF and allowing the user to print from there - in fact I typically do that export in code and only show the report to the user in PDF form.

hth

frodoman
0
 
larrystewartAuthor Commented:
Thanks for your feedback. I am already exporting to PDF so it should be a pretty painless process. Thanks again.

0
 
frodomanCommented:
Glad I could help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now