To print source code:
Double-click on the desired class or interface to display its source code in the Editor.
With the focus on the Editor, select File > Print from the menubar to open the Print dialog.
Make the necessary settings, and click "OK".