How to send raw string to a dotmatrix printer using python in ubuntu?
问题 I have a dot-matrix printer LX-300 connected to my computer through the network. How do I send a raw string with ESCP characters directly to my printer in Python? The computer is connected to the printer through another computer. I need to send a raw string because LX-300 image printing result is blurry. 回答1: The Problem To send data down this route: Client computer ---> Server (Windows machine) ---> printer (dot-matrix) ...and to not let Windows mess with the data; instead to send the raw