image getting cut off when printed

cherylpoon

New Member
We have a Webspeed program that retrieves a jpg file that has been stored in the database and then shows the image in a new browser window. Some of the images, when printed, will span more than one page. Using the typical print options through the browser, the image is getting cut off at the end of the first page when it is printed. If I right-click the image, save it to disk, and use the Microsoft Paint package to open it and print it, it prints the entire image. So, it appears the image is being fully retrieved and it does not appear to be a printer issue. We are using IE for a browser. The HTML code that is generated in the window is very simple.

<html>
<head></head>
<body bgcolor=`#FFFFFF`>
<img src=/Fuel/images/cheryld.jpg >
</body>
</html>

Any ideas on how to get the full image to print from the browser even when it will span multiple pages?

Thanks for your help!

Cheryl Poon
 

Kirmik

Member
This is likely a browser issue. The question is do you really need the images to be larger than A4 (or whatever papersize you're using)? If the answer's NO then consider using "height=" and "width=" in your HTML but preferably a smaller graphic to improve performance.

Hope that's helpfull (i suspect not LOL)
 

cherylpoon

New Member
Thanks for the response. I do need to keep the full size of the image. The images are of a "delivery ticket" and basically look like a long receipt. They become unreadable if they are shrunk down.

I looked through the browser settings and couldn't find one that would appear to affect how images print.

Thanks for trying.

Cheryl
 

Kirmik

Member
Any chance of an example image plus your html? If the image is sensitive how about giving me the dimensions and I'll create my own.
Other info you could provide is the version of IE you're using , operating system & screen resolution.
Given all that info I'll have a play and see what I can come up with



[EDIT] - Just thought of something else - you printing in landscape or portrait?
 

cherylpoon

New Member
I tried to upload the image but got an error that it was too large. It said it was 482 x 1814. Here's my HTML code:

<html>
<head></head>
<body bgcolor=`#FFFFFF`>
<img src=/Fuel/images/cheryld.jpg >
</body>
</html>

I'm using XP, IE version 6.0.2800.1106.xpsp2.030618-0119 (probably more numbers than you need but figuredI'd give you the whole thing), screen resolution 1024 by 768. I am printing protrait.

Any time you spend on this would be greatly appreciated!

Cheryl
 

Kirmik

Member
Ok I printed the example file you sent me with IE and yes it chops the second page off for me too. I found an article in the microsoft knowledge base, which acknowledges this problem with microsoft products but doesn't offer a solution (http://support.microsoft.com/default.aspx?scid=kb;en-us;257154)

I have downloaded Netscape 7.1, printed the web page through that and it does print the whole image so that may be an option for you. Alternatively I notice on your image that the "delivery ticket" was originally a 2 page document so it may be an idea to scan in 2 images (if scanning is what you do) and serve them up on the web page. That would then let you print them using IE.

I'm guessing that Microsoft don't intend to resolve the problem :(
 

cherylpoon

New Member
Netscape may work as a solution. Getting the image broken into multiple pages may work too. And now I know I can stop trying to get the 2-page image to work with IE.

Thanks for your time spent on this.

Cheryl
 
Top