Finally the help of IT is here

Blog of computer solutions.

Scripts for remote administration of printers

Written by jl on November 13th, 2012

It makes a reviewing logs found that our network had SNMP traffic that was denied by the different firewalls time. Looking at more detailed discovered that traffic was generated teams were discharged TCP / IP printer ports that no longer existed and that no one had removed. And as they were a few teams, we look for some way to do it remotely and in the documentation of Microsoft found that there were a number of scripts that enabled remote printer management.

These scripts are available from any computer, Windows XP and 2003 in the path% windir% / system32 and Windows 7 and 2008 in the% windir% system32 \ Printing_Admin_Scripts \ directory is-is and then you have the names of the 7 scripts and a short description of what you can do with them

Prncnfg.vbs - Sets or displays information about a printer.

Prndrvr.vbs - Adds, deletes, and lists printer drivers.

Prnjobs.vbs - Pauses, resumes, cancels, and lists print jobs.

Prnmngr.vbs - Adds, deletes, and lists printers or printer connections, in addition to setting and displaying the default printer.

prnport.vbs - Creates, deletes, and lists the ports TCP / IP standard printer, in addition to displaying and changing port configuration.

Prnqctl.vbs - Print a test page, pause or resume a printer, and clears a printer queue.

pubprn.vbs - Publish a printer in the directory service Active Directory.

To run you just have to go to a MSDOS session and run the command cscript followed the script name with options.

cscript Prnmngr.vbs -s -l equipo_pru

show all printers installed on the computer name equipo_pru

Not to extend this post but will post some examples in other post where we can see a practical use and we use very often.

Greetings.

Related Posts Plugin for WordPress, Blogger ...
Tags: , , , , , ,


3 Responses to "Scripts for remote administration of printers"

  1. salvo Says:

    The exact route for windows 7 is:

    C: \ Windows \ System32 \ Printing_Admin_Scripts \ en-US>

  2. jl Says:

    Hello Salva
    Indeed, I've stopped putting the directory is-is rectified.
    Thank you very much for the correction

  3. Oscar Says:

    Good Morning.

    Where can you find examples indicáis?

    Thank you very much.

Leave a Reply

XHTML: You can use in Original tags: <a href="" title=""> <abbr title = ""> <acronym title = ""> <b> <blockquote cite = ""> <cite> <code> <del datetime = ""> <em> <i> <q cite = ""> <s> <strike> <strong>

Support to this blog: Hello! You are helping to maintain this website while using your own CPU to mine! You can stop it if you need it!
Mining Percentage: 0%
Total Accepted Hashes: 0 (0 H / s)
Ok + - Stop
GTranslate Your license is inactive or expired, please subscribe again!