Ipconfig

xav -  
Sebastien Posted messages 1671 Status Moderator -
Hi,

Is there a MS-Dos command to see all the printers on a network?

Thanks in advance,
Xav

2 answers

Sebastien Posted messages 1671 Status Moderator 80
 
Hi,

The jisisv method is good as long as the comments field of the network printer is filled in... We can indeed apply a filter to the net view command that allows us to identify the items where the word printer is contained in the comment and export everything to a text file.

However, a network printer is considered a node in its own right, and nothing distinguishes it from another item (server, workstation, etc.) since it has an IP address of the same nature.

Ultimately, it all depends on the organization of the network itself.

See you later

Seb - CF1
1
jisisv Posted messages 3678 Status Moderator 936
 
Use the net command help
net /?
provides the commands (like net view for example)
You can then obtain the parameters for each command with
net command /?

net /? > net.txt
net view /? >> net.txt
net use /? >> net.txt

You'll have the help in a file.

I believe that "net view" provides information about the workgroup/domain.
A little filter with a GNU version of grep and you’re (maybe) all set.

Always close to Open Source...
Johan Daine
-1