[comp.unix.questions] How to write a filter for troff....

cs00chs@unccvax.UUCP (charles spell) (03/09/90)

How does one go about writing a troff filter? I would like one for the HP 
Laserprinter II so I could type :

		 troff -Thp file | lpr -p hplp
and get the proper troff output.

How?

gwyn@smoke.BRL.MIL (Doug Gwyn) (03/10/90)

In article <1876@unccvax.UUCP> cs00chs@unccvax.UUCP (charles spell) writes:
>How does one go about writing a troff filter? I would like one for the HP 
>Laserprinter II ...

It's a moderately hard job, and if you can afford to do so I'd recommend
you simply acquire one of the commercial products that do this (we use
Elan Computer Group's EROFF, but there are others).