Subject: bin/20525: lpr cannot suppres headers
To: None <gnats-bugs@gnats.netbsd.org>
From: None <peterih@vip.cybercity.dk>
List: netbsd-bugs
Date: 02/28/2003 05:56:53
>Number:         20525
>Category:       bin
>Synopsis:       lpr cannot suppres headers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 28 05:57:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Peter Hansen
>Release:        1.6
>Organization:
>Environment:
pihlmt 1.6 NetBSD 1.6 (PIHKERN16) #1: Wed Feb 12 09:52:11 CET 2003     pih@pihlmt:/usr/src/sys/arch/i386/compile/PIHKERN16 i386
>Description:
When printing with lpr (/usr/bin/lpr), the 'sh' command in /etc/printcap fails to suppress the header page. The result is that an extra page is printed every time you print.
The lpd setup is unmodified from the default install.
>How-To-Repeat:
My printcap:

lp|ljet4;r=300x300;q=medium;c=gray;p=a4;m=auto:\
    :sh:\
    :nh:\
    :lp=:\
    :rm=130.225.45.94:\
    :rp=raw:\
    :if=/usr/pkg/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/lp:\
    :lf=/var/spool/lpd/lp/log:\
    :af=/var/spool/lpd/lp/acct:\
    :mx#0:
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: