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 10:33:41
 
 
À
10/04/2013 10:19:23
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01570496
Message ID:
01570600
Vues:
30
>>>>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" :)
>
>http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvcs/thread/e17ad329-2929-4861-b7f4-ce5c3ca55056/
>
>might help... As I said, no personal experience, only conversation memorized.
>
>on something jumping out saying "USE ME", on Trinidad that should be more common than over here.
>[made me read the link as vSexpressvcs...]

Thanks Thomas, for the laugh as well. I've got a dirty mind so I'm not sure I've interpreted "on something jumping out saying "USE ME", on Trinidad that should be more common than over here." properly though. What exactly did you mean?
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