frappe / print_designer

Visual print designer for Frappe / ERPNext
GNU Affero General Public License v3.0
179 stars 101 forks source link

Item table not break properly. Item Description overlapping while its more than one page. @maharshivpatel #243

Open smthakor1979 opened 2 months ago

smthakor1979 commented 2 months ago
          Item table not break properly. Item Description overlapping while its more than one page. @maharshivpatel 

image

_Originally posted by @smthakor1979 in https://github.com/frappe/print_designer/issues/15#issuecomment-2051547761_

maharshivpatel commented 2 months ago

@smthakor1979 can you please share the format

smthakor1979 commented 2 months ago

@maharshivpatel , please find the attachment.

DIPL_069.pdf

maharshivpatel commented 2 months ago

@smthakor1979 i need format to replicate the issue can you please share the format. also, if you can share the item description shown in the pdf that would be great.

you share your format like this :

You can paste the data here ( change any personal info )

https://github.com/frappe/print_designer/assets/39730881/b7b761c7-a2b1-43d4-a3b3-0dde25ba9699

smthakor1979 commented 1 month ago

Item Description https://pastebin.com/92vdswFm

Copy from Clipboard https://pastebin.com/4uHrBrZf

itsdaveit commented 1 month ago

@maharshivpatel

This even happens with the templates delivered with the print designer, like:

print_designer/default_templates/erpnext/sales_order_pd_v2.json

Just create one item with a decription that long, it causes a page break.

This behaviour is also still present in the old print format system.

image

maharshivpatel commented 3 weeks ago

@itsdaveit as you pointed out yourself

This behaviour is also still present in the old print format system

This is caused by underlying library wkhtmltopdf there is nothing we can do here. i am still trying to find some workaround.