docx-mailmerge icon indicating copy to clipboard operation
docx-mailmerge copied to clipboard

how to save it as pdf after document.write

Open ShivaShankarPuvvada opened this issue 5 years ago • 2 comments

I had merged fields. Now I need it to save as pdf instead of docx. Is there any other way?

ShivaShankarPuvvada avatar Nov 02 '19 13:11 ShivaShankarPuvvada

I am also looking for answer to this. I can do it by hack and not so optimized way by iterating over the files. Is there any better way ?

anandandy139 avatar Nov 19 '19 18:11 anandandy139

Have a look at https://pypi.org/project/docx2pdf/

davidverweij avatar May 03 '20 09:05 davidverweij