开发者

Print PDF as image from command line? [closed]

开发者 https://www.devze.com 2023-03-15 17:06 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

开发者_如何学Go

Closed 10 years ago.

Improve this question

Is it possible to print a PDF as image using Acrobat Reader through command line options?

Or this feature is only available through the GUI of Acrobat?


Note that Ghostscript can convert PDF's to image and you can use this from command line (useful for scripting).

For instance, on unix to convert a PDF to JPEG pages at 90 dpi, use:

gs -r90 -sDEVICE=jpeg -o out-%d.jpg in.pdf

will create individual pages as out-1.jpg, out-2.jpg, etc.


Unfortunately for you, the answer is "No!". Printing PDF pages as an image is only available through the GUI in Acrobat Reader.

To see a list with all available options, run this:

acroread -help

To see an explanation for all the available options, run this:

man acroread

(I assume you are using acroread on Linux or Unix. Because on Windows, you'd have even less CLI options for it... and some incomplete documentation of which is here.)

0

精彩评论

暂无评论...
验证码 换一张
取 消