How can I merge PDF files with Perl?

前端 未结 3 415
予麋鹿
予麋鹿 2021-01-17 22:58

Using Perl, how can I combine or merge the sample PDF files into a single PDF file?

3条回答
  •  灰色年华
    2021-01-17 23:34

    You can use the GhostScript utility pdf2ps to convert the PDFs into PostScript files, concatenate the PostScript files, and then use ps2pdf to convert the result back into a PDF.

提交回复
热议问题