Windows 2000 prnport.vbs windows 2000

  • Thread starter Thread starter xxlgreg@gmail.com
  • Start date Start date
X

xxlgreg@gmail.com

Hello All
I have a problem using a script prnport.nbs on Windows 2000. I need to
install two different printers with four different tcp/ip ports on 200
pc's.
I've prepeared script that works fine on XP but doesn`t work on win2K.

ON XP:
1 adding port (works fine)
%windir%\system32\cscript %windir%\system32\prnport.vbs -a -r
IP_1.1.1.1 -h %ip1% -o lpr -q 1.1.1.1
2 adding printer
rundll32 printui.dll,PrintUIEntry /if /b "Xerox WorkCentre 4150" /f F:
\XWC4150_Win2Kpl\X415SPCL.INF /r IP_1.1.1.1 /m "Xerox WorkCentre 4150"

When I run this script on Win2000 (on local computer) i allways get
message : (I put prnport.vbs from xpsp2 into system32 folder )
1. %windir%\system32\cscript %windir%\system32\prnport.vbs -a -r
IP_1.1.1.1 -h 1.1.1.1 -o lpr -q IP_1.1.1.1


I don`t have English ver. 2000 so i'll try to translate)
Can't use port Error 0x80041002

Could anybody help me to install those printers on Win2k?

Kind regards
Greg
 
Back
Top