Insert Page Numbers in InDesign
InDesign will automatically number pages in the style you designate when the proper page numbering code is placed on the Master Pages of your document.
http://desktoppub.about.com/od/indesigntutorials/ht/id_pagenumbers.htm
CSS2 Media Types Create Print-Friendly Pages
Learn how easy it is to use Cascading Style Sheets (CSS) media types to define a printer-friendly page without actually building one.
http://webdesign.about.com/cs/css/a/aa042103a.htm