473,941 Members | 17,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6538
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******@hotma il.com> wrote in message
news:b2******** *************** ***@posting.goo gle.com...
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.*********@co mcast.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
6857
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 writes it to a file. Well, I have no Idea how to go about this because I have never used VB. I think I am making some good progress so far but I need some help to keep going. What I currently have pops a small window that has an OK button (which I...
4
2200
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 javascript, so this seemed a more appropriate place to post. I'm using a media=print style sheet to do a version of a web page that I am building. Currently, I'm working on the IE version. I have an HTML page and 2 style sheets which all validate...
3
5657
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 records a messege shows saying: "Microsoft Access doesn't support the format of the file'file path\filename.jpg' or file is too large.Try converting the file to BMP or GIF format". I want to know which one is the problem (the size) or (the format...
3
2077
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 with my machine using Access 2002 SP3. =\60 & Format( Mod 60,"\:00") However, if I run it on someone else's machine who has a newer
6
6178
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 my mappings between named colors, HEX values and the Long Integer values used in Access are not jibbing. Anyone have a nice list laying around? Danny J Lesandrini dlesandrini@hotmail.com
8
5001
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 string and print it. but i want to use the String.Format() method if possible to do it.
17
4834
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 till the text exists else stop printing such as printing in forpro I had saw the following forum
0
2399
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 btnprint,btnclose
2
2112
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
10135
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9968
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11119
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11297
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
8219
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4909
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.