9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Plan9 and laser printer..
@ 1996-08-21 19:16 Ishwar
  0 siblings, 0 replies; only message in thread
From: Ishwar @ 1996-08-21 19:16 UTC (permalink / 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-21 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-21 19:16 Plan9 and laser printer Ishwar

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).