New and needing some advice on Automation (API) Merging PDF's


I have just started using PDF Creator, I work in a non standard code.

This code Creates a PDF just file


If you look at line 43 the pdf is created at that point, what I want to do here is merge two pdf files to the end of the purchase order, I have looked at examples but cannot get my head around how to do it.

If I want to add files 'C:\\sample1' and 'C:\\sample2' to the document how can I do that using the code style in the pastebin?


Thanks in advance!




This part should be

//This will pause the printer to merge other pdf file

PDFCreator.cPrinterStop := TRUE;