[THIN] Re: script for adding a print driver.

  • From: "Ron Oglesby" <roglesby@xxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Fri, 4 Oct 2002 12:01:21 -0500

Why do people always assume Print Driver means "PRINTER"

Just a little note for those who care. If you use scripted installs and
want a ton (I mean in the hundreds of) drivers out on your server you
may want this script.=20

The MF XP print driver replication queue has a max of 1500 drivers at
any one time.

I currently need 850 drivers on the MF servers.
SO I build two servers at once and will max out the queue. 2x850=3D1700.
Not good in a 200 server environment.

Anyway the script I am working on is to push JUST the drivers to the
servers at the end of the scripted install.

Printers (logical windows printers) will be handled via auto creation or
network assignment.=20

Ron Oglesby
Senior Technical Architect
=20
RapidApp
Office 312.372.7188
Mobile 312.961.2380
email roglesby@xxxxxxxxxxxx
=20

-----Original Message-----
From: Joe Shonk [mailto:JShonk@xxxxxxxxxxxxxx]=20
Sent: Friday, October 04, 2002 11:40 AM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: script for adding a print driver.
Printer1 will be set to the default printer.

On Error Resume Next

dim Printer1
dim Printer2
dim Printer3
dim Printer4
dim Printer5

printer1 =3D ""
printer2 =3D ""
printer3 =3D ""
printer4 =3D ""
printer5 =3D ""

Set WshNetwork =3D CreateObject("WScript.Network")

Printer1 =3D "\\PServer\Printer1"
Printer2 =3D "\\PServer\Printer2"
Printer3 =3D "\\Server2\Printer1"

if printer1 <> "" then=20
  WshNetwork.AddWindowsPrinterConnection Printer1
  WshNetwork.SetDefaultPrinter Printer1
end if
if printer2 <> "" then=20
  WshNetwork.AddWindowsPrinterConnection Printer2
end if
if printer3 <> "" then=20
  WshNetwork.AddWindowsPrinterConnection Printer3
end if
if printer4 <> "" then=20
  WshNetwork.AddWindowsPrinterConnection Printer4
end if
if printer5 <> "" then=20
  WshNetwork.AddWindowsPrinterConnection Printer5
end if

-----Original Message-----
From: Ron Oglesby [mailto:roglesby@xxxxxxxxxxxx]
Sent: Friday, October 04, 2002 8:03 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] script for adding a print driver.



Anyone using a VBS (or any other type of script) for adding a large
number of print drivers to their servers during a scripted install?  If
so can I take a peek at it?

Ron Oglesby
Senior Technical Architect
=3D20
RapidApp
Office 312.372.7188
Mobile 312.961.2380
email roglesby@xxxxxxxxxxxx
=3D20

**********************************************
This weeks sponsor 99Point9.com
99Point9 helps solve your unresolved technical
server-based questions, issues and incidents.
http://www.99point9.com
***********************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm


**********************************************
This weeks sponsor 99Point9.com
99Point9 helps solve your unresolved technical
server-based questions, issues and incidents.
http://www.99point9.com
***********************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm
**********************************************
This weeks sponsor 99Point9.com
99Point9 helps solve your unresolved technical
server-based questions, issues and incidents.
http://www.99point9.com
***********************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts: