[iText-questions] Stamper not closing pdf?

2013-04-10 Thread Mester József
Hello I have a little pdf filling program. Data come from csv . Pdf filled with no error. But when I want open there is an error message: Trailer not found. Here is my code: if (args.length != 3) { System.out.println(Usage: PdfFill fillable.pdf data.csv target.pdf);

Re: [iText-questions] Loading specified Fonts on IBM iSeries

2013-04-10 Thread Simon Scott
You need to copy the font to the iSeries IFS and then embed it in your PDF, for example: public void addEmbeddedFont(String path) { try { BaseFont bf = BaseFont.createFont(path, BaseFont.CP1252, BaseFont.EMBEDDED); this.baseFont = new Font(bf); } catch (Exception e) {

[iText-questions] Stamper not closing pdf?

2013-04-10 Thread Mester József
Hy I'am getting crazy. The very simple pdf filler program that i sent before somtimes filling the pdf and don't problem with trailer and I see with adobe acrobat reader. Sometimes dont. Sometime seems to be ok with data filling but I have trailer problem. Sometimes don't problem with trailer

Re: [iText-questions] Stamper not closing pdf?

2013-04-10 Thread Paulo Soares
Maybe there was an exception that you are not catching. Paulo On Wed, Apr 10, 2013 at 7:22 AM, Mester József mesterj...@gmail.com wrote: Hello I have a little pdf filling program. Data come from csv . Pdf filled with no error. But when I want open there is an error message: Trailer not

Re: [iText-questions] Stamper not closing pdf?

2013-04-10 Thread Mester József
2013.04.10. 15:27 keltezéssel, Paulo Soares írta: Maybe there was an exception that you are not catching. Paulo Thank you for your kindness. But not. There is no exception... :-( Joe On Wed, Apr 10, 2013 at 7:22 AM, Mester József mesterj...@gmail.com wrote: Hello I have a little pdf

Re: [iText-questions] Stamper not closing pdf?

2013-04-10 Thread Paulo Soares
Are you sure PdfSamper.close() is reached? All the incomplete file cases that we know of are caused by uncatch and usually eaten exceptions. Paulo On Wed, Apr 10, 2013 at 2:45 PM, Mester József mesterj...@gmail.com wrote: 2013.04.10. 15:27 keltezéssel, Paulo Soares írta: Maybe there was an

Re: [iText-questions] Stamper not closing pdf?

2013-04-10 Thread Mester József
2013.04.10. 16:35 keltezéssel, Paulo Soares írta: Are you sure PdfSamper.close() is reached? All the incomplete file cases that we know of are caused by uncatch and usually eaten exceptions. Paulo Thank you again. My program run as a daemon on server, and who wrote the daemon starter script