xref: /freebsd/share/examples/printing/hpvf (revision 2be1a816b9ff69588e55be0a84cbe2a31efc0f2f)
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