Skip to content

Instantly share code, notes, and snippets.

@Carko
Carko / esc-pos-image.py
Last active July 12, 2023 14:43 — forked from scruss/esc-pos-image.py
print image files to thermal printer ESC-POS on stdout - python 3 version
#!/usr/bin/python
# 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)
# carko - 2021-01-29 - WTFPL
# 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