|
@ -17,7 +17,7 @@ size_y="$(hex_size "$(echo "$data_header" | cut -d' ' -f 2)")" |
|
|
|
|
|
|
|
|
# Set print speed |
|
|
# Set print speed |
|
|
printf '\x1D(K\2\0' > $dev |
|
|
printf '\x1D(K\2\0' > $dev |
|
|
printf '51' > $dev |
|
|
printf '21' > $dev |
|
|
|
|
|
|
|
|
# Upload graphics data |
|
|
# Upload graphics data |
|
|
printf '\x1D(L' > $dev |
|
|
printf '\x1D(L' > $dev |
|
@ -34,4 +34,5 @@ printf '\x1D(L\2\0' > $dev |
|
|
printf '02' > $dev |
|
|
printf '02' > $dev |
|
|
|
|
|
|
|
|
# Cut paper |
|
|
# Cut paper |
|
|
printf '\n\n\n\x1DVA\0' > $dev |
|
|
printf '\n\n\n' > $dev |
|
|
|
|
|
printf '\x1DVA\0' > $dev |
|
|