From: Ishwar Rattan rattan@cps.cmich.edu
Subject: Plan9 and laser printer..
Date: Wed, 21 Aug 1996 15:16:40 -0400 [thread overview]
Message-ID: <19960821191640.DFYcCLTLcJROEpfP-2CwzRBJz37TFCeWr8mHA6JvX3g@z> (raw)
This mail is meant for luther@infinet.com, I can't reach him
through our mailer..
-----
Some time ago you gave the following instructions for making a laser
printer (LaserWriter) connected to a parallel port work under standalone
Plan9.
I did make the changes but when I tried `lp doc.ps' the error on
screen are
rc: /dev/lpt1data: mounted directory forbids creation
rc: /dev/lpt1data: mounted directory forbids creation
I looked at /dev entries, I found one for lpt2data
---w--w--w- L 1 none none 0 Nov 21 1995 /dev/lpt2data
--rw-rw-rw- L 1 none none 0 Nov 21 1995 /dev/lpt2dlr
---w--w--w- L 1 none none 0 Nov 21 1995 /dev/lpt2pcr
--r--r--r-- L 1 none none 0 Nov 21 1995 /dev/lpt2psr
How can one make the same entries for lpt1?
With regards,
Ishwar Rattan
>I might be able to help you out on this issue, if someone hasn't already.
>
>1. Edit /sys/lib/lp/devices
> a. Uncomment out the entry for "stdout"
> b. Uncomment out "pcclone"
> c. Uncomment out entry for your laser printer, if there is one. My
>printer is a 1200-dpi postscript, so the closest thing is 600 dpi.
>
>2. mkdir /sys/lib/lp/tmp (don't ask me why; it needs it)
>
>3. Edit lp.rc (I believe in /sys/src/cmd/lp/lp.rc) and copy to /rc/bin/lp
> a. Remove the block referring to bootes near beginning of file.
>Don't be afraid, just rip it out! Here's the offending block:
>if (! test -r /srv/bootes) srv -m bootes
>if (! mount -c /srv/bootes /n/bootesother other || ! bind -a
>/n/bootesother/lp /sys/lib/lp) {
> echo 'could not properly setup LPSPOOL' >[1=2]
> exit 'LPSPOOL setup'
>}
>
>4. Edit $home/lib/profile by adding:
> a. LPDEST='pcclone'
> b. bind -a '#L2' /dev (you had this one figured out)
>
>Restart your machine.
>That should allow you to print a file such as doc.ps by:
>lp doc.ps
>
>Hope it works for you and that I haven't left a step out.
>
>Regards,
>Luther
reply other threads:[~1996-08-21 19:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=19960821191640.DFYcCLTLcJROEpfP-2CwzRBJz37TFCeWr8mHA6JvX3g@z \
--to=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).