Schedule a Recurring Print Job of a Particular PDF file

We have a large format printer that is used infrequently. The heads dry up and are very expensive to replace. The service tech suggested printing a job that uses all heads on a regular basis. I am wondering if there is a way to automate the printing of a PDF file stored on a Windows workstation?
ExchangeDAsked:
Who is Participating?
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.

Joe Winograd, Fellow&MVEDeveloperCommented:
automate the printing of a PDF file stored on a Windows workstation
Schedule a job to print the PDF file as frequently as you want (hourly, daily, weekly, monthly, whatever) using the Task Scheduler. If you're not familiar with Task Scheduler, this 5-minute EE video Micro Tutorial will get you started:
How to use the Windows Task Scheduler - An Introduction

You'll need to use software that has a command line interface for printing. For example, something like this will do it with Adobe Reader DC:

"c:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" /n /s /o /h /t "c:\temp\name of file.pdf" "name of printer as shown in Devices and Printers"

Open in new window

Lots of other software can do it. Just put a call like that in the Action>Program/script field of the Task Scheduler job (or put it in a batch file, if you prefer, and put the batch file call in the Program/script field). Regards, Joe
1

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
Joe Winograd, Fellow&MVEDeveloperCommented:
The question is how to automate the printing of a PDF file stored on a Windows workstation. The answer is to use software that has a command line interface for printing, such as, Adobe Reader DC, and schedule the printing job via the Task Scheduler. This is explained in comment #a42526963.
0
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
Printers and Scanners

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.