TGAL Manual
OUT Command
TGAL Commands
060865 Tandem Computers Incorporated 2–45
OUT Command Use the OUT command to select the pages of a document to print. This command lets
you specify the pages in two ways. Either specify the physical page numbers you
want printed, or specify the section name and page numbers.
The syntax of the OUT command is:
OUT
number1
[\
number2
]
"
name1
"
number1
[\"
name2
"
number2
]
name1
is a name defined in a SECT command. Quotation marks are required.
number1
is the page number where printing starts.
name2
is a name defined in a SECT command. Quotation marks are required.
number2
is the page number where printing stops.
Considerations
If you use section names, you must specify the exact name, including spaces. You
must supply an ending section name if you supply the ending page number.
\OUT "PREFACE " 2/5 WRONG
\OUT "PREFACE " 2/ "PREFACE " 5 RIGHT
If you use section names, TGAL matches both the section name and the page
number. The ending page number must not be less than the starting page number.
If you just use page numbers, the ending page number must not be less than the
starting number. TGAL allows a single output page to be requested, either by
giving just a page number in the OUT command — for example, OUT 2/2 —
or by giving both a section name and a page number — for example, OUT
“Section2-” 3/“Section 2-” 3. If TGAL does not find the ending page number in
either case, it prints the rest of the document.
You usually supply the OUT command when you run TGAL. If you have more
than one OUT command, TGAL uses only the last one in the series.
If you do not use this command, TGAL assumes:
OUT 1