Hi all!
I'm using the PrintDocument class for a printout in my application. In the OnPrintPage event handler, I populate the graphics object using the DrawImage() and DrawString() methods.
The document can have up to 140 pages and is printed from the local workstation (a Windows 2000 machine) on a HP P2015 with 32 MB of memory, double sided. In the printer settings, I chose to use the spooler and "start printing immediately" (not "direct printing").
Today, when printing the 140 pages, the printer stopped with the error "out of memory".
The question is now if the PrintDocument class is even suited for such long documents?
I'm not sure if the PrintDocument always uses the spooler, or if I should use another class to print long documents? Or is it "normal" that 32 MB printer memory are not enough today?
Has anyone got any experience printing long documents?
Any answer is very much appreciated!
Anne
I'm using the PrintDocument class for a printout in my application. In the OnPrintPage event handler, I populate the graphics object using the DrawImage() and DrawString() methods.
The document can have up to 140 pages and is printed from the local workstation (a Windows 2000 machine) on a HP P2015 with 32 MB of memory, double sided. In the printer settings, I chose to use the spooler and "start printing immediately" (not "direct printing").
Today, when printing the 140 pages, the printer stopped with the error "out of memory".
The question is now if the PrintDocument class is even suited for such long documents?
I'm not sure if the PrintDocument always uses the spooler, or if I should use another class to print long documents? Or is it "normal" that 32 MB printer memory are not enough today?
Has anyone got any experience printing long documents?
Any answer is very much appreciated!
Anne