managing printers via commandline?
Posted on 2005-03-30
I have a hundred workstations with various printer setup schemes. Most are setup as having local printers which are forwarded to either the printers IP address or \\server\printer-share.
I need to change the target printer IP addresses and share names for each workstation.
I want to avoid having to go to each workstation , manually logging on , going to control panel > printers, etc and making the change manually.
I can get a remote shell on any PC so I'm looking for commanline utilites so I might script this.
Con2prt isn't a option because the workstations are set up to print to local printers with the ports forwarded to either ip address or \\server\printer (It's a network printer, but the workstation treats it like it's local - no little pipe underneath the printer in "control > printers")
I'm been playing around with the command:
rundll32 printui.dll,PrintUIEntry /?
whcih shows hope, but I'm having trouble with how I can get a list of remote printer properties without knowing what printers the user is already hooked up to.