V11 pdf file don't apply css and image

This is the fix!

1 Like

ok credit where credit is due, I just read gmplab’s post #1 -

In his report on this issue, gmplab already advised of this fix some time ago!

1 Like

By following the instructions in that post, I was able to resolve this issue…

I installed wkhtmltopdf 0.12.5 using the below:

sudo apt-get install -y software-properties-common &&
sudo apt-add-repository -y “deb Index of /ubuntu xenial-security main” &&
sudo apt-get -yq update &&
sudo apt-get install -y libxrender1 libfontconfig1 libx11-dev libjpeg62 libxtst6
fontconfig xfonts-75dpi xfonts-base libpng12-0 &&
wget “https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb” &&
sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb &&
sudo apt-get -f install

Hope it helps everyone else…

6 Likes

Does this have modern css ssupport or it will just help in fixing the standard print format issue?

1 Like

Some say it fixes all issues, presumably including modern css support. Personally, to this day I still have issues with svg’s when exporting to pdf/batch printing (which is basically batch export to pdf). I never could get a standard bootstrap grid to take, either. Fonts and relative/absolute positioning work, though?

Interesting enough, svg’s work fine when printing single items, so there seems to be some difference between just printing and printing via pdf.

This fixed my issue

You are a life saver this shit solved my problem thanks

Anyone else getting an output like this even after trying all solutions?