xref: /freebsd/share/examples/printing/hpvf (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
1#!/bin/sh
2#
3#  hpvf - Convert GIF files into HP/PCL, then print
4#  Installed in /usr/local/libexec/hpvf
5
6PATH=/usr/X11R6/bin:$PATH; export PATH
7
8giftopnm | ppmtopgm | pgmtopbm | pbmtolj -resolution 300 \
9    && exit 0 \
10    || exit 2
11