Menu

#34 Signature Text Customization

closed-works-for-me
Other (11)
5
2013-01-18
2013-01-18
No

Is it possibile to customize Signature Text? The default is too much long i would like to display just date (without hour) and name in certificate.

Regards

Discussion

  • Josef Cacek

    Josef Cacek - 2013-01-18

    There is a "Signature text" field in the Visible signature settings - use it to put your own text into the signature. (Uncheck the "Default" checkbox first).
    If you use command line version then this argument does it:
    --l2-text "<your text>"

     
  • Josef Cacek

    Josef Cacek - 2013-01-18
    • status: open --> closed-works-for-me
     
  • Josef Cacek

    Josef Cacek - 2013-01-18

    Roberto replies:
    Sorry to disturb you, but you don't understand what i mean,
    i know i can put free text. I would like to know if is
    possibile use embedded fields.
    For example i want to see write: signed 17-01-12 by <name in
    certificate>.
    I just noticed that is possible put static content.

     
  • Josef Cacek

    Josef Cacek - 2013-01-18

    Roberto, you're right. Only the static content is possible. But if you use the command line, the static content may also mean a very variable text. :) (E.g. use a system tool A to retrieve the current date, use a system tool B to retrieve a name from the certificate, then put it together into the --l2-text argument).
    Or reimplement SignerLogic class so it fits your needs.
    https://github.com/kwart/jsignpdf/blob/master/src/net/sf/jsignpdf/SignerLogic.java

     
MongoDB Logo MongoDB