Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't print to default printer
Message
 
À
22/10/2002 13:18:41
Gary Otte
California Youth Authority
Sacramento, Californie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Divers
Thread ID:
00713959
Message ID:
00714154
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform