Discussion:
[gs-bugs] [Bug 698684] - Ghostscript - ghostscript pxlmono insufficient memory
b***@artifex.com
2017-10-23 02:52:44 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698684

Bug ID: 698684
Summary: ghostscript pxlmono insufficient memory
Product: Ghostscript
Version: 9.21
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: CUPS driver
Assignee: ***@gmail.com
Reporter: ***@163.com
QA Contact: gs-***@ghostscript.com
CC: ***@users.sourceforge.net, ***@easysw.com,
***@redhat.com
Word Size: ---

I'am a developer of printer driver, when I developing a driver for a printer
who can only knows PCL6 language, I use ghostscript to convert PostScript to
PCL6, with the args gs -dNOPAUSE -dBATCH -dPARANOIDSAFER -dNOINTERPOLATE
-sDEVICE=pxlmono -sOutputFile=- -.
read ps file from stdin and write pclxl data to the stdout.
Using cups backends to send to the printer.

Everything goes fine untill I try to print a 100 papges of *.doc. The Printer
only print 83 pages, and return a status with PCLXL ERROR, Insufficient Memory.

firstly i suspect the printing data is too large for the printer, so I tried to
add -dCompressMode=3, but it does any different.

It blocked me for a week, and do not know how to resolve this.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-10-23 07:20:25 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698684

Ken Sharp <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|***@gmail.com |ghostpdl-***@artifex.com
Component|CUPS driver |Other Driver

--- Comment #1 from Ken Sharp <***@artifex.com> ---
(In reply to 刘晓萌 from comment #0)
Post by b***@artifex.com
I'am a developer of printer driver, when I developing a driver for a printer
who can only knows PCL6 language, I use ghostscript to convert PostScript to
PCL6, with the args gs -dNOPAUSE -dBATCH -dPARANOIDSAFER -dNOINTERPOLATE
-sDEVICE=pxlmono -sOutputFile=- -.
read ps file from stdin and write pclxl data to the stdout.
Using cups backends to send to the printer.
Everything goes fine untill I try to print a 100 papges of *.doc. The
Printer only print 83 pages, and return a status with PCLXL ERROR,
Insufficient Memory.
firstly i suspect the printing data is too large for the printer, so I tried
to add -dCompressMode=3, but it does any different.
It blocked me for a week, and do not know how to resolve this.
You have not supplied an example file, we are going to need that before we can
investigate further.

You also need to be a great deal clearer about the problem. You have classified
this as a CUPS driver problem, but you clearly state (and your example command
line make it plain) you are using the pxlmono device. So that cannot be a CUPS
driver problem.

I don't think we are in a position to debug your printer for you. Do simpler
files work as expected ? Does the output of the failing file work with another
printer ? Does it work with GhostPCL ?

You do realise that when faced with input which cannot be represented 'as is'
in the output, the pxlmono device will simply render the input to a large
image, and wraps that up with just enough PCL to make it valid ? Thus the pages
*will* be large.


In short, is there a good reason to think that our output is incorrect, rather
than the printer simply not having enough memory to process the page ? On the
evidence here, I don't see a bug in Ghostscript.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-10-23 08:10:29 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698684

--- Comment #2 from Hin-Tak Leung <***@users.sourceforge.net> ---
Three suggestions:

- try -r300 or -r150 or even -r72 . This would lower the output resolution and
potentially work around flaws in printer firmwares.

- You have not mentioned what printer made and model it is. Perhaps it is just
a cheaper printer with limited memory shipped, but has expansion slot where you
can add new memory to. Consult your printer manufacturer's documentation, and
considering buying some additional memory chip to insert to it.

- as Ken said, post your example input file, and the precise command line you
used to process it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-20 02:08:07 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698684

刘晓萌 <***@163.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED

--- Comment #3 from 刘晓萌 <***@163.com> ---
sorry, guys

I connected to the printer manufacturer, and this error is actually the printer
memory insufficient.

And after the update from the printer manufacturer, the error solved.

thank you for reply
--
You are receiving this mail because:
You are the QA Contact for the bug.
Loading...