PDF template is not aligned

Hi all,

I have a problem with the PDF printing function. All template are not aligned when PDF is generated
I’ve already set hostname in my site config file but it doesn’t work…

My site_config.json:
{
“db_password”: “XXXXXXXX”,
“db_name”: “erpnext”,
“nginx_port”: 8090,
“host_name”: “http://myurl
}

Thanks!