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 07:25:26
 
 
To
10/04/2013 00:42:57
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Miscellaneous
Thread ID:
01570496
Message ID:
01570572
Views:
28
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform