[cups.general] Fwd: Re: Fwd: Re: foomatic & pstoraster with cups-1.3.5

John Frankish frankish at dubai.oilfield.slb.com
Sun Feb 24 22:49:37 PST 2008


>>
>> >>> John Frankish wrote:
>> >>> > I have compiled cups-1.3.5 and epsgs-8.15.4 from source and am looking
>> >>> > to use cups to print to HP Officejet G85 and K80 printers connected
>> >>> via
>> >>> > a usb port. This is on a 2.4.31 kernel.
>> >>> >
>> >>> > The first thing I noticed was that cups did not automatically
>> >>> detect any
>> >>> > printer, but when I execute the usb backend my printer is detected.
>> >>> The
>> >>> > browser interface does not list any usb ports, so I used the ipp
>> >>> > selection from the drop-down list and entered the uri generated by the
>> >>> > usb backend (usb://HP/OfficeJet%20K80?serial=ES0911401VOH). Is it
>> >>> normal
>> >>> > that cups does not list a usb port with a printer connected?
>> >>> >
>> >>> > If I use the cups browser interface to install the deskjet ppd file
>> >>> > included with cups and try to print the test page, it gets stuck at 0%
>> >>> > printed with a cpu utilisation of 100%. The error log (level debug)
>> >>> does
>> >>> > not show any errors but repeats the same sequence many times.
>> >>> >
>> >>> > If I use the cups browser interface to install the officejet K80 ppd
>> >>> > from hplip, then cups complains about missing foomatic-rip. I thought
>> >>> > the epsgs pstoraster filter was meant to replace foomatic-rip - is
>> >>> this
>> >>> > not the case?
>> >>
>> >> Date: Tue, 12 Feb 2008 08:13:47 -0800
>> >> From: Michael Sweet <mike at easysw.com>
>> >>
>> >>> No, foomatic-rip is its own thing - you need to contact the foomatic
>> >>> folks on linuxprinting.org for assistance...
>> >>>
>> >>> --
>> >> Thanks - I installed foomatic-rip and that problem went away. Now I
>> >> get an error about hpijs being missing - maybe this is due to
>> >> compiling epsgs with the --with-ijs switch. At this rate I'll have
>> >> compiled an entire operating system only to print...
>> >>
>> >> I still don't understand why cups does not find the usb attached printer.
>> > ---
>> > So now I've compiled cups-1.3.5 epsgs-8.15.4 foomatic-filters-3.0 and
>> > hpijs-2.1.4 from source and I still cannot print the test page from the
>> > browser interface. The log level is set to debug in cupsd.conf - there
>> > are no errors shown, but the cpu sticks at 100% and nothing prints.
>> >
>> > Any ideas?
>
>Date: Thu, 14 Feb 2008 05:18:32 -0800
>From: Michael Sweet <mike at easysw.com>
>
>>Sorry, no.  Since the problem occurs with HP's drivers, you might try
>>filing a bug on the HPLIP site...
>>
>>--
>Hmmm - I'm not so sure the problem is with the HP drivers. When 
>hpijs was missing, the cups error log said so, now after foomatic, 
>gs, pstoraster, hpijs and whatever seem to have completed handling 
>the test page without errors, all I get is a bunch of "D" lines in 
>the log speaking of cups this and cups that - can I post/attach the 
>error log for somebody to have a look at?

Here's a part of the error log - it appears to show that the 
rasterising completes OK, but then there are plenty of comments of 
the form "cupsdAuthorize: No authentication data provided" - what causes this?

D [15/Feb/2008:16:46:06 -0500] [Job 1] Starting renderer
D [15/Feb/2008:16:46:06 -0500] [Job 1] renderer PID kid4=26446
D [15/Feb/2008:16:46:06 -0500] [Job 1] renderer command: gs -q 
-dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs 
-sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" 
-sDeviceModel="DESKJET 930" -dDEVICEWIDTHPOINTS=595 
-dDEVICEHEIGHTPOINTS=842 -dDuplex=false -r300 
-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 
-dIjsUseOutputFD -sOutputFile=- -
D [15/Feb/2008:16:46:06 -0500] [Job 1] JCL: <job data>
D [15/Feb/2008:16:46:06 -0500] [Job 1]
D [15/Feb/2008:16:46:06 -0500] [Job 1] perl: warning: Setting locale failed.
D [15/Feb/2008:16:46:06 -0500] [Job 1] perl: warning: Please check 
that your locale settings:
D [15/Feb/2008:16:46:06 -0500] [Job 1] LANGUAGE = (unset),
D [15/Feb/2008:16:46:06 -0500] [Job 1] LC_ALL = (unset),
D [15/Feb/2008:16:46:06 -0500] [Job 1] LANG = "en_US.UTF8"
D [15/Feb/2008:16:46:06 -0500] [Job 1] are supported and installed on 
your system.
D [15/Feb/2008:16:46:06 -0500] [Job 1] perl: warning: Falling back to 
the standard locale ("C").
D [15/Feb/2008:16:46:06 -0500] [Job 1] foomatic-gswrapper: gs 
'-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' 
'-sDEVICE=ijs' '-sIjsServer=hpijs' 
'-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=DESKJET 930' 
'-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' 
'-r300' 
'-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2' 
'-dIjsUseOutputFD' '-sOutputFile=%stdout' '-_'
D [15/Feb/2008:16:46:06 -0500] [Job 1] Wrote 1 pages...
D [15/Feb/2008:16:46:06 -0500] PID 26438 
(/opt/cups-1.3.5/lib/cups/filter/pstops) exited with no errors.
D [15/Feb/2008:16:46:06 -0500] [Job 1] Found: %%Trailer
D [15/Feb/2008:16:46:06 -0500] [Job 1] --> Continue DSC parsing now.
D [15/Feb/2008:16:46:06 -0500] [Job 1]
D [15/Feb/2008:16:46:06 -0500] [Job 1] Found: %%Pages: 1
D [15/Feb/2008:16:46:06 -0500] [Job 1] --> Continue DSC parsing now.
D [15/Feb/2008:16:46:06 -0500] [Job 1]
D [15/Feb/2008:16:46:06 -0500] [Job 1] Found: %%BoundingBox: 0 0 612 792
D [15/Feb/2008:16:46:06 -0500] [Job 1] --> Continue DSC parsing now.
D [15/Feb/2008:16:46:06 -0500] [Job 1]
D [15/Feb/2008:16:46:06 -0500] [Job 1] Found: %%EOF
D [15/Feb/2008:16:46:06 -0500] [Job 1] --> Continue DSC parsing now.
D [15/Feb/2008:16:46:06 -0500] [Job 1]
D [15/Feb/2008:16:46:06 -0500] [Job 1]
D [15/Feb/2008:16:46:06 -0500] [Job 1] Closing renderer
D [15/Feb/2008:16:46:06 -0500] Discarding unused job-progress event...
D [15/Feb/2008:16:46:08 -0500] cupsdReadClient: 6 GET /printers/Test HTTP/1.1
D [15/Feb/2008:16:46:08 -0500] cupsdAuthorize: No authentication data provided.
D [15/Feb/2008:16:46:08 -0500] [CGI] 
/opt/cups-1.3.5/lib/cups/cgi-bin/printers.cgi started - PID = 26451
I [15/Feb/2008:16:46:08 -0500] Started 
"/opt/cups-1.3.5/lib/cups/cgi-bin/printers.cgi" (pid=26451)
D [15/Feb/2008:16:46:08 -0500] cupsdSendCommand: 6 file=9
D [15/Feb/2008:16:46:08 -0500] cupsdAcceptClient: 10 from localhost (Domain)
D [15/Feb/2008:16:46:08 -0500] cupsdReadClient: 10 POST / HTTP/1.1
D [15/Feb/2008:16:46:08 -0500] cupsdAuthorize: No authentication data provided.
D [15/Feb/2008:16:46:08 -0500] CUPS-Get-Default
D [15/Feb/2008:16:46:08 -0500] CUPS-Get-Default 
client-error-not-found: No default printer
D [15/Feb/2008:16:46:08 -0500] cupsdProcessIPPRequest: 10 
status_code=406 (client-error-not-found)
D [15/Feb/2008:16:46:08 -0500] [CGI] show_printer(http=0x805a140, 
printer="Test")
D [15/Feb/2008:16:46:08 -0500] cupsdReadClient: 10 POST / HTTP/1.1
D [15/Feb/2008:16:46:08 -0500] cupsdAuthorize: No authentication data provided.
D [15/Feb/2008:16:46:08 -0500] Get-Printer-Attributes 
ipp://localhost/printers/Test
D [15/Feb/2008:16:46:08 -0500] cupsdProcessIPPRequest: 10 
status_code=0 (successful-ok)
D [15/Feb/2008:16:46:08 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [15/Feb/2008:16:46:08 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [15/Feb/2008:16:46:08 -0500] cupsdReadClient: 10 POST / HTTP/1.1
D [15/Feb/2008:16:46:08 -0500] cupsdAuthorize: No authentication data provided.
D [15/Feb/2008:16:46:08 -0500] Get-Jobs ipp://localhost:631/printers/Test
D [15/Feb/2008:16:46:08 -0500] cupsdProcessIPPRequest: 10 
status_code=0 (successful-ok)
D [15/Feb/2008:16:46:08 -0500] cupsdAcceptClient: 11 from localhost:631 (IPv4)
D [15/Feb/2008:16:46:08 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [15/Feb/2008:16:46:08 -0500] cupsdReadClient: 11 GET 
/images/printer-processing.gif HTTP/1.1
D [15/Feb/2008:16:46:08 -0500] cupsdAuthorize: No authentication data provided.







More information about the cups mailing list