Options
Add network printer through batch script.
I am running a Novell network, the person before me decided to use Iprint and has screwed a lot of stuff up.
I used to have a batch script that I could run to add printers, but I have lost it.
Can anyone help me with loading a network printer through batch.
I have around 100 computers to re-add the printer.
Thanks in advance.
Jamie
I used to have a batch script that I could run to add printers, but I have lost it.
Can anyone help me with loading a network printer through batch.
I have around 100 computers to re-add the printer.
Thanks in advance.
Jamie
2017 Certification Goals:
CCNP R/S
CCNP R/S
Comments
-
OptionsMAC_Addy Member Posts: 1,740 ■■■■□□□□□□I do believe I have it done...
rundll32 printui.dll,PrintUIEntry /b "LaserJet Test" /x /n "n switch not used" /if /f
%windir%\inf\ntprint.inf /r "IP_10.31.20.8" /m "Ballman HP Laserjet 4200"
The script added the printer to my Printer folder, fingers crossed it works.2017 Certification Goals:
CCNP R/S -
OptionsRobertKaucher Member Posts: 4,299 ■■■■■■■■■■Use con2prt, which is in the resource kit.
con2prt.exe /cd [URL="file://\\server\printer"]\\server\printer[/URL]
c = connect d = default. I would suggest a batch script that copies the exe to the PC's system32 folder and then uses PS exec to install the printer. -
OptionsMAC_Addy Member Posts: 1,740 ■■■■□□□□□□Where can I download that from?2017 Certification Goals:
CCNP R/S