Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  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 log on before posting a comment.

If you don't have a username & password, please 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
CES 2009: Ballmer Announces Windows 7, Windows Live, Live Search Milestones

During his first-ever Consumer Electronics Show (CES) 2009 keynote address last night in Las Vegas, Microsoft CEO Steve Ballmer announced the pending public availability of a feature-complete Windows 7, the final version of Windows Live Essentials, and ...

Command Prompt Tricks

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

Where is Microsoft NetMeeting in Windows XP?

...


Related Events 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 Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


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 Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing