Subject: Re: LaserWriter and lpr [solved]
To: Bill Studenmund <wrstuden@zembu.com>
From: Shigeki Uno <shigeki@mediawars.ne.jp>
List: port-mac68k
Date: 03/25/2001 00:48:14
Bill Studenmund <wrstuden@zembu.com> writes:

[...]
> > (2) add the following line to /etc/rc.local
> > 
> >   stty -f /dev/tty01 raw 57600 crtscts opost onlcr
> 
> This line no longer does anything. Around 1.2, it'd work. Now it doesn't.

I didn't know that.
 
> > (3) /etc/printcap
> > 
> > lp0|lp|HP DeskWriter 310\
> >         :lp=/dev/tty01:sd=/var/spool/lpd:lf=/var/log/lpd-errs:\
> >         :sh:mx#0:\
> >         :sh:pl#66:pw#80:if:/usr/libexec/lpr/lpf:
> 
> You want to set the baud rate here, br#57600. And to adjust the control
> state, you want ms=crtscts,opost,onlcr. That'll give you the same thing as
> the stty used to do.

Fixed. Thanks a lot.

[...]
> > (5) /usr/pkgsrc/print/magicfilter seems to support lots of filters.
> >     i'm never familira with it.
> > 
> > # you can learn more from the following site.
> > http://www.mclink.it/personal/MG2508/nbsdeng/netbsd.html
> > 
> > the above site is helpful site for NetBSD users and chapter6 <Printing>
> > is suitable for you. 
> 
> Also look at ghostscript. It supports direct graphics output to your
> printer, AFAIK.

Yep, I can find helpful documents about ghostscript in /usr/pkg/share/doc
/ghostscript/*.htm, etc and pictures in /usr/pkg/share/examples/ghostscript
/*.ps.

Bill, Thank you for your help. 

Regards,
-- 
Shigeki Uno <shigeki@mediawars.ne.jp>