Address print format in 2 lines only

Hello, im using erpnext 12, installed on ubuntu 20.04 successfully.
i m trying to create a custom invoice template printing.
THE QUESTION : i want to make the address in just 2 lines and not that multiple lines
example :
address line 1 , address line 2 , city
poste code, Country.

In Settings, Printing , Address Template you may change the format. Print formats for doctypes may be customized as well.

Update the Address Template in your system:

https://docs.erpnext.com/docs/user/manual/en/setting-up/print/address-template