| ulk | Index Level | * |
| Syntax | op file.reference {item.list} { ( options ) } |
| Category | Output Processor |
| Type | Introduction |
| 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 D3 release 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 D3 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. |
| 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. |
| See Also | * italics subscript appendix justify superscript begin page left margin tab fill block center line length tab left boldface line printer tab right box lpi tab rightm break macro file tab set vmi nofill em cap sentences over char table center page length tc heading chain page number tcl chapter paging tcl box char test page col paragraph underline columns set preface underline words columns prefix page variable columns crt print index cursor print ptoc xblock center date print toc xboldface default prompt xbox figure read xcap sentences readnext xcolumns font readnext null xhilite footing reset xindex right margin xitalics hanging tab save contents xjustify heading save index xpaging hilite section xparagraph indent set chapter xpreface indent margin set section xprefix page indent rmargin skip index space xsuperscript index heading spacing xuw input standard xul gohanging tab op |
| Example | op doc test.item (pfh |
| Warnings | |
| Compatibility | D3 7.0 AP |
| ulk | Index Level | * |