LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do I make lpr always print page numbers (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-make-lpr-always-print-page-numbers-603426/)

fakie_flip 11-30-2007 01:34 AM

how do I make lpr always print page numbers
 
how can i make lpr always print page numbers?

tronayne 11-30-2007 07:39 AM

Take a look at the a2ps utility.

fakie_flip 11-30-2007 07:03 PM

I've got the answer.

alias lpr='lpr -p '

I found this from the man pages.


Quote:

-p
Specifies that the print file should be formatted with a shaded
header with the date, time, job name, and page number. This option
is equivalent to "-o prettyprint" and is only useful when printing
text files.


All times are GMT -5. The time now is 10:43 PM.