Change the Line Character Count on your Printer settings in SambaPOS.
For a 58mm thermal printer, you can try setting it to 32, then increase it until you find the value that breaks the line, then you know the maximum characters you can have per line.