Need to merge multiple pdf's into a single PDF with Table Of Contents sections

后端 未结 5 489
醉话见心
醉话见心 2020-12-06 07:33

Will have 50-100 single PDF\'s that we\'ll be generating with a php script. PDF\'s are generally grouped into groups of 10-20. Each group needs to have it\'s own Table of Co

5条回答
  •  时光取名叫无心
    2020-12-06 08:10

    And what's the best tool for us to merge the pdf's?

    On Linux (as well as on Windows), you can install an useful little program, pdftk. It works well to bind PDF's together. For example:

    $ pdftk in1.pdf in2.pdf in3.pdf in4.pdf in5.pdf in6.pdf cat output out.pdf
    

    where in*.pdf are the input files and out.pdf is the result. In between, @jerik already gave an answer how to deal with the TOC.

提交回复
热议问题