disable/enable USB power & set printer as default
Posted: 22 Apr 2013 09:48
hi all, i have opened a new topic because this problem is different form others i have had in the past. i need 3 batch files:
1: set a printer as default
my business runs a lot of different printers and some batch printing software along with some automation software. i need a batch file that can set a specific printer as default. i will have about 5 copy's of this batch file each setting a particular printer as default. for example:
epson.bat
hp 120.bat
hp 900.bat
brother.bat...
2: disable power to a specific USB port (or just disabling it all together) and another batch file that enables it again
this is a harder one and i have looked for other solutions but a batch file would be the easiest way to integrate it with my automation software. this is probably the last major step in completely automating my business and all my machinery and would be incredibly invaluable to my work. if its easier, a batch file that disables all usb ports would work aswell. since i only control my computer over network, i dont have to worry about disabling the keyboard and mouse
if it helps in any way there's batch files will be running on windows xp
kind regards
josh
1: set a printer as default
my business runs a lot of different printers and some batch printing software along with some automation software. i need a batch file that can set a specific printer as default. i will have about 5 copy's of this batch file each setting a particular printer as default. for example:
epson.bat
hp 120.bat
hp 900.bat
brother.bat...
2: disable power to a specific USB port (or just disabling it all together) and another batch file that enables it again
this is a harder one and i have looked for other solutions but a batch file would be the easiest way to integrate it with my automation software. this is probably the last major step in completely automating my business and all my machinery and would be incredibly invaluable to my work. if its easier, a batch file that disables all usb ports would work aswell. since i only control my computer over network, i dont have to worry about disabling the keyboard and mouse
if it helps in any way there's batch files will be running on windows xp
kind regards
josh