How to open-up a pdf file to a particular page via java? (file and page number from another program)

I have created an Access 2003 Form. Data is entered. The data can be viewed once entered in the same form format, with one addition. The addition is a link to another program where we store files. The files stored are pdf documents. Each document is a scanned file (500+ pages). The link can open-up the pdf file. I want the link to open-up the pdf file to a particular page. I will supply the page number from the database.
I am aware of Adobe Acrobat 7.0 PDF Open Parameters using a URL that specifies the file to be opened plus actions to be performed once the file is openend (i.e. http://example.org/doc.pdf#page=3). However, the 3rd party program transfers a file from a server to the client via java. The file does not go via a web browser. The java code transfer the file directly from the file server to the the client.
Any idea how to accomplish the task of viewing a particular page with the process flow described?
I am using Adobe Acrobat 7.0 Professional.

So you are reading this file in a standalone version of Acrobat? If so then use the PDF Open Parameters /a option via the command line.
Sabian
Example:
C:\Program Files\Adobe\Acrobat 7.0\Acrobat>Acrobat.exe /A "zoom=1000=OpenActions" "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\SimpleSubmit.pdf"
Where:
Path to Acrobat: C:\Program Files\Adobe\Acrobat 7.0\Acrobat>Acrobat.exe
Note: The example starts in the Acrobat application directory
Switch: /A
Parameter Syntax: "zoom=1000=OpenActions"
Path to file: "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\SimpleSubmit.pdf"
Note: The quotes are very important for the syntax to work appropriately.

Similar Messages

  • I have text documents in my email folders which I can't open.They are PDF files and Open Office files.How do I open these documents or type additional text documents?

    I have text documents in my email folders which I can't open. They are PDF files and Open Office documents. How do I open these documents?

    These are the "out of the box" file formats that you can view on the iPad as mail attachments. If the file is not listed here, you cannot view it without a compatible third party app. What is the file extension?
    Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)

  • When I try to open an embedded PDF file I get an error "The program used to create this object is AcroExch.exe.

    When I try to open an embedded PDF file (Word doc) I get an error "The program used to create this object is AcroExch.exe. That program is either not installed on your computer, or is corrupt..."  I've tried  about everything from unchecking
    protected mode at startup to removing & reinstalling Adobe.  Nothing seems to fix this issue.  Any other ideas?
    This is happening on Adobe reader 9, 10 & 11 with MS Word 2010 & 2013.  I've uninstalled, cleaned & reinstalled Reader 9, 10 & 11, as well as Acrobat 10 Pro & 11 Standard.  Removed "Protected mode at startup, and changed
    the default program for viewing from reader to Acrobat.  This will not go away.  It is affecting production at our company.

    " Help > Troubleshooting Information > Profile Directory: Open Containing Folder" . i can't find open containing folder in profile directory. it does give me the option to open the places.sqlite file using graphic converter. when i try that, graphic converter gives me a window saying that it can't be opened because it is corrupted or is not a file type supported by graphic converter.
    i appreciate your help with a workaround to get the old bookmarks. that works. however, the problem has morphed from that concern to why adobe reader [the default app.] won't open firefox .sqlite files. is the problem in adobe reader or firefox? also, how can i tell if the places.sqlite file is corrupt?
    i'm getting in over my head here and do appreciate your help.

  • On Adobe Acrobat Pro, how do I take a PDF file and convert it into an excel file?

    I am not sure how to take a PDF file and change it into an excel file. I have Adobe Acrobat Pro. Thanks!

    Using Acrobat XI Pro.
    File - Save As Other - Spreadsheet - Microsoft Excel Workbook
    Be well...

  • Cannot download .pdf files and word docs from KM using Web Dynpro

    Dear Portal Gurus,
    Using KM API, I am trying to download, documents from KM in my Web Dynpro Application. But .pdf files and word docs with screenshots are not getting retrieved from KM. Word docs opens with no content and Adobe opens with an error saying "Either it is a damaged file or It is not a supported file".
    I am using the following KM service to download the content.
    public byte[] retrieveResourceInBytes(String strRid){                    
    /////  after a few lines  ////
         if (this.loggedOnUser.isAuthenticated()) {
    // create a resource context with the authenticated user
         rContext = new ResourceContext(this.loggedOnUser);
    // create a RID to handle a resource
          aRid = RID.getRID(strRid);
              try {
              // get an instance of a resource factory
                     final IResourceFactory aResourceFactory = ResourceFactory.getInstance();
    // retrieve a folder/file  with context
                                                 aResource =  aResourceFactory.getResource(aRid, rContext);
         if(aResource.isCollection()) {
                                                                      aResource = (ICollection) aResource;
                                                      IPropertyMap objIPropertyMap = aResource.getProperties();               
                                                 IMutablePropertyMap objIMutablePropertyMap =objIPropertyMap.getMutable();
                                                 objHashMap = new HashMap();
         if (aResource != null) {
                                                                         IContent oldContent = aResource.getContent();
                            InputStream objInputStream=oldContent.getInputStream();
                 byte[] theBytes = new byte[objInputStream.available()];
                 objInputStream.read(theBytes);
                        return theBytes;
         } //  catches all the exceptions here///
    Could you please advise if I am doing something wrong else could you please advise me for any corrections which would help?
    Thanks a lot in advance,
    Zeena
    Edited by: Zeena Ali on Mar 25, 2009 8:13 AM

    On Apr 10, 2013, at 4:10 PM, AdityaKalania wrote: Replies in RED below:
    Re: Cannot download pdf files from web sites
    created by AdityaKalania in Adobe Reader - View the full discussion
    Hi,
    Which web browser are you using to view the PDF? Safari 5.1.8
    When you open the PDF in Adobe Reader add-in you will either see a floating toolbar
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5224223-317859/430-90/floating +toolbar.JPG
    or a normal toolbar
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5224223-317860/450-11/normalto olbar.JPG
    both the toolbars have save button, use the button to save the file locally. I do not see these toolbars. I do, however see this
    and it works! Thanks
    Hope this will help you.
    Thanks
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5224223#5224223
    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: http://forums.adobe.com/message/5224223#5224223
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5224223#5224223. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Reader by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How can open a html, pdf files from the server (c:\foldername\filename)

    Hi all,
    I am developing an application. in this app i have to implement RMI.
    My problem is this, How can a client open a files from the server.
    all the html, pdf files are stored in the server's directory like C:\audit\filename.
    There is a folder on the server's C directory which contains all the html , pdf files.
    please tell me how can a client open a file from the server using RMI.
    Please send me the solution as soon as possible.
    Thanks & Regards
    Bhavishya

    That's doing it the hard way. Why not use HTTP or FTP?

  • How to open hyperlink of PDF file uploaded at SharePoint(hosted at Office365) in 'Adobe Acrobat' for annotation and comments.

    Hi,
    I've a hyperlink of PDF file which is uploaded under SharePoint Document library(hosted at Office365 E1) on my custom '../SitePages/Approver.aspx'. Once user click on that hyperlink it should ask me to "Check-Out & Open' pdf file directly from sharePoint document library then it should automatically gets opened into 'Adobe Acrobat' where user will do some annotation/ comments in that pdf file & again 'Check-In' back his changes to SharePoint Document library.
    Following article will explain how I want to Check-In & Check-Out  pdf files from SharePoint document library once i click hyperlink on my '../SitePages/Approver.aspx' page.
    acrobatusers.com/tutorials/how-to-work-with-sharepoint-and-office-365
    Please let me know how to achieve this functionality using office 365.
    Your assistance would be greatly appreciated as this is top-priority requirement for us.
    Yours sincerely,
    Mahesh Sherkar
    [signature deleted by host]

    For instance, the forms.conf file:
    # Virtual path mapping for Forms Java jar and class files (codebase)
    AliasMatch ^/forms/java/(..*) "D:\Oradev/forms/java/$1"
    # Virtual path for JInitiator downloadable executable and download page
    AliasMatch ^/forms/jinitiator/(..*) "D:\Oradev/jinit/$1"
    # Virtual path for runform.htm (used to run a form for testing purposes)
    AliasMatch ^/forms/html/(..*) "d:\oradev/tools/web/html/$1"
    # Virtual Path for icons
    AliasMatch ^/forms/icons/(..*) "d:\icons/$1"
    ...you can move your files in one of the existing physical directories - e.g: d:/icons - and call them with the following:
    Web.show_Document('/forms/icons/document.pdf','_blank');But you can also add your own virtual/physical directory:
    # Virtual Path for documents
    AliasMatch ^/forms/documents/(..*) "d:\documents/$1"
    ...with the following code:
    Web.show_Document('/forms/documents/document.pdf','_blank');Francois

  • How to open a native PDF file in Android using AIR?

    Hello.I have created a flex mobile project to open and show a native PDF file in Android. I have tried three different methods below , but  I failed.
    1. I created a stagewebview and used "stageWebView.loadURL". I can see the PDF View in emulator but it didn't work in Android Pad (SAMSUNG Galaxy Tab 10.1). It showed blank screen.
    Note that I have installed AIR 3.3.
    stageWebView1.loadURL(new File(new File("app:/assets/ZUGH-2P.pdf").nativePath).url);
    2. I created a stagewebview and used stagewebview to load javascript. The javascript could run in emulator, but it didn't work in Android Pad. I failed again.
    stageWebView1.loadURL(new File(new File("app:/assets/JavaScripthtml.html").nativePath).url);
    3.  I imported stagewebviewbridge, which is the extended version of stagewebviewbridge. I created a stagewebviewbridge , but it could not run in emulator. I failed again.
    stageWebViewbridge1.loadLocalURL( "appfile:/assets/pdf.html");
    could any one give me some suggestions? Many thanks.

    @peterpan_cafuc,
    Sorry to say that I'm not sure of the answer, either.
    One suggestion would be to try something like File.openWithDefaultApplication(), although I've never tried it on mobile.
    Also, I poked around stackoverflow, and it looks like people have done this using Android Intents, but you might have to use a Native Extension  to do this in AIR.
    Apologies that I can't be more helpful.
    -Randy

  • How do tou take multiple .pdf files and merge them into one?

    I havefour different .pdf files that I'm trying to merge into one file. How can I do this?

    File>Create PDF>From File.
    Please post followups in the Acrobat forum.
    Bob

  • How can I convert CMYK PDF file to Spot Color from a standard Spot Library?

    Hi,
    I have PDF file that is in CMYK colors. Can I use Adobe Pro X to convert the document to Spot Color from a established spot library like the PANTONE PC? Is there a plugin to do it?
    Amit.

    In method HMAC, you have towards the bottom
    catch(Exception e) {}please change this to
    catch(Exception e)
                e.printStackTrace();
            }Note that using the sun.* classes, including the sun.misc.BASE64Encoder class, requires elevated privileges (see http://forum.java.sun.com/thread.jspa?threadID=483223&messageID=2255882).
    It is not difficult to write your own encoder/decoder class, or borrow one from someone else. Just google on "java base64 encoder".

  • Help !! how can move up a PDF file to my mac from a windows pc via icloud ?

    i have scaned a document in PDF file in to my windows pc. now i would like to move up that document to my mac using icloud but i cant find any solution. ????

    With the iCloud windows software, you cannot do that. Try what Csound1 said, use a flashdrive.

  • How to process a simple notepad file and extract something from it not all.

    I am sending the text file from html page to servlet and i want to do something with that text file and the result would be in excel.
    for example if my file contains:
    Notepad file Contains:
    CP STATE
    MAU SB SBSTATE
    NRM B WO
    and i want only SB,SBSTATE in my excel file not MAU option in excel.
    I want output in excel as:
    SB SBSTATE
    B WO
    so please tell how to do this.
    Please write some program to explain this,i will be very thankful to you.
    BR//
    Anubhav Gulati

    I am not angry, I am just seriously helping you to become a developer :)
    I've suggested you to use BufferedReader. It's API is descriptive enough (as all other API's of Sun tho). And the official I/O tutorial of Sun is also very helpful. Further on you only need to play with String#substring(), String#indexOf() and/or String#matches(), which are all already basic knowledge of the Java String API.
    Or ask us the specific question/problem where you're stucking with, while you're trying to develop it.

  • How do I transfer all my files and itunes library from my Toshiba PC to my new Macbook

    I just ordered a new macbook pro with retina display and it should be here within the next few days. But i don't want to lose and of my important files and my itunes library (with over 2,000 songs). How would I transfer everything onto the macbook safely and quickly.

    Click here and pick the option which best fits your situation.
    (110526)

  • How to store a file and refer it from another file using the Binary cache?

    Hello,
    I think it's a long shot but I thought I will give it a try.
    I am creating an excel file from an xml String using the Web Dynpro Binary cache.
    The problem is that when columns with numbers are involved an extra #agg column is being added by the excel "flattener" which is in charge of rendering the excel file from the xml String.
    The only way to override this excel feature is to supply your own XSLT and reference it from the XML. Now, since I am not using an actual filesystem but the Web Dynpro Binary cache, is it possible to use this cache in order to store there the xslt and refer it later from an XML?
    Roy

    Hi,
    Just found out this.. See if you can make use of it..
    getPublicCachedWebResource(byte[] webResource, WDWebResourceType resourceType, WDScopeType scopeType, WDDeployableObjectPart deployableObjectpart, String key)
    <i>          returns a IWDCachedWebResource, <b>which is saved directly to the WDDeployableObject directory.</b></i>
    you can make WDDeployableObject as your component and point the reference to the component folder.. Since you are specifying a scope type.. it shoukd be deleted after the scope defined...
    Lemme know if this works..:)

  • How can I move my address file and mail folders from one drive image to the active drive?

    I have a drive with recovered data from a crashed drive. How do I import the Thunderbird address file to the new, current drive ( also the mail folders ) ?

    Look at https://support.mozilla.org/en-US/kb/profiles-tb#w_how-to-find-your-profile to locate your profile on the recovered disk.
    If you are just starting TB with a new profile, the simplest thing to do would be to copy the recovered profile to the directory where your current profile is located. Then switch; see https://support.mozilla.org/en-US/kb/using-multiple-profiles to switch to the other profile
    If you have stuff in your current profile you need to save or merge, let me know and I will give you further instructions.

Maybe you are looking for

  • View the query in runtime in oaf

    Can anyone please tell me that is it possible to view the execution query on the fly like in php i can see the statement by var_dump($sql). i would like to see the execution sql script on the fly. would you please tell the way if possible. mofizur

  • Sending it in for "Repair"

    Hello. I have a defective 5G ipod, the click wheel is peeling off. I requested a "repair" and the box came this morning. What i'm wondering before I Pack it up is #1. How long will it take #2. Will they actually "repair" the click wheel, or send me a

  • Captivate 4 shortens timeline - elements are not displayed right anymore

    Hi there, I already searched the forum but couldn't find an answer. Maybe someone of you can help me. I have a weird problem with the timeline – in short: it changes. I have some slides, based on imported Power Point slides. Within captivate I add so

  • Assets Balances reports

    Hello, After I have inserted the old assets (with transfer data in 28.02.2007) I wanted to see Reports on Asset Accounting, for example "S_ALR_87011963 - ... by Asset Number" or "S_ALR_87011964 - ... by Asset Class". The acquisition values are correc

  • Getting event error scripting voltaichd

    getting this error: Voltaic got an error: "/Users/my-user-acct/Desktop/AVCHD/Samples/Fence" doesn't understand the «event VltcAddF» message. from this script: -- Sample Applescript for VoltaicHD tell application "Voltaic" -- Add a file or folder. Wil