From owner-freebsd-questions Thu Nov 26 11:26:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26642 for freebsd-questions-outgoing; Thu, 26 Nov 1998 11:26:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26528 for ; Thu, 26 Nov 1998 11:26:01 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (woof.lan.Awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id TAA04913; Thu, 26 Nov 1998 19:25:55 GMT (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id SAA00641; Thu, 26 Nov 1998 18:49:05 GMT (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199811261849.SAA00641@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Andy McConnell cc: Patrick Gardella , questions@FreeBSD.ORG Subject: Re: /etc/printcap doesn't work as advertised - Can't remove bane In-reply-to: Your message of "Tue, 24 Nov 1998 11:59:12 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Nov 1998 18:49:05 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 , , 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