Re: [iText-questions] Printing takes forever......

2006-05-11 Thread Leonard Rosenthol
At 03:57 PM 5/11/2006, Brian wrote: We currently have an internal application that makes use of itext. It takes text files, and converts them to pdf's dynamically with a pdf overlay. Are you using any transparency in the document? If so, that's the problem! Leonard -

[iText-questions] problem with rowspan in complex tables (bug?)

2006-05-11 Thread Hubert Grininger
hi everybody, i use itext (java version, 1.4) for drawing a timetable. for visualizing the length of an event i use rowspan to make a big cell (for example 3 hours is rowspan=6). this works rather good, unfortunately there are problems with the rendering of the cells: if I have only one to three

[iText-questions] Printing takes forever......

2006-05-11 Thread Brian
Hello All, We currently have an internal application that makes use of itext. It takes text files, and converts them to pdf's dynamically with a pdf overlay. Viewing the document is quick and easy. However, when we pring, it's like the pdf document gets bloated and printing has taken up to 5 minu

[iText-questions] Re: AW: Sub page numbering

2006-05-11 Thread Nigel Kibble
Hi Bruno, That's sorted my problem out - thanks alot. Just out of interest, I have noticed the document.close() method is causing the onStartPage() to be invoked agin. I noticed because it threw my page count out for the final invoice within the PDF. Is there a special reason for it doing this?

Re: [iText-questions] urgent::::How to overlay on existing PDF?

2006-05-11 Thread murthy gandikota
Here is the actual code that fills a form without fields:import java.io.FileOutputStream;import java.util.HashMap;import com.lowagie.text.Element;import com.lowagie.text.Image;import com.lowagie.text.PageSize;import com.lowagie.text.pdf.BaseFont;import com.lowagie.text.pdf.PdfContentByte;import com

Re: [iText-questions] Anchors in IE

2006-05-11 Thread bruno
Kenneth Rowlison wrote: With basic anchors in FoxFire, behavior is as desired: the new page is opened in a new tab. Unfortunately, our site standard browser is IE. You probably mean Firefox. Isn't there a possibility to turn off the ALLOW or BLOCK warnings in IE? I remember that it was possi

Re: [iText-questions] urgent::::How to overlay on existing PDF?

2006-05-11 Thread bruno
murthy gandikota wrote: Hi Bruno Many thanks for your response. No problem, you're welcome. I was able to make it work using the PdfStamper tutorial. If anyone is interested I can post the code. It wouldn't hurt to post a small sample to the mailing list for future reference. br, Bruno

Re: [iText-questions] urgent::::How to overlay on existing PDF?

2006-05-11 Thread murthy gandikota
Hi BrunoMany thanks for your response. I was able to make it work using the PdfStamper tutorial. If anyone is interested I can post the code. BTW, the people at sanface.com want an arm and a leg to do this. Thanks to all the developers at lowagie.com for their hardwork and dedication.Murthybruno <[

Re: AW: [iText-questions] OpenSource printing lib?

2006-05-11 Thread Leonard Rosenthol
At 09:01 AM 5/11/2006, Bernd, Juergen wrote: Transparant fonts aren't supported in the commercial JPedal version either. :( Bummer! I wonder if any of the other Java-based PDF viewing components support transparency. There are at least 3 or 4 commercial ones out there...

[iText-questions] Anchors in IE

2006-05-11 Thread Kenneth Rowlison
I have reviewed the solutions on the GMANE search pages regarding anchors that, when invoked, open the referenced page in a new IE window. The javascript solutions, when used, cause IE to display a Security Warning and prompt for ALLOW or BLOCK. When allow is selected, nothing happens. I hav

Re: [iText-questions] OpenSource printing lib?

2006-05-11 Thread Udo Rader
On Thu, 2006-05-11 at 10:45 +0200, Bernd, Juergen wrote: > Hi, > > I know that IText doesn't have a printing functionality, but maybe > someone here has an idea. > I use the PDFStamper in a servlet to insert a watermark (transparent text) > the requested PDF. > Then the client prints this PDF wit

Re: AW: [iText-questions] OpenSource printing lib?

2006-05-11 Thread bruno
Bernd, Juergen wrote: And the statement that AcrobatReader is crap is maybe a bit harsh, but it doesn't make sense to use a Runtime.exec command in order to print a PDF from java Also there's the problem that Adobe Reader doesn't always close. For more info and pointers, please read the follow

AW: [iText-questions] OpenSource printing lib?

2006-05-11 Thread Bernd, Juergen
Transparant fonts aren't supported in the commercial JPedal version either. :( And the statement that AcrobatReader is crap is maybe a bit harsh, but it doesn't make sense to use a Runtime.exec command in order to print a PDF from java. :) For older versions the JavaAcrobatReader from Adobe would b

Re: [iText-questions] OpenSource printing lib?

2006-05-11 Thread Leonard Rosenthol
At 04:45 AM 5/11/2006, Bernd, Juergen wrote: I use the PDFStamper in a servlet to insert a watermark (transparent text) the requested PDF. OK. Then the client prints this PDF with the OpenSource JPedal lib. Why the open source version instead of the more comprehensive comm

[iText-questions] Re: Verdana

2006-05-11 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Good morning, my name is Ferruccio Zappi and I'm a software developer. I'm using the "ITextSharp" library and I would like to know how to use the font "Verdana" for my documentation. I need some code samples in c# or VB .net. Do you have a font file for Verdana? For

