combine multiple pdf plots into one file

前端 未结 4 1787

I am trying to merge multiple pdf plots into one master pdf file.

Example:

Input: I have three pdf files: \"1.pdf\", \"2.pdf\", and \"3.pdf\"

Outpu

4条回答
  •  萌比男神i
    2020-12-06 13:49

    include below code into PHP script

    shell_exec("gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFFitPage -sPAPERSIZE=a4 -dFIXEDMEDIA -sOUTPUTFILE= abc.pdf xyz.pdf"); 
    

提交回复
热议问题