Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't print to default printer
Message
 
To
22/10/2002 13:18:41
Gary Otte
California Youth Authority
Sacramento, California, United States
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
00713959
Message ID:
00714154
Views:
18
This message has been marked as the solution to the initial question of the thread.
This is an issue with you running the report as a Web app. The only printers it should see are the ones on the server. What others have done is output the report in pdf and display the report to the users, using the PDF Reader. This program (that runs on the Client) allows them to print using their default printer or change it to another one.

>I am creating my first Crystal report from a Web app. I've added a print button to the report viewer form that runs the report's PrintToPrinter method. However, I can only get the report to print if I hard-code the printer name in the PrintOptions.PrinterName property. How do I get it to print to the default printer without actually hard-coding the printer name?
>
>TIA,
>Gary
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform