Printing Program Elements

The contents of any project, package, type, or method are printable from the IDE. To output the desired program elements to a printer:

  1. Select the program element you want to print. You can select more than one, provided they are all the same kind of element (for example, you could select more than one package or more than one method). When an element is printed, all of the elements it contains are also printed.
  2. Select Document, Print from the element's pop-up menu. If the element is a method, the pop-up menu option is Print.
  3. In the Print dialog box, select the options you want to use for printing the element. The following options are available:
    Program
    Element
    Available options
    (Select an option to print it.)
    Projects
    • Comment
    • Packages List
    • Contents of Packages
    Packages
    • Comment
    • Class Hierarchy
    • Types List
    • Contents of Types
    Types
    (Classes and
    Interfaces)
    • Hierarchy
    • Definition
    • Contents of Methods
    Methods
    • Entire Method
    • Declaration Only

    Selecting certain options disables others (for example, if you clear the Contents of Packages check box, the options for packages, classes, and methods are disabled). Click OK when you have selected the options you want.

  4. Select the printer you want from the Printer Selection dialog box, and click OK. The selected elements are output to the selected printer.

To change the default printer setting, select Print Setup from the File menu. Select the desired default printer and click Setup to change its settings. Click OK to make the selected printer the default.


Printing Source Code and Other Text
Printing the Graph View of a Class

ngrelr.gif (548 bytes)
ngaix.gif (1051 bytes)nghp_ux.gif (428 bytes)Printer Setup On AIX and UNIX