[iText-questions] Strange Java problem

2009-10-18 Thread Tancho .
Hello, I have a project for which I choose to use itext for generating pdfs, on a web page, which is pdf you select some data, press the generate button, and the php calls a java application with some parameters which generates the pdf, so since the pdf makes a system call the two parts are not

[iText-questions] deleting a pdf after creating

2009-10-18 Thread Kevin Blackwell
In my code, I've created a pdf file using itextsharp. Somewhere in my code, I'm opening something and not closing it properly. I'm trying to delete the pdf after creating, but I keep getting an error that it's in use by a process. Any help appreciated. Dim FormFile As String = form.pdf

Re: [iText-questions] deleting a pdf after creating

2009-10-18 Thread Paulo Soares
PdfStamper.Close() closes the file, check if you can delete the file right after it. Paulo - Original Message - From: Kevin Blackwell akblack...@gmail.com To: itext-questions@lists.sourceforge.net Sent: Sunday, October 18, 2009 5:33 PM Subject: [iText-questions] deleting a pdf after

Re: [iText-questions] deleting a pdf after creating

2009-10-18 Thread Kevin Blackwell
Paulo, Thanks for the comments, But still wont let me delete. I missed a line when posting, but I added stamper.Close() But I still get Dim FormFile As String = form.pdf Dim outFile As String = Out.pdf Dim reader As New PdfReader(FormFile) Dim Fstream As

Re: [iText-questions] deleting a pdf after creating

2009-10-18 Thread Paulo Soares
My question is if you can delete right after stamper.Close(). Paulo - Original Message - From: Kevin Blackwell akblack...@gmail.com To: Post all your questions about iText here itext-questions@lists.sourceforge.net Sent: Sunday, October 18, 2009 6:09 PM Subject: Re: [iText-questions]

[iText-questions] acrobat error

2009-10-18 Thread S Gallaghan
Hi all I'm having a problem creating a pdf file with iText in java that can be read properly by abode acrobat. I seem to have tracked the problem down to PdfContentByte I've created a short test program (below). This views ok with foxit reader but comes as a blank page in acrobat9

Re: [iText-questions] acrobat error

2009-10-18 Thread Leonard Rosenthol
Post an Actual PDF From: S Gallaghan [mailto:sgallag...@energyts.com] Sent: Sunday, October 18, 2009 6:33 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] acrobat error Hi all I'm having a problem creating a pdf file with iText in java that can be read properly by

Re: [iText-questions] acrobat error

2009-10-18 Thread S Gallaghan
Sorry found the problem. Wasn't using beginText(); And endText(); 8-) From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Monday, 19 October 2009 3:29 p.m. To: Post all your questions about iText here Subject: Re: [iText-questions] acrobat error Post an Actual PDF.. From:

Re: [iText-questions] Strange Java problem

2009-10-18 Thread mister bean
It's a classpath error that seems to emanate from your com.xxx.pdf... app in its call to iText. Looking at your classpath, I see that you're linking to itext.jar, which is not a standard name for an iText jar. Check your classpath. Netbeans can generate an Ant file to run your app. Look at its