This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# esc-pos-image.py - print image files given as command line arguments | |
# to simple ESC-POS image on stdout | |
# scruss - 2014-07-26 - WTFPL (srsly) | |
# - 2021-01-09 (made python3 compatible - tvm Carko!) | |
# if you want a proper CUPS driver for a 58mm thermal printer | |
# that uses this command set, go here: | |
# https://github.com/klirichek/zj-58 |