PDF Embed API - Call Print and Save Function Programmatically

New Here ,
May 09, 2021 May 09, 2021

Copy link to clipboard

Copied

I want to use the Save and Print functions in the API externally to the iFrame. Is is there a function in

`AdobeDC.View` that would allow me to call these features programmatically?

Views

77

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 10, 2021 May 10, 2021

Copy link to clipboard

Copied

LATEST

Currently, the print sand save functions cannot be triggered programmatically.

However, you can set up the save functionality to autosave at a given interval. Additionally, you can turn on "focus polling" so that a save occurs when the viewer loses focus.

 

With focus polling, adding your own save button is unnecessary since simply by moving the focus to your button would cause the save to occur. What you might want to do instead is add your "Save" button but make it do something with the saved PDF rather than just update the content in the viewer.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines