[cups-devel] [UNKN] STR #4740: HP printing failed with message /usr/lib/cups/filter/hpcups failed

Johannes Meixner noreply at cups.org
Wed Nov 11 01:17:21 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Unresolved]

You can ignore the messages that belong to CUPS itself
(consider them as "false-positives" in your case) because
they have nothing to do with your failed print job processing.

In your case the cupsd does what it is supposed to do.
It accepts your print job and it starts the filters and the backend.
Then the filters and backend need to do the actual print job
processing work.
The cupsd does not do any actual print job processing work.
The cupsd only waits for the filters and backend
until they are completed.

In your case the filters fail as I already described.

The filters and backend belong to various software packages
(e.g. cups-filters, Ghostscript, HPLIP) that all are totally
separated from CUPS (in particular cups-filters does not belong
to CUPS but to OpenPrinting.org).

You need to trust us at least initially that when our initial
analysis indicates that the issue does not belong to CUPS,
then it really does not belong to CUPS (with very high probability)
so that it does not make much sense when you do something with CUPS.

Note that usually it is also no bug in Ghostscript itself
when a particular Ghostscript command line fails.

In particular "Unable to open the initial device, quitting"
is no bug in Ghostscript itself (with probability one,
cf. https://en.wikipedia.org/wiki/Almost_surely)
but "somewhere else" that made the Ghostscript command line,
see gs_init.ps
- ---------------------------------------------------------------------------
% If the initial device parameters are invalid, the setdevice may fail.
% Trap this and produce a reasonable error message.
{ setdevice }           % does an erasepage
INITDEBUG { exec //false } { .internalstopped } ifelse {
  (**** Unable to open the initial device, quitting.) = flush 1 .quit
} if
- ---------------------------------------------------------------------------

Accordingly it looks as if one or more of the various parameters
in your Ghostscript command line are invalid.

For example on my SLES12 system with CUPS 1.7.5 and Ghostscript 9.18
the following simpler Ghostscript command line also works:
- ---------------------------------------------------------------------------
# cat /usr/share/ghostscript/9.18/examples/colorcir.ps \
 | /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH \
               -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr \
               -sOutputFile=%stdout -c -f -_ \
 | cat - >/tmp/gs.out

INFO: Start rendering...
INFO: Processing page 1...
INFO: Processing page 2...
INFO: Rendering completed
- ---------------------------------------------------------------------------

What do the above Ghostscript command lines result on your system?
Does it work with all those parameters?
Does the simpler one work?
If it fails with all those parameters but the simpler one works,
find out by trial and error what exact parameter(s) make it fail
and then report that to your Linux distribution.

You really need to analyze at your Linux distribution
what the actual root cause is why the Ghostscript
command line fails in your particular case.

Afterwards - i.e. when that specific root cause is found - it
might indicate an issue in whatever specific part of the overall
printing related software stack so that finally that specific
issue can be reported at the matching upstream software project.

Link: https://www.cups.org/str.php?L4740
Version: 1.5.3
Fix Version: Third-party
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWQwehAAoJENujp6sI12IjGWkP/3PJrAatQM81QMdHTMiL6VTq
kekgs8+v4cD4y7kiOD9IjvxZNdp2RoPCu9CyFqn6NsIWgcGNgNxgvGS/kb5XUAS/
VQET9v82yu9nQnkIleIaoAX1RLVvUg+dKabKicZVazJ1XjB+cTWefeAq5GtNa5Hr
/Pd6MzG7g4ZNYsEZRiIXKgipiFQU+KfYfq+ug6311VeAqkshky+QPBfCATwYLzpq
27WykFTVdujEXoYYk7435o+XoKuTdRKHro8jvKMa7L1xVLcpoEFGPLc1FQcHfwGf
YNo+yy5DbW/gDsDxTxVJrIqIcO0wBe8vkaYQPIi8ktOUMSlh1h8YHFkM3ISzG79d
XfPIc7oQeopGAFwIDLvI3rkufHCtHbeo6UKrv048MxJu+0SmZpbCpJx2MKAVaMmr
puKDMn+jSTo6cKP80jdwJh72Jm2qpsAfObrkTBWAvuQjtfgkFoRUGUwmFO0zdx+Y
UUo2ZdXCpGAhw4iGPUZ45u6UoOP2cPr+m66+wGiCbxiTuyQuuqPsxwDCUUcjV4Jy
kKWGY8kSs1Z+U0aLo5NrmXAgpCUZ+EvNGWQbMMzqAJhR1ucPMFaPkt8913wM5Xnz
4vqePid7ZXZp8ZjmolG1tUdMDbIQGYmQCoItc/eqPfH3ZheuA8K5Col59k8r+FP1
vuDZ6zLpjUNhN1BVYFn4
=dp1b
-----END PGP SIGNATURE-----




More information about the cups mailing list