I need to print a bunch of text files. They are all pretty small and they fit okay on one text page if the font size is chosen adequately. How can I do this automatically?
I tried (find ... -exec
... for the full call, this is one document only )
lp o fit-to-page -o media=A4 text.txt
but this just prints text.txt on one page of A4.
lp -o cpi=16 -o lpi=12 -o media=A4 text.txt
does the job, but how do I "auto-detect" cpi and lpi?