Linux-Noob Forums
Add Printer from batch file - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Windows Noob (https://www.linux-noob.com/forums/forum-5.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-73.html)
+--- Thread: Add Printer from batch file (/thread-3990.html)



Add Printer from batch file - Digerati - 2003-12-15


You can add these in batch scripting or logon scripting to aid in the adding and deletion of printers.

 

add printer

rundll32 printui.dll,PrintUIEntry /in /n \\server1\1220C

 

delete printer

rundll32 printui.dll,PrintUIEntry /dn /n \\server1\PRT4




Add Printer from batch file - kZo - 2003-12-15


This works great for the use of Active Directory and Windows Administration with Network Users.

 

I use this on a daily basis. Very very helpful.