/ Published in: Bash
There's a GUI tool, called Combine PDF, which purports to do the same thing. But the output loses text searchability. Whereas this method preserves searchability.
NOTE: you may need to do 'sudo port install ghostscript' first
NOTE: you may need to do 'sudo port install ghostscript' first
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combined.pdf first-input.pdf second-input.pdf