Closed foramkumarparekh closed 8 years ago
Did you see my last comment? http://jsreport.net/learn/faq#comment-2624840933
It is global option, not per template option. You can do this: jsreport.use(require('jsreport-wkhtmltopdf')({ allowLocalFilesAccess: true })) or var jsreport = require('jsreport-core')({ wkhtmltopdf: { allowLocalFilesAccess: true }});
Closing this based on the other conversation.
Hi, I am creating a pf from html string and I am having an image in html which I also want in pdf along with the other content.I am using nodejs for this.
So when i try to create the pdf of the created html string, it gives the following error log:
Also I have set the wkhtmltopdf's, allowLoaclFilesAccess to true, but yet it starts wkhtmltopdf.exe with --disable-local-file-access command.
What should i do to fix this.