How do I set the number of characters per line when printing a file using lp or lpr? It seems like it's fixed at 80.
Linux – number of characters per line printed by lpr
linuxlprunix
linuxlprunix
How do I set the number of characters per line when printing a file using lp or lpr? It seems like it's fixed at 80.
Best Answer
You can set the number of characters per inch with
-o cpi
and the margins in points (72 per inch) with-o page-left
and-o page-right
. For example:would print 75 characters per line (assuming a fixed width font and an 8.5 inch wide page).
From
man lp
on a CUPS-based system (Ubuntu 9.10):and