rouilj@umb.umb.edu (John P. Rouillard) (02/01/90)
A month or so ago I posted a request for help getting the output of Gustaf Neuman's dvi2lj to print on an HP Laserjet II on a Sun 386i. Those of you who told me it was a problem with the lp driver converting decimal 10's <LF> in the binary stream into <LF> <CR> pairs were right. I added a line ms=raw to the printcap file and was up and running. For those of you who are not familiar with the ms command on 386i's it allows you to use STTY(1) command to set the ioctl bits on the port that you are using. I think this is standard BSD, but I am not sure. For those of you with plain SYSV boxes, you can write stty commands in the interface script that will take care of this. Unfortunately, I now have two logical printer hp and hpd one for regular files where LF-CRLF mapping is neeed, and the other for binary files. Well, I guess you can't get everything. For those of you who asked me to mail you what info I came up with, all the replies have been sent. I only has a couple of bounces. However there is still a problem. The spooler doesn't realize when the hp isn't online. There is a manual switch on the serial line to the printer so that it can be used by an ibm-pc as well as the network. I assumed that opens on the port were supposed to wait for a signal before they returned, unfortunately this doesn't seem to be happening. The spooler just dumps the data down the line. I really would like to have the spooler wait and the when the printer comes back on-line. print. Does anybody have any ideas. -- === The opinions expressed above are all mine and belong to nobody else. === John Rouillard U-Mass Boston rouilj@umb.umb.edu Physics Major Harbor Campus husc6!umb!rouilj Physics Department Boston, MA 02125 rouilj%umb.edu@RELAY.CS.NET