JP2005141660A - Printing apparatus and printing method - Google Patents

Printing apparatus and printing method Download PDF

Info

Publication number
JP2005141660A
JP2005141660A JP2003380002A JP2003380002A JP2005141660A JP 2005141660 A JP2005141660 A JP 2005141660A JP 2003380002 A JP2003380002 A JP 2003380002A JP 2003380002 A JP2003380002 A JP 2003380002A JP 2005141660 A JP2005141660 A JP 2005141660A
Authority
JP
Japan
Prior art keywords
character
size
designated
characters
printing
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.)
Granted
Application number
JP2003380002A
Other languages
Japanese (ja)
Other versions
JP4793837B2 (en
Inventor
Shigehiro Kawai
重博 河井
Masahiko Yumoto
将彦 湯本
Takehito Kobayashi
健仁 小林
Motoki Kasai
元樹 河西
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.)
Kokuyo Co Ltd
Canon Finetech Nisca Inc
Original Assignee
Nisca Corp
Kokuyo Co Ltd
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 Nisca Corp, Kokuyo Co Ltd filed Critical Nisca Corp
Priority to JP2003380002A priority Critical patent/JP4793837B2/en
Priority to CNB200410090942XA priority patent/CN100351098C/en
Publication of JP2005141660A publication Critical patent/JP2005141660A/en
Application granted granted Critical
Publication of JP4793837B2 publication Critical patent/JP4793837B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing apparatus and printing method allowing printing of a series of character groups having good appearance and causing no misapprehension when a layout as a superscript or subscript is designated with respect to a character in the series of character groups printed on the same printing line. <P>SOLUTION: A storage means stores character size information, superscript and subscript information, and printing position information as character data. For the character data stored on the storage means, when the upper or lower layout for superscripts or subscripts is designated to the character specified by the storage means, the character size and placement position of the specified character is set in accordance with the character mode of a character preceding the specified character. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、入力された一連の文字を所定サイズの印字媒体に印字する印字技術に関し、特に同一印字行に印字する文字群の中のある文字について上付き又は下付きが指定された場合、その指定文字のサイズと配置位置を適切に設定する印字装置及び印字方法に関する。   The present invention relates to a printing technique for printing a series of inputted characters on a printing medium of a predetermined size, and particularly when superscript or subscript is designated for a certain character in a character group printed on the same print line. The present invention relates to a printing apparatus and a printing method for appropriately setting the size and arrangement position of a designated character.

キーボード等の入力手段により入力された文字、数字、記号等のキャラクタ(以下、適宜「文字」という)を表示パネル上に表示し、これを所定サイズのラベルシートやテープ等に印字する印字装置が知られている。   A printing apparatus that displays characters (hereinafter referred to as “characters”) such as characters, numbers, symbols, and the like input by an input means such as a keyboard on a display panel and prints them on a label sheet or tape of a predetermined size. Are known.

通常ラベルプリンタと呼ばれるこのような印字装置においては、同一印字行に印字する一連の文字群中の指定文字を文字単位で文字サイズを指定すると共に、上揃え、中央揃え又は下揃えの上下割り付けを指定して印字する機能を有するものがある。   In such a printing device usually called a label printer, the designated character in a series of characters to be printed on the same print line is designated in character units, and the top / bottom alignment of top alignment, center alignment or bottom alignment is performed. Some have the function of specifying and printing.

このような機能を備える従来の印字装置においては、同一印字行に印字する一連の文字群中の指定文字を上下割り付けして印字する場合、当該一連の文字群における最大サイズの文字を基準として、上下割り付け文字等の他の構成文字の配置位置を設定していた(特許文献1)。   In a conventional printing apparatus having such a function, when printing a specified character in a series of character groups to be printed on the same print line, the maximum size character in the series of character groups is used as a reference. Arrangement positions of other constituent characters such as vertically assigned characters have been set (Patent Document 1).

図10は、斯かる従来技術に係る上下割り付け方法に係る印字例を示すものである。
図10(a)は、同一印字行にアルファベット「A」、「B」、「C」、「D」及び「E」とから構成される一連の文字群を上揃えモードで印字した例を示す。ここで、個々の文字に対して文字サイズを、LLサイズ、Lサイズ、Mサイズ、Sサイズ及びSSサイズの5段階に設定できるものとした場合、文字「A」はLサイズに、文字「B」及び「E」はLLサイズに、そして文字「C」及び「D」はMサイズに設定されている。この印字例の場合、最大文字はLLサイズの「B」及び「E」であるので、図10(a)に示すように、それよりも文字サイズが小さい文字「A」、「C」及び「D」は、最大文字「B」及び「E」の上端に揃えるように印字されることとなる。
特許第3060443号公報
FIG. 10 shows an example of printing according to such a conventional vertical layout method.
FIG. 10A shows an example in which a series of characters composed of alphabets “A”, “B”, “C”, “D”, and “E” are printed in the same print line in the top alignment mode. . Here, when the character size can be set to five levels of LL size, L size, M size, S size and SS size for each character, the character “A” is set to L size and the character “B” is set. "And" E "are set to the LL size, and the letters" C "and" D "are set to the M size. In the case of this printing example, the maximum characters are “B” and “E” of LL size. Therefore, as shown in FIG. 10A, the characters “A”, “C”, “ “D” is printed so as to be aligned with the upper ends of the maximum characters “B” and “E”.
Japanese Patent No. 3060443

しかしながら、同一印字行に印字する一連の文字群中の指定文字を上下割り付けで印字するのは、例えば化学式や数式等の印字に用いられる場合が多く、従来技術のように同一印字行の一連の文字群における最大サイズの文字を基準として上下割り付けを行うと、一連文字全体の見栄えが良くなく違和感を生じさせ、異なる意味に誤認させてしまう場合も生じる。   However, the designated characters in a series of characters to be printed on the same print line are printed in a top-down layout, for example, in many cases used for printing chemical formulas and mathematical formulas. If the top and bottom layout is performed based on the maximum size character in the character group, the whole series of characters does not look good, and a sense of incongruity may occur, which may be misunderstood in a different meaning.

図10(b)は、当該従来技術に基づいて、同一印字行に「面積10m2です」を印字した例を示す。ここで、「面積」、及び「です」の4文字は、最大のLLサイズが指定され、文字「10」は、Lサイズ指定であってセンター揃え、文字「m」は、Sサイズ指定の下揃え、そして、文字「2」は、Sサイズ指定の上揃えに設定されている。この場合、最大サイズの文字を基準として上下割り付けを行うので、下揃え指定の文字「m」は、センター揃え指定された先行する文字「10」の下端よりも下方に飛び出す位置に、また、上揃え指定の文字「2」は、文字「10」の上端よりも上方に飛び出す位置に、それぞれ配置されて印字されてしまうこととなる。   FIG. 10B shows an example in which “the area is 10 m 2” is printed on the same print line based on the related art. Here, the maximum LL size is designated for the four characters “area” and “is”, the character “10” is L size designation and center alignment, and the letter “m” is under the S size designation. Alignment and the character “2” are set to the upper alignment specified by the S size. In this case, since the vertical allocation is performed based on the character of the maximum size, the character “m” with the bottom alignment designation jumps out below the lower end of the preceding character “10” with the center alignment designation. The alignment designation character “2” is arranged and printed at a position protruding above the upper end of the character “10”.

このため、図10(c)に示すように、文字「10」を、Mサイズ指定の下揃えに設定し、文字「m」を最小のSSサイズの下揃えに、文字「2」をSSサイズの上揃えにそれぞれ設定し直したとしても、文字「m」の下端は、先行する文字「10」の下端に揃うものの、文字「2」の上端は、先行する文字「10」のさらに上方に飛び出してしまうこととなり、文字「2」が遊離してしまい、一連文字全体の見栄えが悪くて違和感を生じさせると共に、意図する「10メートル平方」とは異なる意味に誤認されてしまうことになりかねない。   For this reason, as shown in FIG. 10C, the character “10” is set to the bottom alignment of the M size designation, the character “m” is aligned to the minimum SS size, and the character “2” is the SS size. Although the lower end of the character “m” is aligned with the lower end of the preceding character “10”, the upper end of the character “2” is further above the preceding character “10”. The character “2” will be liberated, causing the whole series of characters to look bad and uncomfortable, and may be misunderstood as meaning different from the intended “10 meter square”. Absent.

