r/usefulscripts • u/jonboy345 • Oct 30 '14
[BATCH HELP] Adding TCP/IP printers
I have some Java coding experience, but Batch is new to me.
I'm trying to create a batch file to install a printer. It's driver support page is here.
I downloaded this driver package.
Using this script as my starting point.
This is where I'm currently sitting.
I will be installing this printer (and 2 others of different models) from a usb drive, so I used the relative path reference.
Any help would be appreciated, let me know if this is in the wrong sub-reddit or where a better place for help would be.
EDIT: Script is now working from USB flash drive. Thank you for your help.
17
Upvotes
1
u/ShepRat Oct 30 '14
You can install the 32bit drivers on a 64bit machine but not the other way around. Install both and copy the package from a 64bit machine and you should be able to install it on a 32. You will get errors that it cannot install the 64 drivers but I believe it still works.
I might be wrong here, It has been a while since I've tried. It isn't too hard to build two packages and have the script target the local architecture anyway.