lsongdev / lsongdev/node-escpos
Please include an option to change the width of the paper
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 443
- PR merge metrics
- No merged PRs in 30d
Description
I use this module and get a print that is too long on each line, so it's not neat

and my printer should use a size of 30 instead of 48
this is the result

I manually edit in node_modules



Please include an option to set the character size per line along with the encoding options
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
Start by tracing the existing encoding options and the hard-coded line width shown in the issue's screenshots. Confirm how the printer module exposes configuration and define done as allowing the per-line character size to be configured alongside encoding without editing node_modules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100