8 Replies Latest reply on Aug 11, 2010 9:06 AM by BancLine

    Adobe 9.3.3 Silent Print issue

    BancLine Level 1

      I upgraded from Adobe Acrobat 9.3.2 to 9.3.3. Now when I launch an xfdf to populate it's PDF and pass the print parameters (only occurs when it is a silent print) it does the following:

       

      The print completes as expected but I receive the following mgs boxes:

       

      Adobe Acrobat

       

      Expected a dict object.

       

      and

       

      Fatal Error:

       

      Acrobat failed to send a DDE command.

       

      The fatal error closes Adobe and requests a Microsoft Error Report.

       

      This is also happening on Adobe Reader version 9.3.3

       

      I am on Windows XP Pro version 2002 with service pack 2

       

      Any ideas?

       

      Thanks,

      Doug

        • 1. Re: Adobe 9.3.3 Silent Print issue ?
          BancLine Level 1

          I see many read my post. Hard to believe no one has encountered a similar scenario. One of our clients with 30+ workstations upgraded to Adobe Reader 9.3.3 and ALL experienced the same error. That branch rolled back all workstations to 9.3.2 and the problem went away.

           

          if (fPm.value == "Silent") bCloseNoSave = true;

           

          I can post the PDF & xfdf if anyone would want to look at them.

           

          Thanks,

          Doug

          • 2. Re: Adobe 9.3.3 Silent Print issue ?
            BancLine Level 1

            Looks like this is not happening outside the several hundred users that have reported this to me.

             

            Another note: the final fatal error in Reader states:

             

            Runtime Error!

             

            C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe

             

            R6025

            - pure virtual function call

             

            I submitted a bug report to Adobe but no response.

             

            Unfortunately our company will have to use a third party viewer and all my JavaScript work will be for nothing.

             

            Thanks,

            Doug

            • 3. Re: Adobe 9.3.3 Silent Print issue ?
              BancLine Level 1

              I have found the call that throws the error:

               

              oDoc.closeDoc({bNoSave:true})

               

              Why this stopped working in version 9.3.3 I do not know. It is imperative I close the doc after it prints so next form can print and / or we can close Reader/Acrobat when final form has printed.

               

              Doug

              • 4. Re: Adobe 9.3.3 Silent Print issue ?
                try67 MVP & Adobe Community Professional

                In the reference for this method it says:

                "It is important to use this method carefully, because it is an abrupt change in the document state that can affect any JavaScript executing after the close. Triggering this method from a Page event or Document event could cause the application to behave strangely."

                 

                This is Adobe's subtle way of telling you that if you use this from the wrong context, expect massive failures and crashes.

                • 5. Re: Adobe 9.3.3 Silent Print issue ?
                  BancLine Level 1

                  try67,

                   

                  I see that in the JavaScript API Reference. I wonder why it has worked fine in Reader/Acrobat version 9.0 through 9.3.2 but stopped in version 9.3.3.

                   

                  I can't seem to get the debugger to work and am not proficient in scripting to eyeball what is wrong. I would be happy to email the files and Java Script if anyone willing to take a look.

                   

                  Thanks,

                  ~Doug

                  • 6. Re: Adobe 9.3.3 Silent Print issue
                    try67 MVP & Adobe Community Professional

                    You can contact me by email, if you want. The address is listen in my

                    profile.

                    • 7. Re: Adobe 9.3.3 Silent Print issue
                      BancLine Level 1

                      Try67,

                       

                      I found something that may be related; If I execute this.closeDoc(true) from a button's mouse up event on Adobe 9.3.3, it closes correctly with no error.

                       

                      this.closeDoc(true); is currently being executed from a calculation script in a text field so it happens when the doc is initialized. I tried changing to a validation script and had the same fatal exception.

                       

                      Perhaps Adobe has restricted the availability of closeDoc and can no longer be called from calculation of validation scripts in version 9.3.3. If so, I am in need of another method to close the doc once it has printed with no user intervention.

                       

                      Thanks,

                      Doug

                      • 8. Re: Adobe 9.3.3 Silent Print issue
                        BancLine Level 1

                        Nope,

                         

                        I was incorrect. closeDoc() is allowed in a custom calculation script. The problem seems to be that the closeDoc occurs before all the objects in the doc are loaded. Solved the problem by making the close wait a millisecond.

                         

                        var temp = app.setTimeOut("this.closeDoc(true)", 1);

                         

                        Thanks for your help.

                         

                        Doug