I bought a
Zijiang-ZJ-58 from Amazon, but found that the existing Linux software did not print in the correct format, or not how I wanted. These scripts output in the ESCPOS format, which is what the printer uses internally.
sudo apt install build-essential cmake libcups2-dev libcupsimage2-dev sudo apt install -y system-config-printer
python3 TermalPrinterConverter.py ./printOutput.sh