CUPS test pages print, nothing else prints

Russf russbucket at nwi.net
Tue Feb 28 08:45:43 PST 2006


Anonymous wrote:

> Update:
> 
> I was wrong in assuming that I could not print in any application.
> Actually, I can print from OpenOffice and from MS-Word (running in
> CX-Office/Wine). However, Acrobat and Mozilla cannot produce printer
> output to the Epson printer (printing to the HPLJ works just fine). I
> suspect all of this is related to the lp command used as the default
> printing option in these two applications. If I do a command line print:
> 
> lp -d SCX <filename>.ps
> 
> I get the error message listed below. It seems as if there is a problem
> with the selection of filters, although the correct filter has been
> identified:
> 
> D [28/Feb/2006:09:47:52 -0600] StartJob:
> envp[5]="PPD=/etc/cups/ppd/SCX.ppd"
> 
> The command:
> 
> gs -dQUIET -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups cdmanet.ps
> 
> produces a similar error message.
> 
> 
> Error message logged in /var/log/cups/error_log:
> 
> D [28/Feb/2006:10:20:52 -0600] [Job 389] Error: /rangecheck in
> --setpagedevice-- D [28/Feb/2006:10:20:52 -0600] [Job 389] Operand stack:
> D [28/Feb/2006:10:20:52 -0600] [Job 389] --dict:1/1(L)--   --nostringval--
>   --d
> ict:71/71(ro)(L)--   --dict:1/1(L)--   --dict:8/72(L)--   --dict:1/2(L)-- 
>  --no
> stringval--   --dict:3/3(L)--   true   --nostringval--   %MediaSource   0 
>  %Med
> iaDestination   0   MediaPosition   0   --dict:8/72(L)--
> D [28/Feb/2006:10:20:52 -0600] [Job 389] Execution stack:
> D [28/Feb/2006:10:20:52 -0600] [Job 389] %interp_exit   .runexec2  
> --nostringva
> l--   --nostringval--   --nostringval--   2   %stopped_push  
> --nostringval--
> --nostringval--   --nostringval--   false   1   %stopped_push   1   3  
> %oparray
> _pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop 
>  .run
> exec2   --nostringval--   --nostringval--   --nostringval--   2  
> %stopped_push
>   --nostringval--   --nostringval--   1   5   %oparray_pop  
>   --nostringval--   -
> -nostringval--   --nostringval--
> D [28/Feb/2006:10:20:52 -0600] [Job 389] Dictionary stack:
> D [28/Feb/2006:10:20:52 -0600] [Job 389] --dict:1134/3371(ro)(G)--  
> --dict:0/20
> (G)--   --dict:85/200(L)--   --dict:104/300(L)--   --dict:87/89(L)--
> D [28/Feb/2006:10:20:52 -0600] [Job 389] Current allocation mode is local
> D [28/Feb/2006:10:20:52 -0600] [Job 389] Last OS error: 2
> D [28/Feb/2006:10:20:52 -0600] [Job 389] ESP Ghostscript 8.15.0:
> Unrecoverable e rror, exit code 1
> E [28/Feb/2006:10:20:52 -0600] PID 15126 stopped with status 1!
> 
> ------------------------------------------------------------------
> 
>> kalvenes at tecom.cox.smu.edu wrote:
>>
>> > I set up an Epson Stylus CX3810 multi-function printer with a
>> > downloaded PPD file from the manufacturer (the original PPD file was
>> > named ekscx3700.ppd).
>> >
>> > The setup procedure worked just fine in YaST (the configuration program
>> > for SuSE Linux 9.3) and I could print the test page correctly. I have
>> > ESP Ghostscript 8.15.0 (2004-09-22) and CUPS 1.1.23-7.
>> >
>> > Then, I tried to print from Netscape, Mozilla, etc., but no job was
>> > sent to the printer. The printer queue was empty.
>> >
>> > Next, I set up the printer in KDEPrinter with the same result -- as one
>> > would expect (I can print the test page without problems, but no other
>> > application can successfully produce any output to the printer).
>> >
>> > Then, I tried to send a file to the printer using the command line:
>> >
>> > lpr -PSCX <filename>.ps produced an ASCII text page with the PS file
>> > lp -PSCX <filename>.ps produced the error message
>> >
>> >    lp: unable to print file: client-error-bad-request
>> >
>> > I examined the CUPS log file and extracted what I think is the relevant
>> > section (at the bottom of this message). The only thing I can detect is
>> > a reference to the printer laserjet1320series, which I also have
>> > installed as a USB printer (the laserjet printer works in all
>> > applications).
>> >
>> > Any help would be greatly appreciated.
>> >
>> > -- Joakim
>> >
>> >
>> > D [27/Feb/2006:15:54:53 -0600] AcceptClient: 5 from localhost:631.
>> > D [27/Feb/2006:15:54:53 -0600] ReadClient: 5 POST / HTTP/1.1
>> > D [27/Feb/2006:15:54:53 -0600] ProcessIPPRequest: 5 status_code=1
>> > D [27/Feb/2006:15:54:53 -0600] ReadClient: 5 POST / HTTP/1.1
>> > D [27/Feb/2006:15:54:53 -0600] ProcessIPPRequest: 5 status_code=1
>> > D [27/Feb/2006:15:54:54 -0600] ReadClient: 5 POST / HTTP/1.1
>> > D [27/Feb/2006:15:54:54 -0600] ProcessIPPRequest: 5 status_code=0
>> > D [27/Feb/2006:15:54:54 -0600] CloseClient: 5
>> > D [27/Feb/2006:15:54:54 -0600] AcceptClient: 5 from localhost:631.
>> > D [27/Feb/2006:15:54:54 -0600] ReadClient: 5 POST
>> > /printers/laserjet1320series HTTP/1.1 E [27/Feb/2006:15:54:54 -0600]
>> > print_job: bad page-ranges values 0-0. D [27/Feb/2006:15:54:54 -0600]
>> > Sending error: client-error-bad-request D [27/Feb/2006:15:54:54 -0600]
>> > ProcessIPPRequest: 5 status_code=400 D [27/Feb/2006:15:54:54 -0600]
>> > CloseClient: 5
>> Can not actually help but I'm having a simular problem with an Epson
>> CX6600 with the print driver from the manufacture. All test pages print
>> from cups, nothing prints from Scribus, KDE or any KDE application. Do
>> you have OpenOffice installed. It seems to print fine with the CX6600 and
>> CUPS. Also look at your print manager and display the completed jobs, are
>> they aborted (mine are) last line says they are aborted by the system.
>> Have not been able to isolate the problem yet. I have CUPS 1.1.23-21.2,
>> KDE 3.4.2-27.2 pips-scx6500_6600s-cups (EK driver), Ghostscript
>> 8.15rc1-29.
>>
>> Yesterday I completely removed CUPS, All Drivers, etc and reinstalled.
>> Still have the problem. I've recieved several ideas from several news
>> groups but no have fixed the problem. My HP LaserJet IIIP prints fine
>> from all applications thru CUPS. This all worked under SuSE 9.1, I'm on
>> 10.0 retail version.
>>
>> I thought of installing KDE 3.5.1 but that may make matters worse. I
>> don't like to install something new when i have a problem present.
>>
>> If you find a solution please post it. I'll do the same.
>> --
>> Russ
I do not see the error your seeing in my log. But have can print using the
lpr command. I this the problem has something to do with ghostscript or ps
files. I also cannot print pdf files. 
-- 
Russ




More information about the cups mailing list