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

Cyrillic printing. setTypeFontB #245

Open
fobus821 opened this issue Jan 16, 2024 · 1 comment
Open

Cyrillic printing. setTypeFontB #245

fobus821 opened this issue Jan 16, 2024 · 1 comment

Comments

@fobus821
Copy link

I use the GOOJPRT MPT-3 printer
Firmware: MTP-3B-YC-8008
Font: 1.10
The problem is that if you use setTypeFontB, the Cyrillic alphabet is printed incorrectly. If you use setTypeFontA or setTextNormal, everything is printed normally. Note: On firmware MTP-3B-YC-6107 and Font: 1.09, everything works fine. Is there a solution in the code? Is it necessary to flash to an older firmware?

@olimexsmart
Copy link

This seems more a problem with the specific printer firmware

But still, have you tried setting Cyrillic when setting up the printer?

  let printer = new ThermalPrinter({
      type: PrinterTypes.EPSON,
      interface: `tcp://${pInfo.ip}:${pInfo.port}`,
      characterSet: CharacterSet.PC855_CYRILLIC, // or PC855_CYRILLIC2
  });

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