#!/bin/bash set -e dev=/dev/usb/lp0 printf '\x1DVA\1' > $dev