# How to number pdf pages of pdf document frm the second page

**URL:** <https://www.ruby-forum.com/t/how-to-number-pdf-pages-of-pdf-document-frm-the-second-page/163846>\
**Category:** Rails\
**Created:** [March 25, 2009, 1:53pm UTC](https://www.ruby-forum.com/t/how-to-number-pdf-pages-of-pdf-document-frm-the-second-page/163846 "2009-03-25T13:53:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![radha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecb155/32.png) [@radha](https://www.ruby-forum.com/u/radha)\
**Post date:** [March 25, 2009, 1:53pm UTC](https://www.ruby-forum.com/t/how-to-number-pdf-pages-of-pdf-document-frm-the-second-page/163846/1 "2009-03-25T13:53:53Z")

</div>

Hello friends,

How to start page numbering of the pdf pages from the secong page.  
I have added :all\_following\_pages option in add\_object method of pdf,  
still it starts numbering from the first page.

Does anyone hv any idea how to hide page number on the first pdf page.

also what are different patterns of page numbering in ruby pdf besides  
â€œ of â€.

pdf.add\_object(header, :all\_following\_pages)

Any suggestions will be greatly appreciated.

Thanks,  
Radha
