J Trahair
Well-known member
Hi. I use PrintDocument1 and the e.Graphics.DrawString line to print listings of invoice details etc. from variables.
However, each page seems to start a new printrun (the Print Status thing from yesterday only ever said '...Page 1').
That doesn't matter for real printers and FinePrint (a virtual printer). The problem is that when the virtual printer is a pdf creator, it tries to create a new pdf output file for each page of a multi-page report, which is hopeless.
Is there a way of switching off the 'End Of Print Run' thing except when the print run has indeed ended, so that a multi-page report goes to a single multi-page pdf file?
Note: the 'e.HasMorePages = True/False' thing doesn't handle lots of individual variables per page, it seems designed for text (from a single large textbox) which spills over more than 1 page.
Also, Crystal Reports and similar things are not an option.
Thank you.
However, each page seems to start a new printrun (the Print Status thing from yesterday only ever said '...Page 1').
That doesn't matter for real printers and FinePrint (a virtual printer). The problem is that when the virtual printer is a pdf creator, it tries to create a new pdf output file for each page of a multi-page report, which is hopeless.
Is there a way of switching off the 'End Of Print Run' thing except when the print run has indeed ended, so that a multi-page report goes to a single multi-page pdf file?
Note: the 'e.HasMorePages = True/False' thing doesn't handle lots of individual variables per page, it seems designed for text (from a single large textbox) which spills over more than 1 page.
Also, Crystal Reports and similar things are not an option.
Thank you.