Solved

Installing Universal Print driver silent /bat/pscexec

Posted on 2014-02-13
1
839 Views
Last Modified: 2014-03-06
I need a way to install a the unversal printer driver for HP PCL 5 64 bit.  I have a script see below to install the printers once the driver is already installed now I need to install the driver:
          
 echo C:\prnport.vbs -s %_pc% -a -r IP_10.186.196.118 -h 10.186.196.118 -o RAW -n 9100
  cscript /nologo C:\prnport.vbs -s %_pc% -a -r IP_10.186.196.118 -h 10.186.196.118 -o RAW -n 9100
echo c:\prnmngr.vbs -s %_pc% -a -p "wrmp3ns102" -m "hp universal printing PCL 5" -r "IP_10.186.196.118"
  cscript /nologo c:\prnmngr.vbs -s %_pc% -a -p "wrmp3ns102" -m "hp universal printing PCL 5" -r "IP_10.186.196.118"

I konw the driver is hpmd155t.inf but how to put into this script???
0
Comment
Question by:WellingtonIS
1 Comment
 
LVL 16

Accepted Solution

by:
DansDadUK earned 500 total points
Comment Utility
No idea how to achieve what you want, but I'd just point out that .inf files are not drivers, as such: they are driver information files, which point to various other files.

View the contents of one (open it using NotePad) to see what I mean.

Here is the contents of hpbuio50f.inf, associated with a printer FAX driver (the ones describing print capabilities are usually much larger):

; (C) Copyright 2011 Hewlett-Packard Development Company, L.P.

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%MFG%
DriverVer=06/25/2012,1.0.0.200
CatalogFile=hpbuio50f.cat

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%MFG%=Models,ntx86,ntamd64


[Models.ntx86]
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_082A&REV_0100&MI_02
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_252A&REV_0100&MI_02
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_6212&REV_0100&MI_03
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_AB11&REV_0100&MI_03
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_BF11&REV_0100&MI_03
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_C011&REV_0100&MI_03
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_142A&REV_0100&MI_02
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_122A&REV_0100&MI_02

[Models.ntamd64]
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_082A&REV_0100&MI_02
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_252A&REV_0100&MI_02
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_6212&REV_0100&MI_03
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_AB11&REV_0100&MI_03
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_BF11&REV_0100&MI_03
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_C011&REV_0100&MI_03
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_142A&REV_0100&MI_02
"HP Printer (Fax)"=Fax,USB\VID_03F0&PID_122A&REV_0100&MI_02

[Fax]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x2
Capabilities=0x33
AddReg=Common_AddReg,Fax_AddReg

[Fax.HW]
AddReg=Fax_HW_AddReg

[Fax.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Common_AddReg]
HKR,,HardwareConfig,1,1
HKR,,DevLoader,,*NTKERN

[Fax_AddReg]
HKR,,NTMPDriver,,"usbscan.sys"

[Fax_HW_AddReg]
HKR,,"LaserFax",0x00010001,0x1

[Strings]
MFG="Hewlett-Packard"

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now