Login to follow
PrintScreen PDF

PrintScreen PDF (ODC)

Stable version 0.1.3 (Compatible with ODC)
Uploaded on 23 December 2025 by Leonardo Pires
PrintScreen PDF

PrintScreen PDF (ODC)

Documentation
0.1.3

Options


  • FullPrintScreenPDF: Take a screenshot of the entire screen and save it as a PDF file.
    • Selector: Element of the screen portion that will be captured, for example .classname #itemid.
    • ButtonCaller: This button will trigger the action to generate a screenshot; this parameter is optional.
    • Filename: Name of the file that will be saved with the captured content.
    • SaveFile: Save file (optional).
    • Base64: Base64 file generated from the PDF.
    • Binary: Binary of the PDF file.


  • How can i use this component?
    • You need to call the FullPrintScreenPDF action dependency in the FullPrintScreenPDF_Lib module.
    • After step 1, you need to add the FullPrintScreenPDF action to a client action, for example, a client action that calls a button.
    • The ButtonCaller parameter is optional; use it if you need to disable the button when the PDF generation starts, thus preventing the customer from clicking the button again until the PDF generation is complete.
    • It is now possible to obtain the Base64 of the PDF as an output parameter.

  • Global JavaScript variable to retrieve the content of a PDF in base64 format.
  • window.generatedPdfBase64