Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


December 2006

Per-Machine Printer GUI

PMPMgr.hta script lets you manage network printers for all of a computer's users at once
RSS
Subscribe to Windows IT Pro | See More Printing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

Step 2: Choose a Computer
Figure 1 shows PMPMgr.hta's main window. It displays the current computer (i.e., the computer on which you installed the application) in the text box. To choose a different computer on which to add or delete per-machine printers, click the Change button and enter a new computer name at the prompt. If the application successfully connects to the computer (it checks whether the computer's print spooler service is running), it changes the current computer and updates the text box.

Step 3: Add Per-Machine Printers from a Print Server or Delete Per-Machine Printers
To add per-machine printers from a print server, click the Print Server button and enter the print server's name at the prompt. PMPMgr.hta retrieves the printers shared from the print server and adds them to the selection list in the middle of the window.

PMPMgr.hta compares the print server's list of shared printers with the list of per-machine printers installed on the current computer. Only the printers that aren't already installed on the computer are shown in the list. If the print server isn't sharing any printers, or if all of the server's printers are already installed on the computer, PMPMgr.hta will display an error message.

Select the printer(s) you want to add and click Apply. You can use the Ctrl and Shift keys on the keyboard to select multiple printers. Click the Clear List button if you want to clear the list.

To delete one or more per-machine printers from the target computer, choose Delete from the dropdown box in the top left corner of the application's window. The Print Server and Clear List buttons aren't available when you choose Delete because they're only meaningful when adding per-machine printers. The list box shows the per-machine printers installed on the target computer, if any. To delete one or more of the listed per-machine printers, select them from the list and choose Apply. You can use the Ctrl and Shift keys to select multiple printers.

Things to Know
If you want to uninstall the application, first unregister the PMPMgr.wsc component. (Right-click it in Windows Explorer and choose Unregister.) Then you can delete the application's files.

Here are some problems you might encounter when running PMPMgr.hta:

  • If you get an Automation server can't create object error when starting PMPMgr.hta, then PMPMgr.wsc isn't registered on the computer.
  • You must run PMPMgr.hta as a member of the local Administrators group on any computer on which you want to use PMPMgr.hta to manage per-machine printers. PMPMgr.hta will display error messages if you don't have sufficient permissions.
  • If you add or delete printers while a user is logged on, the changes won't be visible until the user logs off and someone logs back on or until you restart the computer's print spooler service.

I've found that per-machine printers have solved most of my printer management problems. This script component and HTML application make it even easier to take advantage of per-machine printers on your own network.

Solution Snapshot
PROBLEM:

You need an easy way to manage network printers for all the users of a computer at one shot.
SOLUTION:
The PMPMgr.hta application adds a graphical interface to PMPMgr.wsc, a script component that automates the use of Windows per-machine printer functions.
WHAT YOU NEED:
Windows 2000 or later, the PMPMgr.hta application
DIFFICULTY:
2.5 out of 5

End of Article

   Previous  1  [2]  Next  


Reader Comments
Oops? No download button...

rejohnson November 29, 2006 (Article Rating: )


Would rate it higher if the applet was available to download and test.

rgwin November 29, 2006 (Article Rating: )


Due to a production error, all of the downloadable files for this article weren't originally available. This problem has been corrected. Sorry for any inconvenience this might have caused.

chumphries@penton.com December 01, 2006 (Article Rating: )


Where is the download!

kiteguy December 05, 2006 (Article Rating: )


I get the following error when running PMPMgr.hta: An error has occured on the script on this page (Line 70/Char 1 - Automation Server can't create object).If I click continue to run scripts on this page I get the error args.pmpmgr is null or not an object error when I run the PMPMgr.hta . I would love to have a program that can perform this task. Any idea what changes I need to make or is this an IE problem?

bleibow December 06, 2006 (Article Rating: )


Still no download button

pasvorto December 11, 2006 (Article Rating: )


I would like to download this utility, but there is still no download button.

jaybrophy December 11, 2006 (Article Rating: )


No download button

pbourgouin December 15, 2006 (Article Rating: )


So where can I download this plug-in???

stocka December 18, 2006 (Article Rating: )


There is a blue button [Download the code here] above the advertising banner towards the left.

Is there any way to set the default printer?

mcgis December 18, 2006 (Article Rating: )


 See More Comments  1   2   3   4 

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Learning Path Learn about a component for working with per-machine printers:
"Per-Machine Printer Connections + Custom Plug-In"


Discover how to automate printer functions:
"PrintUI.DLL User's Guide and Reference"


Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Scripting Whitepapers From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

Related Events Managing IT Across Multiple Locations

Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement