]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - tools/pdftops-darwin.sh
Import CUPS v1.7.1
[thirdparty/cups.git] / tools / pdftops-darwin.sh
diff --git a/tools/pdftops-darwin.sh b/tools/pdftops-darwin.sh
deleted file mode 100755 (executable)
index 07d3224..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# Script to simulate Xpdf/Poppler's pdftops program.
-#
-
-options=""
-
-while test $# -gt 0; do
-       option="$1"
-       shift
-
-       case "$option" in
-               -expand)
-                       options="$options fit-to-page"
-                       ;;
-               -h)
-                       echo "Usage: pdftops [options] filename"
-                       echo "Options:"
-                       echo "  -expand"
-                       echo "  -h"
-                       echo "  -level1"
-                       echo "  -level2"
-                       echo "  -level3"
-                       echo "  -noembtt"
-                       echo "  -origpagesizes"
-                       echo "  -paperw width-points"
-                       echo "  -paperh length-points"
-                       echo ""
-                       echo "THIS IS A COMPATIBILITY WRAPPER"
-                       exit 0
-                       ;;
-               -paperw | -paperh)
-                       # Ignore width/length in points
-                       shift
-                       ;;
-               -*)
-                       # Ignore everything else
-                       ;;
-               *)
-                       /usr/libexec/cups/filter/cgpdftops job user title 1 "$options" "$option"
-                       exit $?
-                       ;;
-       esac
-done