Advice needed interfacing a printer

HCART at VAX.OXFORD.AC.UK HCART at VAX.OXFORD.AC.UK
Thu Jul 6 20:07:41 AEST 1989


    Can anyone offer some advice about interfacing a printer to a 3130?
I have a malibu dual mode 200 which I would like to attach to the 3130.
It responds to the print spooler, but it prints rubbish. However, the self-test
mode of the printer prints correctly.

    I have made a link between /dev/ttyd3 (the printer is on port 4) and
/dev/lp and have then used lpadmin to introduce the printer to LP.

    However, it makes little difference whether I use the 'dumb' filter
in /usr/spool/lp/model, or edit it to make a filter of my own;  I just
get different amounts of rubbish coming out of the printer. I assume my
filter is simply inappropriate for the printer.

    The printer is set to run at 600 baud (selectable from 110 to 9600),
no parity, start/stop o/p control, ASYNCH data format, 1 start bit,
8 data bits, 1 stop bit. Cable Pins connected are 1-1, 2-3, 3-2, 4-5, 5-4, 6-6,
7-7, 8-20, 20-8.

    I know I have to place a suitable stty line somewhere in the dumb
filter to customise it to my printer, but all reasonable (to me!) stty
lines I put in seem to give me rubbish. Also, it is not clear to me just where
the stty line must go in the filter (so I have put it at the start).

    Can some knowledgable person offer a few words of help, please?
Am I missing a step somewhere? Any comments welcome!

Many thanks.

Hugh Cartwright, Physical Chemistry Lab, Oxford University, UK

   Fax:    Oxford (0865)-275410

   JANET:  HCART at uk.ac.oxford.vax
   BITNET: HCART at uk.ac.oxford.vax@ukacrl
           or     HCART%VAX.OXFORD.AC.UK at CUNYVM.CUNY.EDU
           or     HCART%vax.oxford.ac.uk at nss.ns.ucl.ac.uk



More information about the Comp.sys.sgi mailing list