Introduction

## Printing Graphical Views

Understand for Ada has three printing modes:

- Shrink to fit is used by the graphical views (Hierarchy and Declaration) and fits a picture, no matter what its size, onto the current printer page size.
- Poster Printing prints graphics using the point size selected in the graphical view. Instead of shrinking to fit on one page it prints the picture across the number of pages needed to show it.
- Source File printing does nothing particularly special and simply queues the file to the printer using 66 lines of source per page.

### Shrink to Fit Printing

All graphics views offer the menu option File->Print Drawing. This option will print the graphic, making it fit on the given page size. On Windows 95/NT the Windows printer setup dialog is used to configure page size, printer selection, portrait/landscape and other options.

See Printing on UNIX machines for more information about configuring printouts on Unix and VMS machines.

### Poster Printing

All graphics views also offer the menu options File->Print Poster and File->Print Poster Setup. Choosing File->Print Poster sends the current picture to the printer using the current poster configuration. On Windows 95/NT the Windows printer setup dialog can then be used to further configure printing. See Printing on UNIX machines for information about configuring printing on Unix and VMS machines.

### Configuring Poster Printouts

Setting up a poster print brings up this configuration dialog:

· Margin (Right/Left and Top/Bottom)
The margin indicates where your printer stops printing on a page. A conservative setting (1/2 inch) is used by default. If your laser printer (or plotter) prints to the paper's edge then set these values to zero.
· Print Margin Markers
If checked then margin markers, sometimes known as "cut marks" are drawn on each page. These indicate where you can trim the paper to create a seamless printout.
· Print Title as Header
If checked then the title of the View Window is used as Title. This is the text shown in the upper left corner above the menu bar. For example:,
In this example, "Invocations: Mahjongg" would be added as a Title to the printout.

### Printing on UNIX machines

On UNIX and VMS machines Understand for Ada uses Postscript as its primary output format. The output files created are Level 2, Encapsulated Postscript without a preview image.

All output is to a file, the file can optionally be sent to a queuing command (such as lp or lpr).

Initially the Print Dialog appears:

· Print Range specify optional range of pages (if more than one page)
· Copies - specify number of copies of each printed page
· Print to File, if checked then a dialog is displayed so you can specify what file to print to.
· Setup - use to further configure printing, as shown in this panel:

- Printer Command - Sets the system command used to print. The default is lpr. This command name may be set to any command. No checking is made to ensure it is a valid command or that it is on your executable search path. The name of the Postscript file is passed as its first argument. The text (if any) contained in the Printer Options field is passed as arguments following the Postscript file name.
- Paper Types Toggle
Lets you choose what paper size to use. The default is 8 1/2 by 11 (letter).

Scientific Toolworks, Inc. http://www.scitools.com Voice: (802) 763-2995 Fax: (802) 763-3066 support@scitools.com sales@scitools.com