You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Eric Hamacher <er...@enetrix.com> on 2008/03/10 16:48:09 UTC
IE and generated images
Hello All:
The images I write to the ServletOutputStream in my web app will not
print once in IE. Therefore, I want to send a PDF to the browser. I
can't see how to integrate Batik with iText. Anybody ever do this?
Regards,
Eric Hamacher
******************************
THIS EMAIL IS INTENDED ONLY FOR THE REVIEW OF THE ADDRESSEE(S), AND MAY
CONTAIN CONFIDENTIAL AND LEGALLY PRIVILEGED INFORMATION. INTERCEPTION,
COPYING, DISSEMINATION, OR OTHER USE BY OTHER THAN THE ADDRESSEE(S) IS
PROHIBITED AND MAY BE PENALIZED UNDER APPLICABLE PRIVACY LAWS. IF YOU
RECEIVED THIS EMAIL IN ERROR, PLEASE DELETE IT AND NOTIFY ME BY RETURN
EMAIL TO eric.hamacher@enetrix.com *******************************
RE: IE and generated images
Posted by Eric Hamacher <er...@enetrix.com>.
Thanks for responding. I tried using both JPEG and PNG images and I set the content type each time correctly. The image is printable in Firefox. Specifically, in the print preview in IE I get a border of the correct size with the red X. If I right-click on the image and select Print Picture I notice that the servlet which streamed the image is recalled (which is no good because the servlet requires parameters).
-----Original Message-----
From: david delbecq [mailto:delbd+jakarta@oma.be]
Sent: Monday, March 10, 2008 3:34 PM
To: batik-users@xmlgraphics.apache.org
Subject: Re: IE and generated images
Eric Hamacher a écrit :
>
> Hello All:
>
> The images I write to the ServletOutputStream in my web app will not
> print once in IE. Therefore, I want to send a PDF to the browser. I
> can't see how to integrate Batik with iText. Anybody ever do this?
>
> Regards,
>
> Eric Hamacher
>
> ******************************
>
> THIS EMAIL IS INTENDED ONLY FOR THE REVIEW OF THE ADDRESSEE(S), AND
> MAY CONTAIN CONFIDENTIAL AND LEGALLY PRIVILEGED INFORMATION.
> INTERCEPTION, COPYING, DISSEMINATION, OR OTHER USE BY OTHER THAN THE
> ADDRESSEE(S) IS PROHIBITED AND MAY BE PENALIZED UNDER APPLICABLE
> PRIVACY LAWS. IF YOU RECEIVED THIS EMAIL IN ERROR, PLEASE DELETE IT
> AND NOTIFY ME BY RETURN EMAIL TO *eric.hamacher@enetrix.com
> <ma...@enetrix.com> ********************************
>
which format are you using for the images? png? jpg? Did you properly
set the content type of response? As for integrating Batik with pdf,
generate a java Image, and use it for itext, as simple.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: IE and generated images
Posted by david delbecq <de...@oma.be>.
Eric Hamacher a écrit :
>
> Hello All:
>
> The images I write to the ServletOutputStream in my web app will not
> print once in IE. Therefore, I want to send a PDF to the browser. I
> can’t see how to integrate Batik with iText. Anybody ever do this?
>
> Regards,
>
> Eric Hamacher
>
> ******************************
>
> THIS EMAIL IS INTENDED ONLY FOR THE REVIEW OF THE ADDRESSEE(S), AND
> MAY CONTAIN CONFIDENTIAL AND LEGALLY PRIVILEGED INFORMATION.
> INTERCEPTION, COPYING, DISSEMINATION, OR OTHER USE BY OTHER THAN THE
> ADDRESSEE(S) IS PROHIBITED AND MAY BE PENALIZED UNDER APPLICABLE
> PRIVACY LAWS. IF YOU RECEIVED THIS EMAIL IN ERROR, PLEASE DELETE IT
> AND NOTIFY ME BY RETURN EMAIL TO *eric.hamacher@enetrix.com
> <ma...@enetrix.com> ********************************
>
which format are you using for the images? png? jpg? Did you properly
set the content type of response? As for integrating Batik with pdf,
generate a java Image, and use it for itext, as simple.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: IE and generated images
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Eric,
why don't you just use the PDFTranscoder that is bundled with Batik?
On 10.03.2008 16:48:09 Eric Hamacher wrote:
> Hello All:
>
>
>
> The images I write to the ServletOutputStream in my web app will not
> print once in IE. Therefore, I want to send a PDF to the browser. I
> can't see how to integrate Batik with iText. Anybody ever do this?
>
>
>
> Regards,
>
> Eric Hamacher
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org