Get Current page number of PDF file

Hi,,
I am using acrobat plugin(SDK) in VB.Net while am nevigating in the
PDF file i want get the current viewing page number of that
PDF file and Display in Lable/Text....
In abouve screenshot am marked the SDK display page number that i want read by VB.NET and display in my application..

..... perhabs in connection with this;
http://forums.adobe.com/message/4587057#4587057
However, full Adobe Acrobat is needed for both (not Reader only).
HTH, Reinhard

Similar Messages

  • Getting the page size in PDF file

    i want know how do get the page size in PDF file befor placing every page in document
    for example height=297 mm And width=210mm

    This script:
    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both -pdf-and-indd-files.php
    answers all your questions.
    Peter

  • Getting the page content as pdf file

    Hi All,
    I have a use case like i need to get the page content as pdf file.
    For this i found xsl file and it's config under the following locations
    /libs/cq/config/rewriter/pdf/transformer-xslt --config of source
    /libs/wcm/core/content/pdf/page2fo.xsl -- xsl file location
    For custamising this functionality i copied both confing node and xsl file under "/apps" .In the Config file i changed source to refer xsl file under /apps.But it's not taking config changes.
    I have looked into http://cqblueprints.com/xwiki/bin/view/CQ+FAQ/How+can+I+configure+the+ PDF+rewriter
    there it's saying like we need to modify the com.day.cq.rewriter.xml.XSLTTransformer class. i am not getting how to modify it.
    I need this urgently
    Thanks,
    Chinna Yadlapalli.

    This script:
    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both -pdf-and-indd-files.php
    answers all your questions.
    Peter

  • How can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    how can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    let's say a registration form, there is only 1 full address provided in my registration pdf, but applicant could have more than 1 address, so i have to make it more flexible to extend the address page no matter how many addresses that applicant provided, i have use adobe acrobat pro to edit the form properties. but dont know how to extend/duplicate a page in felxible times.
    Please advise~ tks so much!!! George

  • IS-U print workbench - User exit - to get current page number

    Hi,
    I have a doubt in IS-U print workbench where in I need to get the current page number which is being processed inside the user exit of the application form.
    I have a user exit called Z_EXIT_150 and here I have a subroutine which is inside the LOOP DOC_ITEM …ENDLOOP.
    Inside the subroutine, I need to get the current script page number.
    There is an option of getting the current page as &PAGE& inside the Script but I need to know the page number inside the exit.
    Do you have any idea of getting the current page number?
    Thanks and Regards,
    Sakthi.

    Hi Sakthi,
    I have also had this problem while working in IS-U Print Workbench but was also unable to solve.  I tried looking into the output_text that is called when reaching an object that references SAPSCRIPT-FORMPAGES but I too could not find a way to save PAGE to a variable for later use.
    The only idea I can think of, although I have not tried, would be to place some sort of counter variable in the BUILD_DOCUMENTS and increment the counter each time there is a successful printout of a header logo or some other object that you expect to see printed on each new page - that way maybe you can determine later in the exit processing what page # you are currently in. 
    I hope this has helped some.  I would be really interested to hear if someone else has a solution of how to access items in the SAPSCRIPT structure from outside of the SAPscript code.
    Regards,
    Geoff

  • Why the window setting the printing disappeared when I try to select the page number of pdf file

    When I send the pdf file to the printer and try to select the page number to be printed by entering (e.g., 4-10), the page for setting up printing work suddenly disappeared.   As a result, I could only print pdf files from page 1 to the end, if I want to print any document.   I have no problem with printing word documents.  Thus, it should not be problems related to printer, right ?
    Your help is highly appreciated !

    What is your operating system?  Reader version?
    You mean the Print panel completely disappears when you enter some page numbers?

  • Pdf reader that will let me print the current page number to stdout ?

    I'm looking into annotating my readings, and it'd really speed things up if I were able to get the current page number printed to stdout.
    I've been through evince and xpdf's manuals, the latter will let you output the file to ps, so there might be some hacking possible there, but maybe there is a more convenient alternative...?
    Would appreciate some suggestions.
    Cheers !

    Sure that works, it's just that I'm already wrapping my pdf reader in a ruby script to allows me to make annotations linking back to the original document and page, and I also use the clipboard to quote.
    So instead of being a keybinding away, I end up have to juggle with windows...

  • I have a question about extracting pages.  When I do the function, adobe saves the individual files as " file name space page number ", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I a

    I have a question about extracting pages.  When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files.  It casues me problems, however, for the space to be the the file name.  Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?

    No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.

  • Function Module to determine the number of pages in a pdf file

    Hi All,
    Is there any standard function module to determine the number of pages in a pdf file?
    Thanks,
    Sai

    Hi unk2,
    There's no functionality in the Acrobat.com online services to do a character count. But, you could use ExportPDF to convert your PDF file to Word format, and then do your character count in Word.
    Please let us know if you need additional assistance.
    Best,
    Sara

  • I spent half the morning and thus farI am trying to get Firefox to open a .pdf file but it not only downloads the file to my desktop but also dozens of zero-killabyte page images.

    I spent half the morning and thus far this afternoon working on a Firefox problem and have only managed to screw it up so bad that when I try to access a web page containing a .pdf file it not only downloads the brochure but also dozens (literally dozens!) of zero-killabyte page images to my desktop. I have tried trashing Firefox and downloading fresh versions but I still get the same results. I have tried to find and trash the Foxfire preference pane, thinking that would solve the problem, but haven't been able to locate it.
    Harry Sherwood
    [email protected]

    You have Acrobat Pro on your system. It will try to open PDFs, and of course it will fail. You must uninstall it. Then, you will need a PDF reader. So install Adobe Reader. That seems quite simple, but perhaps something is wrong. If anything goes wrong with these two steps (1) uninstall Acrobat Pro (2) install Adobe Reader, then please let us know the details.

  • Error with master page "insert current page number" when exporting book

    Using InDesign CS 5.5 for Windows
    Recently upgraded from InDesign CS (the really old one from 2003). I did save a copy of all my old version files and kept the old ID installed just in case (after reading all the horror stories on here).
    In my old version of ID, I created a book made up of about 70 documents. Some of these documents are one page, others have multiple pages. In the multiple page documents, I used the "insert ... current page number" character (or whatever the command was in the old version) on a master page, and formatted it to read, for example: Page 1 of 17, Page 2 of 17, Page 3 of 17, etc. When I exported my book to a pdf, it worked fine. (I do not want/have consecutive page numbers throughout the book, only in individual documents. By this I mean my entire book is about 280 pages, but not all of these 280 pages are numbered, just the groups of pages from these multi-page documents. It doesn't read page 1 through 280.)
    Got my upgrade to 5.5 a few months ago, added some documents to the book, and (if i remember right) when I saved the book it asked to convert every old version document to the new version, which I said okay. When I exported the book to a pdf, some documents that are longer than 2 pages are now numbered wrong; the numbers are now going like this: Page 1 of 17, Page 2 of 17, Page 2 of 17 (supposed to be page 3), Page 2 of 17 (supposed to be page 4), etc. Every page but page 1 is now page 2 of whatever.
    If I open the individual document and export it to pdf, the page numbers work fine. It's only when the document is exported with the book that the page numbers mess up. And it's not all the documents in my book; this error starts at a particular document and continues from that point throughout the rest of the book, affecting any document longer than 2 pages. Multi-page documents before this point in the book export with the correct page numbers.
    I create new documents by doing a "save as" with a previously created document and cut and paste as needed, so I'm not having to reformat or set up page numbers on each new document. I don't use layers or styles (I'm sure there's a better way to do what I need, but I've only had time learn the basics, just enough to be functional.)
    My attempts to fix this so far (using version 5.5), testing with the first document where the error appears: (1) I've removed the document from the book, deleted the insert current page number character, re-entered the insert current page number character, saved, exported the individual document to pdf and it worked fine. Put it back in the book, save, export, and it's wrong. (2) I took the document out of the book again, exported the document to .idml, saved as new .indd with new name, exported to pdf and it worked fine. Put it back in the book, save, export, and it's wrong. (3) I started up my old ID version, opened the old version of this document, exported to .inx, closed, opened .inx in ID 5.5, saved as new .indd with new name, exported to pdf and it worked fine. Put it back in the book, save, export, and it's wrong. (4) I moved the document up in the book order, putting it above a document that has correctly numbered pages, saved, exported to pdf, and this document was still wrong, but the one that has been numbered correctly all along is still correct. (5) I've compared settings for this document to others that number correctly and cannot find any difference.
    It's like the page numbers get hung on "2" when I export the book, but only in the last two-thirds of the book. Sorry it's so lengthy, but I hope this description of my problem is understandable. Any advice, other than going back to my old version documents and starting over?
    Thanks for your time and for all the awesome information this forum provides!
    alice

    Mr. Spier
    Right after I posted my question, I saw a post from last year where somebody had similar problems. (I cringed because I spent almost 3 days researching this problem and never ran across that post; thanks for not scolding me for posting a semi re-run.) I decided to try one of the easier solutions: I opened the problem document from the book panel, went to the master page and deleted the text box containing the page number, copied the page number box from a document that worked correctly, and pasted it into the problem document. Saved that doc, closed, saved book, exported to pdf, and it worked!! The page number problem was fixed. I went back and did the same thing for the other problem documents and they all number correctly now. 
    Probably not the best way, but for now this will fix it; I may have to do it again next time I add to the book. Although I didn't follow your instructions, I'll mark this as answered since it's working now. If it keeps giving me problems, I'll try the .inx export/new book route.
    thanks for your time
    alice

  • How to report current page number to the browser...

    I need to dynamicaly attach a script in a bunch of PDF files. The script will be attached when the user requests the document and the document will be embeded in the page like this:
    <embed id="PDFObj" src="test.pdf" width="100%" height="100%">
    I have a JavaScript in my webpage with a message handler:
    var PDFObject = document.getElementById("PDFObj");
    PDFObject.messageHandler =
      onMessage: function(aMessage)
        switch (aMessage[0])
          case "_pdf_PageOpened":
            alert("!_pdf_PageOpened!\n" + aMessage[1]);
            break;
    I'm using hostContainer.postMessage on Page/Open event and it works just fine when the event(action) is manualy attached.
    My question is:
    How to attach the Page/Open event on every page in the PDF file using script that runs on Acrobat Reader?
    In Acrobat Pro I can use Doc.setPageAction() but it doesn't work in Acrobat Reader that is embeded in the browser window.
    OR
    Is there any other way to report the current page number to the webbrowser for an embeded PDF?

    Hi,
    to get the current page, you can use the index of your master page ("Restricted").
    $ = $.parent.index +1
    and for the total pages use
    $ = $layout.pageCount()

  • Current Page Number

    Hi,
    I'm a newbie at any kind of Acrobat development, but can't seem to find a way to get the current page number on the client side of a pdf loaded into Reader. Is there a fairly painless way to do this? Additionally, it'd be cool to be able to change pages using client-side script as well (I'm currently re-loading it with the #page= attribute)...can I do that easily?
    Here's a short description of the app so that my questions make a little more sense:
    - Dropdowns on the left to drill down to a specific set of options. Iframe on the right that loads a corresponding pdf and loads the proper page for the dropdown options the user has selected as they drill down.
    - Need to be able to reverse the process somehwat so that if the user goes to a page in the pdf on the right I can update some of the info on the left.
    Any tips on how to accomplish this are greatly appreciated! :)
    Thanks!

    Thanks, Malky! I have been looking more into that aspect of the sdk now and it looks promising. However, I've downloaded the samples and can't seem to get any of them to work. I even tried the html sample figuring it'd be the easiest to get running, but the control specified by the object tag won't load (and doesn't error or anything like that). Can you point me in the right direction for getting started with the IAC stuff? Do I need to have Acrobat in order to do this or something? Thanks for your help!

  • I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel rec

    I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel receive the same message.Some one can tel what to do please? Thanks

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • How do I re-sequence pages in a pdf file, which is in booklet format?

    I have a pdf file which is an A5 booklet in duplex for-printing order, with two A5 pages printed on one A4 area.  I want to re-sequence these pages to simple ascending page number order, for reading online.  How do I do it?
    The first A4 page of my pdf file consists of A5 page 1 on left and A5 page 48 on right, followed by the second A4 page consisting of A5 page 47 on left and A5 page 2 on right, and so on.  [I can print this out OK as a booklet, except that the second A4 page, etc. is upside down.]
    Do I need to take the crude, grunt approach and cut and paste each A5 page, one at a time, into a new document?  I am using Acrobat XI Pro

    You can reorder pages by dragging them to new positions in the Pages pane on the left.

Maybe you are looking for