Re: [iText-questions] Converting blacK to CMY

2007-11-19 Thread Erik Ahlner
No, not exactly. The "rich black" must be visible at the same time as the real black. The device is like a pen "scanner", and it would be of no use if the layout was not there. It registers the movement of the pen, knowing its exact location by reading the (real) black dotted pattern behind the

Re: [iText-questions] Converting blacK to CMY

2007-11-19 Thread Leonard Rosenthol
It sounds like you are trying to use "black" as a special color for something like separate plate generation for variable data (like multiple language variants). True? If so, why not use native PDF solutions such as Optional Content? Leonard On Nov 19, 2007, at 5:32 PM, Erik Ahlner wrote:

Re: [iText-questions] iText:PdfReader page count issue with adobe reader 8.x?

2007-11-19 Thread Leonard Rosenthol
Is it possible that this document is a PDF form created by Adobe Designer? Leonard On Nov 19, 2007, at 3:51 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > Hello, > > PdfReader reader = new PdfReader(pdfFile); > int pageCount = reader.getNumberOfPages(); > > getNumberOfPages() in above

Re: [iText-questions] iText:PdfReader page count issue with adobe reader 8.x?

2007-11-19 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > Hello, > > PdfReader reader = new PdfReader(pdfFile); > int pageCount = reader.getNumberOfPages(); > > getNumberOfPages() in above line of code returns > the correct number of pages most of the times, when the document in q

[iText-questions] Commercial License Query

2007-11-19 Thread Liam Robertson
Bruno, My developers have been impressed with your iText product. In order to sidestep potential IP legal entanglements I was wondering if it is possible to purchase a developer license that will allow us to use it as part of a larger commercial software system? We specifically would like to avoi

[iText-questions] iText:PdfReader page count issue with adobe reader 8.x?

2007-11-19 Thread h.abay
Hello, PdfReader reader = new PdfReader(pdfFile); int pageCount = reader.getNumberOfPages(); getNumberOfPages() in above line of code returns the correct number of pages most of the times, when the document in question (pdfFile) is a reader 7 PDF document, But it throws the exception below for r

[iText-questions] getting crisp image inside header

2007-11-19 Thread Elias
I have a servlet application that I am generating letters from using itext. Now I need to put an image inside a header and having problem getting the image to show as crisp as if it was in a microsoft word header. For now I just used the document.add(image) approach, where image = Image.getInstanc

[iText-questions] IText question

2007-11-19 Thread Brett . Sutherland
Hello, I am wondering if IText can convert a Postscript file to a PDF file. I will be using Java to do this, if possible. Any feedback would be appreciated. Thanks - Brett * This communication, including attachments, is

Re: [iText-questions] pkcs1 to pkcs7 external signatures ?

2007-11-19 Thread pchronos
Sorry, my mistake. RSAdata is ok and present in the PKCS7 signature. Original question still stands: Why Adobe does not verify ? Anyone ? pchronos wrote: > > UPDATE: > > I noticed that RSAdata is not being set ( and therefore NOT output as part > of the PKCS7 signature ) if the PDFPKCS7 o

Re: [iText-questions] PDFStamper doubles filesize

2007-11-19 Thread dark
Indeed, I have encountered the same problem with iTextSharp for a long times. The PDFStamper of iTextSharp generates almost double sized PDF from original PDF file at my program, too. I have used several versions of iTextSharp including latest version but this problem always occurred. The code

Re: [iText-questions] Converting blacK to CMY

2007-11-19 Thread Erik Ahlner
Hi again, and thanks for your reply. We're using a device that only detects real black. In order to avoid it from being disturbed by other information than what it really should care about, we need to separate the "layout black" (thanks for the name Rich Black, hadn't heard that before) from th

Re: [iText-questions] pkcs1 to pkcs7 external signatures ?

2007-11-19 Thread pchronos
UPDATE: I noticed that RSAdata is not being set ( and therefore NOT output as part of the PKCS7 signature ) if the PDFPKCS7 object is created in this way. In addition the SUBFILTER is set as ADBE_PKCS7_SHA1 when using WINCER_SIGNED. Without the Hash included the PKCS7 signature is essentially a d

Re: [iText-questions] Converting blacK to CMY

2007-11-19 Thread Leonard Rosenthol
A better question is WHY do you want to do this? Most printer use a variety of tools to AVOID this problem (called "Rich Black"), where inks other than Black are used to render Black content (esp. text). Leonard On Nov 19, 2007, at 10:49 AM, Erik Ahlner wrote: > Hi everyone! > > I'm quite n

Re: [iText-questions] Creation of PDF/A PDF's

