Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Software Simulation of Printer Hardware Half-Indexing

IP.com Disclosure Number: IPCOM000060780D
Original Publication Date: 1986-May-01
Included in the Prior Art Database: 2005-Mar-09
Document File: 3 page(s) / 81K

Publishing Venue

IBM

Related People

Moore, MS: AUTHOR [+2]

Abstract

Functions often used in text processing are superscript and subscript and require half line spacing. However, if the text user attempts to print a document which contains these functions on a printer that does not support hardware half-indexing (half line spacing), the superscripting and subscripting capability is lost. In the IBM System/36 Release 3 Text offering, a data transformation has been created which allows the Text user to print documents which contain superscripting and subscripting on a printer which does not support hardware half-indexing. This data transformation generates a data stream consisting of printer controls and text data. The controls belong to the SCS (SNA Character Set) family.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 3

Software Simulation of Printer Hardware Half-Indexing

Functions often used in text processing are superscript and subscript and require half line spacing. However, if the text user attempts to print a document which contains these functions on a printer that does not support hardware half-indexing (half line spacing), the superscripting and subscripting capability is lost. In the IBM System/36 Release 3 Text offering, a data transformation has been created which allows the Text user to print documents which contain superscripting and subscripting on a printer which does not support hardware half-indexing. This data transformation generates a data stream consisting of printer controls and text data. The controls belong to the SCS (SNA Character Set) family. Before the line is processed, the full space and half space values must be calculated based on the active lines/inch (LPI) value by blocks 1 and 2 in the drawing. These values are in terms of the smallest vertical physical distance that the printer hardware can process. For example, given that a printer can move in vertical increments of 1/72 inch, and given an LPI value of 6, the full space value is 12/72 inch, and the half space value is 6/72 inch. Initially, the printer is assumed to be in a superscript position. This means that the printer is assumed to be in the proper vertical position for any superscript data on the line to be processed. Based on this assumption, internal work variables are initialized as shown in block
3. Next, the line is scanned, and any data that belongs in the superscript position is moved into the output buffer, along with the necessary printer controls to move the cursor to the correct horizontal presentation position (blocks 6 and 7). If this first scan detects data that belongs in the baseline position (block 8), then the necessary printer controls are generated to move the cursor vertically by the half space value (blocks 9 and 10). If this scan does not detect any data that belongs in the baseline position, but it does detect data that belongs in the subscript position (block
11), then the necessary printer controls are generated to move the cursor vertically by the full space value (blocks 12 and 13). If this scan does not detect any data that belongs in either the baseline or subscript position, then the necessary printer controls are generated to move the cursor vertically to the superscript position for the next line (blocks 20, 21 and 22). If the first scan detected data that b...