Merge pdf files

Chad

New Member
Hi,

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?

Thanks


Code:
{includes/pdf_inc.i}

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).
 
Top