본문 바로가기

카테고리 없음

Vbscript Install Network Printer Driver



  1. Hp Install Network Printer Wizard
  2. Configure Network Printer
  3. Install Driver On Print Server

Jan 11, 2010  Simple printer driver install by VBScript. Scripting > The Official Scripting Guys Forum!

Active10 years, 4 months ago

I'm working on a script that needs to set up a Xerox Phaser printer using the postscript driver. The computers currently have the PCL driver on them (though the printers aren't set up on them yet.) I want to install the PS driver using the specified INF, and then install the printer using the driver provided after the INF is installed (so as not to accidentally use the PCL driver.) How can I accomplish this in VBScript?

Jordan MilneJordan MilneVbscript install network printer driver infNetwork printer setup
4281 gold badge6 silver badges10 bronze badges

3 Answers

Here's an example on how to do that: VBScript Install Printer

Edit: For a local printer, make the following changes to the script

Install windows xp on hp proliant ml110 g4 server. Oct 30, 2007  I do not see Windows XP on the HP Proliant ML110 server Spec sheet for certified OS. Can I still use Windows XP Professional for OS on it (Proliant ML110.

And remove the oPort.HostAddress line

Hp Install Network Printer Wizard

Jose BasilioJose Basilio
44.7k9 gold badges109 silver badges116 bronze badges

You may want to take a look at using the rundll32 InstallHinfSection Function. That is how I do it. It doesn't require you install any extra ActiveX component. There is a example for how to use it here: http://www.msfn.org/board/Silent-parameters-for-RunDll32-setupapi-t106711.html Basically its, %systemroot%system32rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 C:drivers2100PCL 5ehp211ip5.inf

You may also want to take a look at the PrintUIEntry function, as this will allow you to add the printer if the drivers are already loaded on a system. See here fore further info: http://support.microsoft.com/kb/189105

mrTomahawkmrTomahawk
7831 gold badge6 silver badges13 bronze badges

Install php curl extension centos 7. I always revert to the following links to install printers 'programatically'.

Douglas AndersonDouglas Anderson

Configure Network Printer

3,4967 gold badges34 silver badges44 bronze badges

Install Driver On Print Server

Not the answer you're looking for? Browse other questions tagged vbscriptprinting or ask your own question.