473,418 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

Format print using html? Please help

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
3 6520
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

"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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sonoman | last post by:
hi all: I am trying to write a program using VB6. This program loops (well, not yet) and reads a constant data stream from a serial port. Then it outputs the "formatted" data to a textBox and...
4
by: Julie Siebel | last post by:
Apologies...I'm sure this has been asked before, but I can't seem to come up with the correct Google search terms. While my problem is with stylesheets, the errors are being caused by my...
3
by: marwa mohamed | last post by:
salamo alikom hi all when i run report that includes image control linked to a field in the table that contains the image path(on the server)and the record source of the report contains over 30...
3
by: James P. | last post by:
Hello there, I'd like to have my minutes convert to hours and minutes in Access report in this format: hh:mm. For examples: 150 minutes converts to 2:30. I have this formula below used to work...
6
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
8
by: Lucky | last post by:
hi guys! back again with another query. the problem is like this. i want to print a line like this: "---------------------------------------------" the easiest way is to simply assign it to...
17
by: 1q2w3e4r5t6y7u8i | last post by:
Hi, I am printing an invoice through the following code: dim cr as new crystalreport1 cr.PrintToPrinter(1, False, 1, 1) the problem is that the complete paper cames out. I want to print...
0
by: thirunavukarasukm | last post by:
Hai.... To print Html page using PrintDialog and Print Document i am created one windows appication.. the windows application have many pages in my booking page i have two buttons one...
2
by: necron99 | last post by:
import RuntimeEnvironment as renv import os, sys import win32com.client import getpass OMI = win32com.client.Dispatch("MOVEitAPI.clientObj") OMI.Host = system
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.