From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Wed, 1 Sep 2010 14:11:29 -0400 Message-ID: From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: [9fans] Laserjet Jetdirect problem Topicbox-Message-UUID: 4cdb4c48-ead6-11e9-9d60-3106f5b1d025 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