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

Reply via email to