Subject: Re: lpd and filter programs
To: None <tron@lyssa.owl.de>
From: Scott Reynolds <scottr@Plexus.COM>
List: tech-userlevel
Date: 07/20/1998 12:10:27
On 19 Jul 1998 tron@lyssa.owl.de wrote:

> Yes, I saw that one. Unfortunately is of now use with my Emulex NETque Mate.
> I already found a kludge for now - "/dev/lp" is a FIFO which is polled by
> a shell script - but I would like to get rid of it.

this limitation also exists in at least some sysv-based printing systems
(i.e. it's not at all unusual).  what we do to work around this is to
create a `local' queue on /dev/null.  the filter script on this queue does
its magic and then uses lp/lpr to inject the job into the appropriate
queue for the remote printer.

--scott

PS - i can't take any personal credit for the idea; i learned this
technique while setting up printers for the mentor graphics EDA suite on
our hp-ux and solaris systems.