Solved

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

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

13 Experts available now in Live!

Get 1:1 Help Now