ESC/POS library
this project is based on this project https://github.com/haavardlian/escpos.
and was modified to suit specific needs, where applicable use the original project.
Additional Features from base code:
- Read back from printer
- Fixed issue where closing on network printer would throw exception.
Features:
- Adapters for Network, Serial, and Console (for debugging)
- Usual text stuff (Bold, Underline, Justification etc.)
- PNG images
- Bar code printing (Regular, QR, PDF417)
Usage example:
const adapter = "192.168.0.102" 9100const printer = await adapter printer