cuu 1ca70d37d9 add eg cli commands in readme | 2 年之前 | |
---|---|---|
.. | ||
etc | 3 年之前 | |
usr | 2 年之前 | |
.gitignore | 3 年之前 | |
Makefile | 3 年之前 | |
README.md | 2 年之前 | |
config.h | 2 年之前 | |
devterm_thermal_printer.c | 2 年之前 | |
logo.h | 3 年之前 | |
pcf_5x7-ISO8859-1_5x7.h | 3 年之前 | |
pcf_6x12-ISO8859-1_6x12.h | 3 年之前 | |
pcf_7x14-ISO8859-1_7x14.h | 3 年之前 | |
printer.c | 3 年之前 | |
printer.h | 3 年之前 | |
ttf_Px437_PS2thin1_8x16.h | 3 年之前 | |
ttf_Px437_PS2thin2_8x16.h | 3 年之前 | |
utils.c | 3 年之前 | |
utils.h | 3 年之前 |
echo “Hello DevTerm” > /tmp/DEVTERM_PRINTER_IN
echo -e “Hello DevTerm\n\n\n\n\n\n” > /tmp/DEVTERM_PRINTER_IN
cat file.txt > /tmp/DEVTERM_PRINTER_IN
ncal -hb | tee > /tmp/DEVTERM_PRINTER_IN
set printer font index,n:0-4
echo -en "\x1b\x0" > /tmp/DEVTERM_PRINTER_IN
n:0-F, set printer printing density
echo -en "\x12\x23\x8" > /tmp/DEVTERM_PRINTER_IN
print the test page
echo -en "\x12\x54" > /tmp/DEVTERM_PRINTER_IN