The code below demonstrates how to enable the Print button in Preview mode of RadEditor. It checks whether the current mode of RadEditor is Preview using the
a reference to the "Print" tool using the getToolByName() method and enables it using the setState(0) method, e.g.