From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,949a6cbcdb2534cb,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,949a6cbcdb2534cb,start X-Google-Attributes: gid1164f8,public From: af@biomath.jussieu.fr (Alain FAUCONNET) Subject: Pls help: trouble hooking Serial HP LJ 4MP to DECst. 5133 Date: 1997/04/23 Message-ID: #1/1 X-Deja-AN: 236851948 Organization: Universites Paris VI/Paris VII - France Newsgroups: comp.unix.ultrix,comp.sys.dec 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# entry seems completely ignored. The port remains at 9600 bauds until I issue a: stty >/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 :-]