Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called

Hello,
I have recently Reader-Enabled my plugin, and am getting an issue using PDDocSave; getting "An unimplemented or obsolete function was called".
Testing in X and XI has the same response.
Reading Re: Acrobat Reader X and PDDocSave it seems that it is a bug in X, but I would have assumed something like this would be fixed by XI.
The below code has it saving the file where it is, but I am also calling the function with the PDSaveCopy flag to a different location and get the same result.
AVDoc avDoc = AVAppGetActiveDoc();
PDDoc pdDoc = AVDocGetPDDoc(avDoc);
ASFile asFile = PDDocGetFile(pdDoc);
ASFileSys asFileSys = ASFileGetFileSys(asFile);
ASPathName asPath = ASFileAcquirePathName(asFile);
PDDocSave(pdDoc, PDSaveFull | PDSaveLinearized | PDSaveCollectGarbage, asPath, asFileSys, NULL, NULL);
I thought perhaps the save flags may have been the issue, but eliminating one-by-one had no change.
I don’t have the /READER_PLUGIN conditional on, if I do I cannot compile at all - Re: How can I save current document in my Reader plugin? 
Thanks for your help. Thought I'd ask here before putting in a support request.

One thing I notice in the docs for PDDocSave:
IMPLEMENTATION LIMIT: the current implementation can
only save a file to the same fileSys for the doc's current backing
file, thus fileSys MUST BE NULL, otherwise the error XXX is raised.
This is also reiterated in the other headers:
@param fileSys The file system. If it is NULL, uses the fileSys
of the document's current backing file. Files can only be
saved to the same file system. fileSys must be either NULL
or the default file system obtained with ASGetDefaultFileSys(),
otherwise an error is raised.

