aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/bin/print-cups.sh
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2007-08-23 17:34:44 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2007-08-23 17:34:44 +0000
commit16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf (patch)
tree050079df8c95b5b7fde44627f6af0e0701fea9f6 /trunk/bin/print-cups.sh
parentccc8bdd743d36a098eb1abbd9ffcb5b30979e3a8 (diff)
downloadcommon-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.tar
common-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.tar.gz
common-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.tar.bz2
common-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.tar.xz
common-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.zip
V2008_0_2mdv
Diffstat (limited to 'trunk/bin/print-cups.sh')
-rw-r--r--trunk/bin/print-cups.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/trunk/bin/print-cups.sh b/trunk/bin/print-cups.sh
new file mode 100644
index 0000000..230df13
--- /dev/null
+++ b/trunk/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