Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: af@biomath.jussieu.fr (Alain FAUCONNET)
Subject: Pls help: trouble hooking Serial HP LJ 4MP to DECst. 5133
Date: 1997/04/23	[thread overview]
Message-ID: <af.861821978@iaka> (raw)



Would anyone please help me ? I  have  been  requested  to  provide  a
serial PS printer for a standalone testbed DECstation  5000/133.  That
machine used to be connected to our LAN and use networked printers.

The  machine  runs  Ultrix 4.3 and can not be upgraded because of time
deadlines, a poorly designed application and obsolete tools being used
(not my decision...)

I have connected a HP LaserJet 4MP to its /dev/tty00 port and set up a
very simple /etc/printcap entry (only pure PS will be sent to  it,  so
there's no need for all the elaborated filters).

borneo:\
        :af=/usr/adm/lpacct:\
        :mx#0:\
        :sh:\
        :fc#01777777:fs#023:\
        :xc#01777777:xs#045000:\
        :br#19200:\
        :ct=dev:\
        :lf=/usr/adm/lpd-errs:\
        :lp=/dev/tty00:\
        :sd=/usr/spool/borneo:

Of course the correspoding entry in /etc/ttys has been set to "off".

First  strange  thing : the br#<speed> entry seems completely ignored.
The  port  remains  at 9600 bauds until I issue a:

stty <speed> >/dev/tty00

Other tty  parameters  as  reported  by :  stty  -a  >/dev/tty00  seem
consistent with the printcap entry.

Simple  text or PS jobs do get printed correctly, but any large PS job
hangs  (lpq  reports  "Retrying in 15,  30,  60...  seconds).  Nothing
gets printed and the printer doesn't seem to receive data anymore (not
sure  of  that). It is set for  XON/XOFF  flow  control   and  cabling
seems  correct. A possible explanation would be that XOFF gets sent by
the  printer  for  some reason (it needs time to grok large bitmaps ?)
and either XON never comes, or lpd doesn't like to see tty output held
for too long ??? Really, just a shot in the dark here.

Any hint will be *greatly* appreciated.
Thanks in advance,

_Alain_
-- 
Alain FAUCONNET    Ingenieur systeme - System Manager     AP-HP/SIM
Public Health                91 bld de l'Hopital 75013 PARIS FRANCE
Medical Computing Research Labs         Mail: af@biomath.jussieu.fr
Tel: (+33) (0)1-40-77-96-19             Fax: (+33) (0)1-45-86-80-68
    I've RTFMed. It says: "Refer to your system administrator"
            But... I *am* the system administrator :-]



                 reply	other threads:[~1997-04-23  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox