Hi! So I have a print format that (I cannot post here because new users can only post a single image) but goes like this:
HEADER
Section
Column 1: Column 2:
Tax ID Date
Address
Name
Mobile No.
Section
Table with prices (which actually works well)
Section
Column 1: Column 2:
Total in Words Net total
Discounted total
As you can see, I have a couple sections where I have items on two columns. This is done so that I can fit my entire invoice on a single page (because of national restrictions, but nevermind that.)
The problem, however, is that it prints like this:
Which, among other things, is not separated in columns. Moreover, it’s all aligned to the right. I have checked that I am printing on the correct format, and have tried deleting by cache and all that jazz, but to no avail.
Hi! Yeah, I had to add the hostname because the site_config.json did not have anything there originally. After that bench restart changed nothing. I did add it however as http:… and not IP. I’ll try to change it to the IP address in a while.
As for wkhtmltopdf -V it returns wkhtmltopdf 0.12.5 (with patched qt)
Thanks so much! I guess I didn’t properlly read the previous posts 'cause a guy described the same situation (not working with host_name: http://website.com) and the solution was setting the variable to the static IP address.