You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have done a great job with the library, I am grateful that it has been helpful in my project.
I have to print an invoice with a italic font type with bold type. So the printer takes the Generic Text font type and I can't customize the font, I resorted to printing a small image with the text I need.
I researched several Issues, mainly this #480 but none worked for me. I have used the methods and strange characters always appear when trying to print the image. I tried JPG, JPEG and PNG. Nothing works for me.
I have a TM-U220B, but I'm a bit too short of time at the moment to test whether this works. If this doesn't solve it, then leave this issue open, and I'll come back and write an example at some point in the future. I need to write an example which uses a custom currency symbol on this printer anyway.
Yes! it was the amount of vertical pixels. I used 8 pixels high.
Thank you Mike42. It wouldn't have occurred to me to think about it. I know very little about printers.
Hola @juanisn , Podrias por favor copiar el codigo que utilizaste para usar esa imagen?
Necesito usar exactamente la misma imagen pero no logro hacerlo funcionar, si utilizo una imagen pequeña directamente se traba la impresora y con una de mayor tamaño, se corta.
Hello Mike42!
You have done a great job with the library, I am grateful that it has been helpful in my project.
I have to print an invoice with a italic font type with bold type. So the printer takes the Generic Text font type and I can't customize the font, I resorted to printing a small image with the text I need.
I researched several Issues, mainly this #480 but none worked for me. I have used the methods and strange characters always appear when trying to print the image. I tried JPG, JPEG and PNG. Nothing works for me.
This is the small image I need to print:
Result (I tried the same code as in Issue #480):
Thanks for your help. Sorry my english.
Greetings to you.
The text was updated successfully, but these errors were encountered: