General information
Category:
Coding, syntax & commands
Title:
Determing True Printer Port
Does anyone know how to determine the true port of a printer? I am developing under Win2K, and when I issue printer.port, I get a useless "Ne01:" or the like. What I need to know is if the printer is a local printer or a networked printer and if the printer is networked, what port it is connected to. For example, If I am sharing an HP Printer on Box A: I would like to be able to retreive the string: "\\A\HP" The same goes for a local printer: "LPT1:"
Any suggestions would be much appreciated!
Ben Keene
icarz.com
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only