Thanks to:
Robet Schuhl, Alan Davis, Anthony Talltree, Andrea Crisanti and Dr. Tom Blinn for their answers.
____________________
The original question:
Hi,
I'd like to execute something like this:
cat file | printer_filter options | lpr -Premote_queue,
but i don't know how to pass options to the filter, for instance the number of lines per page.
Is there a rule for the filters flags ?
Does somebody know these flags ?
Regards.
Hugo Llach
e-mail: hugo.llach_at_sonda.cl
_______________________________
The answers:
- Andrea remembered me the always initial step: just do man.
From the princap manual:
if [-c] -wwidth -llength -iindent -nlogin -hhost acct-file
- Anhony sent me the a GNU Enscript URL:
http://www.iki.fi/~mtr/genscript
- Alan sent me an excellent document called "Writing Printfilters for Ultrix", a detailed description of filters and how to programming one.
- Robert sent me an interesting perl script for printing to network printers (i never saw the perl socket managment before).
- And Dr. Blinn said me: "Please fix your idiot mailer program"
Thanks to all.
Hugo Llach
e-mail: hugo.llach_at_sonda.cl
Received on Fri Dec 05 1997 - 21:02:18 NZDT