From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4A902525.5060209@home.se> Date: Sat, 22 Aug 2009 19:04:37 +0200 From: Jonas Amoson User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: 9fans@9fans.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] Getting printing to work over ethernet Topicbox-Message-UUID: 51d00c44-ead5-11e9-9d60-3106f5b1d025 Hello! I am trying to print from my Plan 9 computer to my networked laser printer. It (a HP 2015n) speaks Postscript and is connected to the same router as my computer. The printer has got the IP 192.168.1.101 from the router, as it uses NAT. I have tried to add different entries to the file /sys/lib/lp/devices inspired by the examples in the same file. Here are two of my best tries: hplaser mydesk 192.168.1.101 192.168.1.101 - post+600dpi generic generic generic generic tcppost hplaser2 mydesk 192.168.1.101 tcp!192.168.1.101!9100 81920 post+600dpi generic generic generic generic tcppost Then I try to print something, 'lp -d hplaser tst.ps' I get the following errors: Aug 22 18:48:23 write error during pass, 11356 bytes remaining Aug 22 18:48:23 failed to send 11356 bytes It works well to 'ip/ping' the printer, and it also works to print from my Linux computer, connected to the same router. Any ideas of what goes wrong? Anything I have to do besides adding an entry in the devices-file? Best, Jonas