How to add page number for PDF file?

In this article, I will show you how to add page number for PDF files by command line. This way will be quite useful when you need to specify some page in the PDF files which has hundreds of pages. 

\pdfstamp.exe" -PDF "example.pdf" -o "pagenumber.pdf" -AT "page \P of \c"  -fs10 -p5 -c255 -mlr-70 -mtb-50

-PDF:Open an existing PDF file to add page number.

-o:Write output to a new file, the default is stamp on the input PDF file.

-AT: An order for adding stamp.

\p:Current page number

\c:Total page number

-P5:Stamps on the Right-Bottom of the page.

c255: The color of the page number is right.

mlr&mtb: For the  position of the page number.

comamnd line parameters 

Please input the command line like the following snapshot shows then press enter. Just a few seconds, you can get the output file with the page number.

Let us check the effect from the following snapshot. On the right bottom corner, the page number show themselves. By this software, you can adjust the page number color, position, fonts and style.


If you feel that the command line version are a little complicated for you, please use this GUI version. If you need to know more software for adding stamp, please try to find in its homepage, like docPrint which can help you add stamp during the printing job.If you have any question about VeryPDF Software, please contact us by the ways supported on this website as soon as possible then we will solve it for you at once.

VN:F [1.9.20_1166]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)
How to add page number for PDF file?, 1.0 out of 10 based on 1 rating

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!