Date: Tue, 24 Nov 1998 11:32:35 -0800 (PST) From: Andy McConnell <andym@ntt.net> To: questions@FreeBSD.ORG Subject: /etc/printcap doesn't work as advertised - Can't remove baner page! Message-ID: <Pine.BSF.3.95LJ1.1b3.981124112705.4173P-100000@dukat.noc.cup.ndp.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95LJ1.1b3.981124112705.4173P-100000>
