Adobe Reader API

Regarding Adobe Reader API, I know it's very limited, but all I need to do is open a file and go to a particular page. I've tried:
With AcroPDF1
.LoadFile "C:\test.pdf"
.setCurrentPage 3
End With
which gives me "Runtime Error 424, Object Required," and I've tried:
Dim AcroPDDoc As Object
Set AcroPDDoc = CreateObject("AcroExch.PDDoc")
Set pdDoc = CreateObject("AcroExch.PDDoc")
which gives me "Runtime error 429, Activex component can't create object."
I've made sure all References to anything Adobe or Acrobat are checked off (I'm programming in MS Access using VB).
What am I missing?
Thanks.
(PS I do own Acrobat Standard that I use on my office machine and I can't get the code to work there either. But I need to be able to use Reader for the project I'm working on.)

Now this was an interesting thread...
I have a similar problem, but I am not so familiar with VB or javascript or the Windows API, so I would appreciate explicit examples.
I would like to make a .bat script (yes, DOS, under Win XP) to open a .pdf document using Acrobat Reader (v. 8.1.0 in my case). If the document is already open, I would like to close it and reopen it.
Today, I do this with
"C:\Program Files\Adobe\Reader 8.1\Reader\AcroRd32.exe" test.pdf
which works. However, it also locks the file for editing. I therefore need a way (from the command line) to either close test.pdf or open it read-only.
I realize that this (at least closing the document) should be accessible via Adobe Reader API or Acrobat IAC, possibly through the javascript command app.openDoc() (I have looked into the documents mentioned above), but I have no clue about how to do this from the command line. Anyone care to help me out with an example?
Anders Hägglund

