🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

web-receiptline-printer

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-receiptline-printer

A small library for printing ReceiptLine documents to various receipt printers from a browser.

0.3.0
latest
Source
npm
Version published
Weekly downloads
13
333.33%
Maintainers
0
Weekly downloads
 
Created
Source

Web-ReceiptLine-Printer

NPM Version | Build

Print receipts on receipt printers directly from your browser. No need to install drivers, extensions, or anything else.

image

Demo

See the demo that runs in your browser. Note that you will need a browser that supports WebUSB, such as Chrome, Edge, Chrome on Android, Opera, etc.

Supported Printers

Tested:

  • Epson TM-T88V

Theoretical:

  • All Epson ESC/POS printers with 42 characters per line

This library has been tested with Epson TM-T88V printers, it may not work with other brands at this time. Have a particular printer you'd like to use? Drop me a note about it!.

Docs

Read more about ReceiptLine..

This repo contains some docs and findings related to receipt printers and their various quirks. I'm interested in collecting as much of this information as I can as I just think they're neat. If you have something to add please feel free to open an issue!

Local development

To facilitate local dev you can spin up a local static webserver that will end up operating very similar to GitHub Pages. Clone the repo, run npm ci and npm run serve-local. On the first time this will run mkcert and save the certificate to your machine store, subsequently it will re-use this same cert. Open the server at https://localhost:4443/demo/ to test the app.

  • npm run test to run the tests.
  • npm run build to run the typescript compiler.

Keywords

receipt_printer

FAQs

Package last updated on 03 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts