1 2 3 4 5 6 7 8 9 10
#!/bin/sh if [ -x /usr/bin/qtcups ]; then qtcups $* else if [ -x /usr/bin/xpp ]; then xpp $* else lpr $* fi fi