SYSTEM FOR CONTROLLING FORMAT
United States Patent 3676853
A system which accepts an input tape and provides an output copy having both preserved line endings and justified lines which are controlled and determined by means of a variable width control zone. The width of the zone may be varied to assure proper line endings. The occurrence of a total overlap of the zone will result in justified lines, whereas a partial, or no overlap will result in preserved line ending regardless of the side of the zone involved.
US Patent References:
Justifying compositor
Ackerman - March 1953 - 2632548

Apparatus for justifying lines
Higonnet et al. - May 1954 - 2678713

Justification information computer and tape perforator for photocomposing machines
Robbins et al. - August 1958 - 2848049

Method and apparatus for type composition
Higonnet et al. - January 1961 - 2968383

Photographic type composition
O'Brien - July 1964 - 3141395


Application Number:
05/025710
Publication Date:
07/11/1972
Filing Date:
04/06/1970
View Patent Images:
Assignee:
International Business Machines Corporation (Armonk, NY)
Primary Class:
Other Classes:
400/5, 400/64
International Classes:
B41J5/42; B41J5/31; H04Q1/18; G05B1/01
Field of Search:
197/19,20,84 95/4.5 340/172.5
US Patent References:
3205996Space computer for justifying typing machineSeptember 1965Greenwood
3297124Data recording and printing apparatus capable of responding to changed formatJanuary 1967Sims
3386552Data editing and revision system with margin controlJune 1968Lorber et al.
3466604APPARATUS FOR AUTOMATIC JUSTIFICATION OF LINE-CASTING MATRICES ASSEMBLED BY A CODED TAPESeptember 1969Sinnott
Primary Examiner:
Henon, Paul J.
Assistant Examiner:
Woods, Paul R.
Claims:
What is claimed is

1. A system for controlling the format of output copy printed from codes input to a justification computer and printer from a preprepared input tape, said system comprising:

2. The system of claim 1 further including means for holding an operator selected tab length count which will, upon the occurrence of a tab code being read by said reading means, form part of said total running count.

3. The system of claim 2 further including a second means for tabulating the running count of data codes read by said reading means from said input tape from the left margin of said output copy for determining said overlap, partial overlap, and no overlap of said zone, said second means being resettable upon the occurrence of a tab code read by said reading means.

4. A system for controlling the format of output copy printed from codes input to a justification computer and printer from a preprepared input tape, said system comprising:

5. The system of claim 3 further including means for defining said zone intermediate the left and right margins of said output copy.

6. The system of claim 4 further including means for defining said zone intermediate the left and right margins of said output copy.

Description:
BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates generally to tape controlled printing systems, and more specifically, to a system for controlling the format of output texts printed from an input tape under the control of a zone established by an operator at the beginning of the printing operation.

2. Description of the Prior Art

Heretofore, there has not been an efficient and convenient means of handling varying types of data which have been recorded with a non-justifying system and which are to be reproduced with a composer which justifies the text.

By justification is meant the spacing of text so that the printed characters extend to both the left and right margins. Many techniques are known for justifying text from records, such as those adaptable from the data processing arts.

Often one route followed is that the justification system uses information received from records carrying raw data in which the line endings are not specified on the data carried by the record. Therefore, preparation of the record by recording on a tape, etc., can be accomplished at a very rapid rate in the absence of special skills since there is no need to select line endings. Thus far, the discussion has presented no problems that have not been more or less solved in one way or another. The real problem surfaces when raw data is prepared with a non-justifying system in the absence of elaborate coding, and it is desired to produce output with a justifying system where not all lines are to be justified. In other words, some provision must be made for determining when input line endings are to be preserved on output. Obviously, justification of addresses in business letters, for example, is not desirable.

SUMMARY OF THE INVENTION

The aforementioned type of problem is overcome by establishing a variable control zone intermediate the left and right margins, the overlap of which will result in justified lines, and the partial overlap of which will result in preserved line endings. The operator will determine the width and position of the zone between margins according to particular needs. First, second, third counters are provided which establish the left and right sides of the zone and tab lengths, respectively, through the operator making appropriate panel entries.

Fourth and fifth counters are provided to determine the position of the printed text relative to the left margin, while first and second comparators and a subtractor are provided to determine whether an overlap of the zone defined by first and second counters has occurred and to direct pulses to first and second AND circuits which control a justification computer and a printer.

It is therefore an object of this invention to provide for both preserved line endings and justified lines on output produced by a composing system.

This and other objects and advantages will become more readily apparent when read in conjunction with the remainder of the specification and considered in connection with the accompanying drawing.

