From: "Rudolf Sykora" <rudolf.sykora@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] printing fom plan9 to OKI5900dn
Date: Sun, 25 May 2008 17:14:14 +0200 [thread overview]
Message-ID: <a560a5d00805250814u512e624au4aaa370c36d9e2c2@mail.gmail.com> (raw)
In-Reply-To: <20080519190450.264F51E8C22@holo.morphisms.net>
[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]
2008/5/19 Russ Cox <rsc@swtch.com>:
> > I have spent some time trying to figure out the working configuration for
> > being able to print on a network (postscript) printer oki5900dn.
> > I know its IP address.
> >
> > But I haven't succeeded so far.
> >
> > I prepared a PS file, say a.ps.
> > I removed the '!' letter from rc/bin/service/!tcp515, so now I
> > have rc/bin/service/tcp515.
> > I added a line to /sys/lib/lp/devices like this:
> > oki next_door localhost tcp!192.113.32.182!9100 81920 post+duplex ...
>
> If there is some machine that is already
> in charge of spooling to the printer, you
> would be better off handing the job to
> that machine instead of connecting directly
> to the printer, since many printers don't handle
> multiple connections on 9100 particularly
> gracefully. To hand the job to another machine
> via the fairly standard LPD protocol, see the
> "vogon" line in /sys/lib/lp/devices for an
> example.
>
> If you are going to set up your own machine
> as the one in charge of the printer (as you have tried),
> you have to use a resolvable address where you put
> "localhost". On Plan 9, "localhost" is not a
> known name--it doesn't make sense in config
> files, which are usually shared across many
> machines--and by default there is no network
> devices for 127.0.0.1.
>
> You can add an entry for your machine to
> /lib/ndb/local and then use your machine's name
> in the /sys/lib/lp/devices line.
>
> Russ
>
> Thanks, R.
>
[-- Attachment #2: Type: text/html, Size: 2115 bytes --]
next prev parent reply other threads:[~2008-05-25 15:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 17:39 Rudolf Sykora
[not found] ` <7a9ef248630c3e47914a1fcc714982dd@yourdomain.dom>
[not found] ` <a560a5d00805161135h58c40b11k7d4165584eb9bb77@mail.gmail.com>
2008-05-16 18:43 ` Rudolf Sykora
2008-05-19 19:00 ` Russ Cox
2008-05-25 15:14 ` Rudolf Sykora [this message]
2008-05-16 19:08 erik quanstrom
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=a560a5d00805250814u512e624au4aaa370c36d9e2c2@mail.gmail.com \
--to=rudolf.sykora@gmail.com \
--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).