1 Replies - 439 Views - Last Post: 31 July 2012 - 03:58 AM

#1 skumar391  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 31-July 12

java script code to take page number in print out

Posted 31 July 2012 - 03:38 AM

Hi,

I need to add page numbers when I take print outs of a certain web page(s)using javascript.
Can anyone guide how to proceed?

Regards,
Dheeraj
Is This A Good Question/Topic? 0
  • +

Replies To: java script code to take page number in print out

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 2899
  • View blog
  • Posts: 7,555
  • Joined: 08-June 10

Re: java script code to take page number in print out

Posted 31 July 2012 - 03:58 AM

adding page numbers to printouts is the job of the browsers print rendering engine. webpages itself do not have page numbers because a web page is not related to a paper format.

you could use XSL-FO to convert an XHTML website to a print layout.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1