IBM
Contents Index Previous Next



Printing Documents - Some Examples


This section is a brief guide to how to print some types of documents. The remaining sections of this chapter contains more detailed reference information about the print function and the Print dialogs.

You can print documents either from the Organizer or from within an individual tool.

Printing from the Organizer

This is an example of how to print a table of contents, one or more SDL interaction diagrams and type views from the Organizer. It is assumed that you have SDL interaction diagrams included in the Organizer and that a Type Viewer is running. The example describes how to print specific diagrams, but what is explained here may of course apply to other types of diagrams.

To print from the Organizer:

  • Select Print | Print All from the File menu.
    • Alternatively, click the quick-button for Print.

The Print dialog will be issued, where you may change the print settings.

Figure 73 : The Organizer Print dialog

You will start by changing the options in the Contents area:

  1. Turn the Table of contents toggle button on.
  2. Turn the SDL Interaction toggle button on.

  1. Click the setup button to the right of the SDL Interaction toggle button.

The Print Setup dialog will be issued where you may specify other options:

Figure 74 : The Print Setup dialog

  1. Click OK.
    The dialog will be closed.
  2. Turn the Type Diagram toggle button on, and click the setup button to the right of the toggle button.
    The Print Setup dialog will be issued and you may set additional options.
    • In the Print and Do not print lists, you may specify if any of the Type Viewer main window or Tree window (identified as Sub-window in the list) is to be excluded.

.

  1. Click OK.
    The Print Setup dialog will be closed.

You may also want to specify the options in the Document area and the Destination area of the Print dialog:

  1. Select the Paper format that you want to use. For Word printing (Windows only) select the Image format.

  1. Click the Margins button, to open the Paper Format Setup dialog.

Figure 75 : Setting the margins

In the dialog, you may change the paper margins, and in addition you may define your own paper size.
For Word printing (Windows only) there is a Size button instead. A click on this button allow you to define the size of the generated images imported into Word.
  1. You may also want to change other settings in the Document area.
  2. Select the output format in the Format option menu. You may choose between:
    • One PostScript File, suitable if you are going to print the documents on a PostScript printer.
    • One EPS File (Encapsulated PostScript), suitable if you are going to include graphics in a document. Select One EPS File Per Page if multiple pages are to be printed.
    • One FrameMaker MIF File, suitable if you want a file that can be imported into FrameMaker. Select One MIF File Per Page if multiple pages are to be printed.
    • Import into FrameMaker (UNIX only), suitable if you want to import the file directly into a currently opened FrameMaker document.
    • One Interleaf IAF File, suitable if you want a file that can be imported into Interleaf. Select One Interleaf IAF File Per Page if multiple pages are to be printed.
    • MSW Print (Windows only), which will make the print function use the printer you have set up with the Microsoft Windows Print Manager.
    • One Word DOC File (Windows only), suitable if you want a file that can be used in Microsoft Word 2003 or Word 2000.
    • Word Files (DOC + EMF) (Windows only), suitable if you want to edit the document file in Microsoft Word and be able to regenerate the pages.
    • Web Files (HTML+PNG), suitable if you want to publish the document on the Web. HTML (text) and PNG (picture) files are produced that can be viewed in a web browser.
  3. Select the destination of the printout - a file or a printer.
    • If you want to save the printout on a file, you should make sure that the To file/Map file radio button is on. The button is labelled Map file if multiple pages are to be printed (when you have selected a One file Per Page option in the format menu). The map file will contain a translation table that shows the correspondence between the input diagrams and the generated files.
    • If you want to send the printout to a printer, you should ensure that the Execute radio button is on. You also have to type a printer command in the field, for example lpr. (It is possible to enter any post-processing command, such as a PostScript pre-viewer like ghostview.)
  4. Click the Print button to generate the printout.

For more information on how to use advanced printing features, see Advanced Print Facilities.

Printing from the SDL Suite

In these examples you will learn how to print from the MSC Editor and the Type Viewer. As most settings in those print dialogs are similar to the ones in the Organizer dialog, described above, the explanations below will be quite brief.

Printing from the MSC Editor

  1. Open a diagram in the MSC Editor.
  2. Select Print from the File menu.
    The MSC Editor Print dialog will be issued.
  3. Optionally, change the settings in the dialog.
  4. Click the Setup button.
    The Print Setup dialog will be issued, where you may specify some additional options:

Figure 76 : The MSC Editor Print Setup dialog

  1. Turn the Print only selected symbols toggle button on, if you have selected parts of the MSC diagram that you want to print. Deselected symbols will not be printed.
  2. Turn the Include Instance Ruler toggle button on, if you want to add an instance ruler into each printed page of an MSC. This means that the instance heads will be visible on each page - useful if you have a vertically extended MSC diagram that will cover more than one page.
  3. Click the OK button in the Print Setup dialog.
  4. Click the Print button in the Print dialog.
    The printout will be generated.

Printing from the Type Viewer

  1. Make sure the Type Viewer is running.
  2. Locate either the main window (the window labelled Type Viewer) or the Tree window.
  3. You may also want to change the contents of the window by using commands in the View menu.
  4. Select Print from the File menu in either the main window or the Tree window of the Type Viewer.
    If you select Print in the main window, the printout will be a type list. If you select Print in the Tree window, the printout will be an inheritance tree.
    The Print dialog will be issued.
  5. Adjust, if required, the options in the Print dialog and the Print Setup dialog.
  6. Click the Print button.
    The printout will be generated, based on the contents of the window that the Print command was selected in.

http://www.ibm.com/rational
Contents Index Previous Next