Installing a Network Printer Remotely

This is a discussion about Installing a Network Printer Remotely in the Everything New Technology category; 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.

Everything New Technology 1823 This topic was started by ,


data/avatar/default/avatar34.webp

198 Posts
Location -
Joined 2001-06-03
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?

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Sep 15
Created
Sep 15
Last Response
0
Likes
1 minute
Read Time
User
Users