Skip to content

WKhtmltopdf not able to run as headless in Debian OS #43

@chungonn

Description

@chungonn

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions