Hi
I was not able to run sPDF in Ubuntu 18.04 as WKHtmltopdf is unable to run in Debian as headless. The suggested approach was to use xvfb.
Could sPDF be improved to allow it to run with xvfb? Below is a sample of the command
xvfb-run -- /usr/bin/wkhtmltopdf --lowquality http://www.google.com google.pdf
I did a fork of the project. I can't a good place to expand the api, hence i did a hardcode to add "-- /usr/bin/wkhtmlpdf" as the argument, where the path is "xvfb-run".
Hi Federico,
I have create a patch to allow auto detect of xvfb-run, this would allow the sPDF to run in a headless debian environment and without any change to the APIs
Hi I was not able to run sPDF in Ubuntu 18.04 as WKHtmltopdf is unable to run in Debian as headless. The suggested approach was to use xvfb. Could sPDF be improved to allow it to run with xvfb? Below is a sample of the command xvfb-run -- /usr/bin/wkhtmltopdf --lowquality http://www.google.com google.pdf
I did a fork of the project. I can't a good place to expand the api, hence i did a hardcode to add "-- /usr/bin/wkhtmlpdf" as the argument, where the path is "xvfb-run".