Operating System - HP-UX
1825766 Members
2149 Online
109687 Solutions
New Discussion

How to print page number ?

 
Zhang Zhao gui
Frequent Advisor

How to print page number ?

May I know how can I print page number on the paper when I use lp with option
"-o" (I prefer -o2 which can allow me print two pages within one paper) ? I
am using Jetadmin and HP LaserJet 4si.
2 REPLIES 2
Melvyn Burnard_1
Regular Advisor

Re: How to print page number ?

If you look at the pr command, you will see this has an option to do page
numbering, headres, footers etc.
first get your file to be set out the way you would like by doing :
pr -o filename

then all you do is:
pr -o filename | lp -o
Zhang Zhao gui
Frequent Advisor

Re: How to print page number ?

Have you ever try the effect of lp -o2 ? It will print
out the border lines for each page(totally two pages within one paper). I
would like to print page number outside this border line. Can I do that? I
search "man
net_lj4x" but still find nothing relevant to page number.