lsongdev / lsongdev/node-escpos

Read of Usb adapter is undefined

Open
#321 3 comments 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

![image](https://user-images.githubusercontent.com/26318742/100529024-f6d39a80-31b0-11eb-8e63-f69982979ec4.png)
I was trying to get the status of the printer but USB.read is undefined in escpos-usb module

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 reproducing the undefined USB.read call in the escpos-usb module while checking how the USB adapter exposes reads. Trace the adapter's status-reading path and verify that printer status can be retrieved without the undefined error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, 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.