From: freddy on 29 Dec 2009 11:13 I am using the printui.dll command line in a batch file. When I start the batch file I see the print divers installing and then I get a "the arguments are invalid" and the printer never get added. Also is there a way to log the output like an installation log. Here is the code. rundll32 printui.dll,PrintUIEntry /if /b "HP Color LaserJet 4700 PCL 6" /f U:\Scripts\Printer\IP_Printing\Drivers\HP_Color_4700\hpc4700c.inf /r "IP_172.29.49.47" /m "HP Color LaserJet 4700 PCL 6" Thanks for helping me
From: Pegasus [MVP] on 29 Dec 2009 11:33 "freddy" <freddy(a)discussions.microsoft.com> said this in news item news:2422833C-210D-4F5C-B356-7E7044523F7F(a)microsoft.com... > I am using the printui.dll command line in a batch file. When I start the > batch file I see the print divers installing and then I get a "the > arguments > are invalid" and the printer never get added. Also is there a way to log > the > output like an installation log. Here is the code. > > rundll32 printui.dll,PrintUIEntry /if /b "HP Color LaserJet 4700 PCL 6" /f > U:\Scripts\Printer\IP_Printing\Drivers\HP_Color_4700\hpc4700c.inf /r > "IP_172.29.49.47" /m "HP Color LaserJet 4700 PCL 6" > > > Thanks for helping me Your query has nothing to do with VB Scripting. I recommend you repost it in a Windows 98 / 2000 / XP / Vista / 7 newsgroup. Remember to state your operating system. You should also try your command with this switch: /r "LPT1".
|
Pages: 1 Prev: Attach all files in directory to email? Next: open a folder and allow user to end script? |