また、従来技術においては、下揃え文字の及び上揃え文字の文字ついて個々に文字サイズを指定しなければならず、入力操作が煩雑で文字入力に長い時間を必要としていた。   Further, in the prior art, the character size must be individually specified for the characters of the bottom aligned character and the top aligned character, and the input operation is complicated and a long time is required for character input.

このため、本願発明の第1の目的は、同一印字行に印字する一連の文字群中のある文字について上下割り付けが指定された場合、当該上下割り付け文字が先行する文字の下端又は上端のレベルから飛び出すことがないように印字することにより見栄えが良く且つ誤認されることがない一連の文字群の印字を可能にした印字装置及び印字方法を提供することにある。   For this reason, the first object of the present invention is that when vertical allocation is specified for a character in a series of characters printed on the same print line, the vertical allocation character is determined from the level at the lower end or upper end of the preceding character. It is an object of the present invention to provide a printing apparatus and a printing method capable of printing a series of character groups that are good-looking and not misidentified by printing so as not to jump out.

また、本願発明の第2の目的は、上下割り付けが指定された文字に対して個々に文字サイズを指定する操作を必要とせずに自動的に適切な文字サイズを設定することにより、迅速な文字入力を可能にした印字装置及び印字方法を提供することにある。   A second object of the present invention is to quickly set an appropriate character size without requiring an operation for individually specifying the character size for characters for which vertical allocation is specified. It is an object of the present invention to provide a printing apparatus and a printing method that enable input.

このため、本願は、文字、数字又は記号等の文字データの入力と種々の機能設定を行うための入力手段と、前記入力手段により入力された一連の文字を表示する表示手段と、前記文字のフォントデータをキャラクタコードに対応させて記憶するキャラクタジェネレータROMと、前記入力手段により入力された各文字の前記キャラクタコードを含むキャラクタデータを前記表示手段における表示順に一時記憶する記憶手段と、前記記憶手段に格納されたキャラクタデータに基づいて一連の文字を所定サイズの印字媒体に印字する印字手段と、前記記憶手段に記憶されたキャラクタデータを編集する文字データ編集手段と、を備えた印字装置において、前記キャラクタデータは、文字サイズ情報、上下割り付け情報、印字位置情報を含み、前記文字データ編集手段は、前記記憶手段における特定の文字について上付き又は下付きの上下割り付けが指定された場合、当該指定文字に先行する文字の文字態様に対応して、当該指定文字の文字サイズと配置位置を設定することを特徴とする印字装置を提供するものである。ここで、文字態様とは、文字の印字サイズ、印字位置並びに字体や飾り文字が含まれる。   For this reason, the present application provides input means for inputting character data such as characters, numbers or symbols and various function settings, display means for displaying a series of characters input by the input means, A character generator ROM for storing font data corresponding to a character code; a storage unit for temporarily storing character data including the character code of each character input by the input unit in the display order on the display unit; and the storage unit In a printing apparatus comprising: a printing unit that prints a series of characters on a printing medium of a predetermined size based on the character data stored in the character data; and a character data editing unit that edits the character data stored in the storage unit. The character data includes character size information, top / bottom allocation information, and print position information, The character data editing means, when a superscript or subscript vertical assignment is specified for a specific character in the storage means, corresponding to the character form of the character preceding the designated character, A printing apparatus characterized by setting an arrangement position is provided. Here, the character mode includes a character print size, a print position, a font, and a decorative character.

このとき、指定文字を割り付けるための対象文字に白抜き、立体、影、枠、下線などの飾りが施されている文字であっても、指定文字の上付き、下付きの割り付けは可能であり、この場合には飾りの施された文字のサイズを基準に指定文字の文字サイズを設定し、飾りの施された文字の印字領域に対して指定文字を上付き、下付きに割り付けるように指定文字を配置すればよい。また、対象文字に飾りが施されているときの指定文字の配置は、飾りを含む印字領域に対して指定文字を上付き、下付きに割り付けるように指定文字を配置してもよい。   At this time, even if the target character for allocating the designated character is decorated with white, solid, shadow, frame, underline, etc., it is possible to assign the superscript or subscript of the designated character. In this case, the character size of the designated character is set based on the size of the decorated character, and the specified character is assigned to the print area of the decorated character as superscript or subscript. Just place a letter. In addition, when the target character is decorated, the designated character may be arranged so that the designated character is assigned as a superscript and a subscript to the print area including the ornament.

図1は、図10(b)及び(c)の印字パターン例を、本印字装置において処理した時の印字結果を示すものである。   FIG. 1 shows a printing result when the printing pattern examples shown in FIGS. 10B and 10C are processed in the printing apparatus.

本印字装置においては、入力されて記憶手段に格納された一連の文字における特定の文字が上付き又は下付きの上下割り付けが指定された場合、当該指定文字の直前文字の文字サイズに対応して、当該文字の文字サイズと配置位置を設定する文字データ編集手段を備えることにより、図1に示すような違和感のない一連文字の印字を可能にするのである。図1に示すとおり、下付き文字「m」は一連文字中の最大文字等に影響されることなく先行文字「10」の下端と適合する位置に配置されることとなるのである。   In this printing apparatus, when a specific character in a series of characters inputted and stored in the storage means is designated as superscript or subscript, the character size corresponding to the character immediately before the designated character is designated. By providing character data editing means for setting the character size and arrangement position of the character, it is possible to print a series of characters without a sense of incongruity as shown in FIG. As shown in FIG. 1, the subscript “m” is arranged at a position that matches the lower end of the preceding character “10” without being affected by the largest character in the series of characters.

また、本発明においては、上下割り付け文字については、個々にその文字サイズを設定することなく、先行文字に適合した文字サイズが自動的に選択されるので、迅速な文字入力を可能にしたのである。図1の例では、下付き文字「m」は、先行文字「10」の文字サイズであるLサイズから2段階小さい文字サイズ(Sサイズ)の文字に自動設定するようにしている。   In the present invention, the character size suitable for the preceding character is automatically selected for the vertically allocated characters without setting the character size individually, thereby enabling quick character input. . In the example of FIG. 1, the subscript “m” is automatically set to a character having a character size (S size) that is two steps smaller than the L size that is the character size of the preceding character “10”.

本発明においては、さらに、前記文字データ編集手段は、前記記憶手段における前記指定文字の直前文字が上付き又は下付き文字であった場合、前記指定文字に先行する文字の中で上付き又は下付きでない当該指定文字に最も近い文字の文字態様に対応して当該文字の文字サイズとその配置位置を設定する。   In the present invention, the character data editing means may further include a superscript or subscript among characters preceding the designated character when the character immediately preceding the designated character in the storage means is a superscript or subscript character. The character size of the character and its arrangement position are set corresponding to the character mode of the character closest to the designated character not attached.

これにより、図1における上付き文字「2」が、直前文字であるが下付き文字である「m」ではなく、それに先行する文字「10」を基準にすることにより、意図する「10メートル平方」を印字結果として適切に表現することを可能にしたのである。   Accordingly, the superscript “2” in FIG. 1 is not the “m” that is the immediately preceding character but the subscript, but the intended “10 metric squares” based on the preceding character “10”. "Can be appropriately expressed as a printing result.

さらに、前記文字データ編集手段は、前記記憶手段における前記指定文字に先行する全ての文字が上付き又は下付き文字であった場合又は先行する文字がない場合、当該指定文字の文字サイズを最小文字サイズに設定し、当該文字の位置を指定された文字揃えに従った配置位置に設定することとしたのである。   Further, the character data editing means, when all characters preceding the designated character in the storage means are superscript or subscript characters or when there is no preceding character, the character size of the designated character is set to the minimum character The size is set, and the position of the character is set to the arrangement position according to the specified character alignment.

ところで、前記印字媒体は、予め定められた種々の形状のラベルであり、前記文字データ編集手段は、印字される前記一連の文字が選択されたラベルにおける所定の印字領域内に収まるように前記キャラクタデータ内の文字サイズを編集するのである。これにより、所定サイズのラベル内に複数の一連の文字を印字しようとした場合、一連文字の文字サイズを当該ラベル内の収まるように自動的設定することを可能にしている。   By the way, the print medium is labels of various shapes determined in advance, and the character data editing means is configured to allow the character data editing means to store the character so that the series of characters to be printed fit within a predetermined print area in the selected label. The character size in the data is edited. As a result, when a plurality of series of characters are to be printed within a label of a predetermined size, it is possible to automatically set the character size of the series of characters so as to fit within the label.

本願は、さらに、入力手段により入力された文字、数字又は記号等(以下、「文字」という)により構成される一連の文字を所定サイズの印字媒体上に印字する印字方法であって、(1)前記入力手段により入力された各文字のキャラクタコードを含むキャラクタデータを記憶手段内に印字順に記憶するステップと、(2)前記記憶手段における特定の文字について上付き又は下付きの上下割り付けが指定された場合に当該指定文字の直前文字のキャラクタデータ内の文字サイズ情報を読み出すステップと、(3)前記直前文字の文字サイズに対応して、前記指定文字の文字サイズを設定するステップと、(4)前記直前文字の文字サイズに対応して、前記指定文字の配置位置を設定するステップと、の各ステップを有することとを特徴とする上下割り付け文字の印字方法を提供するものである。   The present application further relates to a printing method for printing a series of characters composed of characters, numbers, symbols or the like (hereinafter referred to as “characters”) input by an input means on a print medium of a predetermined size. ) Storing character data including the character code of each character input by the input means in the storage order in the storage means; and (2) superscript or subscript top / bottom assignment for a specific character in the storage means. A step of reading the character size information in the character data of the character immediately before the designated character, (3) a step of setting the character size of the designated character corresponding to the character size of the immediately preceding character; And 4) a step of setting an arrangement position of the designated character in correspondence with a character size of the immediately preceding character. There is provided a method of printing the vertical assignment character.

ここで、前記ステップ(2)において前記記憶手段における前記指定文字の直前文字が上付き又は下付き文字であった場合、上記ステップ(2)乃至(4)に替えて、(7)前記指定文字に先行する文字の中で上付き又は下付きでない当該指定文字に最も近い文字のキャラクタデータ内の文字サイズを読み取るステップと、(8)前記最も近い文字の文字サイズに対応して、前記指定文字の文字サイズを設定するステップと、(9)前記最も近い文字の文字サイズに対応して、前記指定文字の配置位置を設定するステップとする。   Here, in the step (2), if the immediately preceding character of the designated character in the storage means is a superscript or subscript, (7) the designated character instead of the above steps (2) to (4) Reading the character size in the character data of the character closest to the specified character that is not superscript or subscript among the characters preceding the character, and (8) the specified character corresponding to the character size of the closest character And (9) a step of setting the arrangement position of the designated character corresponding to the character size of the closest character.

また、又は当該指定文字が先頭文字であった場合、又は前記ステップ(7)において、前記記憶手段における前記指定文字に先行する全ての文字が上付き又は下付き文字であった場合、(10)当該指定文字の文字サイズを最小文字サイズに設定するステップと、(11)当該文字を指定された文字割り付けに応じた配置位置に設定するステップとするのである。   If the designated character is the first character, or if all characters preceding the designated character in the storage means are superscript or subscript in the step (7), (10) A step of setting the character size of the designated character to the minimum character size, and a step of (11) setting the character to an arrangement position corresponding to the designated character allocation.

本願発明は、同一印字行に印字する一連の文字群中のある文字について上下割り付けが指定された場合、該上下割り付け文字が先行する文字の下端又は上端のレベルから飛び出すことがないように印字することにより見栄えが良く誤認されることがないようにした。また、上下割り付けが指定された文字に対して個々に文字サイズを指定する操作を必要とせずに自動的に適切な文字サイズを設定することにより、迅速な文字入力を実現した。   In the present invention, when vertical allocation is specified for a character in a series of characters to be printed on the same print line, the vertical layout character is printed so as not to jump out from the lower or upper level of the preceding character. So that it doesn't get misunderstood. In addition, quick character input has been realized by automatically setting an appropriate character size without requiring an operation for individually specifying the character size for characters for which vertical allocation is specified.

以下、本願発明に係る表示装置及び印字方法の実施の形態例を、図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of a display device and a printing method according to the present invention will be described in detail with reference to the drawings.

上下割り付け文字を含む一連文字を適切に印字する本願発明を、ラベル印字装置(ラベルプリンタ)に適用した例について説明する。   An example in which the present invention for appropriately printing a series of characters including upper and lower assigned characters is applied to a label printing apparatus (label printer) will be described.

図2は、本発明を適用したラベル印字装置1の外観を示すものである。ここで、図2(a)は、本ラベル印刷装置1の上方前方斜視図、図2(b)は、後方斜視図を示す。図2において、電源スイッチ6がオンされると、本ラベル印刷装置1が動作を開始する。入力手段(キー入力部)3により一連の数字、記号を含む文字を入力すると、表示パネル2に入力された文字が表示され、印字指令操作により、入力された一連の文字が、本ラベル印刷装置1の内部の印字手段(図示せず)によって印字されることとなる。   FIG. 2 shows an appearance of the label printing apparatus 1 to which the present invention is applied. 2A is an upper front perspective view of the label printing apparatus 1, and FIG. 2B is a rear perspective view. In FIG. 2, when the power switch 6 is turned on, the label printing apparatus 1 starts operating. When a character including a series of numbers and symbols is input by the input means (key input unit) 3, the input character is displayed on the display panel 2. 1 is printed by an internal printing means (not shown).

印字は、装置前面側に設けられたラベルシート挿入口4に挿入された所定のラベルシートの上に印字され、印字されたラベルシートは、装置裏面側に設けられたラベルシート排出口5から排出される。尚、本装置において印字の対象となる印字媒体は、ロール状でも短冊状でも良く、装置本体内部に格納されているような構成であっても良い。   Printing is performed on a predetermined label sheet inserted in the label sheet insertion port 4 provided on the front side of the apparatus, and the printed label sheet is discharged from the label sheet discharge port 5 provided on the back side of the apparatus. Is done. Note that the print medium to be printed in this apparatus may be in the form of a roll or strip, and may be configured to be stored inside the apparatus main body.

入力手段を構成するキー入力部3は、複数個の英字キー、数字キー、カナ文字キー及び機能キー(ファンクションキー)、スペース入力キー等により構成されている。これらのキーは、シフトキー(ファンクションキー)等の操作により、一つのキーで複数種類のキー入力機能を持たせることが可能である。また、パーソナルコンピュータと同様に、英字キー又はカナ文字キー等によって入力された文字データは、所定のファンクションキーの操作により、漢字等に変換される機能を有することは、ワードプロセッサ等と同様である。   The key input unit 3 constituting the input means includes a plurality of alphabetic keys, numeric keys, kana character keys, function keys (function keys), space input keys, and the like. These keys can have a plurality of types of key input functions with one key by operating a shift key (function key) or the like. Similarly to a personal computer, the character data input by an alphabetic key, a kana character key, or the like has a function of being converted into a kanji character by operating a predetermined function key, similar to a word processor or the like.

表示パネル2は、入力された文字や、入力された文字データに基づいて漢字等に変換された文字等を表示する。また、操作者の操作をアシストするための操作案内や機能を説明する文字や記号を表示することもできる。ラベル印字装置の場合、表示パネル2は、通常液晶ディスプレイが用いられるがプラズマティスプレー等他の方式の表示パネルであってもよい。表示パネル2のサイズは、その機能上の必要性とサイズ上の制約から、パーソナルコンピュータ等の表示装置とは異なり、通常数行の分の表示面積しか有さない。表示パネル2の表示面積は、印字対象のラベルのサイズに対応させれば充分だからである。   The display panel 2 displays input characters, characters converted to kanji based on the input character data, and the like. It is also possible to display characters and symbols for explaining operation guidance and functions for assisting the operation of the operator. In the case of a label printing apparatus, the display panel 2 is usually a liquid crystal display, but may be a display panel of another type such as a plasma spray. Unlike the display device such as a personal computer, the size of the display panel 2 usually has a display area of only a few lines because of its functional necessity and size restrictions. This is because it is sufficient for the display area of the display panel 2 to correspond to the size of the label to be printed.

図2に示すように、表示パネルは、制御手段によって制御され、表示パネルを構成する表示素子は、表示駆動部(回路)によって駆動され、入力文字列や各種の属性情報等を直接表示したり、表示パネルの周縁部に設けられている属性を示す文字列に対応する属性のオンオフを示すインジケータを点灯したりする。   As shown in FIG. 2, the display panel is controlled by control means, and the display elements constituting the display panel are driven by a display driving unit (circuit) to directly display an input character string, various attribute information, and the like. The indicator indicating the on / off of the attribute corresponding to the character string indicating the attribute provided at the peripheral edge of the display panel is turned on.

本ラベル印字装置1は、通常のラベルの横長方向に一連の文字を横書き表示及び印字する「横書きモード」の他に、ラベルの横長方向に一連の文字を縦書き表示及び印字する「縦書きモード」も可能である。   In addition to the “horizontal writing mode” that displays and prints a series of characters in the horizontal direction of a normal label, the label printing apparatus 1 displays “vertical writing mode” that displays and prints a series of characters in the horizontal direction of the label. Is also possible.

図3は、本ラベル印字装置1の基本構成をブロック図に表わしたものである。   FIG. 3 is a block diagram showing the basic configuration of the label printing apparatus 1.

本ラベル印字装置は、大きく分けて、「キー入力部」、「表示パネル」、「印字装置」及びこれらを統一的に制御するための「制御手段」とから構成されている。本願発明を構成する「文書データ編集手段」は、「制御手段」を構成するものであり、通常不揮発性記憶デバイスの「ROM」内に格納されたプログラムにより構成される。   This label printing apparatus is roughly composed of a “key input unit”, a “display panel”, a “printing apparatus”, and “control means” for controlling these in a unified manner. The “document data editing means” constituting the present invention constitutes “control means” and is usually constituted by a program stored in the “ROM” of the nonvolatile storage device.

「印字装置」は、「サーマルヘッド」とサーマルヘッドを構成する発熱素子に電圧を印加して通電する「ヘッド駆動部(回路)」、サーマルヘッドを搭載するキャリッジをラベルの搬送方向とは直交する方向に移動させるための「キャリッジモータ」と、これを駆動する「キャリッジモータ駆動部」と、印字媒体であるラベルシートを装置内で搬送させるための「搬送モータ」と、これを駆動するための「搬送モータ駆動部」と、インクリボンに圧接する位置と離間する位置とにサーマルヘッドを移動させる「昇降モータ」と、この昇降モータを駆動するサーマルヘッド「昇降モータ駆動部」と、ラベルシートが挿入されたことを検出するための「シート検出部」及びサーマルヘッドによってラベルシート上に融着されるインクリボンの「リボン巻取検出部」と、により構成されている。   The “printing device” has a “thermal head” and a “head drive unit (circuit)” that applies a voltage to the heating elements constituting the thermal head and energizes the carriage, and the carriage on which the thermal head is mounted is orthogonal to the label transport direction. A “carriage motor” for moving in the direction, a “carriage motor driving unit” for driving the carriage motor, a “conveyance motor” for conveying the label sheet as a printing medium in the apparatus, and for driving the same The “conveying motor driving unit”, the “elevating motor” that moves the thermal head to the position where it is pressed against and separated from the ink ribbon, the thermal head “elevating motor driving unit” that drives this elevating motor, and the label sheet “Sheet detector” for detecting insertion and “recovery” of the ink ribbon fused on the label sheet by the thermal head A down winding detection unit ", and is composed of.

また、「表示パネル」は、既に説明した液晶パネル等による表示パネルとこれを駆動するための「表示駆動部」により構成されている。   In addition, the “display panel” is configured by the display panel using the liquid crystal panel or the like already described and a “display drive unit” for driving the display panel.

「制御手段」は、中央演算処理装置(CPU)と、各種の処理プログラムやカナ漢字変換用辞書データや固定データを格納する「ROM」や、ワーキングメモリ、各種カウンタ、さらには、操作者(ユーザ)のデータ入力に係る固定データ等を格納するための書き換え可能なメモリである「RAM」、及び「表示用キャラクタジェネレータROM」及び「印字用キャラクタジェネレータROM」を含む。   The “control means” includes a central processing unit (CPU), “ROM” that stores various processing programs, dictionary data for kana-kanji conversion, and fixed data, working memory, various counters, and an operator (user ), Which is a rewritable memory for storing fixed data related to data input, and the like, “display character generator ROM” and “printing character generator ROM”.

本発明に係る文書データ処理を行うプログラムは、マイクロプロセッサ、ROM及びROM等に格納されたプログラムにより構成される。マイクロプロセッサを構成するCPUは、図3に示すように、ROM、RAM、キャラクタジェネレータROM(CG−ROM)等とシステムバスを介して接続されて構成されている。これにより、制御手段は、主に、文字や記号等のキャラクタコードからフォントデータを取り出し、このフォントデータをサイズ情報、上下割付け情報等に応じて加工して表示パネルにおいて表示し、これをラベル等の印字媒体に印刷するものである。   A program for processing document data according to the present invention is constituted by a microprocessor, a ROM, a program stored in a ROM, and the like. As shown in FIG. 3, the CPU constituting the microprocessor is connected to a ROM, a RAM, a character generator ROM (CG-ROM) and the like via a system bus. Thereby, the control means mainly extracts the font data from the character code such as characters and symbols, processes the font data according to the size information, the vertical allocation information, etc., and displays it on the display panel. It prints on the printing medium.

ここで、「表示用キャラクタジェネレータROM」と「印字用キャラクタジェネレータROM」は、各キャラクタ毎に1対1に対応している特定のキャラクタコードを指定することにより、各キャラクタのフォントデータ(字体データ)を出力するものである。ここで、これらのフォントデータは、アウトラインフォントであってもビットマップフォントであっても良い。このように、本装置においては、「表示用キャラクタジェネレータROM」と「印字用キャラクタジェネレータROM」の2つのフォントデータを格納しているが、一つのフォントデータに統一することも可能である。   Here, the “display character generator ROM” and the “printing character generator ROM” designate font data (character data) for each character by designating a specific character code corresponding one-to-one for each character. ) Is output. Here, these font data may be outline fonts or bitmap fonts. As described above, in this apparatus, two font data of “display character generator ROM” and “printing character generator ROM” are stored, but can be unified into one font data.

ところで、キー入力部により入力された文字の前記キャラクタコードを含むキャラクタデータを表示順に一時記憶する記憶手段は、RAM内の所定アドレス範囲内に設けられる。そして、本装置においては、このようにしてRAM内に記憶される入力された各文字のキャラクタデータは、予め規定した所定のフォーマットに基づいて記憶するようにしている。   Incidentally, storage means for temporarily storing the character data including the character code of the character input by the key input unit in the display order is provided within a predetermined address range in the RAM. In this apparatus, the character data of each character input thus stored in the RAM is stored based on a predetermined format defined in advance.

図4は、このような記憶手段において格納されるキャラクタデータの構成例を示すものである。   FIG. 4 shows a configuration example of character data stored in such a storage means.

本実施の形態においては、一連の文字群における各文字1文字分のキャラクタデータを、当該文字を特定するための「キャラクタコード」、当該文字のサイズを規定する「サイズ情報」、当該文字の例えば「上付き」、又は「下付き」等の飾り処理を行うための「上下割付け情報」及び当該文字の配置位置を示す「位置情報」により構成されている。   In the present embodiment, character data for one character in a series of character groups, a “character code” for specifying the character, “size information” for specifying the size of the character, It consists of “upper and lower layout information” for performing decoration processing such as “superscript” or “subscript” and “position information” indicating the arrangement position of the character.

ここで、「位置情報」は、表示パネルにおける当該文字の配置位置を示すものであって、例えば「位置コードカウンタ」と「半角カウンタ」の2つのカウンタによって示されるデータを格納するものである。この「位置コードカウンタ」と「半角カウンタ」の操作は、本装置のメモリに格納されたプログラムによって自動的に行われるものである。   Here, “position information” indicates the arrangement position of the character on the display panel, and stores data indicated by two counters, for example, “position code counter” and “half-width counter”. The operations of the “position code counter” and the “half-width counter” are automatically performed by a program stored in the memory of the apparatus.

図5は、本発明にかかる「上下割り付け機能」が選択された場合の処理フローの例を示すものである。     FIG. 5 shows an example of a processing flow when the “up / down allocation function” according to the present invention is selected.

本装置の電源スイッチ6(図1(a)に示す)がオンされると、RAM(図3)内の各種カウンタやデータがイニシャライズされ、本発明に係る文書データ編集手段が起動されて文字データの入力が受け付け可能となり、印字すべき一連の文字の文字データが入力手段により入力される毎に文字データが記憶手段(RAM)における文字データ格納アドレス領域内に記憶される。そして、上下割り付け処理されるべき文字がカーソル等により指定された後に所定のファンクションキーによって「上下割り付け機能」が選択されることによって、図5に記載の上下割り付け処理に係る処理フローが起動されることとなる(S10)。   When the power switch 6 (shown in FIG. 1 (a)) of the apparatus is turned on, various counters and data in the RAM (FIG. 3) are initialized, and the document data editing means according to the present invention is activated to activate the character data. The character data is stored in the character data storage address area in the storage means (RAM) each time character data of a series of characters to be printed is input by the input means. Then, after a character to be vertically allocated is designated by a cursor or the like, the “up / down allocation function” is selected by a predetermined function key, whereby the processing flow related to the vertical allocation process shown in FIG. 5 is started. (S10).

最初に、記憶手段(RAM)における文字データ格納アドレス領域内において、上下割り付けする指定文字の前方に文字データが存在しているか否かをチェックする(S11)。   First, in the character data storage address area in the storage means (RAM), it is checked whether or not there is character data ahead of the designated character to be assigned vertically (S11).

存在していなかった場合には、当該指定文字の文字サイズを最小文字サイズ(例えば、SSサイズ)に指定し(S12)、設定されている文字揃えの条件である「上揃え」、「センター揃え」、または「下揃え」の指定に基づいて、当該指定文字の配置位置を決定する(S13)。   If the character does not exist, the character size of the designated character is designated as the minimum character size (for example, SS size) (S12), and “upper alignment” and “center alignment” which are set character alignment conditions are specified. ”Or“ bottom alignment ”, the arrangement position of the designated character is determined (S13).

上下割り付けする指定文字の前方に文字データが存在していた場合は(S11)、「割付け対象文字の選択処理ルーチン」に入る(S15)。この「割付け対象文字の選択処理ルーチン」は、上下割り付け指定文字の基準となる対象文字を選択するものであり、図6にて詳しく述べる。この割付け対象文字の選択処理によって基準とすべき対象文字があった場合には(S16)、当該対象文字の文字サイズ(図4の「サイズ情報」)を取得する(S17)。   If character data exists in front of the designated character to be assigned vertically (S11), the “allocation target character selection processing routine” is entered (S15). This “assignment target character selection processing routine” selects a target character that serves as a reference for the upper and lower assignment designated characters, and will be described in detail with reference to FIG. If there is a target character to be used as a reference by this allocation target character selection process (S16), the character size of the target character (“size information” in FIG. 4) is acquired (S17).

そして、当該対象文字の文字サイズに基づいて上下割り付け指定文字の文字サイズを選択するのである(S18)。通常、指定文字のサイズは、対象文字の文字サイズよりも1段階から3段階程度の小さいサイズの文字に設定する。上述した図1の印字例においては、指定文字のサイズは、対象文字のサイズよりも2段階小さいサイズの文字と設定している。   Then, based on the character size of the target character, the character size of the vertically assigned character is selected (S18). Normally, the size of the designated character is set to a character having a size that is smaller by one to three steps than the character size of the target character. In the printing example of FIG. 1 described above, the size of the designated character is set to a character that is two steps smaller than the size of the target character.

このようにして上下割り付け指定文字のサイズが決定された後に、当該指定文字が、「上付き」なのか「下付き」なのかをチェックし(S19)、下付き指定であれば、当該下付き指定文字を対象文字の文字領域下端を基準にする配置位置に設定する(S20)。また、上付き指定であれば、当該上付き指定文字を対象文字の文字領域上端を基準にする配置位置に設定する(S21)。   After the size of the vertically assigned character is determined in this way, it is checked whether the designated character is “superscript” or “subscript” (S19). The designated character is set at an arrangement position based on the lower end of the character area of the target character (S20). If it is superscript designation, the superscript designation character is set to an arrangement position based on the upper end of the character area of the target character (S21).

尚、上記ステップS16において、「割付け対象文字の選択処理」によって基準とすべき対象文字がなかった場合には、当該指定文字の文字サイズを最小文字サイズ(例えば、SSサイズ)に指定し(S12)、設定されている文字揃えの条件である「上揃え」、「センター揃え」、または「下揃え」の指定に基づいて、当該指定文字の配置位置を決定する(S13)。   In step S16, when there is no target character to be used as a reference in the “assignment target character selection process”, the character size of the designated character is designated as the minimum character size (for example, SS size) (S12). ), The arrangement position of the designated character is determined based on the designation of the “upper alignment”, “center alignment”, or “lower alignment”, which is the set character alignment condition (S13).

これによって、上下割り付け処理ルーチンが終了する(S22)。   As a result, the up / down allocation processing routine ends (S22).

次に、上で記載した上限割り付け対象文字の選択処理ルーチンについて説明する。   Next, the upper limit allocation target character selection processing routine described above will be described.

図5のステップS11で説明したように、上下割り付け指定文字の前方に文字があるか否かの判断は、記憶手段(RAM)における文字データ格納アドレス領域内において、上下割り付けする指定文字の前方に文字データが存在しているか否かをチェックすることにより行われ、前方に文字があった場合に、この「割り付け対象文字の選択処理ルーチン」(S15)が起動される。   As described in step S11 in FIG. 5, it is determined whether or not there is a character in front of the vertically assigned character in the character data storage address area in the storage means (RAM) in front of the designated character to be vertically assigned. This check is performed by checking whether character data exists, and when there is a character ahead, this “assignment target character selection processing routine” (S15) is started.

最初に、割り付け指定文字の直前である一つ前の文字データを抽出し(S31)、当該抽出された文字が上下割り付けされた文字であるか否かがチェックされ(S32)、上下割り付けされていない文字であった場合は、当該抽出文字を対象文字とし(S33)、図5に記載の上下割り付け処理ルーチンにおけるステップS16に入ることとなる(S37)。ステップS32において、前記抽出された文字が上下割り付けされていた文字であった場合は、当該抽出文字のさらに一つ前の文字データを抽出し(S35)、当該さらに一つ前の文字が上下割り付けされた文字であるか否かがチェックされ(S32)、上下割り付けされていない文字であった場合は、当該抽出文字を対象文字とする(S33)。上下割り付けされている文字であった場合は、上下割り付けされていない文字を抽出するまで繰り返され(S35→S32→S34→S35)、最終的に上下割り付けの対象文字がなかった場合には、対象文字なしと判断され、「上下割り付け処理ルーチン」に戻る(S36)。   First, the previous character data immediately before the assigned character is extracted (S31), and it is checked whether or not the extracted character is a vertically assigned character (S32). If there is no character, the extracted character is set as the target character (S33), and the process enters step S16 in the up / down allocation processing routine shown in FIG. 5 (S37). In step S32, if the extracted character is a character that has been assigned vertically, the character data immediately before the extracted character is extracted (S35), and the character immediately before that character is assigned vertically. It is checked whether or not the character is an assigned character (S32). If the character is not assigned vertically, the extracted character is set as a target character (S33). If the character is assigned vertically, the process is repeated until a character not assigned vertically is extracted (S35 → S32 → S34 → S35). It is determined that there is no character, and the process returns to the “upper and lower layout processing routine” (S36).

次に、上記した本発明に係る上下割り付け処理ルーチンの実行した場合印字例について説明する。   Next, a description will be given of an example of printing when the above-described vertical allocation processing routine according to the present invention is executed.

図7(a)において、最初に文字「S」続いて「O」が、センター揃え且つ文字サイズ「LL」(最大サイズ)で入力されたとする。次に、同図(b)において、文字「4」が入力され、当該文字「4」をカーソルで指定して機能キーにより「上下割り付け」機能の「下付き」が選択されると、指定文字「4」の、直前の文字は「O」であり当該文字「O」は上下割り付け文字ではないことから、この下付き指定文字「4」の対象文字は、「O」と認定され、文字「O」のキャラクタデータ内のサイズ情報(図4参照)が取得され、下付き文字「4」は、対象文字の文字サイズから例えば2段階小さい文字サイズであるMサイズに自動設定され、同図(c)に示すとおり、その文字配置は対象文字であるLLサイズ文字「O」の印字領域下端に揃えられることとなる。   In FIG. 7A, it is assumed that the character “S” and then “O” are first input with center alignment and character size “LL” (maximum size). Next, in FIG. 4B, when the character “4” is input, the character “4” is designated with the cursor, and “subscript” of the “up / down allocation” function is selected by the function key, the designated character Since the immediately preceding character of “4” is “O” and the character “O” is not a vertically assigned character, the target character of this subscript designation character “4” is recognized as “O”, and the character “ The size information (see FIG. 4) in the character data “O” is acquired, and the subscript “4” is automatically set to, for example, M size, which is a character size that is two steps smaller than the character size of the target character. As shown in c), the character arrangement is aligned with the lower end of the print area of the LL size character “O” which is the target character.

続いて、図7(d)に示すように、文字「2」が入力されこれを機能キーにより上付き指定されたとする。当該上付き指定文字「2」の直前文字は、「4」であることから、当該文字「4」のキャラクタデータ内の上下割り付け情報(図4参照)がチェックされ、当該文字「4」は下付き文字であることから、この上付き指定文字「2」の対象文字ではないことが判明する。従って、さらに一つ前の文字「O」のキャラクタデータ内の上下割り付け情報がチェックされ、当該文字「O」は上下割り付け文字でないことから、この上付き指定文字「2」の対象文字となることが判明する。これにより、この上付き指定文字「2」は、同図(e)に示すように、対象文字「O」のサイズから2段階小さい文字サイズであるMサイズに自動設定され、その文字配置は対象文字であるLLサイズ文字「O」の印字領域上端に揃えられることとなる。   Subsequently, as shown in FIG. 7D, it is assumed that the character “2” is inputted and superscript is designated by the function key. Since the character immediately before the superscript designated character “2” is “4”, the vertical allocation information (see FIG. 4) in the character data of the character “4” is checked, and the character “4” Since it is a superscript character, it turns out that it is not the object character of this superscript designation character “2”. Therefore, the up / down allocation information in the character data of the previous character “O” is checked, and since the character “O” is not the up / down allocation character, it becomes the target character of the superscript designation character “2”. Becomes clear. As a result, the superscript designated character “2” is automatically set to the M size, which is a character size two steps smaller than the size of the target character “O”, as shown in FIG. The LL size character “O”, which is a character, is aligned with the upper end of the print area.

続いて、図7(f)に示すように、文字「―」が入力されこれを機能キーにより上付き指定されたとする。当該上付き指定文字「―」の直前文字は、「2」であることから、当該文字「2」のキャラクタデータ内の上下割り付け情報がチェックされ、当該文字「2」は上付き文字であることから、この上付き指定文字「―」の対象文字ではないことが判明する。従って、さらに一つ前の文字「4」のキャラクタデータ内の上下割り付け情報がチェックされ、同様に文字「4」は下付き文字であることから、さらにその前の「O」のキャラクタデータ内の上下割り付け情報がチェックされる。ここで、文字「O」は上下割り付け文字でないことから、上付き指定文字「―」の対象文字となることが判明する。これにより、この上付き指定文字「―」は、同図(g)に示すように、対象文字「O」のサイズから2段階小さい文字サイズであるMサイズに自動設定され、その文字配置は対象文字であるLLサイズ文字「O」の印字領域上端に揃えられることとなるのである。   Subsequently, as shown in FIG. 7F, it is assumed that the character “-” is input and superscript is designated by the function key. Since the character immediately before the superscript designation character “-” is “2”, the vertical allocation information in the character data of the character “2” is checked, and the character “2” is a superscript character. From this, it is found that this is not the target character of the superscript designated character “-”. Accordingly, the up-down allocation information in the character data of the previous character “4” is checked. Similarly, since the character “4” is a subscript, the character data “O” in the previous character data “O” is further subordinate. Top and bottom allocation information is checked. Here, since the character “O” is not a vertically assigned character, it is found that it is a target character of the superscript designated character “-”. As a result, the superscript designated character “-” is automatically set to M size, which is a character size two steps smaller than the size of the target character “O”, as shown in FIG. This is aligned with the upper end of the print area of the LL size character “O” that is a character.

続いて、図8(a)に示すように、図7(g)の状態において一連の文字郡の先頭文字「S」がカーソルにより指定されて削除されたとする。この場合、削除された文字「S」以外の文字は、一体的に1文字分左側にシフトされ、上下割り付け文字である「4」、「2」及び「―」の文字サイズ及び配置位置が再チェックされる。下付け文字「4」、上付き文字「2」及び「―」の対象文字は、相変わらず文字「O」であるので、図8(b)に示すように、これらの上下割り付け文字のサイズ及び配置位置に変更はない。   Subsequently, as shown in FIG. 8A, it is assumed that the first character “S” of a series of character groups is designated by the cursor and deleted in the state of FIG. In this case, the characters other than the deleted character “S” are integrally shifted to the left by one character, and the character sizes and arrangement positions of “4”, “2”, and “−” that are the top and bottom assigned characters are reset. Checked. Since the target character of the subscript “4”, the superscript “2”, and “−” is still the character “O”, as shown in FIG. There is no change in position.

続いて、図8(b)の状態において一連の文字郡の先頭文字「O」がカーソルにより指定されて削除されたとする。この場合、削除された文字「O」以外の文字は、一体的に1文字分左側にシフトされ、上下割り付け文字である「4」、「2」及び「―」の文字サイズ及び配置位置が再チェックされる。下付け文字「4」は、先頭文字となり、対象文字が存在しないので、センター揃えで例えば最小のSSサイズに設定されることとなる。さらに、上付き指定文字「2」及び「―」の前の文字は、全て上下割り付け文字なので、図8(c)に示すように、これらの上下割り付け文字「2」及び「―」も、先頭の下付き指定文字「4」と同様に、センター割り付けの最小文字に設定されるのである。   Subsequently, it is assumed that the first character “O” of a series of character groups is designated and deleted by the cursor in the state of FIG. In this case, the characters other than the deleted character “O” are integrally shifted to the left by one character, and the character sizes and arrangement positions of “4”, “2”, and “−” that are the top and bottom assigned characters are reset. Checked. The subscript “4” is the first character and there is no target character, so the center size is set to the smallest SS size, for example. Furthermore, since the characters before the superscript designation characters “2” and “−” are all vertically assigned characters, as shown in FIG. 8C, these vertically assigned characters “2” and “−” As with the subscript designation character “4”, the minimum character of center assignment is set.

続いて、図8(c)の状態において先頭文字「4」の前に文字「H」がセンター揃えで且つ文字サイズがLサイズを指定して入力されたとすると(同図(d)に示す)、上下割り付け文字である「4」、「2」及び「―」のキャラクタデータ(図4)には、上下割り付け情報がそのまま付与されているので、今度は、Lサイズ文字である「H」がこれらの上下割り付け文字である「4」、「2」及び「―」の対象文字となるので、図8(e)に示すとおり、下付き指定文字である「4」は、その文字サイズがLサイズよりも2段階小さいSサイズに自動設定され、対象文字であるLサイズ文字「H」の印字領域下端に、また、上付き指定文字である「2」及び「―」もその文字サイズが2段階小さいSサイズに自動設定され、Lサイズ文字「H」の印字領域上端に、それぞれ印字配置されることとなるのである。   Subsequently, in the state of FIG. 8C, if the character “H” is input with the center aligned and the character size designated L size before the first character “4” (shown in FIG. 8D). Since the character data (FIG. 4) of “4”, “2”, and “−” that are the vertically assigned characters are assigned the vertically assigned information as they are, “H” that is the L size character is now displayed. Since these upper and lower allocated characters “4”, “2”, and “−” are the target characters, as shown in FIG. 8E, the subscript designation character “4” has a character size of L. It is automatically set to an S size that is two steps smaller than the size, and the character size of the superscript designated characters “2” and “-” is 2 at the bottom of the print area of the L size character “H” that is the target character. The size is automatically set to a smaller S size, and the L size character “ The print area-upper-end of the "is becoming an be printed arranged.

また、本発明に係る印字装置において、図9(a)に示すように、最初に例えば文字「4」が入力され、当該文字を指定して上付きした場合には、同図(b)に示すように、当該入力文字「4」は、自動的に最小文字である例えばSSサイズが設定されセンター揃えとなるのである。   Further, in the printing apparatus according to the present invention, as shown in FIG. 9A, for example, when a character “4” is first input and the character is designated and superscripted, as shown in FIG. As shown, the input character “4” is automatically centered by setting, for example, the SS size which is the minimum character.

尚、本印字装置においては、上下割り付けでない文字及び上下割り付け文字の個々について、1文字単位で白抜き、立体、影、枠、下線などの文字飾りをすることも可能である。この場合、図4に示した各文字のキャラクタデータ内に「飾り文字情報」を含ませることとなる。   In this printing apparatus, it is also possible to decorate characters such as white, solid, shadow, frame, and underline for each character that is not vertically assigned and for each vertically assigned character. In this case, “decorative character information” is included in the character data of each character shown in FIG.

以上詳しく説明したように、本発明に係る印字装置においては、文字サイズ情報、上下割り付け情報及び印字位置情報をキャラクタデータとして記憶する記憶手段に記憶されたキャラクタデータを、前記記憶手段において特定の文字が上付き又は下付きの上下割り付けが指定された場合、当該指定文字に先行する文字の文字態様に対応して、当該指定文字の文字サイズと配置位置を設定することとを特徴とする印字装置を提供するものである。   As described above in detail, in the printing apparatus according to the present invention, the character data stored in the storage unit that stores the character size information, the vertical layout information, and the print position information as the character data is stored in the storage unit. A printing apparatus characterized by setting a character size and an arrangement position of a designated character corresponding to a character form of a character preceding the designated character when superscript or subscript layout is designated Is to provide.

これにより、本発明においては、同一印字行に印字する一連の文字群中のある文字について上下割り付けが指定された場合、該上下割り付け文字が先行する文字の下端又は上端のレベルから飛び出すことがないように印字することにより見栄えが良く誤認されることがない印字を実現したのである。また、上下割り付けが指定された文字に対して個々に文字サイズを指定する操作を必要とせずに自動的に適切な文字サイズを設定することにより迅速な文字入力を実現したのである。   Thus, in the present invention, when vertical allocation is specified for a character in a series of characters to be printed on the same print line, the vertical allocation character does not jump out from the lower or upper level of the preceding character. By printing in this way, it was possible to realize printing that looks good and is not mistaken. In addition, quick character input is realized by automatically setting an appropriate character size without requiring an operation for individually specifying a character size for characters for which vertical allocation is specified.

本発明は、入力された一連の文字を所定サイズの印字媒体に印字する印字技術に関するものであり、産業上の利用性を有するものである。   The present invention relates to a printing technique for printing a series of inputted characters on a printing medium of a predetermined size, and has industrial applicability.

本発明を適用した上下割り付け文字を有する一連文字の印字例を示す。An example of printing a series of characters having vertically assigned characters to which the present invention is applied is shown. 本発明を適用したラベル印字装置1の外観を示す。The external appearance of the label printing apparatus 1 to which this invention is applied is shown. 本発明を適用したラベル印字装置の基本構成を示すブロック図である。It is a block diagram which shows the basic composition of the label printing apparatus to which this invention is applied. 記憶装置の格納されるキャラクタデータの構成例を示す。The structural example of the character data stored in a memory | storage device is shown. 上下割り付け処理を実行する制御フローチャートの例を示す。The example of the control flowchart which performs an up-down allocation process is shown. 上下割り付け処理における対象文字の選択処理を実行する制御フローチャートの例を示す。The example of the control flowchart which performs the selection process of the object character in an up-down allocation process is shown. 本発明を適用した上下割り付けの例(その1)を示す。The example (the 1) of the up-down allocation to which this invention is applied is shown. 本発明を適用した上下割り付けの例(その2)を示す。The example (the 2) of the up-down allocation to which this invention is applied is shown. 本発明を適用した上下割り付けの例(その3)を示す。The example (the 3) of the vertical allocation which applied this invention is shown. 従来技術に係る上下割り付け文字を有する一連文字の印字例を示す。An example of printing a series of characters having upper and lower assigned characters according to the prior art is shown.

符号の説明Explanation of symbols

1:ラベル印字装置
2:表示パネル
3:入力手段(キー入力部)
4:ラベルシート挿入口
5:ラベルシート排出口
6:電源スイッチ
1: Label printing device 2: Display panel 3: Input means (key input unit)
4: Label sheet insertion port 5: Label sheet discharge port 6: Power switch

Claims (9)

文字、数字又は記号等(以下、「文字」という)の文字データの入力と種々の機能設定を行うための入力手段と、
前記入力手段により入力された一連の文字を表示する表示手段と、
前記文字のフォントデータをキャラクタコードに対応させて記憶するキャラクタジェネレータROMと、
前記入力手段により入力された各文字の前記キャラクタコードを含むキャラクタデータを前記表示手段における表示順に一時記憶する記憶手段と、
前記記憶手段に格納されたキャラクタデータに基づいて一連の文字を所定サイズの印字媒体に印字する印字手段と、
前記記憶手段に記憶されたキャラクタデータを編集する文字データ編集手段と、
を備えた印字装置において、
前記キャラクタデータは、文字サイズ情報、上下割り付け情報、印字位置情報を含み、前記文字データ編集手段は、前記記憶手段における特定の文字について上付き又は下付きの上下割り付けが指定された場合、当該指定文字に先行する文字の文字態様に対応して、当該指定文字の文字サイズと配置位置を設定することを特徴とする印字装置。
Input means for inputting character data such as characters, numbers or symbols (hereinafter referred to as “characters”) and setting various functions;
Display means for displaying a series of characters input by the input means;
A character generator ROM for storing font data of the character in correspondence with a character code;
Storage means for temporarily storing character data including the character code of each character input by the input means in the display order on the display means;
Printing means for printing a series of characters on a printing medium of a predetermined size based on the character data stored in the storage means;
Character data editing means for editing the character data stored in the storage means;
In a printing apparatus comprising
The character data includes character size information, top / bottom allocation information, and print position information, and the character data editing unit specifies the designation when superscript / subscript top / bottom allocation is specified for a specific character in the storage unit. A printing apparatus, wherein a character size and an arrangement position of the designated character are set corresponding to a character mode of a character preceding the character.
前記文字データ編集手段は、前記指定文字の直前の文字の文字サイズに対応して、当該指定文字の文字サイズとその配置を設定することを特徴とする請求項1に記載の印字装置。   2. The printing apparatus according to claim 1, wherein the character data editing unit sets a character size and an arrangement of the designated character corresponding to a character size of a character immediately before the designated character. 前記文字データ編集手段は、前記記憶手段における前記指定文字の直前文字が上付き又は下付き文字であった場合、前記直前文字のさらに前の文字の文字サイズに対応して、当該文字の文字サイズとその配置位置を設定することとを特徴とする請求項2に記載の印字装置。   The character data editing means, when the character immediately before the specified character in the storage means is a superscript or subscript, the character size of the character corresponding to the character size of the character before the immediately preceding character The printing apparatus according to claim 2, wherein an arrangement position is set. 前記文字データ編集手段は、前記記憶手段における前記指定文字に先行する全ての文字が上付き又は下付き文字であった場合又は先行する文字がない場合、当該指定文字の文字サイズを最小文字サイズに設定し、当該文字の位置を指定された文字揃えに従った配置位置に設定することを特徴とする請求項3に記載の印字装置。   The character data editing means sets the character size of the designated character to the minimum character size when all characters preceding the designated character in the storage means are superscripts or subscripts or when there is no preceding character. The printing apparatus according to claim 3, wherein the printer is set and the position of the character is set to an arrangement position according to a designated character alignment. 前記印字媒体は、予め定められた種々の形状のラベルであり、
前記文字データ編集手段は、印字される前記一連の文字が選択されたラベルにおける所定の印字領域内に収まるように前記キャラクタデータ内の文字サイズを編集することを特徴とする請求項1乃至4の何れか1項に記載の印字装置。
The print medium is labels of various shapes determined in advance,
The character data editing means edits the character size in the character data so that the series of characters to be printed fit within a predetermined print area in the selected label. The printing apparatus according to any one of the above.
入力手段により入力された文字、数字又は記号等(以下、「文字」という)により構成される一連の文字を所定サイズの印字媒体上に印字する印字方法であって、
(1)前記入力手段により入力された各文字のキャラクタコードを含むキャラクタデータを記憶手段内に印字順に記憶するステップと、
(2)前記記憶手段における特定の文字について上付き又は下付きの上下割り付けが指定された場合に当該指定文字の直前文字のキャラクタデータ内の文字サイズ情報を読み出すステップと、
(3)前記直前文字の文字サイズに対応して、前記指定文字の文字サイズを設定するステップと、
(4)前記直前文字の文字サイズに対応して、前記指定文字の配置位置を設定するステップと、
の各ステップを有することを特徴とする上下割り付け文字の印字方法。
A printing method for printing a series of characters composed of characters, numbers, symbols, etc. (hereinafter referred to as “characters”) input by an input means on a printing medium of a predetermined size,
(1) storing character data including a character code of each character input by the input means in the storage order in the storage means;
(2) a step of reading character size information in the character data of the character immediately before the designated character when superscript or subscript vertical assignment is designated for the specific character in the storage means;
(3) setting a character size of the designated character corresponding to a character size of the immediately preceding character;
(4) setting an arrangement position of the designated character corresponding to a character size of the immediately preceding character;
A method for printing vertically allocated characters, comprising the steps of:
前記ステップ(2)において、前記記憶手段における前記指定文字に先行する文字がない場合、上記ステップ(3)及び(4)に替えて、
(5)当該指定文字の文字サイズを最小文字サイズに設定するステップと、
(6)当該文字を指定された文字割り付けに応じた配置位置に設定するステップと、
を有することを特徴とする請求項6に記載の印字方法。
In the step (2), when there is no character preceding the designated character in the storage means, instead of the steps (3) and (4),
(5) setting the character size of the designated character to the minimum character size;
(6) a step of setting the character at an arrangement position corresponding to the designated character assignment;
The printing method according to claim 6, further comprising:
前記ステップ(2)において前記記憶手段における前記指定文字の直前文字が上付き又は下付き文字であった場合、上記ステップ(2)乃至(4)に替えて、
(7)前記指定文字に先行する文字の中で上付き又は下付きでない当該指定文字に最も近い文字のキャラクタデータ内の文字サイズを読み取るステップと、
(8)前記最も近い文字の文字サイズに対応して、前記指定文字の文字サイズを設定するステップと、
(9)前記最も近い文字の文字サイズに対応して、前記指定文字の配置位置を設定するステップと、
を有することを特徴とする請求項6に記載の印字方法。
When the immediately preceding character of the designated character in the storage means in the step (2) is a superscript or subscript, instead of the steps (2) to (4),
(7) reading a character size in character data of a character closest to the designated character that is not a superscript or subscript among characters preceding the designated character;
(8) setting a character size of the designated character corresponding to a character size of the closest character;
(9) setting an arrangement position of the designated character corresponding to a character size of the closest character;
The printing method according to claim 6, further comprising:
前記ステップ(7)において、前記記憶手段における前記指定文字に先行する全ての文字が上付き又は下付き文字であった場合、
(10)当該指定文字の文字サイズを最小文字サイズに設定するステップと、
(11)当該文字を指定された文字割り付けに応じた配置位置に設定するステップと、
を有することを特徴とする請求項7に記載の印字方法。
In step (7), when all characters preceding the designated character in the storage means are superscripts or subscripts,
(10) setting the character size of the designated character to the minimum character size;
(11) setting the character to an arrangement position according to the designated character assignment;
The printing method according to claim 7, further comprising:
JP2003380002A 2003-11-10 2003-11-10 Printing apparatus and printing method Expired - Lifetime JP4793837B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2003380002A JP4793837B2 (en) 2003-11-10 2003-11-10 Printing apparatus and printing method
CNB200410090942XA CN100351098C (en) 2003-11-10 2004-11-10 Printing device and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003380002A JP4793837B2 (en) 2003-11-10 2003-11-10 Printing apparatus and printing method

Publications (2)

Publication Number Publication Date
JP2005141660A true JP2005141660A (en) 2005-06-02
JP4793837B2 JP4793837B2 (en) 2011-10-12

Family

ID=34689871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003380002A Expired - Lifetime JP4793837B2 (en) 2003-11-10 2003-11-10 Printing apparatus and printing method

Country Status (2)

Country Link
JP (1) JP4793837B2 (en)
CN (1) CN100351098C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007035615A1 (en) * 2005-09-15 2007-03-29 Microsoft Corporation Positioning screen elements
JP2016163974A (en) * 2015-03-06 2016-09-08 ブラザー工業株式会社 Printing device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488440B (en) * 2013-09-02 2017-01-11 用友优普信息技术有限公司 Bill printing device and bill printing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143049A (en) * 1991-11-15 1993-06-11 Brother Ind Ltd Document processor with settable and variable superscript and subscript character size
JP3060443B2 (en) * 1991-12-27 2000-07-10 ブラザー工業株式会社 Printing device
EP0790565B1 (en) * 1992-03-11 2000-05-31 Chinon Industries Inc. Word processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007035615A1 (en) * 2005-09-15 2007-03-29 Microsoft Corporation Positioning screen elements
US7576749B2 (en) 2005-09-15 2009-08-18 Microsoft Corporation Positioning screen elements
CN101263449B (en) * 2005-09-15 2012-06-06 微软公司 Positioning screen elements
JP2016163974A (en) * 2015-03-06 2016-09-08 ブラザー工業株式会社 Printing device

Also Published As

Publication number Publication date
CN1616239A (en) 2005-05-18
JP4793837B2 (en) 2011-10-12
CN100351098C (en) 2007-11-28

Similar Documents

Publication Publication Date Title
US5448685A (en) Label printing apparatus and wordprocessor
WO1996016813A1 (en) Character information processor with layout display function
JP2011073336A (en) Printer, method for producing printed object, and storage medium in which program for producing printed object is stored
JP4793837B2 (en) Printing apparatus and printing method
JPH05305748A (en) Printer
KR100555431B1 (en) Display unit of character and input unit of character
US8345270B2 (en) Print data generation apparatus and computer-readable medium storing print data generation program
JPH0326409B2 (en)
EP0632394B1 (en) Text processing device
JPH05185695A (en) Printing device
JP2005138556A (en) Printing apparatus and printing method
JP4463487B2 (en) Display device, display method, and printing device
EP1607226B1 (en) Printing controller and printing control program
JPH05334296A (en) Document processor
EP0395090B1 (en) Character pattern data generating device
US20140071496A1 (en) Printer, and printing method and program executed by printer
JP2854300B2 (en) Character processor
JPH07276715A (en) Tape printer capable of printing a plurality of blocks in optional number of lines
EP0274436B1 (en) Word processing apparatus
JPH05177901A (en) Printer
JPH07285244A (en) Printing device
JP3292393B2 (en) Document processing device
JPH07125373A (en) Printing device
JP2014051064A (en) Label printing device and its printing method
JPS605470B2 (en) typesetting system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061101

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090113

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090313

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090930

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100112

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110721

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4793837

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250