Acrobat Reader X / 10 - javascript console problem / crash

Hi,
I develop adobe interactive forms and need javascript console badly!
My system:
Windows XP Prof.
Acrobat Reader 10 (free)
Internet Explorer 8
Adobe Livecycle Designer ES 9 (latest version)
The javascript console works just fine if I start an adobe form "native" = with Acrobat Reader X directly.
But if I use Adobe Livecycle Designer (latest version) [the issue also described here], the console just crashes / disappears right after it started.
The same happens if I open the pdf-file (adobe interactive form) with Internet Explorer.
E.G:
- When using Acrobat Reader "native":
             console will open up on javascript syntax errors or by klicking a button (   javascript = console.show();    )
-  When using Internet Explorer or Adobe Livecycle Designer:
              the same pdf file cannot view the javascript console. it just "disappears immideatly" / crashes
There is any technical support for Acrobat Reader expect this forum - so I was told when I called adobe hotline.
I hope anyone could actually help me here.

Hi,
Don't open the console just the reader application. and then open the console from your script as you do.
I have noticed in the past that sometimes the console appears for a very short period of time and then vanishes and this appears to be caused by the console window being associated with the open Adobe Reader application ( when it has no documents open) rather than the open PDF file in the preview or browser.
Just a thought
Malcolm

