lsongdev / lsongdev/node-escpos

Image Print Delay 7 Seconds

Open
#71 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I have an image (68k 512px x 860px).

escpos.Image.load() takes just over 7 seconds.

Is this to be expected, or am I doing something wrong?

(I have previously used the EPSON ePOS JS SDK, with the same images and the delay was imperceptible).

Best Regards
Peter

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

The issue names escpos.Image.load() as the entry point; begin by reproducing the seven-second delay with the stated 68k, 512px × 860px image and inspect that call's implementation. Compare its behavior with the reported EPSON ePOS JS SDK result; done means the expected timing or cause is established and the finding is documented or covered by a relevant test.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.