Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap after a report has been printed?
Message
From
10/04/2013 10:33:41
 
 
To
10/04/2013 10:19:23
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Miscellaneous
Thread ID:
01570496
Message ID:
01570600
Views:
31
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform