[comp.unix.questions] printer problems

mark@ece-csc.UUCP (Mark Lanzo) (11/18/86)

I've been having problems with printers hooked onto microvaxes, and wondered
if someone out there could provide a solution.

Specifically, I've got a uVax II running Ultrix 1.2.  We have an LN03 printer
hooked to one of our tty ports.  When printing long files (or lots of short
ones), things seem to break sometimes -- the printer loses some text, often
part of the last page of a file.  I suspect that the problem lies in the
system not recognizing ^S/^Q from the printer, but I don't know for certain.
I've tried twiddling the /etc/printcap entry in all sorts of ways, with no
real success.  DEC has not been able to provide an answer (or more precisely,
they provided a *wrong* answer).

I've been hearing the same complaint from the managers of several other uVaxen
in the area.  The system configuration is not always the same -- other printers
(usually LA50), or they have a Vax workstation (I *think* in this case the
printer is connected to the console port, and I don't know how that may differ
from the regular tty ports).

Our current printcap entry basically looks like:

    lp|LN03:\
       fs#0321:fc#0456:\
       xs#040000:xc#037777:\
       br#4800:lp=/dev/tty00:


Any help you can offer would be greatly appreciated.

Please send replies via e-mail so we don't flood the newsgroups with
50 different versions of a common reply!  Thanks.

        Mark Lanzo
        ...decvax!mcnc!ece-csc!mark       (I think)

HIGGS_M%prime1.lancashire-poly.ac.uk@nss.cs.ucl.ac.u (Mike Higgs) (01/25/89)

Hi everybody!,
         the latest on the Ultrix printer problem.

    I set up the fs parameter in the printcap file for 8-bit data and it is now
printing in English text ( before it was printing in the DEC Multinational set)
but it isn't handshaking i.e. I get buffer overflow on the printer when I send
a file that's bigger than the buffer on the LG01 printer.
    I have looked at the data on the serial line with a protocol analyser and
can see that the printer is trying to send X-on and X-off but seems to be
setting the top two bits, which Ultrix isn't recognising. I have tried the fs
parity options ( odd , even , no etc. ) to no avail, and the printer doesn't
seem to be able to receive data in one format and send in another.
    If somebody has an LG01 on an ULTRIX system or has seen somethimg like
this before, please will you mail me some advice or help.

                        Thanks

                        Mike Higgs

School of Computing,              JANET : higgs_m@uk.ac.lancsp.p1
Lancashire Polytechnic,
Preston,
PR1 2TQ.