aboutsummaryrefslogtreecommitdiff
path: root/share/examples/printing/hpvf
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/printing/hpvf')
-rw-r--r--share/examples/printing/hpvf9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/examples/printing/hpvf b/share/examples/printing/hpvf
new file mode 100644
index 000000000000..de892ef77008
--- /dev/null
+++ b/share/examples/printing/hpvf
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+#
+# hpvf - Convert GIF files into HP/PCL, then print
+# Installed in /usr/local/libexec/hpvf
+
+giftopnm | ppmtopgm | pgmtopbm | pbmtolj -resolution 300 \
+ && exit 0 \
+ || exit 2