Reference Guide
Reference Guides / JavaScript API / Actions / Document / Print
In This Topic
    Print
    In This Topic
     Print

    This function allows you to print the current document.

    The DirectPrint function can be used in order to don't display the built-in printing dialog.

    Print: function (docuViewareID, success, error)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to download the current document from.
    success
    A function that will be executed upon success.
    error
    A function that will be executed upon error.

    Return Value

    1 if error, 0 if success.