diff --git a/print_image.sh b/print_image.sh index 1b14911..be008c9 100755 --- a/print_image.sh +++ b/print_image.sh @@ -2,7 +2,7 @@ set -e 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="$(echo "$image" | base64 -d | tail -n +3 | base64)"