https://github.com/getbitpocket/html2print
transform html to esc/pos printer syntax
https://github.com/getbitpocket/html2print
Last synced: 22 days ago
JSON representation
transform html to esc/pos printer syntax
- Host: GitHub
- URL: https://github.com/getbitpocket/html2print
- Owner: getbitpocket
- License: bsd-2-clause
- Created: 2017-11-19T18:15:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-20T09:40:56.000Z (over 8 years ago)
- Last Synced: 2025-03-05T22:44:21.286Z (over 1 year ago)
- Language: JavaScript
- Size: 143 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# html2print
transform html to esc/pos printer syntax
# supported html
- tags: h1, p, b
- classes for tags (only h1 and p): align-left, align-right, align-center, bold, underline, underline2
# project commands
- `npm run generate`: generates javascript from pegjs
- `npm test`: runs jasmine specs