Solved

Turn off print spooling via script after a printer has been installed

Posted on 2008-06-10
1
236 Views
Last Modified: 2010-04-12
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.  

Any thoughts?  
0
Comment
Question by:lifebloodIT
1 Comment
 
LVL 24

Accepted Solution

by:
Kenneniah earned 500 total points
ID: 21780134
cscript prncnfg.vbs-t -p Printername +direct

You'd just have to include a line with the printer name of each possibly connected printer.

http://technet.microsoft.com/en-us/library/bb490971(TechNet.10).aspx
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question