4 # this is the local print queue
5 # test with: lp -d thisvalue file_to_print
8 # use this value in the balloon "Print Device(Port)"
9 # may need to change this to a user writable directory
10 FIFO
=/dev
/balloonprinter
12 # the rest should not change
15 if [ ! -p $FIFO ]; then
16 echo $FIFO is not a pipe
, cannot
continue
22 # attempt to clean up after ourselves
23 trap 'rm -f $FIFO;exit 0' 0
29 cat $FIFO |
lp -d $PRINTER