PDF generation in CPM
I am trying to generated PDF using CPM. I know we can go with Addins which is little easier compared to CPMs, but I cant due to various other reasons.
I am trying with these two libraries:
tcpdf has the format I want, which takes in html as a parameter and converts to PDF.
But the problem is, no file operations are allowed in CPM no file_get_contentst(), file_read, file_write() etc.
- How do we get them working?
- Can I call a custom script and generate them from CPM?