Getting the port number for LPT ports programmatically



I am trying to find out the port number associated with the LPT1 port
programmatically. But till now, I have not been able to find anything
about it.... Can you please help me out with this.
Thanks & regards Pankaj

.


Loading