sarasotatim,
I am not sure about your setup. But the example in that page is essentially
doing the same thing as a call to cfcontent, using the "variable" attribute to
serve up binary data.
PdfCopy will accept any kind of OutputStream. So you could substitute a
ByteArrayOutputStream for your FileOutputStream.
outStream = createObject("java", "java.io.ByteArrayOutputStream").init();
The data would be written to your variable, instead of saved to disk. Then
using outStream.toByteArray() you could serve up the file via cfcontent.
-Leigh
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/