Finally the help of IT is here

Blog of computer solutions.

As remotely manage printers with Prnmngr.vbs

Posted by jl on November 27 2012th

As a continuation of the previous posts we will discuss how to manage printers remotely prnmngr.vbs from the command line.

The script we use is prnmgr.vbs found in% windir% system32 in windows XP and 2003 and% windir% system32printing_admin_scriptsEs-is on Windows / and 2008. In the next picture we see the different command options

Megacrack read »

tags: , , , , ,
Posted by General, how to, microsoft, scripts, Utilities | 2 Comments »

How to manage TCP / IP printer ports remotely

Posted by jl on November 16 2012th

Continuing the previous article on Scripts for remote administration of printerslet's see how we can remotely manage TCP / IP printer ports in a simple way through scripts that we have available in our operating systems and certainly neither knew each.

The script we use here is prnport.vbs which as already mentioned it is in the route% Windir% \ system32 Windows XP and Windows operating systems and 2003 the following path% Windir% \ system32printing_admin_scripts \ is-is in Windows 7 and 2008 onwards Windows Server operating systems.

Among the various actions we can perform with this command, you are to obtain information from the ports configured on a computer or add and delete server printer ports.

In the next picture we see the different command options Megacrack read »

tags: , , , , , ,
Posted by how to, microsoft, Utilities, VbScript | 2 Comments »

Scripts for remote administration of printers

Posted by jl on November 13 2012th

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.

tags: , , , , , ,
Posted by how to, microsoft, scripts, Utilities | 3 Comments »

GTranslate Your license is inactive or expired, please subscribe again!