summaryrefslogtreecommitdiff
path: root/print/pips800/files/filter13.rev
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2002-05-25 02:39:50 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2002-05-25 02:39:50 +0000
commit4ec1b359c5b3a3a4d1ba626e02c546b67af51d68 (patch)
tree975dbad0f6ebe77d52618cc89b150f16904cdf92 /print/pips800/files/filter13.rev
parent- Install install.rb and setup.rb as libraries again. (diff)
Fix for pips3300
(1) add pkg-plist13 for pips3300 (2) add files/filter13.rev to support printing via USB for pips3300
Notes
Notes: svn path=/head/; revision=59946
Diffstat (limited to 'print/pips800/files/filter13.rev')
-rw-r--r--print/pips800/files/filter13.rev15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/pips800/files/filter13.rev b/print/pips800/files/filter13.rev
new file mode 100644
index 000000000000..7a5cdc9c487b
--- /dev/null
+++ b/print/pips800/files/filter13.rev
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+PATH=${PATH}:/usr/bin:/usr/local/bin
+
+GSCONF=/usr/local/EPKowa/PM800C/gsconfig800
+PIPS=/usr/local/bin/pips800
+
+TMP=/tmp/pips.$$
+
+trap "rm -rf $TMP; exit" 0 2 3 4 6 7 8 10 11 12 13 15
+psselect -r > $TMP
+# To support printing via USB port for Ver. 1.3 (only pips3300)
+perl -e 'print "\000\000\000\033\001\@EJL\ 1284.4\n\@EJL \n\033\@"'
+${GSCONF} < $TMP | ${PIPS} -ui C
+rm -rf $TMP