Create bookmark-command for every PDF-device?  SOLVED

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers only - Please do not post requests for older versions of PDF-XChange or the PDF-Tools/OFFice2PDF applications here

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
Peter2
User
Posts: 946
Joined: Mon Sep 13, 2010 10:09 am
Location: Switzerland

Create bookmark-command for every PDF-device?

Post by Peter2 »

I don't know if this question belongs to forum "Printer" or "SDK" or "Editor" or ...
----------------------------------
We have an old-fashioned "report tool" which creates report out of a database (similar to "Crystal Report"). It has output to

- standard printer (can be paper-printer or PDF-device)
- HTML
- Text
- PDF (maybe based on itext)

Now I want to add the creation of bookmarks to the PDF-output (with internal PDF function or with "standard printer" which can be PDFXChange).

Question a:
Is there a common code / a common way to add code to create bookmarks in an output?

Question b:
Can you recomment some links to read about this topic?

Simple example for better understanding:

I have pure text, opened in pure Notepad, like this:
Chapter 1:
Text text text text

Chapter 2:
Text text text text
When I print it to PDFXChange, then I will not get a bookmark. Is there a code which triggers a bookmark-crreation on the printer, like
{\\pdf_invoke_bookmark:"Chapter 1"\\}Chapter 1:
Text text text text

{\\pdf_invoke_bookmark:"Chapter 2"\\}Chapter 2:
Text text text text
Addendum:
This report tool is rather "intelligent" - it has an VB-API, it can invoke "new page commands", it can dynamically integrate images based on VB-function. This is why I hope that it can send the "create bookmark code" too.
PDF-X-Change Pro German
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17818
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Create bookmark-command for every PDF-device?  SOLVED

Post by Tracker Supp-Stefan »

Hello Peter2,

You can create bookmarks at 'print' time when using the Drivers API SDK:
https://help.pdf-xchange.com/pdfxd ... kitem.html

But it can not be achieved with e.g. a command line parameter to our end user printer.

Regards,
Stefan
Peter2
User
Posts: 946
Joined: Mon Sep 13, 2010 10:09 am
Location: Switzerland

Re: Create bookmark-command for every PDF-device?

Post by Peter2 »

Thanks Stefan

that's the right source for further investigations.

Have a fine weekend.
PDF-X-Change Pro German
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Create bookmark-command for every PDF-device?

Post by Will - Tracker Supp »

:)
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Post Reply