Chapter 23. Working with Printers

This chapter provides information and commands concerning the following topics:

Publishing printers to Active Directory with pubprn.vbs

Migrating printers with printbrm

Controlling the print queue with prnqctl.vbs


You should be familiar with the printer commands when preparing for the 70-642 exam.

Publishing Printers to Active Directory with pubprn.vbs

You can use the pubprn.vbs script to publish printers to Active Directory. pubprn.vbs is located in the c:\windows\system32\printing_admin_scripts\en-us folder.


For installations outside the U.S., you might not have the en-us folder. However, you can locate the pubprn.vbs file with this command from the root of C: dir pubprn.vbs /s.

The basic ...

Get Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.