Microport System V/AT help request

asgard at cpro.UUCP asgard at cpro.UUCP
Sat Oct 18 16:01:38 AEST 1986


In article <241 at percival.UUCP>, neighorn at percival.UUCP (Steve Neighorn) writes:
> 
> Now if I could only figure out how to get my printer working. I have a
> Star NB-15, which works beautifully at 300 cps draft in PCDOS, but as soon
> as I boot into V/AT, the printer ready lights go out. I have run the
> advanced diags over my machine overnight; I have tried three different
> printer cables, I have reconfigured with lpadmin a dozen times, but I get
> the same frustrating results. Lpstat says everything is AOK. Lp sends me
> mail that says the file was printed. The printer remains a several hundred
> dollar paperweight as long as I am in unix. Right now I am copying files to
> a PCDOS disk and then printing them off with a PCDOS text formatter, which
> isn't as nearly as nice as the V/AT text-processing utilities. Does anyone
> out there have V/AT *and* their printers working?

The trick I had to do to make printer work is as follows.  Use mknod to 
create /dev/lp2 (the same as the other printer character special inodes,
but the minor device number is 2).  Link this to /dev/lp.  Then do the
things with lpadmin to make the model and profile files for lp.  You should
use the dumb device and edit out the loop with the stty's in the shell
script /usr/spool/lp/interface/whatever.  To test the device and hardware
configuration do ls -l >/dev/lp and you should get the entire listing of
wherever you happen to be with no lost characters if all is kosher.

--
May the farce be with you.

J.R.



More information about the Comp.unix.wizards mailing list