escpos-printer-db
escpos-printer-db copied to clipboard
Fix device default settings
- Fix device default role size
- Fix device pixels:
- See https://files.support.epson.com/pdf/pos/bulk/tm-u220_trg_en_std_reve.pdf page 22
- See https://github.com/python-escpos/python-escpos/issues/598
Hi, does this change apply to all devices of this type? Or is it possible that also devices with 400px width exist?
@patkan this will apply to all devices of this series, See the first link.
The printer seems to accept 3 different paper widths (76mm, 69.5mm and 57.5mm) with different number of pixels per line (200px, 180px and, 150px respectively).
@tuxmaster You could also add the media.dpi field to the TM-U220 profile with a value of 80 that seems common to all the printer series.
media:
dpi: 80
The printer seems to accept 3 different paper widths (76mm, 69.5mm and 57.5mm) with different number of pixels per line (200px, 180px and, 150px respectively).
I think we should then provide three profiles.