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

  • From: "Ron Oglesby" <roglesby@xxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Fri, 4 Oct 2002 10:50:15 -0500

Yeah saw that too. I just wanted the drivers so I didn't have to fill up
the replication queue with 800 or so drivers everytime a server was
built.

Thanks.

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

-----Original Message-----
From: Ruud Bransen [mailto:rb@xxxxxxxxxxx]=20
Sent: Friday, October 04, 2002 10:49 AM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: script for adding a print driver.


Too late, but I foud this:

http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;Q321025

It's for W2K.

Regards,
=20
Ruud Bransen
Databalk bv
www.databalk.nl
www.diskis.nl
=20

> -----Original Message-----
> From: Ron Oglesby [mailto:roglesby@xxxxxxxxxxxx]
> Sent: vrijdag 4 oktober 2002 17:47
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: script for adding a print driver.
>=20
>=20
> Ok. Got it.=3D20
>=20
> This will add a driver to a server with no user interaction. If you
use
> the second line it will do it to a remote computer. I am going to
> massage it a little and set it up to pull the names of the drivers
from
> a txt file and I should be set.
>=20
> Thanks for the tip Evan.
>=20
> rundll32 printui.dll,PrintUIEntry /ia /m "AGFA-AccuSet v52.3" /h
"Intel"
> /v "Windows 2000" /f %windir%\inf\ntprint.inf
>=20
> rundll32 printui.dll,PrintUIEntry /ia /c\\machine /m "AGFA-AccuSet
> v52.3" /h "Intel" /v "Windows 2000" /f %windir%\inf\ntprint.inf
>=20
>=20
>=20
> Ron Oglesby
> Senior Technical Architect
> =3D20
> RapidApp
> Office 312.372.7188
> Mobile 312.961.2380
> email roglesby@xxxxxxxxxxxx
> =3D20
>=20
> -----Original Message-----
> From: Ron Oglesby=3D20
> Sent: Friday, October 04, 2002 10:26 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: script for adding a print driver.
>=20
>=20
> This is something like what I need. All I need is the driver. Let me
see
> if I can do anything with that.
>=20
> Ron Oglesby
> Senior Technical Architect
> =3D3D20
> RapidApp
> Office 312.372.7188
> Mobile 312.961.2380
> email roglesby@xxxxxxxxxxxx
> =3D3D20
>=20
> -----Original Message-----
> From: Evan Mann [mailto:emann@xxxxxxxxxxxx]=3D3D20
> Sent: Friday, October 04, 2002 10:25 AM
> To: 'thin@xxxxxxxxxxxxx'
> Subject: [THIN] Re: script for adding a print driver.
>=20
>=20
> I was playing around with rundll32 and printui.dll to try and automate
> installation of printers but never got it to work.  Here is what I
> played
> with:
>=20
> rundll32 printui.dll,PrintUIEntry /if /b "AdminHP on ADMINDC" /f
> %windir%\inf\ntprint.inf /r "HP_0CCC41_IP" /m "HP LaserJet 4050 Series
> PS"
>=20
> "AdminHP on ADMINDC" is the name of the shared printer on my server
and
> "HP
> LaserJet 4050 Series PS" is the driver it users.  I forgot where I
found
> all
> the switches and what not.  I picked it all up off Google.
>=20
> Anyone ever played with this and get it to work?
>=20
>=20
> -----Original Message-----
> From: Ron Oglesby [mailto:roglesby@xxxxxxxxxxxx]
> Sent: Friday, October 04, 2002 11:17 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: script for adding a print driver.
>=20
>=20
>=20
> I found this in the script repository from MS but it only works with
> .NET or XP machines
>=20
> Set objWMIService =3D3D3D3D GetObject("winmgmts:")
> Set objDriver =3D3D3D3D objWMIService.Get("Win32_PrinterDriver")
> objDriver.Name =3D3D3D3D "Apple LaserWriter 8500"
> objDriver.SupportedPlatform =3D3D3D3D "Windows NT x86"
> objDriver.Version =3D3D3D3D "3"
> errResult =3D3D3D3D objDriver.AddPrinterDriver(objDriver)
>=20
>=20
> Ron Oglesby
> Senior Technical Architect
> =3D3D3D20
> RapidApp
> Office 312.372.7188
> Mobile 312.961.2380
> email roglesby@xxxxxxxxxxxx
> =3D3D3D20
>=20
> -----Original Message-----
> From: Ron Oglesby=3D3D3D20
> Sent: Friday, October 04, 2002 10:03 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] script for adding a print driver.
>=20
>=20
> 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?
>=20
> Ron Oglesby
> Senior Technical Architect
> =3D3D3D3D20
> RapidApp
> Office 312.372.7188
> Mobile 312.961.2380
> email roglesby@xxxxxxxxxxxx
> =3D3D3D3D20
>=20
> **********************************************
> This weeks sponsor 99Point9.com
> 99Point9 helps solve your unresolved technical
> server-based questions, issues and incidents.
> http://www.99point9.com
> ***********************************************
>=20
> For Archives, to Unsubscribe, Subscribe or=3D3D3D20
> set Digest or Vacation mode use the below link.
>=20
> 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
> ***********************************************
>=20
> For Archives, to Unsubscribe, Subscribe or=3D3D20
> set Digest or Vacation mode use the below link.
>=20
> 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
> ***********************************************
>=20
> For Archives, to Unsubscribe, Subscribe or=3D3D20
> set Digest or Vacation mode use the below link.
>=20
> 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
> ***********************************************
>=20
> For Archives, to Unsubscribe, Subscribe or=3D20
> set Digest or Vacation mode use the below link.
>=20
> 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
> ***********************************************
>=20
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link.
>=20
> 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: