Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
9086 Lượt xem

hello,

I have problem when i print report pdf , because the footer and header are missing and the format of paper is ugly.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

please make sure that correct version of wkhtmltopdf you are using.

please try following steps in order for(ubutnu):

sudo apt-get remove - auto-remove wkhtmltopdf
sudo apt-get purge - auto-remove wkhtmltopdfsudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.1.3-1 ~ bionic_amd64.deb
sudo apt-get install -f
sudo ln -s / usr / local / bin / wkhtmltopdf / usr / bin
sudo ln -s / usr / local / bin / wkhtmltoimage / usr / bin


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Trying to adding <t t-call="report.external_layout">

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Please check if you have properly installed the proper version of wkthmltopdf according to the official installation documentation.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 11 20
6562
1
thg 1 24
5009
1
thg 8 19
15092
0
thg 1 24
1541