BRIEF DESCRIPTION OF THE DRAWINGS

In the drawing there is shown a symbolical and illustrative diagram of the system of this invention.

DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring to the drawing, there is shown a system which accepts input data from a preprepared tape and converts the input data to a printed output having both preserved line endings and justified lines.

The record carrying raw data may be prepared as a sequence of codes on a magnetic tape recorded special typewriters available for this purpose or the record may be prepared by any suitable means.

Frequently the raw data prepared with the non-justifying system uses characters and spaces of fixed width whereas the output of the justifying system is to be with characters and spaces of variable width. Input from variable width characters can be accepted by counting units rather than input characters. In other words, counts applied from an input tape will correspond in the event of proportional spacing to the width of the characters read from the tape and spaces read. In the event proportional spacing is not used, the counts will correspond to the characters and spaces read.

In the preferred embodiment shown, input data codes which have been recorded on a tape are read by record reader 1 under the influence and ultimate control of justification and printer control, or justification computer 2. Record reader 1 may take the form described in U.S. Pat. application Ser. No. 579,355, filed Sept. 15, 1966, now U.S. Pat. No. 3,461,430. The justification computer 2, can accumulate the weighted width value of each received character and compute the inter-word and inter-character spacing necessary to produce a justified line of data characters. Justification computer 2 can take the form of a general purpose computer programmed in a well known manner to calculate the necessary spacing or the form of a special typography computer operable in a well known manner to accept unjustified tapes and generate a justified tape. When the latter type of computer is utilized, a counter control such as that described in U.S. Pat. application Ser. No. 578,791, filed Sept. 12, 1966, now U.S. Pat. No. 3,416,518, may be utilized in a well known manner to control the sequencing of operations performed by the justification computer in the operations performed by the remaining units and associated structure. When thus utilized, the counter functions as a state counter which is advanced or permuted to a different unique state upon the completion of each operation. The counter thereafter controls the operations to be performed. The utilization of a state counter to control the sequencing of computational operations is well known in the art.

The above mentioned patent applications are referred to in U.S. Pat. No. 3,483,527, issued Dec. 9,1969, to the inventor of this invention.

According to this invention, the justification computer 2 not only derives its input from record reader 1, but from other portions of the system shown in the drawing which allow for both preserved line endings and justified lines. This input is affected indirectly by the output of reader 1 which sets the condition of counters 3 and 4 and provides pulses to AND circuits 5 and 6, and directly through line 7 where text characters are entered.

Counter 3 is a counter of the type which is structured to count and record a total character, space, and tab input, measured from the left margin, which for present purposes will be signified as D. In other words, the value of D can be the number of characters including tabs and spaces entered between the left and right margins which are defined by the operator selecting a measure count by well known means. Counter 4 is similar to 3 but is capable of being reset upon the occurrence of a tab code. A value E will be recorded which is the count from the last tab code to the end of the line. Both counters 3 and 4 are set to zero at the beginning of each line by the application of a carrier return signal or by a start-up signal when the reader recorder is turned on. More specifically, counters 3 and 4 are conventional resettable up counters. The count in counter 3 is the count of the data codes read from the record reader 1 including the count for tab lengths stored in counter 11 when tab codes are read by reader 1. Although the output of counter 3 is shown as two separate outputs, this is in effect one output which is applied both to comparator 12 and counter 4. The contents of counter 4, when tab codes are not read by reader 1, will be the same as the contents of counter 3. That is, as counter 3 is incremented, so is counter 4. Further, counters 9, 10, and 11 are used for storing a count determined by a panel entry made on panel entry 8.

The operating conditions are initially determined by the operator setting dials or making entries on panel 8. By doing this, a zone is established within the total line length between the left and right margins; the left terminus of the zone being A characters and the right being B characters from the left margin. It will be noted that values A, B, and C are recorded by counters 9, 10, and 11, respectively; C being the number of characters equivalent to a tab length, and accumulated upon the occurrence of a tab code.

The output pulses from counter 11 provide part of the input to counter 3, whereas the output pulses of counters 9 and 10 provide part of the inputs to comparator circuits 13 and 12, respectively.

Assuming a possible total character line length of 80 established by the operator setting the measure between the left and right margins, the establishment of a zone defined by A and B where A is equal to 30 characters and B is equal to 50 characters will result in comparators 12 and 13 determining the path of output pulses to produce preserved or justified line endings. If an input line is such that the printed text begins at the left margin and extends for an equivalent of 40 input characters, counter 3 representing the total input count D will accumulate the value of 40. The output of comparator 12 will follow line 14 indicating a preserved line ending. Upon the receiving of a carrier return code indicating the end of the input line, the preserve signal is gated through AND circuit 5 to justification computer 2 where the output of printer 17 will be preserved line endings.

Now, assume an input line is such that the printed text begins at a point 40 input characters from the left margin and extends for an equivalent of 30 input characters to give a total count of 70. In this case the length of nonprinted text from the left margin to the printed text is counted by accumulating an equivalent value for input characters for each tab code. For each tab code sent from record reader 1 to counter 3, a tab length from counter 11 is accumulated in counter 3. For normal input characters the same value is accumulated in both counters 3 and 4. However, the value in counter 4 is reset to zero for each tab code from record reader 1. Thus, for this example, counter 3 representing the total input count D will accumulate the value of 70 while counter 4 representing the number of input characters E since the last tab code will accumulate the value of 30.

The output of comparator 12 will follow line 18 indicating that the first condition for a justified line has been met. The subtractor 15 will subtract the value in counter 4 from the value in counter 3 to give a value F which represents the length of unprinted text from the left margin to the printed text. The output of comparator 13, for this example where F is found to be 40, will follow line 19 indicating a preserved line ending.

Had the input line been such that the printed text extended from 20 input characters to 70 input characters, the output of comparator 13 would have followed line 20 since both conditions for justifying would have been met. Upon receiving the carrier return signal, the justify signal is gated through AND circuit 6 to justification computer 2 where the output of printer 17 will be a justified line.

In the first example, D was equivalent to 40 characters which could in actual practice have resulted from a lengthy address in a business letter, and as pointed out earlier, justification obviously would not have been desirable. It can therefore be seen that a total overlap of the zone defined by A and B with printed text is the only case calling for justification while a partial overlap will result in preserved line endings.

A more detailed understanding of the invention can be obtained from referring to the following diagram and additional examples. ##SPC1##

For each line it will be assumed that an operator has made panel entries setting the values of A, B, and C to be 30, 60, and 10, respectively.

line 1 A+30 B=60 C=10 D=80 (2 tabs of 10 units each plus 60 units of text) E=60 (the count of counter 3 after the last tab code) D>B D-E=F=20 F<A Solution = justify line 2 line 3 A=30 A=30 B=60 B=60 C=10 C=10 D=60 D=70 E=60 E=40 D=3 D>B D-E=F=0 D-E=F=30 F<A F=A Solution = justify Solution = justify line 4 line 5 A=30 A=30 B=60 B=60 C=10 C=10 D=20 D=80 E=10 D<B D>B Solution = preserve D-E=F=70 F>A Solution = preserve line 6 line 7 A=30 A=30 B=60 B=60 C=10 C=10 D=40 D=70 E=20 D<B D>B Solutions = preserve D-E=F=50 F>A Solution = preserve line 8 line 9 A=30 A=30 B=60 B=60 C=10 C=10 D=70 D=60 E=50 E=30 D>B D=B D-E=F=20 D-E=F=30 F<A F=A Solution = justify Solution = justify line 10 line 11 A=30 A=30 B=60 B=60 C=10 C=10 D=80 D=60 E=50 D=3 D>B E= 50 D-E=F=30 D-E=F=10 F=A F<A Solution = justify Solution = justify line 12 line 13 A=30 A=30 B=60 B=60 C=10 C=10 D=70 D=80 D>E D>B E=40 E=10 D-E=F=30 D-E=F=70 F=A F>A Solution = justify Solution = preserve line 14 line 15 A=30 A=30 B=60 B=60 C=10 C=10 D=80 D=70 D>B D>B E=10 E=10 D-E=F=70 D-E=F=60 F>A F>A Solution = preserve Solution = preserve

From the above, the line endings relative to the control zone will determine whether justification or preservation is in order. Referring to line 1, the line ending extends from 20 units to 80 units (right margin) and overlaps the control zone satisfying the conditions for a justified line ending. It is to be noted that in effect the line is already justified, but this circumstance will be handled in a routine manner by justification computer 2.

When reference is made to lines 13 and 14, there is no overlap of the zone by the line endings, and therefore, the conditions for preserved line endings are met.

From the above discussion, it can be appreciated that raw data can effectively handled thus lending economies to a process now requiring almost constant surveillance and elaborate coding.

While the invention has been particularly shown and described with reference to several embodiments, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the invention.




<- Previous Patent (MULTIPLE PROGRAM DIG...)   |   Next Patent (KEYBOARD TO TAPE DAT...) ->