Open thekirankumar opened 5 months ago
@thekirankumar Could it be that the print request was created for a different vendor/model than the printer you are using? It appears that there are many control commands and data that are not specified by EPSON and have been independently extended by some vendor.
As written in the README, my program is created based on the EPSON specifications. For example: ESC/POS® Command Reference Revision 3.00
Please try to obtain information about the printer configuration targeted by the program that made the print request, and see if you can change it for the printer you are using.
@kunif The file was generated by the printer's driver when I select "label printing" from a POS software.
Printing this very github html page via the thermal printer generated the following spool file 00010.zip
@thekirankumar Even if you give me a vague name like "label printing" or "POS software" that doesn't specify anything, I can't get any information from it. As I commented before, my program is created by referring to EPSON specification information. For now, I have no plans to support other vendors or printers other than thermal receipt. If you require support for printers from vendors other than EPSON or with additional features such as label printers, please do so yourself. You will need to start by obtaining and researching the vendor-specific ESC/POS command specifications that your printer supports.
@kunif I'm using your library to decode the ESC/POS printer windows spool file. It works well for most inputs. I came across one binary file which causes output of garbled characters like this. I verified that it contains ESC/POS commands, its just that the text output is garbled.
The windows spool file was generated by a thermal receipt printer while printing a grocery bill at a supermarket.
Here's the zipped binary causing the issue, looking forward for a suggestion to get usable text output.