Jump to content

Recommended Posts

Posted

im trying to automate installing a network printer.

The installation starts ok and installs the driver but once the driver is installed i get an error.

RUNDLL32 printui.dll,PrintUIEntry /if /b "\\pcprint\lw7th" /r "128.40.42.150" /f "%windir%\inf\ntprint.inf" /m "HP LaserJet 5000 Series PS"

the error windows gives is -> error is invalid arguments

The printer is set up correctly, you can install it manually and print to it without any problems.


Posted

If I run your command i get the following error:

Operation could not be completed.  Either the printer name was typed incorrectly, or the specified printer has lost its connection to the server.  For more information, click Help.

Which is from /b "\\pcprint\lw7th", printer display names cannot contain \'s.

Also you need to create the Standard TCP/IP port before installing.

  • 2 months later...
Posted
Question: Why not simply integrate the driver files instead of trying to run an install?

i want to ad some HP drivers to the unattended xp cd. Can it be done like this?:

DriverSigningPolicy=Ignore
OemPnPDriversPath="Drivers\000_SMBus;Drivers\001_MemCtl;Drivers\002_GART;Drivers\003_IDE;Drivers\004_Ethernet;Drivers\005_AudioDrv;Drivers\006_Display;Drivers\007_Printers"

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...