• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Merge pdf files


New Member

Im wanting to save two existing pdf files into one. I am trying to use the pdf_inc library for this. I havent used it much but looking at the procedures I thought this may have worked. Has anyone done something similar that they can point me in the right direction?



RUN pdf_open_pdf (input "spdf1",
                  input "D:\test\file1.pdf",
                  input "INV1").
RUN pdf_open_pdf (input "spdf2",
                  input "D:\test\file2.pdf",
                  input "INV2").

RUN pdf_merge_stream (input "spdf2",
                      input "spdf1",
                      input 1).