How to get company address in POS Print Format?

I want a company address in POS Print Format. Is there any way to do this.?

you can fetch data in a print format using frappe.db.get_value