Merging pdf without ghostscript

Hi all, Is it possible to merge pdfs in matlab without using ghostscript? Thanks!

1 comentario

Bereketab Gulai
Bereketab Gulai el 27 de En. de 2020
You say that you solved the issue using VBA code, could you share that VBA script, at least the basic structure.

Iniciar sesión para comentar.

 Respuesta aceptada

Guillaume
Guillaume el 17 de Jul. de 2017

1 voto

Matlab has no built-in pdf handling capabilities and if it had it would likely use ghostscript behind the scene, so you've left with:
  • finding an alternative to ghostscript. ghostscript is the only open source pdf handling library I know.
  • write your own pdf handling code using the standard. Good luck with that, you'll be better off with ghostscript.

2 comentarios

Eric Zhao
Eric Zhao el 17 de Jul. de 2017
Thanks for your informative response!
Eric Zhao
Eric Zhao el 3 de Ag. de 2017
I solved the issue by letting Matlab executing vba code.

Iniciar sesión para comentar.

Más respuestas (2)

Benjamin Großmann
Benjamin Großmann el 22 de Mzo. de 2021

4 votos

Four years later ... I contributed a tiny function to FEX to merge multiple pdfs without third party tools:
Bereketab Gulai
Bereketab Gulai el 28 de En. de 2020

0 votos

You can still use Ghostscript along with append_pdfs.
  1. Install GS on your machine or get copy of it is files
  2. Store gs files with your application
  3. Copy append_pdfs and modify gs path to indicate where you hava gs...exe
  4. Use append_pdfs like usual
Tested VBA Code but it requires Adobe Standard or Pro, which not suitable.

Categorías

Más información sobre Data Export to MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 17 de Jul. de 2017

Comentada:

el 28 de Mzo. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by