How to get the printer port number using windows API call

ashwathnp

New Member
Hi all,

Using the Windows API call, could you please tell us how to get the port number of the printer. Because while setting the value of activeprinter method/property of MS word 2007 it requires "printer name" on "port number".
The port number which we are trying to get by this method is equivalent to 'Session:printer-port"


Thanks,
Ashwath
 
Top