H Marata
Hope all is well.
My customers are asking me to merge several pdf files into one file for sending their accounts once a month.
I already create and end of month statement pdf file and several invoice pdf files.
For example, customer AA may have aa.pdf (statement) and inv001.pdf, inv002.pdf, inv003.pdf and inv004.pdf.
Is there an easy way to merge inv001.pdf+inv002.pdf+inv003.pdf+inv004.pdf into AA.pdf and email just one file ?
Your help will be appreciated.
Kind Regards
Shafid Khan
Khan Software Ltd
New Zealand
Hi Marat
The frx2any.app date is 12th of Nov 2015. I don’t know how to find out the version.
( think it could be version 14.08.00)
I managed to get the program working but can only add one invoice to the statement. How can I add more than
One invoice.pdf to the statement.pdf
***** My sample code
lcPDFFileToMergeTo ="c:\khan\pdf\supl\supl.pdf"
lcPDFFileToMerge ="c:\khan\pdf\supl\inv16941.pdf"
lcFRX2AnyLibrary = 'FRX2Any'
SET CLASSLIB TO FRX2Any IN FRX2Any.APP ALIAS FRX2Any
loFile = CREATEOBJECT('FRX2Any.PDFFile')
IF TYPE('loFile') = 'O'
oFile.UNLOCK('xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx’)
loFile.MergeDocument(lcPDFFileToMergeTo, lcPDFFileToMerge)
loFile.RELEASE()
endif
***
Kind Regards
Shafid Khan
Khan Software Ltd
03 528-8585
--
You received this message because you are subscribed to the Google Groups "FRX2Any" group.
To unsubscribe from this group and stop receiving emails from it, send an email to frx2any+u...@googlegroups.com.
To post to this group, send email to frx...@googlegroups.com.
Visit this group at https://groups.google.com/group/frx2any.
For more options, visit https://groups.google.com/d/optout.
Thanks Marat.
Regards
Shafid Khan
Khan Software Ltd
03 528-8585
From: frx...@googlegroups.com [mailto:frx...@googlegroups.com] On Behalf Of Marat Chariev
Sent: Thursday, April 19, 2018 2:05 AM
To: FRX2Any
Subject: Re: A quick question about merging several pdf files to one pdf file
Try to call this procedure in a loop
--