Re: [iText-questions] PDF overlay

2002-05-03 Thread Matt Benson
Does either of you have a code snippet showing the use of a PdfReader to use this technique to write on top of the existing page(s)? Does this technique work where the original PDF is multipage? Thanks, Matt --- Wilhelm *Rafial* Fitzpatrick [EMAIL PROTECTED] wrote: At 2:29 PM -0500 5/2/02,

Re: [iText-questions] PDF overlay

2002-05-03 Thread Matt Benson
Okay, I think I'm starting to understand... (remember I've never used advanced iText before). I get my Document and PdfWriter as usual. then: PdfReader reader = new PdfReader(my.pdf); PdfContentByte cb = writer.getImportedPage(reader, 1); cb.moveTo(fldX, fldY); cb.showText(fldVal); doc.close();

RE: [iText-questions] PDF overlay

2002-05-03 Thread Paulo Soares
Benson [SMTP:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 15:49 To: Matt Benson; [EMAIL PROTECTED] Subject: Re: [iText-questions] PDF overlay Okay, I think I'm starting to understand... (remember I've never used advanced iText before). I get my Document and PdfWriter as usual

RE: [iText-questions] PDF overlay

2002-05-03 Thread Matt Benson
: Friday, May 03, 2002 15:49 To: Matt Benson; [EMAIL PROTECTED] Subject:Re: [iText-questions] PDF overlay Okay, I think I'm starting to understand... (remember I've never used advanced iText before). I get my Document and PdfWriter as usual. then: PdfReader reader = new

[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] 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