Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unable to print text

Open
#381 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
node.js, typescript

Research direction

No source file or test is named. Start by reproducing the shown printer.font, align, size, text, barcode, cut, and close sequence, then determine which of the listed ESC/POS, TSC, EPL, or CPCL protocols the white-label printer uses; done means text prints alongside the EAN13 barcode and the behavior is documented with a complete placement example.

Written by the indexing model from the issue text.

Description

I am using the following command to print text but its not doing so, just printing the barcode

    printer
    .font('a')
    .align('ct')
    .size(1, 1)
    .text('EAN13 barcode example')
    .barcode('123456789012', 'EAN13') // code length 12
    .cut()
    .close();

I am not sure which printer it is, because it is white labelled with a private company's name, but in the command it is mentioned

ESC/POS/TSC/EPL/CPCL

It would be really helpful if your example may include full code to design a barcode, with different kind of placements

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

Getting set up

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.

More from lsongdev/node-escpos

All issues in lsongdev/node-escpos

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.