General information
Category:
Windows Presentation Foundation (WPF)
>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.
You don't say what ReportViewer you are using but I'm assuming it's the WinForms one? If so then I don't see much either. Of course the real problem is that you cannot know whether the report was actually printed successfully - all you can know is that it was spooled.
Maybe you can somehow check the status using the PrintSystemJobInfo class - but I've never tried it......
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only