I have installed ‘pdfmake’ in the npm package installer and tried to generate a sample pdf file (Code snipped is given below). The code gets executed without any error but the pdf does not get generated. Could you please assist on what is that I am missing.
@russian-dima thanks for the suggestions, I indeed have gone through the other posts as well; the only difference is that ‘pdfmake’ is fully open source where as others have a premium price for the usage.
Hello again, i still didn’t have the time to investigate the “pdfmake”-NPM, but i could find an ALTERNATIVE way for you.
Take alook onto this post here…
There is a way to use the PDF-Generator for your purposes.
PDF-Generator also offers a limited FREE-Account to generate PDFs.
You can do a lot with it! You can generate PDF-Templates and feed them automatical with your own data, directly out of your Wix-Site.
You perhaps should also take a closer look onto that alternative way.
@russian-dima Yup, i implemented the functionality using ‘pdf-generator-api-client’.
‘pdf-generator-api-client’ has as 3 month free trial period, just in-case you happen to find time please explore ‘pdfmake’ ; investing time on the ‘pdfmake’ which is completely open source and free will benefit the community
Note: In ‘var fonts’ please include ‘https //cdnjs.cloudflare com/’ before each line for normal, bold, italics, bolditalics (editor is not allowing me to publish with the full links on
@vmsivaraj@russian-dima
The pdfmake keeps giving me an error for the fonts.
I do have another option to create PDF’s.
But this only works with a premium website,
Do you have 1?