Jump to content
Compatible Support Forums
Sign in to follow this  
GTwannabe

Installing a Network Printer Remotely

Recommended Posts

I'm attempting to write a script to install a networked printer remotely on XP machines.

 

This works:

 

rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /f \\XXX.XX.XXX.XX\download\4600driver\hp4600p6.inf /r "lpt1:" /m "HP Color LaserJet 4600 PCL 6" /Z

 

But I want to change the port from "lpt1:" to an IP address for IP printing. However, when I change it to "IP_XXX.XX.XXX.XX", I receive a "The arguments are invalid" error message after Windows copies files and no printers are added to the printers folder.

 

Any idea what the correct syntax is to change the port to an IP address?

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×