473,386 Members | 1,886 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,386 software developers and data experts.

Splitting image at page break disappears when printing.

I'm trying to print a simple catalogue of products but where an image
straddles a page break, the image either disappears completely or else
the first half prints at the bottom of the page but the second half
does not print at the top of the following page.? Huh.?

The single image for each record is contained inside of a table with a
simple construct. No rowspans just an ordinary <td> placement.

The output can be viewed at:

http://www.seaport.co.za/cat7.asp

Any suggestions please.....?

thanks

.les.
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
Les Juby le*****@anti-spam.iafrica.com
Webpro Internet - - - Prosoft Microsystems
Durban, KwaZulu-Natal, South Africa
P.O.Box 35243, Northway 4065, South Africa
Tel: +27 31 563-8344 Fax: +27 31 564-4928
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
(you *do* know to take "anti-spam" out the address....?
Jul 23 '05 #1
6 5153
Les Juby wrote:
Any suggestions please.....?


Yeah - use PDF for publishing stuff to be printed. Browsers' support for
printing is poor, and HTML isn't designed for it. Possibly try Opera, as
that's alleged to have relatively good printing functionality.

--
Mark.
http://tranchant.plus.com/
Jul 23 '05 #2
Mark Tranchant wrote:
Les Juby wrote:
Any suggestions please.....?


Yeah - use PDF for publishing stuff to be printed. Browsers' support
for printing is poor, and HTML isn't designed for it. Possibly try
Opera, as that's alleged to have relatively good printing
functionality.


HTML is very muchd designed for printing (and display on screen, and
text-to-speech, and so on). It may not look terribly fixed, or terribly
nice (for that, CSS is just not advanced enough, especially in its
implementation) but it can get the job done well.

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #3
On Thu, 30 Sep 2004 16:32:09 +0100, Mark Tranchant
<ma**@tranchant.plus.com> wrote:
Les Juby wrote:
Any suggestions please.....?


Yeah - use PDF for publishing stuff to be printed. Browsers' support for
printing is poor, and HTML isn't designed for it. Possibly try Opera, as
that's alleged to have relatively good printing functionality.


Absolutely. * BUT*, to publish to PDF you have to print to the PDF
driver from the HTML and you're back at the same problem. Or have I
got it wrong somewhere...?

I think this can be done with @media: page CSS-2 commands..?
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
Les Juby le*****@anti-spam.iafrica.com
Webpro Internet - - - Prosoft Microsystems
Durban, KwaZulu-Natal, South Africa
P.O.Box 35243, Northway 4065, South Africa
Tel: +27 31 563-8344 Fax: +27 31 564-4928
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
(you *do* know to take "anti-spam" out the address....?
Jul 23 '05 #4
On 30 Sep 2004 15:40:28 GMT, "Philipp Lenssen" <in**@outer-court.com>
wrote:
Mark Tranchant wrote:
Les Juby wrote:
> Any suggestions please.....?


Yeah - use PDF for publishing stuff to be printed. Browsers' support
for printing is poor, and HTML isn't designed for it. Possibly try
Opera, as that's alleged to have relatively good printing
functionality.


HTML is very muchd designed for printing (and display on screen, and
text-to-speech, and so on). It may not look terribly fixed, or terribly
nice (for that, CSS is just not advanced enough, especially in its
implementation) but it can get the job done well.


Uuuuh... OK. I think it's CSS-2 that's needed. @media:page or
something which will pagebreak if the table (which contains the image)
is too big. Any examples anywhere.?
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
Les Juby le*****@anti-spam.iafrica.com
Webpro Internet - - - Prosoft Microsystems
Durban, KwaZulu-Natal, South Africa
P.O.Box 35243, Northway 4065, South Africa
Tel: +27 31 563-8344 Fax: +27 31 564-4928
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
(you *do* know to take "anti-spam" out the address....?
Jul 23 '05 #5
In article <41*************@news.uunet.co.za>, we****@webpro.co.za
says...
On Thu, 30 Sep 2004 16:32:09 +0100, Mark Tranchant
<ma**@tranchant.plus.com> wrote:
Les Juby wrote:
Any suggestions please.....?
Yeah - use PDF for publishing stuff to be printed. Browsers' support for
printing is poor, and HTML isn't designed for it. Possibly try Opera, as
that's alleged to have relatively good printing functionality.


Yes.
Absolutely. * BUT*, to publish to PDF you have to print to the PDF
driver from the HTML and you're back at the same problem. Or have I
got it wrong somewhere...?
Then the problem will be solved already when someone else tries to print
your catalog.
I think this can be done with @media: page CSS-2 commands..?


Surely. If they happen to work.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 23 '05 #6
On Fri, 01 Oct 2004 06:45:17 +0000, Les Juby wrote:
Uuuuh... OK. I think it's CSS-2 that's needed. @media:page or something
which will pagebreak if the table (which contains the image) is too big.
Any examples anywhere.?


This is the first link I got from googling css +"page-break"

http://www.w3.org/TR/REC-CSS2/page.html

HTH,
La'ie Techie

Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Martin Zuber | last post by:
Hello, I have found following problem: When I define event handler for EVT_NOTEBOOK_PAGE_CHANGED for wxNotebook, the content of the wxNotebook disappears (on all pages). For ex. I have two pages...
6
by: Alec | last post by:
Hi, I am trying to print an HTML page from Internet Explorer and it always put the page title and page count at the top of the page. How can I disable printing page title and page count? Thanks.
1
by: Scanner2001 | last post by:
I am trying to insert a printer page break inside of a form. I do not seem to be able to do this. My form contains 3 asp panels. Each of the panels have dynamically built content, and they are...
0
by: James | last post by:
We have a page that reads records from a database and displays them. Basically name/address/city/state/zip/county/phone. These records are between 4-6 lines a piece (there are other variables...
2
by: moondaddy | last post by:
I have a page that I'm making for the sole purpose of printing and this page makes 1.5 printed pages. Is there a way to force a print page break at a specific place so when the user prints the...
1
by: Danny Ni | last post by:
Hi, Is it possible to enter a page break in a HTML document, when a HTML document is diplayed in browser and user click print, the browser takes control of paging . I would like the browse to...
8
by: CJM | last post by:
What is the best way to force a page break when printing from a browser? A page in my application generates a series of tables which are usually less than will fit on a page of A4. Ideally I want...
4
by: LuTHieR | last post by:
Hi, is there any way to write a header in each HTML page when printing them while leaving the header only on top of the file when viewing it? I mean, I have a file that looks like this: TITLE ...
7
by: =?Utf-8?B?aXdlYg==?= | last post by:
Can we set page breaks in ASP Pages dynamically based on the data being populated? Akshay.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.