Generation of Replica Reports

Once a screen display has been generated it is possible to create a Chaprola program which faithfully prints on a preprinted form what is shown on the screen. As the spacing on commercial forms is set up for conventional typewriter, it is possible to insert additional information and ruling characters in such a way that the vertical spacing does not match that on the printed form. This is to say that on a commercial form ruling characters may be printed between each line.

Let us say that a screen display has been generated for a particular business form. Let us say that the user upon demand would like to insert this preprinted form into a printer (typewriter) hooked to the computer and at the touch of a single key read all of the data records and on command of the user read the contents of the data fields on the screen display and print this information in place on the printed form.

To generate the chaprola procedure (which can then be compiled and made available to Program SCIENTRY as its procedure) an SCIOS system program, EASYCHAP, is provided. This program reads the text file and produces as its output file a Chaprola program which will do the appropriate printing. The only thing that the user must appreciate is the fact that the vertical spacing on the screen is not necessarily that of the printed form. For this program to be able to tell the difference, it is the convention that in column 1 of the text file, if the line contains a number, then this is actually a printing line and will provide vertical spacing of one vertical unit. If column 1 contains a blank (and it is assumed there is no printing field on this line) this line is skipped for printing purposes and provides no vertical spacing on the printing page. A special character may be placed in column 1 to cause the printer to go the next page. This special character is "*".