Similar Messages

  • 'An unimplemented or obsolete function was called'

    I've just downloaded and installed Adobe Reader Version 9.3.0 for Mac (file size is 210.1MB).  However, when I try to download the 9.3.1 update I receive the message above.
    Is my installation defective?
    I downloaded Adobe Reader because I need to print out a file which has a '.do' extension.  (The file was downloaded from my health insurer's website and is needed for income tax purposes - the file name is a bit strange to me - 'displayPdf.do' and the site states it requires Adobe Reader to open).  I can open the document but I can't copy or Print it.
    When I try to print the document I get a message 'The document could not be printed' and then a second message stating 'There were no pages selected to print'.  This is despite the fact that I go to Edit and Select All (and the pages show as being selected) before I try to print!
    Can anyone tell me what I am doing incorrectly, PLEASE!

    I also receive this error.
    Adobe Reader X 11.0 on Mac OS X 10.7.5
    Additionally. I'm unable to print any documents. The print dialog simply does not appear when I select File --> Print.
    Any advice / fixes appreciated.

  • Unimplemented or obsolete function

    I just purchased and installed Acrobat 9 (9.3.1) on an XP machine.  When I open a pdf where someone has added lines, note boxes, etc., I get this problematic "An unimplemented or obsolete function was called" error.  I click OK, but it just pops up again.  The only thing I can do is close the program with Task Manager.  The guy from telephone support said it was a scripting problem (like it was my fault) and I should contact their developer support.  I never had this problem with Acrobat 5 or with Reader 8, which I had to uninstall to load 9.
    Nothing like spending $250 on a new program that works worse than the old one.
    Anybody having similar problems with a solution or suggestion?
    Thanks.

    The error only occurs on files where I or someone else has edited a pdf with Acrobat.
    I can do a sticky note, but can't do a text box, draw line/circles or highlight, etc.  As soon as I perform one of these functions or try to scroll in the document, the obsolete function message hits and I have to shut the program down through task manager.
    I just tryed to create a form and when I click on any function in the form toolbar, I get a "failed to load application resource (internal error)" message.  I can fill out form fields if they already exist in the pdf.

  • Saving with Reader Enabled Acrobat Pro OSX

    Hi, I have a form that I populate using a 3rd party tool.  When this form is opened in Adobe Reader I got the message "this form has changed and is no longer redaer enabled".  I solved this by purchasing Acrobat X Standard and using it to re-save the form as  "save as" -> "reader extended PDF" -> "Enable forms fill in...".   Then when I open it again in ADobe reader I am able to fill in fields, save send to someone else who does the same etc.
    However, my co-worker who needs to do this uses a Mac.  So I had him buy Acrobat.  He was only able to find "Adobe X Pro" so that is what he bought.  The behavior of this program is very different.
    When he opens one of these forms that has been populated by my 3rd party tool, he goes to save it as "reader enabled" the options on the "save as" menu are very different.  Only the bottom on is available (says something like "extended features". Anyway, when he chooses the only option available he gets a message that says "this form is already reader enabled".  !!!!!  This is a problem because if we open that same form with Adobe reader it says "This form is no longer reader enabled"
    We have spent $800+ buying two versions of Acrobat and still do not have a solution, feeling more then a little frustrated. 
    How can we force Acrobat Pro X osx to resave as "reader enabled"
    Help!!!

    Your "3rd party tool" probably corrupts the file in some way, or at least changes it and thereby removes the additional reader rights enabled by Acrobat.
    In Acrobat X Pro (Windows or Mac, doesn't matter) you enable those rights by going to File > Save As > Reader Extended PDF > Enable Additional Features.

  • Subform duplicates when saved as reader enabled

    Hi all,
    I have run into a strange issue in my form. I have a subform that is repeatable and it works perfectly when I test the form in Livecycle or Adobe Reader. However, when I use Adobe Acrobat to save the form as Reader Extended PDF>Enable Additional Features it screws up the form so that when it is opened in Reader there are two instances of my subform instead of just one. To make it worse, every time the form is saved and re-opened it adds a new instance of the repeatable subform.
    Does anyone have any idea why this might be happening and what I can do to fix it?

    When you encounter this kind of issue, you must find which object is causing this problem.
    When you save the file with Adobe Acrobat it saves it as it is, but when you open it, Adobe Reader is mixing two objects together which cause one of them to have some properties of the other object.
    I suggest you make a copy of your form by saving it as another name, then start to delete objects EXCEPT the one having this issue until the issue is gone.
    When the issue is not occuring anymore, that means the last object you have delete is the problem, you might have to change its name or recreate the object..
    It might happens often if you have two different object in two whole different paths that has the same name, just by changing its name might fix the problem
    It might happen if you have two other objects than the one having the issue with the same name as well which means
    e.g.
    Object name having the issue: frmRepeat
    And accross the hierarchy you have two other forms named frmBlank
    You might have to change one of the frmBlank's name to fix the problem...
    I know it might be a long way to debug this issue, but it is how you can fix it

  • Queries around Reader enabled plugins

    Hi,
    I'm in the process of developing a plugin for adobe reader and was wondering if someone could help me clear the following doubts before I go ahead:
    1. I want to add a new menu item to the Adobe Reader interface and launch another application when this menu item is clicked. Is this possible? Or are there any API restrictions?
    2. If my plugin is going to be used within an organization, do I need separate keys for each employee? Is a key required per plugin or is it required per instance of the plugin?
    3. What happens when the key expires? Do I get another key? Or is the same key renewed? Basically, I need to know if I will have to recompile and reinstall the plugin every time the key expires.

    You will get more replies when you post your questions in the forum 'Acrobat Developers SDK'.

  • Reader enabled form unable to save-- PLEASE HELP!

    Hi
    My colleague experienced an issue that I don't know why it happened.
    I created a form via Acrobat Pro 9, and reader-enabled it so that she could fill in the information.
    Prior to sending her the file, I have tried it using Reader  8 and saved it, and even collecting the info with no trouble.
    However my colleague did not have the same easy experience as I.
    She said she tried 'saving' it and got a message saying 'she could not save the file but could print it.'  and she can't even 'attach via email' to send this form to me!
    I don't know why this would be the case.  Could it be the problem with my form? Or, the version of reader that she had (I am assuming she would have the same version as I since we work at the same organization!)
    Can someone please help solve this mystery? I need to send the form out to other people but must fix this before
    Thanks so much!
    Much appreciated!

    Hi GKaiseril:
    Answers to your questions:
    What product and version was being used by the person who could not save the PDF?  *Not sure but likely Acrobat Reader 8.0
    Did you apply Extended Reader Rights or Enabling Comments? *Yes. Extended reader rights.
    Did you apply any security? *No security added.
    I found out that she was 'adding' changes onto the 'filled' form that I sent her.  Perhaps that form was not reader-enabled or, she has done something that was not allowing her to save.
    Is her troubles normal?

  • Open file attachment from text links within reader enabled pdf document...

    I created a PDF file with embedded sub pdf documents in Adobe Acrobat Pro X.
    Then I created a link to text part (Actions: Run a JavaScript).
    The JavaScript code which is executed by clicking the link is shown below:
    var d= this.dataObjects;
    dd="abcde-123_test.pdf";
    for (var i=0; i < d.length; i++) {
    if (dd.indexOf(d[i].name)>=0) {
    odoc=openDataObject(d[i].name);
    dc=odoc.path;
    odoc.closeDoc();
    app.openDoc(dc);
    Having the PDF file without reader enabled extensions, the link works perfectly.
    After activation of reader enabled extensions and reopening it in Adobe Acrobat Pro X, the same document raises the following error:
    RaiseError: The file may be read-only, or another user may have it open. Please save the document with a dfferent name or in a different folder.
    Doc.closeDoc:7:Link undefined: Mouse Up
    ===> The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder.
    Opening this reader enabled PDF document in Adobe Acrobat Reader X, the following error is displayed:
    Exception in line 7 of function top_level, script Link:Mouse Up
    The initial non-reader enabled PDF document displays the very same error message when being opend in Adobe Acrobat Reader X instead of Adobe Acrobat Pro X.
    Can someone comment on my issue?
    Many thanks!

    OK, now I changed the code as follows:
    dd="abcde-123_test.pdf"
    this.exportDataObject({cName: dd, nLaunch: 2});
    It works perfectly in Adobe Acrobat.
    Once it is saved as "Reader Enabled", again the same issue occurs:
    Exception in line 7 of function top_level, script Link: Mouse Up
    So... What to do now?
    Thanks in advance!

  • Adding attachments to Reader enabled forms in Adobe reader

    I am creating a form for a user where they need to add an attachment to the form from Adobe Reader.
    They also need to save the form locally, as this is a low volume usage, approx. 100 uses in total the rights are being enabled in Acrobat Professional 8.0
    Functionality all works fine until the form is reader enabled and the script no longer functions.
    the script being used is as follows
    var oDoc = event.target;
    oDoc.importDataObject("Strategic Research Plan");
    var d = oDoc.getDataObject("Strategic Research Plan");
    app.alert("The name of the file you attached is: " + d.path);
    I have seen some comments indicating the file system cannot be accessed when rights have been applied, does anyone know if this is the case? or if there is a way to make this work.
    this is being done with Professional 8 and Reader 7.02 or later
    Any comments will be appreciated!

    Hi Pat,
    Yes I was using Firefox 19 indeed. This certainly fixed it.
    Thanks for the help!

  • FORMS: Reader Enabled forms are not saving for all users

    I have created several fillable forms with both Acrobat Pro 8 & 9. All have been created with Extend Reader Rights In my testing i have success saving the forms in Reader (various versions as old as 7).
    After sending the forms out via email the saving functionality is hit and miss for all of our employees. Some can save others cannot. I can't seem to find a common thread as to why this is happening.
    All forms are created on a Mac OS X 10.6.1 and then sent out via email to Windows and Mac users about 50/50. Both OS users are having trouble
    There is no need to collect the data on a server or anything just trying to make it easier and waste less paper. We don't mind send PDF attachments all the time.
    Any help would be great!
    Thanks!

    here is one of the forms that is not working in Reader (except on my wife's PC and another Mac) it is the current PDF form i am having trouble with. If we can resolve the issue then it will help me resolve my other forms too. I have made them all using the same process. (Maybe therein lies a problem)
    Form Creation Process:
    Create initial page layout in Pages (mac app for those that are not familiar)
    Export as PDF
    Open PDF in Acrobat Pro 9 (started making forms in v8 now i am working in v9 - both have produced this problem)
    Run Form wizard, adjust fields, save final version of form
    Extend Features in Adobe Reader (via Advanced menu) - Follow steps to save a new Reader Enabled version
    Email new RE version to co-workers
    All can fill out the form, only a couple can actually save the partially completed / fully completed form for reference, filing, or submission.
    Am I missing something? Thanks for all the help so far!

  • Reader enabling my plugin

    Hi all,
    Here is where I am at:
    I ran the MakeKeys and submitted the key to Adobe via the RIKLA form and was sent back the RIKLA-DigCert.rc file
    I have a compiled Adobe Reader Plugin with the "READER_PLUGIN" HFT preprocessor definition which works exactly as intended in Adobe Acrobat Standard.
    I have run SignPlugin with the following parameters:
    SignPlugin -kp keypair -cf RIKLA-DigCert.rc TT.api - with the result:
    "TT.api successfully Reader-Enabled""keypair" is the original keypair created by MakeKeys in the "kp" paramter
    I have done none of the "API_DIGITAL_CERTIFICATE" stuff, as found in the ReaderEnabling.pdf that is widely available - I assume this is very out of date for Reader X
    However, having done this, when I copy the TT.api plugin to the plugin directory of my or any other computer's Reader directory under Program Files, it does not load.
    Question is two fold:
    Have I missed a step? Perhaps something to do with API_DIGITAL_CERTIFICATE or something I need to incorporate into the VS2008 project...?
    How can I debug what is happening to prevent loading?
    I am happy to put up code or the actual .api file if they are useful,
    Thanks in advance for any advice,
    Dom

    I received a very helpful message from an Adobe employee who gave me the following information:
    [...] Is your plug-in based on any of the samples in the Acrobat SDK? If so, it will link to the AcroDspOptions.rsp file in the Samples directory in the SDK. You need to open this file in a text editor and remove the line:   /D PI_ACROCOLOR_VERSION=0x00060000        Save the file, then rebuild your plug-in and enable it with the SignPlugin tool. Note that some of the other samples in the SDK require this to be defined so you may want to copy it to another file so you can easily put it back later. [...]
    My plugin was based on the samples in the SDK, and removing this line from the AcroDspOptions.rsp file solved the problem.

  • Still can't sign form created in Adobe X, saved as Reader Extended PDF, Additional Features enabled

    I've been trying to make a form work in Reader with fillable fields and signature enabled.  I want to give users the option of typing their information and using  a choice of Pen Signature or Digital Signature.  For some reason you can neither fill in the forms nor insert digital signature or use the Pen option to sign.  All highlighted fields are just shaded boxes in Reader, not fillable.
    After saving and reopening with Adobe X Pro,  both security and document properties indicate the form allows fillable fields and signing but I get the following message when testing in Adobe Reader:
    The security settings on this document prevent adding text and/or placing a signature on it from Adobe Reader,.  To fill and sign this you need to print it out.
    Document properties are set to No Security, with no restrictions and Edit>Preferences>Security>Digital Signatures has nothing ticked on the first page. 
    Digital Signatures Advanced Preferences are marked as Verification document specific, prompt if not available; Ignore document validation; Verify Signatures using Current Time. 
    Under Creation tab Default Method is Ask When I Sign.  Default Signature Signing  Format is locked at selecting between the 2 certificate standards - PCKS #7 - Detached and CAdES - Eaquivalent.
    I've tried leaving out the digital signature verification which is, of course, impossible when there are Digital Signature fields in the document.
    The goal is to be as paperless as possible but this sure isn't working if you have to print it out.  And, of course, it can't be saved in Reader, either, to then try to fill in the forms.
    Any and all answers are appreciated!

    Thank you for the info, George.  I have posted an example on dropbox - https://www.dropbox.com/s/qyiudku6pqm3kxf/rehire%20packet%20rev%20Mar%202013%20%28full%203 a3%29.pdf
    I'm getting closer to resolving as at now text can be entered in non-signature boxes.  Given who will be completing these forms I'll stick to e-signature rather than digital.  Do I use a different form field for those or does the recipient plug that in from the Sign section in Reader?
    Anne at goatnpt

  • Plugin issue after using SignPlugin and Reader-enabling

    Hi all,
    I would like to ask for a help with plugin that we have developed for Adobe Reader.
    We are running into an issue with the plug-in and I was hoping that you can help me out.  It looks like plug-in works perfectly in the Acrobat but we have an issue with getting it  to work with Reader as described below.  I would greatly appreciate your help.
    We have a problem with plugin after signing it using RIKLA certificate provided by Adobe and Reader-enabling.
    Our plugin has been developed to allow users to sign PDF XML data from Reader user interface using custom library (sign library) and msxml3.dll library ( to transform PDF form XML into custom XML format). Plugin target is Adobe Reader 9 and it has been tested using Adobe Acrobat 9 earlier. Recently we received RIKLA certification key and after we tried to sign plugin and use it in Reader we started to have problems.
    Plug-in, compiled directly from source code and installed in Adobe Acrobat 9 is working correctly. We haven’t experienced any issues and everything seems to be working properly.
    The same plug-in signed using SignPlugin tools from Acrobat SDK 9.1 (command SignPlugin -kp keypairFileName -cf Reader_Integrated_Key_FileName  MyPlugin.api) and RIKLA key is not working correctly in Adobe Reader 9.
    The problem appears when plugin is trying to access external library msxml3.dll and execute createProcessor() function.  The same function work properly in Adobe Acrobat 9 before sing plug-in with RIKLA key.
    Below there is fragment with code that doesn’t work in Adobe Reader after reader-enabling but works in Adobe Acrobat.
    Plug-in crushes in line pProcessor = pTemplate->createProcessor();.
    try{
      pProcessor = pTemplate->createProcessor();
    } catch(_com_error &e) {
      printf("Error setting XSL style sheet : %s\n",
             (const char*)_bstr_t(e.Description()));
      AVAlertNote("Error setting XSL style sheet");
      AVAlertNote(e.Description());
      exit(-1);
    Code that we use in catch() block lets us know that error source is “msxml3.dll” library.
    As we have discovered problem occurs only after Reader-enabling .api plugin file. Clear compiled .api file works properly in Adobe Acrobat 9 without any problems.
    We would like to know if you have experienced any similar issues? If yes, what have caused them?
    Why same plugin is working in Acrobat 9 before signing and after signing using provided certificate it stops working?
    Are there any restrictions of using external libraries in Reader that are not working there, and these restrictions are not obeyed in Acrobat?
    Any help would be greatly appreciated.

    Hi Irosent,
    Is there a way that Acrobat and Reader differentiate between library initialization?
    Would it be useful if I place any part of code or project configuration for you so maybe you will be able to help?
    Libraries that we use (our own dll files) we place in windows/system32 folder (there also exists msxml3.dll file that we use).
    Here are preprocessor definitions that we have defined:
    _AFXDLL
    _USERDLL
    READER_PLUGIN
    NDEBUG
    WIN_PLATFORM
    WIN32
    _WINDOWS
    WIN_ENV
    ACRO_SDK_LEVEL=0x00090000
    As for library msxml3.dll that we use in code we have:
    #import <msxml3.dll>  named_guids
    using namespace MSXML2;
      MSXML2::IXMLDOMDocumentPtr
              pXml(MSXML2::CLSID_DOMDocument);
      MSXML2::IXMLDOMDocumentPtr
              pXslt(CLSID_FreeThreadedDOMDocument);
      IXSLTemplatePtr pTemplate(CLSID_XSLTemplate);
      IXSLProcessorPtr pProcessor;
    Later there is a part of code that I have posted in first post and where plugin crashes.
    I would really appreciate your help.

  • Will a reader enabled form preserve dynamic elements after saving

    Hi there
    Following on from my previous question, I began to think about the problem.  Can anyone tell me if a reader enabled form will preserve any dynamic elements once saved by the user?
    Thanks

    It should - I dont see why not. What are you trying to do, specifically? Are you working with subforms, and/or the visiblity of elements?

  • Reader enabling Adobe plugins

    Hi,
    I've been trying to Reader enable my plugin that works well with Acrobat Pro 9.0. However, everytime I load the plugin in Acrobat Reader 8.0, it throws an error saying "Invalid plugin detected. The reader quit"
    I have ensured that "Certified plugins" flag is disabled in the Reader.
    My guess is that either I'm not following the right steps for enabling the plugin or my key is corrupt.
    Can anyone tell me the exact steps for reader enabling a plugin if I'm using VS .NET 2005? Are the steps any different from VS .NET 2003?
    Also, is there a way for me to verify if the key I've received is corrupt?
    -Harsha

    Mmmm.. I'm not very sure. But I dropped a mail at the following address: [email protected]
    BTW, SignPlugin stopped throwing that error. It successfully "Reader Enables" my plugin. But the plugin does not load in Adobe Reader.
    I read in the documentation that checking the size of the key helps you identify if its corrupt or not. The Integration Key that I received from Adobe is 129 bytes long. Could it be corrupt?
    Also, to be more precise about the steps that I follow if I don't use SignPlugin (I basically tried both approaches. But neither of them worked):
    1. I basically add Dummy.rc as a project resource
    2. I then open the "API_Encrypted_DIGEST" Resource and paste the key that I received from Adobe below, the first 64 bytes of data (all 0's) that is already there.
    3. I then buld the plugin
    4. Then I used the Makemd32 tool to generate the actual Digest
    5. Once that was done, I replaced the first 64 bytes with the data I received after running the tool
    6. I then Build the plugin again (not Rebuild)
    7. I then place the .api file in the plug_ins folder of the Reader
    Am I doing something wrong here? Should I be having two resource files? One for the Encrypted Digest and one for the Digital Certificate. I have project deadline coming up and I'm completely clueless about what;s going wrong. Any guidance would be great!
    -Harsha

Maybe you are looking for

  • How to edit a mp3 track

    Hi, I dragged and Dropped and Mp3 File in a Track, and I want to edit/cut some sections of it.  How do I acheive this?

  • Error in Mapping Execution

    Hi Experts,    I am doing the dat file to RFC scenario.. development has been done.    While testing i am facing the problem with mapping execution. I have tested with single record structure and multiple record structure.. but getting the same error

  • Prototype Constant pattern

    Hi all, I have problem compiling the following prototype constant pattern. The strange thing is that it compiles with JBuilder but not with the command line. I am using JDK1.4.1. Thanks for any advice, Vincent package com.ascom.teamphone.MediaWrapper

  • Please advise print form for AR invoice in FI for USA

    Hello everyone, Could anybody please advise me name of SAP script form and name of printing program for AR invoice in FI module for USA localization (USA add-on) which can be used for print correspondence. Thanks in advance, Andrey

  • How can i find my stolen iphone5

    can i find stolen iphone somehow