thermal-printer

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 …

Total answers: 1

Drawing Arabic Characters to bitmap

Drawing Arabic Characters to bitmap Question: i have been trying to print arabic characters using SPRT thermal printer with the python-escpos package, but i cant seem to find any solution at all, so i decided to draw the arabic characters to a bitmap and then print it. But that also doesn’t work.. this is the …

Total answers: 1