I have a dockerfile which successfully installs wkhtmltopdf v0.12.4 but I need to update this to a newer version (0.12.6) as it doesn’t seem to be compatible with some other upgrades I’ve made. Here’s the code that works (albeit incompatible) And here’s the code that’s not working… And here’s the error message I’m getting… Answer Based on the comments, the
Tag: wkhtmltopdf
wkhtmltopdf without creating a file in php
I have the wkhtmltopdf module in my Drupal which generates the pdf file by running the ‘wkhtmltopdf –options URL filename.pdf’ command using shell_exec function. The output of the file is fine, but I don’t want to store the pdf in the file system. I just want to show the output on the browser so the user can choose whether or
WkHTMLtoPDF 0.12.2.1 PHP exec xvfb-run: Error: xauth command not found
I want to generate a PDF from a URL, so I execute the command by WkHTMLtoPDF as below: The above command works fine on Terminal, But when I invoke the command inside PHP failed! And show me an error message as below: I don’t know how to resolve this issue! Anyone can help me on this, my OS environment as