# Is there any way to programmatically print custom text(User Name) below the signature

**URL:** <https://pdfjs.community/t/is-there-any-way-to-programmatically-print-custom-text-user-name-below-the-signature/1810>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [June 27, 2022, 3:53am UTC](https://pdfjs.community/t/is-there-any-way-to-programmatically-print-custom-text-user-name-below-the-signature/1810 "2022-06-27T03:53:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakshan](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lakshan](https://pdfjs.community/u/lakshan)\
**Post date:** [June 27, 2022, 3:53am UTC](https://pdfjs.community/t/is-there-any-way-to-programmatically-print-custom-text-user-name-below-the-signature/1810/1 "2022-06-27T03:53:33Z")

</div>

I need to print the user name with the signature. Is there any way to do that?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [June 27, 2022, 8:57pm UTC](https://pdfjs.community/t/is-there-any-way-to-programmatically-print-custom-text-user-name-below-the-signature/1810/3 "2022-06-27T20:57:51Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Annotation permissions - Default behavior](https://pdfjs.express/documentation/annotation/annotation-permissions#default-behavior)
- [Customize display authors for annotations](https://pdfjs.express/documentation/annotation/display-authors)
- [Add signatures to PDFs](https://pdfjs.express/documentation/signature/signature-tool)

APIs:
- [UI - printInBackground( [options])](https://pdfjs.express/api/UI.html#.printInBackground__anchor)
- [UI.Fonts - getSignatureFonts()](https://pdfjs.express/api/UI.Fonts.html#.getSignatureFonts__anchor)
- [Core.AnnotationManager - getCurrentUser()](https://pdfjs.express/api/Core.AnnotationManager.html#getCurrentUser__anchor)

Forums:
- [Retrieve signature image that the user has drawn, typed or uploaded](https://pdfjs.community/t/retrieve-signature-image-that-the-user-has-drawn-typed-or-uploaded/1248/1)
- [Sometime function is not executing even after call with proper parameter](https://pdfjs.community/t/sometime-function-is-not-executing-even-after-call-with-proper-parameter/38/6)
- [How can i open password protected pdf file?](https://pdfjs.community/t/how-can-i-open-password-protected-pdf-file/396/1)

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [June 28, 2022, 5:34pm UTC](https://pdfjs.community/t/is-there-any-way-to-programmatically-print-custom-text-user-name-below-the-signature/1810/4 "2022-06-28T17:34:10Z")

</div>

Hello lakshan,

Welcome to the PDFJS Express community forum!

Adding this text would require customizing the innerElement of the field. You can access that with [createInnerElement()](https://pdfjs.express/api/Core.Annotations.SignatureWidgetAnnotation.html)

Best regards,  
Tyler Gordon  
Web Development Support Engineer  
PDFTron
