That won't work. PDF is a binary format. You have to use a byte[] if you
absolutely want to keep the whole PDF in memory.

Use:
return out.toByteArray();

On 23.04.2003 21:37:22 Gary Fix wrote:
> Hi Victor,
> Yes, I really do want to output to a String...
> My goal is to return the PDF String to a calling class or application
> instead of directing the PDF straight to a File...
> 
> I have another method that directs the PDF output straight to a File and it
> works great...
> But when I try to return a PDF String, then write this to a file (or to the
> console and paste it to a file) for testing, I get a blank page...


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to