Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
How to prevent blank last page from printing?
posted

Hello.

I'm using the WPF Reporting functionality to print a XamDataGrid and sometimes the printed output contains a blank last page.  I'm not really sure why a blank last page is being printed (nothing in the visual representation of the grid indicates that a blank page should be printed), but I'm willing to live with that if there is some event that can be handled that will let me examine the output that's about to be printed and then decide if I want to allow the printing to happen.  That way I could just prevent the blank last page from being sent to the printer.  Does the WPF Reporting framework expose such an event?

 

Thanks