Browse Prior Art Database

Printing Sequentially Stored Text As Multi-Column Text And Formating Multi-Column Text

IP.com Disclosure Number: IPCOM000119633D
Original Publication Date: 1991-Feb-01
Included in the Prior Art Database: 2005-Apr-02
Document File: 5 page(s) / 209K

Publishing Venue

IBM

Related People

Bracht, CJ: AUTHOR [+2]

Abstract

Disclosed is a method to insure that sequentially stored text is properly formatted and printed as multi-column text.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 35% of the total text.

Printing Sequentially Stored Text As Multi-Column Text And Formating
Multi-Column Text

      Disclosed is a method to insure that sequentially stored
text is properly formatted and printed as multi-column text.

      DisplayWrite* 4/2 can convert internally formatted documents
into Level 2 format referred to as Print Only documents or into
printer-ready files.  In normal (not multi-column text) printing, the
converter reads data from the media into an input buffer when
printing.  The converter is code that transforms internal data stream
into print- ready data stream.  The series of controls at the start
of each document are used to initialize the converter control block
and format area.  A control block is a set of variables that are used
to track information to aid in the processing of data.  Once
initialization is complete, the converter is ready to start building
the print-ready data stream in an output buffer.  The converter will
process the input data and store the results in the output buffer one
line of text at a time.  When one or more line enders have been
processed, the converter sends the output buffer, control block, and
format area to the print component.  The print component is code that
transforms the print-ready data stream into a print-specific data
stream. Print uses the format area and the input from the converter
to build a printer specific output buffer to send to the printer.
All format information at the start of the line is passed in the
format area.  Print processes the input buffer (the converter's
output buffer) until one or more line enders are processed.  Then,
the output buffer is sent to the printer and print returns control to
the converter.

      This cycle continues until the print job is complete. During
the cycle, any controls encountered that affect the Converter control
block or format area values are processed and the appropriate updates
are made so Print has accurate information.

      DisplayWrite 4/2 allows users to mark text (by inserting a
Define Multi-column Text control into the data stream) to be printed
in multiple columns.  The user enters the text sequentially (as if it
is one long column), and the placement of end column controls (by the
user and/or the paginate process) indicates the end of the various
columns within the column set.  A column set consists of two or more
columns across a page.  Note that the text is still stored in
sequential order, but there are controls in that text that indicate
the end of the columns. The internal formatted documents support the
printing of multi-column text.  However, Level 2 and PC printers do
not support the controls needed to comprehend and process
multi-column text.  Therefore, the only way to have output appear as
multi-column text is to build compound lines with the appropriate
column segments concatenated together.  To print sequentially stored
data as multiple columns, the data must be sequentially read into a...