aboutsummaryrefslogtreecommitdiffstats
path: root/bin/print-cups.sh
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-06-02 20:30:42 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-06-02 20:30:42 +0000
commitac5099ebf8fced835c2108ce4d2d327762d0e595 (patch)
treec9d6bb9a8e3a7e3de6a100e2ae300922003f995e /bin/print-cups.sh
downloadcommon-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.tar
common-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.tar.gz
common-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.tar.bz2
common-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.tar.xz
common-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.zip
Branch for updates
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