CA1223966A - Interactive operator selection of alternative implementations of printer functions - Google Patents

Interactive operator selection of alternative implementations of printer functions

Info

Publication number
CA1223966A
CA1223966A CA000482172A CA482172A CA1223966A CA 1223966 A CA1223966 A CA 1223966A CA 000482172 A CA000482172 A CA 000482172A CA 482172 A CA482172 A CA 482172A CA 1223966 A CA1223966 A CA 1223966A
Authority
CA
Canada
Prior art keywords
text
printer
data stream
line
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000482172A
Other languages
French (fr)
Inventor
Philip T. Berkland
Grady K. Waddell
Allen W. Heath
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Application granted granted Critical
Publication of CA1223966A publication Critical patent/CA1223966A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1297Printer code translation, conversion, emulation, compression; Configuration of printer parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S400/00Typewriting machines
    • Y10S400/904Subscript or superscript character

Abstract

INTERACTIVE OPERATOR SELECTION OF ALTERNATIVE
IMPLEMENTATIONS OF PRINTER FUNCTIONS
Abstract A word processing program is configured to produce a series of examples, for operator ex-amination, of alternative implementations of certain printer functions . By observing the printer perfor-mance and physical appearance during the printing of these examples, the operator interactively chooses one of a plurality of implementations for each of these functions. The operator choices of implementa-tion are saved by the word processing program and subsequent printing is effected in accordance with the implementation chosen by the operator.

Description

Description INTRUSIVE OPERATOR SELECTION OF ALI'ERNATI'7 IM~LE~lENTATIONS OF PRINTER FUNCTIONS

This invention relates to document printing if.
genial and more particularly to a technique enabling interactive operator selection of one O r a plurality of demonstrated implementations of a particular printer function in a system including multiple Techniques of implementation of the same printer function.

3ac.~czround Art Prior art word processing systems, whether stand alone or shared logic, were typically dedicated to the specific purpose of word processing rather than being general purpose data processing machines. The ind~idual components connected together into a complete word processing system were usually totally compatible with earn other and in the great Marc -my of cases, each of the components in such a system.
were made by the same Manufacturer. The software or programs to drive the system were, swim laxly, created by the same manufacturer as that o Ike hardware.
With the rapidly increasing popularity of small computers, commonly referred to as "personal"

AWAIT

computers, word processing capabilities have been created for these computer systems, clang with new problems. In understanding these problems, some important differences between the configurations of typical personal computers and prior art word pro-cussing machines must be understood. In today's personal computer environment, it is quite possible that the computer system includes components from different manufacturers. A notable example of this is the fact that it is quite common to use a printer in a personal computer system that is neither man-ufactured by, nor o~icially recommended or use by the manufacturer of the central processing unit of the personal computer.
In typical data processing operations, printer capability with the remainder of the personal compute or system, including its software, has not been a problem because the printed output of data processing operations has been relatively unsophisticated, since the manner of expressing the printed data output on the page has not had overwhelming importance in data processing printing operations. However, in word processing operations, the anesthetics of the printed presentation of the words takes on substantially greater importance. Thus, there are better and more expensive "letter-quality" printers being demanded by many who use personal computers for word processing operations.
Word processing printing operations, as destiny-gushed from data processing printing operations, have historically been significantly more complex in the implementation of certain printer functions.
additionally, these complex implementations of certain printer functions have varied from printer to printer. For example, one printer may accomplish the AWAIT

~LZ~3~6 underscoring of a series of words separated by inter word spaces (where it is desired to provide a continuous underscore of the group of words and the spaces there between) by responding to a "begin underscore" non-printing, control code in the data stream which precedes the first character of the first word in the sequence of words to be under scored. The last character in this sequence of words is then followed by an "end underscore" control code and the hardware or software control logic in the printer responds appropriately to these codes to provide underscoring of the text. When a "dumber"
printer is used which does not respond to begin and end underscore controls, block underscoring ox text in the manner described above can nevertheless be accomplished in a number of ways For example, a computer program running in the central processing unit could be made aware of the fact that the "dumber" printer presently connected is not respond size to begin and end underscore control codes. The program could, alternativel y, activate an underscore flag associated with each of the character codes and spaces in the sequence of words going to the printer to be underscored. As another alternative, at the end of the sequence of words to be block underscored, the printer could insert the appropriate number of backspaces and underscore codes to provide underscore in of the text in a three step process. More sophisticated versions of the latter approach could be employed including two pass printing of the line without indexing between passes.
The printing superscripts and subscripts and the printing of bold faced text involves problems analog gout to those described above relative to the block underscoring of text Some printers directly respond Aye to control codes calling for characters following them to be printed as superscripts or subscripts or boldly, while other printers are incapable of explic-lily responding to those control codes, although the printers may be responsive to other codes which can be sent to the printer in an appropriate sequence to cause performance of the desired operations. In the case o-E superscripts and subscripts, the printer may support forward and reverse half index capabilities or variable, fractional line indexing capabilities which can be used to print superscript and subscript characters in one or multiple printing passes. The printing of bold text by a printer not directly supporting this function might be accomplished by multiple printing passes of the text to be displayed boldly on the printed page, and possibly with slight displacement of the characters to be printed boldly.
Thus, in order that word processing computer programs correctly send the appropriate codes to a connected printer, it is necessary that these pro-grams have knowledge of the functional capabilities of the printer. Having acquired this knowledge, it is known to indirectly implement the above-described special printing functions for a given computer, program, printer configuration. However, a given implementation may be anesthetically unacceptable.
Or, performance may be unacceptable because of low throughput speed.
As an example of a performance problem, consider the printing of multiple pages having a large plural-fly of superscripts and subscripts. If the implement station involves a separate line printing pass for each level of text, printer throughput could be slowed remarkably, and possibly to an extent which would render it more desirable to accept less than Aye 06~

