9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Laserjet Jetdirect problem
@ 2010-09-01 18:11 John Floren
  2010-09-02 14:28 ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: John Floren @ 2010-09-01 18:11 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-02 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-01 18:11 [9fans] Laserjet Jetdirect problem John Floren
2010-09-02 14:28 ` Russ Cox
2010-09-02 16:09   ` John Floren
2010-09-02 16:20     ` John Floren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).