Finding available LPT (parallel) ports and addresses in Delphi
Asked Answered
N

1

4

I am doing direct I/O on a parallel port which is fine and necessary for speed. I would like to enumerate the available ports to offer the user a choice of ports at setup time rather than a tedious trawl through device manager to read the address manually. Does anyone know a means of doing this please? Many thanks, Brian

Norman answered 17/12, 2008 at 10:45 Comment(0)
R
2

According to this Microsoft article, for Win2K and newer, you can find details of parallel-connected devices in the registry at HKLM\SYSTEM\CurrentControlSet\Enum\LPTENUM.

Ricarda answered 17/12, 2008 at 13:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.