How do change the invoice print format to fit more items into a page?

Currently the invoice only seems to fit 4 items per page. While our previous software was able to fit 15 in a page. Is there any way to change the print format to fit more into one page?

@zeeeeeeeero

Create Your Custom HTML Jinja Print format with required data to be shown in PDF and where you can change font size to fit. number of items in A4 paper

Which of the print formats is for sales invoice? I see that it’s “Standard” in print dropdown of Sales Invoice but in the print formats list there is no Standard print format for Sales Invoice

Also, how do I set the standard print format as default again?
This seems to be outdated:
https://frappeframework.com/docs/user/en/guides/reports-and-printing/where-do-i-find-standard-print-formats

@zeeeeeeeero Here https://docs.erpnext.com/docs/user/manual/en/records-print-format

Default Print format can be set from Customise Form Of Sales Invoice

When I follow the instructions and use “Based on Standard” it seems to show a new layout instead of a layout based on the standard format. Is that normal?

Also, the standard format is not appearing for the customize of sales invoice as an option

Also, where do I find the list of field names available if I want to do a custom Jinja format?

@zeeeeeeeero in sales invoice customize form itself

So I managed to make my own invoice using the fields listed in customize invoice form thankyou. But for this sec_tax_breakup field


I cannot seem to find the list of subfields within it

Also it seems the field name is different

I need to make something like this

Okay I found it. It was the field other_charges_calculation that had this. I used inspect element to find it