POS invoice format

I have been unable to edit the POS invoice

Hello… I edited it manually via apps/erpnext/erpnext/…
see the attached for a hint.
Its having problem cutting paper to small size maybe someone can assist

How do I edit it this way… steps please

Hi @chris , did you manage with this solution?

Create a custom print format.
Write a client script to set value of Print Format field in Sales Invoice upon submitting/saving.

Untested, but should work.