[iText-questions] How can add a bookmark in an existed PDF file?

2008-11-13 Thread Eric Chow
Hello, How can I add a bookmark in an existed PDF file? Is there any simple example? I want to merge two PDF files into one and during the merging, adding a bookmark for the files. For example, there are two PDF: test1.pdf (13 pages), test2.pdf (25 pages) They will be combined as test.pdf An

[iText-questions] Relace string in PDF ???

2009-05-12 Thread Eric Chow
Hello, Is it possible to replace a String in a PDF? For example, I want to replace a specific STRING in a PDF with a form field, is it possible? If it can, would you please to teach me how to do this? Best regards, Eric

Re: [iText-questions] Relace string in PDF ???

2009-05-12 Thread Eric Chow
d you please to suggest me a better solution to implement this ??? Best regards, Eric On Tue, May 12, 2009 at 6:05 PM, Alexis Pigeon wrote: > Hi Eric, > > 2009/5/12 Eric Chow > > Hello, >> >> Is it possible to replace a String in a PDF? > > For example, I want

Re: [iText-questions] iText cannot find my signature field!!

2009-05-14 Thread Eric Chow
Thanks for your information. Since I have no idea in the EPS, would you please to teach me how can I modify the sign.eps that I attached in the question email? Best regards, Eric On Fri, May 15, 2009 at 1:18 PM, 1T3XT info wrote: > Eric Chow wrote: > > Hello, > > > >

[iText-questions] Convert TIFF to PDF with correct page size

2008-01-02 Thread Eric Chow
Hello, How can I convert a multi-pages TIFF into PDF with correct page size that in TIFF? For example, if the TIFF contains different page size (A4, A3, landscape and portrait), how can I convert them into PDF with matched page size? Would you please to show me a simple example? Best regards, E

[iText-questions] Generate barcode label

2008-01-07 Thread Eric Chow
Hello, How can I generate a barcode label page in iText? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___

[iText-questions] Label printing

2008-01-07 Thread Eric Chow
How to generate Barcode label with iText? For example ++ | short_description color | | ..code128 here., | |barcode value here | +

[iText-questions] How to set the document intial view "Navigation Tab" to "Pages Panel and Pages" ?

2008-01-08 Thread Eric Chow
Hello, How can I set the document initial view for Navigation Tab to"Pages Panel and Pages" ? Which method I can use to do this? Best regards, Eric - Check out the new SourceForge.net Marketplace. It's the best place to buy

[iText-questions] Silent print PDF in browser problem

2005-12-16 Thread Eric Chow
Hello, The PDF silent print example in browser is very good but has a problem. The PDF will print to the default printer. If I change the default printer to another printer, it cannot print to the enw default printer after the first time printing. As I found that the Acrobat will load the instan

[iText-questions] PDF signature example

2006-08-15 Thread Eric Chow
Hello, Is there any simple PDF digital signature for reference? Sign(Multi-sign) a PDF and verify a PDF using iText? Is it possible to add a signature stamp in a PDF ? Best regards, Eric - Using Tomcat but need to do more?

[iText-questions] add a image at right bottom in the last page

2006-08-23 Thread Eric Chow
Hello, How can I add a image at right bottom in the last page ? In fact, I want to sign a PDF with a certificate and show a GIF( handwriting signature) into the right botom of the last page. How can do this? Any example ? Best regards, Eric ---

[iText-questions] Visible signature with image ?

2006-08-23 Thread Eric Chow
Hello, I can add a visible signature with image. But it also shows the signature text information(name, timestamp, etc). How can I only show the image ? - Using Tomcat but need to do more? Need to support web services, securi

[iText-questions] Signature with my own timestamp ?

2006-08-23 Thread Eric Chow
Hello, Is it possible to use my own defined timestamp rather than use the system timestamp when create a signature in PDF? Any sample code to do this ? Best regards, Eric - Using Tomcat but need to do more? Need to support

[iText-questions] Signature with Image alignment problem.

