Join multiple PDF files into a single page PDF - positioned join using PHP [closed] Join multiple PDF files into a single page PDF - positioned join using PHP [closed] php php

Join multiple PDF files into a single page PDF - positioned join using PHP [closed]


I've done this in the past with a combination of Ghostscript (to position an existing PDF page on a larger empty PDF page) and pdftk (to overlay/merge two equally-sized PDF pages into a new one).

Have a look at these answers (@Superuser.com) to get an idea how this works:

My procedure uses commandline and/or scripts. However, this could also be extended to do it programmatically from PHP with the Ghostscript .dll/.so