Forums › Life › Computers, Gadgets & Technology › C Programming : controlling a cheap thermal printer via USB to TTL serial comms link
Should work on x86/x64 Intel and ARM (although haven’t yet tried it with a Raspberry PI) – set permissions correctly for the /dev/tty* device so you don’t have to run it always as root..
Of course using Python is way easier (as I found out when trying to write code for another serial comms project) but I was determined to get the C code working somehow, the code is below if anyone wants it..
https://www.youtube.com/watch?v=7ZipTQTyPn0
link to code: Thermal printer code test – rtn VFRmedia
0
Voices
1
Reply
Tags
This topic has no tags
Forums › Life › Computers, Gadgets & Technology › C Programming : controlling a cheap thermal printer via USB to TTL serial comms link