StarWing Posted August 15, 2004 Share Posted August 15, 2004 Is it possible to do a silent install of a printerdriver that is already included in windows XP ?When I am booting for the first time of my unattended install, windows detects my printer and asks to install it. All I have to do is clicking YES and OK a few times. Isn't it possible to do this thru a simple command or something ?Already searched google and MSFN forums, but nothing foundPrinter is a HP 720C and there are no newer drivers @ HP website.Is it possible to extract the neccesary files from anywhere, and point OemPnpdrivers-path to the location where i've putted them ?Thx Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted August 15, 2004 Share Posted August 15, 2004 I don't know if it's possible to install printer drivers Unattended, but you might give it a try!Just do what you said in the last sentence and share with the forums if it worked!(In theory it _should_ work ) Link to comment Share on other sites More sharing options...
StarWing Posted August 16, 2004 Author Share Posted August 16, 2004 But the question still remains.. How do I know which drivers to unpack from drivers.cab? I've been looking in it, searching INF and INI files, but I can't find a thing for my HP720 Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted August 16, 2004 Share Posted August 16, 2004 But the question still remains.. How do I know which drivers to unpack from drivers.cab? I've been looking in it, searching INF and INI files, but I can't find a thing for my HP720 Sure? I'll see if I can find it for you... Link to comment Share on other sites More sharing options...
Vel Straty Posted August 16, 2004 Share Posted August 16, 2004 I don't know if this will work for you but I use a printer which is not included inside the WinXP cd (Canon BJ S330). I install it using the unattended (winnt.sif) stuff. Usually, if you install some device, it has to be turned on but even when the printer is not turned on, it installs by it self without any dialogs appearing in front of me asking for Yes/No stuff.If you have those original installation diskettes of your HP 720C, why don't you use it for the unattended installation?Or maybe you can do this and figure out which ones are needed by checking out the drivers when you do the printer testing which prints out the driver lists.Hope this helps, but if it didn't try other pplz method. Link to comment Share on other sites More sharing options...
StarWing Posted August 16, 2004 Author Share Posted August 16, 2004 The disks that I have of my HP720 are from the pre W2k era, so no drivers for WXP (and none exists on HP.com neither)I've think that I have found a way to do it.. But I need an utility that checks which files are accessed during manual reinstall. I know the existance of such an util, but I can't find it.. Hints anyone ? I am checking Tucows now, but so far, no succes :'(WXP recognizes the printer during the first "real" startup, even when powered off. Link to comment Share on other sites More sharing options...
StarWing Posted August 16, 2004 Author Share Posted August 16, 2004 No luck so far..I'v monitored the files with filemon. I think that I have all the necessary files, but still I'm getting an error at the end of the reinstallation in my current windows.Also, another weird thing is: when I'm pointing to ntprint.inf in the %systemroot%\inf file, Win says that the driver is Digitally Signed.. But when copying the same file to another dir, win says that the file is _not_ digitally signed :sBUT...When ignoring the error at the install. Then I can print without problems.. Even the printer icon in the system properties gives a file error (file not found) Link to comment Share on other sites More sharing options...
too hip Posted August 18, 2004 Share Posted August 18, 2004 Has anyone ever silently installed a printer on the network? I'm going to play around and see if I can get it figured out. Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted August 18, 2004 Share Posted August 18, 2004 Has anyone ever silently installed a printer on the network? I'm going to play around and see if I can get it figured out.I think I've seen it before. Have you already searched msfn? Link to comment Share on other sites More sharing options...
coronicus Posted August 18, 2004 Share Posted August 18, 2004 this is how i install my driver not sure if you guys alread know this..... one install the printer drivers only then i install the actual printer device. I hope this helps someECHO ***** Printer Driver Install *****ECHO T632start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Lexmark T632" /h "intel" /v "Windows 2000" /f c:\lexmark\drivers\win_2000\lmaag2da.infECHO T630start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Lexmark T630" /h "intel" /v "Windows 2000" /f c:\lexmark\drivers\win_2000\lmaag2da.infECHO T522start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Lexmark T522" /h "intel" /v "Windows 2000" /f c:\lexmark\drivers\win_2000\lmpcl2a.infECHO T614start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Lexmark Optra T614" /h "intel" /v "Windows 2000" /f c:\lexmark\drivers\win_2000\lmpcl2a.infECHO S1855start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Lexmark Optra S 1855" /h "intel" /v "Windows 2000" /f c:\lexmark\drivers\win_2000\lmpcl2a.infECHO Generic / Text Onlystart /wait rundll32 printui.dll,PrintUIEntry /ia /m "Generic / Text Only" /h "intel" /v "Windows 2000" /f "%windir%\inf\ntprint.inf"ECHO.ECHO ***** Printer Install *****ECHO Laserstart /wait rundll32 printui.dll,PrintUIEntry /if /Z /b "Laser" /f c:\lexmark\drivers\win_2000\lmaag2da.inf /r "lpt1:" /m "Lexmark T632" ECHO CheckPrstart /wait rundll32 printui.dll,PrintUIEntry /if /Z /b "CheckPr" /f "%windir%\inf\ntprint.inf" /r "lpt1:" /m "Generic / Text Only" ECHO Giving users rights to printerstart /wait %systemdrive%\install\subinacl.exe /printer "Laser" /grant=everyonestart /wait %systemdrive%\install\subinacl.exe /printer "CheckPr" /grant=everyoneUsage: rundll32 printui.dll,PrintUIEntry /h Link to comment Share on other sites More sharing options...
coronicus Posted August 18, 2004 Share Posted August 18, 2004 Sorry for the rush working on to many things at once... you can use the /q to make the install quiet which i have taken out of the last post for testing purposes. Also i have been sucessfull in installing network printers but only using windows xp or 2000 standard tcip ports. This will list all the optionrundll32 printui.dll,PrintUIEntry /h Link to comment Share on other sites More sharing options...
coronicus Posted August 18, 2004 Share Posted August 18, 2004 Another correction... rundll32 printui.dll,PrintUIEntry /? Link to comment Share on other sites More sharing options...
too hip Posted August 18, 2004 Share Posted August 18, 2004 Does this option include drivers or just basic settings? Store all printer settings into a file: rundll32 printui.dll,PrintUIEntry /Ss /n "printer" /a "file.dat"and then Restore all printer settings from a file: rundll32 printui.dll,PrintUI /Sr /n "printer" /a "file.dat"Thanks for your help.... Link to comment Share on other sites More sharing options...
coronicus Posted August 18, 2004 Share Posted August 18, 2004 Im not sure exactly what you're asking but let me explain what im doing with the install..The following command only installs the driver itself. No printer device will be listed in the printer control panel. The reason for me installing all those drivers is that once they are loaded you don't have to have admin rights to change over to different drivers. To explain this further if you were to go to the properties of the printer device and selected the Advanced Tab in the Driver field the drop down will list all the drivers that were installed.(all one line) start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Lexmark T632" /h "intel" /v "Windows 2000" /f c:\lexmark\drivers\win_2000\lmaag2da.infThen you have to actually install the printer device to show up in the printer control panel.(all one line)start /wait rundll32 printui.dll,PrintUIEntry /if /Z /b "Laser" /f c:\lexmark\drivers\win_2000\lmaag2da.inf /r "lpt1:" /m "Lexmark T632"As for loading actual printer settings which I believe is what you are asking for I haven't gone that far since we have too many different types of printers to set on a master image. Although i would like to know if it does work.. i might try that on the next reload but for now its time for me to go home... Link to comment Share on other sites More sharing options...
too hip Posted August 19, 2004 Share Posted August 19, 2004 So since I'm trying to do a network printer I would just replace /in with /ia correct?What about the network settings? Computer name? Workgroup?The printer is actually connected to my wife's computer.Thanks for your time.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now