Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to print a pdf from command line?

5,619 views
Skip to first unread message

Volkmar Junge

unread,
Aug 17, 2003, 6:53:23 AM8/17/03
to
I want to print pdfs with WIN98 from the command line (or out of a batch job).
Thanks!
Volkmar

bryantma

unread,
Aug 22, 2003, 10:05:07 AM8/22/03
to
Hi.

Me too.

The manual tells you how to in unix,so I assume that you can with windows too. Buggered if I know how to though. Please let me know if you find out and I shall post an answer should I find one.

Thanks,

MAB

Reinhard Franke

unread,
Aug 22, 2003, 11:18:12 AM8/22/03
to
Command lineoptions:
AcroRd32.exe /s = without splash screen
AcroRd32.exe /h = hidden
AcroRd32.exe /p = print to standard printer

AcroRd32.exe /s /h /p "Test.pdf" print this file wihtout showing splash screen in a hidden modus (without asking only visible in the task bar) to the standard printer. All command line options work also with Acrobat.exe.

HTH, Reinhard

bryantma

unread,
Aug 22, 2003, 11:21:54 AM8/22/03
to
OK, I have the answer...

The command line is...

"C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" /p /h "c:\filename.pdf"

assuming that your path is standard etc...

FYI I got this information by opening Win Explorer, and then using the Menus to get to Tools, Folder Options, finding the PDF file type and looking at the Advanced Options. It has the Print option in there. This is the command line I used.

I hope that this works for you. It works for me, but might leave a copy of the Adobe Acrobat reader open afterwards.

All the best,

MAB

Volkmar Junge

unread,
Aug 24, 2003, 9:20:32 AM8/24/03
to
Hi all,
yes it works! Great!
Yes it leaves a copy of acrord open, but I dont care.

Reinhard, where had you found the answer? I did NOT find it in the documentation...

bryanta, I checked yr hint how to find this out... looks different here (I have Acrobat installed as well). But I looked into other file types where I saw something similar.
A good hint!

Thank you both.
CU
Volkmar

Reinhard Franke

unread,
Aug 24, 2003, 11:15:36 AM8/24/03
to
It's documentated somewhere in the SDK(v5). I think it's unfortunately no longer free availabe. But only 2 other options are of interest. "/t" print to a special printer and "/n" open new instances of Reader and/or Acobat. The later is especially of interest if you want to use Adobe's help files. So you can develope in Acrobat and read the help or testing in Reader.

You may put a link in the file association or in your "send to" menu.

HTH, Reinhard

Steve Rindsberg

unread,
Aug 24, 2003, 12:12:33 PM8/24/03
to
> Yes it leaves a copy of acrord open, but I dont care.

If that's not a problem, you might also want to try LAUNCH.EXE by Shyam
Pillai and Chirag Dalal:

http://www.mvps.org/skp/download.htm

It doesn't require you to supply the full path to Acrobat or Reader; you
only need to do:

launch print drive:\path\to\filename.pdf


0 new messages