2007-11-19 Thread Leonard Rosenthol
It means that the output PDFs aren't compatible with PDF/A. Leonard On Nov 19, 2007, at 10:02 AM, Paulo Soares wrote: > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Foris Zoltan >> Sent: Monday, November 19, 2007 11:52 AM >> To: itext-qu

Re: [iText-questions] How optimize PDF file for pdf2ps conversion

2007-11-19 Thread Leonard Rosenthol
That's also a VERY old version of pdftops. You seem to be stuck on old verions for some reason. the current version is 3.03, IIRC. Leonard On Nov 19, 2007, at 8:21 AM, Philippe Couas wrote: Hi, %!PS-Adobe-3.0 %%Creator: xpdf/pdftops 2.02 %%LanguageLevel: 2 De : [EMAIL PROTECTED] [mailto:

Re: [iText-questions] Creation of PDF/A PDF's

2007-11-19 Thread Leonard Rosenthol
The way to solve transparency for content stream elements is to flatten it (a VERY complex process of rewriting shapes). You can probably get way with changing transparency in annotations/fields to just 1 (or removing the key all together), if you must. You replace them by embedding the new

Re: [iText-questions] How to split a large table (too many columns and too many rows) onto many pages

2007-11-19 Thread Paulo Soares
- Original Message - From: "Peter Hild" <[EMAIL PROTECTED]> To: Sent: Monday, November 19, 2007 5:42 PM Subject: Re: [iText-questions] How to split a large table (too many columns and too many rows) onto many pages > > Thanks Paulo, > > I think, I got it now. Below comes a modified ve

Re: [iText-questions] "Validity unknown" when signing pdf-documents!

2007-11-19 Thread Paulo Soares
Probably an expired certificate. The error is written in the dialog box. Paulo - Original Message - From: "Fionn Ziegler" <[EMAIL PROTECTED]> To: Sent: Monday, November 19, 2007 2:44 PM Subject: [iText-questions] "Validity unknown" when signing pdf-documents! > > Hello, > i sign my do

Re: [iText-questions] PDFStamper doubles filesize

2007-11-19 Thread jamesblast
Hello Bruno, thank you for your reply. I updated the code in the meantime. I posted it already. Please find the updated code and the updated samplefiles. Thank you very much! Bruno Lowagie (iText) wrote: > > Paulo Soares wrote: >> The PDF you posted was not created with this code. If you use

Re: [iText-questions] How to split a large table (too many columns and too many rows) onto many pages

2007-11-19 Thread Peter Hild
Thanks Paulo, I think, I got it now. Below comes a modified version of your sample class that prints column headers and row headers and splits the overall table in subtables on several pages. I got two questions left: - How can I get the hight of a cell? - Is there a more simple way to cope with

Re: [iText-questions] PDFStamper doubles filesize

2007-11-19 Thread jamesblast
Hello Paulo, I updated the code due to your reccomendations in the previous posts. here is the whole function. Please find two pdfs attached. The small is without itext (54KB), the second is based on the small and touched by itext (105KB): http://www.nabble.com/file/p13838047/F593_2033.PDF F593_2

[iText-questions] "Validity unknown" when signing pdf-documents!

2007-11-19 Thread Fionn Ziegler
Hello, i sign my document and add my valid certificate using itext. But when i open my signed document in Adobe Reader it shows the following errors: http://www.nabble.com/file/p13837515/screen.gif I would be happy about any tips or ideas!? Thanks Fionn Ziegler - P-( -- View this messag

[iText-questions] Converting blacK to CMY

2007-11-19 Thread Erik Ahlner
Hi everyone! I'm quite new to iText, but the small tests I've done show good results. I've encountered another possible use of iText, but i don't know if it's doable. What I'd like to do is process a PDF, and convert all colors in it that consist of black to it's equivalent of a CMY mix. So, i

Re: [iText-questions] Creation of PDF/A PDF's

2007-11-19 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Foris Zoltan > Sent: Monday, November 19, 2007 11:52 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Creation of PDF/A PDF's > > > The CIDSet is not created for s

Re: [iText-questions] PDFStamper doubles filesize

2007-11-19 Thread Bruno Lowagie
Paulo Soares wrote: > The PDF you posted was not created with this code. If you use this code > and the Helvetica font it will not grow that much. I second that. I also found it hard to believe that you could stamp a PDF in append mode using: PdfStamper stamp = new PdfStamper(reader, fs); instead

Re: [iText-questions] PDFStamper doubles filesize

2007-11-19 Thread Paulo Soares
The PDF you posted was not created with this code. If you use this code and the Helvetica font it will not grow that much. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of jamesblast > Sent: Monday, November 19, 2007 1:42 PM > To: itext-qu

Re: [iText-questions] How to split a large table (too many columns and too many rows) onto many pages

