lsongdev / lsongdev/node-escpos

Printing weird character when I start to run example/index.js

Open
#216 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.6k
Forks
443
PR merge metrics
No merged PRs in 30d

Description

Hello, I am try to using this, but I got an error, the printer is not printing correctly, I try execute file from example/index.js, the result like this

WhatsApp Image 2019-07-15 at 4 39 22 PM

if the plain text, is work but others not working, the printer is support 2D QR code, any of Barcode, and foreign character, but when I try is not working. Only plain text is work, thanks in advanced

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running example/index.js with the reported printer and compare plain-text output with the QR code, barcode, and foreign-character cases described in the issue. Inspect the example and the printer output to identify what differs; done means those non-plain-text examples print correctly on the supported printer.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.