From eac4feed11c227921b0a4b71503c3aef02fa5802 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sat, 21 Oct 2023 17:30:05 +0200 Subject: [PATCH] Separate paper cutting into own script --- cut_paper.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 cut_paper.sh diff --git a/cut_paper.sh b/cut_paper.sh new file mode 100755 index 0000000..dc7c901 --- /dev/null +++ b/cut_paper.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -e +dev=/dev/usb/lp0 + +printf '\x1DVA\1' > $dev