the best appearance for greater speed which, in the case of superscripts and subscripts, could be accom-polished by making the superscript and subscript text smaller characters in either the upper or lower limit within the same print line as will be shown by way of example in the detailed description herein.
Thus, while prior art word processing programs have had some capability to drive printers that do not directly support some of top coded functions called for by the word processing data stream, no means has been available to automatically provide examples of the various implementations of special printer functions to the operator or to allow the operator to interactively choose the desired imply mentation of the printer function.

Disclosure of the Invention A word processing program including programming for providing printer functional operations according to data stored in a table is configured to produce a series of examples of the execution ox certain printer junctions for operator examination before a formal document printing operation is started. By observing the printer performance and physical appearance of the text or graphical data generated during the printing of this plurality of examples, the operator is able to intelligently choose one of a plurality of implementation techniques for each of these functions capable of implementation in more than one way. The operator choices of implementation are saved by the word processing program and subset quint printing of one or more jobs is effected in accordance with the implementation chosen by the operator.

~T9-8~-069 I

The operator's choice of implementation may typically be different from one job to the next depending on the job contents. An implementation having a very significant performance impact may be acceptable in view of its highly desired appearance when it is apparent to the operator that the perform mange impact of executing the special function is minimal because of a minimal requirement within the document to execute that function. Alternatively, in cases in which the operator is aware of frequent needs for that function, it may be desirable to choose an implementation resulting in degraded appearance in view of the higher speed of that operation.
The foregoing and other objects, features, extensions, and advantages O r the invention will be apparent from the following more particular descrip-lion of preferred embodiments ox the invention, as illustrated in the accompanying drawing.
Brief Description of Drawing Fig. 1 is a block diagram which shows the data slow in establishing an operator preferred implement station of one or more printer functions.
Fig. 2 is a block diagram which shows the data flow in a computer system which utilizes the operator selectable implementation of printer functions of this invention.
Fig. 3 is a programming flow chart which shows the establishment of alternative implementations of a particular printer function for storage and present-lion to an operator for choosing a particular imply-mentation ox the printer function.
Fig. 4 is a programming flow chart which shows the specific operations performed in printing a line Awry -0~9 :~2~3~

of text according to the several implementations of printing superscript and subscript text.
Fig. 5 shows three lines of text examples printed according to alternative implementations of handling superscripts and subscripts.
Fig. 6 is a programming flow chart which shows the specific operations performed in printing a line of text according to the several implementations of printing bold text.
Fig. 7 is a programming flow chart which shows the specific operations performed in printing a line of text according to the several implementations of printing underscored text.

Best Mode for Carrying Out the Invention Referring now to Fig. 1, a printer description table setup program 1 is utilized as part of a word processing program to enable a relatively unlimited variety of printers to be described which, in turn, allows the word processing data stream to be appear-privately modified to enable correct printing of the text in the manner intended by the operator.
Using such a program 1, a plurality of control so-quinces 1, 2, and 3 are stored in a random access memory 11. The control sequences 1, 2, and 3 are particular programming routines, including data constants, as appropriate, to cause a particular special printer function to be implemented in a particular manner.
For example, refer now to Fig 5 in which three lines of substantively identical text are represented ....

AWAIT

