Problems printing to remote (LPR) printer

Helge Blischke h.blischke at acm.org
Sat Feb 4 06:33:13 PST 2012


Tom Watson wrote:

>> Tom Watson wrote:
>>
>> > I have a remote printer attached to my nice router.  It has a nice
>> > print queue, and I have been able to print to it successfully using an
>> > older
>> > version of CPUP (v1.1.x it says on the test page).  The printer is a
>> > Cannon ip1600, and the URI that I use is "lpr://router/lpUSB0".  I have
>> > done a bit of investigation, and using TCPDUMP I was able to see that
>> > the "good" instance (the actual system is a Fedora 8 Linux box) emits
>> > about
>> > 1.9 Mbytes of data to the printer.  The "not working" instance (CUPS
>> > 1.5 from Fedora 16) emits around 176kbytes, and the printer swallows
>> > the data in about 1 second or so, with no output to the printer.
>> >
>> > Something is not right in my neighborhood, as this DOES work with an
>> > earlier instance of CUPS.  The only thing that I think that is
>> > happening is that somehow the driver doesn't go through the Postscript
>> > (Ghostscript) interpreter to get the raster data for the printer.
>> >
>> > Thanks for the assistance.
>>
>> Can you please supply an error_log (log level debug) for a test print of
>> both the cups 1.1.x and cups 1.5.0 system?
>>
>> Helge
>>
> 
> 
> Tale of two error_log files (from directory /var/log/cups):
> [cups 1.1.x, that's what it says on the test page, but it may be 1.3.9]
> I [04/Feb/2012:06:08:25 -0800] [Job ???] Request file type is
> application/postscript. I [04/Feb/2012:06:08:25 -0800] [Job 1396] Adding
> start banner page "none". I [04/Feb/2012:06:08:25 -0800] [Job 1396] Adding
> end banner page "none". I [04/Feb/2012:06:08:25 -0800] [Job 1396] File of
> type application/postscript queued by "root". I [04/Feb/2012:06:08:25
> -0800] [Job 1396] Queued on "iP1600" by "root". I [04/Feb/2012:06:08:25
> -0800] [Job 1396] Started filter /usr/lib/cups/filter/pstops (PID 24349) I
> [04/Feb/2012:06:08:25 -0800] [Job 1396] Started filter
> /usr/lib/cups/filter/pstocanonij (PID 24350) I [04/Feb/2012:06:08:25
> -0800] [Job 1396] Started backend /usr/lib/cups/backend/lpd (PID 24351) I
> [04/Feb/2012:06:09:17 -0800] [Job 1396] Completed successfully.
> 
> [cups 1.5.0]
> (no error_log entries for test page)
> [page_log]
> ip1600 root 18 [04/Feb/2012:06:06:22 -0800] 1 1 - localhost Test Page - -
> [access_log]
> localhost - - [04/Feb/2012:06:06:21 -0800] "POST /printers/ip1600
> HTTP/1.1" 200 446 Print-Job successful-ok
> 
> Does this seem right?  Am I giving you clues?
> 
> Thanks again.

For the 1.5.0 case, please execute 
cupsctl --debug-logging
before
and
cupsctl --no-debug-logging
after printing the test page.

Helge





More information about the cups mailing list