-
Notifications
You must be signed in to change notification settings - Fork 63
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
image printing #1
Comments
See discussion #issues/71 you probably need to cancel the default printer characters, send the pos commands for this |
I read about searching in the manual for hex characters, i did find them but now what? |
I think you did not read the whole discussion, there are the snippets of code that were tested with base64, which would be the one here |
but my case is different because I'm not seeing Chinese and my printer is not the same as his |
Your case is different but the printer and POS, so you should see in the manual of your printer which are the characters to set the encoding and the type of characters, then mount a javascript with the commands of your printer as I showed in the pastebin link and do the tests. If you get this code there is the link and run what happens? |
Invalid int: "null" |
sorry, today I'm running at work, I edited the last link in the paste, please test it again, the correct function was missing and you did not even notice it. |
i noticed and changed it and the above image is the output of the correct code |
so you should change the character encoding, I did this directly in java, now you have to go changing and testing as I did, here in Brazil we use iso 8859 1, if you notice java is setting this, maybe if you change it help, I even uploaded a commit in the morning altering it, I commented the lines that the encoding was setting. |
okay thank you ill see what can I find |
@CesarBalzer, using code from https://pastebin.com/24dN2j21, I get blank feed, I'm using JOLIMARK TP510. |
heyy
when printing using url the method is not giving any output as if it was never called,
and when trying the base64 image printing
, weird shapes are being printed,
how can i fix this?
The text was updated successfully, but these errors were encountered: