DocuVieware Reference Guide
RegisterOnDocumentPrinted
Reference Guides > JavaScript API > Events > RegisterOnDocumentPrinted
 RegisterOnDocumentPrinted

This function allows you trigger a function of your own when the document print event is fired.

RegisterOnDocumentPrinted: function (docuViewareID, callback)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.
callback
The function you want to execute on event.

Return Value

1 if error.