Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubesail/raster-to-tspl-js
https://github.com/kubesail/raster-to-tspl-js
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kubesail/raster-to-tspl-js
- Owner: kubesail
- Created: 2021-12-02T11:21:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T14:48:51.000Z (about 2 years ago)
- Last Synced: 2024-06-13T21:42:34.535Z (3 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 43
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raster to TSPL in JavaScript
This simple library turns raster images into TSPL files for sending to a TSPL printer, like the inexpensive [Polono PL60](https://www.amazon.com/Polono-Thermal-Label-Printer-Commercial/dp/B08RBG6QYX).
## Why?
The PL60 does not ship with a `arm64` or `armhf` linux driver, meaning it cannot run on a low cost Raspberry Pi. This bypasses that by reading any image format, resizing it to 4x6 and converting it, then sending the raw data directly to the printer.