Re: [iText-questions] write pdf file to disk

2006-12-01 Thread muleiro
Thanks Bruno. Finally I solved it using a jFileChooser and letting the user to choose where to create the pdf file. Best regards and thank you for your help, iago Bruno Lowagie (iText) wrote: > > muleiro wrote: >> Yes, that's true, but i think that changing the JVM working directory it >> isn't

Re: [iText-questions] write pdf file to disk

2006-11-29 Thread Bruno Lowagie (iText)
muleiro wrote: > Yes, that's true, but i think that changing the JVM working directory it > isn't the solution because when the application is build, all that is under > the build directory is merged in a jar file. And it is inside that jar where > i need to write because once the application's run

Re: [iText-questions] write pdf file to disk

2006-11-29 Thread muleiro
Yes, that's true, but i think that changing the JVM working directory it isn't the solution because when the application is build, all that is under the build directory is merged in a jar file. And it is inside that jar where i need to write because once the application's running the user wouldn't

Re: [iText-questions] write pdf file to disk

2006-11-29 Thread Bruno Lowagie (iText)
muleiro wrote: > Hii think i'm fighting against a quite simple problem but i'm afraid i > can't resolve it. > > I create my pdf file using a FileOutputStream like this: > > FileOutputStream fos = new FileOutputStream("OUT.pdf"); > PdfCopy copy = new PdfCopy(document, fos); > (...) > > And i

Re: [iText-questions] write pdf file to disk

2006-11-28 Thread Paulo Soares
Use an absolute path. If you don't know what path, neither do we. Paulo - Original Message - From: "muleiro" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 28, 2006 6:23 PM Subject: [iText-questions] write pdf file to disk > > Hii think i'm

[iText-questions] write pdf file to disk

2006-11-28 Thread muleiro
Hii think i'm fighting against a quite simple problem but i'm afraid i can't resolve it. I create my pdf file using a FileOutputStream like this: FileOutputStream fos = new FileOutputStream("OUT.pdf"); PdfCopy copy = new PdfCopy(document, fos); (...) And iText creates the OUT.pdf as i want