I decided to try and configure my system to print to the lab's network
printer, an HP Laserjet 4014 with JetDirect enabled. I can happily
print to it from Linux using CUPS.

For reference, my Plan 9 server is called p9 and the printer is called prec7.

Based on the example I saw in the config file, I did this:

prec7   -       p9      tcp!prec7!9100  81920   post+600dpi     generic generic 
generic generic tcppost

But, when I try a simple query:

cpu% lp -D -dprec7 -q
grep '^prec7[   ]' /sys/lib/lp/devices
bind -b /sys/lib/lp/stat /bin
exec generic
lpsend.rc p9
echo -dprec7 -q
sleep 5
test -e /net/tcp/clone
ndb/query sys p9 dom
lpsend tcp!p9!printer
Sep  1 14:09:26 failed to receive ACK, read failed
Sep  1 14:09:26 failed to receive ACK before sending data
exit 'lpsend: no dialstring'
exit '|lpsend.rc 28728: lpsend: no dialstring'

If I go in and move /rc/bin/service/!tcp515 to tcp515 and try again,
'ps' shows that lots of lpdaemon, generic, lpsend.rc, and lpsend
processes get started, and the memory usage slowly climbs and climbs,
but nothing ever happens.

Anybody else experienced this?

John
-- 
"With MPI, familiarity breeds contempt. Contempt and nausea. Contempt,
nausea, and fear. Contempt, nausea, fear, and .." -- Ron Minnich

Reply via email to