Ticket Print Issue

how to fixed template printer so the text is full in my paper (58mm) and put my logo in ticket header
this is a sample from my printer

You can refer to below links: