From: Jonas Amoson <jonas.amoson@home.se>
To: 9fans@9fans.net
Subject: [9fans] Getting printing to work over ethernet
Date: Sat, 22 Aug 2009 19:04:37 +0200 [thread overview]
Message-ID: <4A902525.5060209@home.se> (raw)
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
next reply other threads:[~2009-08-22 17:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-22 17:04 Jonas Amoson [this message]
2009-08-26 3:10 ` erik quanstrom
2009-08-27 0:28 ` geoff
2009-08-27 0:32 ` erik quanstrom
2009-08-28 2:14 ` geoff
2009-08-29 13:32 ` Jonas Amoson
2009-08-31 9:43 ` Robert Raschke
2009-08-27 19:00 Jonas Amoson
2009-08-27 19:32 ` Lyndon Nerenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A902525.5060209@home.se \
--to=jonas.amoson@home.se \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).