By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,939 Members | 1,600 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,939 IT Pros & Developers. It's quick & easy.

How to count the number of pages that a HTML page would print

P: 1
Hey guys,

Does anyone of you know how to count the number of pages that A HTML page would print.

My objective is to count the number of pages in an HTML page using javascript.
my application cannot use the WINDOWS PRINT PREVIEW element.?

thank you

Jul 7 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Welcome to TSDN!

I don't know if this is possible with Javascript, but why would you want it anyway?

You can fix the number of pages by creating page breaks using CSS.
Jul 9 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.