Merging pdf without ghostscript

19 vues (au cours des 30 derniers jours)
Eric Zhao
Eric Zhao le 17 Juil 2017
Hi all, Is it possible to merge pdfs in matlab without using ghostscript? Thanks!
  1 commentaire
Bereketab Gulai
Bereketab Gulai le 27 Jan 2020
You say that you solved the issue using VBA code, could you share that VBA script, at least the basic structure.

Connectez-vous pour commenter.

Réponse acceptée

Guillaume
Guillaume le 17 Juil 2017
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 commentaires
Eric Zhao
Eric Zhao le 17 Juil 2017
Thanks for your informative response!
Eric Zhao
Eric Zhao le 3 Août 2017
I solved the issue by letting Matlab executing vba code.

Connectez-vous pour commenter.

Plus de réponses (2)

Benjamin Großmann
Benjamin Großmann le 22 Mar 2021
Four years later ... I contributed a tiny function to FEX to merge multiple pdfs without third party tools:
  1 commentaire
Gangadhar Venkata Ramana
Gangadhar Venkata Ramana le 28 Mar 2021
Really awesome work @Benjamin Großmann.
Thank you so much.

Connectez-vous pour commenter.


Bereketab Gulai
Bereketab Gulai le 28 Jan 2020
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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by