Pb with Cups with on sparc solaris 10

Helge Blischke h.blischke at srz.de
Tue Aug 8 08:48:29 PDT 2006


arnaud wrote:
>>arnaud wrote:
>>
>>>Hello,
>>>
>>>We're trying to run cups on Sparc/Solaris 10
>>>We use the release 1.1.21 of cups
>>>All look's to be correct, but we cannot print any file.
>>>
>>>On the Webadmin, the status always show:
>>>Description: EPSON
>>>Emplacement:
>>>Etat de l'imprimante: au repos, accepte les travaux.
>>>"No pages found!"
>>>
>>>
>>>When we're trying to print a simple file with the lp command, we haven't got any error on reply.
>>>
>>>lp -d EPSON /etc/hosts   (for example)
>>>
>>>request id is EPSON-49 (1 file(s))
>>>
>>>Can you help us.
>>>Thank's.
>>>
>>>Arnaud Valeix
>>>
>>
>>Please, set the LogLevel to debug, print a file, and post an URL to the log file.
>>
>>Helge
>>
>>
>>--
>>Helge Blischke
>>Softwareentwicklung
>>SRZ Berlin | Firmengruppe besscom
>>http://www.srz.de
> 
> 
> I've got the level debug on
> and here an extract of the error ine the error_log file
> 
> I try to use a2ps and it works... but I don't why with lp it doesn't work anyway...!!!
> 
> Here the error_log extract.
> 
> D [08/Aug/2006:16:17:57 -0100] [Job 52] Saw EOF!
> d [08/Aug/2006:16:17:57 -0100] PID 17576 exited with no errors.
> D [08/Aug/2006:16:17:57 -0100] [Job 52] Error: /undefined in 12,000
> D [08/Aug/2006:16:17:57 -0100] [Job 52] Operand stack:
> D [08/Aug/2006:16:17:57 -0100] [Job 52] FN   --dict:12/13(ro)(L)--   --nostringval--
> D [08/Aug/2006:16:17:57 -0100] [Job 52] Execution stack:
> D [08/Aug/2006:16:17:57 -0100] [Job 52] %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--
> D [08/Aug/2006:16:17:57 -0100] [Job 52] Dictionary stack:
> D [08/Aug/2006:16:17:57 -0100] [Job 52] --dict:1053/1417(ro)(G)--   --dict:0/20(G)--   --dict:69/200(L)--
> D [08/Aug/2006:16:17:57 -0100] [Job 52] Current allocation mode is local
> D [08/Aug/2006:16:17:57 -0100] [Job 52] Last OS error: 2
> D [08/Aug/2006:16:17:57 -0100] [Job 52] ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
> E [08/Aug/2006:16:17:57 -0100] PID 17577 stopped with status 1!
> E [08/Aug/2006:16:17:57 -0100] [Job 52] No pages found!
> I [08/Aug/2006:16:17:57 -0100] [Job 52] Print file sent, waiting for printer to finish...
> E [08/Aug/2006:16:17:57 -0100] PID 17578 stopped with status 1!
> d [08/Aug/2006:16:17:57 -0100] PID 17580 exited with no errors.
> D [08/Aug/2006:16:17:57 -0100] UpdateJob: job 52, file 0 is complete.
> d [08/Aug/2006:16:17:57 -0100] UpdateJob: Removing fd 8 from InputSet...
> 
> 

Ah, we had quite a similar error recently. Look at the "Error: /undefined in 12,000"
which Ghostscript did spit out. This is due to a severe bug in the more recent versions
of a2ps. When localizing it, the developers forgot that PostScript is not a localized
language - non-integer numbers use a decimalPOINT, not komma.

Besides fixing a2ps or waiting for the authors to fix it, you may easily work around
this book by letting CUPS run sort of non-localized: in the cups startup script,
set the environment variable LANG to C (LANG=C; export LANG). You will then get all
human readable stuff in english (even in the web interface), but it will work.

Good luck!

Helge



-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list