lsongdev / lsongdev/node-escpos

How to CUPS

Open
#360 0 comments 0 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

Hello!

Quick question for you. My thermal printer (ZJ-58) is attached to a rasp via USB. I'm looking to run a script from a different machine that generates the print job. Currently, I've got a script written in PHP that makes use of [this fantastic package from mike42](https://github.com/mike42/escpos-php) - the package includes a CUPS adaptor and it works pretty well.

If I were to rewrite my existing setup with `node-escpos`, would I have to write a new custom CUPS adaptor or can you recommend an alternative? :-)

Thanks!

Tom

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

No files or tests are named. Start by reviewing node-escpos's documented printer transports and the CUPS adaptor in mike42/escpos-php; done would be determining whether an existing Node-compatible path supports the remote thermal-printer setup or whether a new adaptor would be needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, php
Domain
backend, embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.