gyp@maadfa.ma.adfa.oz.au (Patrick Tang Guan Yaw) (08/15/90)
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 <job id> 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
rztkm@tuhhco.UUCP (Klaus Martens) (08/17/90)
In article <1815@ccadfa.adfa.oz.au>, gyp@maadfa.ma.adfa.oz.au (Patrick Tang Guan Yaw) writes: > > I don't think it is a printcap problem, as the line It is a printcap problem. tctl is a AEGIS-command. The /usr/lib/lpd use the 'stty'-program and it is executed every time the lpd is started. If you use the 'ty'-option you can set the XON/XOFF. Try 'ty=tandem'