I think you want to use this module: https://marketplace.mendix.com/link/component/116692
If your page has a fixed url (in the properties of the page), you might want to try the storeURLToFileDocument java action from the CommunityCommons.
Place an button with a microflow on the page, create a filedocument object as first action, use the java action and place a download action for the filedocument as last action.