-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esc2html output error #64
Comments
Can you tell me a bit more about how this file was captured, and what type of printer it is for? Since our expected output is basically "whatever a real printer would do", I sent your file to a real Epson TM-T20II (USB) to see what it looks like:
And this was the output: This approximately corresponds with what
Your input file is not understood by a real ESC/POS printer, so I think that the output is as good as can be expected. I did find some problems with how we handle errors in |
I'm also assuming that this is a follow-up to #62, so I've closed that off. I don't know how you're capturing your files, but if a real printer can't understand them, then these tools won't do any better. |
Hi,

I'm trying to convert an ESCPOS binary file to HTML document.
when I run this command: php esc2html.php ascii.bin >output.html
I get errors:
this is the file ascii.bin
ascii.txt
The text was updated successfully, but these errors were encountered: