PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   Printing and Faxing with Windows XP (http://www.pcbanter.net/forumdisplay.php?f=39)
-   -   printui.dll command line in a batch file with win XP sp2 (http://www.pcbanter.net/showthread.php?t=1080389)

freddy December 29th 09 06:05 PM

printui.dll command line in a batch file with win XP sp2
 
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_47 00\hpc4700c.inf /r
"IP_172.29.49.47" /m "HP Color LaserJet 4700 PCL 6"


All times are GMT +1. The time now is 01:13 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters