GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing ss64.com — PrnMngr command - Windows CMD PRNMNGR.vbsAdd, delete and list printers and printer connections, can also display or set the default printer. Syntax
cscript PRNMNGR.vbs [-options] [-s server] [-p printer_name] [-m driver model]
[-r port] [-u user_name] [-w password]
Options
-a Add local printer
-ac Add printer connection
-d Delete printer
-g Get the default printer
-l list printers
-m Driver model
-p Printer Name
-r Port Name
-s Server Name
-t Set the default printer
-u User Name
-w password
-x Delete all printers
-xc Delete all printer connections
-xo Delete all local printers
-? Display help
PrnMngr.vbs is not on the Windows PATH but will be found at: All recent versions of Windows have automatic default printer management enabled by default. This can be enabled or disabled via policy: ExamplesSet a variable to make accessing PrnDrv.vbs easier:
Add printer 'print64':
Delete the printer 'print64' from print server 'prnserv1':
Connect to printer
Delete a printer connection:
List all printers on a printserver:
Delete all printers on a printserver:
List a specific printer:
Get the DEFAULT printer:
Set the DEFAULT printer:
“We photographers deal in things which are continually vanishing, and when they have vanished there is no contrivance on earth can make them come back again. We cannot develop and print a memory” ~ Henri Cartier-Bresson Related commandsNET VIEW \\Printserver - to view a list of available printers. Copyright © 1999-2026 SS64.com
Some rights reserved |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |