Crystal reports: No default printer error

G

Guest

I'm trying to print a report from an ASP.Net button click event. In my
application I use a ReportDocument object to load a .rpt file and display the
file in an IE window. In that window I have an export button with a dropdown
to allow the user to select a file format to export to or just to send it to
a printer. When I select the printer option and click the export button on
my development machine, I get a printed copy of the report with the print
options set correctly. when I load the application on a test server and try
to do the same thing, I get an exception that says "No default printer". I'm
using the PrintToPrinter call on the document object and not setting any
printer name in my code. I also have the "No printer" option set in the
report file.

Has anyone run into/fixed this issue? I could really use some help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top