🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #502

How to watch the parallel port?

#502
From: HAVERLAND MARC BRADLEY
Date: Sun, 03 Jun 1990 07:24
28 lines
1915 bytes

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
Technical Details
Message-ID: <19922@boulder.Colorado.EDU>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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