Recent

Author Topic: Receipt Printer  (Read 322 times)

Petrus Vorster

  • Full Member
  • ***
  • Posts: 190
Receipt Printer
« on: February 21, 2025, 09:10:47 am »
Hi All

I have a Bixollon receipt printer.
I can connect it and print to it with the printer object.
So far so good.

I have set the printer.canvas.font.size to e.g.15 and printing a line is 100% fine.
This is where the old programmer comes in.

The receipt printer is going to get a whole list of lines to print.
Do I need to do a printer.canvas.textout for each line and calculate (or try to) the next line to place?
I the olden days we used a linefeed and you just kept going.

How would you go about doing that?

Regards,

Peter

 

TinyPortal © 2005-2018