~3~6 in three different ways. In text line 51 it is apparent with regard to the words "superscript" and "subscript" that it was intended to have each of the characters of the words printed as superscript and subscript characters, respectively. In the data stream of the word processing program for this text the operator preceded the word "superscript" with a half index up instruction and immediately succeeded the word "superscript" with a half index down instruction. Similarly, the word "subscript" was immediately preceded and immediately succeeded by half index down and half index up instructions, respectively. Line 51 of the example text shown in Fig. 5 shows the operator that the particular printer attached to and being driven by program 1, is capable of responding to the half index up and half index down instructions of the text data stream and printing the text bounded by those control codes in accordance with line 51 of Fig. 5. However, although the presentation of the text by the printer as shown in line 51 may be the fastest way to print this text, it may also be less than the most anesthetically desirable presentation to the operator or reader.
Accordingly, program 1 is capable of providing alternative instructions and routines to the printer to enable a different, and perhaps anesthetically more desirable output. Line 52 of Fig. 5 depicts the printing of the same line of text as that printed in line 51 of Fig. 5. Before line 52 is printed, program 1 has provided for the replacement of the half index up and half index down instructions with forward and reverse half index control codes, which effectively coonhounds the printer to respond literally to the operator's initial instructions, if the printer is capable of doing so. It is, therefore, ' Aye g immediately obvious in Fig. 5 that the printer does not support or respond to half index up and half index down control codes.
Referring back to Fig. 1, the control sequence including replacing half index up and half index down instructions with begin and end superscript and subscript control codes to be applied to the text for printing in the manner shown by line 51 of Fig. 5 is stored as control sequence 1 in the random access memory 11. Similarly, the control sequence whereby the half index up and half index down instructions are replaced by forward and reverse half index control codes is stored as control sequence 2 in the random access memory 11. Control sequence 3 stored in the random access memory 11 causes conversion ox the half index up and half index down instructions to variable line spacing control codes. Accordingly, the text shown in line 53 of Fig 5 has been printed in three passes, with the superscript text having been printed on the first pass, the main text having been printed with additional incremental indexing beyond the level on which the superscript text is printed, and the subscript text having been printed as another line with additional incremental indexing beyond the line on which the main text is printed.
Referring back to Fig. 1, after the control sequences 1, 2, and 3 have been established by the printer description table setup program 1 and have been stored in the random access memory 11, the function selection tests of program 10 are run which at this time results in the printing of the plurality of lines of identical characters as shown in Fig. 5.
When this text is printed the operator is able to make judgments as to the relative speed of the printing and also with regard to the aesthetic quality of the particular manner in which the text is displayed by the printer. At this point the operator chooses how it is desired to handle the special printer function being demonstrated (in this example, the printing of superscript and subscript characters and makes a choice which, in turn, causes the program 10 to store at location 12 of the random access memory 11, the identifier of the control sequence 1,
2, or 3 corresponding to the choice made by the operator. It should be noted that all control sequences continue to be saved in memory 11, even though only one was chosen to be the preferred implementation for printer operation. The saving of the non-chosen control sequences allows for a change in the operator's choice at a later time by replaying the example text for a different operator choice.
Referring now to Fig. 2, operation of a computer system utilizing this invention is described. The computer system includes a processor 20 which no-chives codes representative of text and control characters from a keyboard 21. The processor can store this text in the random access memory if by means of a system data bus 23 connected between the processor 20 and the random access memory 11.
Concurrent with sending codes to the random access memory 11, the processor 20 may also communicate codes to a display 24 for depicting to the operator the codes keyed at keyboard 21.
In a word processing mode, text keyed at key-board 21 and entered into the random access memory issue typically entered into memory 11 according to a word processing program 25 which is also stored in the random access memory 11. In accordance with this word processing program 25, the keyed text may, for example, be entered in area 26 of the random access AWAIT

memory 11. When printing of the text in area 26 of the random access memory 11 is desired, a printer function control program 26 (which program ma be additional routines of or appended to program 25) is invoked to format the text stored in area 26 of the random access memory 11 before sending this text to the printer. This printer function control program 26 includes selection logic which receives a control sequence identifier (such as the one stored at location and described above with reference to Fig 1.) and utilizes this identifier to select the appropriate control sequence, such as 1, 2, or 3, to provide proper formatting in implementing the special functions to by performed by a printer 29.
Referring now to Fig. 3, this programming slow chart shows the process for establishing and display-in alternative implementations of a particular printer function to an operator for choosing a particular implementation of the printer function.
Fig .3 should also be considered in view of the overall description of the implementation and opera-lion of this invention relative to Figs. 1, 2, and 5.
In Fig. 3, at 310 a printer description table is addressed to determine if the particular printer described by a printer description table 14 directly supports responds to) superscript or subscript controls. If so, at 311 an output test line, such as text line 51 in Fig. 5, is printed by using super-script and subscript controls. If not, at 312 the same characters of text in the output test line are sent to the printer without the superscript and subscript controls. In either case the operation proceed to 313, at which time the Fritter descrip-lion table 14 is again consulted to determine if the chosen printer supports forward and reverse half AWAIT

~2~3~6~

index controls. If not, the line of text characters is output using no special controls for the super-script and subscript text. Russ is the situation relative to text line 52 of Fig. 5. If, however, the printer supports forward and reverse half index control codes, the line of text is output appropri-lately using those controls to provide the superscript and subscript printing functions.
Similarly, at 316 the printer description table 14 is consulted to determine if the printer supports variable line spacing commands. If so, at 317 the test line is output to the printer using multiple printing passes by means of the variable line spacing controls to indirectly provide support for super-script and subscript printing. Such printing is shown in line 53 of Fig. 5. If variable line spacing controls are not supported by this printer, the test line of text may be output, at 318, with the super-script text being printed a whole line above the other text and the subscript text being printed on the same line as the Dither text.
At 319 the operator is prompted for a selection of the chosen one of the above described implement stations for printing superscripts and subscripts. At 320 if the operator has selected the variable line spacing implementation demonstrated by the example of text line 53, the identifier for the variable line spacing routine is saved at location 12 in the random access memory. If the implementation associated with text line 53 is not chosen, at 323 a test is made to determine if the forward and reverse, half index technique attempted at text fire 52 or the super-script/subscript controls implementation shown in text line I has been selected. If the Aye 069 I

superscript/subscript controls implementation is chosen, at 324 the identifier for this routine is stored at location 12 of the random access memory 11.
If the forward and reverse, half index impleTnentation attempted at text line 52 is chosen, at 325 the identifier for this routine is saved at location 12 of the random access memory 11.
The following programming design language listing is another form of the description of the above technique of establishing alternative implement stations of a particular printer function for storage and presenting examples of these alternatives to an operator for choosing a preferred one of the tech-piques. This listing parallels the operation de-scribed above relative to the flow chart ox Fig. 3.
IF superscript/subscript controls are in the table THEN
output test line 51 using superscript and subscript controls ELSE
output test line 51 using no controls END IF
IF forward half index/reverse half index controls in table THEN
output test line 52 using forward and reverse half index controls ELSE
output test line 52 using no controls END IF
IF variable line spacing controls in table THEN
OUtpl1t test line 53 using variable line spacing and multiple passes AWAIT

I

ELSE

output test line 53 with superscript text printed 1 line above other text END IF
Prompt for user selection IF line 53 selected THEN
set multiple passes selected ELSE
IF line 51 selected THEN

set superscript and subscript controls selected ELSE
set forward and reverse 1/2 index selected END IF

END IF

The flow chart depicted in Fig 4 should now be considered with respect to the block diagram of Fig.
2. Fig. A shows the specific operations performed by the printer function control program 26 in printing a line of text according to a particular chosen imply-mentation of the printing of superscripts and sub-scripts. In Fig. 4, at 401 location 12 of the random access memory 11 is interrogated to determine if the identifier associated with the variable line spacing implementation has been selected. If so, at 402 the printer description table at location 14 of the random access memory 11 is interrogated to determine if variable line spacing controls are resident in the table.

spuming these controls are resident in the printer description table 14 and assuming that a data stream of an actual document to be printed is sent to the printer with half index up and half index down instructions for superscripts and subscripts in the data stream, the routine presently identified at location 12 in the random access memory 11 causes the half index up and half index down instructions in the data stream to be converted to variable line spacing controls so that printing of the text line occurs in multiple passes rather than in one pass. On the first pass, only the superscript text is printed. On the second pass, the "normal" line of text is printed and on the third pass the subscript text is printed.
However, at 402 if variable line spacing controls were not found in the printer description table 14 of the random access memory if, at 404 the half index up and half index down instructions in the text data stream are removed from the data stream and the text, including the superscripts and subscripts, is sent to the printer to be printed at the same level, on the same line.
At 401, if the identifier at location 12 of the random access memory 11 does not identify the van-able line spacing technique, at 405 the identifier allocation 12 of the random access memory 11 is tested to determine if the forward and reverse, halt index implementation has been chosen. If so, the operation proceeds to 406 at which the data stream is sent to the printer substituting the forward and reverse half index controls from the printer description table 14 in place of the half index up and half index down instructions in the text data stream. This assumes that the printer supports half index up and down control codes. It it does not, the text is sent to AWAIT

I

the printer with the superscript text being printed a whole line above the other text and the subscript text being printed on the same line as the main text so that any subscript text will be indistinguishable from "normal" text.
If the forward and reverse, half index technique was not selected at ~05, then at 407 the text is output to the printer substituting the super-script/subscript control codes from the printer description table 14 in place of the half index up and half index down instructions in the text data stream originally keyed by the operator to establish superscripts and subscripts.
The following programming design language listing is another form ox the description of the above-described operations performed in printing a line of text according to the several implementations of printing superscript and subscript text This listing parallels the operation described above relative to the flow chart of Fig. I.
IF variable line spacing selected THEN
IF variable line spacing control in table THEN
output text in 3 passes for 1/2, baseline, and 1/2 down text using the variable line spacing control to set line spacing ELSE
output text without the 1/2 up and down controls END IF
ELSE
IF forward/reverse 1/2 index selected THEN
output text substituting the for-ward/reverse 1/2 index controls from the table for the 1/2 up/down instructions ATg-84-069 17 3~6 ELSE
output text substituting the super-script/subscript controls from the table for the 1/2 up/down instructions ~NDIF
END IF

