Re: Win32 error code 2 when using prndrvr.vbs with latest HP Print Drivers



error 87 is invalid parameter.

--
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 "AS IS" with no warranties, and confers no rights.

<ejmichaud@xxxxxxxxxxx> wrote in message
news:1162221609.416398.323630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Alan Morris [MSFT] wrote:
error 2 is File Not Found.

Are all the files in c:\test\3800 or in subdirectories under this?

Did you attempt using both driver names with the same failure?

--
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 "AS IS" with no warranties, and confers no
rights.

Yes, all the driver files are in the C:\Test\3800 folder. If I install
the driver manually using the UI it installs without any issues.

By using both driver names I am assuming you are referring to "HP Color
LaserJet 3800 PCL 6" and "HP Color LaserJet 3800 PCL6". If I try the
other, with the following command line:
cscript c:\test\prndrvr.vbs -a -h "C:\Test\3800" -i
c:\test\3800\hp3800b.inf -m "HP Color LaserJet 3800 PCL6"

I get the following error:
Debug: In function ParseCommandLine
Debug: In function AddDriver
Unable to add printer driver HP Color LaserJet 3800 PCL6 Win32 error
code 87

The big difference with receiving error code 87 and error code 2 is the
time in which the errors are received. 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.

If on the command line I specify a .inf that doesn't exist, I receive
error code 87, if I specify a Driver name that doesn't exist in the
.inf I receive an error code 87. 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 HP Color LaserJet 3800 PCL6 driver
using prndrvr.vbs? You can find the driver here:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=18972&prodSeriesId=500934&prodNameId=500935&swEnvOID=228&swLang=8&mode=2&taskId=135&swItem=lj-35621-2



.



Relevant Pages

  • Re: Installed SP1; random Machine Check Exceptions result
    ... Things to understand What are the Windows error codes? ... Most of the problems leading to this event indicate faulty hardware, ... Driver Verifier to Troubleshoot Device Drivers in Windows 2000 may help." ... For additional details see the link to error code ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Installed SP1; random Machine Check Exceptions result
    ... Things to understand What are the Windows error codes? ... Most of the problems leading to this event indicate faulty hardware, ... Driver Verifier to Troubleshoot Device Drivers in Windows 2000 may help." ... For additional details see the link to error code ...
    (microsoft.public.windowsxp.general)
  • RE: After Reboot Get an error message "Seriours Error" Help Please
    ... What are the Windows error codes? ... device drivers or incompatible hardware. ... Driver Verifier to Troubleshoot Device Drivers in Windows 2000 may help." ... For additional details see the link to error code ...
    (microsoft.public.windowsxp.help_and_support)
  • RE: After Reboot Get an error message "Seriours Error" Help Please
    ... have not added any hardware to my HP Pavilion a450n system or software. ... OCA either reports a failure in a device driver or video card. ... drivers are up to date and Windows certified. ... For additional details see the link to error code ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Driver conflict --> Blue screen
    ... could you post your error code here? ... you could also try to install Chinese version driver on the Chinese ... Microsoft MVP - Windows ...
    (microsoft.public.windowsxp.general)