Browse Prior Art Database

Printing COLUMN Headings in a DOCUMENT

IP.com Disclosure Number: IPCOM000039085D
Original Publication Date: 1987-Apr-01
Included in the Prior Art Database: 2005-Feb-01
Document File: 2 page(s) / 13K

Publishing Venue

IBM

Related People

Koeller, PD: AUTHOR [+2]

Abstract

A technique that is often used when printing documents is to have a heading that prints at the top of each page. These headings are especially useful for printing column headings on tables of data that exceed one page in length. The IBM program product "Document Composi (Image Omitted) tion Facility" provides this function using a technique that is referred to as running headings. Running headings allow the user to define one or more lines of text that are to be printed at the top of each page. During print processing the running heading lines are printed at the top of each page. One problem that exists with this implementation of running headings is that the headings always must start printing at the top of a page.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 61% of the total text.

Page 1 of 2

Printing COLUMN Headings in a DOCUMENT

A technique that is often used when printing documents is to have a heading that prints at the top of each page. These headings are especially useful for printing column headings on tables of data that exceed one page in length. The IBM program product "Document Composi

(Image Omitted)

tion Facility" provides this function using a technique that is referred to as running headings. Running headings allow the user to define one or more lines of text that are to be printed at the top of each page. During print processing the running heading lines are printed at the top of each page. One problem that exists with this implementation of running headings is that the headings always must start printing at the top of a page. If the user has a table of data that is to start in the middle of a page and extend on to the next page, running headings cannot be used to print the table headings. Display Write 36 (DW/36) allows running headings to begin anywhere in a document. The program determines if the heading lines will fit on the current page. If not, the heading lines are moved to the top of the next page.

(Image Omitted)

A DW/36 user uses three embedded instructions to define the definition of a running heading and when to cancel the printing of that running heading. These three instructions are: *BRH - defines the start of a running heading

definition.

*ERH - defines the end of a running heading definition.

*CRH - defines where the printing of the running

heading is

canceled. The following example shows how a typical running heading may look. *BRH . THIS IS MY THIS IS MY

FIRST COLUMN SECOND COLUMN

HEADING HEADING *ERH

Entry # 1 Some text for entry #1

Entry # 2 Some text for entry #2

Entry # 3 Some text for entry #3

. .

. .

Entry # N Some text for entry #N *CRH When the document is processed for printing on the DW/36, two separate passes are made through the document. The first pass, as shown in Fig. 1, "resolution" processes running headings as follows: 1. When a *BRH instruction is found, it is removed

1

Page 2 of 2

from the document and special running heading

processing begins.

2. All subsequent lines, until an *ERH instruction is

found, are marked by resolution to indicate that

they are p...