Use Acrobat Reader from Java

Hi everybody!
Can anyone tell me, how I can call the Acrobat Reader from Java, open a pdf-document and make a snapshot fo the first page?
I have to create an Image file of a page of a pdf-file.
I already tried pdfbox and iText, both do not work.
So using Acrobat seems to be the best solution, from my point of view.
Any suggestions?
Thx in Advance!
Stef

Jeah, I did, but nothing usefull there.
Perhaps it is possible to open a pdf and save a sanpashot of one page as an image using commandline or jscript?
Any hints, ides?
Greetings
Stef

Similar Messages

  • How to open a pdf file using Acrobat reader in Java?

    Or if you can just tell me where in the tutorial is the section that discuss running other application from Java, I'd appreciate it. My assignment(at work, not school) is to make a class that receive a pdf file, which is passed by RMI, and display it in a child window or in a JDesktopPane. Thank you.
    kindo

    Hi Kindoo,
    try using Runtime.exe(fileName)
    Nagaraj

  • Can't view PDF files using Acrobat Reader X

    We made many PDF files available on our Web site. In the past few weeks we noticed that users who were using Acrobat Reader X and Internet Explorer 8 or 9 were not able to view some PDF files. Basically, when they clicked a link to display a PDF file, the screen would be cleared and the status bar showing "Loading ...KB/...K/B" would be displayed. The status bar would move a bit and then got stuck. The PDF file would never be displayed. Sometimes, my users could click the Back button to go back the previous Web page and sometimes they had to close or kill the IE window. Small PDF files seemed to be fine. I was able to repeat this problem on PCs running Windows XP and Windows 7. I also tested clicking the same PDF files with PCs installed with Acrobat Reader 9 and I was not able to cause the problem to occur, so I am pretty sure that this problem is related to Acrobat Reader X. I also noticed that if I unchecked the "Display PDF in browser"  option in Acrobat Reader X so that PDF files would not be displayed inside the Internet Explorer window, I would be able to view all PDF files without any problems.
    I also did an experiment by resaving many PDF files using Acrobat Pro (Reduce File Size...) to be compatible with Acrobat 8 or above. I was able to open these PDF files using Acrobat Reader X but when I used a PC with Acrobat 9, it would get stuck instead. Most of my PDF files were created a long time ago and we usually made it compatible with Acrobat 5 or above.
    I saw that some people reported some problems with Acrobat Reader X but I did not see a solution except uninstalling Acrobat Reader X and installing an old version of Acrobat Reader instead. Anyone has any ideas why this is happening and how to fix this problem?
    RJ

    Sounds like you got the trial of Acrobat. Go to add/remove programs, get rid of it, the download the free Reader from http://get.adobe.com/reader/

  • Error opening PDF files using Acrobat Reader 9

    I use Acrobat Reader 9 to view PDF files. I have Windows XP operating system on my machine.
    In order to view encrypted PDF files on our company webiste we have to install FileOpenInstaller.exe or FIleOpenInstaller.msi which is Adobe Component
    Therewas no issue viewing/accessing the PDF files until last week. But now we get below error when we try to open encrypted PDF files from our company website.
    The error message is "Unable to get server data [FO error #2114, OS error #0)
    Any idea what could be the cause of error?
    Is anyone aware of any possible issue with Adobe FileOpenInstaller.exe or FIleOpenINstaler.msi packages

    I have just installed Adobe Reader 9. I am getting frequent system hangs (cannot do anything without cold re-boot) when using the product, in particular when using forms documents provided by Companies House, a UK government agency.

  • Problem reopening and/or refreshing PDF files using Acrobat Reader V. 8.0

    I upgraded to Adobe Acrobat Reader V. 8.0 and have encountered problems refreshing PDF files in the Safari 2.0.4 browser when I am logged into the secure area for Value Line Publishing. Some of the PDF Files in this area can be opened and/or refreshed multiple times. Other PDF files in this area allow me to open them once. I cannot reopen those previously viewed files (or refresh the screen) -- after refreshing, the window changes to a blank white screen, and the files do not reopen.
    I am perplexed because I do not have difficulty refreshing the PDF files (within Safari) using the native PDF viewer, I did not have problems refreshing files using Acrobat Reader V. 7.0 and I do not appear to have problems refreshing PDF files using Acrobat Reader V. 8.0 when I am outside the secure area or on other web sites.
    I have replaced the Acrobat Reader plug-in, manually removed all remnants of previous versions of Acrobat Reader and reinstalled V. 8.0. and I also upgraded from Mac OS 10.4.8 to 10.4 9, all to no avail.
    I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
    I can also download the PDF files to my hard drive and refresh them multiple times within Safari and also using Acrobat Reader V. 8.0
    The software personnel at Value Line Publishing have investigated their system and have referred me back to Apple. Has anyone heard of similar problems associated with Adobe Acrobat Reader V. 8.0 used in conjunction with Safari 2.0.4?
    PowerBook G4   Mac OS X (10.3.9)  

    Hi Rodney
    Welcome to Apple Discussions
    This sounds like one of those "oddities", contributed to by a few sources.
    I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
    Wondering if you disabled the Safari Cache would the refresh function work correctly? As a test you can disable the Safari Cache by Emptying the Cache first via the Safari menu, then Quit Safari. Now go to the Finder>Your User Library>Caches>Safari. Single click on the Safari folder, then Apple Key + I to open Info panel. There, check the "locked" box. This prevents further additions to the cache. The downside, you lose your ability to upload images etc. within Safari (my cache is disabled, so I use Firefox for the uploads).
    Then restart Safari. Try the PDF from within Safari.
    Post back

  • Unable to read from Java MQ Queue in Unix

    Hi,
    I developed a small application that uses a scheduler as an input to a jcd. Once invoked, the jcd reads from a Java MQ queue and writes the result to the log.
    I developed the application on CAPS 6 in Solaris 10.
    We are however unable to read from the queue in Unix. The code returns an empty queue, even though the queue does have messages in it. Below is the code in the jcd used to read from the queue:
    int recCount = 0;
    +while (true) {+
    com.stc.connectors.jms.Message txtMsg = JMS_1.receiveNoWait();
    +// break out of loop, if no more messages+
    +if (txtMsg == null) {+
    logger.info( "Record Count is :: " recCount );+
    break;
    +}+
    recCount+;+
    +}+
    The same project, imported into CAPS 6 on a Windows platform, works without issue.
    Has anyone experienced compatability issues like this with Java MQ between Windows and Unix?
    Adt

    This is probably coz of the JMS header.
    Try setting MQJMS_CLIENT_NONJMS_MQ as the target client and also try retrieving the message as ByteStream rather than TextMessage.

  • Cannot email pdf using Acrobat Reader XI v11.0.3 in Windows 8. No problem when using in ms vista. ge

    Cannot email pdf using Acrobat Reader XI v11.0.3 in Windows 8. No problem when using in ms vista. get "authentication error". Sometimes will get a very quick dialogue box showing the gmail login screen but then disappears. I use firefox and IE

    Hi Rodney
    Welcome to Apple Discussions
    This sounds like one of those "oddities", contributed to by a few sources.
    I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
    Wondering if you disabled the Safari Cache would the refresh function work correctly? As a test you can disable the Safari Cache by Emptying the Cache first via the Safari menu, then Quit Safari. Now go to the Finder>Your User Library>Caches>Safari. Single click on the Safari folder, then Apple Key + I to open Info panel. There, check the "locked" box. This prevents further additions to the cache. The downside, you lose your ability to upload images etc. within Safari (my cache is disabled, so I use Firefox for the uploads).
    Then restart Safari. Try the PDF from within Safari.
    Post back

  • Close both the PDF and Acrobat Reader from Javascript

    Hello,
    I'm working on a C++ project which at some point open a PDF (using the ShellExecute function).
    I coded some javascript in this PDF with Life Cycle Designer to print its content and finally close it automatically using event.target.closeDoc().
    The problem is that just the PDF is closed but not Acrobat Reader.
    I need Reader to be also terminated, to catch the end of process signal in my C++ program and to continu the execution.
    Do have any idea if there is a javascript function to close Reader?
    Thank you very much!

    Hi John,
    After a lot of research and tests, I didn't find the solution. You can't close Acrobat Reader from a pdf. (for security reasons; It's like you are not allowed to closed a browser with a javascript function).
    Finally we moved to the PDF library C++ SDK, so Reader is no more opening, but we had to pay for that...
    Stephane

  • Launch acrobat reader from javascript

    Hi Team,
    Greetings!
    Is it possible to launch Acrobat Reader from javascript?
    Thank you.

    hi, you can try to launch the pdf file in your server in other navigator window with Applet.getAppletContext.showDocument,
    if the client have acrobat, the pdf file open in navigator window
    take a look my linkOnApplet sample, but change myUrl for a url with a pdf file, like's this "http://mysite/file.pdf"
    i hope it help you.
    sorry but my site is in spanish.
    http://www.sunflowermachine.com/recusos/java/linkOnApplet.html

  • How to read two text files using the Read from spreadsheet.vi and then plot it

    I need to read two text files using the read from spreadsheet function and then plot these files over time.
    The file with the .res extention is the RMS values (dt and df) and the second file contains the amplitude of a frequency spectrum.
    I really appreciate any help..thanks
    Attachments:
    RMS.txt ‏1 KB
    FREQUENCY.txt ‏1 KB

    From NI Example Finder:
    Write to Text File.vi
    Read from Text File.vi
    Jean-Marc
    LV2009 and LV2013
    Free PDF Report with iTextSharp

  • I am using Acrobat Reader XI but I cannot combine and merge files

    I am using Acrobat Reader XI but i cannot combine and merge files

    Hi mdj4him,
    To combine files, you need either Adobe PDF Pack or Acrobat. (Reader doesn't create or combine PDF files.)
    You can try Acrobat for free for 30 days, if you'd like. See www.adobe.com/products/acrobat.html for more information. If you'd like to purchase a PDF Pack subscription, see http://cloud.acrobat.com.
    Best,
    Sara

  • Error opening DRM PDF document using Acrobat Reader

    I am having problem opening a DRM PDF document using Acrobat Reader. When I open the document I get a message if I want want to connect to xx.xxxxx.xx server (Allow / Disallow), I click Allow then I get this error message without prompting me for the login box.
    "An error occurred while performing this operation. Contact an administrator if this problem continues."
    What is strange is that when I open the document using Acrobat Professional then there is no error and I get login box.
    I tried this in Acrobat 8 and 9 Reader with latest updates.
    Please help.

    The problem is the enhanced security, turned on by default, in Adobe 8.2 and 9.3 - specifically restrictions on cross domain scripting.  
    You need to install a crossdomain.xml file in the root of your application server.
    See the Enhanced Security and Troubleshooting Guide and FAQ: http://learn.adobe.com/wiki/download/.../Enhanced_security_faq.pdf
    And the Cross Domain Policy File Specification: http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html

  • Open multiple pdf files using Acrobat Reader?

    Can we open and switch between multiple pdf files using Acrobat Reader?

    Of course, but if it's Reader X or later each file will appear in its own window. This can't be changed.

  • How do i create a specific location in a document, that my sales personal will be able to paste in a price offer made in another app (they are using acrobat reader) ?

    how do i create a specific location in a document, that my sales personal will be able to paste in a price offer made in another app (they are using acrobat reader) ?

    Hi gadi b,
    It sounds like you may want to create a form field in your PDF file, which your sales personnel can paste text into. You can use either Acrobat or Adobe FormsCentral to create PDF forms. For instructions, see FormsCentral Help | Create a form or Acrobat Help | Forms.
    Best,
    Sara

  • Print report using Acrobat Reader 5?

    I have a home inspection report that I am trying to print (InspectVue), using my HP5300 Notebook, with Windows XP.3. The program tells me that I need to use Acrobat Reader 5, which is no longer available (??). How do I do that (ie. get the report to print)?  Thank you.

    You can probably just use the current version of Reader. Hopefully, they meant "Reader 5 or later".
    Is this a new inspection report or one 10+ years old?
    Are you seeing a problem trying to print it?

Maybe you are looking for

  • Corrosion/Pitting in Macbook Pro Case

    Hi All, It would appear that I have some corrosion/pitting occurring where I rest my palms on my Macbook Pro. Initially, I thought it was dirt or some residue, but after cleaning I noticed it was untouched. Further examination (with a 10x loupe) show

  • UDT Lob buffer overflow in Initial Load

    Hi All I'm doing an intial load for one table which is having ORDIMAGE column  , Here is my prm details : ==================================================================== EXTRACT INIT_FFU -- ENVIRONMENT PROFILES setenv (ORACLE_SID = "trfdv") sete

  • Time capsule not accessible to my MacBook Pro.

    Hello. My time capsule is not accessible to my MacBook Pro. I have tried restarting the time capsule, checked it's connexions & pushing a pin in the back to re-set it. The light on the front is flashing orange. Unsure of my next step. Thank you for a

  • Question on Static keyword  design with JVM

    hi how jvm identify this one is static and other is non-static, if it identifies by using any keyword what is that? see, don't tell by static word. To identify that static, what is implemented in jvm?

  • Indirect role assignment- PO Release strategy  roles

    Hello,           I am in the midst of creating PO release strategy roles for implementation and trying to figure out if indirect role assignment / position based assignment would be a good idea for these roles. The reason- there are 35 release codes.