Script to add network printer?

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

I am trying to find a batch/script file to automatically
add a networked printer using the IP.
Thanks
 
I am trying to find a batch/script file to automatically
add a networked printer using the IP.

Posted two days ago. Subject "TCP/IP Batch needed"

Ciao, Walter
 
create a .bat file with the following lines (this is assuming that your
printer is on a server with the IP address 192.168.0.1 and that the printer
is shared as "printer" and you want to map the printer to LTP port no 2)

@Echo Off
c:\
net use LPT2: \\192.168.0.1\printer


Thats it.
Kind regards
Mark
 
Back
Top