-
Notifications
You must be signed in to change notification settings - Fork 279
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
Cannot write special characters for network printer #545
Comments
Hi, |
Hello, 1F 1B 1F FE 11 Do you know what these commands are ? There is also some software .exe, I will try to tap on the socket with wireshark to get more info. Thanks |
These numbers are likely the hex sequence for escpos codepage changes. |
Bug description
I am trying to print latin-1 characters such as "á", "É", "ñ" but I get printed chinese characters instead. I have tried changing to other codepages such as "PORTUGUESE" or "MULTILINGUAL" but it prints the same chinese characters all the time.
Steps to reproduce
Device info
Printer: Xprinter XP-T80A firmware version 3.010PR6G
The Selftest indicates that it supports codepage 6 (West Europe) and many others. It also says: Resident Character: Alphanumeric and Simplified Chinese GB18030
python-escpos version: 2.2.0
python version: 3.6.13
operating system: Ubuntu 16.04LTS
The text was updated successfully, but these errors were encountered: