You can find the Name if you run the following command: rundll32.exe printui.dll,PrintUIEntry /ii /f C:\epson374750eu\E_GF1HKP.INF replace C:\epson374750eu\E_GF1HKP.INF with the name of your INF file. Ralph Jansen - Author IT Tech Log Follow me on Twitter Interesting breakout session: Transform yourself and build your IT cloud career path bit.ly/2edpqce 2daysago Categories App-V AppSense AppX Book Review I have tried with double \\ or single \. I don't see any reason for print job packets to go outside my subnet and use our WAN when the printer is 10 feet away from the user. navigate to this website
I also wrote a script that would check remote computers for the the printers that are installed. Get 1:1 Help Now Advertise Here Enjoyed your answer? When we have found the Name we can use this to fill in the script value. AntonioGNAL September 27th, 2011 at 06:35 Hello, Your script is really helping me, this is exactly what i need. https://social.technet.microsoft.com/Forums/scriptcenter/en-US/a35773b5-f021-4ad8-a51f-40f6dc8ded76/prndrvrvbs-win32-error-code-87?forum=ITCG
This is one of the reasons no unsigned drivers can be installed using prndrvr.vbs. -- Alan Morris Windows Printing Team Search the Microsoft Knowledge Base here: http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto This posting is provided Here are the two im using: cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "Brother FAX-8750P" -v 3 -e "Windows x64" -h C:\Windows\System32\DriverStore\FileRepository\prnbr001.inf_amd64_neutral_aad7da6d7cd23042 -i C:\Windows\System32\DriverStore\FileRepository\prnbr001.inf_amd64_neutral_aad7da6d7cd23042\prnbr001.Inf cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "Lexmark Universal XL" -v 3 -e prndrvr.vbs just invokes rundll32 interfaces.
Exit echo. nseery How helpful is this to you? Just add the printer to a computer manually and see what the default printer driver name is once added and then replace "MODEL_WA32X_RedistUnidrv,XeroxWorkCentre_Pro_7D96" with the acquired default printer name. Prndrvr.vbs Switches No failed log messages on the KBOX, none on the client.
It seems to also indicate that the -h parameter should have slashes doubled. Prndrvr.vbs Error Code 5 ogwatermelon September 27th, 2011 at 08:34 I will play around with it and see if I can get it to work. Jos Edited June 1 by Jos Visit the SciTE4AutoIt3 Download page for the latest versions Beta files https://www.experts-exchange.com/questions/21594525/cscript-prndrvr-vbs-Win32-error-code-87-Windows-XP.html Connect with top rated Experts 18 Experts available now in Live!
HTH, Bill Tuesday, February 22, 2011 5:26 PM Reply | Quote Moderator 0 Sign in to vote Unable to add printer driver Lexmark Universal XL Win32 error code 87 Yet the Unable To Add Printer Driver Win32 Error Code 2 Thanks for your help! All rights reserved. Tuesday, February 22, 2011 5:06 PM Reply | Quote Answers 0 Sign in to vote Hi, You're asking for help with a standard Microsoft tool (which happens to be a VBS
In the INF file, you can find this towards the bottom of the INF file. [Strings.042A] ;Vietnamese - Vietnam PrinterClassName="Printers" DiskID1="HP Universal Printing PCL Printer Driver Disk" PRINT_PROCESSOR="hpcpp185,hpcpp185.dll" HP="HP" HP_Mombi_Driver_Name="HP Universal http://forums.whirlpool.net.au/archive/1446613 Don't know that I have a use for it right now, but maybe sometime. Win32 Error Code 87 Unable To Add Printer Sure makes my job easier not having to install printers for users and I hate using server-based printers. Prndrvr.vbs Examples An error code of 87 is received as soon as the command is ran, where as the error code 2 takes about 10 seconds to return the error.
HTH, Bill Marked as answer by Bill_StewartModerator Wednesday, March 09, 2011 9:54 PM Friday, February 25, 2011 3:31 PM Reply | Quote Moderator 0 Sign in to vote Hi it may If it is working in Administrator account, it does not mean that it will also work as System account.. This means "invalid parameter". http://bsdupdates.com/error-code/prndrvr-vbs-error-87.php If it runs with admin rights manually, you probably need to switch to an online kscript and use the "run as" option.
It takes just 2 minutes to sign up (and it's free!). Unable To Add Printer Error 0x80041001 Generic Failure Can you try the following: cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "Brother FAX-8750P" -v 3 -e "Windows x64" -h C:\\Windows\\System32\\DriverStore\\FileRepository\\prnbr001.inf_amd64_neutral_aad7da6d7cd23042 -i prnbr001.Inf If that doesn't work, I would try without doubling the This entry was posted in Microsoft General.
Answered 03/13/2013 by: jagadeish Please log in to comment nseery 3 years ago Being new to Windows scripting, what does the 1,True flag change? Tom Monday, July 15, 2013 2:57 PM Reply | Quote 0 Sign in to vote Hi, This question was marked as answered over two years ago. Well, without posting the whole driver .inf here is an example of a driver's .inf [Strings] section that works fine: [Strings] Printer1="HP LaserJet 4100 PCL 5e" DiskID1="HP LaserJet 4100 PCL 5e It would write back to the server and append a file.
I do have a workaround so I am > going to go with that. > > Thanks for you assistance. > Eric Michaud > Alan Morris [MSFT], Nov 1, 2006 Your name or email address: Do you already have an account? Stating this is a problem with the process im using to install the driver. get redirected here But i'm getting an error with this line: cscript Prndrvr.vbs -a -m "HP Universal Printing PCL 5 (v5.3)" -v 3 -e "Windows NT x86" -i "C:\Archivos de programa\PrintDrivers\HP\UPD\53110527\WS2003x32\PCL5\hpbuio20l.inf" Could you help
Take that correct command and put that into the script with the #RequireAdmin and RunWait statements. We've already provided suggestions, but if those are not successful, there's not much else we can do for you since this forum does not guarantee solutions. Anyone have any ideas? Join Now For immediate help use Live now!
Greetings. Average Rating 3 5952 views 03/12/2013 Scripting Supporting Windows Printer KBox I'm attempting to install a network printer on a spread of Windows XP/Vista/7 (all 32bit). It appears to me that file not found, > or driver entry not found would result in an error code of 87. > > I am curious, can anyone install the Error code 87 means nothing to us.
echo 3. HP 4600 echo 4. HP 2055 echo. So start simple: ensure you have the correct commandline by running it from an elevated CMD prompt. It appears that HP is now doing something odd in their print drivers that obviously meets the standards however causes issues with prndrvr.vbs as well as rundll32 printui.dll. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s… Windows OS Windows XP Windows 7 Mac OS X
Toggle navigation Software Tips Questions Blogs Links Communities Questions & Answers Install IP-Printer via VBS/BAT script.