How to print bookmark into a PDF File?

Hi community
I have a PDF-File with a few pages and need to have on each page the bookmark printed as a text.
I tried with Javascript, and can print the filename but not yet the bookmarks.
I have following script:
app.addMenuItem({cName:"Print Filename", cParent:"File", nPos:20, cExec:"PrtFN();"});
//Print Filename to Pages
function PrtFN()
  for (var p = 0; p < this.numPages; p++)
    var fd = this.addField("Print Bookmark", "text", p, [563,519,790,545]);
    fd.fillColor=color.white;
    fd.textSize=14;
    fd.textColor=color.red;
    fd.value = (this.documentFileName);
Do someone of you know how to print the bookmarks, something like "fd.value = (this.documentBookmark);" ?
Thanks for helpful answers!

It is possible to get a bookmark name from the bookmark object but as noted a reverse lookup for a bookmark to a given page is not fool proof.
You could write a script that walks the bookmark tree and then use execute to go to the page that book mark points too and then fill-in the bookmark name. This assumes all bookmarks perform the go to page/view action and do not run a script or open another PDF. You may also need to account for more than one bookmark pointing to a page.

Similar Messages

  • How [Insert|Add] Image into Opening PDF file with Acrobat SDK.

    Hi Guys,
    I'm trying to insert|add image file into opening PDF file with specified location (X|Y) and scale (Width|Hight) but got many of troubles
    If use third party like iTextSharp or something else thing become simple but i want to use Acrobat SDK to do this
    Any suggestion or idea?
    Any help appreciated.

    Thank for your interested.
    I use VB.NET and Acrobat
    Here is some my code:
    Try
       If File.Exists(T(0)) Then
       Dim AcroAVDoc As AcroAVDoc = Ap.GetActiveDoc
       Dim AcroPDDoc As AcroPDDoc = AcroAVDoc.GetPDDoc
       Dim AcroPDPage As Acrobat.AcroPDPage = AcroPDDoc.AcquirePage(Integer.Parse(T(3)))
       Dim data() As String = T(1).Split("^")
       Dim imgX = data(0)
       Dim imgY = data(1)
       Dim imgWidth = data(3)
       Dim imgHight = data(4)
       'TODO: insert into opening PDF file
       Return 1
       End If
       Catch ex As Exception
       End Try
    I don not know what to do next to insert an image (JPEG, PNG, ..) into PDF file.
    Can you show me or suggest some solution, idea?
    Thank in advance.

  • How to print a scrollable, interactive PDF file

    I've had an interactive PDF application form built. Works great for the applicants, as boxes allow scrolling so that applicants can add detailed info where relevant. However, now that the completed applications are flowing in, I can't figure how to print them (as part of the application review process) so that they display/print all the content in the scrollable boxes. Am I missing something? Any assistance would be appreciated.

    This is really a user question for whatever program you are using to print
    the PDF forms - it's not really an issue of the PDF language.
    Assuming you are using Adobe Acrobat, please post in our Acrobat forums.

  • How do i convert into a pdf file

    how do i create a pdf file

    Just an informative note here. There is no "trial" for Adobe Reader. You have it or you don't. Regardless, Reader cannot create PDF. For that you purchase Acrobat. The current version available for purchase is XI (Standard or Pro). 
    Adobe does provide a free, fully featured 30-day trial of Acrobat XI Pro via Adobe.com (go to the Acrobat location within the website).
    Be well...

  • How to print an excel file (2010 version) with multiple tabs into a pdf file with bookmarks (acrobat 9). I was able to do this easily using excel (2007 version).

    Recently I got a new laptop, with excel 2010 version and acrobat 9 standard.
    I could no longer print (save as) an excel file with multiple tabs into a pdf file with bookmarks.
    My old computer has excel 2007 version and acrobat 9 standard.
    Print an excel file into pdf with bookmarks was a piece of cake.
    Both machine has the same add-in -- Acrobat PDFMaker Office COM addin
    Thanks if anyone could help me with this.
        Tom

    You need to upgrade Acrobat to a newer version.
    On Thu, Oct 30, 2014 at 4:12 PM, excel-pdf-bookmarks <

  • How to merge pdf files into one pdf file?

    In E-Rec we need the capability to mass printing for correspondance. There i want to merge pdf files for candidates into one pdf file. I am doing the following:
    Data: lv_document1           TYPE rcf_s_cs_document_content.
    LOOP AT activity_object_tab INTO ls_activity_object.
        lo_act_corr ?= ls_activity_object-activity.
         CALL METHOD lo_act_corr->process_document
           EXPORTING
             channel  = 'FRONTEND'
           IMPORTING
             document = lv_document1.
      ENDLOOP.
    Now lv_document1 contains the pdf file in  lv_document1-DOCUMENT_X which is of type RAWSTRING.
    This works for one candidate, in this case the pdf for last candidate will be displayed.
    But how would i append in the loop or what would i need to do display all candidates in one pdf.
    Any help will be appreciated.
    Thanks

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

  • I want to import a MS Word Index into a .pdf file using Adobe Pro.  How do I do that?

    I want to import a MS Word Index into a .pdf file using Adobe Pro. It is for a book.  The book has been converted to a .pdf for printing, but it needs an Index for the last page of the book.  I tried to embed a new index (starting from scratch but no luck.  Any suggestions?  Thank you for your time.

    Now I want to search this "myArrayStrings.get(r)" in another file. How to do that?Store the returned String. Do the same thing you did to read the first file to read the second file (i.e. read it in line-by-line and store the lines in a list). Then check if that list contains the String you stored from the first list.
    E.g. (using your code):
    String name = myArrayStrings.get(r); // assuming r is initialized somewhere before this
    if ( otherList.contains( name ) ) { // assuming otherList is your second list
        // do something
    }

  • How can I convert a PDF/A file into a PDF file with Acrobat Pro X?

    How can I convert a PDF/A file into a PDF file with Acrobat Pro X? I'd like to modifiy the file which I have only as a PDF/A.

    There's two answers if you want to modify the file:
    You can temporarily turn off PDF/A Mode in your preferences, so they don't open as read-only. The problem would be if you do something to the file that violated the PDF/A standard, so you should always run a Preflight check afterwards to make sure.
    If you want to remove the PDF/A header tag, use Preflight again - it's on the Print Production Panel in Acrobat X Pro (which may be hidden, use the options menu on the Tools Pane to show it). There's a profile called "Remove PDF/A information" - choose this and press Analyze and Fix. Nothing else about the file will be altered but when you save and reopen it all the editing tools will become active.

  • How do I convert a WHOLE PDF file into jpeg on LION?

    how do I convert a WHOLE PDF file into jpeg on LION?  I know how to open it in Preview but there is no longer an option through Print and if I export it only allows one page at a time and I need 223 pages...

    Use this Automator Action:

  • How to transfer a mac document into a pdf file to open on a microsoft computer.

    how to transfer a mac document into a pdf file to open on a microsoft computer.

    Choose to print it, click on PDF, and then Save as PDF.
    (113984)

  • How do I scan multiple pages into one pdf file using the PIXMA MG7520 on Windows 8.0? Please help!

    I recently received a PIXMA MG7520 for a gift.  It works great with my lenovo laptop/tablet running on Windos 8.0.  The one drawback to the HP all-in-one that it replaced is it does not have an ADF.  That being said, there must be some way to scan multiple pages into one pdf file.  I need help figuring thing out.  Thanks in advance!
    Solved!
    Go to Solution.

    Hi mdtolbert54,
    There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single PDF document.  To do this, please follow these steps:
    1. On your keyboard, press the Windows key.
    2. Start typing IJ SCAN UTILITY. The search window opens as you type. Once the IJ SCAN UTILITY is displayed, please select and open it.
    3. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    4. Click the DOCUMENT SCAN option on the left pane of the window.
    5. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
    a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
    b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option. 
    c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the MY DOCUMENTS folder.
    6. Once all settings have been selected, click the OK button at the bottom of the window to save the changes. The IJ Scan Utility main screen appears.
    7. Click the DOCUMENT button. Scanning starts. Click the CANCEL button to cancel scanning if needed. Scanned items are saved in previously selected folder location specified in the SETTINGS... window.
    If you find that you need advanced scanning options such as adjusting resolution, brightness, contrast, saturation, color balance, etc. in addition to the options selected above, please click on the SCANGEAR button on the IJ Scan Utility Main screen, then adjust the items as necessary.
    Once the items above are set for document scanning, in the future, you will only need to launch the IJ Scan Utility, then press the DOCUMENT button to perform the scan (unless you want to make changes to the settings).
    Hope this helps!
    This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How do i scan multiple pages into one pdf file

    How do I scan multiple pages into one pdf file?

    That depends on your scanning software. Adobe Reader doesn't scan.

  • How can I print out a complete pdf file of PSE 10 user guide?

    This is worse than trying to deal with the government bureaucrats....I am simply asking how I can print out a complete pdf file of the user guide for PSE 10...I had one for version 9 but cannot get anything for version 10??? The address shown in the getting started manual doe snot go through??? HELP!!!

    Download from here:
    http://help.adobe.com/en_US/elementsorganizer/using/elementsorganizer_10_help.pdf
    for the Organizer
    and this faq:
    http://forums.adobe.com/thread/992825?tstart=0

  • I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    Hi Frank ,
    Please refer to the following link and see if this helps.
    https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
    Regards
    Sukrit Dhingra

  • How to download & how to merge pdfs into one pdf file?

    Hello everyone!
    I hope someone can help me, because I am SO frustrated right now! I want to create an electronic document of a 40-page thesis I wrote. I no
    longer have the original computer files, so I took digital photos of each page.
    Then I converted all the jpegs into pdf files.
    Now I want to merge these 40 jpegs into one pdf file.
    I read that this is possible with Adobe Acrobat 8 or 9. So, yesterday I downloaded the trial version of what I thought was Adobe Acrobat 9. Well,
    two whole hours later, all I could find on my computer was Adobe Reader 9, which would not allow me to merge any pdfs.
    So, today, I again reinstalled the Adobe Acrobat 9. Now, after waiting another two hours, there is NOTHING on my computer--no Adobe Reader, no Adobe Acrobat, no desktop icons, nothing in the "All Programs" list when I press the Start menu, etc.
    What happened? How could something that took so damned long to download be totally invisible on my computer now? I do see Arcsoft, but that is for photographs. Is it possible to merge pdfs together using Arcsoft?
    I have SO much other work to do, and I am so disgusted that I have lost two days on this project, just trying to merge pdfs together! Please, if
    you have any suggestions as to how to get Adobe Acrobat 9 as a trial version an/or how to merge pdfs, please answer this post!
    Thank you very much for your help.
    Courtney

    Hi. Yes, that is the link from which I downloaded Acrobat 9. I now have this file on my computer: AcroPro90_efg.exe
    Yes, I did install it, but one of the times it hanged at 99.96%. Do you know what that means?
    Thanks in advance.
    Courtney

Maybe you are looking for

  • This copy of windows 7 is not genuine

    i have a hp 2000 laptop which came with windows per-installed. i have had it for about 2 months now and recently i decided to install multiple linux distros. so i made a logical partition from the D drive and which became the B drive. i installed the

  • How can I extract vocals from a track to use as an acapella?

    Hi, just as the title suggests I would like to know how to extract vocals from a song so I can then use it as an acapella using Audition CS5? Also whilst I'm here, again using audition CS5, how can I determine the bpm of whatever sound file I have op

  • Loading JPEG/Gif images causes Out Of Memory Error

    Hello Java gurus, please shed some light on this..... I am not a java newbie, but I am a java newbie in the area of dealing with graphics. I am using JDK 1.4.2_01 on Win XP with 2.4ghz and 512 RAM. When I try to read in a (or a few) JPEG image into a

  • NI Robotic starter Kit DANI PID control

    Hello I have this great kit and interested to do a kind of research of PID control on the two DC motors. I already saw links that can do this job but I noticed that I can not find any technical datasheet having the motor paramters ( Mechanical or ele

  • OS X 10.5 Leopard preview crashes with LR pics

    I just found out that some pics can cause the preview application in Leopard to crash! It is not clear in the moment whether to blame Apple or Adobe because the error only occurs with pics touched in LR1.2 but the same pics work well with other appli