| Author |
Rezize image when printing, what to do ?
|
Frank Jacobsen
Ranch Hand
Joined: May 17, 2002
Posts: 335
|
posted

0
|
I get the data to a image from a backend system from the mainframe system, and displays this on a html page.
My problem is, when i print this image, how do i rezise it to fit into the paper on a printer ?.
I have tried to resize it on the funtion, but nothing Seems to work …
Any good ide´as out there somewhere ?
Frank
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
If you are just returning the image from the server and nothing else in the pop up window, there is not much you can do about it.
Eric
|
 |
Frank Jacobsen
Ranch Hand
Joined: May 17, 2002
Posts: 335
|
posted

0
|
|
But i have the possibility to do something in the servlet, but what can I do ?
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Frank Jacobsen wrote:But i have the possibility to do something in the servlet, but what can I do ?
Resize it on the server then. And stream back the resized image.
|
 |
Frank Jacobsen
Ranch Hand
Joined: May 17, 2002
Posts: 335
|
posted

0
|
Hey i think i get the idea
http://greatwebguy.com/programming/java/java-image-resizer-servlet/
There is a possibility in the AWT package, to do this in a servlet i dident know.....
Thanks ....
|
 |
 |
|
|
subject: Rezize image when printing, what to do ?
|
|
|