lukevp / ESC-POS-.NET

Efficient, Easy to Use Thermal Printing & POS (Windows/Linux/OSX, WiFi/BT/USB/Ethernet)
MIT License
503 stars 166 forks source link

More flexible font size #212

Closed Kamaew closed 1 year ago

Kamaew commented 1 year ago

Hello

Can someone tell me how to fine tune the font size? double width and height doesn't give any flexibility. In fact, the printer supports setting sizes for almost every character. How to implement it in the library?

Many Thanks

igorocampos commented 1 year ago

I'm only aware of 2 ways of changing fonts in ESC/POS: 1 - The mentioned width and height multiplier (which can very well be more than the double - e.g. 4x, 8x, etc) 2 - The secondary font type (there's a font A and B you can use) but that's more of style than size.

Other than that you would need to research ESC/POS commands that can change it, and if you find it, it should be very easy to implement the commands in the library.

lukevp commented 1 year ago

Closed for staleness and marking for possible documentation updates.