image thumbnail

append_pdfs

version 1.6.0.0 (4.55 KB) by Oliver Woodford
Append/concatenate multiple PDF files into a single file using Ghostscript.

8.1K Downloads

Updated 08 Jul 2014

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This function appends multiple PDF files to an existing PDF file, or concatenates them into a PDF file if the output file doesn't yet exist. This can be much faster than appending PDFs one at at time.
This function requires that you have ghostscript installed on your system. Ghostscript can be downloaded from: http://www.ghostscript.com

It also includes code from the export_fig package to interface with Ghostcript.

This function is now included in the export_fig package:
http://www.mathworks.com/matlabcentral/fileexchange/23629
The version here will not be maintained.

Cite As

Oliver Woodford (2021). append_pdfs (https://www.mathworks.com/matlabcentral/fileexchange/31215-append_pdfs), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: export_fig

Inspired: Card generator for Codenames board game

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!