[iText-questions] PDF and timeStamping

2009-12-02 Thread abeliko
Sorry about post it again, but the replys i found, doesnt match with my question. Im doing a java application to sign pdf. The signing process its not a problem, but now, we want to add time stamping to our application. We access to the web browser key store to get the user certificate. we get

Re: [iText-questions] Problem Renaming Fields with iText and ColdFusion 9

2009-12-02 Thread transact
I got this to work... I just had to wrap my arguments in lcase methods to keep the text lowercase. After that, it all started working fine. Thanks again for your input. transact wrote: > > Thanks for the response Leigh! Can you provide a code snippet that works > for you? > > I am certain

Re: [iText-questions] Problem Renaming Fields with iText and ColdFusion 9

2009-12-02 Thread transact
Thanks for the response Leigh! Can you provide a code snippet that works for you? I am certain that the new field names I'm using do not already exist in the forms. Most of the forms are only one page and only contain about 10 fields. I'm going to try a few more things including reading the fi

Re: [iText-questions] Problem Renaming Fields with iText and ColdFusion 9

2009-12-02 Thread Leigh
> The fact that the field name contains text is causing the > renameField method to return false. I have had no problems doing this with CF9. So I am relatively certain that is not the problem. Perhaps the new field name you are trying to use already exists in your form, and that is why it is n

Re: [iText-questions] Signing from hash, not rangestream.

2009-12-02 Thread Javadoc
Thanks mkl and andreas. The example code helps me a bit. Basically, I use the rangestream to calculate my own hash. Instead of the standard itext example of using the Java Signature to do both create the hash and sign the hash, I want to create the hash on my own and find a different way to sign t

[iText-questions] Problem Renaming Fields with iText and ColdFusion 9

2009-12-02 Thread transact
I am working on a tool that will allow users to rename form fields by pulling the current form fields out of the PDF and then displaying an HTML form containing the old name and a text input for the new name. When the form is submitted, I loop through the form fields and rename each form field th

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-02 Thread Paulo Soares
Too few dpi in the image created, perhaps? Paulo - Original Message - From: To: "Post all your questions about iText here" Sent: Wednesday, December 02, 2009 9:26 PM Subject: Re: [iText-questions] Cannot Read PDF417 using CAPTIVA I am currently generating the image and e-mailing to

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-02 Thread Ewan . Auguste
I am currently generating the image and e-mailing to the Imaging group. They do a print to image from the pdf, and then try to scan and read. It has worked with the following modified sample from your site. package itext.barcode; import. java.io.FileOutputStream; import java.io.IOException; imp

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-02 Thread Paulo Soares
I suspect that the problem is the lack of resolution of the image you are feeding to CAPTIVA. What exactly is your process? Paulo - Original Message - From: To: "Post all your questions about iText here" Sent: Wednesday, December 02, 2009 9:08 PM Subject: Re: [iText-questions] Cannot

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-02 Thread Ewan . Auguste
That is the sample I have been using, we are currently running some tests. Besides pixel ratio is there any other settings I can adjust to help improve the read rate? Thanks Ewan Auguste

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-02 Thread Paulo Soares
You have an example at http://1t3xt.info/examples/browse/?page=example&id=268 that will work. It may be used to calibrate the CAPTIVA. Paulo - Original Message - From: To: "Post all your questions about iText here" Sent: Wednesday, December 02, 2009 7:53 PM Subject: Re: [iText-quest

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-02 Thread Ewan . Auguste
Thanks again for your assistance. I changed the ratio to 45 and that did the trick. It did make the barcode pretty big but I will keep experimenting until we get something that is more user friendly. Thank you for the quick responses and the assistance, much appreciated. Ewan Auguste

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-02 Thread Paulo Soares
Post the pdf with the code and I'll try to read it. Better yet, post the code to create the pdf. The iText PDF417 implementation is well tested and used in production in my company, so it should work. Paulo - Original Message - From: To: "Post all your questions about iText here" Se

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread webpointz
Thanks...yes, i understand to write as an onFocus event...was just wondering HOW I code this when I already have code doing a Mouse Up? How do you write an OnFocus event in iText? Leonard Rosenthol-3 wrote: > > Add it as an OnFocus event. I don't see the problem... > > Leonard > > -Ori

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-02 Thread Ewan . Auguste
Thank you for the quick response. We only have a document scanner, so the option to use a handheld is out of the question. Changed the pixel ratio using the following code but Barcode (pdf417.setYHeight(3);) was still unreadable. Do you have any other suggestions or am I trying to do something whi

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread Leonard Rosenthol
Add it as an OnFocus event. I don't see the problem... Leonard -Original Message- From: webpointz [mailto:mbeveri...@webpointz.com] Sent: Wednesday, December 02, 2009 12:04 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] How can I change contents of a text fi

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread Leonard Rosenthol
Correction: Signing a document does NOT encrypt the contents! (it does encrypt a very small thing, called a "hash", which is what is compared for changes) Leonard -Original Message- From: Brian Chappell [mailto:br...@orcamediauk.co.uk] Sent: Wednesday, December 02, 2009 11:45 AM To: '

Re: [iText-questions] Type 3 Font problems with Adobe Reader Version 9

2009-12-02 Thread Leonard Rosenthol
Without seeing an actual file - it's impossible to even guess! -Original Message- From: Jerold Sampson [mailto:tallp...@tallpine.com] Sent: Wednesday, December 02, 2009 12:17 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Type 3 Font problems with Adobe Reader Ver

[iText-questions] Type 3 Font problems with Adobe Reader Version 9

2009-12-02 Thread Jerold Sampson
I have been successfully using the Type 3 Font support in iText. However, I have discovered that Adobe reader 9 does not display the created PDF correctly. Reader version 7 and 8 display the file correctly There are no errors reported by the Reader. The characters are simply displayed incorrec

Re: [iText-questions] AcroForm with empty Fields array

2009-12-02 Thread Mark Storer
Actually, I do things that would qualify All The Time: Icon-only pushbuttons that are always read-only. I find annotations to be easier to reposition/duplicate than content. --Mark Storer Senior Software Engineer Cardiff.com #include typedef std::Disclaimer DisCard; > -Origin

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread webpointz
Thanks...I completely understand that. It works if in Acrobat Pro I add a OnFocus to the signature field with the javascript there...BUT how would I incorporate this code into the iText code? Thanks Brian Chappell wrote: > > While I'm not able to offer a solution here I can talk about the p

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread Brian Chappell
While I'm not able to offer a solution here I can talk about the principle which may help crystallise your dilemma. When a document is digitally signed, the entire document is encrypted and the result of that encryption is stored with the document. This allows someone with the appropriate key to v

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread Leonard Rosenthol
I suggest you read the Acrobat Javascript documentation concerning events and signing. There is a specific set of methods for where the JS is inserted and how for do what you wish. Leonard -Original Message- From: webpointz [mailto:mbeveri...@webpointz.com] Sent: Wednesday, December 0

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread webpointz
Hi...basically, the text needs to change ONLY if the signature is applied. So I need to change the text THEN have the signature applied and if the user cancels the action it reverts back to its original text. As it stands now it appears as though the text is changing AFTER the signature is droppe

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread Leonard Rosenthol
Change value then sign. -Original Message- From: webpointz [mailto:mbeveri...@webpointz.com] Sent: Wednesday, December 02, 2009 10:25 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] How can I change contents of a text field at signing? I have a PDF that has say a

[iText-questions] How can I change contents of a text field at signing?

2009-12-02 Thread webpointz
I have a PDF that has say a text field called "message" and a digital signature field called "sign". When a user opens the PDF, the "message" field says "welcome" BUT I want the text to change to "thank you" once the document is signed. My problem is that if I try to dynamically change the text

Re: [iText-questions] PDF-Signing

2009-12-02 Thread Ralf Schmitz
Hi, on my local pc i trust the adobe cert.. i can find the certi. in my windows certi. store. i think my adobe reader find the cert. and vaild it. i think the right way is to include all certi. into the pdf, but how? Original-Nachricht > Datum: Tue, 1 Dec 2009 07:54:50

Re: [iText-questions] Reuse the same file multiple time...

2009-12-02 Thread Xavier Sudan
All is working now :-) Thanks ! Date: Wed, 02 Dec 2009 09:29:41 +0100 From: 1T3XT info Subject: Re: [iText-questions] Reuse the same file multiple time... To: Post all your questions about iText here Message-ID: <4b162575.5010...@1t3xt.info> Content-Type: text/plain; charset=ISO-8859-1;

Re: [iText-questions] CROPBOX help

2009-12-02 Thread Adam Underwood
Thanks for your reply and solution, that's perfect. Kind regards Adam -Original Message- From: Brian Chappell [mailto:br...@orcamediauk.co.uk] Sent: 02 December 2009 08:29 To: 'Post all your questions about iText here' Subject: Re: [iText-questions] CROPBOX help Hi Adam, PdfReader.GetP

Re: [iText-questions] Reuse the same file multiple time...

2009-12-02 Thread 1T3XT info
Xavier Sudan wrote: > Hello, > > I am unable to split a PDF (with IText) and after getting the content > (with IText)... Throw away your code and split your PDF with PdfReader.selectPages() and PdfStamper! -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

Re: [iText-questions] CROPBOX help

2009-12-02 Thread Brian Chappell
Hi Adam, PdfReader.GetPageN() does exist in iTextSharp but isn't a static function, you need to call it from an instance of the PdfReader object, i.e.: PdfReader reader = new PdfReader("myDoc.PDF"); reader.GetPageN(1).Put(PdfName.CROPBOX, new PdfRectangle(...)); Cheers, Brian Brian Chappell

Re: [iText-questions] Reuse the same file multiple time...

2009-12-02 Thread Xavier Sudan
Hello, I am unable to splitt a PDF (with IText) and after getting the content (with IText)... Any ideas ? Thanks *To use this application, just place a PDF named "PDF_A.pdf" at the base of the project.*