mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 18:28:50 +01:00
update thermal printer README DC2 # n
This commit is contained in:
parent
eba86ace01
commit
9db33b9eed
@ -44,27 +44,19 @@ https://github.com/clockworkpi/DevTerm/blob/81addc7f4ba1eb4acb2f59fb1fef70386dbe
|
|||||||
#### DC2 # n
|
#### DC2 # n
|
||||||
n:0-F, set printer printing density
|
n:0-F, set printer printing density
|
||||||
|
|
||||||
```
|
If you want to set the printing depth (printer heating time), you can use the following command to set it:
|
||||||
echo -en "\x12\x23\x0" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x1" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x2" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x3" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x4" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x5" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x6" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x7" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x8" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\x9" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\xa" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\xb" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\xc" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\xd" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\xe" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
echo -en "\x12\x23\xf" > /tmp/DEVTERM_PRINTER_IN
|
|
||||||
```
|
|
||||||
|
|
||||||
default density is 6
|
For the lightest:
|
||||||
|
|
||||||
|
`echo -en "\x12\x23\x0" > /tmp/DEVTERM_PRINTER_IN`
|
||||||
|
|
||||||
|
For the darkest:
|
||||||
|
|
||||||
|
`echo -en "\x12\x23\xf" > /tmp/DEVTERM_PRINTER_IN`
|
||||||
|
|
||||||
|
There are a total of 16 levels from 0 to 0xf. The default density is 6.
|
||||||
|
|
||||||
|
The heating time can be determined using the formula "n * (300 + n*46) microseconds."
|
||||||
|
|
||||||
#### DC2 T
|
#### DC2 T
|
||||||
print the test page
|
print the test page
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user