Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 1998 18:49:05 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Andy McConnell <andym@ntt.net>
Cc:        Patrick Gardella <patrick@cre8tivegroup.com>, questions@FreeBSD.ORG
Subject:   Re: /etc/printcap doesn't work as advertised - Can't remove bane 
Message-ID:  <199811261849.SAA00641@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Tue, 24 Nov 1998 11:59:12 PST." <Pine.BSF.3.95LJ1.1b3.981124115346.4173V-100000@dukat.noc.cup.ndp.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Ah.. Maybe you have hit on something.
> 
> The remote printer is an HP with a JetDirect lpd server.  
> 
> Let me know if I've got the theory right:  the sh in the local printcap
> simply sets a flag that gets propogated to the remote lpd, correct?  
> 
> What option does lpr -h send?  What option can I put in the printcap to
> emulate the -h command line option then? 

Your theory is correct - ``sh'' should suppress headers, overriding 
what lpr wants.  From what I can see in the code, this works 
correctly too :-/

You could try putting some diagnostics in usr.sbin/lpr/lpd/printjob.c 
to see what ``SH'' is set to.....

> -andy

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



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?199811261849.SAA00641>