label_printer/test.py
2024-09-12 21:46:29 +02:00

5 lines
106 B
Python

import ctypes
mylib = ctypes.CDLL('./library_bridge.so')
mylib.printimg("/dev/usb/lp0".encode('utf-8'))