#!/bin/bash
./wincor

TEMP=/tmp/$RANDOM

printf "
\x1b\x78\x01
\x1b\x52\x02
\x0fx\x1b\x53\x01asdf\x1b\x54 = x\x1b\x53\x00asdf\x1b\x54\x12
\x5b\x5c\x5d\x7b\x7c\x7d\x7e
" >> $TEMP




printf "\xc" >> $TEMP


cat $TEMP >> /dev/ttyUSB0
rm $TEMP
