Print image on socket Termal printer (Python)
Print image on socket Termal printer (Python) Question: I’m trying to create a python script to print an image on my network connected thermal printer, through a socket connection. I tried this script but instead of printing the image it prints an infinite string of characters: import socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect(("192.168.1.56", 9100)) with …