Subject: Re: Mac Printing
To: Jim Hagan <hagan@ee.vill.edu>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 01/03/1996 08:41:49
>
> Hi All,
>
> I haven't been able to get my printcap entry correct for
> printing to my Laserwritter NTR, nothing comes out of the printer.
> Has anyone been able to print? My entry looks like:
I assume the little light blinks?
> laser-NTR|Personal Laser Writter NTR:\
> :lp=/dev/tty01:\
> :sd=/var/spool/laser-NTR:\
> :lf=/var/log/laser-NTR:\
> :br#9600:\
> :mx#0:\
> :rw:\
> :sh:\
> :fc#0000300:\
> :fs#0000041:\
> :if=/usr/local/etc/ps_filter:
>
> The serial port on the laser printer is set up as:
> 9600 8N1 XON/XOFF
>
> Any suggestions?
I don't really know what's wrong, but I've abandoned using fc# and fs#.
lpd uses the old-style terminal control interface, which lacks some
of the niceties of stty. I've just added an "stty -f /dev/tty01 raw
57600 crtscts clocal" to my /etc/rc.local and had lpd not touch
the port configuration.
Admittedly I'm using a DeskWriter, which runs at 57600. lpd won't let
the printer run at this speed.
I need to look at it again, but the flags in /etc/ttys should be able to
set the port up too.
Good luck!
Bill