Re: [iText-questions] How to by

2006-05-11 Thread bruno
Dawidiuk,Mieczyslaw,Warszawa,IT wrote: Hello, Could you please advise what we need to use the iText library legally? The legal aspects are described in the MPL. What kind of license is required for a commercial company? Many commercial companies use iText in their software: open source as

[iText-questions] How to by

2006-05-11 Thread Dawidiuk,Mieczyslaw,Warszawa,IT
Title: How to by Hello, Could you please advise what we need to use the iText library legally? What kind of license is required for a commercial company? How we can purchase it? Best Regards,

Re: [iText-questions] Re: itext problems

2006-05-11 Thread bruno
gabriele d'ascoli wrote: Thanks again, but I have a PDF with an AcroForm. No fields are filled in initially how do you created this PDF with AcroForm? Acrobat 7 can create AcroForms; make sure Adobe LiveCycle doesn't start, just add annotations (text field, button,... annotations). Do

[iText-questions] Re: itext problems

2006-05-11 Thread gabriele d'ascoli
Thanks again, but I have a PDF with an AcroForm. No fields are filled in initially how do you created this PDF with AcroForm? Do you use a designer or a library to create it? which toll shall I use to create an itext compatible PDF? (I think the problem is that I use Acrobat Designer to creat

Re: [iText-questions] Re: AW: Sub page numbering

2006-05-11 Thread bruno
Nigel Kibble wrote: I've been doing some further investigation into the use of templates. Although as you rightly state I can use multiple templates, this doesn't seem to resolve my problem because a template seems to exist for the whole document. I was hoping to have a template per invoice

[iText-questions] Re: itext problems

2006-05-11 Thread bruno
gabriele d'ascoli wrote: Thanks a lot Bruno for your support but how can I send new pdf field values to server without XFA forms? The only way, I think, is to save to file system the pdf modified by user and then upload it again. Am i wrong? I don't understand the question, so I don't know i

[iText-questions] OpenSource printing lib?

2006-05-11 Thread Bernd, Juergen
Hi, I know that IText doesn't have a printing functionality, but maybe someone here has an idea. I use the PDFStamper in a servlet to insert a watermark (transparent text) the requested PDF. Then the client prints this PDF with the OpenSource JPedal lib. The problem is, that JPedal doesn't suppor

[iText-questions] Re: Problems with button-text

2006-05-11 Thread Beate Niendorf
Hi, > <>There is a class RadioCheckField: > RadioCheckField check = new RadioCheckField(writer, rect, name, "On"); > check.setCheckType(RadioCheckField.TYPE_CROSS); > writer.addAnnotation(check.getCheckField()); > But it only has a limited number of default appearances. Thanks for this solutio

[iText-questions] Re: AW: Sub page numbering

2006-05-11 Thread Nigel Kibble
Paulo Soares consiste.pt> writes: > > You can use any number of templates. > > Paulo > > > > Von: itext-questions-admin lists.sourceforge.net im Auftrag von Nigel Kibble > Gesendet: Mi 10-Mai-06 14:08 > An: itext-questions lists.sourceforge.net > Betreff: [

Re: AW: [iText-questions] Re: Problems with button-text

2006-05-11 Thread bruno
Beate Niendorf wrote: Now I bounced in another little problem: I studied the example for creating a checkbox: http://itextdocs.lowagie.com/examples/com/lowagie/examples/forms/FormCheckbo x.java Is there a more simple way to create a default checkbox? <>There is a class RadioCheckField: Radio

Re: [iText-questions] urgent::::How to overlay on existing PDF?

2006-05-11 Thread bruno
About the file sizes: it could be that iText compresses your original PDF or removes unnecessary parts during the copy process. murthy gandikota wrote: Hi Bruno I am not looking to overlay one pdf on another. I want to fill up a form that has no fields. Then it's mandatory that you know the

Re: [iText-questions] com.lowagie.text.Image Rotation and Extraction

2006-05-11 Thread bruno
Anthony Presley wrote: I am using a combination of PDFBox and iText to extract images from a PDF. Specifically, I am extracting an image from off of a page of an existing PDF, and then shoving the data into a byte array to use in a reporting engine [Jasper Reports] (which generates its own PDF)

Re: [iText-questions] Writing a Paragraph to the edge of document...

2006-05-11 Thread bruno
Henry wrote: I was wondering if it is possible and how to do it? What do you mean if you say 'writing a Paragraph to the edge of the document'? If it's a complex way of saying: 'can I right align a paragraph', then have a look at this page: http://itextdocs.lowagie.com/tutorial/objects/#par

[iText-questions] Re: Barcode Recognition

2006-05-11 Thread Carsten Hammer
Hi, I once used http://sourceforge.net/project/showfiles.php?group_id=121890&package_id=133324 to read barcode 128 barcodes generated with itext. It worked after applying this patch: http://sourceforge.net/tracker/index.php?func=detail&aid=1070847&group_id=121890&atid=691720 Might be that cvs

[iText-questions] Writing a Paragraph to the edge of document...

2006-05-11 Thread Henry
I was wondering if it is possible and how to do it? I am only able to do it with tables tabs ex: p.add(new Chunk("\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRelationship")); document.add(p); with the escape tab i can push the text to the edge and even over too, but when i just add a regular paragraph i