Turn off print spooling via script after a printer has been installed
Posted on 2008-06-10
My problem: I have several tablets using Windows XP sp2 that perform a very special purpose. We also have a multitude of HP 460 printers. Staff are allowed to pick up both a tablet and any printer. I have a script that removes all printers on shutdown to avoid the presence of multiple printers over the course of time. After the tablet has been shutdown any printers are removed. BUT, and here is where I'm stuck, once a printer is attached and the tablet powered on everything loads correctly. I would like to set a few of the print options, ie print direct instead of the default print spooling. I'm not talking about the print service as that would stop all printing. It's an option commonly found in most print drivers, but I can't seem to find a way to programmatically change the option. I've adjusted a few settings in the registry but they don't seem to be taking effect.