Refer the following script to setup a printer remotely, with the print driver on a shared folder
Define the following :
sFolder="\\path" provide the valid network path here
sUN="User name" provide server username here
sPWD="Password" provide the password here
Run the script as Logged in user for best result
Run the script as system user or logged in user.