Печать документа из надстройки
Вывод документа на печать производится с помощью глобального метода EditorAPI.showPrintDialog.
Пример
local Actions = {}
function Actions.printDocument(context)
context.doWithDocument(function(document)
EditorAPI.showPrintDialog()
end)
end
return Actions