Scripting test prints

A

Angus

Anyone have a good way of automating sending a test page
to every print queue on a given windows 2000 print server?
All
queues are LPR/tcp/ip type. All are HP printers with fixed
IP's.

I'm doing it via batch files, sending a text file to each
print queue (dos commands), at the moment and its a task
to maintain them with new printers coming in and old ones
going out I Have look after 150 printers.
 
J

Jason Hall [MSFT]

--------------------
Content-Class: urn:content-classes:message
From: "Angus" <[email protected]>
Sender: "Angus" <[email protected]>
Subject: Scripting test prints
Date: Wed, 21 Apr 2004 16:27:58 -0700
Anyone have a good way of automating sending a test page
to every print queue on a given windows 2000 print server?
All
queues are LPR/tcp/ip type. All are HP printers with fixed
IP's.

I'm doing it via batch files, sending a text file to each
print queue (dos commands), at the moment and its a task
to maintain them with new printers coming in and old ones
going out I Have look after 150 printers.
--------------------

Install the Windows 2000 Resource Kit and check out prnadmin.doc:
PrnAdmin consists of sever COM objects residing in PrnAdmin.dll. The
program must be installed using the following command: regsvr32
[Path]PrnAdmin.dll.
This Microsoft Windows 2000 Resource Kit tool can do the following:
- Adding/deleting printers without UI (local or remote)
- Adding/deleting printer connections
- Adding/deleting forms (local or remote)
- Adding/deleting ports (standard local ports, TCP LPR/RAW ports) (local or
remote)
- Adding/deleting drivers without UI (remote or local)
- Enumerating ports, drivers, printers, forms (remote or local)
- Printer control (pause, resume, purge) (local or remote)
- Printer configuration (share, rename, RAW only, and so on) (local or
remote)
It can also print test pages to specified printers. It'll take a little bit
of figuring out to enumerate all the printers and the print test pages to
them, but it's do-able.


--
~~ JASON HALL ~~
~ Performance Support Specialist,
~ Microsoft Enterprise Platforms Support
~ This posting is provided "AS IS" with no warranties, and confers no
rights.
~ Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
~ Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top