summaryrefslogtreecommitdiff
path: root/lib/gslp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gslp')
-rwxr-xr-xlib/gslp12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/gslp b/lib/gslp
new file mode 100755
index 00000000..837a457f
--- /dev/null
+++ b/lib/gslp
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# This definition is changed on install to match the
+# executable name set in the makefile
+GS_EXECUTABLE=gs
+gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+if test ! -x "$gs"; then
+ gs="$GS_EXECUTABLE"
+fi
+GS_EXECUTABLE="$gs"
+
+exec "$GS_EXECUTABLE" -q -sDEVICE=epson -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"