# How to apply Rubber stamp annotation without explicitly selecting stamp. (SOS)

**URL:** <https://pdfjs.community/t/how-to-apply-rubber-stamp-annotation-without-explicitly-selecting-stamp-sos/198>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [August 17, 2020, 12:05pm UTC](https://pdfjs.community/t/how-to-apply-rubber-stamp-annotation-without-explicitly-selecting-stamp-sos/198 "2020-08-17T12:05:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kiran.patil](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kiran.patil](https://pdfjs.community/u/kiran.patil)\
**Post date:** [August 17, 2020, 12:05pm UTC](https://pdfjs.community/t/how-to-apply-rubber-stamp-annotation-without-explicitly-selecting-stamp-sos/198/1 "2020-08-17T12:05:28Z")

</div>

I have used this method. For creating rubber stamp, I have called setToolMode() for setting the stamp on mouse click. Now I am getting that ‘+’ cursor but it doesn’t add any stamp on the webviewer. I dont want to select that standard stamp instead I want to have that stamp ready to use as soon as I call this method.  
Whenever I call this method, that standard stamp should enabled on the cursor and I will be directly drawing it on the webviewer. I should not be used to select that standard stamp.

> if (selectedFunction === ‘stamp’) {  
> const tool = this.viewerInstance.docViewer.getTool(‘AnnotationCreateRubberStamp’);  
> tool.setStandardStamps([‘SHAccepted’]);  
> tool.setRubberStamp(tool);  
> this.viewerInstance.docViewer.setToolMode(tool);  
> }

---

_[View the full topic](https://pdfjs.community/t/how-to-apply-rubber-stamp-annotation-without-explicitly-selecting-stamp-sos/198)._
