SUMMARY: Printer filters

From: Hugo Llach V. <Hugo.Llach_at_sonda.cl>
Date: Fri, 05 Dec 1997 17:57:06 -0300

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT