Merge from vendor branch NCURSES:
[dragonfly.git] / share / examples / printing / hpvf
1 #!/bin/sh
2 #
3 #  hpvf - Convert GIF files into HP/PCL, then print
4 #  Installed in /usr/local/libexec/hpvf
5
6 PATH=/usr/X11R6/bin:$PATH; export PATH
7
8 giftopnm | ppmtopgm | pgmtopbm | pbmtolj -resolution 300 \
9     && exit 0 \
10     || exit 2