Is it possible to programmatically “chain” several PDF files, preferably from command line?

前端 未结 8 948
别那么骄傲
别那么骄傲 2020-12-30 15:02

Is there a way, in Linux, Windows, or preferably Mac OS X to take a bunch of PDF files and \"chain them\" into one \"booklet\" without owning Acrobat and preferably without

8条回答
  •  失恋的感觉
    2020-12-30 16:04

    I've mentioned it in the other topics and I'll mention it again: you can use the Ghostscript utilities pdf2ps and ps2pdf do it as so:

    pdf2ps file1.pdf file1.ps  # Convert file1 to PostScript
    pdf2ps file2.pdf file2.ps  # Convert file2 to PostScript
    cat file2.ps >> file1.ps   # Concatenate files
    ps2pdf file1.ps output.pdf # Convert back to PDF
    

提交回复
热议问题