[cups.general] How to debug cups-lpd?

Daniel Spannbauer ds at marco.de
Tue Feb 10 06:12:52 PST 2009



Helge Blischke schrieb:
> Daniel Spannbauer wrote:
>>
>> Daniel Spannbauer schrieb:
>>> Hello,
>>>
>>> we have in our System some old machines who are printing over a 
>>> self-compiled old lpd.
>>> Now, we want migrate to cups, but the cups-lpd is not printing jobs 
>>> from our old System.
>>> According to a tcpdump there is siome input over Port 515, but there 
>>> is no output in error_log.
>>>
>>> Can I start cups-lpd in a way that I'm able to see what cups-lpd is 
>>> doing or whats wrong?
>>>
>> Ok, I found something strange in the messages:
>>
>>
>> cups-lpd[24346]: Unknown command-line option 
>> ""document-format=application/octet-stream"" ignored!
>>
>> Why is this option ignored? The entry for xinetd was copied from the 
>> man-page
>>
>> Regards
>>
>> Daniel
>>
>>
>>
>>
>>> Reagrds
>>>
>>> Daniel
>>>
> 
> What version of CUPS? And, did you prepend a "-o " to the option?

Hello,

Cups is the standard-cups from SuSE 10.2. rpm -qa says:

cups-client-1.2.7-3
cups-1.2.7-3
cupsddk-1.0.1-42
libgnomecups-devel-0.2.2-46
libgnomecups-0.2.2-46
cups-devel-1.2.7-3
gnome-cups-manager-devel-0.32cvs20060120-71
cups-drivers-1.2.7-7
cups-backends-1.0-43
cups-libs-1.2.7-3
gnome-cups-manager-0.32cvs20060120-71

So I thin Cups-VErsion is 1.2.7.

The xinetd-file:
service printer
            {
            socket_type = stream
            protocol = tcp
            wait = no
            user = lp
            group = sys
            passenv =
            server = /usr/lib/cups/daemon/cups-lpd
            server_args = -o document-format=application/octet-stream
            }

When I print from a "normal" SuSE8.0-System with the old lprnd installed 
the logged message is:
Feb 10 15:11:27 b-login cups-lpd[31292]: Connection from 
dh33.babenhausen.marco.de (IPv4 10.3.100.33)
Feb 10 15:11:27 b-login cups-lpd[31292]: Receive print job for color_b_eg
Feb 10 15:11:27 b-login cups-lpd[31292]: Print file - job ID = 7869
Feb 10 15:11:27 b-login cups-lpd[31292]: Closing connection


 From our system theres only:

Feb 10 15:10:31 b-login cups-lpd[31214]: Connection from b-gate (IPv4 
10.3.0.1)
Feb 10 15:10:31 b-login cups-lpd[31214]: Receive print job for test_ds2
Feb 10 15:10:31 b-login cups-lpd[31214]: Closing connection

So, I miss the line "Print file".

How can I figure out where the error is?

Regards

Daniel





> 
> Helge
> 

-- 
Daniel Spannbauer                         Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/                      Email ds at marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München





More information about the cups mailing list