node-escpos / driver

🖨️ ESC/POS Printer driver for Node.js.
Other
309 stars 30 forks source link

fix app stop processing if no printer detected #76

Closed ahmadsoran closed 1 year ago

ahmadsoran commented 1 year ago

in this PR i fixed an issue happened to me with USB adapter pkg if no usb printer detected will stop electron app from processing & added paper cut command support specific type of thermal printers

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: fa6da525aa85265314cbfc32b67d0f194f3454ed

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

dohooo commented 1 year ago

IMHO, this change seems unnecessary. Can you show me your code?

ahmadsoran commented 1 year ago

seems you'r right thx, what i was thinking :D