Skip to content
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

CodeTable for ß,ä,ö,ü #5

Open
emmaxCreative opened this issue Jul 23, 2021 · 6 comments
Open

CodeTable for ß,ä,ö,ü #5

emmaxCreative opened this issue Jul 23, 2021 · 6 comments

Comments

@emmaxCreative
Copy link

emmaxCreative commented Jul 23, 2021

Until now I was using setGlobalCodeTable('CP1252') to print all german characters like äöü but since using your package it does not work anymore. Did the codeTable change somehow or is it not supported anymore?

@matejkramny
Copy link
Member

Should be working the same. The repo has the same code tables as the original

@emmaxCreative
Copy link
Author

Thats strange. I think I´ll figure it out then.

@matejkramny
Copy link
Member

matejkramny commented Jul 24, 2021

photo_2021-07-24_09-37-49

Just tested with CP1252 on Epson TM-T20II

@emmaxCreative
Copy link
Author

I have the same printer but still they are not printing. I think its something on my side but I don´t know where to look. Thanks for testing :)

@emmaxCreative
Copy link
Author

I figured it out. Somehow the setGlobalCodeTable is not working. If I set the codetable only for a text via PosStyles then its working

@emmaxCreative
Copy link
Author

@matejkramny would it be possible for you to test it with setGlobalCodeTable?

tested with this minimal code.

ticket.setGlobalCodeTable('CP1252');
      ticket.text('ßÄäÖöÜü € éúóíi');

@emmaxCreative emmaxCreative reopened this Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants