Re: Help on parallel port communication
- From: "Leopold Gerlinger" <leopold.gerlinger@xxxxxxxxxxx>
- Date: Mon, 17 Oct 2005 07:39:45 +0200
That's a funny question in the ages of LAN ;-)
It reminds me of the DOS days where so called parallel-link cables were
selled with according
programs for file transfer. I assume you have some type of this link-cable
available? As far as I
remember there were different connections available hence not each of the
cables will work
with each SW package.
On the second - during DOS days it was easy to access the parallel port
(simply write to the
output port / read from the input port). That doesn't work anymore under
Windows (are we talking
about Windowd or Linux?). You would need a driver for that (hack 'dlportio
windows' under
google to get a generic port driver).
So if you have a cable and know its internal connections and have access to
the parallel printer
port somehow - then you would be able to write some piece of code which is
able to send and
receive characters.
An easier way is a serial connection. A simple crossed cable (available in
every store) is needed only.
Each standard motherboard has at least one COM port available and there is
no need for special
drivers. Simply open COM1 under Windows and 'puts' and 'read' in Tcl. You
would be able to set the
speed up to 115kBps (about 10kByte/s transfer rate) - that's not that bad.
Any comments to this?
<lenciel@xxxxxxxxx> wrote in message
news:1129478473.295291.55820@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I have two computer A,B connect using parallel port, when I press "a"
> button in the keyboard of computer A, I'd like to see the command line
> of computer B telling me what I've pressed. How could I finish this?
> Any help or advice is appreciated much!!
>
.
- Follow-Ups:
- Re: Help on parallel port communication
- From: lenciel@xxxxxxxxx
- Re: Help on parallel port communication
- Prev by Date: Re: tcllib asn snmp trap
- Next by Date: Re: Batteries included goes further...
- Previous by thread: tcllib asn snmp trap
- Next by thread: Re: Help on parallel port communication
- Index(es):