It's not different English, it's just a snapshot into the evolving state 
of my confusion.

My original post was confused because I was confused. I was reading a 
hex dump of the stream buffer and I did 2 things that were both wrong:
- I misinterpreted the first character in the buffer as a 7 instead of 
what it was, a %
- I assumed that the buffer was reaching acrobat via the web page which 
it is apparently not.

Since then I have tried every permutation that I can think of and ended 
up thus - I can generate and send a page by supplying PdfWriter with the 
Response.OutputStream, I can write a valid pdf file by supplying 
PdfWriter with an open FileStream but if I try to supply PdfWriter with 
a MemoryStream and then try to feed the MemoryStream to the HttpResponse 
object I get 0 bytes transmitted but since the response nas the 
ContentType set to "application/pdf", Acrobat generates an error message 
upon being invoked with no bytes in the stream.

I don't know why, and I don't know how to fix it. That's why I have been 
pestering this thread.

I appreciate your taking the time to respond.

Any bright ideas or correction of my limited understanding of this 
subject would be greatly appreciated,
Dan

robert engels wrote:
> We must be using different english...
> 
> On Dec 29, 2006, at 5:14 PM, Daniel Essin wrote:
> 
>>>>>> OK let me start over again. I was reading the dump incorrectly  
>>>>>>
>>>>>> and the
>>>>>>
>>>>>> first byte is a %
>>>>>>
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to