| Camille Dominique on Sun, 24 Mar 2002 12:54:57 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| formfeed [was: Re: assistance] |
hi,
On Thu, Mar 21, 2002 at 06:24:44PM -0500, Mike Knichel wrote:
> I have used pr to format the text file for output to the printer so it
> prints form feed after each page, but want to make the process a bit
> simpler.
>
> Can anybody help me?
this is what I find in the FAQ of apsfilter's handbook (handbook.html):
7.3 Tuning
Q: My printer needs special treatment to reset it before any
print job, set the codepage, enable the correct end-of-line
mode, add an extra formfeed afterwards etc.
A: Grab your printer documentation to look for the escape
sequences needed and enter these into the configuration
variables RAW_PROLOGUE and RAW_EPILOGUE (remember to use octal
values). To send a reset sequence of "ESC c" before and an
additional formfeed after the raw print job, use
RAW_PROLOGUE='\033c'
RAW_EPILOGUE='\014'
Also have a look at the FAQs introduction:
I won't laugh here this time, as I did the same mistake not so long
ago...
hth,
--
Camille