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

Printing APA On Non-APA Printer

IP.com Disclosure Number: IPCOM000101452D
Original Publication Date: 1990-Aug-01
Included in the Prior Art Database: 2005-Mar-16
Document File: 2 page(s) / 57K

Publishing Venue

IBM

Related People

Ballard, DJ: AUTHOR [+5]

Abstract

The following is a solution to the problem of printing information from an All-Points Addressable (APA) environment to a non-APA environment.

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

Printing APA On Non-APA Printer

       The following is a solution to the problem of printing
information from an All-Points Addressable (APA) environment to a
non-APA environment.

      The APA image can be regarded as a canvas with objects placed
on top of it.  Printing an APA screen layout can be done on a non-APA
printer by remapping the screen objects (logical parts of the screen
image, such as entry fields, menu actions, text, etc.) into a
similarly aligned fixed-character (line and column) setting.

      Each screen object has a horizontal and vertical size, as well
as an origin (measured in some device-independent unit).  Using these
measurements, a fixed-character size and origin can be attained.
These fixed-character values are calculated using conversion
equalities that are based on the current APA font.  An example of
such equalities may be the following:  a fixed-character environment
'row' = the average-character height of the current font, and a
fixed-character environment 'column' = the average-character width of
the current font.

      The breadth and depth of the non-APA buffer may be determined
by the underlying APA screen dimensions.  An alternative to this
would be to use the rightmost object to determine the non-APA buffer
breadth and the bottommost object to determine the non-APA buffer
depth.

      For each object, the location into the non-APA buffer is
determined by its fixed-character origin value.  The text (or data...