Another example of a printer function which may have alternative implementations associated with differing performance and appearance considerations is the printing of bold text. There are a variety of ways in which bold text can be printed. First 7 the printer might simply be caused to double strike the text characters intended to be printed boldly. An implementation to achieve even bolder ones of the characters desired to be printed boldly is to print the line on a first pass without any bold commands or controls and then boldly reprint the characters desired to be printed boldly directly over the positions in which they were printed on the first, normal pass. This requires a minimum of two printing passes and, possibly, three printing passes if the "bold" pass, itself, requires two passes. The performance degradation consideration here will be immediately understood, although the appearance may be highly desirable Another alternative to printing bold text is to output the line normally and make a second printing pass of the same line printing those characters to be printed boldly in slightly displaced locations from the positions in which they were printed on the first pass.
The implementation for printing examples and choosing a particular implementation for printing bold characters is accomplished in a manner analogous to that described above with reference to Fig. 3.

AWAIT

I

Control sequences for implementing alternative techniques for underscoring text are stored in the random access memory 11 as control sequences 4, 5, and 7. after the choice of implementing this lung-lion is made, an identifier associated with the chosen implementation is stored at location 15 in the random access memory 11 for reference during an actual printing operation in which bold text is to be - printed.
Referring now to Fig. 6, and assuming that instructions are included in the text data stream delimiting one or more characters to be printed boldly, at ~01 location 15 of the random access memory 11 is accessed to determine the choice of implementation of the routine for printing bold text.
If "displaced" print is selected, at 602 the line of text is formatted to be sent to the printer normally, without special printing of the text to be printed boldly. At 603 a carrier return, without a line feed control, is included in this line formatting opera-lion to allow a second printing pass of that line to be made. At 604 an offset escapement is added to the print carrier position to provide another printing pass at 605 in which only the characters to be printed boldly are printed in positions displaced from the positions in which they were printed in the printing pass formatted at 602, this displacement being determined at 604 by the amount selected during setup.
If, at 601 displaced print for bold characters was not selected the operation proceeds to 606. If the implementation of simply double striking the characters to be printed boldly has been selected, at 607 the line is output for printing with the begin and end bold control codes delimiting the text to be AWAIT

19 ~2~3~
printed boldly. The more complex, non-displaced, double striking, bold printing mode takes the path through 608 through 610. Thus, at 606 if double strike only is not selected, at 608 the line is output to the printer without the begin and end bold control codes delimiting the text to be printed boldly. Then, at 609 a carrier return without a line feed is sent to the printer and at 610 only the characters to be printed boldly are sent to the printer, bounded by the begin and end bold control codes. This causes only those characters to be reprinted, but they are reprinted boldly by double striking in this operation at 610. Thus, it will be understood that with the path taken through 608-610 the characters to be printed boldly are actually struck three times, that is, one time on the first, normal printing pass without bold controls and twice more when the characters to be printed boldly are sent to the printer with the begin and end bold 0 controls.
The following programming design language listing is another form of the description of the above-described operations performed in printing a line of text according to the several implementations 5 of printing bold text. This listing parallels the operation described above relative to the flow chart of Fig. 6.
IF displaced print selected THEN
output line carriage return without line feed offset selected amount double strike bold characters
3 ELSE

I
It double strike with bold selected THEN
output the line without begin/end bold controls carriage return without line feed double strike bold characters with begin/end bold controls ELSE
output line with begin/end bold controls END IF
END IF
Another example of a printer function which may have alternative implementations associated with differing performance and appearance considerations lo the printing of underscored text. There are a variety of ways in which underscored text can be printed. For example, many word processing programs allow the operator to include begin and end under-score instructions in the text data stream which, if the printer supports such an operation, may provide - for the insertion of begin and end underscore control codes into the print data in the places of the begin and end underscore instructions. With some printers, however, it is difficult to accomplish underscoring according to this technique when -there are spaces to be underscored. A solution to this problem is to convert the spaces (with which there is sometimes difficulty controlling a printer to underscore to a blank, escaping printer control character that the printer does not reject underscoring.
Another alternative to underscoring text is to send the appropriate sequence of underscore kirk lens to the printer to be positional placed appear-privately relative to the text (including spaces) to AWAIT

21 ~23~
be underscored. Here, the printing of a line include in underscored text takes two printing passes without an intervening line feed. The speed is obviously slower than the approach described above but may provide for correctly underscored text in printers that neither support underscoring spaces or any other non-printing, escaping printer control codes.
The implementation for printing examples and choosing a particular implementation for underscoring text is accomplished in a manner analogous to that described above with reference to Fig 3. Control sequences for implementing alternative techniques for underscoring text are stored in the random access memory 11 as control sequences 7 and 8. After the choice of implementing this function is made, an identifier associated with the chosen implementation is stored at location 16 in the random access memory 11 for reference during an actual printing operation in which underscored text is to be printed.
Referring now to Fig. 7, and assuming that instructions are included in the text data stream delimiting one or more characters to be underscored including spaces there between, at 701 location 16 of the random access memory 11 is accessed to determine the choice of implementation of the routine for underscoring text. If the use of begin and end underscore control codes is selected, at 702 the text is sent to the printer for printing with begin and end underscore control codes in the print data stream in place of the begin and end underscore instructions in the text data stream. Where spaces occur in the text delimited by the begin and end underscore instructions, a substitution character from the printer description table 14 is used in place of the AWAIT

spaces within the text bounded by the begin and end underscore instructions. These substitution kirk-lens are escaping, non-printing control codes which accept underscoring.
At 701 if the identifier at location 16 of the random access memory 11 denotes an implementation in which begin and end underscore control codes will not be sent to the printer, at 703 an underscore line is sent to the printer positional located for under-scoring the characters bounded by the begin and end underscore instructions in the text data stream At 704 the carrier is returned without a line feed and at 705 the entire text line is printed.
The following programming design language listing is another form of the description of the above-described operations performed in printing a line ox text according to the several implementations of printing underscored text. This listing parallels the operation described above relative to the flow chart of Fig. 7.
IF begin/end underscore selected THEN
print text using begin/end underscore controls.
use a substitution character from the table for underscored characters ELSE
print '_' for underscored characters output carriage return without line feed print the text END IF
While the invention has been shown and described with reference to particular embodiments thereof, it will be understood by those skilled in the art that the foregoing and other changes in form and details AWAIT

may be made therein without departing from the spirit and scope of the invention.

Claims (18)

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
1. In a computer system including a printer, a method of causing said printer to execute a particular function in a particular manner, comprising:
printing a plurality of example sequences of characters, each example being printed according to a different formatting method;
saving in a storage of said computer system, an operator's choice of one said formatting method; and formatting characters subsequently sent from said computer to said printer in accordance with said choice of one said formatting method.
2. In the method of Claim 1, further comprising saving in said storage of said computer system, one or more of said different formatting methods other than said operator's choice of said one said formatting method.
3. In the method of Claim 1, further comprising saving in a memory of said computer system, each said different formatting method.
4. In the method of Claim 1, wherein said step of saving said operator's choice comprises saving an identifier of said operator's choice of said formatting method.
5. In the method of Claim 1 wherein said particular function is printing superscript and subscript text.
6. In the method of Claim 5 wherein one of said different formatting methods comprises:

substituting a begin superscript control code in a printer data stream for a half index up instruction in a text data stream and an end superscript control code in said printer data stream for half a index down instruction in said text data stream when said half index up instruction in said text data stream is followed by one or more text characters followed by said half index down instruction.
7. In the method of Claim 6 wherein said one of said different formatting methods further comprises:

substituting a begin subscript control code in said printer data stream for said half index down instruction in said text data stream and an end subscript control code in said printer data stream for half said index up instruction in said text data stream when said half index down instruction in said text data stream is followed by one or more text characters followed by said half index up instruction.
8. In the method of Claim 5 wherein one of said different formatting methods comprises:

substituting reverse half index and forward half index printer control codes in a printer data stream for half index up and half index down instructions, respectively, in a text data stream.
9. In the method of Claim 5 wherein one of said different formatting methods comprises:

formatting a printer data stream in response to a half index up instruction followed by one or more text characters followed by a half index down instruction in a text data stream, said printer data stream including a first line to be printed comprising said one or more text characters followed by a variable line spacing control followed by a second line of text characters to be printed after said first line of characters.
10. In the method of Claim 5 wherein one of said different formatting methods comprises:

formatting a printer data stream in response to a half index down instruction followed by one or more text characters followed by a half index up instruction in a text data stream, said printer data stream including a first line of text to be printed followed by a variable line spacing control followed by a second line of text characters to be printed after said first line of characters, said second line of text characters consisting of said one or more text characters.
11. In the method of Claim 1 wherein said particular function is printing bold text.
12. In the method of Claim 11 wherein one of said different formatting methods comprises:
formatting a printer data stream in response to a begin bold instruction followed by one or more text characters followed by an end bold instruction in a text data stream, said printer data stream including a first line of text to be printed including said one or more text characters followed by a carrier return without index control code followed by a second line of text characters to be printed after said first line of text, said second line of text characters consisting of said one or more text characters, and said second line of text being preceded by an escapement control code to cause said one or more text characters to overlie identical text characters in said first line of text with slight relative displacement therebetween.
13. In the method of Claim 11 wherein one of said different formatting methods comprises:
substituting begin double strike and end double strike printer control codes in a printer data stream for begin bold and end bold instructions, respectively, in a text data stream.
14. In the method of Claim 11 wherein one of said different formatting methods comprises:

formatting a printer data stream in response to a begin bold instruction followed by one or more text characters followed by an end bold up instruction in a text data stream, said printer data stream including a first line of text to be printed including said one or more text characters followed by a carrier return without index control code followed by a second line of text characters to be printed after said first line of text, said second line of text characters comprising said one or more text characters and having multiple-striking printer control codes associated therewith.
15. In the method of Claim 1 wherein said particular function is printing underscored text including spaces.
16. In the method of Claim 15 wherein one of said different formatting methods comprises:

substituting escaping, non-printing printer control codes, other than space codes, in a printer data stream for space codes in a text data stream.
17. In the method of Claim 15 wherein one of said different formatting methods comprises:

formatting a printer data stream in response to a begin underscore instruction followed by one or more text characters including a space followed by an end underscore instruction in a text data stream, said printer data stream including a first line of text to be printed including said one or more text characters followed by a carrier return without index control code followed by a second line of underscore characters to be printed after said first line of text, said second line of underscore characters being preceded by an escapement control code to cause said one or more underscore characters to underlie said one or more text characters and said space.
18. In a computer system including a printer, the improvement for causing said printer to execute a particular function in a particular manner, comprising:
means for printing a plurality of example sequences of characters, each example being printed according to a different formatting method;
means for saving in a storage of said computer system, an operator's choice of one said formatting method; and means for formatting characters subsequently sent from said computer to said printer in accordance with said choice of one said formatting method.
CA000482172A 1984-10-24 1985-05-23 Interactive operator selection of alternative implementations of printer functions Expired CA1223966A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US06/664,180 US4648047A (en) 1984-10-24 1984-10-24 Interactive operator selection of alternative implementations of printer functions
US664,180 1984-10-24

Publications (1)

Publication Number Publication Date
CA1223966A true CA1223966A (en) 1987-07-07

Family

ID=24664909

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000482172A Expired CA1223966A (en) 1984-10-24 1985-05-23 Interactive operator selection of alternative implementations of printer functions

Country Status (5)

Country Link
US (1) US4648047A (en)
EP (1) EP0182042B1 (en)
JP (1) JPH0731584B2 (en)
CA (1) CA1223966A (en)
DE (1) DE3587105T2 (en)

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6174063A (en) * 1984-09-18 1986-04-16 Casio Comput Co Ltd Data output system
NL8501888A (en) * 1985-07-01 1986-04-01 Oce Nederland Bv OFFICE AUTOMATION SYSTEM.
DE3682880D1 (en) * 1985-11-28 1992-01-23 Canon Kk DOCUMENT PROCESSING SYSTEM.
US5182709A (en) * 1986-03-31 1993-01-26 Wang Laboratories, Inc. System for parsing multidimensional and multidirectional text into encoded units and storing each encoded unit as a separate data structure
US4855949A (en) * 1986-05-05 1989-08-08 Garland Anthony C NOCHANGE attribute mode
US4831583A (en) * 1986-05-05 1989-05-16 International Business Machines Corporation System for saving previous format parameters and using the saved format parameters and changed format parameters to format data output
CA1274320A (en) * 1986-06-13 1990-09-18 Frank E. Levine User defined printer control
US4991972A (en) * 1986-07-14 1991-02-12 Minolta Camera Kabushiki Kaisha Control apparatus for a printer
EP0259957B1 (en) * 1986-07-15 1993-02-03 Brother Kogyo Kabushiki Kaisha Text processing device
JPS63172330A (en) * 1987-01-12 1988-07-16 Hitachi Ltd Halftone application system for document processor
US4862386A (en) * 1987-03-13 1989-08-29 Pitney Bowes Inc. Apparatus for preparing a letter
US5630032A (en) * 1987-04-07 1997-05-13 Minolta Camera Kabushiki Kaisha Image generating apparatus having a memory for storing data and method of using same
JPS63252773A (en) * 1987-04-09 1988-10-19 Brother Ind Ltd Document forming device
US4905181A (en) * 1987-04-20 1990-02-27 Wang Laboratories, Inc. Interactive system with state manager subsystem
JPS6436327A (en) * 1987-07-31 1989-02-07 Hitachi Ltd Optical printer controller
US4996649A (en) * 1987-08-11 1991-02-26 Minolta Camera Kabushiki Kaisha Image processor capable of storing character images and graphic images in a memory and including a timer for ensuring image processing operations are carried out in a predetermined time period
CN1009591B (en) * 1987-09-23 1990-09-12 北京市海淀区四通新技术研究所 Computer editing and composing system and method
US4990005A (en) * 1987-10-30 1991-02-05 Brother Kogyo Kabushiki Kaisha Printer that prints a table of information about printing effects using the selected printing effects
US4975858A (en) * 1987-12-28 1990-12-04 Minolta Camera Kabushiki Kaisha Controller for a printer for printing data received from an external data processor
US5018081A (en) * 1988-01-07 1991-05-21 Minolta Camera Kabushiki Kaisha Printer with automatic restart
US5075874A (en) * 1989-04-10 1991-12-24 Eastman Kodak Company Communications interface for computer output printer
JP2783601B2 (en) * 1989-07-13 1998-08-06 キヤノン株式会社 Information processing device
US5050098A (en) * 1989-08-25 1991-09-17 Lexmark International, Inc. Printer initialization system
US5164842A (en) * 1990-06-29 1992-11-17 Xerox Corporation Job/page proofing for electronic printers
US5239622A (en) * 1991-11-28 1993-08-24 Monarch Marking Systems, Inc. Barcode identification system format editor
DE69329477T2 (en) * 1992-06-30 2001-05-10 Canon Kk Dispensing method and device
US5611046A (en) * 1992-11-18 1997-03-11 Canon Kabushiki Kaisha Method and apparatus for interfacing a peripheral to a local area network
JP3266685B2 (en) * 1993-02-17 2002-03-18 ブラザー工業株式会社 Printer
JP3051798B2 (en) * 1993-06-16 2000-06-12 キヤノン株式会社 Output control device and output control method
US5717838A (en) * 1995-10-31 1998-02-10 Seiko Epson Corporation Computer calibration of a color print image using successive refinement
JP4298146B2 (en) * 2000-08-22 2009-07-15 キヤノン株式会社 Information processing apparatus and method for generating print data
US7162453B1 (en) * 2001-06-29 2007-01-09 I2 Technologies Us, Inc. Protecting content from unauthorized reproduction

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5314374B2 (en) * 1973-04-09 1978-05-17
US4057849A (en) * 1974-09-23 1977-11-08 Atex, Incorporated Text editing and display system
GB1487507A (en) * 1975-12-29 1977-10-05 Ibm Information retrieval system
IT1108103B (en) * 1978-07-18 1985-12-02 Olivetti & Co Spa ELECTRONIC WRITING MACHINE
WO1981002211A1 (en) * 1980-01-21 1981-08-06 Centronics Data Computer Ram interfacing print and format controllers in printer system
JPS5814755A (en) * 1981-07-21 1983-01-27 Ricoh Co Ltd Bold printing method in printer
US4491933A (en) * 1982-03-18 1985-01-01 Wordtronix Inc. Word processor
JPS59114630A (en) * 1982-12-20 1984-07-02 インターナショナル・ビジネス・マシーンズ・コーポレーション Remote printer setting apparatus through remote display terminal
JPS59164163A (en) * 1983-03-08 1984-09-17 Usac Electronics Ind Co Ltd Printer apparatus with off-line printing mechanism
JPS59188459A (en) * 1983-04-12 1984-10-25 Brother Ind Ltd Print controller for typewriter

Also Published As

Publication number Publication date
DE3587105D1 (en) 1993-03-25
JPS61103239A (en) 1986-05-21
EP0182042A2 (en) 1986-05-28
EP0182042A3 (en) 1989-10-18
DE3587105T2 (en) 1993-08-12
EP0182042B1 (en) 1993-02-17
US4648047A (en) 1987-03-03
JPH0731584B2 (en) 1995-04-10

Similar Documents

Publication Publication Date Title
CA1223966A (en) Interactive operator selection of alternative implementations of printer functions
EP0119395B1 (en) A system and method for text processing
US4417322A (en) Report generation control system for text processing machines
CA1233269A (en) Data structure for a document processing system
US4445795A (en) Method and apparatus for merge processing in a text processing system
US4491933A (en) Word processor
US4646077A (en) Video display controller system with attribute latch
US5086503A (en) Methods of remapping a keyboard within a computer system
EP0066063A2 (en) Report preparation
JPH0247768B2 (en)
US4308582A (en) Precursory set-up for a word processing system
EP0066038A2 (en) Method for displaying and editing spatially related data in an interactive text processing system
EP0315957B1 (en) Word processor
US4783759A (en) Floating command line
GB2192744A (en) A word processor with attribute functions
US4996640A (en) Data processing system
EP0119396B1 (en) Apparatus for and methods of presenting or displaying data represented as electric signals
US4587634A (en) Data processing apparatus for multiple mode operation as specified by user inputs
EP0250777A2 (en) Improvements in methods and apparatus for controlling printers
JPH02206817A (en) Terminal emulator
JPH0375912B2 (en)
JPS5971528A (en) Original forming machine
JPS59232890A (en) Printer
JP3335859B2 (en) Document creation apparatus and shift error correction method
Russell et al. ORION-The OMEGA Remote Interactive On-line System

Legal Events

Date Code Title Description
MKEX Expiry