Path: utzoo!attcan!uunet!aplcen!samsung!munnari.oz.au!metro!usage.csd.unsw.oz.au!ccadfa!gyp From: gyp@maadfa.ma.adfa.oz.au (Patrick Tang Guan Yaw) Newsgroups: comp.sys.apollo Subject: lpd - Xon/Xoff flow control Message-ID: <1815@ccadfa.adfa.oz.au> Date: 15 Aug 90 02:54:49 GMT Sender: news@ccadfa.adfa.oz.au Lines: 52 Ever since I started using lpd as the printer spooler daemon on all our machines, I consistently encountered the following problem. Problem: XON/XOFF get turn off on the line that the printer is connected to (say /dev/sio1). ie, Host sync : FALSE Input Sync : FALSE even when I explicitly perform this in /etc/rc /com/tctl -line 1 -insync -sync ..... My diagnostics: I don't think it is a printcap problem, as the line characteristics are OK straight after the reboot. The problem arises when the first job was queued by /usr/lib/lpd, subsequent jobs queued does not seem to alter these two settings. That is, 1) Reboot machine (after clashed). 2) tctl -line 1 Host sync: True , Input Sync: True 3) lpr /etc/printcap 4) tctl -line 1 Host sync: False , Input Sync: False 5) tctl -line 1 -insync -sync 6) lprm 7) lpr /etc/printcap ; tctl -line 1 Host sync: True , Input Sync: True It is always the first job that is causing the problem. Why? BTW the printer is a LaserWriter NTX II. PS: The line in /etc/printcap that affect these are :fc#0000374:fs#0000003:xc#0:xs#0040040: Thanks for the help in advance. ------- Patrick Tang Guan Yaw, Phone : +61 6 268 8882 Dept. of Mathematics, EMAIL-ARPA/CSNET : gyp@maadfa.ma.adfa.oz.au ADFA, Canberra, 2600. UUCP : ..!uunet!munnari!maadfa.ma.adfa.oz!gyp AUSTRALIA ACSnet : gyp@ccadfa.cc.adfa.oz