From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078620310313.tru64-unix-managers.marc@archive.invalid> From: "Hugo Llach V." Date: Fri, 05 Dec 1997 20:57:06 +0000 To: tru64-unix-managers Subject: SUMMARY: Printer filters X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078620310313 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@sonda.cl _______________________________ The answers: - Andrea remembered me the always initial step: just do man. From the princap manual: =20 if [-c] -wwidth -llength -iindent -nlogin -hhost acct-file =20 - 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@sonda.cl