From owner-freebsd-questions Thu Oct 24 07:16:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA23608 for questions-outgoing; Thu, 24 Oct 1996 07:16:45 -0700 (PDT) Received: from horst.bfd.com (horst.bfd.com [204.160.242.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA23602 for ; Thu, 24 Oct 1996 07:16:40 -0700 (PDT) Received: from harlie (bastion.bfd.com [204.160.242.2]) by horst.bfd.com (8.7.6/8.7.3) with SMTP id HAA11511; Thu, 24 Oct 1996 07:16:35 -0700 (PDT) Date: Thu, 24 Oct 1996 07:16:35 -0700 (PDT) From: "Eric J. Schwertfeger" X-Sender: ejs@harlie To: steve@aries.bb.cc.wa.us cc: questions@freebsd.org Subject: Re: printing to printer on novell net In-Reply-To: <199610240352.UAA09858@aries.bb.cc.wa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 23 Oct 1996 steve@aries.bb.cc.wa.us wrote: > > 4) add the following lines to /etc/printcap > > > > lp|hp4sales1|Sales HP4 Plus 1:\ > > :lp=/dev/null:rm=hp4sales1.bfd.com:rp=text:sd=/var/spool/lpd/hp4sales1:mx#0: > > > > where the rm= field is set to your printer's hostname (from step 3). > This was so helpful, but I ran into a problem. My printjobs go > through, but no formfeed is sent at the end. I have read printcap > 101 times, and tried just about everything I can think of. Am I > missing something easy? I put the printcap entry exactly like you > have it (except the rm field). No. the rp=text field is supposed to handle that, and turn of the staircasing effect. How old is your Jet Direct card, and what printer is it in? The default filter adds a formfeed to the end of the document, but lpd doesn't use the filters when you are printing to a remote printer. I can only think of one way around this, two ways to implement it; one a kludge, the other something I haven't done yet. kludge: set up another printcap entry that uses a shell script for a filter, and the filter feeds its stdin and a formfeed to another invocation of lpr. Last time I tried something like this, I could only print one file at a time. better solution: Install LPRng (mentioned in the handbook, sorry, I have no other references), which can be set up to use filters on a remote printer. I plan on using it for an auto-postscript filter on the above mentioned printer.