iHello
February 9, 2016, 9:46am
1
I have problem to work the the pdf feature.
please see the attached photos.
1:click " print" and “pdf” to generate .pdf file ()
“print” is fine, the printed file is same as the preview.
“pdf” feature works, but the printed file is not same as the preview. it seams the pdf file don’t have styled.
1 Like
iHello
February 10, 2016, 1:28am
2
My problem is very similar to these posts:
Hi,
i have two issue.
Getting pdf format is not aligned.all content move to left.
When i’m tried to send mail with pdf attachment it takes too much time to process.
Best
Hi,
When click pdf to generate pdf from sales invoice print-view, the pdf file becomes ‘disordered/messed-up’.
Anybody know what causes this?
Tks
Thks for you response,
i put in this message 2 images, 1 is from online page thats this correct, and the other from the pfd that a received from email, this one is not correct.
i see some interesting thing, i use Spanish language, in online version the invoice look in spanish, but in email pdf the language is in english.
[image]
[image]
I already edit the site_config.json file to include host_name;
and ,replaced the fonts from GitHub - frappe/fonts
the frappe cloud don’t have this issue, but my local demo server have problem
anand
February 10, 2016, 9:15am
3
What did you put in host_name?
iHello
February 10, 2016, 10:58am
4
I make a site name is www.domain.com
,i put in the host_name is "host_name": "http://www.domain.com"
I have similar problem while emailing invoice right after it is created:
When I directly email invoice after submitting the invoice, the format of the invoice looks like this: [image] ,
while the print copy or pdf from print/pdf looks normal:
[image]
Is there a way fix the invoice format directly from email?
Thanks a lot.
anand
February 15, 2016, 1:23pm
6
If you are using development setup, you also need to set the port:
“host_name”: “http://www.domain.com:8000 ”. However, if you are using nginx, it should’ve worked.
mithin
February 24, 2016, 5:49am
7
@anand
Even i’m facing similar problem. The alignment has gone for a toss. Specially in item description.
I did add “db_password”: “XXXXXXXXXXXXXXX”,
“host_name”: “http://XX.XX.XX.XX:8000 ”
I’m using AWS.
It was working fine before 6.xx Upgrade. Can you please help me with this.
Thanks in advance.
Mithin
anand
February 24, 2016, 12:23pm
8
Could be firewall issue in AWS.
mithin
February 24, 2016, 1:57pm
9
Fire wall issue as in? I did a reinstall on a different instance on aws and did a backup restore of the database. Still the same issue. How to solve the issue.
Thanks
iHello
May 25, 2016, 11:02pm
10
I found the problem. My firewall blocked 8080 port.
It works well now.