Thermal Receipt Printer Kp206b-ub Driver [portable] Page

import serial ser = serial.Serial('COM3', 9600, timeout=1) ser.write(b'\x1B\x40') # init ser.write(b'\x1B\x61\x01') # center align ser.write(b'Hello from KP206B-UB\n\n') ser.write(b'\x1D\x56\x41\x00') # cut (if supported) ser.close()

: The printer model is KP-206B-U, and it's manufactured by Bixolon (a well-known printer manufacturer). thermal receipt printer kp206b-ub driver