From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 13:43:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32B0B16A4CE for ; Fri, 12 Mar 2004 13:43:57 -0800 (PST) Received: from alumni.union.edu (unknown [209.109.246.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F1F443D2D for ; Fri, 12 Mar 2004 13:43:56 -0800 (PST) (envelope-from rogermiller@alumni.union.edu) Date: Fri, 12 Mar 2004 16:43:52 -0500 Message-Id: <200403121643.AA2637758532@alumni.union.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "rogermiller" To: , Mike Jeays X-Mailer: cc: freebsd-questions@freebsd.org Subject: Re: extra pages when printing text files using pr and lpr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rogermiller@alumni.union.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 21:43:57 -0000 Mike, Thank you so much! Your suggestion worked perfectly. (I don't know why I hadn't thought to look at the man page for printcap.) Roger Miller ---------- Original Message ---------------------------------- From: Mike Jeays Date: 12 Mar 2004 07:22:40 -0500 >On Thu, 2004-03-11 at 23:09, rogermiller wrote: >> Hi, all. >> >> I write a lot of plain text files, and print them to a dot matrix >> printer attached to my parallel port. To do so, I use the pr command >> to add headers, as follows: >> pr -o 8 filename | lpr >> >> The problem is that the system always generates an extra page [form >> feed, I suppose] after the last page. If print *several* files at >> the same time, the extra sheet only follows the last page. >> >> Is there any way of suppressing this last blank page / formfeed? >> >> Thanks. >> >> p.s. If it matters, I'm running 4.9-RELEASE. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >Try the "sf" option in /etc/printcap/. Read man printcap for more >details. > >