Merging pdf without ghostscript

조회 수: 20 (최근 30일)
Eric Zhao
Eric Zhao 2017년 7월 17일
댓글: Gangadhar Venkata Ramana 2021년 3월 28일
Hi all, Is it possible to merge pdfs in matlab without using ghostscript? Thanks!
  댓글 수: 1
Bereketab Gulai
Bereketab Gulai 2020년 1월 27일
You say that you solved the issue using VBA code, could you share that VBA script, at least the basic structure.

댓글을 달려면 로그인하십시오.

채택된 답변

Guillaume
Guillaume 2017년 7월 17일
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
Eric Zhao
Eric Zhao 2017년 7월 17일
Thanks for your informative response!
Eric Zhao
Eric Zhao 2017년 8월 3일
I solved the issue by letting Matlab executing vba code.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Benjamin Großmann
Benjamin Großmann 2021년 3월 22일
Four years later ... I contributed a tiny function to FEX to merge multiple pdfs without third party tools:

Bereketab Gulai
Bereketab Gulai 2020년 1월 28일
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.

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by