Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 230074

Summary: cups-lpd : server-args has no effect
Product: Red Hat Enterprise Linux 5 Reporter: Hans-Gerd van Schelve <h.van_schelve>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: jschrode, mhild
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-26 15:19:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
icds.convs none

Description Hans-Gerd van Schelve 2007-02-26 14:31:14 UTC
We are sending icds compressed AFP (Advanced Function Presentation) Datastream
from our Z/OS System to mobile Linux Systems via lpd protocol. On the Linux
Systems based on rhel5-client-rc1 we have configured a server argument for
cups-lpd in /etc/xinetd.d/cups-lpd:

# default: off
# description: Allow applications using the legacy lpd protocol to communicate
with CUPS
service printer
{
        disable = no
        socket_type = stream
        protocol = tcp
        wait = no
        user = lp
        server = /usr/lib/cups/daemon/cups-lpd
        server_args = -o document-format=application/icds
}

We did this to enforce that everything that comes in via lpd has to pass our
cups filter icds2ps. Therefore we have two files /etc/cups/icds.types:

application/icds

and /etc/cups/icds.convs

application/icds        application/postscript  0       icds2ps

We have commented out application/octet-stream in /etc/cups/mime* :
/etc/cups/mime.convs:#application/octet-stream  application/vnd.cups-raw       
0       -
/etc/cups/mime.types:#application/octet-stream

The Problem now is, that the server_args argument seems to be ignored and
everything is passed to cups as application/octet-stream and not as
application/icds.

Comment 1 Hans-Gerd van Schelve 2007-02-26 14:31:14 UTC
Created attachment 148795 [details]
icds.convs

Comment 2 Tim Waugh 2007-02-26 15:19:11 UTC

*** This bug has been marked as a duplicate of 230073 ***