RUNOFF Command

The RUNOFF command formats items that contain RUNOFF commands. RUNOFF commands are inserted in an item with the Editor.

Format

RUNOFF [DICT] filename item-list [(options)]

Parameter(s)

DICT

Specifies the file dictionary.

filename

Name of the file that contains item-list.

item-list

List of item-IDs to be formatted. Each item-ID is separated with a space.

options

Controls the way RUNOFF works. They can be any of the following:

n

Overprints boldface letters n times.

C

Suppresses CHAIN and READ commands.

I

Places the item-ID of the next item to be formatted in the last line of the last item output.

J

Suppresses highlighting.

N

Suppresses automatic paging.

P

Sends output to the printer.

S

Suppresses underlining and boldfacing of output at a terminal.

T

Indents the Table of Contents one space for each section level.

U

Prints all output in uppercase.

See the Runoff User Reference Guide for more information on using RUNOFF.

Formatting an Item

Item ASH from the file LETTERS contains RUNOFF formatting commands. The item itself looks like this:

001 .LEFT MARGIN 50 .NOJUSTIFY

002 Compubooks, Inc.

003 .B

004 964 Oak Street

005 .B

006 Newton, MA  02164

007 .B

008 25 August 1994

009 .LEFT MARGIN 5

010 .SP 2

011 Josephine Ash

012 .B

013 87 Blue Hills Parkway

014 .B

015 Milton, MA  02186

016 .PARAGRAPH 5

017  Dear Ms. Ash,

018  We would like to take this opportunity to thank you for

019 your order and to welcome you to Compubooks.

020  Compubooks offers a variety of computer-related titles--from

021 PCs to mainframes, we can answer your computer book needs.

When RUNOFF is invoked on this item, formatting commands are applied:

>RUNOFF LETTERS ASH

 

 

 

Compubooks, Inc.

 

964 Oak Street

 

Newton, MA  02164

 

25 August 1994

 

 

Josephine Ash

 

87 Blue Hills Parkway

 

Milton, MA  02186

 

 

 

     Dear Ms.  Ash,

 

 

 

     We would like to take this opportunity to thank you for

your order and to welcome you to Compubooks.

 

 

     Compubooks offers a variety of computer-related

titles--from PCs to mainframes, we can answer your computer

book needs.