Managing Printers from the Command Line
I came across this handy way to manage printers from the command line. This makes it really easy to add, delete or change printers from logon scripts and batch files.
rem /y makes printer default
rundll32 printui.dll,PrintUIEntry /in /n file://server/printername
rundll32 printui.dll,PrintUIEntry /in /n file://server/nextprintername /y
If you're wondering what else you can do with the printui.dll, just enter the following at the command line to bring up the command reference, as shown above:
rundll32 printui.dll,PrintUIEntry /?
Good stuff!
Labels: printers, scripts, Windows
Subscribe by Email



.png)

0 Comments:
Post a Comment
Thank you for posting a comment! It is my hope that you find the information here useful. Let me know (and others) if this post helped you out or if you have a comment or further information.
Links to this post:
Create a Link
<< Home