aboutsummaryrefslogtreecommitdiff
path: root/bin/print
diff options
context:
space:
mode:
Diffstat (limited to 'bin/print')
-rwxr-xr-xbin/print14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/print b/bin/print
index 4911ecd..f26831d 100755
--- a/bin/print
+++ b/bin/print
@@ -12,24 +12,38 @@ usage() {
help() {
cat <<-'EOF'
+
Options:
-d print duplex/double-sided
-q QUALITY choose the print quality, either:
low, medium (default) or high.
-h, --help show this message
+ FILE path to file to be printed
+
+
+ Print FILE using CUPS using lp(1).
+
+
Examples:
Print the given PostScript file with default quality:
+
$ print f1.ps
+
Print multiple PDF files with high quality:
+
$ print -dq high *.pdf
+
Print the file from STDIN, double-sided:
+
$ print -d < f2.ps
+
Print multiple source code files:
+
$ print src/*.{c,h}
EOF
}