Print Button functionality | Community
Skip to main content
New Participant
Sep 5, 2021 3:23 PM UTC
Question

Print Button functionality

I am facing issue with print button functionality for preview HTML in designer, whereas it is working fine in Preview PDF.

 

When Preview HTML and clicked on same Print button not working, is there anything I need to configure specially for Preview HTML or anything I am missing?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Mayank_Gandhi
Employee
Sep 6, 2021 2:22 PM UTC

@rssrocks  the print xfa script will not work in HTML, for HTML instead use

window.print() 

 

Translate
Level 8
Sep 5, 2021 7:17 PM UTC

You will have write custom code to do that

not possible out of the box. this article expects some AEM developer experience 

yhus article explains how to do that

https://experienceleague.adobe.com/docs/experience-manager-learn/forms/document-services/generate-pdf-from-mobile-form-submission-article.html?lang=en

Translate
Level 8
Sep 5, 2021 3:49 PM UTC

Not all actions will work in html preview and print button is one of them 

 the documentation on mobile forms lists the differences 

Translate
rssrocksAuthor
New Participant
Sep 5, 2021 5:22 PM UTC

@girishbedekar : How to acheive the same functionality in Preview HTML now?

 

Translate