View Single Post
Old 08-06-2004, 10:14 PM   PM User | #2
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
Why have a print version of the page at all? Using separate CSS stylesheets for printing the page vs displaying it on the screen you should be able to hide all the elements that are inappropriate for a printed web page and even show elements that might be appropriate for the printed page but not the screen version.
Read about media types in CSS: http://www.w3.org/TR/CSS2/media.html

Setting page orientation should be done with CSS as well, too bad the browsers haven't bothered to implement even that basic a feature yet.
Part of the paged media specs: http://www.w3.org/TR/CSS2/page.html#page-box
__________________
Check out the Forum Search. It's the short path to getting great results from this forum.
Roy Sinclair is offline   Reply With Quote