[comp.sources.wanted] Wanted: print filters of ANY sort for lpr.

kwongj@caldwr.caldwr.gov (James Kwong) (03/11/88)

Wanted: print filters of ANY sort used for lpr.

I'm in the process of writing my first filter and need some help. I thought
I could model it after filters already in use. I want to check my work with
those of other people to see if what I understand from reading the manual
has been implemented correctly. It seems like the bare minimum you need to do
is read from standard input and write to standard output. The manual mentioned
about returning  an exit code of 0, 1 and 2 and parameters which are passed to
the filter which I wonder if I absolutely need to code for.

btw, my printer:
Apple LaserWriter Plus. Problem: Postscript files with long lines
(those greater than 132 columns) are getting truncated. I need to be able
to handle text(which I think I solved already) and bitmaps(which I'm fudging
now in the code, (hey it works !!..so far )

Any help would be appreciated. Thank your in advance.
-- 
James Kwong  Calif. Depart. of H2O Resources, Sacramento, CA 95802
caldwr!kwongj@ucdavis.edu(Internet) ...!ucbvax!ucdavis!caldwr!kwongj (UUCP)
The opinions expressed above are mine, not those of the State of California or the California Department of Water Resources.