[iText-questions] pdf file sizes

2002-05-02 Thread Campanale, Rocco
I am using version 0.91. My question is: Is there any explanation why the same exact pdf file created on a unix platform and windows nt platform would have widely different sizes? I am basically using Table with no graphics. The file size on windows is ~5k and on a solaris 2.5 unix box,

RE: [iText-questions] iText design question

2002-05-02 Thread Paulo Soares
-Original Message- From: Leonard Rosenthol [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 1:46 To: [EMAIL PROTECTED] Subject: [iText-questions] iText design question I have two questions about the low level design decisions make during the coding of iText. 1)

RE: [iText-questions] pdf file sizes

2002-05-02 Thread Paulo Soares
You are probably embedding a font. If the code is the same the result is the same. You must have differences. Best Regards, Paulo Soares -Original Message- From: Campanale, Rocco [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 20:24 To: [EMAIL PROTECTED] Subject:

RE: [iText-questions] Linearized PDFs

2002-05-02 Thread Paulo Soares
-Original Message- From: Bala Guthy [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 0:01 To: [EMAIL PROTECTED] Subject: [iText-questions] Linearized PDFs Hello, I know iText does not support Linearized PDFs at this time, given that: 1. Do you plan on supporting

FW: [iText-questions] How to specify link with japanese chars.

2002-05-02 Thread Paulo Soares
I received this mail and as I suspected it's a risk to use anything but ASCII. In the japanese windows case the encoding is Shift-JIS and it works. Now, I have US windows with the CP1252 encoding and this solution will not work. It's platform dependent and defeats the purpose of the PDF. For

[iText-questions] Mailing Labels

2002-05-02 Thread Joseph Rajkumar
Hi Could you let me know if there is any example of using iText to print mailing labels. I have lots of addresses in a flat file where each address consists of three lines. I want to create a pdf/rtf file consisting of three columns of the addresses. Ultimately the idea is to get

[iText-questions] RTF

2002-05-02 Thread Sokolov, Oleg
I'm creating RTF document, but when trying to print it chooses German Std Fanfold paper size by default, which not allows to print document properly - it got truncated. Why it does this and how i can force it to be A4 by default. Thanks Oleg

RE: [iText-questions] iText design question

2002-05-02 Thread Leonard Rosenthol
At 10:51 AM +0100 5/2/02, Paulo Soares wrote: 1) Why the are two different types of low level PDF objects? PRObject vs. PDFObject, etc. The original objects (PdfObject) where designed to output PDF and as such contain additional information that cannot be extracted from the read pdf.

RE: [iText-questions] iText design question

2002-05-02 Thread Paulo Soares
-Original Message- From: Leonard Rosenthol [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 16:27 To: Paulo Soares; [EMAIL PROTECTED] Subject: RE: [iText-questions] iText design question At 10:51 AM +0100 5/2/02, Paulo Soares wrote: 1) Why the are two different

RE: [iText-questions] Acrobat 5 vs. Acrobat 4 problem

2002-05-02 Thread Paulo Soares
You forgot the PdfContentByte.endText(). Best Regards, Paulo Soares -Original Message- From: Wilhelm *Rafial* Fitzpatrick [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 17:02 To: Paulo Soares Subject: RE: [iText-questions] Acrobat 5 vs. Acrobat 4 problem This is

RE: [iText-questions] itext sample for tiff(G3) to pdf

2002-05-02 Thread Paulo Soares
The example only works with single strip tiffs. With multiple strip you have to extract each strip as an image and assemble the images in the pdf. This is a way to do it: public static void convert2(File inputFile, File outputFile) { Document document = new Document(PageSize.LETTER,

Re: [iText-questions] urgent - servlet problems

2002-05-02 Thread Lord Zefyrus God
hi again i compled the example from iText. i'm also using ie5.5 and ie6. the problem is that every request that i do from ie to the pdf servlet, the ie doesn't brings the pdf on the browser. i need to make a refresh to it come up. i think that it is it. []'s Zefryus From:

Re: [iText-questions] urgent - servlet problems

2002-05-02 Thread Wilhelm *Rafial* Fitzpatrick
i've tried the examlpe that uses a servlet instead a main class. and it locks the browser until i press the refresh key (f5), them the pdf comes up. I'm delivering PDFs built with iText via a servlet, so I might be able to help if you can supply more details. Two important things are to set

Re: [iText-questions] Putting other objects in a PdfContentByte

2002-05-02 Thread Ben Sinclair
I'm going to try a new approach... Creating a new pdf whenever I locate on the page, then setting the margins and using the normal methods of adding text. Later I'll merge them all into one PDF. Is there a way to tell what location the cursor is when you are adding paragraphs and other objects?

[iText-questions] PDF overlay

2002-05-02 Thread Matt Benson
This question is about PDF in general: If you want to take an existing PDF which is a printed form (not a PDF form) and overlay precisely-positioned text, is there a way to do something like this with ghostScript or a combination of utilities? Otherwise, what would be the easiest approach to

RE: [iText-questions] urgent - servlet problems

2002-05-02 Thread Wilhelm *Rafial* Fitzpatrick
At 4:03 PM -0300 5/2/02, Lord Zefyrus God wrote: still having problems. may you send a sample code ??? Something like: ... ByteArrayOutputStream buffer = new ByteArrayOutputStream(32000); new PDFGenerator().generate( statement, template, overlay, buffer ); resp.setContentType(

RE: [iText-questions] urgent - servlet problems

2002-05-02 Thread Matt Benson
It might help if you wrote your document to the ByteArrayOutputStream before you set the content length and transfer the contents to your ServletOutputStream -Matt --- Lord Zefyrus God [EMAIL PROTECTED] wrote: hi i know that i'm boring you all, but i puted he content.lenght at it

Re: [iText-questions] PDF overlay

2002-05-02 Thread Ben Sinclair
This may not be the easiest way, but this is what I do... I use PdfContentByte.setTextMatrix() to locate at a specific point on the page and add text. I determine the points by opening the PDF in Photoshop at 72dpi, then multiplying the x and y location of my cursor by 72 to get points in the

[iText-questions] Vertical alignment in PdfPCell

2002-05-02 Thread Joshua C. Lerner
Hi - I see that there have been questions on this topic before - how to align text vertically in a PdfPCell. I read the posts but I'm not sure what if anything I'm doing wrong. The online docs note that you can't always trust on the vertical alignment. Is there any workaround I can try? I'm

[iText-questions] NoSuchMethodError from PdfWriter

2002-05-02 Thread Ben Sinclair
Well, I'm not sure what I changed, but now when I try to pdf.close() I get this: java.lang.NoSuchMethodError at com.lowagie.text.pdf.PdfWriter$PdfBody$PdfCrossReference.toPdf(PdfWriter.java:1 54) at com.lowagie.text.pdf.PdfWriter$PdfBody.getCrossReferenceTable(PdfWriter.java:31 6) at