You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you very much for this library; it's a lifesaver.
I'm trying to create a pdf that will prompt the user to print it when opened. I see in the Adobe documentation that Actions can be added to support this functionality and I see in the pdf-lib documentation for the addJavaScript() function that we can add Javascript that can be used by an Action.
However, I don't see any way to actually add the Action. Is that possible? Alternatively, is there another method to prompt the user to print the pdf when it is opened?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
First off, thank you very much for this library; it's a lifesaver.
I'm trying to create a pdf that will prompt the user to print it when opened. I see in the Adobe documentation that Actions can be added to support this functionality and I see in the pdf-lib documentation for the addJavaScript() function that we can add Javascript that can be used by an Action.
However, I don't see any way to actually add the Action. Is that possible? Alternatively, is there another method to prompt the user to print the pdf when it is opened?
Beta Was this translation helpful? Give feedback.
All reactions