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