Add bookmarks into a PDF file from merge PDF files

Hello,

I'm about to buy a developer license of your PDF Toolbox Command line for Windows in order to integrate it in a software I'm currently working on.

I've tested it with success, but i was not able to create bookmarks in a new merged PDF. Is there a way to do it wit the command line? I tried different ways, e.g. with the setinfo parameter, but it didn't work...

Thank you by advance for your answer,

Regards,
Customer
---------------------------------------------
Hello,

I think we misunderstood, sorry for my bad English.
I do not have any error, but i can't find a way to insert bookmarks into a PDF.

For example, in your software "PDF Split-Merge", there is a command "addbookmark : create bookmark to PDF file" witch does exactly what i want.

But the software I'm interested by is "PDF Toolbox Command Line (for Windows)". This command "addbookmark" seems not to be available in this version, and there is no example doing this in the downloaded zip. So i would like to know if there is a way to add bookmarks to a PDF with this PDF Toolbox Command Line (for Windows)?

Thank you by advance for your answer,

Regards,
Customer
---------------------------------------------
PDF Toolbox Command Line hasn't an option to add the bookmarks.

"addbookmark" parameter is included in our PDF Split-Merge Command Line product, PDF Split-Merge Command Line can be downloaded from following web page,

http://www.verypdf.com/app/pdf-split-merge/try-and-buy.html
http://www.verypdf.com/pdfpg/pdfpg.exe

PDF Split-Merge does support read bookmarks and PDF files from a text file, you may write following text lines into the "C:\bookmark.txt" file,
~~~~~~~~~~~~~~~~
Bookmark->File1
C:\temp\001.PDF
Bookmark->File2
C:\temp\002.pdf
~~~~~~~~~~~~~~~~
"Bookmark->" is a keyword in text file, a real bookmark text will be appended to "Bookmark->" keyword,

In this example,
Bookmark "File1" will point to "C:\temp\001.PDF" file,
Bookmark "File2" will point to "C:\temp\002.PDF" file,

You may run following command line to merge PDF files and bookmmarks into your PDF file,

"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" addbookmark 4 C:\bookmark.txt C:\out.pdf

If you have purchased PDF Editor Toolkit Pro product, you can use following code to merge PDF files and bookmarks into a PDF file,

VerySplitMergePDF("addbookmark 4 C:\\bookmark.txt C:\\out.pdf");

However, "addbookmark 4" function is supported in the latest version of pdfpg.exe application only, if your pdfpg.exe doesn't support "addbookmark 4" function, please download the latest version of PDF Split-Merge product from our website to use this function.

VeryPDF

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Add bookmarks into a PDF file from merge PDF files, 10.0 out of 10 based on 1 rating

Related Posts

This entry was posted in PDF Split-Merge, PDF Toolbox Command Line and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!