frappe / print_designer

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

Printing does not show header and footer #189

Closed webcomx closed 6 months ago

webcomx commented 6 months ago

Hello thare ! am having an issue of the printing header and footer not showing - but showing in print designer, also it shrings the page table so you see a big margin to your right when printing. any change you can help

maharshivpatel commented 6 months ago

@webcomx you need to install correct version of wkhtmltopdf https://github.com/frappe/print_designer?tab=readme-ov-file#faq

webcomx commented 6 months ago

INVOICE.pdf

Thanks for the update, will update when l get to the office, however l have tested print designer in the cloud and it seems am not able to display Batch no. and expire date is that possible with print designer APP. attach is a tally invoice l want to create

webcomx commented 6 months ago

hello l notice from the doctype batch there is no data field called batch_no we have batch_id any chance l can update that, seems when create one form add txt and use render in jinja it does not work

webcomx commented 6 months ago

image Is A4 but shrinks when you preview

webcomx commented 6 months ago

image alreaady have the wkhtmltopdf latest

maharshivpatel commented 6 months ago

@webcomx it needs to be qt patched. please go through https://github.com/frappe/print_designer/discussions/172#discussion-6247440

maharshivpatel commented 6 months ago

@webcomx i hope issue was solved as problem was you didn't have correct wkhtmltopdf version. please let me know if you are still facing the issue. i am closing this for now. Thank you