I'm a newbie to this site and software. I need to add printers to a pc name, not user, set default printer and launch netscape. This is what I have done so far but the setdefaultprinter command is not functioning and the run command is not functioning. Could someone fill me in on why? Keep in mind if I run the kix32.exe local it works fine except for the setdefaultprinter command, but when I add kix32.exe to the login script for the user it only gives me the printers. Any help is greatly appreciated.
$location=substr(@wksta,1,6) RUN "c:\program files\netscape\communicator\program\netscape.exe" Select Case $location="pc3775" ADDPRINTERCONNECTION("\\CCISIC\IMAGEPR1") ADDPRINTERCONNECTION("\\CCISIC\AISLE7") Case $location="pc3399" ADDPRINTERCONNECTION("\\CCISIC\IMAGEPR1") ADDPRINTERCONNECTION("\\CCISIC\AISLE7") Case 1 ADDPRINTERCONNECTION("\\CCISIC\IMAGEPR1") EndSelect SETDEFAULTPRINTER("\\CCISIC\IMAGEPR1")
Mark
|