Browse Source

Fix print_image.sh

master
mid-kid 12 months ago
parent
commit
bc199b3283
  1. 2
      print_image.sh

2
print_image.sh

@ -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)"

Loading…
Cancel
Save