Forum Replies Created
-
AuthorPosts
-
in reply to: BufferedImage via ImageIO not schow in firefox preview November 15, 2013 at 15:39#29428
That is strange because on all our systems (firefox 25 on mac and win7) the pdf returned by the above link opens the internal firefox pdf viewer but after loading the pdf (white bar on top of the viewer) the pdf is not shown. only the direct download – out of the viewer – shows the correct pdf.
Did you just download the pdf or did it also opened fully in the internal ff pdf viewer on you system?
Response header with embedded png:
HTTP/1.1 200 OK Date: Fri, 15 Nov 2013 15:17:54 GMT Server: Apache/2.0.59 (Win32) mod_ssl/2.0.59 OpenSSL/0.9.7l Content-Length: 2209665 Expires: Thu, 01 Dec 1994 16:00:00 GMT Content-Disposition: inline; filename=antrag_partnercard.pdf Accept-Ranges: bytes Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: application/pdf
Response header without embedded png:
HTTP/1.1 200 OK Date: Fri, 15 Nov 2013 15:28:41 GMT Server: Apache/2.0.59 (Win32) mod_ssl/2.0.59 OpenSSL/0.9.7l Content-Length: 2207685 Expires: Thu, 01 Dec 1994 16:00:00 GMT Content-Disposition: inline; filename=antrag_partnercard.pdf Accept-Ranges: bytes Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: application/pdf
Sometimes I get the array index out of bounds exceptions stated in the attached file – but not always…
Btw: is it possible to tell pd4ml to set the content-disposition to “attachment”? like this we could work around the pdf viewer and the browser would open the pdf directly, wouldn’t it?
in reply to: BufferedImage via ImageIO not schow in firefox preview November 15, 2013 at 11:40#29426@PD4ML wrote:
Could you please publish such PDF sample?
The file is too big to attach it to this thread. Here is the link instead: http://bit.ly/I35Vio
-
AuthorPosts
