[iText-questions] Question about ByteBuffer.formatDouble

2005-12-14 Thread Adam Goode
Hi, I am using iText 1.3.6 to do some drawing in PDF. I was wondering why ByteBuffer.formatDouble does some things, (and why it appears to reimplement something like java.text.DecimalFormat). Most things seem ok, but why if (1.0 <= d <= 32767) then precision is truncated to 2 decimal places? It l

[iText-questions] How do I stream output to browser instead of a file

2005-12-14 Thread Bill Ensley
Please see the tutorial. http://itextdocs.lowagie.com/tutorial/general/webapp/ -Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diana K. Woodhouse Sent: Wednesday, December 14, 2005 1:36 PM To: Diana K. Woodhouse; itext-question

Re: [iText-questions] How do I stream output to browser instead of a file

2005-12-14 Thread Michael Griffith
Diana, Set the file to delete on exit, or delete the file when you are done with it. Once the file has been generated, read the file and send it to the servlet output stream or writer... HTH, Michael Griffith On 12/14/05 3:31 PM, "Diana K. Woodhouse" <[EMAIL PROTECTED]> wrote: > Hi, > > I

Re: [iText-questions] How do I stream output to browser instead of a file

2005-12-14 Thread Diana K. Woodhouse
Just to clarify, I want to stream directly into the browser plugin for the PDF reader, not create html. Thanks, Diana --- "Diana K. Woodhouse" <[EMAIL PROTECTED]> wrote: > Hi, > > I've got this chunk of code that uses PdfWriter to > stream output to a file. The information is fairly > sensiti

[iText-questions] How do I stream output to browser instead of a file

2005-12-14 Thread Diana K. Woodhouse
Hi, I've got this chunk of code that uses PdfWriter to stream output to a file. The information is fairly sensitive and I would rather stream directly to the browser. Can someone help me to modify my code to send output directly to the browser? Thanks very much! reader = new PdfReader(infilen

Re: [iText-questions] Broken pipe error at newPage()

2005-12-14 Thread Vineet Reynolds
If I'm not wrong the problem lies here:com.algorithmics.assetmanagement.servlets.PrintPDFServlet.service((PrintPDFServlet.java:135))Maybe you should check this part out, especially since it causes an error while writing out the PDF to a stream - java.io.BufferedOutputStream.write(BufferedOutputStr

[iText-questions] Broken pipe error at newPage()

2005-12-14 Thread Eugene Lantsman
Hi   I am getting the fallowing error it happens at com.algorithmics.tc.report.PrintPDF.printPage(PrintPDF.java:338) at this line i do document.newPage(); running in tomcat on unix i get the error and the pdf process just hangs doing nothing although does not crush anything works fine

Re: [iText-questions] Displaying pdf in acrobat reader instead of browser from web application.

2005-12-14 Thread Vineet Reynolds
Seems like you want to bypass the Acrobat IE Browser Helper Object and display the PDF within Adobe Acrobat (Reader).A force download could solve the problem partially I suppose.You'll need to ensure that the servlet / webserver includes the following headers in the response - Content-type: applic

[iText-questions] Displaying pdf in acrobat reader instead of browser from web application.

2005-12-14 Thread Gregory Geller
Hi all,   Currently we have a web application that uses iText to generate a pdf file and stream it to a browser. Our clients have asked if there is a way to send the pdf to Acrobat instead of the browser? I know there is a preference in Acrobat under Internet\Web Browser Options that will s

[iText-questions] Displaying pdf in acrobat reader instead of browser from web application.

2005-12-14 Thread Gregory Geller
Hi all,   Currently we have a web application that uses iText to generate a pdf file and stream it to a browser. Our clients have asked if there is a way to send the pdf to Acrobat instead of the browser? I know there is a preference in Acrobat under Internet\Web Browser Options that will

Re: [iText-questions] PDF Conversion

2005-12-14 Thread Vineet Reynolds
You'll need to look at Ghostscript. It's the most widely used option for converting PDF to PS.The main page is here: http://www.cs.wisc.edu/~ghost/Have a look at the Ghostscript programming API here - http://www.cs.wisc.edu/~ghost/doc/cvs/API.htmI'll have to search more to find out any Java specif

[iText-questions] PDF Conversion

2005-12-14 Thread Carlos Lopes
It is possible to convert a PDF to PS with iText? If not anyone know a java class / api that can do that trick? I need to print directly from tomcat to a ps printer, and I cannot seem to do that with a pdf file directly. Thanks in advance, Carlos Lopes

[iText-questions] rtf colspan for rtfWriter2

2005-12-14 Thread Paulo Soares
This was posted in the itexsharp bugs https://sourceforge.net/tracker/?func=detail&atid=536236&aid=1380184&gro up_id=72954: I am trying to set a cell in an table with colspan 2. It work well if I am using the rtfWriter. However, once I change the rtfWriter to rtfWriter2 the whole table's cell a

[iText-questions] Mac/OSX Problems with Rtf

2005-12-14 Thread Michael Griffith
Hi All, Forgive me if this is a duplicate post -- I checked the ML archive for my original and didn't find it, so I am posting again. I am havinf some trouble with the TOC generated in an RTF file I am producing -- and I am not sure if anyone else has run into this problem or if its something I

[iText-questions] Reducing size

2005-12-14 Thread Bruno Lowagie
jahswill omema wrote: I wish to ask if i can reduce the size of my generated file. though not large about 4,430kb i wish it is small. Can i achieve that . Please post this kind of questions to the mailing list. If you haven't changed the static Document.compress variable, your document will be

Re: [iText-questions] Arabic text, broken by formatting but not by spaces

2005-12-14 Thread Paulo Soares
A small code example , please. Paulo - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" Sent: Wednesday, December 14, 2005 12:28 AM Subject: [iText-questions] Arabic text, broken by formatting but not by spaces Hi; Lets say I have some arabic text, part