Solved

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

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

Suggested Solutions

When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

815 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

8 Experts available now in Live!

Get 1:1 Help Now