Re: Win32 error code 2 when using prndrvr.vbs with latest HP Print Drivers
- From: "Alan Morris [MSFT]" <alanmo@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 09:53:36 -0800
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
.
- References:
- Win32 error code 2 when using prndrvr.vbs with latest HP Print Drivers
- From: ejmichaud
- Re: Win32 error code 2 when using prndrvr.vbs with latest HP Print Drivers
- From: Alan Morris [MSFT]
- Re: Win32 error code 2 when using prndrvr.vbs with latest HP Print Drivers
- From: ejmichaud
- Win32 error code 2 when using prndrvr.vbs with latest HP Print Drivers
- Prev by Date: Re: Can't delete printers
- Next by Date: Re: Connecting to a Network printer
- Previous by thread: Re: Win32 error code 2 when using prndrvr.vbs with latest HP Print Drivers
- Next by thread: XP Error Msg: Print Spooler Service is Not Running?
- Index(es):
Relevant Pages
|
|