2006-10-04 Thread Eric Chow
Hello, I tried to add an image with the signature. Everything is fine but how can I set the alignment of the Image? I want to locate the image at the left hand side of the signature info. How can do it ? I tried the following statements, but no effect. Image img = Image.getInstance("doc/sign.j

[iText-questions] Verify digital signature

2006-11-06 Thread Eric Chow
Hello, How can verify the signature in iText? - does the document modify? - does the certificate valid ? For the modification, I can get some examples for reference but for the certificate validation, it always FAILED. The following is my code: PdfReader reader = new PdfReader(signedPDF);

Re: [iText-questions] Verify digital signature

2006-11-07 Thread Eric Chow
as an example. > > Paulo > > ----- Original Message - > From: "Eric Chow" <[EMAIL PROTECTED]> > To: > Sent: Monday, November 06, 2006 9:18 AM > Subject: [iText-questions] Verify digital signature > > > > Hello, > > > > How can verify

[iText-questions] Need itext expert help: Add a table into an existing PDF

2009-09-07 Thread Eric Chow
Hello, How can I add a table into an existing PDF file? I need to dynamic add some text or table into an existing PDF, not add a new page but some dynamic contents into some pages of a existing PDF file. Any expert can give me a hand? Would you please to give me a simple example? Best regards,

[iText-questions] "External Signature with SmartCard" in Java example!

2009-09-22 Thread Eric Chow
Hello, Any Java iText experts that have a simple example to sign PDF with external signature approach? Please give me a hand and show me a simple example. Since I am new in iText, I can't totally understand the example of iTextSharp. It is better to show me a Java code, thank very much. Best re

Re: [iText-questions] "External Signature with SmartCard" in Java example!

2009-09-22 Thread Eric Chow
t com.lowagie.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:992) at com.lowagie.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:920) at Sign.main(Sign.java:96) Any suggestion? Best regards, Eric On Tue, Sep 22, 2009 at 5:45 PM, Eric Chow w

Re: [iText-questions] "External Signature with SmartCard" in Java example!

2009-09-22 Thread Eric Chow
unless you set it null. > > Paulo > > > -Original Message- > > From: Eric Chow [mailto:eric...@gmail.com] > > Sent: Tuesday, September 22, 2009 10:55 AM > > To: Post all your questions about iText here > > Subject: Re: [iText-questions] "

[iText-questions] Vertical barcode

2009-10-21 Thread Eric Chow
Hello, How can I add a vertical 128 barcode in PDF using iText Java? Best regards, Eric -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jum

[iText-questions] iText 5.0.1 not include all the font files in iTextAsian.jar

2010-02-10 Thread Eric Chow
Hello, I just migrate the iText version from iText-2.1.7.jar + iTextAsian.jar to iText-5.0.1.jar. When I tried to run my program that worked fine in iText-2.1.7.jar + iTextAsian.jar, it just failed. I tried to include the iTextAsian.jar in the classpath, but also failed. Finally, I tried to ext

[iText-questions] How to verify PDF digital signature with a LDAP server?

2010-04-06 Thread Eric Chow
Hello, In Acrobat Reader, when we define the "Directory Server", it can check the automatic verify the digital signature when opening the PDF. (must installed the root ca cert). How can I do this in iText? Would you please to give me a simple example? ---

[iText-questions] How to extract embedded file ?

2010-06-08 Thread Eric Chow
Hello, How can I extract all the embedded files in PDF using iText Java ? I just want to save all the embedded files to the file disk with the original file name. Please help and show me sample? Best regards, Eric -- T

[iText-questions] Add text into existing PDF ?

2011-01-12 Thread Eric Chow
Hello, How can I add a text with a specific location (x, y) into the last page of a existing PDF? Would you please to give me a simple example? Best regards, Eric -- Protect Your Site and Customers from Malware Attacks L

[iText-questions] How to set line spacing for a multi-line form field?

2011-05-02 Thread Eric Chow
Hello, Is it possible to set a specific line-height(line spacing) for a multi-line form field at run-time in iText Java? Best regards, Eric -- WhatsUp Gold - Download Free Network Management Software The most intuitive,

[iText-questions] Digital signature with smart card and hash?

2011-05-06 Thread Eric Chow
Hello, Is there any example to sign a PDF with a smart card and hash (external sign) in Java? Best regards, Eric -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effe

[iText-questions] iText 5 convert HTML table to PDF with fixed table header????

2011-05-26 Thread Eric Chow
Hello, Is it possible to convert HTML table to PDF with fixed table header? I mean the table header will be generated at the begin of each page if the table cross many pages. Would you please to teach me how to do that in iText5? Best regards, Eric -

[iText-questions] iText-5.3.0 digital signature problem?

