Search for available LPT (parallel) ports and addresses in Delphi

I am doing direct I / O on a parallel port, which is good and necessary for speed. I would like to list the available ports in order to offer the user a choice of ports during setup, rather than a tedious trawl through the device manager to read the address manually. Does anyone know how to do this? Thanks a lot, Brian

+4
source share
1 answer

According to this Microsoft article , for Win2K and later, you can find detailed information about parallel devices in the registry in HKLM \ SYSTEM \ CurrentControlSet \ Enum \ LPTENUM.

+2
source

All Articles