I made a post about this not too long ago. However, the problem is in the fact that with a port listening for data to print directly, anything and everything that comes in, gets printed. Beware of portscanners, etc..
A better method would be to setup a proper LPR port (lpdaemon) such as in /rc/bin/service/tcp515 - however, I could not get this to ever work, because I need the data to be processed by hpijs, and something goes wrong between the data coming in and being sent to lp via lpdaemon. I don't know what (ideas? see my previous post about this). Best, ak On Mon, Jul 5, 2010 at 6:11 PM, erik quanstrom <quans...@quanstro.net> wrote: > you can also print through lp(1) in this way. i believe > the JetDirect example in /sys/lib/lp/devices is the right > template. > > - erik > >