🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3594

Re: Port sharing/splitting?

#3594
From: Jim Dodd
Date: Fri, 19 May 2006 14:11
26 lines
2241 bytes
Zahir wrote:
> Oops! sorry guys had problems with my internet link, i am back now...
> I want to sort-of intercept the data going to the printer, archive it and let the printer also make a hard copy. i mean something like to be able to make my app read the port memory without interfearing with the application that sent this data.
> Why i need this? to save alarms from an old automation system that does not have an OPC server. Assist please.

There must be a way to do this but I don't know how. However, there is a
utility at SysInternals called PortMon that will show activity and data
on serial and parallel ports. I don't know how to get it to give you the
data but perhaps you can get them to tell you how they did it.

Link to the utility:
http://www.sysinternals.com/Utilities/Portmon.html

Description:
Portmon is a utility that monitors and displays all serial and parallel
port activity on a system. It has advanced filtering and search
capabilities that make it a powerful tool for exploring the way Windows
works, seeing how applications use ports, or tracking down problems in
system or application configurations.

Portmon works on NT 4.0, Win2K, XP and Server 2003, Windows 95 and
Windows 98.

Regards,
Jim Dodd
Onset Computer Corp.
Technical Details
Message-ID: <446dd227$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4464ade6$1@newsgroups.borland.com> <446b06f4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,377c765ac90d6829
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 19 May 2006 10:11:52 -0400
From: Jim Dodd <bcbuilderboy@yahoo.com>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Port sharing/splitting?
References: <4464ade6$1@newsgroups.borland.com> <446b06f4$1@newsgroups.borland.com>
In-Reply-To: <446b06f4$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.75.243.228
Message-ID: <446dd227$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148047911 24.75.243.228 (19 May 2006 07:11:51 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail