Character information processor for printing characters

Abstract: A character information processor which can be applied to a tape printing device. The character information processor is provided with a read-only memory in which a table containing the levels of alternatives of a menu hierarchical structure set correspondingly to each edition function is stored. When an edition level is selected by an operator by keying, only edition operations, which are available at the selected edition level, are displayed on the screen of a display unit as choices. An example of the function of editing a character string is a function for enabling the restoration of a text, on which an edition operation such as an input operation and a deleting operation has been once performed. This function is implemented by providing a restoration buffer in the processor and by storing a character or a character string, on which an operation is performed, and a cause-for-restoration parameter representing a kind of an operation in the processor each time when an operation such as an input and a deletion is performed, and by performing a restoration operation according to the cause-for-restoration parameter. Further, regarding an operation of editing a printing layout, the processor has an operation of performing a text alignment by converting a full-size space, which is inputted by keying similarly as in the case of an ordinary character, into a half-size space to be treated as a space of a size, which is half of the size of a full-size character, when printing. Moreover, regarding an operation of editing ruled lines, the processor has the following edition function to be performed when printing two adjoining or adjacent paragraphs in such a way that one side of a ruled-line frame pattern for enclosing one of the two paragraphs overlaps with one side of a ruled-line frame pattern for enclosing the other of the two paragraphs. Namely, this edition function is to generate a connecting ruled-line pattern preliminarily prepared as a frame pattern for an overlap between the two ruled-line frame patterns in the case that the two ruled-line frame patterns have a same attribute. This facilitates an operation of designating an ruled-line frame pattern and prevents ill effects of the double printing of a same ruled line.

Description: The present invention relates to a character information processor for printing or transferring one or more lines of input characters onto a printing medium. The present invention can be applied to, for example, a device for printing characters on tape (hereunder referred to simply as a tape printing device), which uses tape as a printing medium, and a seal making device in which a transfer medium (or printing medium) is the face of a carved seal. In the case of a conventional tape printing device for printing a title on the spine or back of a binder (namely, a detachable cover with rings or clamps) or on a "title label" to be attached to a cassette for use in a video cassette recorder (VCR) or in a video tape recorder (VTR), input characters entered by using keys such as alphanumeric keys are printed on the other side of the adhesive-backed tape by performing, for example, a thermal transfer printing to thereby produce an objective printed tape. In this conventional tape printing device, the keys for entering information representing characters are placed on a console panel. Thus a desired sequence of characters can be inputted by operating such keys for entering information representing characters. Moreover, this conventional tape printing device is formed in such a manner that tape can be fed through a tape discharging slot by driving a tape feeding mechanism. Furthermore, a printing mechanism, which is constituted by a thermal print head, and a tape cutting mechanism are placed in series in this passage for tape. When a print instruction key is operated, a control means of the tape printing device controls and causes the tape feeding mechanism to feed the tape at a predetermined speed. The control means further controls and causes a print station to print preliminarily inputted characters on the fed tape. Moreover, upon completion of printing of a sequence of the characters, the control means of the tape printing device continuously controls and causes the tape feeding mechanism to feed the tape until a printed part of the tape goes out of the device. When the printed part of the tape goes out of the device, the control means causes the tape feeding mechanism to make the tape stop running. Further, after the tape stops running, a user operates the tape cutting mechanism to thereby obtain a custom label, on which the sequence of desired characters are printed. Even in the case of the aforementioned conventional tape-printing device, a sequence of desired characters can be inputted and edited by performing an input operation method similar to a method employed in a character information processor such as what is called a word processor. However, in the cases of employing the writing systems of languages, each of which uses many kinds of characters, for example, in the cases of the Japanese and Chinese writing systems, a large number of keys are necessary for directly inputting such characters to the device. Thus, the Japanese characters and the Chinese characters are preliminarily stored in a character-generator memory (hereunder referred to simply as a CG-memory) correspondingly to the combinations of letters of the alphabet of English. Further, the device is endowed with a character conversion function by which a Japanese or Chinese character corresponding to an inputted combination of keyed letters of the alphabet of English is read from the CG-memory. Thereby, the number of necessary keys is reduced. This character conversion function is applied not only to Japanese and Chinese but can be applied to a case where various kinds of symbols, for example, double-wide symbols respectively representing marks such as an arrow, a heart and a spade are stored in the CG-memory (sometimes, such symbols are generically named "full-size character" or "two-byte character"). In the case of converting an input combination of characters of the alphabet of English to a Japanese character, some conventional tape printing devices employ a two-stage conversion method by which the input combination of characters of the alphabet of English is first converted to a set of kana characters of the alphabet of Japanese and subsequently, the set of kana characters are further converted into a kanji character. This method is named "kana-kanji conversion or translation". Kana characters are inputted correspondingly to the pronunciation of a kanji character. In the case where input keys correspond to an English alphabetic code, an input code corresponding to the Roman alphabet is first converted into a kana character code and thereafter, this kana character code is further converted into a kanji character code through the kana-kanji conversion. The conventional tape printing device, however, is small in size in comparison with ordinary personal computers, electronic typewriters and word processors. Thus, the console panel of the conventional tape printing device has a small area, and a liquid crystal display, on the screen of which only several lines of characters can be displayed, is mounted on a display unit thereof. Further, many people, who have inexperienced in using word processors or the like and are unfamiliar with character inputting operations, use the conventional tape printing device. The conventional tape printing device, therefore, has only a small number of kinds of the functions of editing a sequence of characters, namely, the character editing function of the conventional tape printing device are limited. Meanwhile, in the case of the tape printing device, objects to be printed are labels such as a "title label". Thus, a user of the tape printing device often wishes to print a text containing characters of various sizes, the number of kinds of which is larger than that of kinds of sizes of characters contained in an ordinary printed matter produced by using another kind of character information processor. The tape printing device, therefore, support various sizes of characters and is adapted to easily change the size of characters in a part of a text to be printed. Among such various sizes of characters, in the case of some character size, the number of dots (or pixels) arranged in a vertical direction (namely, in the direction of a column) is equal to that of dots arranged in a horizontal or lateral direction (namely, in the direction of a row). However, in comparison with characters of such a size, a character of another character size is shrunk in the lateral direction. Thus, there are a large number of kinds of the sizes of full-size characters. Further, the character size of a character can be easily changed among the sizes of full-size characters. Thus, half-size characters are not available in the conventional tape printing device. When a user requests the conventional tape printing device to print a character of the size which is of the order of the half size, the tape printing device copes with the user request by using a smaller full-size character size. Here, the "full-size character" is defined as a character represented by using dots arranged in such a manner that the number of dots arranged in a vertical direction is equal to that of dots arranged in a horizontal or lateral direction. Further, the "half-size character" is defined as a character represented by using dots arranged in such a manner that the number of dots arranged in a vertical direction of the "half-size character" is equal to that of dots arranged in the vertical direction of the "full-size character" and that the number of dots arranged in a horizontal or lateral direction of the "half-size character" is half of the number of dots arranged in the horizontal direction of the "full-size character". Incidentally, in the case of kana, which is, so to speak, the alphabet of Japanese, the number of dots required for representing a kana character is as small as that of dots required for representing a letter of the English alphabet. Thus, each kana character can be represented as a full-size or half-size character used for representing a kanji character. In contrast, a large number of dots are necessary for representing each of most of kanji characters, as compared with the number of dots required for representing a letter of the English alphabet. It is thus difficult to represent each of most of kanji characters as a half size character. Consequently, most of kanji characters can be represented only as a full-size character. Thus, regarding a spacing function, there has been provided only the function of instructing the device to create a space (hereunder referred to as a full-size space), which is as large as a full-size character, when printing. Labels, which are objects to be printed by the tape printing device, are frequently used as those to be attached to the spine of a file cover, to a cassette (tape) for use in audiovisual (AV) equipment, and to users' belongings for identification of individuals. Character strings inputted to the tape printing device, therefore, often contain no paragraphs, differently from the case of ordinary sentences printed by character information processors such as what is called a word processor. Usually, there is little space in the input character strings. However, spaces are present in an input character string in cases restricted to some extent, for example, in the cases that a personal name should be clearly distinguished from a family name in a character string representing a full name and that the name of a section should be clearly distinguished from that of a department in a character string representing the names of the department and the section of a company. In the case of the tape printing device, an object to be printed is a label, so that a character pitch (or character spacing) employed in such a label in such a manner as to depend on a designated attribute is made or set to be larger than character pitches employed in documents or the like printed by other character information processors even when an "ordinary" attribute is designated. Therefore, in the case that a space is inserted between the family name and the personal name or between the names of the department and the section as above described, the inserted space becomes fairly large. As a result, labels, which give most of users a sense of incongruity, are formed. Reference US-A-4 480 931 describes an electronic typewriter having a keyboard including a "half-space key". Further, such a problem is caused not only by the tape printing device but also by a character information processor for processing an object to be printed or transferred, which has the considerably high degree of freedom of attributes such as character pitches, character sizes and margins. For example, a similar. problem crops up in, for example, a seal making device adapted to use a resin, whose part is hardened upon receiving ultraviolet radiation and left over after the other part is removed by the action of a predetermined fluid, as the face of a seal to be carved by being irradiated with light rays corresponding to input characters (incidentally, this is a transferring operation, and in the specification of the instant application, the term "printing" includes the concept of "transferring"). The present invention is accomplished in view of the aforementioned drawbacks and problems of the conventional device. Moreover, a further object of the present invention is to provide a character information processor, by which a printed document or the like giving a user a sense of congruity can be obtained even if a space is inserted into a character string to be printed thereon. This is achieved by the features of claim 1 for a character information processor and by claim 4 for a corresponding method. To achieve the foregoing objects, in accordance with the present invention, there is provided an improved character information processor for printing characters on tape or the like. Further, regarding an operation of editing a printing layout, the processor has an operation of performing a text alignment by converting a full-size space, which is inputted by keying similarly as in the case of an ordinary character, into a half-size space to be treated as a space of a size, which is half of the size of a full-size character, when printing. Other features, objects and advantages of the present invention will become apparent from the following description of preferred embodiments with reference to the drawings in which like reference characters designate like or corresponding parts throughout several views, and in which: FIG. 1 is an electrical functional block diagram for illustrating a tape printing device embodying the present invention (namely, an embodiment of the present invention); FIG. 2 is a diagram for illustrating the structures of a tape cartridge and tape used in the tape printing device embodying the present invention; FIGS. 3(A) to 3(D) are diagrams for illustrating the contents to be printed on a line; FIGS. 4(A) and 4(B) are diagrams for illustrating modes of displaying a half-size space and a full-size space in the embodiment of the present invention; FIG. 5 is a flowchart for illustrating an operation of inputting or taking in a full-size space in the embodiment of the present invention; FIG. 6 is a flowchart for illustrating a printing operation of the embodiment of the present invention; Hereinafter, a preferred embodiment of the present invention (namely, a tape printing device embodying the present invention) will be described in detail by referring to the accompanying drawings. This tape printing device has various character edition functions. First, the entire configuration of the tape printing device for implementing such edition functions will be described hereinbelow by referring to an electrical functional block diagram of FIG. 1 and to FIG. 2 which is a diagram for illustrating a tape cartridge. As illustrated in FIG. 1, this tape printing device mainly consists of an input portion 10, a control portion 20 and an output portion 30, similarly as in the cases of other character information processors. The control portion 20 performs operations according to information sent from the input portion 10 and to the current processing stage. Further, a result of the operation or the like is outputted from the output portion 30 by displaying or printing thereof. The input portion 10 consists mainly of a key entry portion 11, which has a depression key and what is called a dial key and so forth, and a width-of-tape detecting sensor 12 (incidentally, the detailed description of the structure of the input portion 10 is omitted for simplicity of description). The key entry portion 11 is operative to generate character code data and various kinds of control data, which are given to the control portion 20. The width-of-tape detecting sensor 12 is operative to detect the width of tape loaded in the tape printing device and to give width-of-tape information to the control portion 20. Practically, tape is enclosed in a tape cartridge 2 in which physical identification elements, such as holes, for defining or determining the width of tape are provided. The width-of-tape detecting sensor 12 reads (or detects) the physical identification elements and outputs the width-of-tape information. As shown in FIG. 2, both of a sheet of transferring tape 1a and a sheet of transferred tape 1b are wound on a reel in the tape cartridge 2. In the transferred tape 1b, an adhesive layer 1d is formed on a base layer 1c. Further, a cover layer 1e, which is peeled off when the tape 1b is stuck, is loosely glued to this adhesive layer 1d. A surface of the cover layer 1e, which faces the adhesive layer 1d, is covered with a coating so as to facilitate the peeling of the adhesive layer. On the other hand, a surface of the base layer 1f of the transferring tape 1a, which faces the transferred tape 1b, is covered with transferring ink 1g. After selectively heated by a thermal print head 32, the transferring ink 1g of the tape 1 is transferred onto the base layer 1c. Thus, as shown in a lower portion of FIG. 2, characters are formed on a surface of the transferred tape 1b by peeling the transferring tape 1a therefrom. Colored plastic tape, which is molten by heat, other than the aforementioned two-layer tape may be used as the transferring tape 1a. Further, an example of such plastic tape is tape for use in a printer employed as a printing device of a common or general personal computer system. In the case of this embodiment, for example, a key dedicated to the issuance of a command to perform a restoration function (to be described later) is provided in the key entry portion 11. The output portion 30 is composed of print elements and display elements. A tape/ribbon feeding motor 31, which may consist of, for example, a stepping motor, is operative to feed a tape or an ink ribbon (not shown) of FIG. 2 loaded in the tape printing device to a predetermined printing position or to the outside thereof. Thermal print head 32 is operative to print characters on the tape running thereon by performing what is called a thermal transfer printing. For example, the thermal print head 32 can print a maximum of 128 dots simultaneously. The tape/ribbon feeding motor 31 and the thermal print head 32 are driven by the motor drive circuit 33 and the head drive circuit 34, respectively, under the control of the control portion 20. The printed tape is cut by external forces exerted by, for example, a user or a cutter (not shown) driven by a motor (not shown). In the case of this tape printing device embodying the present invention, a LCD 35 is provided therein as a display portion. This LCD 35 is driven by a display drive circuit 36 under the control of the control portion 20 and is operative to display an input character string, various kinds of attribute information and so forth directly on the screen (not shown) thereof and is also operative to turn on indicators on the screen thereof, which indicators respectively correspond to items of attributes represented by characters printed on the surface of the circumference portion (not shown) of the screen thereof. The control portion 20 is constituted by, for example, a microcomputer. Further, as shown in this figure, a central processing unit (CPU) 21, a read-only memory (ROM) 22, a random access memory (RAM) 23, a character-generator ROM (CG-ROM) 24, an input interface portion 25 and an output interface portion 26 are connected with one another through a system bus 27. Moreover, various processing programs and inalterable data (or constant data) such as kana-kanji translation dictionary data are stored in the ROM 22. On the other hand, the RAM 23 is used as a work memory and is also operative to store inalterable data inputted by a user. Incidentally, when the power is turned off, the contents of the RAM 23 is backed up. The processing programs and inalterable data stored in the ROM 22, as well as the data stored in the RAM 23, will be described in detail in the aftermentioned description. Incidentally, a processing program 22a for inputting and editing characters is stored in the ROM 22. Further, when executing the processing program 22, a work area to be used for the execution of the processing program is suitably formed or preliminarily established in the RAM 23 and is utilized. Furthermore, the CG-ROM 24 stores information (hereunder sometimes referred to as font information) on the fonts of letters, digits, or other symbols (hereunder referred to simply as characters), which are supported by the tape printing device embodying the present invention. When code data specifying a character is given (incidentally, the "code data" will be sometimes referred to simply as "character" hereinafter), font information corresponding to the character is outputted from the CG-ROM 24. Here, note that either outline fonts or bitmap fonts may be employed as the fonts which are designated by the font information stored in the CG-ROM 24. The input interface portion 25 is operative to provide the interface between the input portion 10 and the control portion 20. Further, the output interface portion 26 is operative to provide the interface between the output portion 30 and the control portion 20. The CPU 21 processes an input signal sent from the input portion 10 and executes a processing program, which is stored in the ROM 22 and corresponds to a current stage of the processing, by utilizing the work area established in the RAM 23 and by suitably using the inalterable data stored in the ROM 22 and in the RAM 23, if necessary. Moreover, the CPU 21 causes the LCD 35 to display information representing the situation or results of the processing on the screen thereof and further causes the thermal print head to print such information on tape (not shown). Function of Editing Space Next, the function of editing a space for intentionally forming a blank portion when printing will be described hereinafter. In the case of this (first) embodiment, there are provided two kinds of spaces. Namely, one of the two kinds of spaces is a space, whose blank area is relatively small, called a "half-size space". The other of the two kinds of spaces is a space, whose blank area is relatively large, called a "full-size space". As is apparent from FIG. 3(A) showing the contents of a printed line, a "half-size space" is used to intentionally form a blank portion of a size which is half of the size of a character. Further, character separations, the size of each of which is half of the size of each of character separations provided on both of the sides of an ordinary character, respectively, are provided on both sides of a half-size space, respectively. In contrast, as is apparent from FIG. 3(B) showing the contents of a printed line, a "full-size space" is used to intentionally form a blank portion of a size which is equal to the size of a character. Further, character separations, the size of each of which is equal to the size of each of character separations provided on both of the sides of an ordinary character, respectively, are provided on both sides of a full-size space, respectively. FIGS. 3(A) and 3(B) illustrate the case where the sizes of the character separations provided on both of the sides of each ordinary character are equal to (1/4) of the size in the longitudinal direction of each ordinary character. As is seen from FIGS. 3(A) and 3(B), in the case that spaces are contained in a character string, the character string containing full-size spaces extends in a drawn-out way, in comparison with the character string containing half-size spaces. Thus, this embodiment employs a half-size space as a fundamental space. As stated above, character strings inputted to the tape printing device hardly contain any paragraphs, differently from the case of ordinary sentences printed by character information processors such as what is called a word processor. The number of times of applying spaces is considered to be small. Thus, if a half-size space is employed as a fundamental space, this presents no problem. On the contrary, it is preferable to employ a half-size space is employed as a fundamental space, because a user can be prevented from feeling that a character string intentionally containing such spaces extends in a drawn-out way. As is apparent from the foregoing description, two half-size spaces can provide a blank portion equivalent to a full-size space. Therefore, in another embodiment of the present invention, only half-size spaces may be used without using a full-size space. However, in the case of the first embodiment of the present invention, full-size spaces are used in addition to half-size spaces for the following reason. Namely, there may be cases where the horizontal position of a character of a line or row is adjusted to that of a character of another line. For example, in some case, a space is inserted into a second line of FIG. 3(C) or 3(D) so as to adjust the horizontal position of a leading character " " of the second line of FIG. 3(C) or 3(D) to that of a character " " of a first line of FIG. 3(A) or 3(B), onto which a character string " ..." is inputted. FIG. 3(C) illustrates a result of printing the second line by achieving such an adjustment by inserting two half-size spaces thereinto. On the other hand, FIG. 3(D) illustrates a result of printing the second line by achieving such an adjustment by inserting one full-size space thereinto. Meanwhile, in the case of the tape printing device of the first embodiment, basically, a character separation to be provided on the left side of the leading character of each line is omitted as illustrated in FIGS. 3(A) and 3(B), for the purpose of aligning the beginning or leading characters of lines of different character sizes vertically (namely, in the direction of a column) when a print command employing left justification is issued. Thus, in the case of FIG. 3(C) in which the aforementioned adjustment is achieved by putting two half-size spaces into the second line, a character separation to be provided on the left side of the left-most half-size space is omitted. In contrast with this, in the case of FIG. 3(D) in which the aforementioned adjustment is achieved by putting one full-size space into the second line, a character separation to be provided on the left side of the left-most full-size space is omitted. As a result, the character " " of the second line cannot be placed just under the character " " of the first line in the case that the two half-size spaces are put into the second line. In contrast, the character " " of the second line is placed just under the character " " of the first line in the case that the one full-size space is added to the second line. In the case of the first embodiment, a full-size space is used in addition to a half-size space, namely, the fundamental space, so as to comply with the request for such an adjustment. Incidentally, one or more spaces needed for paragraphing in an ordinary text can be provided by one or more full-size spaces. Next, an operation of putting one or more half-size spaces into a line and an operation of putting one or more full-size spaces into a line will be described hereunder in this order. As stated above, this embodiment employs a half-size space as the fundamental space. Therefore, although this embodiment is different from the conventional device in the separation corresponding to the printed space portion, an operation of putting one or more half-size spaces into a line by using the device of this embodiment is the same as that of putting one or more half-size spaces into a line by using the conventional device. Namely, when a space key of the key entry portion 11 is operated, the CPU 21 takes in such a key code and causes the RAM 23 to store the key code. Here, note that a space code employed in the conventional device is used as a half-size space code without being modified. Further, when a half-size space is inputted, the half-size space is displayed by using a space of the size which is equal to that of an ordinary character, as illustrated in FIG. 4(A), similarly as in the case of the conventional device. Such a manner of displaying a half-size space is employed in order to let a user known the fact that a half-size space is the fundamental space. Moreover, the reason why a half-size space is displayed on the screen of the LCD 35 by using a space of the size, which is equal to that of an ordinary character, is as follows. First, the displaying of a half-size space by using a space of the size, which is equal to that of a full-size character, can be easily achieved by using a font prepared and stored in the CG-ROM 24. In contrast, if the area of two half-size spaces is displayed by using a space of the size, which is equal to that of a full-size character (as a method employed in another embodiment of the present invention), a computation or operation for performing such a method becomes necessary. Thus, the operation of putting a half-size space becomes complex. Moreover, it is necessary to change the positions, at which characters of a sequence are displayed, as the operation of inputting half-size spaces proceeds. It is, however, inefficient to display two half-size spaces by using a space of the size, which is equal to that of a character, each time when the positions, at which characters of a sequence are displayed, are changed. Next, an operation of putting one or more full-size spaces into a line will be described hereinbelow by referring to a flowchart of FIG. 5. In the case of this embodiment, a full-size space is prepared as a symbol. When a symbol key for instructing to input a symbol (for instance, a key dedicated to the inputting of a symbol) is operated, the CPU 21 starts executing a processing program of FIG. 5 stored in the ROM 22. First, in step 301, the CPU 21 causes the LCD 35 to display an initial candidate for a kind of symbols. Incidentally, in the device of the (first) embodiment, for example, the kind of symbols for use in a VCR (or VTR) cassette, that of unit symbols, that of symbols for description, that of symbols representing various forms of life such as an elephant and a giraffe, that of symbols to be used in mathematical expressions and that of symbols for editing characters are provided as the kinds of symbols. Further, a full-size space is provided in this embodiment as one of the symbols for editing characters. Moreover, the kind of most-frequently-used symbols is displayed as the initial candidate. Alternatively, the kind of symbols, which is selected by a learning function just before the displaying of the candidate, is displayed. Incidentally, in the case of a device in which a plurality of kinds of symbols are displayed at a time, a cursor is placed at a current candidate and subsequently, the current candidate is caused to blink. Thereafter, in step 302, the CPU 21 judges whether the selection key or an alteration key (to which the cursor moving key corresponds) is operated. If it is judged that the alteration key is operated, the CPU 21 changes the current candidate for the kind of symbols (namely, the kind of symbols displayed by blinking) in step 303. Then, the program returns the CPU 21 to the aforesaid step 302. If the selection key is operated in a situation in which a kind of symbols is the current candidate, the CPU 21 advances from step 302 to step 304 whereupon the CPU 21 identifies the selected kind of symbols. If a kind of symbols other than the symbols for editing characters is selected, the CPU 21 advances to step 305 whereupon the CPU 21 executes a processing routine so as to choose one of symbols of the selected kind. In contrast, if the selected kind of symbols is that of symbols for editing characters, the CPU 21 causes the LCD 35 in step 306 to display one of the symbols for editing characters on the screen thereof as the initial current candidate. In the case of the device of this embodiment, a full-size space is displayed by using an area used for displaying a character, for example, by using a dot pattern indicating that this space corresponds to two of the fundamental space, as illustrated in FIG. 4(B). Naturally, a font of FIG. 4(B) is prepared in the CG-ROM 24. When the symbol for editing characters, namely, the current candidate is displayed, the CPU 21 judges in step 307 whether the selection key or the alteration key (to which the cursor moving key corresponds) is operated. If it is judged that the alteration key is operated, the CPU 21 changes the current candidate for the kind of symbols (namely, the symbol for editing characters, which is displayed by blinking) in step 308. Then, the program returns the CPU 21 to the aforesaid step 307. If the selection key is operated in a situation in which a symbol for editing characters is the current candidate, the CPU 21 advances from step 307 to step 309 whereupon the CPU 21 definitely determines that the symbol for editing characters, namely, the current candidate is selected. Then, the CPU 21 causes the RAM 23 to store a code representing this selected symbol for editing characters at a location subsequent to that of the last character code in the text area of the RAM 23. Moreover, the CPU 21 operates the display buffer area and restores the character input screen displayed at the stage where the symbol key is operated. Furthermore, the CPU 21 causes the LCD 35 to display a dot pattern, which represents the selected symbol for editing characters, at a character input position indicated by the cursor when the symbol key is depressed. Then, the operation consisting of the sequence of steps is finished. Here, if the selection key is operated in a situation in which a full-size space is the current candidate, the CPU 21 advances from step 307 to step 309 whereupon the CPU 21 definitely determines that the full-size space, namely, the current candidate is selected. Then, the CPU 21 causes the RAM 23 to store a code representing this selected full-size space at a location subsequent to that of the last character code in the text area of the RAM 23. Moreover, the CPU 21 operates the display buffer area and restores the character input screen displayed at the stage where the symbol key is operated. Furthermore, the CPU 21 causes the LCD 35 to display a dot pattern of FIG. 4(B), which represents the selected full-size space, at a character input position indicated by the cursor when the symbol key is depressed. Then, the operation consisting of the sequence of steps is finished. As described above, in the case of the device of this embodiment, a user should select the symbol representing a full-size space from various kinds of symbols each time when inputting a full-size space. Meanwhile, generally, there is alternative method of taking in a full-size space (to be employed in another embodiment of the present invention) by taking in a space, at which the cursor is placed, as a full-size space when a predetermined key is operated in a situation in which the cursor is placed at a half-size space employed as the fundamental space. However, in the case of the first embodiment, a full-size space is selected by choosing one of the symbols. The reason will be described hereinbelow. First, only the addition of a symbol to those used in the device is needed for implementing the selection of a symbol representing a full-size space. The system configuration (including the CG-ROM 24) is hardly complicated. Second, in the case of employing the aforementioned alternative method, a new input processing routine, which has not been provided in the conventional tape printing device, should be provided in the device of the present invention. It is, however, inefficient from the viewpoint of the effective utilization of the memory capacity of the CG-ROM 22 to create a new input processing routine only for a full-size space. In contrast, in the case of employing the method of selecting a symbol corresponding to a full-size space, it is unnecessary to create a new input processing routine. Moreover, this method can be implemented only by partly modifying the program of selecting one of the symbols. Printing Operation: Next, an printing operation (especially, a process of forming a space) will be described hereinbelow by referring to FIG. 6. Incidentally, for brevity of description, this figure illustrates a case of printing a single line of characters. However, note that in the case of printing multiple lines of characters, operations to be respectively performed in steps 401 and 403 to 416 are carried out correspondingly to each of the lines of characters. When commencing the process of FIG. 6, the CPU 21 first determines various printing attributes according to the width of tape currently loaded in the device in step 400. Further, the CPU 21 loads a print buffer with (dot patterns of) characters. Incidentally, spaces and character separations are not formed by dot pattern generation, but are formed only by feeding tape. Therefore, the dot pattern generation is performed corresponding only to ordinary characters. Next, in step 401, the CPU 21 sets a printing pointer i, which represents character code numbers respectively corresponding to characters of the line, at 1, and further sets an operation termination value N at n which represents the number of characters of the line. Subsequently, in step 402, the CPU 21 controls the tape/ribbon feeding motor 31 so as to form a front (or left) space or margin. Next, in step 403, the CPU 21 identifies an ith (at that time, first) character code. If the ith character code represents an ordinary character, in step 404, the CPU 21 controls and causes the thermal printing head 32 and the tape/ribbon feeding motor 31 to print the ith character stored in the print buffer, without forming a front (or left-side) character separation (namely, a leader) corresponding to a full-size character. Then, the CPU 21 controls and causes the tape/ribbon feeding motor 31 to form a rear (or right-side) character separation (namely, a trailer) corresponding to a full-size character. If it is judged in step 403 that the ith character code indicates a half-size space, the CPU 21 controls and causes the tape/ribbon feeding motor 31 in step 405 to form a space of the size, which is equal to that of a half-size space, and a rear character separation corresponding to the half-size space (see FIG. 3(C)) without forming a front character separation corresponding to the half-size space. If it is judged in step 406 that the ith character code indicates a full-size space, the CPU 21 controls and causes the tape/ribbon feeding motor 31 in step 406 to form a space of the size, which is equal to that of a full-size space, and a rear character separation corresponding to the full-size space (see FIG. 3(D)) without forming a front character separation corresponding to the full-size space. Thereafter, the CPU 21 increments the printing pointer i by 1 in step 407. Then, in step 408, the CPU 21 judges whether or not the printing pointer i has reached the termination value N. If not reached, the CPU 21 identifies the ith character code in step 409. If the ith character code represents an ordinary character, in step 410, the CPU 21 controls and causes the tape/ribbon feeding motor 31 to form a front character separation corresponding to a full-size character. Then, the CPU 21 controls the thermal printing head 32 and the tape/ribbon feeding motor 31 to print the ith character stored in the print buffer. Subsequently, the CPU 21 controls and causes the tape/ribbon feeding motor 31 to form a rear character separation corresponding to a full-size character. If it is judged in step 409 that the ith character code represents a half-size space, the CPU 21 controls and causes the tape/ribbon feeding motor 31 in step 411 to form a front character separation corresponding to the half-size space, a space of the size, which is equal to that of a half-size space, and a rear character separation corresponding to the half-size space (see FIG. 3(A)). If it is judged in step 409 that the ith character code indicates a full-size space, the CPU 21 controls and causes the tape/ribbon feeding motor 31 in step 412 to form a front character separation corresponding to the full-size space, a space of the size, which is equal to that of a full-size space, and a rear character separation corresponding to the full-size space (see FIG. 3(B)). In contrast, if it is judged in step 408 that the printing pointer i has reached the termination value N, the CPU 21 identifies the ith (at that time, Nth) character code in step 413. If the ith character code represents an ordinary character, in step 414, the CPU 21 controls and causes the tape/ribbon feeding motor 31 to form a front character separation corresponding to a full-size character. Subsequently, the CPU 21 controls and causes the thermal print head 32 and the tape/ribbon feeding motor 31 to print the ith character stored in the print buffer. The CPU 21, however, does not cause the tape/ribbon feeding motor 31 to form a rear character separation corresponding to a full-size character. If it is judged in step 413 that the ith character code indicates a half-size space, the CPU 21 controls and causes the tape/ribbon feeding motor 31 in step 415 to form a front character separation corresponding to a half-size space, and a space of the size, which is equal to that of the half-size space. The CPU 21, however, does not cause the motor 31 to form a rear character separation corresponding to the half-size space. If it is judged in step 413 that the ith character code indicates a full-size space, the CPU 21 controls and causes the tape/ribbon feeding motor 31 in step 416 to form a front character separation corresponding to a full-size space, and a space of the size, which is equal to that of the full-size space. The CPU 21, however, does not cause the motor 31 to from a rear character separation corresponding to the full-size space. Thereafter, the CPU 21 controls and causes the tape/ribbon feeding motor 31 in step 417 to form a rear or right space. Then, the CPU 21 causes the motor 31 to feed tape forward without printing until the terminal end position of a label reaches the position of a cutter. Advantages of Usage of Half-size and Full-size Spaces: In the case of the aforementioned first embodiment, a space inputted by keying similarly as an ordinary character is taken in, when printing, as a half-size space to be handled similarly as a character whose size is half of that of an ordinary (full-size) character. If a half-size space is present in a character string to be printed, the character string is printed by securing a space or blank whose size is half of that of an ordinary (full-size) character. Thus, in a document printed in this way, a space or blank portion, whose size is half of that of an ordinary (full-size) character, is formed correspondingly to the space inputted by a user by keying similarly as an ordinary character. Thereby, an emergence of an excessively wide space, which may give a user a sense of incongruity, in a printed document or the like can be prevented. Consequently, the printing quality can be enhanced. Moreover, the first embodiment has the aforementioned edition function of utilizing a full-size space in addition to a half-size space. Thereby, among characters of a plurality of lines, the adjustment of the positions in the longitudinal direction of the characters can be accurately achieved. Furthermore, in the case of the first embodiment, a symbol representing a full-size space is provided therein, and a user selects this symbol when utilizing the full-size space so as to edit character strings. Thus the user can be prevented from performing a wrong operation, for example, inputting a full-size space by mistake for the intended fundamental space (namely, a half-size space). Additionally, in the case of the first embodiment, each of half-size and full-size spaces is displayed as a space of the size which is equal to that of an ordinary character. Thus, although both of the two kinds of spaces are used in this embodiment, the configuration of the display device can be simplified. In the foregoing description, the modifications of the first embodiment (namely, the embodiments other than the first embodiment) have been described. Moreover, other embodiments will be cited as follows. Although the first embodiment employs a half-size space as the fundamental space, a user may select the fundamental space from one of half-size and full-size spaces in another embodiment of the present invention. In the case of this additional embodiment, a user may determine one of half-size and full-size spaces, which is represented by a space code inputted from the key entry portion, as the fundamental space. Further, this additional embodiment may take in the other space by using a symbol. Incidentally, in the case of the first embodiment, character separations corresponding to a character are formed at both of the front and rear (namely, the left and right sides) of the character but, regarding spaces, character separations corresponding to a predetermined space portion are formed at both of the front and rear (namely, the left and right sides) of the predetermined space portion. In contrast, in the case of a further additional embodiment, regarding characters, a character separation corresponding to a character may be formed only at the front of the character. Moreover, regrading spaces, a character separation corresponding to a predetermined space portion may be formed only at the front of the predetermined space portion. Incidentally, in the case of the first embodiment, the present invention is applied to the tape printing device. The present invention, however, is applied to other character information processors, each of which employs many options on the attributes for exerting the printing effects. For example, the present invention can be applied to a seal making device.

Claims: A character information processor for printing one or more lines of input characters on a printing medium comprising: half-size space incorporating means (20) for causing, when an instruction to incorporate a half-size space in the input character string is issued, a half-size space to be contained in an input character string, the half-size space being a space whose printed resultant exhibits a width half of the width of an ordinary character; display control means (20) for causing, when a half-size space is contained in the input character string, the half-size space to be displayed as a space in a width equal to the width of an ordinary character; and print control means (20) for causing, when a half-size space is contained in the input character string, the half-size space to be printed as a space in a width half of the width of an ordinary character. A character information processor according to claim 1, wherein there is provided full-size space incorporating means (20) for causing, when an instruction to incorporate a full-size space in the input character string is issued, a full-size space to be contained in an input character string, the full-size space being a space whose printed resultant exhibits a width equal to the width of an ordinary character; and said display control means (20) causes, when a full-size space is contained in an input character string, the full-size space to be displayed in a width equal to the width off the ordinary character and in a displayed manner different from the displayed manner of a half-size space. A character information processor according to claim 2, wherein there is provided storage means (24) which stores various symbols, and a full-size space serving as one kind of the various symbols; and said full-size space incorporating means (20) conducts the containing of a full-size space in an input character string in such a manner that, in response to the instruction to incorporate a full-size space in the input character string, a full-size space is selected out of the symbols thus stored and then the full-size space thus selected is contained in the input character string. A character information processing and printing method comprising: half-size space incorporating step of causing, when an instruction to incorporate a half-size space in the input character string is issued, a half-size space to be contained in an input character string, the half-size space being a space whose printed resultant exhibits a width half of the width of an ordinary character; display control step of causing, when a half-size space is contained in the input character string, the half-size space to be displayed as a space in a width equal to the width of an ordinary character; and print control step of causing, when a half-size space is contained in the input character string, the half-size space to be printed as a space in a width half of the width of an ordinary character (steps 205 and 211). A character information processing and printing method according to claim 4, wherein there is provided full-size space incorporating step of causing, when an instruction to incorporate a full-size space in the input character string is issued, a full-size space to be contained in an input character string, the full-size space being a space whose printed resultant exhibits a width equal to the width of an ordinary character; and when a full-size space is contained in an input character string, the full-size space is displayed in a width equal to the width of the ordinary character and in a displayed manner different from the displayed manner of a half-size space. A character information processing and printing method according to claim 5, wherein various symbols, and a full-size space serving as one kind of the various symbols are stored; and the containing of a full-size space in in input character string at said full-size space incorporating step is conducted in such a manner that, in response to the instruction to incorporate a full-size space in the input character string, a full-size space is selected out of the symbols thus stored and then the full-size space thus selected is caused to be contained in the input character string.

Inventors: AIDA CHIEKO, HOSOKAWA TAKESHI, KAMEDA TAKANOBU, KURASHINA HIROYASU, SHIMMURA TOMOYUKI, TOYOSAWA YOSHIYA, WATANABE KENJI, AIDA, CHIEKO, HOSOKAWA, TAKESHI, KAMEDA, TAKANOBU, KURASHINA, HIROYASU, SHIMMURA, TOMOYUKI, TOYOSAWA, YOSHIYA, WATANABE, KENJI, Aida, Chieko, c/o King Jim Co., Ltd., Kameda, Takanobu, c/o King Jim Co., Ltd., Shimmura, Tomoyuki, c/o King Jim Co., Ltd., WATANABE, KENJI, C/O KING JIM CO., LTD.
Applicants: KING JIM CO LTD, SEIKO EPSON CORP, KING JIM CO., LTD., SEIKO EPSON CORPORATION
Application year: 1995
Main classification: G06F17
IPC codes: G06F17, B41J3