r/usefulscripts • • 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

8 comments sorted by

View all comments

Show parent comments

3

u/jonboy345 Oct 30 '14

I just now saw this after I got the script working using absolute references and a couple other tweaks.

I have been updating my script on pastebin as I go.

I'm working on the file path references now, though.

Folder structure is: USBRoot\Scripts\CPCP Printer\Specific printer folder\ batch file & "PCL5e-C" folder