2012-07-18 Thread Eric Chow
curity.DigestAlgorithms; > import com.itextpdf.text.pdf.security.MakeSignature; > import com.itextpdf.text.pdf.security.PrivateKeySignature; > > /** > * > */ > > /** > * @author Eric Chow (hkc) > * > */ > public class TestSign { > > public static void sign

Re: [iText-questions] [SPAM] Re: [SPAM] Re: iText-5.3.0 digital signature problem?

2012-07-19 Thread Eric Chow
Hello, Do you mean that I cannot not use SunPKCS11 with iText-5.3.0 now? If I need to do the digital signature with a smart card, how can I do? Would you please to show me a simple example? Best regards, Eric On Thu, Jul 19, 2012 at 3:53 PM, Andreas Kuehne wrote: > Hi Michael, > > yes, it

[iText-questions] PdfSignatureAppearance text problem?

2012-08-29 Thread Eric Chow
Hello, In the old version of iText (before iText-5.3.0), I can use the following code to adjust the text appearance in the signature. But after iText-5.3.1, How can I do this? PdfSignatureAppearance.fitText(new Font(1, 9F, 3, new Color(0, 0, 255)), > "_Signer", new Rectangle(0.0F, 0.0F, 10.0F, 1

[iText-questions] Signature Appearance?

2012-08-29 Thread Eric Chow
Hello, Is it possible to create my own signature appearance? So that I can use it as a template to place digital signature? Is there any example? Best regards, Eric -- Live Security Virtual Conference Exclusive live even

Re: [iText-questions] HTML To PDF

2012-10-26 Thread Eric Chow
Hello, I tried to use the example that in the XML Worker documents. If I set a specific font for the elements. It seems not recognize. Subject Testing Receiptá 天 The element contains some CJK characters. I tried to register font but also not worked. Please teach me what I missed t

Re: [iText-questions] Crop PDF page into PNG?

2013-04-30 Thread Eric Chow
Sorry, post to the wrong mailing-list. Anyway, would you please to teach me if it can be do in iText? On Tue, Apr 30, 2013 at 4:51 PM, 1T3XT BVBA wrote: > On 30/04/2013 10:41, Eric Chow wrote: > > How can I do this in PDFBox? > Maybe you should ask this on the PDFBox

[iText-questions] Get the absolution position of a form field in PDF?

2013-07-16 Thread Eric Chow
Hello, How can I get the llx (lowe-left X) and lly (lowe-left Y) coordinates of a form field? Is there any example that I can reference? Bets regards, Eric -- See everything from the browser to the database with AppDy

[iText-questions] XMLWorker : connvert HTML to PDF with template?

2013-08-27 Thread Eric Chow
Hello, >From the example, I can convert HTML to PDF using XMLWorker-5.4.3. My question is that, I have a existed PDF template a.pdf. How can I convert a html file to a.pdf? Would you please to teach me? Best regards, Eric --

[iText-questions] XMLWorker convert HTML to PDF problem?

2013-09-08 Thread Eric Chow
Hello, >From the example, I can convert HTML to PDF using XMLWorker-5.4.3. My question is that, I have a existed PDF template a.pdf. How can I convert a html file to a.pdf? Would you please to teach me? Best regards, Eric --

Re: [iText-questions] XMLWorker convert HTML to PDF problem?

2013-09-09 Thread Eric Chow
It is a company paper with some pre-printed information on it. How can I add the page as the background? Would you please to show me a simple example? Best regards, Eric On Mon, Sep 9, 2013 at 3:55 PM, iText Info wrote: > Op 9/09/2013 4:35, Eric Chow schreef: > > Hello, > &g

[iText-questions] LTV problem?

2013-12-12 Thread Eric Chow
Hello, I follow the example from iText examples to add LtvVerification to the code as following. But after the PDF signed, I open with Acrobat reader, it just shows LTV not enabled! Anything else I need to do? I am using iText-5.4.5. Please help. Best regards, Eric tsaClient = new TSAClientBo

[iText-questions] Looking for Digital Signature (Hash Sign + LTV-enabled) Java example in iText5.4.x?

2013-12-14 Thread Eric Chow
Hello, Any iText experts can show me a simple example in Java to do digital signature by using hash sign and LTV-enabled? Best regards, Eric -- Rapidly troubleshoot problems before they affect your business. Most IT org

Re: [iText-questions] LTV problem?

2013-12-15 Thread Eric Chow
the "OcspClient" and "CrlClientOnline" to the verification, what else I need to added? On Sun, Dec 15, 2013 at 6:27 PM, iText mailing list wrote: > On 12/13/2013 8:41 AM, Eric Chow wrote: > > But after the PDF signed, I open with Acrobat reader, it just shows &

Re: [iText-questions] [SPAM] Re: [SPAM] Re: LTV problem?

2013-12-16 Thread Eric Chow
w how to embedded the certificate path to the PDF? Best regards, Eric On Mon, Dec 16, 2013 at 4:41 PM, mkl wrote: > Eric Chow wrote > > Here is my signed PDF. Please teach me how to solve the LTV-enabled > > problem? > > > > SignedPDF.pdf (283K) > > < > ht

Re: [iText-questions] [SPAM] Re: LTV problem?

2013-12-17 Thread Eric Chow
n Wed, Dec 18, 2013 at 3:45 AM, mkl wrote: > Eric, > > Eric Chow wrote > > The certificate chain is available. > > In that case can you supply a PDF resulting from your code calling > addVerification? > > Regards, Michael > > > > -- > View thi

Re: [iText-questions] [SPAM] Re: LTV problem?

2013-12-18 Thread Eric Chow
: > Eric, > > Eric Chow wrote > > Do you mean the output PDF (signed PDF)? I attach it here. Please check! > > I tried to use iText-rups to show the document structure, but cannot see > > the DSS catalog. > > > > test_signed.pdf (295K) > > < > ht

Re: [iText-questions] [SPAM] Re: LTV problem?

2013-12-26 Thread Eric Chow
Dear Michael, Thanks for your help. Because of my dummy and leak of knowledge in LTV, would you please to show me a simple example to sign a PDF that LTV-enabled with option 2? Best regards, Eric On Fri, Dec 27, 2013 at 3:58 AM, mkl wrote: > Eric Chow wrote > > I used the followin

Re: [iText-questions] [SPAM] Re: LTV problem?

2013-12-27 Thread Eric Chow
2013 at 12:49 PM, Eric Chow wrote: > Dear Michael, > > Thanks for your help. > Because of my dummy and leak of knowledge in LTV, would you please to show > me a simple example to sign a PDF that LTV-enabled with option 2? > > Best regards, > Eric > > > > On

Re: [iText-questions] [SPAM] Re: LTV problem?

2013-12-27 Thread Eric Chow
certificate or their CRLs and OCSPs ? Anyway, how can I get those certificates from (C) ? Best regards, Eric On Sat, Dec 28, 2013 at 9:53 AM, Eric Chow wrote: > Hi Michael, > > The sample1.pdf is signed by the certificate that generated by keytool and > the sample2.pdf is sig

Re: [iText-questions] [SPAM] Re: LTV problem?

2013-12-29 Thread Eric Chow
Dear Michael, I got it. Many thanks for your help. I finally make the signature LTV-enabled. I just add the CRL of the issuer cert to the signature. It works. Thank you very much! Best regards, Eric On Sun, Dec 29, 2013 at 7:12 AM, mkl wrote: > Eric, > > Eric Chow wrote > >

[iText-questions] PdfContentByte.createGraphicsShapes(...) in iTextSharp???

2014-01-02 Thread Eric Chow
Hello, In iText Java, I can use the following code to get the Java Graphics system. Graphics2D g2 = PdfContentByte.createGraphicsShapes(width, height); How can I get the C# winform graphics system from iTextSharp? Best regards, Eric --

[iText-questions] Remove existing annotation!

2014-04-03 Thread Eric Chow
Hello, How can I remove a specific Annotation, let's say a Hyperlink annotation? I tried those examples in the web, but they seem not work! Please help! Best regards, Eric -- __

Re: [iText-questions] Remove existing annotation!

2014-04-03 Thread Eric Chow
Dear Paresh, Thanks for your teach. But after I added the codes as you listed, the annotation still here. How can I completely remove and make it disappeat in the PDF ? Would you please to show me some codes? Best regards, Eric On Thu, Apr 3, 2014 at 7:05 PM, Paresh Tahiliani wrote: > PdfDi

[iText-questions] Cannot show special character in acro form field!

2015-07-10 Thread Eric Chow
Hello, I tried to use the following code to set form field value with iText but it could not show the character ӧ. The test-form-fill.pdf is created by Adobe LifeCycle Form Designer. Please help! InputStream is = new FileInputStream("doc/test-form-fill.pdf"); OutputStream os = new FileOutputStre

[iText-questions] PdfSmartCopy cause signature corrupt

2015-10-13 Thread Eric Chow
Hello, I use PdfSmartCopy to merge two PDF files. One of the PDF file contains a Digital Signature. After I used PdfSmartCopy to merge them, there is not any signature filed in the side bar of Adobe reader. If I click on the signature field in the pdf page, it shows the signature data is corrupt

Re: [iText-questions] Cannot verify PDF after digital signed using iText by Acrobat reader can!

2016-07-20 Thread Eric Chow
It shows "certificate does not verify with supplied key" when using iText 5.5.7 to verify. But it shows no error when open in Acrobat Reader DC. Eric On Wed, Jul 20, 2016 at 3:16 PM, Eric Chow wrote: > Hello, > > I use iText to signed a PDF with PKCS#11. It shows VALID in t

[iText-questions] XmlWorker cannot show background image

2016-10-31 Thread Eric Chow
Hello, I am using itext-5.5.9 and XmlWorker-5.5.9 to render a HTML into PDF. One of my CSS as following: .test { background: url(doc/dot.gif) repeat-x bottom left; overflow: hidden; padding-bottom: 2px; } But it cannot show the dot.gif. Please teach me how I can do it? Best regards, Eric -