aboutsummaryrefslogtreecommitdiffstats
path: root/bin/print-cups.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/print-cups.sh')
-rwxr-xr-xbin/print-cups.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/print-cups.sh b/bin/print-cups.sh
new file mode 100755
index 0000000..230df13
--- /dev/null
+++ b/bin/print-cups.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -x /usr/bin/qtcups ]; then
+ qtcups $*
+else
+ if [ -x /usr/bin/xpp ]; then
+ xpp $*
+ else
+ lpr $*
+ fi
+fi