🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Detecting LPT port address

#12541
From: Moshe Shahar
Date: Tue, 02 Dec 2003 11:52
13 lines
1150 bytes
Hi,

I need to write through the LPT port. 
I found dll (inpout32) that enables to r\w port address of the OS.

My questions are :
Can I detect the availables LPTs at runtime ?
And if so, how can I get the port address of it, at runtime, too ?
Can I config the LPT baud rate of the LPT ?

Thanks a lot,
Moshe Shahar.
Technical Details
Message-ID: <3fcc8afe$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7c1a925bc86d06a9,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-02 05:09:15 PST
From: "Moshe Shahar" <msachar@tiogatech.com>
Sender: "Moshe Shahar" <msachar@tiogatech.com>
Reply-To: "Moshe Shahar" <msachar@tiogatech.com>
Subject: Detecting LPT port address
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 164.129.1.39     
X-Forwarded-For: unknown, unknown
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3fcc8afe$1@newsgroups.borland.com>
Date: 2 Dec 2003 04:52:14 -0700
X-Trace: newsgroups.borland.com 1070369534 207.105.83.66 (2 Dec 2003 04:52:14 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail