Windows Vista and up have some built in VB scripts now to handle printer installations. Perhaps a rewrite can be done to use those built in scripts? Here’s a sample of a local install script using those.
[CODE]@ECHO OFF
md C:\DRIVERS
md C:\SCRIPTS
xcopy "\server\e\PrinterDrivers\HP Universal Print Driver\pcl6-x64-5.7.0.16448*." C:\DRIVERS*. /e /h /r /k /c /I /y /D
xcopy “\server\e\printersetup\scripts” C:\Scripts /e /h /r /k /c /I /y /D
cscript “C:\Scripts\Prnmngr.vbs” -d -p “PRINTER NAME”
Cscript “C:\Scripts\Prnport.vbs” -a -r IP_10.1.0.159 -h 10.1.0.159 -o raw -n 9100
Cscript “C:\Scripts\Prndrvr.vbs” -a -m “HP Universal Printing PCL 6 (v5.7.0)” -i C:\DRIVERS\hpcu155u.inf -h C:\DRIVERS -e “Windows x64”
Cscript “C:\Scripts\Prnmngr.vbs” -a -p “PRINTER NAME” -m “HP Universal Printing PCL 6 (v5.7.0)” -r IP_10.1.0.159
rem rd C:\SCRIPTS /s /q
rem rd C:\DRIVERS /s /q
@pause
[/CODE]
Now this is a .bat which Copies the required script files (needed for XP/2000) and printer drivers locally, then installs the printer locally.
Included is a .zip of the printer management scripts, but you can find them in the system32 folder of any version of windows vista and newer.
[url=“/_imported_xf_attachments/0/421_Printer.zip?:”]Printer.zip[/url]