Article View: adobe.acrobat.sdk
Article #20Automating Version Compatibility w/Acrobat SDK v8.1
From: Mike Loux
Date: Tue, 21 Apr 2009 00:03
Date: Tue, 21 Apr 2009 00:03
34 lines
3104 bytes
3104 bytes
Hello, all
I am looking for a way, if possible, to automate the down-
converting of PDFs with a higher version than 1.4 TO v1.4 in order to
be viewable by our ailing Imaging toolkit. Basically I want to be
able to perform the equivalent of the Document | Reduce File Size...
menu item in Acrobat Standard 8.1, but in an automated form via a .NET
2.0 application. I took a look at the SDK and other posts on the
adobe forums and various usenet groups, but I'm not really seeing what
I need. The examples in the SDK are great at showing me how to crop
and delete pages and the like, but none of them seem to show me how to
change the PDF compatibility version, so I'm starting to think that
maybe it's not possible. It would be nice to see what Acrobat itself
uses to do this version compatibility thing, although I imagine they
use a plugin whereas I'm limited to IAC (since my C++ knowledge is
sketchy at best).
Since we already have an existing Acrobat Standard license, I
thought this might be easier than paying the several thousand dollars
to upgrade our Imaging toolkit to the latest version (which supports
up to v1.6, but has no guarantees on v1.7 as of yet). If we have to
go that route, then so be it, but I can't imagine there's no way to do
what I need.
Does anybody have any suggestions? I have also thought about
using Ghostscript, but I am not sure if it would be able to do what I
need either (pdfopt only seems to handle linearization, which isn't
really what I need). I have also tried looking into wrapping
PDFCreator (pdfforge.org) to reprint the PDF in a lower version, but
it seems to have some issues responding to events and is temperamental
most of the time. Since this is going to be handling incoming PDF
files on the fly, I want something a little more robust.
Thanks in advance for any guidance anyone can provide!
Technical Details
Message-ID:
<4beda301-9a94-4250-9f52-bcd12763a4bc@x5g2000yqk.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x5g2000yqk.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10177e,d287f932dc3466b8,start X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x5g2000yqk.googlegroups.com!not-for-mail From: Mike Loux <mike.loux@gmail.com> Newsgroups: adobe.acrobat.sdk Subject: Automating Version Compatibility w/Acrobat SDK v8.1 Date: Mon, 20 Apr 2009 17:03:07 -0700 (PDT) Organization: http://groups.google.com Lines: 34 Message-ID: <4beda301-9a94-4250-9f52-bcd12763a4bc@x5g2000yqk.googlegroups.com> NNTP-Posting-Host: 74.75.203.54 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1240272187 17572 127.0.0.1 (21 Apr 2009 00:03:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Apr 2009 00:03:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x5g2000yqk.googlegroups.com; posting-host=74.75.203.54; posting-account=W9YhLwoAAACkTjEdn-ZF4BEyUGFvd_qT User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.6 Safari/530.5,gzip(gfe),gzip(gfe)