Connecting Tech Pros Worldwide Forums | Help | Site Map

Advanced printing options

Newbie
 
Join Date: Jul 2008
Posts: 12
#1: Sep 13 '09
Hi,
I have a table that its length changes according to the column headers,
I want to print that table (with the help of JS) but i have a problem,
once the table is wider than the page, it prints only what fits in the page....
anoter problem - i dont know the size of the page...
is it possible to automaticly print it in 2 pages if it doesn't fit in one?

Thank for helping!

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,589
#2: Sep 14 '09

re: Advanced printing options


JavaScript doesn't have much control over printing options, but you can use CSS to control printing. See, for example:
CSS Discuss PrintStylesheets
A List Apart: Going to Print
Reply

Tags
javascript, print


Similar JavaScript / Ajax / DHTML bytes