Similar Messages

  • I want to ask next have ADOBE READER API? I want to control the ADOBE READER right-cli

    Good evening! I want to ask next have ADOBE READER API? I want to control the ADOBE READER right-click and shortcut, and the navigation buttons on the article? Thanks for the reply

    Moved to Acrobat SDK

  • I need adobe reader api send me url please

    hi i am developing an application in C# that open password protected pdf file by supplying password programatically .Someonetold me that you have adobe reader api that take password as parameter. Please send me url i am ready to purchase.
    [spam link removed by forum host]

    Try the forum for Acrobat SDK.

  • Using Adobe Reader API

    Hi,
    I've tried to print PDF-Files in a Third-Party Application using the Adobe Acrobat 8.0 Type Library. The following error occurs
    "Could not create an instance or the OLE control or Automation Server identified by
    GUID= {....
    Adobe Acrobat Reader 8.0 Type Library.AcroAVDoc.
    Check that the OLE-control or Automation server is correctly installed and registered."
    So i search the internet and what i find out is, that some other people have the same problem but no solution.
    Can anybody help me ????

    The Acrobat SDK, by the way, does explain which (very few) API methods
    work with the free Reader, but the Acrobat SDK (should not be a big
    surprise) mostly needs you to buy Acrobat.
    Aandi Inston

  • Changing file type API to open with Adobe Reader 9.2

    In windows XP, if I go to C:\Program Files\Adobe\Reader 9.0\Reader\plug_ins, it shows the API extension to be File Type AcroExch.plugin
    This seems to be because Adobe Acrobat 5.0 is installed first on the PC, then Adobe Reader 9.2 is installed on the PC.
    On a clean PC, if I install Adobe Reader 9.2, then the file type becomes API file.
    How do I change the file type from AcroExch.plugin to API file?

    I want to do this because I have a 3rd party plugin which will not work otherwise.
    The 3rd party plugin is FileOpen Installer.
    http://plugin.fileopen.com
    If Adobe Reader 9.2 is installed on the PC first, then the folder c:\program files\adobe\reader 9.0\reader\plug_ins looks like the attached JPG Adobe Reader 9 Plugin working.jpg
    FileOpen Plugin works with the above situation.
    Note that it is a 3rd party supplier which sends files which require the 3rd party Plugin FileOpen and a test document is here
    http://fileopen.bl.uk:8008/FileOpenFreeLink-1.0/entryPage.do;jsessionid=FADC8178CCD0236480 199338A79483E7
    If Adobe Acrobat 5.0 is installed on the PC first and the Adobe Reader 9.2, then the folder c:\program files\adobe\reader 9.0\reader\plug_ins looks like the attached Adobe Reader 9 Plugin Problem.jpg and the test file sent by the British Library above will not open.
    You get the following when you try to open the British Library test file (see British Library2.jpg)
    FileOpen is installed as a 3rd Party Plugin in Adobe Reader 9.2 and I can see this under Help About 3rd Party Plugins FileOpen Installer.
    (Note Adobe Acrobat 5 runs via a network install and is not installed onto the workstation so I can't remove it via Add/Remove Programs).
    So I am guessing the problem is to do with the API file type being different when Adobe Acrobat 5 is installed first?
    Thanks,
    Paul

  • Adobe Reader 9.3 for Linux: Segmentation Fault in PPKLite.api

    Adobe Reader 9.3 cannot open signed pdf files on our system (64-bit Fedora 10 Linux, with 32-bit compatibility libraries installed). It crashes with a segmentation fault any time one tries to open the following file:
    http://www.utoronto.ca/ic/software/forms/matlab_concurrent_renewal2010.pdf
    Running with ACRODEBUG=1 and ACRO_CRASHLOG=1 results in a zero-length crash log file and the only debug messages shown are
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api ... [dlopen success for Annots.api, handle = 0xc4548f8]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api ... [dlopen success for AcroForm.api, handle = 0xd0c3a50]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api ... [dlopen success for DigSig.api, handle = 0xd0dcc68]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/EScript.api ... [dlopen success for EScript.api, handle = 0xd126ac8]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/PPKLite.api ... [dlopen success for PPKLite.api, handle = 0xd7b1ff0]
    If I run the gdb debugger on /opt/Adobe/Reader9/Reader/intellinux/bin/acroread, it shows the segmentation fault occurring inside /opt/Adobe/Reader9/Reader/intellinux/plug_ins/PPKLite.api (but since the file is stripped, all it shows is the binary offset of the segfault). I do have a coredump, though.
    If I remove the PPKLite.api file (or rename it to PPKLite.api.hide -- note that chmod -x does not work, nor does renaming it to something else that still ends in .api, unlike some workarounds I've seen on the web for similar problems in earlier versions of Adobe Reader), then Adobe Reader can open the file without crashing, except that without PPKLite it cannot validate its signature and so it displays the message "This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document" -- which I assume is because the signature validation failed due to the absence of PPKLite so it things the document has been altered even though it hasn't been.
    So this removing or renaming of PPKLite.api works around the problem of the crash, at the expense of getting this misleading warning message.
    However, obviously there is a problem inside PPKLite.api that needs to be fixed....

    I'm seeing what must be the same issue: acroread foo.pdf exits almost instantly without any message, but with status 1.
    This is: AdobeReader_enu-9.3.1-1.i486 on a Fedora 12 box,  AMD Phenom II 945.
    If I set ACRODEBUG=1 and ACRO_CRASHLOG=1 and ulimit -c unlimited, and rename PPKLite.api,  *then* I get a nonzero crashlog. Which is:
    /usr/bin/acroread [0x84ff125] [@0x8048000]
    (__kernel_sigreturn+0x0) [0xf7786400] [@0xf7786000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf44dc99b] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e1cf5] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e436d] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e57a3] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41f81b2] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41d4863] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3c44111] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3c47268] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3f7446a] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3f74e6d] [@0xf3b6d000]
    /usr/bin/acroread [0x892da33] [@0x8048000]
    /usr/bin/acroread [0x873dee9] [@0x8048000]
    /usr/bin/acroread [0x8741530] [@0x8048000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf361fd53] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf3628217] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf36e3f01] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf36e3f9e] [@0xf35f5000]
    /usr/bin/acroread [0x892f7e7] [@0x8048000]
    /usr/bin/acroread [0x8744a50] [@0x8048000]
    /usr/bin/acroread [0x825bdec] [@0x8048000]
    /usr/bin/acroread [0x826bb11] [@0x8048000]
    /usr/bin/acroread [0x826bd32] [@0x8048000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api [0xf4ca1b4a] [@0xf4ba9000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api [0xf4ca1bec] [@0xf4ba9000]
    /usr/bin/acroread [0x826c1c4] [@0x8048000]
    /usr/bin/acroread [0x826d0bb] [@0x8048000]
    /usr/bin/acroread [0x850193f] [@0x8048000]
    /usr/bin/acroread [0x85024d2] [@0x8048000]
    /usr/bin/acroread(main+0x87) [0x856686d] [@0x8048000]
    /lib/libc.so.6(__libc_start_main+0xe6) [0x5ddbb6] [@0x5c7000]
    Without renaming the .api, all I got was five 'dlopen success' messages, and "Segmentation fault (core dumped)", but a zero length log.
    Don

  • APIs for Adobe Reader to get the x, y co-ords,width,height of all elements (text/image) in a PDF doc

    Hi all,
    I have written a Acrobat plugin using  PDFEdit APIs to extract x, y co-ordinates, width and height of all  elements(objects) in a PDF document.
    Now, I wanted to make the same working on Adobe Reader.I have added the READER_PLUGIN macro enabled in Project settings.
    When I re-compiled the code, I got a bunch of errors saying all PDFEdit APIs are not available under Adobe Reader.
    My  objective is to parse through the entire PDF document and get x, y  co-ordinates, width, height of all PDF objects (especially Image and  Text objects).
    Can anybody help me how to achieve this ?
    Thanks
    Prasanth

    I know that we cannot obtain the PDEContent of a PDF page from Adobe Reader, as PDEContent is modifiable content and as such it cannot be accessible from Adobe Reader.
    Also, as PDFEdit API's does not work for Adobe Reader, we are trying to figure out a way to achieve this for Adobe reader.
    I am curious to know if the COS APIs can help us in this task.
    I tried to read the stream content using PDPageStmGetToken API. I get the data of this format:
    344.88 0 0 91.44 71.882 41.92cm
    Here, as per PDF reference, I am getting only distance from X Axis and distance from Y Axis. But not width and height.
    Can you knidly let us how to get the image attributes (primarly read only attributes like x and y co-ordinates, width and heoght) with Cos APIs.
    Thanks
    Prasanth

  • Which API can use to save PDF document with Adobe Reader 9?

    Hello,
        which API can use to save PDF document with Adobe Reader 9? It is said that "CosDocSaveWithParams" can't be used.
    thanks!
    jimmy

    Unless the PDF file is "READER ENABLED for SAVE" (see the adobe product pages on LiveCycle Reader extensions server)
    You are not able to call a Save at all, if the document is reader enabled then you need to use the JavaScript call to save the document,
    As you appear to be wanting to do this in a plug-in you would need to call the script from a plug-in, this can be done using the AFExecuteThisScript () function call.
    Please note that this does will fail if the document is not reader enabled for save and you need to include the Forms HFT in your plug-in,
    This plug-in would also have to be approved by Adobe to be used with the reader and as you are implementing a function that is available in the full Acrobat product this may not be a straight forward approval.
    HTH
    Malky

  • Plugin or API from Adobe (for Adobe Reader) for Business Website?

    I am looking for a plugin or API from Adobe (Adobe Reader or whatever will accomplish this) that can be added to our business website to make it easier for users to search through our manuals when they have questions about using the software. Does it exist? I want users to be able to type in a string and have the Adobe product search through all our PDF files for the file/page with that information.
    If I am in the wrong forum please redirect me because I have been trying get help with this since 8am. Thank you.

    Ok, you can go with one of the following:
    * A search engine on the web server. There may well be one there already, needing to be set up to search a particular folder. Or you may be able to configure a search page without any need for setup. Refer to your web server admin.
    * An intranet search engine. There may be one already on your intranet, just needing to be set up. Or you may be able to configure a search page without any need for setup. Refer to your intranet admin.
    * A variation on the intranet search engine is the search box, such as the google appliance, a separate box on the internal network which becomes your private Google. Pricy, but readily understood by senior management.

  • Adober Reader 9.0: annots.api Crashes

    I tried deploying Adobe Reader 9.0 to several campus computer labs I manage. I am using roaming user profiles, but I don't have AppData redirected - it stays on the local hard drive.
    I discovered that while Reader 9 works OK for Administrators, it crashes at startup for people with just regular "User"-level privileges. This problem goes away if I remove the annots.api plugin file. Has anybody else seen this issue? I've gone back to Reader 8.1.2 in the meantime.
    Thanks for your help.

    Hi luca,
    I have problem whit ALD
    I have version 7.1      
    after I made the upgrade to adobe Acrobat to 9 version  LiveCycle dump increasingly.
    message error:
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          15.05.2009 10:32:57
    What happened?
        The current application program detected a situation which really
        should not occur. Therefore, a termination with a short dump was
        triggered on purpose by the key word MESSAGE (type X).

  • Adobe Reader XI crashes on PPKLite.api with failure CryptFindLocalizedName.

    When Other language version Adobe reader XI is installed to English version Windows, it crashes on PPKLite.api with failure CryptFindLocalizedName.
    It doesn't have the check routine which it is null, and it crashes because it calls 'wcslen(NULL)'
    D:\Program Files\Adobe\Reader 11.0\Reader\plug_ins\PPKLite.api
    28058DFA  C7066C9A4428         
    mov
    dword ptr [esi],L28449A6C
    28058E00  897E10               
    mov
    [esi+10h],edi
    28058E03  885E14               
    mov
    [esi+14h],bl
    28058E06  897D0C               
    mov
    [ebp+0Ch],edi
    28058E09  FF750C               
    push
    [ebp+0Ch]
    28058E0C  C645FC01             
    mov
    byte ptr [ebp-04h],01h
    28058E10  FF15BC155928         
    call
    [CRYPT32.dll_DelayImport_CryptFindLocalizedName]
    28058E16  8365FC00             
    and
    dword ptr [ebp-04h],00000000h
    28058E1A  89450C               
    mov
    [ebp+0Ch],eax <--- eax=0 !!!!!!!!!!!!!!!!!!!!
    28058E1D  FF750C               
    push
    [ebp+0Ch]
    28058E20  FF15DCB34128         
    call
    [MSVCR100.dll!wcslen]
    28058E26  59                   
    pop
    ecx
    28058E27  8B4E04               
    mov
    ecx,[esi+04h]
    28058E2A  8D440004             
    lea
    eax,[eax+eax+04h]
    28058E2E  50                   
    push
    eax

    My environment XPSP3 with changing user and system locale to Japanese.
    But , It is resolved.
    It becomes  no error when I install MUI version Reader XI.
    But sometimes My Windows XP SP3 shows the popup application Error dialog when Adobe reader XI is terminating. It seems to have some bugs.

  • Unable to uninstall Adobe Reader 7.0 (SSSecurity.api PLUG-IN missing) what should i do?

    Unable to uninstall Adobe Reader 7.0 (SSSecurity.api PLUG-IN missing) what should i do?
    I want to install adobe Reader 8.0 and first I would like to uninstall my Adobe Reader 7.0, However, when I click on Unistall, it says PLUG-IN SSSecurity.api is missing, and it won't allow me to unintall.
    I am using Windows XP
    What is the problem there?
    What should I do?
    Please help

    When I want to install 7.0 again. (I tried to do a override file)
    The following message will appear, and it will stop me from instal
    "This Patch Package could not be opened, verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installer patch package"

  • Adobe Reader freezes when attempting to load weblink.api

    Every time Adobe Reader (11.0.04) opens with weblink.api, it freezes up and is unusable. We have completely uninstalled and reinstalled this program and it is having the same issue. Windows 7 x64. If we disable the plugin, it opens fine, but we cannot get the print dialogue to come up. Does anyone know how to repair this issue?

    Thanks we will try that today.
    Michael Milan
    Effective Technology
    334-501-6441 office
    334-444-2678 cell

  • How can I insert watermark in printing document by ADOBE Reader through Windows API hooking?

    Hi. I'm now trying to hook windows API to insert watermark image when printing a document.
    It works fine with MS Word, PowerPoint, Notepad and Mspaint except Adobe Reader when I hooked EndPage API calls to insert watermark image.
    And all the progress looks work well from the log but i can't insert the watermark image.
    Then i tried it with another PDF viewer, it was work well except only ADOBE Reader.
    Any suggestions will be helpful to me.
    Thank you.

    Ask in the Reader forum. However, the process should be a property of the print driver for your printer, not Reader.

  • Adobe Reader hangs with Annots.api

    when running my application with Adobe Reader, which will sign on PDF document. Sometimes it will hang with error below:
    Can anybody help on this?
    Faulting application name: java.exe, version: 7.0.600.19, time stamp: 0x536a95be
    Faulting module name: Annots.api, version: 11.0.9.29, time stamp: 0x5412b2e2
    Exception code: 0xc0000005
    Fault offset: 0x0004a1bf
    Faulting process id: 0x7a0
    Faulting application start time: 0x01d00217ecaadd93
    Faulting application path: c:\pos\prudentialway\jre\bin\java.exe
    Faulting module path: C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\Annots.api
    Report Id: 60fb1fd1-6e0b-11e4-ac01-101f74eca368

    The drivers are up to date.
    I've just realised (doh!) that the printer isn't actually on the network, but has a direct USB connection to the w/station.
    The problem is only with Adobe reader, just the first print of the day from Adobe. If the first print of the day is from Word that prints OK, but if the second is from Adobe it still hangs (becasue it's the first rpint from Reader). At first I thought Reader was trawling across the internet for some reason, maybe checking in with Adobe.
    I'm baffled. I've tried uinstalling and reinstalling Reader as well!

Maybe you are looking for