Closed Knoxvillekm closed 1 month ago
Alright, so current implementation is only compatible with Epson printers, because it is coded to the Epson ESC/POS specification. I didn't encounter this issue, because I tested the charsets on an Epson printer.
This needs to be reworked.
Superseded by #41
Every printer has own list supported charsets with difference Id. For example: one printer has Windows1252 with id - 16 and other has Windows1252 with - 87.
Idea: enum of charsetNames
and charset data class
And ktor has charset class
import io.ktor.utils.io.charsets.Charset