How to grab the printer icon click event from PrintDocument
Posted on 2012-03-14
I am using PrintDocument for printing my reports. My boss has required that the report do this sequence of actions:
1. Preview report
2. When printer button is clicked, go to a PrintDialog to edit printer settings
3. Print report
Now, I've found that I can assign a BeginPrint event to the document, but that triggers both when the preview is printed and when the printer icon is clicked. I need something that is going to catch the print icon click event from the preview of a PrintDocument.