Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 14th, 2003, 09:36 AM
Registered User
 
Join Date: Jun 2003
Location: South Yarra, Victoria, Australia.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to amatheso
Default Print Friendly Page

Hi,

I am generating a dynamic page using asp, and would like to know of an easy way to format the page for printing. I can sucsessfully format for width, but if the report spans multi pages it doesn't format the page to make it fit neatly on each page.

Is there a html page break function, or will i have to code it in asp to work out the page breaks?

I appreciate any help!!!


Cheers,

Matho
Reply With Quote
  #2 (permalink)  
Old June 14th, 2003, 02:29 PM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Nope, but there is one in CSS. :)
http://www.w3.org/TR/REC-CSS2/page.html#page-breaks

I don't remember how much in these articles that addresses page breaks but I think you'll find at least something useful in them.

A List Apart: CSS: Going to Print
http://www.alistapart.com/stories/goingtoprint/
Print Different
http://www.meyerweb.com/eric/article...ev/200001.html
Kissing Print Versions of Pages Goodbye : evolt.org
http://evolt.org/article/Kissing_Pri...225/index.html
NUblog: A better printable page
http://www.contenu.nu/article.htm?id=1217

(o<
//\ =^..^=
Reply With Quote
  #3 (permalink)  
Old June 14th, 2003, 11:17 PM
Registered User
 
Join Date: Jun 2003
Location: South Yarra, Victoria, Australia.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to amatheso
Default

Thanks for that meow.

Those links will be very useful! In regards to my problem, i have created a solution that utilises variables in ASP. I did a rowcount of the dynamic table, and if the variable is >35 then put a spacer row in and then print the table heaer again. This works quite well.

I know that not everyone has acess to server side programming, but this worked for me :-). I will also look into style sheets as well!

cheers

matho.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
making web page titles SEO friendly crmpicco HTML Code Clinic 1 December 10th, 2007 08:03 PM
Printer Friendly Web Page hunzian78@yahoo.com ASP.NET 1.0 and 1.1 Basics 0 May 17th, 2006 01:08 AM
How to Create Printer Friendly Page? qadeerahmed Classic ASP Basics 1 August 17th, 2005 05:56 PM
print the hidden page without the print dialog box kayzem Classic ASP Basics 0 April 21st, 2005 11:31 PM
Printer friendly reports from JSP page. ngsaran Crystal Reports 0 October 19th, 2003 05:10 PM



All times are GMT -4. The time now is 10:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.