|
@ -2,7 +2,7 @@ |
|
|
set -e |
|
|
set -e |
|
|
dev=/dev/usb/lp0 |
|
|
dev=/dev/usb/lp0 |
|
|
|
|
|
|
|
|
image="$(./format_image "$1" | base64)" |
|
|
image="$(./format_image.sh "$1" | base64)" |
|
|
data_header="$(echo "$image" | base64 -d | sed -n '2p')" |
|
|
data_header="$(echo "$image" | base64 -d | sed -n '2p')" |
|
|
data="$(echo "$image" | base64 -d | tail -n +3 | base64)" |
|
|
data="$(echo "$image" | base64 -d | tail -n +3 | base64)" |
|
|
|
|
|
|
|
|