I think I can help you with a script that I have. You can use this script with various possibilities by use of different changes you can make in it. The base syntax is,
Code:
set /p room=Room number in which the printer is located.
rundll32 printui.dll,PrintUIEntry /in /n "http://172.16.28.25:631/printers/%room%" /m "MS Publisher Imagesetter"
echo Room %room% printer installed. You are now ready to use the printer.
This script is to add new printer to the network whose control you will get. So if you want to change some property or functioning of the printer, you will need to edit the part between semi-colons.
Some of the command lines are like,
- RUNDLL32 PRINTUI.DLL,PrintUIEntry /p /n\\machine\printer for checking the properties of the printer.
- RUNDLL32 PRINTUI.DLL,PrintUIEntry /o /n\\machine\printer to view the print requests in queue.
- RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "printer" to make a certain printer as default.
I use these much commands only. You need to find other commands if you needs much details about it.
Bookmarks