Hi ,
I am mahammad rafi ,a user of I-text library.I found this api as wonderful.
In my current project my need is different .I need to read the pdf form
templates and populate them with the dynamic data. Can any body tell me how
to process form fields using i-text library.(like text fields,radio
b
hallo,
i have a problem to print a pdf-document with
TrueType-Fonts. I think
i can't print the document, because our
Digitalprinter, a IBM InfoColor 100,
cannot Rip the TrueType-Font. When i changed the
Font to a Type1 i can rip
and print. So i decided to convert the Truetype to
a Type 1 w
>You forgot the PdfContentByte.endText().
Spot on. I was chasing a red herring. Turns out there was a
difference in the input document that was being laid over the PDF
that was causing my code to call endText() in one case, and not in
another. The fact that Acrobat 4 and xpdf were forgiving
At 2:29 PM -0500 5/2/02, Ben Sinclair wrote:
>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.
Very similar to what I'm doing except I use PdfContentByte.moveText()
to get the position I want.
At 2:16 PM -0500 5/2/02, Ben Sinclair wrote:
>Is there a way to tell what location the "cursor" is when you are adding
>paragraphs and other objects? I'd like to know exactly where the next object
>will be placed.
Have you tried PDFContentByte.getXTLM() and getYTLM() ? That's what I'm using.
--
On Thursday 02 May 2002 16:52, you wrote:
> 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
well
nothing worked. :(
if i could have a working sample code, i would konow what i'm doing wrong.
pls if one of you have, send it.
tks
zefyrus
_
MSN Photos is the easiest way to share and print your photos:
http://photos.m
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 com.lowag
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 ru
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 PD
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
>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( "applica
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 doi
hi
i know that i'm boring you all, but i puted he content.lenght at it and
it returs zero.
here is the code:
public void doGet (HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
Document document = new Document();
try {
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 object
Title: RE: [iText-questions] urgent - servlet problems
Check the FAQ @ http://www.lowagie.com/iText/faq.html#msie and the related MS link. I think that explains the problem you have.
-Original Message-
From: Lord Zefyrus God [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 02, 2002 11
>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
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: Wil
Hello Joseph,
sorry it took me a while to find the files because I reinstalled my machine
and haven't had them on till now. Here are two java files and the pdf
output. Haven't done anything since. But this might gives you an idea of how
to use the absolute positioning.
I cc the iText list, since I
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, 0
hi
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 using Tomcat and jdk 1.2
[]'s
Zefyrus
_
Send and receive Hotmail on yo
> -Original Message-
> From: Leonard Rosenthol [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 02, 2002 17:17
> To: Paulo Soares; [EMAIL PROTECTED]
> Subject: RE: [iText-questions] iText design question
>
> At 4:54 PM +0100 5/2/02, Paulo Soares wrote:
> > I'm transforming the
At 4:54 PM +0100 5/2/02, Paulo Soares wrote:
> I'm transforming the PRObjects in PdfObjects.
OK.
>The only problem is PRStream that doesn't really
>have the stream inside, only pointers to the data and I don't know if it's
>wise to open up, decompress and store in memory the strea
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
>
> >Thi
Hi
I am using itext to convert tiff to pdf files.
I am using sample (chap0612 ) given by itext. I just changed the
filename to my tiff file name
It converts to PDF. When i opened the pdf in acrobat it says "read less
image data than expected".
The tiff file has G3 format with COMP_FAX_G3_2D comp
> -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 di
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 re
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
-
If you want to print out in Word, wouldn't you be better up to import it
straight into Word through a mail merge? You could connect through an ODBC
datasource and have them available in Word.
For myself, I haven't worked with rtf but I played a little bit around with
absolute positioning and print
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 t
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 those
> -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 su
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:
> -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.
This is really strange. Send me privately the PDF for examination.
Best Regards,
Paulo Soares
> -Original Message-
> From: Wilhelm *Rafial* Fitzpatrick [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 22:34
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Acrobat 5 vs.
Hello, I know iText does not support Linearized PDFs at this time,
given that:
1. Do you plan on supporting it in future?
2. Do you know of any public domain implementations?
Thank you.
--
Bala Guthy
___
Have big pipes? SourceForge
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, ~178,25
37 matches
Mail list logo