Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a method of dumping all info on the bookmarks of a PDF using GhostScript?

With PDFtk I could use pdftk in.pdf dump_data, but is it possible to do it with GS?

I have a PDF with bookmarks where pdftk reports all bookmarks having BookmarkPageNumber: 0. I need to merge such PDFs and have the bookmarks still work with some additional bookmarks as well. I thought I would simply extract the destination page and rebuild the bookmarks but I FAIL because of BookmarkPageNumber: 0. The original PDF bookmarks do work but after merging they fail.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.