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
include below code into PHP script
shell_exec("gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFFitPage -sPAPERSIZE=a4 -dFIXEDMEDIA -sOUTPUTFILE= abc.pdf xyz.pdf");