From owner-freebsd-questions Tue Nov 24 11:32:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27072 for freebsd-questions-outgoing; Tue, 24 Nov 1998 11:32:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dukat.noc.cup.ndp.net (dukat.noc.cup.ndp.net [209.212.224.149]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA27067 for ; Tue, 24 Nov 1998 11:32:55 -0800 (PST) (envelope-from andym@ntt.net) Received: from localhost (localhost [127.0.0.1]) by dukat.noc.cup.ndp.net (8.8.8/8.8.8) with SMTP id LAA06514 for ; Tue, 24 Nov 1998 11:32:35 -0800 (PST) (envelope-from andym@ntt.net) Date: Tue, 24 Nov 1998 11:32:35 -0800 (PST) From: Andy McConnell Reply-To: Andy McConnell To: questions@FreeBSD.ORG Subject: /etc/printcap doesn't work as advertised - Can't remove baner page! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-2022-JP Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know this sounds simple, and it may be - but I have tried the obvious way, with no effect. 2.2.7-current, cvsup last night, make world last week. My /etc/printcap looks like this: lp|printer:\ :sh:rm=printer.noc.cup.ndp.net:\ :sd=/var/spool/output/lpd:\ :lf=/var/log/lpd-errs: Whenever I send a job to it, I always get a banner page (even with the :sh: option in there!) The only way I can remove the banner is to manually execute lpr -h. This is impractical when using samba to export the printer, or using anything that calls lp or lpr directly (and doesn't pass the option). I would *love* to find out why the printcap isn't forcing the behavior it it supposed to force. I've thought to edit /usr/bin/lp, and manually insert the -h... but I hate that kind of solution, and I'd like to do it right instead. Is there another place I should be looking? -Andy -- Andy McConnell 真向練 安堵龍 NTT America IP Headquarters Our Nation owes a lasting debt of gratitude to all those selfless members of our Armed Forces who have risked their own freedom and safety to defend the lives and liberty of others. -- Bill Clinton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message