An Org Mode to ESCPOS converter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
766 B

11 months ago
11 months ago
  1. #+TITLE:Thermal Printer Converter
  2. 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.
  3. * TODO Setup
  4. [[http://scruss.com/blog/2015/07/12/thermal-printer-driver-for-cups-linux-and-raspberry-pi-zj-58/][Article]]
  5. [[https://github.com/klirichek/zj-58][Driver]]
  6. #+BEGIN_SRC sh
  7. sudo apt install build-essential cmake libcups2-dev libcupsimage2-dev
  8. sudo apt install -y system-config-printer
  9. #+END_SRC
  10. [[https://www.techrepublic.com/article/control-printers-in-linux-from-the-command-line/][Command line operation]]
  11. * Use
  12. #+BEGIN_SRC sh
  13. python3 TermalPrinterConverter.py
  14. ./printOutput.sh
  15. #+END_SRC