escpos-printer-db icon indicating copy to clipboard operation
escpos-printer-db copied to clipboard

Fix device default settings

Open tuxmaster opened this issue 1 year ago • 5 comments

  • 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

tuxmaster avatar Dec 11 '23 11:12 tuxmaster

Hi, does this change apply to all devices of this type? Or is it possible that also devices with 400px width exist?

patkan avatar Dec 11 '23 11:12 patkan

@patkan this will apply to all devices of this series, See the first link.

tuxmaster avatar Dec 11 '23 13:12 tuxmaster

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).

belono avatar Dec 11 '23 19:12 belono

@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

belono avatar Dec 11 '23 19:12 belono

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.

patkan avatar Dec 11 '23 21:12 patkan