Similar Messages

  • JavaScript Console Problem (only in LS preview mode)

    Hello,
    my JavaScript console "crashes" in preview-mode in lifecycle designer. It just appears for a "millisecond"´, well I see it flicker at last.
    It doesn't matter if there is a syntax error or if I try to start the console by clicking a button ( Event click => console.show(); )
    The console just flickers.
    If I save the pdf file everything works fine. Console shows up on errors or if it told to do so (e.g. my button is clicked).
    I cannot afford to save the pdf-file every time for some reasons (livecycle designer is used in sap gui, I have to run the whole process to get the PDF ...)
    By the way, the same problem is present in Livecycle Designer if I use it "native", not called from within the sap.
    I have already tried to close the acrobat reader tasks. There are two of them, when adobe reader 10 starts (native or in livecycle-preview).
    But by closing one of the tasks, the second one closes, too. Therefore there is no help this way.
    I use Adobe Lifecycle Designer ES 8.0 (8.01.2008.1.380548) and Acrobat Reader X (10.0.1)
    The PDFs output in LS is set to Acrobat 8 (dynamic)
    In Acrobat Reader javascript console/debugger is set as active, as well as to show errors etc.
    It might be a problem realted to sap gui.
    I just ran the pdf-preview in sap gui. And Console didn't show up again.
    I have saved the same document from the sap print-preview on my local hd drive. Then started it with adobe reader and everything worked just fine.
    Please do not blame sap only. As I have told before: the same problem occurs if I use livecycle designer "native", not within sap gui

    nikg-fh schrieb:
    it seems the problem is caused directly by adobe reader X.
    I just have started a new descussion here (adobe reader forum).
    If anyone could help me, feel free to do so!
    my configuration:
    windows xp pro
    adobe reader x
    adobe livecycle designer 9 ( therefore it is not an version 8 issue )
    admin rights on the pc ; )
    I might add that you are not alone!
    I am having the same problem (LSD ES2 (version 9.0.0....) and Adobe Reader X and Acrobat Professional 8)
    Whenever I save a form as PDF and open it with Reader or Acrobat I get to see the console.
    But never when I view the form in Designer preview!
    That used to work until I installed Reader X.
    Same as you I checked all configurations in Reader and Acrobat: all perfect.
    I really do hope that someone finds a solution for this.
    PS. This problem should be discussed in THIS forum. It is clearly a Designer problem!

  • Acrobat Reader Versions and saveAs, exportXFAdata Problems

    We use generate Forms with Reader Extension Save enabled.
    The forms are then opened within Acrobat Reader. In the onClose Event a Script called "saveXMLData" is called. This script is install in the javascript folder of the reader installation.
    The script :
    var saveXMLData = app.trustedFunction(function(doc)
         app.beginPriv();
         doc.saveAs({cPath:"/c/windows/temp/savedForm.pdf",
              bCopy: true,
              bPromptToOverwrite: false });
         doc.exportXFAData({
              cPath:"/c/windows/temp/savedForm.xml",
              bXDP:false
         app.endPriv();
         return;
    Using Acrobat Reader 7, eveything worked fine.
    Using Acrobat Reader 9 "saveAs" crashes the Application after the document is saved and the filled in Data is not saved.
    Without the saveAs function, at least the export File is generate but the data that where filled in are missing.
    Using Acrobat Reader X "saveAs" crashes the Application as well. Leavin out the saveAs function, the export File is generated as expected. Thus the filled in data values are saved.
    Using Acrobat X Pro everything works as with Acrobat Reader 7.
    Our Problem is that the customer uses Acrobat Reader 9. Are there expected incompatibilities with the different versions. Does anybody know any workarounds, settings?
    By the way disabling extended security does not help.
    Thanks
    Max

    It cannot be a problem of the installation, because at least Windows 7
    was a fresh install with nothing but Reader additionally installed.
    By the way, what do you mean by "risky", I followed straight the
    documentation from Adobe, where one is allowed to place function calls
    requiring a privileged context.
    Have you any better idea where to place the call to save? It must be
    called automatically, when the User closes the window, no additional
    interaction is possible.
    One other thing is the call to exportXFAData, have you any idea why
    there is a difference in behavior between reader version 7 / 10 and 9?
    I wrote that in version 9 the user entered data is missing.
    Am Donnerstag, den 21.07.2011, 05:53 -0600 schrieb try67:
    No, it doesn't work.
    Sorry, I don't have any ideas except for trying to repair the installation
    of Reader.
    However, placing code in the WillClose event is considered risky and should
    be avoided if there are alternatives available.
    >

  • Acrobat Reader 9.1 ActiveX control problems

    We have an application written in VB.NET 2005 which displays a PDF file using embedded ActiveX control from Acrobat Reader (using AcroPDF.dll).
    The code to open the file is very simple:
    Me.AxAcroPDF1.LoadFile(_path)
    The application was compiled on the machine that had Acrobat Reader 8 installed and distributed. The users also had Acrobat 8 installed.
    Some of the users upgraded to Acrobat 9.1. I understand that it shouldn't really matter as the ActiveX control from 9.1 should be backward compatible.
    Yet some users cannot open the file and receive the following error message:
    "Error HRESULT E_FAIL has been returned from a call to a COM component"
    Some other users can open the file but have the following message when closing the application (which calls Me.AxAcroPDF1.Dispose() ):
    "The instruction at "0x0700609c" referenced memory at "0x00000014". The memory could not be "read"."
    What can cause those problems? How can I fix them?

    OK, no one responsed to my questions but I found answers for them so I thought I might put them here for those interested.
    As for "HRESULT E_FAIL" message, all that was wrong was the "Display PDF in browser" option in Adobe Reader preferences. It needs to be ticked. A bit weird but considering that it uses the same OCX in a web browser, it makes some sense.
    As for the memory issues message, I need to unload libraries manually before exiting the application (as suggested in some other thread in this forum):
    <DllImport("ole32.dll")> _ 
    Friend Shared Sub CoFreeUnusedLibraries() 
    End Sub
    Me .AxAcroPDF1.Dispose()UnmanagedCode.CoFreeUnusedLibraries()

  • Acrobat Reader 8.1.1 - install problem

    I'm trying to install the Mars acrobat 8 plug-in, but the
    installer is telling me that I need to install the reader 8.1.0
    I have the Acrobat Reader 8.1.1 install, isn't this version
    supported?
    Thanks in advanced,
    Nelson Batista

    There's already a post by JBannon123 on this topic, but I can
    only see it if I'm not logged in.

  • Acrobat reader print with javascript script

    Hello,
    I read the documentation for printing silently using javascript, but it does not work as not all COM objects are installed.
    A code example:
    <body>
    <object id="examplePDF" data="DFWCRT133735.PDF" type="application/pdf" title="SamplePdf" width="100%" height="100%">
       Your browser does not support PDF, Please install Adobe Acrobat.
    </object>
    <div id="pdfprop">
    </div>
    <script type="text/javascript">
        var pdf = document.getElementById("examplePDF");
        var divProps = document.getElementById("pdfprop");
        if (pdf) {
    // Attempt 1: Works, but shown printing dialig which I do not want
    //        pdf.print();
    // Attempt 2: Does not work. Shows an exception about parameters when printing
            //var printParms = { bUI: false, bSilent: true, bShrinkToFit: true };
            //pdf.print(printParms);
    // Attempt 3: Does not work as can't instatiate unexistent progid, class AcroExch.PDDoc. COM object is not registered
            var srcDoc = new ActiveXObject("AcroExch.PDDoc");
            var jsObj = srcDoc.GetJSObject();
            var pp = jsObj.getPrintParams();
            pp.interactive = pp.constants.interactionLevel.automatic;
            pdf.print(pp);
    </script>
    </body>
    I read in google something about the Acrobat Pro version will have the missing COM object, but I can't force all my clients to buy that product. Is it possible with the reader version.
    I'll appreciate any help.

    I am trying with Reader 9.
    I am not trying to print from the server. The printing will happen on the client computers that is why I am trying to print using javascript from an html page. My clients do have different versions of Reader from 6 to latest
    Is there any way to achieve it with out installing anything else on the computers?
    Thanks,

  • Problem with printing from Acrobat Reader XI

    SInce I installed Acrobat Reader XI I have got problems with printing out pages. The text starts a bit down (2 cm) on the paper, resulting that the last part of the text on the page will be missing. And the missing part does not follow on page 2, it just don´t comes out!
    It doesn´t matter what settings i click in on the print setting page in Acrobat Reader, it always gets the same result.
    Does anyone know what can be the problem?

    No files appeared in C:\Users\Pavilion\AppData\Roaming\Adobe\Adobe PDF\Settings but they did appear in Distiller.
    I tried to copied them from C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Settings, but found they were already there.  I copied them by adding -COPY before .joboptions in the name.  Now they appeared in  Printing Preferences with the -COPY added.
    I tested a print from Word (using File / Print), but was not prompted for the filename or location.  I checked my entire system and couldn't find the PDF file anywhere.  I tried changing the Port to Desktop\*.pdf using Printer Properties, but that didn't work either.
    I was able to successfully use the Acrobat menu item in Word & Excel to create a PDF but it automatically created the file on the Desktop without an option to change the filename.
    After several days and hours, I gave up and installed Acrobat X on the W7 computer.  I can still use Acrobat XI on the W8 computer.  So be it!
    Thanks anyway for your attempts to help.

  • Acrobat Reader crashes with patch 108652-40

    Hello,
    I just installed Solaris 8 on a sun4u machine. After that I installed the recommended patches cluster. When trying to start Acrobat Reader 4.05 the CDE session crashes. After deinstalling the patch 108652-40 Acrobat Reader is working well again. Any hints where this behaviour comes from or what to do?
    TIA
    Guido

    This has been going on for ages. From my understanding v9.0.0 has an issue running on a domain with redirected folders, in particular the appdata folder. For some reason, if this folder has a UNC path not a drive letter then version 9 (Reader and full version) crash on launch. There have been a number of posts around the web about this since v9 came out. I'm surprised that Adobe havent sorted this out, cant be that hard a fix and I would assume that Adobe corp HQ run a windows domain with folder redirection in place
    We're still running 8.1.3, and waiting patiently for 9.0.1

  • Acrobat Reader 9.1.2 opens endless number of browser windows

    Hi all,
    after the update to Acrobat Reader 9.1.2 opening .fdf ends in an endless number of browser windows until Acrobat Reader gets killed or the browser crashes.
    Testet with FF 3 and IE 6 on WinXP SP 3. Preference Setting "PDF in Browser anzeigen" (open pdf in browser) has no effect.
    Any help or idea is welcome as this is causing serious problems for us.
    Regards,
    Andreas

    Hello again, Andreas:
    I believe I have found the resolution to your browser plugin issue but I'm sure it will require administrative privledges and will require modifying the Windows registry (not something for the faint of heart). If you are interested, check out the knowledgebase article here: http://kb2.adobe.com/cps/328/328233.html
    Something you may be able to try that doesn't require admin privledges:
    1. Open Reader
    2. Click Edit > Preferences
    3. Click Internet on the left menu
    4. Uncheck "Allow fast web view"
    Crosses fingers for you!
         Michael

  • Acrobat Reader XI fail to open file from unc path "Access Denied"

    Hi,
    When we try to open a pdf file from an unc path by double-click on it there is an error message : "There was error opening this files. Access Denied"
    If we do "File -> Open" the file open correctly. Same if we copy the file localy.
    After looking around Internet and other thread Acrobat Reader X got the same problem but seemed to be resolved with an update.
    If we desable "Enable Protected Mode at startup" the file open correctly (it is not a solution).
    Does anyone have a solution to this problem ?
    OS : Windows XP SP3
    Acrobat Reader : 11.0.2
    Regards,

    I have also seen this occur with one user's computer.  Another user with similar privileges and software setup does not exhibit the same issue however.  Would love Adobe to investigate and address this issue.

  • My PDF Document can't open properly in Acrobat Reader XI, But properly open in Acrobat Reader X

    Hi ~~
    As the topic, My customers using Acrobat Reader XI Can't open My Pdf file,
    But, same file can be opened properly in Acrobat Reader X,
    Acrobat Reader XI shows Error Message: Can't Capture Embeded Font
    Is there any update of Acrobat Reader XI can fix this problem?  pdf file sample: https://www.dropbox.com/s/68t63gz85ux3v5z/AAAAA.pdf

    Hey jameswangtw,
    Please ask your customer try downloading Asian Language Pack for Adobe Reader from the link given below:
    Adobe - Adobe Reader : For Windows : Adobe Reader 11.0.09 Font Packs - Asian and Extended Language Pack
    Regards,
    Anubha

  • Printing freezes Acrobat Reader various versions

    I have one (luckily, just one) client who has a problem printing from Acrobat Reader. So far, this problem has been with v6.x, v7.x, and v9.x (uninstalled 6.x, installed and uninstalled 7.x, and then installed 9.x, trying to solve this issue, with no changes).
    For the longest time, there was NO problem printing PDF files. Then, she couldn't print at all, it would bring up an error message. I read where setting/changing the default printer would solve this, and it did -- to a point.
    Now, when she tries to print (FILE | PRINT -- read below as to why this is necessary), it will print, but the printer dialog box takes a LONG time to come up (3-5 minutes) and then the drop down menu to select a printer takes a long time to come up, as well.
    She travels between various offices, which is why she must use FILE | PRINT -- she needs to choose the printer(s) that are available to her when she logs into the network. There are HP, Cannon, Lexmark, and other printers at these various locations.
    The problem *only* happens in Acrobat Reader. All of the other applications print fine.
    Today, I discovered something interesting by accident. If she is *disconnected* from a network, and starts a print job (again, FILE | PRINT), the printer dialog box opens almost immediately, as does the printer selection drop-down menu. She can then reconnect to the network, after selecting a printer, and then press OK (to print), at which time it does print just fine.
    So, in a nutshell:
    (1) It *only* happens when trying to print something from Acrobat Reader regardless of version.
    (2) It is *only* slow to bring up the printer dialog box, and printer selection drop-down menu when connected to a network.
    (3) It *will* eventually (say 3-5 minutes later) bring up the printer dialog box, and printer selection drop-down menu, and print, when connected to a network.
    (4) She is using Windows XP (I didnt check on the service pack version, it is, for certain SP2 at least, although she may have allowed Windows Updates to upgrade it to SP3). Multiple printers are being used, from various vendors (HP, Lexmark, Canon, others) so it is extremely unlikely that it is a printer driver issue.
    (5) There are others with identical laptops, Windows XP, and using the same printers and Acrobat Reader who also travel to the same offices and work in the same fashion as she, and they do not have this issue.
    So, anyone out there smarter than me, any suggestions about how to resolve this?

    Hi, I found this to work
    open cmd
    type the following and press enter after each command:
    c:
    cd\
    del arc*.tmp /S
    What the command does is that it deletes acrobat temp files that are stored on your pc, which slows down acrobat printing.
    I found this info at http://kb2.adobe.com/cps/403/kb403914.html towards the bottom of the page
    Hope it helps

  • Difference between opening pdf in IE and from Acrobat Reader?

    What is the difference between opening a pdf straight from a link in IE and going file open in Acrobat Reader, does one use the settings in IE and one use the settings in Acrobat Reader? I have a problem with some files on a company website which take a very long time to download when you click on them to open from IE but when they are saved to disk and then opened they are fine?
    Using Acrobat Reader 9.0 with windows XP SP2
    PS opening the file from the website works find with Adobe Acrobat 8 but not with 9.....

    Not sure about the exact differences but loading pdf files to view in a browser seems to have a high overhead (as in memory required to load and display the file). For that reason I prefer to view all pdf's in the reader. It's just quicker to load and smoother when scrolling to read.
    Simon

  • MS Word opens in Acrobat Reader

    Running Win XP Pro and Acrobat Reader 9.
    Whenever I attempt to open a MS-Word document, Acrobat reader opens up and tells me that the file type is not supported. Why would my opening an MS-Word .doc file make Acrobat Reader open up instead of the .doc file simply opening up into MS-Word like it is supposed to? If I uninstall Acrobat Reader, Word files open up in Office just like they are supposed to but with Acrobat Reader installed, I have this problem.

    You have to quit Word before you shut down (Command-Q or in the drop down menu).
    not just close a window- this does not quit the app.
    ML default is to relaunch open programs when you shut down- Unless you disable this feature.

  • Aufruf des Acrobat Reader per Shell (VB6)

    Hallo,<br /><br />ich möchte aus einem VB-Programm heraus den Acrobat Reader öffnen, um ein pdf-Dokument anzuzeigen, und zwar mit: shell <Acro-Pfad> <Dok-Pfad>, vbNormalFokus. <br />Das funktioniert auch aus dem Visual Studio heraus einwandfrei! <br />Wenn ich allerdings eine exe erstelle und die dann ausführe kommt folgende Fehlermeldung des Reader: 'Acrobat Reader x.y hat ein Problem festgestellt und muss beendet werden'. <br />Erweitert:<br />AppName: acrord32.exe      <br />AppVer: 6.0.1.1091      <br />ModName: acrord32.exe<br />ModVer: 6.0.1.1091      <br />Offset: 000264e5.<br />Dabei ist es egal, welche Reader-Version ich verwende. <br />Ansonsten kann ich den Reader öffnen, auch mit einem Dokument, welches ich ihm aus dem Programm heraus übergebe. Alles funktioniert, bis auf eben den Aufruf aus der exe heraus selbst!<br />Ich habe es auch schon in allen erdenklichen Kombinationen mit Installation, Deinstallation, Neustart, etc probiert.<br /><br />Für Anregungen jeder Art bin ich sehr dankbar.<br /><br />mfg Axel

    Hi Rainer,
    wir haben ein ActiveX Control entwickelt, mit welchem beliebige PDF Dokumente auf einem programmatisch wählbaren Drucker ausgegeben werden können.
    Online-Demonstration und Demo-Version sind unter http://www.pdfprintcontroller.com verfügbar.
    Viele Grüße
    Micha
    [hinkel:stone]
    Technology Consulting
    Software and Web Development
    Client/Server Technologies
    E-Mail: mhi(at)hinkelstone(dot)com
    http://www.hinkelstone.com
    http://www.jread.org

Maybe you are looking for