On 23/09/2011 21:41, Palladian1881 wrote:

Here's the line of code creating the PdfReader object in case it helps:
PdfReader reader = new PdfReader((InputStream)(new IFSFileInputStream(as400,
filename)));


Any error thrown, stacktrace ?? That would help more then the IFSFileInputStream(as400, filename) as we cannot possibly know what that does.
Have you tried reading from the InputStream yourself?

InputStream in = (InputStream)(new IFSFileInputStream(as400,
filename));
byte [] b = new byte[1];
in.read(b)


PdfReader tries to read from it and probably can't. I'm guessing that above codes nippet will throw the same error as you get if you try it.

--
twitter <http://twitter.com/redlabbe>
redlab-log <http://www.redlab.be/blog/>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to