Using command line to get a list of networked printers
| From: | Robert V. Zwink | Date: | Fri, 16 Jun 2000 20:52:59 +0000 |
| Subject: | Using command line to get a list of networked printers | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-498@lists.php.net to get a copy of this message | ||
I know this really isn't php, but it seems that if anyone would know, it
would be you.
If I type from windows 98 command prompt.
c:\>NET USE
I get back information about all of my mapped network drives. I wonder if
there is a similar command to see all of my networked/installed printers?
So instead of just:
C:\>net use
Status Local name Remote name
-----------------------------------------------
OK W: \\RTLOPS\BASE-W
OK X: \\MISLXSRV\TMC-
I would also get
C:\>net use /all
Status Local name Remote name
-----------------------------------------------
OK printer: \\RTLOPS\printer
OK W: \\RTLOPS\BASE-W
OK X: \\MISLXSRV\TMC-
or something.
Sorry for the off-topic, knowing how to do this would really help me right
now.
Robert Zwink
http://zwink.levitate.org