bumble.sf.net language and parsing

plain text

The Linux Print booklet

--------------------------:

This booklet is about creating printed copies of documents using the linux operating system. It will have a big focus on ways of creating pdf documents.

* Count the number of pages of all PDFs in current directory and

 find . -name \*.pdf -exec pdfinfo {} \; | grep Pages | sed -e "s/Pages:\s*//g" | awk '{ sum += $1;} END { print sum; }'

* find string into one pdf file

 find / -iname '*.pdf' -print -exec pdftotext '{}' - \; | grep --color -i "unix"

* printing barcodes

 ls /home | head -64 | barcode -t 4x16 | lpr