aboutsummaryrefslogtreecommitdiff
path: root/share/examples/printing/hpvf
blob: 233de809745bf183cef633b532fccc43df994b23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
#  hpvf - Convert GIF files into HP/PCL, then print
#  Installed in /usr/local/libexec/hpvf

PATH=/usr/X11R6/bin:$PATH; export PATH

giftopnm | ppmtopgm | pgmtopbm | pbmtolj -resolution 300 \
    && exit 0 \
    || exit 2