COM / DDE behaves differently in Acrobat Reader 9.0 ??

Hello !
We have a big client application (written in Delphi) which uses DDE extensivelly to handle printing tasks. It works fine with Reader 6.x, 7.x and 8.x but we are unable to make it work with the latest Reader 9.0.
We create an instance of Adobe Reader as an OLE object and control it using DDE but this method seems to fail with the new Reader 9.0's in-proc instances. (We need DDE FilePrintTo to direct printing to different devices without any user interaction ...)
One of the symptom is that there is not a visible separate Adobe Reader process for our OLE object in TaskManager anymore ...
Anybody else experiencing similar problem ? Is there any workaround available ?
Thank you for any suggestion ...

Leonard - we use the best from both technologies - OLE & DDE - unfortunately all OLE exposed methods implement printing to the default printer only - meanwhile DDE FilePrintTo can print to any printer specified ...
This is not about DDE being depreciated - standalone Acrobat Reader 9.0 can still be controlled via DDE the same way like the previous versions - what has changed is that the OLE created Reader instances are now in-proc - while 8.x's OLE instances ran out-of-proc ...
Why is there no OLE method similar to FilePrintTo - that could be passed a requested printer as a parameter ??

Similar Messages

  • Acrobat Reader 9 + DdeClientTransaction + FilePrintTo

    Hello,
    this is my problem, I'm developing a software C++ based with a PDF Print functionality using DDE messages.
    The actual released version print PDF with Acrobat 7 and all run correctly, DDE management below:
    ShellExecute for Acrobat Reader execution
    DDE:
    DdeInitialize with CBF_FAIL_ALLSVRXACTIONS
    DdeCreateStringHandle for "acroview"
    DdeCreateStringHandle for "control"
    DdeConnect
    DdeCreateDataHandle for "[FilePrintTo(...)]"
    DdeClientTransaction with DdeCreateDataHandle and XTYP_EXECUTE
    This code run correctly both Acrobat Reader 7,8 and 9
    Now I'm developing a new release for manage multi-instance of Acrobat Reader and I need to control the single instance directly, this is the new logic:
    ShellExecuteEx for Acrobat Reader execution
    DDE:
    DdeInitialize with CBF_FAIL_ALLSVRXACTIONS
    DdeCreateStringHandle for "control"
    DdeConnectList for check all opened instances of Acrobat Reader
    First strange case, if I pass to DdeConnectList both Topic and Service no instance of Acrobat Reader was found, I must pass only the Topic.. why??..
    Now I loop the connections list with DdeQueryNextServer to find my original instance of Acrobat Reader and get the relative HCONV
    DdeCreateDataHandle for "[FilePrintTo(...)]"
    DdeClientTransaction with DdeCreateDataHandle, the found HCONV and XTYP_EXECUTE
    Now the problem: anytime I launch a print task the DdeClientTransaction fail, the pdwResult return DDE_FNOTPROCESSED and DdeClientTransaction return DMLERR_INVALIDPARAMETER
    I don't understand where is the problem, the parameters are correct and are the same of the previuos versions.. but the only one difference from the previous version is the connection management, the first with DdeConnect is DDE that check for an open acrobat window and send the dde message by itself, in the new case I search the right window and I send dde message to this one.. any ideas?
    Let me know... I don't know what also can try..
    Thanks
    Giordano Pellegri

    So.. no the problem isn't the number of instances.. but the method to send data between my client DDE app and the Acrobat Reader DDE Server, in my old version I use the method DdeConnect to connect but I don't know to which Acrobat I will connect to, in the other version I use DdeConnectList for check all the Acrobat DDE Server are running, then I select my Acrobat DDE Server and I use this one with the DdeClientTransaction.
    With DdeConnect my sw run correctly with Acrobat Reader 7,8 and 9 without problems.
    Some pieces of code
    Old method:
      hConv = DdeConnect(dwDDEInst,
        hszApplication,
        hszTopic,
        NULL);
      hTransaction = DdeClientTransaction((LPBYTE)hDataHandle,
          (DWORD)-1,
          hConv,
          NULL,
          0,
          XTYP_EXECUTE,
          TIMEOUT * 1000 * multiplier,
          NULL);
    New method:
       hConvList = DdeConnectList( (DWORD)dwDDEInst,
              (HSZ)NULL,
              (HSZ)hszTopic,
              (HCONVLIST)NULL,
              (PCONVCONTEXT)NULL);
    while ((hConv = DdeQueryNextServer(hConvList, hConv)) != NULL)
    some check for my acrobat window/dde
         hConv = DdeQueryNextServer(hConvList, hConv);
       hTransaction = DdeClientTransaction((LPBYTE)hDataHandle,
          (DWORD)-1,
          hConv,
          (HSZ)NULL,
          (UINT)NULL,
          (UINT)XTYP_EXECUTE,
          (DWORD)TIMEOUT * 1000 * multiplier, // ms timeout
          (LPDWORD)&DdeTransRes);

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How to install Acrobat Reader in a different drive?

    Hello!,
    I was just wondering if anyone out there knows how can I install Acrobat Reader in a different drive than just directly in C:. It goes by default there whenever I try to download it from the site, and there's no option anywhere to choose where it will install the program. I need to change the drive cause my C: is too full and dont have much else to delete from it, but have plenty of space in D:. Is it possible somehow to install the program in a different drive than c:? Please help!
    Thanks,
    Marcus Bale

    Download the full installer from http://get.adobe.com/reader/enterprise/
    When you run the installer, use 'Change destination folder' at the bottom of the panel
    If you already have Adobe Reader installed on the C: drive, you must uninstall it before installing a new version on a different location.

  • Why can I not install Acrobat Reader in a different drive / directory

    why can I not install Acrobat Reader in a different drive / directory. I need to install this in a different drive. I prefer to keep the Os drive free of rubbish. Is there an option in an install to allow this to happen?

    What is your operating system & version?
    If you are on Windows, download the offline installer from http://get.adobe.com/reader/enterprise/ and click 'Change Destination Folder' and the first install panel.
    [topic moved to Adobe Reader forum]

  • JavaScript in Form Acts Differently in Acrobat X and Reader X

    I have a fillable PDF form whose Submit button calls this JavaScript:
    this.mailForm(true);
    When I open this form in Acrobat X Pro and hit the submit button, a mail dialog box comes up as I would expect.
    When I open this form in Acrobat Reader X and hit the submit button, I get the error:
    Not allowed error.  Security settings prevent access to this property or method.
    Why the difference?  Note that I will have this form on my website, so I cannot expect my visitors to change their Reader setting.  How can I fix it?

    Thanks for your response.  In order to give my form what I believe to be the "according rights," I opened my form in Acrobat X Pro.
    I then did Save As - Reader Extended PDF - Enable Additional Features.
    After saving the form, the fields could be edited in Reader.  However it behaved the same way with this.mailForm(true) attached to the submit button.
    I got the error: "Not allowed error.  Security settings prevent access to this property or method."  Why?
    Note that for what it's worth, I had also earlier gone to the Acrobat X Pro menu item "Manage Trusted Identities" and selected Certicates - Edit Trust and checked all the boxes including "Embedded High Privilege JavaScript" and "Privileged System Operations."

  • Talking to Internet Explorer embedded Acrobat Reader via COM

    Hi all. I'm developing an Internet Explorer BHO (browser plugin) and was wondering whether it's possibly for me to communicate with Acrobat Reader via COM. I have read through the SDK docs and it's not clear whether this is possible. I'm using unmanaged c++.
    I think if this can be done I think I will need to call get_document(IDispatch *p) on the webbrowser control, then using p->QueryInterface(...) to gain access to the Acrobat document. However, to do this I will need to pass in a REFIID to QueryInterface. As such I need to find some documentation on the supported COM interfaces and various IDs I will need to use.
    If anyone could point me in the right direction, that would be great.
    thanks,
    Zoltan!

    Thanks for your reply. We are writing a web annotation tool as an Internet Explorer plugin. The web annotation part of it is complete, and now we are looking at being able to make annotations on pdf documents loaded within the browser.
    Where can I find information about the limited APIs on the ActiveX control you mentioned? Do you think we should be looking at a different approach?
    thanks,
    Zoltan

  • What is the different between adobe reader and adobe acrobat reader?

    what is the different between adobe reader and adobe acrobat reader?What are the procedure to download a Acrobat reader?

    Good day,
    Adobe Reader is a free application we offer for viewing and printing PDF files.  Many years ago, it was known as Acrobat Reader.  You may still see some users refer to Adobe Reader as 'Acrobat Reader'.  Old habits are sometimes hard to break!
    You can download Adobe Reader by visiting: http://get.adobe.com/reader/
    Kind regards,
    David
    Adobe Systems

  • Calling custom COM-based library from Acrobat/Reader javaScript

    Hi All,
    is ist possible to extend the javascript object model? For example, is it possible to call a custom COM-based library from Acrobat/Reader using javaScript. Or is their a diffrent way to call third part libs?
    Thanks
    CommanderPeek

    I need a Reader Integration to a document management system (DMS). The user should interact from Reader GUI with the DMS.
    Nobody is able to give me binding statement, if my customer (this company need plugin for internal use only) will get the Adobe Reader Integration Key License/digital certificate for such a Reader plugin and how high the costs will be. I wait and wait for Adobes’ Feedback :-(
    For this reason I check a different solution with Javascript but I have no idea how to make calls to the DMS from Javascript. On other side are COM- or .Net-based libraries available.

  • I have a Dell Inspiron 1545 and I can't download Adobe flash or Adobe acrobat reader, when I try to play my games it says update flash and when I try to download it the screen comes up blank

    I have a Dell Inspiron 1545 and I can't download Adobe flash or Adobe acrobat reader, when I try to play my games it says update flash and when I try to download it the screen comes up blank

    Try the offline installers:
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    For Adobe Reader: http://get.adobe.com/reader/enterprise/

  • Acrobat Reader X Protected mode and DDE

    Hi,
    I have an acrobat reader plug-in that we communicate with using DDE commands (based loosly on the DDEserver sample from the SDK). However, it doesn't work in Acorbat Reader X Protected mode.
    I've tried using the ProtectedModeWhitelistConfig.txt method but to no avail.
    Did anyone encounter this issue with plug-ins that uses DDE? Can anyone point me to solution or alternative way?
    Thanks,
    Yoav

    Thanks for the reply.
    IF the whitelist is indeed the correct way, i couldn't make it work with it. I must say that the documentation out there on the whitelist is far from being perfect. The closest thing I found was about namedpipes in the Broker log but nothing on DDE.
    As for the license and developer support - The license was granted years ago and I'm not sure if developer support is still active for us. How do I check this?
    Yoav

  • Acrobat Reader XI - Acrobat failed to connect to a DDE Server

    I have recently purchased a new computer running Windows 8 and have installed Acrobat Reader XI. When trying to open pdf file get Fatal Error (Acrobat failed to connect to a DDE server)
    Any suggestions?

    Disable Protected Mode [Edit | Preferences | Security (Enhanced)].

  • I need help installing Acrobat Reader - messaged failed to connect to a DDE Server. Can't access documents

    I need help installing Acrobat Reader - messaged failed to connect to a DDE Server. Can't access documents

    Please see if "acrobat failed to connect to dde server" when openning Adobe Acrobat XI PRo helps.

  • How come I cannot use the Editing tools when i am using Adobe Acrobat Reader DC It wants me to Buy Now.  But when I use Adobe Acrobat Pro DC i have no problem using the Editing tool yet   I had Adoboe Acrobat XI Pro then it was upgraded to this DC stuff

    I am already paying a subscription for Adobe Acrobat XI Pro  Now it want me to buy when using the edit tool or even the tool to insert pages Never had that problem before??????????????

    Acrobat Reader can't edit PDF files. Use Adobe Acrobat Pro DC.

  • How can I use the "Copy and paste" tool in order get stamps in the same position in different pages (Acrobat XI for PC)?

    With Acrobat 6.0 I was able to copy a stamp in the same position (I mean "exactly" the same one) of different pages just by using the "copy/past" tool.
    Now I am using Acrobat XI and it seems like it is not possible anymore: I am copying a stamp and I am trying to past it in anoter page, but it appears in the center of the page (or wherever it wants to...).
    Does anyone have a solution?
    Thanks in advance.

    Thank you very much. I'll be waiting for you message.
    Messaggio originale----
    Da: [email protected]
    Data: 26/01/2015 17.56
    A: "Umberto Gangi"<[email protected]>
    Ogg:  How can I use the "Copy and paste" tool in order get stamps in the same position in different pages (Acrobat XI for PC)?
        How can I use the "Copy and paste" tool in order get stamps in the same position in different pages (Acrobat XI for PC)?
        created by Gilad D (try67) in Creating, Editing &amp; Exporting PDFs - View the full discussion
    Well, I was in the same situation so I've developed a tool that allows one to do it. I will send you some additional information about it in a private message.
         If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7132586#7132586 and clicking ‘Correct’ below the answer
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7132586#7132586
         To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, &amp; "Stop Following"
         Start a new discussion in Creating, Editing &amp; Exporting PDFs by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

Maybe you are looking for

  • How to connect old Apple Cinema Display to new Mac Mini?

    Hello, I'm considering replacing an old Mac Mini with the new model, but I intend to keep on using my old Apple Cinema Display 20" with it. But i'm having some trouble finding the right conversor (it seems there isn't any from Apple...) Any suggestio

  • Mountain Lion calendar .ics invitations don't go to date of event

    Hi there, I installed Mountain Lion recently as a stepping stone to Mavericks.  When I receive Calendar invitations in the form of .ics attachments and open them Calendar does not take me to the event. This means that I have to trawl through Calendar

  • Where to get wallet file of OMS 11g

    Hi all, I have installed 11g Grid control OMS and repository database too. now evwerything is perfect, but on the agents i want to map the OMS server at the agent i.e. EMD URL as a netscller name. my server name is : - HOST11g the server name mapped

  • Best chinese characters font

    I'm currently learning chinese and I noticed the characters look really not ok. From arch wiki, ttf-tw - Kai and Song traditional Chinese font from the Ministry of Education of Taiwan (AUR). wqy-microhei - A Sans-Serif style high quality CJK outline

  • Infotypes and Payroll

    Hi,     Customer does not want to give display authorization for few fields in the infotypes how to resolve this issue?     To implement sap payroll what are the mandatory modules for HR ?     How do you transfer data from PA to PD ? regards, kumar