Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second page #63

Closed
hmpvillegas opened this issue Mar 19, 2020 · 4 comments
Closed

Second page #63

hmpvillegas opened this issue Mar 19, 2020 · 4 comments

Comments

@hmpvillegas
Copy link

Can you please help me with example to signed the pdf in the second page to nth page, would appreciate it, thanks

@vbuch
Copy link
Owner

vbuch commented Mar 26, 2020

But a digital signature (pades) is something that is only needed once per document. It doesn't even need to be visible. If you are looking for ways to add an image/other visual to a pdf, this is not the place.

@hmpvillegas
Copy link
Author

yup, im curious on the rect coordinates that was shown in this signature, if the default is the 1st page, then it is possible to second , nth page.

@vbuch
Copy link
Owner

vbuch commented Apr 2, 2020

Yes. This is possible. See here: https://github.com/vbuch/node-signpdf/blob/develop/src/helpers/pdfkitAddPlaceholder.js#L70
This is where the widget (the rect) is added to the current page. So if you want to go to another page I think there was pdfdoc.switchToPage(x). If you add the annots/widget/rect there, you will get it on page 123. So the same applies to any other tool for creating/editing pdfs. As long as you can edit pages other than the first one, you can add the thing there.

@hmpvillegas
Copy link
Author

hmpvillegas commented Apr 2, 2020

actually its correct, but if it is in the pdfkitplaceHolder, however I am using the plainAddplaceholder. I still got it, thank you for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants