🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Port sharing/splitting?

#3661
From: Bob Gonder
Date: Fri, 12 May 2006 18:23
18 lines
1587 bytes
Remy Lebeau (TeamB) wrote:

>"Zahir"  wrote in message
>
>> i am wondering if there is an API i can use to give my application
>> access to a comport to which a printer is connected
>
>Use CreateFile() to open com ports.

I think he wants to intercept the data on it's way to the com port.

>>i would like to archive the data going to the printer

I'm thinking his app is an archiver, not a printing app, and he wants
something more like a global hook, or a printer driver replacement.
ie. the  man-in-the-middle or wire-tap models.

Perhaps Zahir could clear that up?
Technical Details
Message-ID: <aqj9629b17pjnkidgcabj4oel9jf3un6hs@4ax.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> <4464c451$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
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Port sharing/splitting?
Date: Fri, 12 May 2006 11:23:13 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <aqj9629b17pjnkidgcabj4oel9jf3un6hs@4ax.com>
References: <4464ade6$1@newsgroups.borland.com> <4464c451$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.82.237
X-Trace: newsgroups.borland.com 1147458191 69.69.82.237 (12 May 2006 11:23:11 -0700)
Lines: 20
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