Hello,
I am using Graphics.Drawstring that takes data from the database and populates the page. The problem arrives when the bottom limit exceeds the page margin, in PrintPreview I am able to see only the first page and also if I'm trying to print it will print only the first page. What I want is to print the entire data, that is not shown just on the first page. Could you please give me a hand in solving this issue, I wouldn't care if PrintPreview won't show all pages, I'm interested only about what goes to printer. I was also thinking about exporting to Word if there's no solution for this.
I have attached the source code for the above issue, I would appreciate if anyone could have a look on it.
Thank you in advance,
Daniel.
Loading
FroglegPosted Feb 28, 2011, 1:55 AM
at a point in your printing code
and e.HasMorePages = False at end of printing code