Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap after a report has been printed?
Message
De
10/04/2013 07:25:26
 
 
À
10/04/2013 00:42:57
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01570496
Message ID:
01570572
Vues:
27
>>>So, what you're saying is, the report viewer control has a Print button and you want to hook into the click event. After the user prints, you want to display the dialog. Note, I have no experience with this control.
>>>
>>
>>Yes, the user clicks on the Print button, then the printer dialog is displayed and when the user clicks on the Print button on this dialog the PrintingBegin event occurs. I can hook into this, but if I display the dialog here, it displays before the spooler has started and the spooler won't start until the dialog is closed.
>
>have not done this, but can't you poll print queue via spooler API ? Printer dialogue does that, so get before print button and timer fired after and compare to decide on setting your flag.

Hmm, no idea how to do this. I've found this info:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd162861(v=vs.85).aspx

But nothing jumps out at me saying "USE ME" :)
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform