Footer in quotation template is slipping to second page

Dear Team,

I am using built in quotation builder in ERPnext. Footer in quotation template is slipping to second page since I have many data in my quotation (While printing). How can this be resolved?
Actually it should stick to first page itself. I have enabled Footer and header for every page in settings.

I tried adding the code

in html editor. But it didn’t work.

Further checked on this and if I clicked on the button “Print” I get this issue.
If I click on “PDF” the footer is displaying properly.
Version I am using is below:

ERPNext: v11.1.28 (master)
Frappe Framework: v11.1.27 (master)

Try going to “Print Settings” and make sure your page type is selected properly.

I had issues when mine was set to “A4” paper instead of “Letter”

BKM

@bkm I have checked the one which you have specified above still same. But If I click on “PDF” the footer is displaying properly. This issue is there when we click on “Print” button.

hi there, any update about this?

i encounter same kind of issue, in Sales Invoice, if i put several item, the table can be break from page 1 to page 2…

my question is, any method to make sure the item table formatted properly, it’s okay if it take 2 pages for sales invoice, as long as formatted properly, because we want to send it directly to customer through ERP…