Windows: How to set a specific printer on hold, without stopping the entire spooler service

Hello Friends,

in Windows, I can put a printer on hold from the context menu in the printer section of the control panel. That would leave other printers still functional.

I'd like to hold / release a printer from the command line, preferably with the most ancient technique available ... is that possible ?
LVL 14
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James HodgeManaging DirectorCommented:
To pause or resume printing a document

1.Open Printers by clicking the Start button , clicking Control Panel, clicking Hardware and Sound, and then clicking Printers.
2.To open the print queue, double-click the printer that you're using.
3.Right-click the document that you want to manage, and then click Pause or Resume.
frankhelkAuthor Commented:
Ooops ... thanks for pointing the precise way to stop a document with the GUI ... but I thought I've made clear that this is not the way I need to go.

I want to stop that printer (the entire queue, not only one document; which I could do in the GUI from the content menu of the printer, too). But I need to do that unattended, i.e. timed with AT or SCHTASKS. To do that, I'd need some command I could put into a batch file.

Anyhint for that ?
NVITEnd-user supportCommented:
You can use powershell, i.e.
Suspend-PrintJob printername

Open in new window

Another solution (Not confirmed) using SetPrinter.exe from the 2003 Resource Kit.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
frankhelkAuthor Commented:
- Thanks to NewVillageIT (NVIT)
- Honorable mention to James Hodge
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.