I am trying to generate PDF dynamically and I am using the work around suggested for IE i.e. write everything to ByteArrayOutputStream and set the content length etc. as explained in couple of examples.

When I get to the page where I am supposed to see this PDF I get some garbage something linke this. 

======

%PDF-1.4 %���� 3 0 obj <> stream x��VMo�6��W̥mp\ɍS=u�-��fa{Y  ���-E�$e7�������l�*ǖ�y��'�5z�}w��V�(~��̿��i�}�K ���Q�OoF7�B��1���b�ҾY}n��V;Dn}��g���b��4:��Fr�w}�r.�"�_r ���^Oڽj9>R����ٺJ\i?���/ki]ϗ��1߻4�s�s�.8:A���y5�0� [M� endstream endobj 5 0 obj <> /ProcSet [/PDF /Text /ImageB /ImageC /ImageI] >> /Parent 4 0 R /MediaBox [0 0 595 842] /Contents 3 0 R /Type /Page >> endobj 2 0 obj <> endobj 1 0 obj <> endobj 4 0 obj <> endobj 6 0 obj <> endobj 7 0 obj <</Producer (iText by lowagie.com \(r0.99 - paulo118\)) /ModDate (D

======

The PDF is getting displayed on Netscape6.2. 

I would greately appreciate any help.

regards,

Ishaq.



Attention NRIs! Send money to India. Do it in a jiffy! ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to