[gs-bugs] [Bug 690261] Page Count in Windows shows incorrect number of pages

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Tue Feb 3 21:10:53 PST 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690261





------- Additional Comments From wendyst2 at gmail.com  2009-02-03 21:10 -------
I have checked the code for this device (gp_msprn.c). It starts one page for
each buffer of no more than 4k bytes in the output stream. So the number of
pages here does not really reflect the actual number in the output, which should
be device dependent and as part of the raw data itself, I think.
It is not clear to me why the buffer size is currently set as only 4k. If this
is increased, maybe the number of pages from the Windows print queue will not
seem so large.
Another thing that seems worth changing is to move the end page call
(EndPagePrinter()) into the while loop, to pair with the start page call.
(Currently there can be multiple StartPagePrinter(), but EndPagePrinter() is
called only once).



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list