Page 1 of 1

Create bookmark-command for every PDF-device?

Posted: Wed May 15, 2019 8:00 am
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.

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

Posted: Thu May 16, 2019 11:20 am
by Tracker Supp-Stefan
Hello Peter2,

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

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

Regards,
Stefan

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

Posted: Fri May 17, 2019 12:39 pm
by Peter2
Thanks Stefan

that's the right source for further investigations.

Have a fine weekend.

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

Posted: Fri May 17, 2019 1:21 pm
by Will - Tracker Supp
:)