กลับไปหน้าโปรเจกต์
โปรเจกต์
escpos-web-print
Side Project
ตุลาคม 2026 – ปัจจุบัน
แท็ก
ลิงก์
Most web thermal printing setups make you install a native bridge, an Electron wrapper, or a local print daemon. I wrote escpos-web-print so a plain web page can talk straight to 58mm and 80mm thermal printers using standard browser hardware APIs.
It supports Web Bluetooth (GOOJPRT/PT-210/Zjiang 18f0/2af1 and Microchip ISSC UART), Web Serial, and WebUSB. Canvas ImageData gets converted into GS v 0 1-bit bitmaps with either Atkinson error-diffusion dithering or hard thresholding (src/bitmap.ts). Zero runtime dependencies, published on npm.