Applies to: posted in the Clarion 11 group; the thread names no Clarion version. The QuickPDF library in use was described as "maybe 10 or 11".
Problem
An application used QuickPDF extensively. The MergeFileList function "does not seem to work properly" for combining several PDF files into one. The poster read QuickPDF as discontinued, with no upgrade or support, and ruled out the Foxit PDF SDK that bought it (at least 3k per year). He asked for an easy programmatic merge or an affordable tool. The PDFs to merge had been generated by QuickPDF.
Solution
- If you already use QuickPDF, skip MergeFileList: call QuickPDFAddToFileList for each file and then QuickPDFMergeFileListFast. One poster uses this pair and does not use MergeFileList.
- Or use "iTextSharp for Clarion" by Mike Duglas. One poster keeps the drawing PDF names in a queue and merges them into one ordered PDF when the queue holds more than one record:
IF ~pdfMerge.MergePDF(A4Queue,One,MergedA4PDF)
ErrorMessage(0,'A4Merge failed')
- Two links were offered for further reading: a ClarionHub topic on merging multiple PDF files into one, and the clawPDF project on GitHub.
Caveats
- The original poster did not report back, so the thread does not say which option fixed his merge.
- The thread did not say why MergeFileList failed, only that one poster uses the Fast pair.
- A reply first asked whether the PDFs came from Clarion reports or were existing files; the answer was that QuickPDF generated them.
Today (2026)
Not re-tested. These are third-party libraries, so whether the names and calls match your installed version needs checking against its own documentation.
Sources: Daniel M. (Jun 2024, the question), Geoff, Geoffrey S., Bob C. (Jun 2024) in sv.clarion.clarion11.