Xref: utzoo alt.msdos.programmer:1705 comp.sys.ibm.pc:51812 comp.sys.ibm.pc.programmer:1766 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwvax!dogie.macc.wisc.edu!uakari.primate.wisc.edu!aplcen!unmvax!sci.ccny.cuny.edu!cucard!dasys1!cooper!phri!sci.ccny.cuny.edu!rpi!zaphod.mps.ohio-state.edu!ncar!boulder!tramp!haverlan From: haverlan@boulder.Colorado.EDU (HAVERLAND MARC BRADLEY) Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc,comp.sys.ibm.pc.programmer Subject: How to watch the parallel port? Message-ID: <19922@boulder.Colorado.EDU> Date: 3 Jun 90 07:24:59 GMT Sender: news@boulder.Colorado.EDU Reply-To: haverlan@tramp.Colorado.EDU (HAVERLAND MARC BRADLEY) Organization: University of Colorado, Boulder Lines: 28 I have a problem that I'm not too familiar with that I would like to get comments on. Any help is much appreciated. The problem: I need to watch the parallel port for an ASCII 7 (bell) and send a bell to the serial port whenever I find one. I also need to let everything continue to go to the parallel port. It would be acceptable to simply copy everything going to the parallel port to the serial port. I don't think I can use MODE redirection, because I still need to let the data out the parallel port. What I need to do is *copy* the data. Can I watch the parallel port with a simple TSR? Where would I look? Where would I send it once I found it? I'm not too familiar with TSR programming, but it seems this would be a very small program that could be written fairly easily. For those interested, the specific problem is this: a client with an old Novell network and point-of-sale software that sends an ASCII 07 to the parallel port to open a cash drawer, and a cash drawer that goes on the serial port that accepts an ASCII 07 to open the drawer. They still need to have a printer on the parallel port. Thanks to anyone with a suggestion. Marc Haverland haverlan@tramp.colorado.edu (303) 650-1100