2007-11-19 Thread Paulo Soares
PdfPTable.writeSelectedRows() will write the rows and columns you require. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Peter Hild > Sent: Monday, November 19, 2007 1:21 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-

[iText-questions] style.RtfFont family defaults to roman

2007-11-19 Thread Howard Shank
The following font families are defined usable by the RTF Spec. \fnil | \froman | \fswiss | \fmodern | \fscript | \fdecor | \ftech | \fbidi The RtfFont class defaults to "\froman" for all fonts. Changing the font family to an undefined font changes the font name to the undefined family name. Fo

Re: [iText-questions] PDFStamper doubles filesize

2007-11-19 Thread jamesblast
Hallo Paulo, thank you for your reply. Here is my code like in the initial post: PdfReader reader = new PdfReader(fileName); reader.RemoveUnusedObjects(); using (FileStream fs = new FileStream(fileName + "1", FileMode.Create)) { PdfStamper stamp = new PdfStamper(reader, fs); int n

[iText-questions] How to split a large table (too many columns and too many rows) onto many pages

2007-11-19 Thread Peter Hild
I have a very large table which I want to split onto many pages. The base table looks something like this: TableData: R1 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn R2 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn R3 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn R4 | C1 | C2 | C3 |

Re: [iText-questions] How optimize PDF file for pdf2ps conversion

2007-11-19 Thread Philippe Couas
Hi, %!PS-Adobe-3.0 %%Creator: xpdf/pdftops 2.02 %%LanguageLevel: 2 _ De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Loureiro, Gil Envoyé : lundi 19 novembre 2007 12:52 À : Post all your questions about iText here Objet : Re: [iText-questions

Re: [iText-questions] Creation of PDF/A PDF's

2007-11-19 Thread Foris Zoltan
Do you have other idea to solve the CA / transparency problem ? Can you please post here some ideas how can I replace the std. 14 type 1 fonts with true type fonts ? Leonard Rosenthol wrote: > > On Nov 12, 2007, at 1:06 AM, Foris Zoltan wrote: >> I would like to solve the PDF to PDF/A conversio

Re: [iText-questions] Creation of PDF/A PDF's

2007-11-19 Thread Foris Zoltan
The CIDSet is not created for subset fonts. -- View this message in context: http://www.nabble.com/Creation-of-PDF-A-PDF%27s-tf4465576.html#a13834430 Sent from the iText - General mailing list archive at Nabble.com. - This

Re: [iText-questions] How optimize PDF file for pdf2ps conversion

2007-11-19 Thread Loureiro, Gil
Hi, Which version of postscript accepts your Kyocera? I'm trying to use pdftops to drive a Xerox dp180 with docuprint, but I get a strange postscript error on the definefont command... Thanks GLoureiro From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [iText-questions] TextField in Table

2007-11-19 Thread Bruno Lowagie
tushar joshi wrote: > Can you please provide me solution to work around this problem urgently. There are some examples in the book: http://itext.ugent.be:8080/itext-in-action/learning_agreement.pdf It is done using cell events. > I have to prepare PDF form of Interactive form > of Questionnaire

[iText-questions] TextField in Table

2007-11-19 Thread tushar joshi
Hello All, I am evaluating I-text. I have to prepare PDF form of Interactive form of Questionnaire that contains Tables with columns of text boxes dynamically. But I am not able to add Text Field in cell of table. I have written code like this : PdfPTable table=new PdfPTable(2); //2 columns

Re: [iText-questions] update pdf header generated by ActivePdf using PdfStamper failed

2007-11-19 Thread Paulo Soares
Works correctly with the latest iText. Paulo - Original Message - From: "tonylu880042" <[EMAIL PROTECTED]> To: Sent: Sunday, November 18, 2007 10:16 PM Subject: [iText-questions] update pdf header generated by ActivePdf using PdfStamper failed > > Hi there, > I encounter a strange pr

Re: [iText-questions] PDFStamper doubles filesize

2007-11-19 Thread Paulo Soares
You are using append mode (why?) and creating a template that is not used. Please show us your code. Paulo - Original Message - From: "jamesblast" <[EMAIL PROTECTED]> To: Sent: Monday, November 19, 2007 7:34 AM Subject: Re: [iText-questions] PDFStamper doubles filesize > > Hello Brun

Re: [iText-questions] How optimize PDF file for pdf2ps conversion

2007-11-19 Thread Philippe Couas
Thank you PS output file is divided by 10. We have page in 20 secondes on our Kyocera Regards Philippe _ De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Leonard Rosenthol Envoyé : vendredi 16 novembre 2007 19:13 À : Post all your questions about iText here Objet : Re: [