extra pages when printing text files using pr and lpr
rogermiller at alumni.union.edu
Thu Mar 11 20:09:20 PST 2004
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?
p.s. If it matters, I'm running 4.9-RELEASE.
More information about the freebsd-questions