Updated Guide To Setup thermal printer from source code (markdown)

GNU 2022-06-05 20:05:51 +08:00
parent 1a2e0def06
commit 9fa5095b8f

@ -53,6 +53,9 @@ sudo systemctl start devterm-printer
now you can test the printer by cat or echo something into `/tmp/DEVTERM_PRINTER_IN` now you can test the printer by cat or echo something into `/tmp/DEVTERM_PRINTER_IN`
eg: `echo "hello world\n\n\n\n\n\n\n\n\n\n" > /tmp/DEVTERM_PRINTER_IN eg: `echo "hello world\n\n\n\n\n\n\n\n\n\n" > /tmp/DEVTERM_PRINTER_IN
we recommend use [tmux](https://github.com/tmux/tmux/wiki) to do this job
so that you can run and see all the commands output in a single terminal window
## For cups ## For cups
just install `devterm-thermal-printer-cups` just install `devterm-thermal-printer-cups`
``` sudo apt install devterm-thermal-printer-cups``` ``` sudo apt install devterm-thermal-printer-cups```