Solved

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

Posted on 2008-06-10
1
231 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

864 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now