DOWNLOAD THE CODE:
Download the Code 93741.zip

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

Prev. page     1 [2]     next page -->



You must log on before posting a comment.

If you don't have a username & password, please register now.

Reader Comments

Oops? No download button...

rejohnson

Article Rating 3 out of 5

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

rgwin

Article Rating 3 out of 5

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

Article Rating 5 out of 5

Where is the download!

kiteguy

Article Rating 2 out of 5

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

Article Rating 4 out of 5

Still no download button

pasvorto

Article Rating 1 out of 5

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

jaybrophy

Article Rating 1 out of 5

No download button

pbourgouin

Article Rating 1 out of 5

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

stocka

Article Rating 3 out of 5

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

Article Rating 4 out of 5

I'm obviously going blind....

I still can;t see the link for the download

croftj007

Article Rating 1 out of 5

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?

skygazer

Article Rating 4 out of 5

Seems odd to publish a magazine and an online article without giving the link for the file??

kendal.king

Article Rating 1 out of 5

To download the code, first you need to have an active subscription or VIP subscription to Windows IT Pro. Now assuming you have that, at the top of this article just below the author details and the line "Subscribe to Windows IT Pro | See More Printing Articles Here | Reprints" there is blue "Download the Code Here" button.

yogesh

Article Rating 5 out of 5

I am logged in and have a VIP subscription. ( I can for example go and print the full article) BUT I still cannot see a download button to get the script downloaded.

ursrau

Article Rating 1 out of 5

See More Comments  1   2   3 
 
 

ADS BY GOOGLE