Date: Fri, 12 Mar 2004 16:43:52 -0500 From: "rogermiller" <rogermiller@alumni.union.edu> To: <rogermiller@alumni.union.edu>, Mike Jeays <Mike.Jeays@rogers.com> Cc: freebsd-questions@freebsd.org Subject: Re: extra pages when printing text files using pr and lpr Message-ID: <200403121643.AA2637758532@alumni.union.edu>
next in thread | raw e-mail | index | archive | help
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 <Mike.Jeays@rogers.com> 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. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403121643.AA2637758532>
