tcl.op Verb: Access/TCL, op Introductory/Output Processor: Commands

tcl.op

Command tcl.op Verb: Access/TCL
Applicable release versions: AP
Category TCL (746)
Description
Syntax
Options
Example
Purpose
Related op

op

Command op Introductory/Output Processor: Commands
Applicable release versions: AP
Category Output Processor: Commands (183)
Description formats and prints text from commands embedded in the textual data.
Utilizing OP capabilities, data can be extracted directly from files within the data base, formatted, and incorporated in the text of a document without special manipulation.
Other capabilities supported by OP include:
Proportional spacing (both horizontal and vertical)
Text formatting
Font control
Automatic Index and Table of Contents generation
Boldfacing
Underlining
Headings and footings
Automatic numbering of chapters, sections, figures, and tables
OP treats each attribute in an item as a paragraph. Commands may be embedded anywhere in the text or data.
An OP command is preceded by a space and a period (the period is part of the command) followed by the characters that make up the command. OP commands end with a space, another OP command, or an attribute mark. OP commands are not shown in the formatted and printed text.
Execution of OP commands can be suppressed by utilizing the override character. The default override character is the underscore (__). When the underscore is placed before the period in the dot command, the command is not executed, but output like normal texual data. To change this character, use the .oc command. If the underscore is to be used in the text, then the override character should be changed.
Several OP commands are used to select the characteristics of the printer. To use these commands effectively, you must be familiar with the features and limitations of the printer. Before using the Advanced Pick version of OP, the printer must be described as an item in the devices file. The information in the item includes the sequences for underlining, boldfacing, tabbing, font selection, and other printer parameters. In addition, if the printer has multiple font capabilities, up to fifteen generic fonts can be described. The Advanced Pick version of OP makes it easy to use the printer’s font capabilities. Fonts may be changed anywhere in a line and as many times in a document as needed. To set up a form queue with fonts for a printer device, use the assignfq verb.
Throughout the OP chapter, the values for all commands that measure horizontal space are given in tenths of an inch; therefore, when a command is described as inserting n spaces, it is actually inserting n /10 inches. For example, if the command .lm 10 is entered to set the margin 10 spaces,10" reality the margin is being set to 10/10 of an inch or 1 inch.
Syntax op file.reference {item.list} { ( options ) }
Options n{-m} to print a single page, enter the page number. To print a range of consecutive pages, enter the beginning page number, a dash or a dot, and then the ending page number.
c Suppress chain and read commands.
d Double space document.
f Suppress footings.
h Suppress headings.
j Suppress highlights.
k Suppress legends.
n Do not pause when output to terminal.
p Send document to printer.
s Suppress boldface, underline and fonts.
t Triple space document.
x Count word usage into WSYM file, format word:page number:line number.
Example
op doc test.item (pfh
Purpose
Related op.*
op.italics
op.subscript
op.appendix
op.justify
op.superscript
op.begin.page
op.left.margin
op.tab.fill
op.block.center
op.line.length
op.tab.left
op.boldface
op.line.printer
op.tab.right
op.box
op.lpi
op.tab.rightm
op.break
op.macro.file
op.tab.set
op.vmi
op.nofill
op.em
op.cap.sentences
op.over.char
op.table
op.center
op.page.length
op.tc.heading
op.chain
op.page.number
op.tcl
op.chapter
op.paging
op.tcl.box
op.char
op.test.page
op.col
op.paragraph
op.underline
op.columns.set
op.preface
op.underline.words
op.columns
op.prefix.page
op.variable.columns
op.crt
op.print.index
op.cursor
op.print.ptoc
op.xblock.center
op.date
op.print.toc
op.xboldface
op.default
op.prompt
op.xbox
op.figure
op.read
op.xcap.sentences
op.readnext
op.xcolumns
op.font
op.readnext.null
op.xhilite
op.footing
op.reset
op.xindex
op.right.margin
op.xitalics
op.hanging.tab
op.save.contents
op.xjustify
op.heading
op.save.index
op.xpaging
op.hilite
op.section
op.xparagraph
op.indent
op.set.chapter
op.xpreface
op.indent.margin
op.set.section
op.xprefix.page
op.indent.rmargin
op.skip
op.index
op.space
op.xsuperscript
op.index.heading
op.spacing
op.xuw
op.input
op.standard
op.xul
op.gohanging.tab
tcl.op