Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap after a report has been printed?
Message
De
09/04/2013 12:32:53
 
 
À
09/04/2013 11:00:29
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01570496
Message ID:
01570507
Vues:
41
Basically, you can't.

Once the Windows Print Spooler has sent the document to the printer, Windows has no more control or say over the document unless the printer driver provides additional capability to control it. I wouldn't count on having that capability. I haven't found very many printers that provide that capability.

>Hi,
>
>I've got a reportviewer in a XAML form used to display reports. I want to prompt the user after they have printed the report. I can trap when the user clicks the Print button on the Print Dialog using the ReportViewer.PrintingBegin but I would like to actually trap it when the printing has finished in order to as if the printing was successful. (I need to tag when an invoice gets printed.)
>
>Any ideas on how to do this? I've not had much luck searching.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform