DocuVieware Reference Guide
Print
Reference Guides > JavaScript API > Actions > Document > Print
 Print

This function allows you to download the current document in order to print it.

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.