home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / sysv386 / 17428 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.8 KB  |  46 lines

  1. Newsgroups: comp.unix.sysv386
  2. From: fred@genesis.demon.co.uk (Lawrence Kirby)
  3. Path: sparky!uunet!pipex!demon!genesis.demon.co.uk!fred
  4. Subject: Need status of DSR (Carrier Detect) on serial device 
  5. Distribution: world
  6. References: <1992Dec8.231259.8433@njitgw.njit.edu>
  7. Organization: BT
  8. Lines: 33
  9. Date: Wed, 16 Dec 1992 00:29:03 +0000
  10. Message-ID: <724465743snx@genesis.demon.co.uk>
  11. Sender: usenet@demon.co.uk
  12.  
  13.  
  14. In article <1992Dec8.231259.8433@njitgw.njit.edu> tod@eies2.njit.edu writes:
  15.  
  16. >
  17. >We have an Epson serial printer hooked upto an Onboard Systems Stallion
  18. >multiport serial board, and it signals the printer is not ready by 
  19. >dropping DTR. As I understand it, this translates into the DSR signal
  20. >(or carrier detect) on the other end. Does anyone know a way through
  21. >the tty interface, or something else, to detect a drop in this signal?
  22. >
  23.  
  24. This is almost a week old but you don't seem to have a reply (not in this
  25. newsgroup anyway!)
  26.  
  27. There are 2 possible routes you can take:
  28.  
  29. 1. Use hardware flow control. The printer is essentially using the DTR pin
  30. as a 'ready to receive' signal. I don't Know the Stallion board as such but
  31. you should connect the printer's DTR pin to the flow control input on the
  32. board (usually CTS, sometimes RTS on boards which pretend to be a DCE
  33. device). Make sure the board supports hareware flow control and enable it.
  34.  
  35. 2. Use XON/XOFF flow control. Most printers will support sending XON/XOFF
  36. control codes down the return data line to the computer. Since this is the
  37. only data that goes down this line there are no problems. Just make sure that
  38. both the port and printer are set up for XON/XOFF.
  39.  
  40. Fred
  41.  
  42. -----------------------------------------
  43. Lawrence Kirby | fred@genesis.demon.co.uk
  44. Wilts, England | 70734.126@compuserve.com
  45. -----------------------------------------
  46.