Setting string property printer.printProgram overrides the name of the program used to submit the printout to the spooling system.
printer.printProgram