UltimatePDF component


I need help in UltimatePDF component. I have two buttons, both to download as PDF the screenshot. So what I do is if click the button the destination is a webscreen with layout.
The problem is it only works for 1 button, the second gives me pdf of actual webpage and not from the destination.
I really need  help.

Thank you.

How does the preparation look like?