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

Printed image gets truncated with Netscape 7.1

Hi,

We've been having a problem with one particular page that has a button
on it, and a "tall" image (top-to-bottom).

The button calls some simple Javascript to print the frame in which the
image is located, and what is happening in the field is that the image
only gets partly printed. Only the first page gets printed, and the
bottom of the image, which should get printed on a 2nd page, is not
printed. Also, the bottom of the first page shows "1 of 1" instead of
the expected "1 of 2" with a 2nd page.

This page works fine with IE6.

The real page is on a closed network, so I can't provide a link to the
real page, and I've been struggling to try to reproduce the problem with
a test page to try to diagnose the problem.

Today, I've had a bit of success, but not quite.

I've succeeded in hacking together an example test web page, which you
can access via the 'net. It's at:

http://members.cox.net/ohaya/frame.htm [note case-sensitivity]

This will bring up a page with a button and a large PNG image (sorry for
the really bad image).

If you do a "Print Preview", you'll see the problem that we're having.

At the bottom of the original image, there's a part of a roadway
partially visible, but in the Print Preview, this part of the image is
completely missing!!! And, note that it says "1 of 1" at the bottom!!!

This is "not quite" the problem we're seeing, because in our case, the
actual print output is truncated, but, at least in the Print Preview, it
seems to be replicating the buggy behavior we're seeing.

In the case of this test page, when I print it by clicking the "Print"
button on the page, it prints the whole image (top-to-bottom) on the 1st
page, then I get a second page with a second, "squished" printout of
what looks like the entire image. This seems to be ANOTHER problem. In
the printout, it says "1 of 2" at the bottom of the first page, and "2
of 2" at the bottom of the 2nd
page.
So, to recap, with the above test page, the Print Preview in Netscape
7.1 is showing exactly the problem that we're seeing on our production
site, but in our case on our production site, the actual printout itself
is exhibiting the same problem of truncating the image printout, as the
Print Preview.
I've somewhat convinced myself that this is a combination of buggy
printing in Netscape, with SOMETHING that we're doing on our web page.
We probably won't be able to get the bug in Netscape fixed, but I'm
hoping that if we can figure out what the SOMETHING that we're doing
(the "trigger"), then we can find some way to re-work the page to avoid
this problem.

I'd appreciate if anyone could look at the above linked page, and
suggest what we might do to fix this problem?
Thanks,
Jim
Jul 20 '05 #1
2 1786
Hi,

Apologies for the repost, but I wasn't sure if this had made it through...

Jim

"Ohaya" <ohaya_NO_SPAM_@_NO_SPAM_cox.net> wrote in message
news:407AD602.C4CBF848@_NO_SPAM_cox.net...
Hi,

We've been having a problem with one particular page that has a button
on it, and a "tall" image (top-to-bottom).

The button calls some simple Javascript to print the frame in which the
image is located, and what is happening in the field is that the image
only gets partly printed. Only the first page gets printed, and the
bottom of the image, which should get printed on a 2nd page, is not
printed. Also, the bottom of the first page shows "1 of 1" instead of
the expected "1 of 2" with a 2nd page.

This page works fine with IE6.

The real page is on a closed network, so I can't provide a link to the
real page, and I've been struggling to try to reproduce the problem with
a test page to try to diagnose the problem.

Today, I've had a bit of success, but not quite.

I've succeeded in hacking together an example test web page, which you
can access via the 'net. It's at:

http://members.cox.net/ohaya/frame.htm [note case-sensitivity]

This will bring up a page with a button and a large PNG image (sorry for
the really bad image).

If you do a "Print Preview", you'll see the problem that we're having.

At the bottom of the original image, there's a part of a roadway
partially visible, but in the Print Preview, this part of the image is
completely missing!!! And, note that it says "1 of 1" at the bottom!!!

This is "not quite" the problem we're seeing, because in our case, the
actual print output is truncated, but, at least in the Print Preview, it
seems to be replicating the buggy behavior we're seeing.

In the case of this test page, when I print it by clicking the "Print"
button on the page, it prints the whole image (top-to-bottom) on the 1st
page, then I get a second page with a second, "squished" printout of
what looks like the entire image. This seems to be ANOTHER problem. In
the printout, it says "1 of 2" at the bottom of the first page, and "2
of 2" at the bottom of the 2nd
page.
So, to recap, with the above test page, the Print Preview in Netscape
7.1 is showing exactly the problem that we're seeing on our production
site, but in our case on our production site, the actual printout itself
is exhibiting the same problem of truncating the image printout, as the
Print Preview.
I've somewhat convinced myself that this is a combination of buggy
printing in Netscape, with SOMETHING that we're doing on our web page.
We probably won't be able to get the bug in Netscape fixed, but I'm
hoping that if we can figure out what the SOMETHING that we're doing
(the "trigger"), then we can find some way to re-work the page to avoid
this problem.

I'd appreciate if anyone could look at the above linked page, and
suggest what we might do to fix this problem?
Thanks,
Jim

Jul 20 '05 #2
Hi,

Apologies for the repost, but I wasn't sure if this had made it through...

Jim

"Ohaya" <ohaya_NO_SPAM_@_NO_SPAM_cox.net> wrote in message
news:407AD602.C4CBF848@_NO_SPAM_cox.net...
Hi,

We've been having a problem with one particular page that has a button
on it, and a "tall" image (top-to-bottom).

The button calls some simple Javascript to print the frame in which the
image is located, and what is happening in the field is that the image
only gets partly printed. Only the first page gets printed, and the
bottom of the image, which should get printed on a 2nd page, is not
printed. Also, the bottom of the first page shows "1 of 1" instead of
the expected "1 of 2" with a 2nd page.

This page works fine with IE6.

The real page is on a closed network, so I can't provide a link to the
real page, and I've been struggling to try to reproduce the problem with
a test page to try to diagnose the problem.

Today, I've had a bit of success, but not quite.

I've succeeded in hacking together an example test web page, which you
can access via the 'net. It's at:

http://members.cox.net/ohaya/frame.htm [note case-sensitivity]

This will bring up a page with a button and a large PNG image (sorry for
the really bad image).

If you do a "Print Preview", you'll see the problem that we're having.

At the bottom of the original image, there's a part of a roadway
partially visible, but in the Print Preview, this part of the image is
completely missing!!! And, note that it says "1 of 1" at the bottom!!!

This is "not quite" the problem we're seeing, because in our case, the
actual print output is truncated, but, at least in the Print Preview, it
seems to be replicating the buggy behavior we're seeing.

In the case of this test page, when I print it by clicking the "Print"
button on the page, it prints the whole image (top-to-bottom) on the 1st
page, then I get a second page with a second, "squished" printout of
what looks like the entire image. This seems to be ANOTHER problem. In
the printout, it says "1 of 2" at the bottom of the first page, and "2
of 2" at the bottom of the 2nd
page.
So, to recap, with the above test page, the Print Preview in Netscape
7.1 is showing exactly the problem that we're seeing on our production
site, but in our case on our production site, the actual printout itself
is exhibiting the same problem of truncating the image printout, as the
Print Preview.
I've somewhat convinced myself that this is a combination of buggy
printing in Netscape, with SOMETHING that we're doing on our web page.
We probably won't be able to get the bug in Netscape fixed, but I'm
hoping that if we can figure out what the SOMETHING that we're doing
(the "trigger"), then we can find some way to re-work the page to avoid
this problem.

I'd appreciate if anyone could look at the above linked page, and
suggest what we might do to fix this problem?
Thanks,
Jim

Jul 20 '05 #3

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

Similar topics

2
by: Tiro Orsa | last post by:
Hey all... GOAL: My end goal is to send a web page (single file) as an attachment (not embedded) via email to any of the main email clients (Eudora, Outlook, etc). Users see a single web page...
5
by: Chris Beall | last post by:
I'm displaying an image that is also a link against a black background. In Netscape 7.1, the current background color is displayed as a horizontal bar below the image. This allows :hover effects...
3
by: veryred | last post by:
Hello. I'm placing a background image in a table cell using a style sheet--I reads it, Netscape, Firefox, and Opera do not--they will however read background-color when I insert that. This is...
6
by: Olly | last post by:
I've found a basic script, however I also need to add alt and title attributes as well, how would I go about doing this? Here's the script I found: Thanks <script language="JavaScript"> <!--...
1
by: John | last post by:
I am rotating images of different dimensions. My problem is that when a new image is displayed in a new position which had an image of a different dimension, the old image is first stretched to the...
3
by: Robert | last post by:
Hi, I'm trying to make a slide show, with two frames: on the left frame small thumbnails, and on the right frame the big sized image. Of course when the user clicks on a thumbnail in the left...
45
by: Anthony Irwin | last post by:
Hi, I am fairly new to C and all the C books I got talk about gets() but when I compile it says I should not use gets() because it is dangerous. I understand that it is dangerous because it...
302
by: Lee | last post by:
Hi Whenever I use the gets() function, the gnu c compiler gives a warning that it is dangerous to use gets(). Is this due to the possibility of array overflow? Is it correct that the program...
10
by: cjparis | last post by:
Hello everyone. If anyone can give me a hand I would be gratefull Am doing a site which requires a moving element and have used DHTML to do it. Have a simple Browser detect script to sort IE...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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
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...
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
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.