lsongdev / lsongdev/node-escpos

Can not find printer (vps) ubuntu 20.04

Open
#390 3 comments 1 reaction 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

Hey,
i have a printer connected using usb and ethernet
in localhost everything works good i can print using USB port (escpos-usb) also using ethernet (escpos-network)
after deploying my app to a vps ubuntu 20.04
my printer couldn't be found, USB.findPrinter() return empty array
knowing that i have installed sudo apt-get install build-essential libudev-dev as it is required
after checking connected usb devices in server using lsusb it doesn't return the connected usb printer

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

Start by comparing USB.findPrinter() behavior on the local machine and the Ubuntu 20.04 VPS, then inspect the output of lsusb on the server. Check whether the VPS can see the USB printer at all and whether the reported build prerequisites are sufficient; done means explaining or reproducing why the printer is unavailable in the deployed environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.