GTwannabe 0 Posted September 15, 2004 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