Browse Prior Art Database

Printer Table Compiler

IP.com Disclosure Number: IPCOM000100372D
Original Publication Date: 1990-Apr-01
Included in the Prior Art Database: 2005-Mar-15
Document File: 2 page(s) / 73K

Publishing Venue

IBM

Related People

McCauley, DE: AUTHOR [+3]

Abstract

The IBM PC/3270 Host Directed Print software supports 13 IBM Personal Computer printers. The problem is how to provide the default printer definitions for all these different types of printers, how to allow the user to define new printers, and how to allow future expansion without any code change.

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

Printer Table Compiler

       The IBM PC/3270 Host Directed Print software supports 13
IBM Personal Computer printers.  The problem is how to provide the
default printer definitions for all these different types of
printers, how to allow the user to define new printers, and how to
allow future expansion without any code change.

      These problems are solved by use of a Printer Table Compiler,
which is a utility program that allows the user to build a printer
definition file for use by the terminal emulator.  The program is
used during the development process to generate the printer
definition files for all of the printers supported by the software.

      The input to the Printer Table Compiler is a text file which
defines how characters and control strings should be sent to the
printer and how printer output should be formatted.  The input files
are provided for all of the printers which the software supports.
The user may begin with one of these files and change it for the
characters and control strings for which his printer is different, or
begin with a template containing no definitions.

      The output generated by the Printer Table Compiler is a binary
file which is used by the software customization program to define
how the emulator will produce printer output for a session.

      The Printer Table Compiler is invoked by the statement:
 ARIZTBLD  infile<.pdf> <outfile<.pdt>> </list> </quiet>
where:
 infile  is the input file and must be specified
 outfile is optional, must have the extension .PDT and default to
infile.pdt
 /list   is optional, causes the compiler to produce a listing in the
file infile.lst
 /quiet  is optional, causes error messages to the screen to be
suppressed

      The Printer Table Compiler has three major components: the
driver routine which processes the command line arg...