diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 1997-03-17 04:05:04 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 1997-03-17 04:05:04 +0000 |
| commit | 4894493155052a9d9af8a3b68c8b31e3b243a182 (patch) | |
| tree | 5148bc9ca5168012f9ae26bcea7aa3b8b9394f50 /share/examples/printing/psif | |
| parent | 274b8bdee754bb048d0267ee40ac9b784862ef31 (diff) | |
Diffstat (limited to 'share/examples/printing/psif')
| -rw-r--r-- | share/examples/printing/psif | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/share/examples/printing/psif b/share/examples/printing/psif deleted file mode 100644 index 2a657e01aae7..000000000000 --- a/share/examples/printing/psif +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# psif - Print PostScript or plain text on a PostScript printer -# Script version; NOT the version that comes with lprps -# Installed in /usr/local/libexec/psif -# - -read first_line -first_two_chars=`expr "$first_line" : '\(..\)'` - -if [ "$first_two_chars" = "%!" ]; then - # - # PostScript job, print it. - # - echo $first_line && cat && printf "\004" && exit 0 - exit 2 -else - # - # Plain text, convert it, then print it. - # - ( echo $first_line; cat ) | /usr/local/bin/textps && printf "\004" && exit 0 - exit 2 -fi |
