What do you want? Directly map a printer with your script?

use "\\server\printershare"

Martijn