Hello! I've had the following issues when using Bematech MP-4200TH:

- Please notice how condensed and expanded text styles are not being applied in the left image
- Also it's usage is erasing a few letters
- The image on the right corresponds to the applied solution and will be mentioned in a PR very soon
Steps to reproduce:
Use the following code to print to a Bematech MP-4200TH
The result should look like the image above (the one with Issue written in it)
from pyescpos.conn.win32 import Win32Raw as Connection
from pyescpos import barcode
from pyescpos.impl.bematech import MP4200TH
conn = Connection.create('MP-4200 TH') # printer name (on windows 10)
impressora = MP4200TH(conn)
impressora.init()
impressora.text("Hello World! 1\nLine")
impressora.lf()
impressora.set_condensed(1)
impressora.text("Hello World! condensed\nLine")
impressora.set_condensed(0)
impressora.lf()
impressora.set_expanded(1)
impressora.text("Hello World! expanded\nLine")
impressora.set_expanded(0)
impressora.lf()
impressora.code128(
'0123456789',
barcode_height=96,
barcode_width=barcode.BARCODE_DOUBLE_WIDTH,
barcode_hri=barcode.BARCODE_HRI_BOTTOM
)
impressora.lf()
impressora.ean13(
'4007817525074',
barcode_height=120,
barcode_width=barcode.BARCODE_NORMAL_WIDTH,
barcode_hri=barcode.BARCODE_HRI_TOP
)
impressora.cut()
Printer used:

Hello! I've had the following issues when using Bematech MP-4200TH:
Steps to reproduce:
Use the following code to print to a Bematech MP-4200TH
The result should look like the image above (the one with Issue written in it)
Printer used:
