lsongdev / lsongdev/node-escpos
printer.size(2,2) error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 443
- PR merge metrics
- No merged PRs in 30d
Description
hello thanks for the fantastic library,..
unfortunately i cannot set size from to double the size
i use epson TM-U220 on linux ubuntu 20.04
this is some case that i tried
every use case was giving different result but all stil have the normal font size
printer
.font('A')
.align('LT')
.style('NORMAL')
.size(1, 2)
.text('Text A')
result = Text A
printer
.font('A')
.align('LT')
.style('NORMAL')
.size(2, 1)
.text('Text A')
result = !Text A
printer
.font('A')
.align('LT')
.style('NORMAL')
.size(2, 2)
.text('Text A')
result = "Text A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files or tests; start by reproducing the size(2,2) cases with an Epson TM-U220 on Ubuntu 20.04 and trace the printer size handling from the public printer API. Done means the reported size settings produce the intended enlarged output rather than normal-size text, with the behavior verified against the listed cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100