Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6956291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:51:01+00:00 2026-05-27T14:51:01+00:00

On my machine, when selecting multiple PDF documents in Windows Explorer, right clicking and

  • 0

On my machine, when selecting multiple PDF documents in Windows Explorer, right clicking and choosing Print, Adobe Acrobat Reader is opened minimized and all documents are silently sent to the printer.

I want to do the same as Windows does, but how is it done?

I am using ProcessStartInfo with the PrintTo verb, as you can see in a previous question. Unfortunately, this is everything but silent, and I am having big problems when printing more than one document. How do I know when the application (typically Adobe Reader) is done printing? If starting several printTo processes in a row, one document seems to open before the previous is finished printing.

I would like to avoid hard coding Adobe Reader, because some of my users have exchanged it for Foxit Reader or others.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:51:02+00:00Added an answer on May 27, 2026 at 2:51 pm

    I don’t know if you can do it with other PDF viewers in such a way that those viewers are plug-and-play replacements for Adobe Reader. You’ll probably have to tailor it to each program you want to support. It’s not so difficult to have Reader on one’s system, really, if it’s necessary to perform a job and most computers come with it preinstalled.

    The first thing you have to know is that when you tell it to print via that verb, via either code or the Explorer context menu, you are doing something like this:

    ""C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe"" /p /h "%1" 
    

    Note the arguments: /p (tells it to print) and /h (start minimized).

    There’s another option. The Adobe Developer FAQ ( http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/intro_to_sdk/DeveloperFAQ.pdf ) states that this command line works per-file:

    AcroRd32.exe /t path "printername" "drivername" "portname"
    

    The document specifies that this initiates Adobe Reader and prints a file, whose path must be fully specified, while suppressing the Print dialog box. (Copy-pasted from Developer FAQ.)

    There is also an option /n which “launches a separate instance of Acrobat or Adobe Reader, even if one is currently open.” (Developer FAQ again.) That could be used to run multiple print jobs in parallel, I imagine.

    I found yet another command line reference at: Adobe Reader Command Line Reference

    So basically, you could iterate your list of PDFs, and for each one start a new print process with a Process.Start call and wait for it to close via a Process.WaitForExit. This will make your program appear to hang and I hate when programs hang while they perform operations, so you should really do this in a cancellable BackgroundWorker that reports progress and still leaves your GUI somewhat interactive.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my Windows XP machine Visual Studio 2003 2005 and 2008 all complain that
We have a Windows machine running SQL Server 2005, and we need to be
I have tried importing a .zip project through eclipse by right clicking the project
I am running McAfee VirusScan Enterprise 8.7i on my Windows 7 machine. I am
Are machine word size (or smaller) writes serialized? Only one native opcode is needed
My machine is little-endian (Intel byte order). I need to read a binary file
On my Vista machine I cannot install the .Net framework 3.5 SP1. Setup ends
How does a virtual machine generate native machine code on the fly and execute
I have a machine with VmWare installed which added two extra network interfaces. The
We have a production machine and are trying to slowly introduce some 3.0 and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.