Hello,
We have done some tests and everything is working fine. After you have purchased a license, please update the topic or send an email to contact[at]phpdocx.com and we'll send you a sample to illustrate how to do it (you can also send your custom template and we'll generate the script using it).
Regards.