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

Format print using html? Please help

P: n/a
Hello,
I have a web application where one of the admin features is to print a
list of foreclosure listings.
The client wants to have two cases per page printed.
I have figured a way to insert page breaks so that once you print out
the html page listing all the cases, that it would pag break after
each 2 cases and that works great. however in the worst case scenrio
where all fields are populated it could enough to push the second case
on to the next page causing the second case to be partially printed on
2 pages instead of both on 1.
I possibally can not gaurentee this with html, since depending ont he
data it could push it over to the next page and then do a page break
leaving the second page mostly empty and the remainder of the first
one on top.
What solutions are available for me?
I have thought of exporting it to excel as a csv file however I
wouldnt know how to format or force excel to do page breaks.
If anyone who has come across this problem please let me know what
types of solutions are available.
I would prefer to do it html however I know html has bounderies and I
think I have already reached them
MAybe a third party software? Acrobat? dont know
Andy
Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Andy wrote:
I would prefer to do it html however I know html has bounderies and I
think I have already reached them


Opera is really the only browser that offers a decent level of CSS print
support.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jul 23 '05 #2

P: n/a

"Andy" <jo******@hotmail.com> wrote in message
news:b2**************************@posting.google.c om...
Hello,
I have a web application where one of the admin features is to print a
list of foreclosure listings.
The client wants to have two cases per page printed.
I have figured a way to insert page breaks so that once you print out
the html page listing all the cases, that it would pag break after
each 2 cases and that works great. however in the worst case scenrio
where all fields are populated it could enough to push the second case
on to the next page causing the second case to be partially printed on
2 pages instead of both on 1.
I possibally can not gaurentee this with html, since depending ont he
data it could push it over to the next page and then do a page break
leaving the second page mostly empty and the remainder of the first
one on top.
What solutions are available for me?
I have thought of exporting it to excel as a csv file however I
wouldnt know how to format or force excel to do page breaks.
If anyone who has come across this problem please let me know what
types of solutions are available.
I would prefer to do it html however I know html has bounderies and I
think I have already reached them
How did you insert a page break with HTML?

CSS provides page-break-inside: avoid, but according to the browser
compatability information at

http://www.blooberry.com/indexdot/cs...t/pbinside.htm

Opera supports it after version 3.5, but IE and Netscape don't. The site
doesn't mention Mozilla, and it doesn't appear to have been updated since
January 2003.
MAybe a third party software? Acrobat? dont know


Jul 23 '05 #3

P: n/a

"Harlan Messinger" <h.*********@comcast.net> wrote in message
news:2s*************@uni-berlin.de...

CSS provides page-break-inside: avoid, but according to the browser
compatability information at

http://www.blooberry.com/indexdot/cs...t/pbinside.htm

Opera supports it after version 3.5, but IE and Netscape don't. The site
doesn't mention Mozilla, and it doesn't appear to have been updated since
January 2003.


I take it back--since October 1, 2003.

Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.