Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3067553B2 - Printing device - Google Patents
[go: Go Back, main page]

JP3067553B2 - Printing device - Google Patents

Printing device

Info

Publication number
JP3067553B2
JP3067553B2 JP6272904A JP27290494A JP3067553B2 JP 3067553 B2 JP3067553 B2 JP 3067553B2 JP 6272904 A JP6272904 A JP 6272904A JP 27290494 A JP27290494 A JP 27290494A JP 3067553 B2 JP3067553 B2 JP 3067553B2
Authority
JP
Japan
Prior art keywords
character
line
pitch
pattern
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6272904A
Other languages
Japanese (ja)
Other versions
JPH08108579A (en
Inventor
千年 伊藤
英生 上野
昭広 澤田
美香子 尾藤
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP6272904A priority Critical patent/JP3067553B2/en
Publication of JPH08108579A publication Critical patent/JPH08108579A/en
Application granted granted Critical
Publication of JP3067553B2 publication Critical patent/JP3067553B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、キーボード等から入力
された文字等を含むテキストデータにおける各文字毎に
ついて、それぞれの文字ピッチに基づき所定のパターン
配置領域内でドットパターンデータに展開するととも
に、そのドットパターンを被印字媒体上に印字する印字
装置に関し、特に、文字等を含む行の行頭文字及び行末
文字のパターン配置領域の境界がそれぞれの文字ピッチ
の境界を越える場合に各行頭文字、行末文字のパターン
配置領域の境界を文字ピッチの境界に一致させるべく補
正することにより、フレーミング機能(文字等を罫線に
て囲む機能)を実行する場合においても行頭文字や行末
文字がフレーム線からはみ出すことを防止可能な印字装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention develops, for each character in text data including a character or the like input from a keyboard or the like, into dot pattern data in a predetermined pattern arrangement area based on the respective character pitches. Regarding a printing device that prints the dot pattern on a printing medium, especially when the boundary of the pattern arrangement area of the first character and the last character of a line including characters exceeds the boundary of the respective character pitches, By correcting the boundary of the character pattern arrangement area to match the boundary of the character pitch, the first character and the last character of the line will be out of the frame line even when the framing function (function to enclose characters etc. with ruled lines) is executed. The present invention relates to a printing apparatus capable of preventing the printing.

【0002】[0002]

【従来の技術】従来より、キーボードを介して入力され
た文字等のテキストデータをそれぞれの文字に対応する
ドットパターンデータに展開して被印字媒体上に各種の
書体をもってドット印字する印字装置が種々提案されて
おり、かかる印字装置では、一般に、各文字等毎に文字
ピッチ及び文字ピッチ内でドットパターンが配置される
パターン配置領域を予め定めておき、ドット印字時に、
各文字等のドットパターンデータをパターン配置領域内
に配置しつつ文字等を被印字媒体上にドット印字するよ
うに構成されている。また、所謂、フレーミング機能を
有する印字装置においては、文字等の印字時にフレーム
線により各文字等を囲むようにフレーム枠線が印字され
る。
2. Description of the Related Art Conventionally, there have been various printing devices that develop text data such as characters input via a keyboard into dot pattern data corresponding to each character and perform dot printing with various typefaces on a print-receiving medium. In such a printing apparatus, generally, a character pitch for each character or the like and a pattern arrangement area in which a dot pattern is arranged within the character pitch are determined in advance.
The configuration is such that characters and the like are dot-printed on the print-receiving medium while the dot pattern data of each character and the like are arranged in the pattern arrangement area. In a printing apparatus having a so-called framing function, a frame line is printed so as to surround each character or the like by a frame line when printing a character or the like.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、各文字
等の書体によっては、また、各書体における文字の種類
によっては、ドットパターンが配置されるパターン配置
領域が文字ピッチを越えてしまう場合がある。この点に
ついて、図9を参照して具体的に説明する。
However, depending on the typeface of each character and the like, and depending on the type of character in each typeface, the pattern arrangement area where the dot pattern is arranged may exceed the character pitch. This will be specifically described with reference to FIG.

【0004】図9は文字ピッチとパターン配置領域との
関係を模式的に示す説明図であり、図9(A)は特定書
体における文字「j」の文字ピッチとパターン配置領域
との関係、図9(B)は同一書体における文字「¥」の
文字ピッチとパターン配置領域との関係を示している。
図9(A)に示すように、文字「j」については、予め
文字ピッチ100(点線で囲って示す)が定められてい
るが、書体及び文字「j」の形状の特性から、ドットパ
ターンが配置されるパターン配置領域101(実線で囲
って示す)の左端101Aが文字ピッチ100の左端1
00Aを左方向に越える関係に設定されている。
FIG. 9 is an explanatory view schematically showing the relationship between the character pitch and the pattern arrangement area. FIG. 9A is a diagram showing the relation between the character pitch of the character "j" and the pattern arrangement area in a specific typeface. 9 (B) shows the relationship between the character pitch of the character “¥” and the pattern arrangement area in the same typeface.
As shown in FIG. 9A, the character pitch “100” (shown by a dotted line) is predetermined for the character “j”. However, from the characteristics of the font and the shape of the character “j”, the dot pattern is The left end 101A of the pattern arrangement area 101 (shown by a solid line) to be arranged is the left end 1 of the character pitch 100.
The relationship is set to exceed 00A to the left.

【0005】また、図9(B)に示すように、文字
「¥」については、前記と同様に、予め文字ピッチ10
2(点線で囲って示す)が定められているが、書体及び
文字「¥」の形状の特性から、ドットパターンが配置さ
れるパターン領域103(実線で囲って示す)の右端1
03Aが文字ピッチ102の右端102Aを右方向に越
える関係に設定されている。
As shown in FIG. 9 (B), the character "@"
2 (indicated by a dotted line) is defined, but due to the characteristics of the typeface and the shape of the character “¥”, the right end 1 of the pattern area 103 (indicated by a solid line) in which the dot pattern is arranged
03A is set to exceed the right end 102A of the character pitch 102 in the right direction.

【0006】従って、前記した文字ピッチとパターン配
置領域との関係を有する文字「j」、「¥」を含むテキ
ストデータ、特に、文字「j」が行頭位置に、文字
「¥」が行末位置に印字されるテキストデータをフレー
ミングしながら印字する場合には、以下のような問題が
存在する。かかる点について図10に基づき説明する。
図10は各文字「J」、「¥」をそれぞれ行頭位置、行
末位置に含むテキストデータをフレーミングしながら印
字した印字サンプルを示す説明図である。
Therefore, text data including the characters "j" and "@" having the relationship between the character pitch and the pattern arrangement area, particularly, the character "j" is at the beginning of the line and the character "@" is at the end of the line. When printing while printing the text data to be printed, there are the following problems. This will be described with reference to FIG.
FIG. 10 is an explanatory diagram showing a print sample in which text data including characters "J" and "@" at the beginning and end of the line, respectively, is printed while framing.

【0007】一般に、フレーミングが行われる際に印字
されるフレーム枠線においては、その左枠線が印字行の
行頭位置に合致されて印字され、また、右枠線が印字行
の行末位置に合致されて印字される。また、同時に、行
頭文字における文字ピッチの左端位置と行頭位置、及
び、行末文字における文字ピッチの右端位置と行末位置
とは、それぞれ相互に一致させられる。
In general, the left frame of the frame line printed when framing is performed is aligned with the beginning of the print line, and the right frame line is aligned with the end position of the print line. Is printed. At the same time, the left end position and the beginning position of the character pitch in the first character, and the right end position and the last position of the character pitch in the last character are matched with each other.

【0008】従って、図10に示すテキストデータをフ
レーミングしながら印字する場合、フレーム枠線104
の左枠線104Aは、行頭文字「j」の文字ピッチ10
0の左端100Aに合わせて印字され、また、フレーム
枠線104の右枠線104Bは、行末文字「¥」の文字
ピッチ102の右端102Aに合わせて印字されること
となる。これにより、前記図9にて説明したように、文
字「j」のパターン配置領域101の左端101Aは文
字ピッチ100の左端100Aを右方向に越えており、
また、文字「¥」のパターン配置領域103の右端10
3Aは文字ピッチ102の右端102Aを右方向に越え
ていることから、図10に示すように、文字「j」の一
部がフレーム枠線104の左枠線104Aから左方向に
はみ出して印字されるとともに、文字「¥」の一部が右
枠線104Bから右方向にはみ出して印字される。この
ように、行頭文字「j」や行末文字「¥」の一部がフレ
ーム枠線104からはみ出して印字されると、印字文字
の見栄えが非常に悪いという問題がある。
Therefore, when printing the text data shown in FIG.
Is the character pitch 10 of the first character "j".
0 is printed at the left end 100A, and the right frame line 104B of the frame frame line 104 is printed at the right end 102A of the character pitch 102 of the end-of-line character "@". Accordingly, as described in FIG. 9, the left end 101A of the pattern arrangement area 101 of the character “j” exceeds the left end 100A of the character pitch 100 in the right direction,
In addition, the right end 10 of the pattern arrangement area 103 of the character "@"
Since 3A is beyond the right end 102A of the character pitch 102 in the right direction, a part of the character "j" is printed out of the left frame line 104A of the frame frame line 104 to the left as shown in FIG. At the same time, a part of the character "@" is printed rightward from the right frame line 104B. As described above, when a part of the first character "j" or the last character "@" is printed out of the frame line 104, there is a problem that the appearance of the printed character is very poor.

【0009】本発明は前記従来の問題点を解消するため
になされたものであり、文字等を含む行の行頭文字及び
行末文字のパターン配置領域の境界がそれぞれの文字ピ
ッチの境界を越えた場合に各行頭文字、行末文字のパタ
ーン配置領域の境界を文字ピッチの境界に一致させるべ
く補正することにより、フレーミング機能を実行する場
合においても行頭文字や行末文字がフレーム枠線からは
み出すことを確実に防止することができ、もって文字等
を見栄え良く印字することができる印字装置を提供する
ことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and is intended to be applied to a case where the boundaries of the pattern arrangement regions of the first character and the last character of a line including characters and the like exceed the boundaries of the respective character pitches. By correcting the boundary of the pattern arrangement area of each first character and the last character to match the boundary of the character pitch, it is possible to ensure that the first character and the last character protrude from the frame border even when performing the framing function. It is an object of the present invention to provide a printing device which can prevent the occurrence of characters and can print characters and the like with good appearance.

【0010】[0010]

【課題を解決するための手段】前記目的を達成するため
本発明は、文字等からなるテキストデータを入力するテ
キスト入力手段と、テキスト入力手段から入力されたテ
キストデータを記憶するテキストメモリと、テキストメ
モリ中のテキストデータを各文字毎についてそれぞれの
文字ピッチに基づき所定のパターン配置領域内でドット
パターンデータに展開して記憶するイメージバッファ
と、イメージバッファのドットパターンデータを被印字
媒体に印字する印字手段とを有する印字装置において、
前記文字等を含む行の行頭文字における前記パターン配
置領域の左端が文字ピッチの左端よりも左方向に越えて
いるかどうかを判断する第1判断手段と、前記第1判断
手段によりパターン配置領域の左端が文字ピッチの左端
を越えていると判断された場合、文字ピッチの左端を
ターン配置領域の左端に一致させる第1補正手段と、前
記文字等を含む行の行末文字における前記パターン配置
領域の右端が文字ピッチの右端よりも右方向に越えてい
るかどうかを判断する第2判断手段と、前記第2判断手
段によりパターン配置領域の右端が文字ピッチの右端を
越えていると判断された場合、文字ピッチの右端をパタ
ーン配置領域の右端に一致させる第2補正手段と、前記
第1補正手段により補正された行頭文字の文字ピッチの
左端及び前記第2補正手段により補正された行末文字の
文字ピッチの右端を基準として文字等の周囲にフレーム
を形成するフレーム形成手段とを備えた構成とされる。
To achieve the above object, the present invention provides a text input means for inputting text data consisting of characters, etc .; a text memory for storing text data input from the text input means; An image buffer that expands and stores the text data in the memory into dot pattern data in a predetermined pattern arrangement area based on each character pitch for each character, and prints the dot pattern data of the image buffer on a print target medium And a printing device having
First determining means for determining whether the left end of the pattern arrangement area in the first character of the line including the character or the like exceeds the left end of the character pitch in the left direction, and the left end of the pattern arrangement area by the first judgment means. Is determined to be beyond the left end of the character pitch, first correction means for matching the left end of the character pitch to the left end of the pattern arrangement area, and the Second determining means for determining whether or not the right end of the pattern arrangement area exceeds the right end of the character pitch, and judging that the right end of the pattern arrangement area exceeds the right end of the character pitch by the second determining means If so, a second correction means for making the right end of the character pitch coincide with the right end of the pattern arrangement area ;
Of the character pitch of the first character corrected by the first correction means
The left end and the end of line corrected by the second correction means
Frame around characters etc. based on the right end of character pitch
And a frame forming means for forming

【0011】[0011]

【作用】前記構成を有する本発明では、テキスト入力手
段を介して入力された文字等からなるテキストデータが
テキストメモリに記憶される。そして、文字等の印字時
には、テキストメモリのテキストデータが各文字毎にそ
れぞれの文字ピッチに基づいて所定のパターン配置領域
内でドットパターンに展開され、イメージバッファに記
憶される。
According to the present invention having the above structure, text data composed of characters and the like input through the text input means is stored in the text memory. When printing characters and the like, the text data in the text memory is developed into a dot pattern in a predetermined pattern arrangement area based on the character pitch for each character, and stored in the image buffer.

【0012】このとき、第1判断手段により、文字等を
含む行の行頭文字におけるパターン配置領域の左端が文
字ピッチの左端よりも左方向に越えているかどうか判断
され、その判断の結果、パターン配置領域の左端が文字
ピッチの左端よりも左方向に越えていると判断された場
合、第1補正手段を介して文字ピッチの左端がパターン
配置領域の左端に一致される。また、第2判断手段によ
り、行末文字におけるパターン配置領域の右端が文字ピ
ッチの右端よりも右方向に越えているかどうか判断さ
れ、その判断の結果、パターン配置領域の右端が文字ピ
ッチの右端を越えていると判断された場合、第2補正手
段を介して文字ピッチの右端がパターン配置領域の右端
に一致される。これにより、行頭文字及び行末文字のド
ットパターンデータが各文字ピッチから外方に越えてし
まうことが確実に防止され、従って、フレーミング機能
を実行した場合においても、各行頭文字及び行末文字が
フレーム枠線からはみ出すことはなくなるものである。
この後、イメージバッファに記憶されたドットパターン
データが印字手段により被印字媒体に印字される。
At this time, the first judging means judges whether or not the left end of the pattern arrangement area in the first character of the line including the character or the like exceeds the left end of the character pitch in the left direction. If it is determined that the left end of the area is beyond the left end of the character pitch in the left direction, the left end of the character pitch is set to the pattern via the first correction means.
Matched to the left end of the placement area . The second determining means determines whether or not the right end of the pattern arrangement area in the end-of-line character exceeds the right end of the character pitch in the right direction. As a result of the determination, the right end of the pattern arrangement area exceeds the right end of the character pitch. If it is determined that the character pitch is correct, the right end of the character pitch is matched with the right end of the pattern arrangement area via the second correction means. This reliably prevents the dot pattern data of the first character and the last character from going outside each character pitch, and therefore, even when the framing function is executed, each first character and the last character is framed. It will not run off the line.
Thereafter, the dot pattern data stored in the image buffer is printed on the printing medium by the printing means.

【0013】[0013]

【実施例】以下、本発明に係る印字装置について、本発
明をテープ印字装置について具体化した実施例に基づい
て図面を参照しつつ詳細に説明する。先ず、本実施例に
係るテープ印字装置の概略構成について図1に基づき説
明する。図1はテープ印字装置の斜視図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A printing apparatus according to the present invention will be described below in detail with reference to the drawings based on an embodiment in which the present invention is embodied in a tape printing apparatus. First, a schematic configuration of a tape printing apparatus according to the present embodiment will be described with reference to FIG. FIG. 1 is a perspective view of the tape printer.

【0014】図1において、テープ印字装置1の本体フ
レーム2における前部にはキーボード3が配設さてお
り、キーボード3の後方で本体フレーム2の内部にはサ
ーマル印字機構PMが配設されている。また、キーボー
ド3の右後方位置には、キーボード3から入力された文
字、数字等を複数行(本実施例では2行)に渡って表示
可能な液晶ディスプレイ4が配置されている。更に、本
体フレーム2のほぼ中央位置には操作ツマミ5が設けら
れており、かかる操作ツマミ5は、サーマル印字機構P
Mのカバーケースを開放する際に使用される。
In FIG. 1, a keyboard 3 is provided at a front portion of a main body frame 2 of the tape printer 1, and a thermal printing mechanism PM is provided inside the main body frame 2 behind the keyboard 3. . In addition, a liquid crystal display 4 capable of displaying characters, numbers, and the like input from the keyboard 3 over a plurality of lines (two lines in this embodiment) is disposed at the right rear position of the keyboard 3. Further, an operation knob 5 is provided at a substantially central position of the main body frame 2, and the operation knob 5 is provided with a thermal printing mechanism P.
Used to open the M cover case.

【0015】キーボード3はテキスト入力手段を構成
し、文字、数字等からなるテキストを作成するに必要な
各種のキーが配設されている。例えば、文字、記号、数
字等を入力する文字キー6、テキストの印字を実行する
印字キー7、テキストの周囲にフレーム枠線を付加する
フレーミングキー8、各種処理の実行を指令する実行キ
ー9、その他テープ印字装置1に必要な各種のキーが設
けられている。
The keyboard 3 constitutes a text input means, and is provided with various keys necessary for creating text composed of characters, numerals, and the like. For example, a character key 6 for inputting characters, symbols, numerals, etc., a print key 7 for executing text printing, a framing key 8 for adding a frame border around the text, an execution key 9 for instructing execution of various processes, In addition, various keys necessary for the tape printer 1 are provided.

【0016】次に、サーマル印字機構PMについて図2
に基づき説明する。図2はテープカセットの上ケースを
除いて示す平面図である。図2において、サーマル印字
機構PMに対してテープカセット10が着脱自在に装着
されており、かかるテープカセット10内には、印字テ
ープであるラミネートテープ11が巻装されたテープス
プール12、インクリボン13が巻装されたリボンスプ
ール14、印字時にリボンスプール14から引き出され
たインクリボン13を巻取る巻取スプール15、ラミネ
ートテープ11と同一幅を有する両面テープ16が剥離
紙を外側にして巻装された両面テープスプール17、及
び、印字後のラミネートテープ11と両面テープ16と
を相互に押圧して接合する接合ローラ18が、それぞれ
回転可能に設けられている。
FIG. 2 shows the thermal printing mechanism PM.
It will be described based on. FIG. 2 is a plan view showing the tape cassette without the upper case. In FIG. 2, a tape cassette 10 is detachably mounted on a thermal printing mechanism PM. Inside the tape cassette 10, a tape spool 12 around which a laminate tape 11 as a printing tape is wound, an ink ribbon 13 , A take-up spool 15 for taking up the ink ribbon 13 pulled out of the ribbon spool 14 at the time of printing, and a double-sided tape 16 having the same width as the laminate tape 11 are wound with the release paper outside. A double-sided tape spool 17 and a joining roller 18 for mutually pressing and joining the printed laminated tape 11 and the double-sided tape 16 are rotatably provided.

【0017】また、前記ラミネートテープ11とインク
リボン13とが重なる位置には、サーマルヘッド19が
立設されており、かかるーマルヘッド19には128個
の発熱素子が上下方向に列設されている。更に、サーマ
ルヘッド19に対向して、ローラ支持体22が回動可能
に配設されており、ローラ支持体22上にはプラテンロ
ーラ20及び送りローラ21が回転可能に枢支されてい
る。ここに、プラテンローラ20は、印字時にラミネー
トテープ11とインクリボン13とを重ねた状態でサー
マルヘッド19に押圧する作用を有し、また、送りロー
ラ21は、印字後にラミネートテープ11と両面テープ
16とを接合ローラ18に押圧して文字付テープ23を
作成しながら矢印T方向にテープ送りする作用を有す
る。
A thermal head 19 is provided upright at a position where the laminating tape 11 and the ink ribbon 13 overlap each other. The thermal head 19 has 128 heating elements arranged vertically. Further, a roller support 22 is rotatably arranged facing the thermal head 19, and a platen roller 20 and a feed roller 21 are rotatably supported on the roller support 22. Here, the platen roller 20 has a function of pressing the thermal head 19 in a state where the laminate tape 11 and the ink ribbon 13 are overlapped during printing, and the feed roller 21 performs the operation of the laminating tape 11 and the double-sided tape 16 after printing. Are pressed against the joining roller 18 to feed the tape in the direction of arrow T while producing the tape 23 with characters.

【0018】前記構成において文字付テープ23を作成
する場合、テープ送りモータ45(図3参照)が所定回
転方向に駆動され、これに伴い接合ローラ18とリボン
巻取スプール15がそれぞれ同期しつつ所定回転方向に
駆動される。そして、サーマルヘッド19における各発
熱素子が選択的に通電されると、ラミネートテープ11
の裏面側には複数のドット列により文字、数字等が鏡像
関係をもって印字され、更に、接合ローラ18と送りロ
ーラ21との協働によりラミネートテープ11の裏面側
(文字等が印字されている)に両面テープ16が接合さ
れて文字付テープ23が作成されるとともに、文字付テ
ープ23は矢印T方向に送給される。これにより、作成
された文字付テープ23は本体フレーム2の外部に送り
出されるものである(図1、図2参照)。尚、前記のよ
うに構成されたサーマル印字機構PMは公知のものであ
り、その詳細に構成については、例えば、特開平2−1
06555号公報を参照することとして、ここではその
詳細な説明を省略する。
In the case of producing the character-attached tape 23 in the above configuration, the tape feed motor 45 (see FIG. 3) is driven in a predetermined rotation direction, and accordingly, the joining roller 18 and the ribbon take-up spool 15 are synchronized with each other in a predetermined direction. Driven in the rotational direction. When each heating element in the thermal head 19 is selectively energized, the laminate tape 11
On the back side, characters, numbers, etc. are printed in a mirror image relationship by a plurality of dot rows, and the back side of the laminate tape 11 (characters, etc. are printed) by cooperation of the joining roller 18 and the feed roller 21. The double-sided tape 16 is bonded to the tape to form a tape with text 23, and the tape with text 23 is fed in the direction of arrow T. Thus, the created tape with character 23 is sent out of the main body frame 2 (see FIGS. 1 and 2). Incidentally, the thermal printing mechanism PM configured as described above is a known one, and its detailed configuration is described in, for example,
The detailed description thereof will be omitted here with reference to JP-A-06555.

【0019】続いて、テープ印字装置1の制御系につい
て図3に基づき説明する。図3はテープ印字装置1の制
御ブロック図であり、制御装置Cを核として構成されて
いる。制御装置Cは、CPU32、CGROM33、R
OM34、及び、RAM35からなり、これらはバス3
1を介して接続されているとともに、入出力インターフ
ェース30にも接続されている。
Next, a control system of the tape printer 1 will be described with reference to FIG. FIG. 3 is a control block diagram of the tape printer 1, which is configured with the controller C as a core. The control device C includes a CPU 32, a CGROM 33, an R
OM34 and RAM35, which are connected to the bus 3
1 and to the input / output interface 30.

【0020】ここに、ROM34は各種のプログラムを
記憶させておくものであり、後述するメイン処理プログ
ラム、印字処理プログラム、行頭・行末補正処理プログ
ラム、その他テープ印字装置1の制御上必要な各種のプ
ログラムが記憶されている。そして、CPU32は、か
かるROM34に記憶されている各種プログラムに基づ
いて各種の演算を行うものである。
Here, the ROM 34 stores various programs, and includes a main processing program, a printing processing program, a line head / line ending correction processing program described later, and various other programs necessary for controlling the tape printing apparatus 1. Is stored. The CPU 32 performs various calculations based on various programs stored in the ROM 34.

【0021】また、CGROM33には、キーボード3
上の各キーから入力される各文字、数字等のコードデー
タに対応するドットパターンデータが記憶されており、
テキストメモリ37に記憶された文字等のコードデータ
に基づいてドットパターンデータがCGROM33から
読み出された後イメージバッファ39に転送されるもの
である。
The CGROM 33 has a keyboard 3
Dot pattern data corresponding to code data such as each character and numeral input from each key above is stored,
The dot pattern data is read from the CGROM 33 based on the code data of characters and the like stored in the text memory 37 and then transferred to the image buffer 39.

【0022】更に、RAM35はCPU32により演算
された各種の演算結果を一時的に記憶させておくための
ものであり、かかるRAM35には、図3に示すよう
に、テキストメモリ37、テキストポインタ38、イメ
ージバッファ39等の各種のメモリが設けられている。
The RAM 35 is for temporarily storing various calculation results calculated by the CPU 32. The RAM 35 has a text memory 37, a text pointer 38, Various memories such as an image buffer 39 are provided.

【0023】ここに、テキストメモリ37は、キーボー
ド3から入力された文字、数字等に対応するコードデー
タをテキスト(文書データ)として記憶するものであ
る。テキストポインタ38は、テキストメモリ37に記
憶された各コードデータを順次指示していくポインタで
あり、後述するように、テキストメモリ37から各コー
ドデータを読み出す際に順次各コードデータを指示す
る。イメージバッファ39は、テキストメモリ37にお
ける文字等のコードデータに基づきCGROM33から
読み出されたドットパターンデータが転送され記憶され
るものであり、サーマルヘッド19はかかるイメージバ
ッファ39に記憶されているドットパターンデータに従
ってドット印字を行う。
Here, the text memory 37 stores code data corresponding to characters, numerals and the like input from the keyboard 3 as text (document data). The text pointer 38 is a pointer for sequentially instructing each code data stored in the text memory 37, and sequentially instructs each code data when reading each code data from the text memory 37, as described later. The image buffer 39 transfers and stores dot pattern data read from the CGROM 33 based on code data such as characters in the text memory 37. The thermal head 19 stores the dot pattern data stored in the image buffer 39. Dot printing is performed according to the data.

【0024】ここで、図3に戻って制御ブロック図の説
明を続けると、キーボード3が入出力インターフェース
30を介して、また、液晶ディスプレイ4、ディスプレ
イコントローラ36が入出力インターフェース36を介
して、それぞれ制御装置Cに接続されており、キーボー
ド3の文字キー6を介して文字等が入力された場合、そ
のテキスト(文書データ)がテキストメモリ37に順次
記憶されていくとともに、ドットパターン発生制御プロ
グラム及び表示制御プログラムに基づいてキーボード3
を介して入力された文字等に対応するドットパターンが
液晶ディスプレイ4上に表示される。また、サーマルヘ
ッド19は駆動回路43を介して駆動され、イメージバ
ッファ39に記憶されたドットパターンデータの印字を
行い、これと同期してテープ送りモータ45は駆動回路
44を介して文字付テープ23の送り制御を行うもので
ある。
Returning to FIG. 3, the description of the control block diagram will be continued. The keyboard 3 is connected via the input / output interface 30, and the liquid crystal display 4 and the display controller 36 are connected via the input / output interface 36. When a character or the like is input via the character keys 6 of the keyboard 3 and is connected to the control device C, the text (document data) is sequentially stored in the text memory 37, and the dot pattern generation control program Keyboard 3 based on display control program
Is displayed on the liquid crystal display 4. The thermal head 19 is driven via a drive circuit 43 to print the dot pattern data stored in the image buffer 39. In synchronization with this, the tape feed motor 45 drives the tape-attached tape 23 via the drive circuit 44. Is performed.

【0025】次に、前記のように構成されたテープ印字
装置1の動作について図4乃至図8に基づいて説明す
る。先ず、テープ印字装置1にて行われるメイン処理に
ついて図4を参照して説明する。図4はメイン処理プロ
グラムのフローチャートであり、先ず、ステップ(以
下、Sと略記する)1において、RAM35における各
メモリのクリア等の初期化が行われ、続いてS2にてキ
ーボード3に配設された各キーからのキー入力が読み取
られる。
Next, the operation of the tape printer 1 configured as described above will be described with reference to FIGS. First, the main processing performed in the tape printer 1 will be described with reference to FIG. FIG. 4 is a flowchart of the main processing program. First, in step (hereinafter abbreviated as S) 1, initialization such as clearing of each memory in the RAM 35 is performed, and subsequently, the memory 35 is arranged on the keyboard 3 in S2. Key input from each key is read.

【0026】そして、S3にてキーボード3上のいずれ
かのキーからキー入力があったかどうか判断され、いず
れれのキーからもキー入力がない場合(S3:NO)に
はS2に戻って再度キー入力の読み取りが行われる一
方、いずれかのキーからキー入力があった場合(S3:
YES)には、S4で印字キー7からのキー入力である
かどうか判断される。印字キー7からのキー入力である
場合(S4:YES)には、S5において後述する印字
処理が行われた後S2に戻る。
Then, in S3, it is determined whether or not there is a key input from any key on the keyboard 3, and if there is no key input from any key (S3: NO), the process returns to S2 and key input again. Is read, and there is a key input from any key (S3:
(YES), it is determined in S4 whether or not the key input is from the print key 7. If the input is the key input from the print key 7 (S4: YES), the process returns to S2 after performing a printing process described later in S5.

【0027】S4にて印字キー7からのキー入力でない
と判断された場合(S4:NO)には、S6においてキ
ーボード3上に配設された他の機能キーからのキー入力
であるかどうか判断される。他の機能キー、例えば、フ
レーミングキー8や実行キー9からのキー入力である場
合(S6:YES)、その押下された機能キーに対応す
る処理を行われた後S2に戻る。一方、他の機能キーか
らのキー入力でない場合(S6:NO)には、文字入力
キー6からのキー入力であるとして、S8においてテキ
ストの入力処理が行われる。これにより、文字入力キー
6から入力された文字等に対応するコードデータがテキ
ストメモリ37に記憶されてテキストが作成される。こ
の後、S2戻る。以上がテープ印字装置1において行わ
れるメイン処理である。
If it is determined in S4 that the input is not a key input from the print key 7 (S4: NO), it is determined in S6 whether the input is a key input from another function key arranged on the keyboard 3. Is done. If the input is a key input from another function key, for example, the framing key 8 or the execution key 9 (S6: YES), the process corresponding to the pressed function key is performed, and the process returns to S2. On the other hand, if the input is not a key input from another function key (S6: NO), it is determined that the input is a key input from the character input key 6, and a text input process is performed in S8. As a result, the code data corresponding to the character or the like input from the character input key 6 is stored in the text memory 37 to create a text. Thereafter, the process returns to S2. The above is the main processing performed in the tape printer 1.

【0028】次に、前記S5において行われる印字処理
について図5に基づき説明する。図5は印字処理プログ
ラムのフローチャートであり、S10において、テキス
トポインタ38により指示されているテキストメモリ3
7中の文字のコードデータが読み出されるとともに、そ
のコードデータに付加されて記憶されている文字ピッチ
情報、ドットパターン配置領域情報、位置情報等が読み
出される。この後、S11にて、行頭・行末補正処理が
行われる。
Next, the printing process performed in S5 will be described with reference to FIG. FIG. 5 is a flowchart of the print processing program. In S10, the text memory 3 pointed to by the text pointer 38 in S10.
The code data of the character in 7 is read, and the character pitch information, dot pattern arrangement area information, position information, etc., which are added to the code data and stored, are read. Thereafter, in S11, a line start / line end correction process is performed.

【0029】ここで、S11にて行われる行頭・行末補
正処理について図6及び図7に基づき説明する。図6は
行頭・行末補正処理プログラムのフローチャートであ
り、また、図7は文字ピッチとパターン配置領域との関
係を模式的に示す説明図であり、図7(A)は特定書体
における文字「j」の文字ピッチとパターン配置領域と
の関係、図7(B)は同一書体における文字「¥」の文
字ピッチとパターン配置領域との関係を示している。
Here, the line head / line ending correction process performed in S11 will be described with reference to FIGS. FIG. 6 is a flowchart of a line head / line ending correction processing program. FIG. 7 is an explanatory diagram schematically showing the relationship between the character pitch and the pattern arrangement area. FIG. 7B shows the relationship between the character pitch and the pattern arrangement area, and FIG. 7B shows the relation between the character pitch of the character “¥” and the pattern arrangement area in the same typeface.

【0030】ここに、テキストメモリ37には、前記従
来例にて説明したテキストと同一テキスト「jABC
¥」(図10参照)が作成されて記憶されているものと
する。また、図7(A)において、文字「j」(テキス
トの行頭文字)の文字ピッチ50(点線で囲って示す)
におけるピッチ幅はPSXで示され、パターン配置領域
51(実線で囲って示す)の左端51Aが文字ピッチ5
0の左端50Aから左方向に越える距離がLで示されて
いる。尚、距離Lは、文字ピッチ50の左端位置を原点
としてマイナス符号が付されている。
Here, the text memory 37 stores the same text "jABC" as the text described in the conventional example.
It is assumed that “¥” (see FIG. 10) is created and stored. In FIG. 7A, the character pitch 50 of the character "j" (the first character of the text) (shown by the dotted line).
Is indicated by PSX, and the left end 51A of the pattern arrangement area 51 (enclosed by a solid line) is
The distance beyond the left end 50A of 0 in the left direction is indicated by L. The distance L is given a minus sign with the origin at the left end position of the character pitch 50.

【0031】同様に、図7(B)において、文字「¥」
(テキストの行末文字)の文字ピッチ52(点線で囲っ
て示す)におけるピッチ幅はPSXで示され、また、パ
ターン配置領域53(実線で囲って示す)の配置幅はW
で示されている。また、パターン配置領域53の左端5
3Aと文字ピッチ52の左端52Aとの間の距離がLで
示されている。尚、距離Lは、前記と同様に、文字ピッ
チ52の左端位置を原点としてプラスの符号が付されて
いる。また、52Bは文字ピッチ52の右端、53Bは
パターン配置領域53の右端である。
Similarly, in FIG. 7B, the character "@"
The pitch width of the character pitch 52 (indicated by a dotted line) of (text end of line) is indicated by PSX, and the arrangement width of a pattern arrangement area 53 (indicated by a solid line) is W
Indicated by Also, the left end 5 of the pattern arrangement area 53
The distance between 3A and the left end 52A of the character pitch 52 is indicated by L. The distance L is given a plus sign with the origin at the left end position of the character pitch 52 in the same manner as described above. 52B is the right end of the character pitch 52, and 53B is the right end of the pattern arrangement area 53.

【0032】前記した前提に基づき図6に従って行頭・
行末補正処理について説明すると、先ず、S20でテキ
ストポインタ38により指示されている文字が行頭文字
かどうか判断される。行頭文字である場合(S20:Y
ES)、S21にて、パターン配置領域51の左端51
Aが文字ピッチ50の左端50Aから左方向に越える距
離L(図7(A)参照)が、0よりも小さいかどうか判
断される。距離Lが0よりも大きい場合(S21:N
O)にはS24に移行する一方、距離Lが0よりも小さ
い場合(S21:YES)には、行頭文字「j」のパタ
ーン配置領域51の左端51Aが文字ピッチ50の左端
50Aを左方向に越えており、文字ピッチ50の左端位
置でフレーム枠線を形成した場合には行頭文字「j」の
一部が左枠線からはみ出してしまうことから、S22に
おいて文字ピッチ50のピッチ幅PSXが距離Lの絶対
値分だけ増加される。これにより、文字ピッチ50の左
端50Aとパターン配置領域51Aとが相互に一致され
ることとなり、この結果、距離Lが0となって(S2
3)後S24に移行する。
On the basis of the above-described premise, the head of the line according to FIG.
Describing the end-of-line correction process, first, in S20, it is determined whether or not the character indicated by the text pointer 38 is the beginning of a line. If it is the first letter of the line (S20: Y
ES), at S21, the left end 51 of the pattern arrangement area 51
It is determined whether or not the distance L (see FIG. 7A) that A crosses from the left end 50A of the character pitch 50 in the left direction is smaller than 0. When the distance L is larger than 0 (S21: N
In O), the process shifts to S24, while when the distance L is smaller than 0 (S21: YES), the left end 51A of the pattern arrangement area 51 of the first character "j" moves the left end 50A of the character pitch 50 leftward. When the frame line is formed at the left end position of the character pitch 50, a part of the initial character "j" protrudes from the left frame line, so that the pitch width PSX of the character pitch 50 is equal to the distance in S22. It is increased by the absolute value of L. As a result, the left end 50A of the character pitch 50 and the pattern arrangement area 51A coincide with each other, and as a result, the distance L becomes 0 (S2).
3) Thereafter, the flow shifts to S24.

【0033】例えば、行頭文字が「j」である場合距離
Lは、図7(A)に示すように、−Lであることから、
S21乃至S23を介して、その文字ピッチ50のピッ
チ幅PSXに距離Lの絶対値だけ増加され、文字ピッチ
50のピッチ幅PSXの左端50Aとパターン配置領域
51の左端とが一致される。これにより、文字ピッチ5
0の左端50Aを基準としてフレーム枠線を形成した場
合でも、文字「j」の一部が左枠線からはみ出してしま
うことを確実に防止することができる。
For example, when the first character of the line is "j", the distance L is -L as shown in FIG.
Through S21 to S23, the pitch width PSX of the character pitch 50 is increased by the absolute value of the distance L, and the left end 50A of the pitch width PSX of the character pitch 50 matches the left end of the pattern arrangement area 51. Thereby, the character pitch 5
Even when a frame line is formed based on the left end 50A of 0, it is possible to reliably prevent a part of the character "j" from protruding from the left frame line.

【0034】前記S20において、テキストポインタ3
8にて指示されている文字が行頭文字でない場合(S2
0:NO)には、S24にて行末文字であるかどうか判
断される。行末文字でない場合(S24:NO)には処
理がリターンされる。前記の例でいえば、テキスト「j
ABC¥」における各文字「A」、「B」、「C」につ
いては、後述するようにその各文字ピッチに従ってイメ
ージバッファ39にドットパターンをもって配置される
こととなる。
At S20, the text pointer 3
8 is not the first character of the line (S2
(0: NO), it is determined in S24 whether the character is the end-of-line character. If it is not the end-of-line character (S24: NO), the process returns. In the above example, the text "j
The characters "A", "B", and "C" in "ABC #" are arranged in a dot pattern in the image buffer 39 according to the respective character pitches as described later.

【0035】また、テキストポインタ38により指示さ
れている文字が行末文字である場合(S24:YES)
には、S25にて文字ピッチ52の左端52Aとパター
ン配置領域53の左端53Aとの間の距離Lにパターン
配置領域53の配置幅Wを加算した値が文字ピッチ52
のピッチ幅PSXよりも大きいかどうか判断される。
When the character pointed to by the text pointer 38 is the end-of-line character (S24: YES)
Is the value obtained by adding the arrangement width W of the pattern arrangement area 53 to the distance L between the left end 52A of the character pitch 52 and the left end 53A of the pattern arrangement area 53 in S25.
Is larger than the pitch width PSX.

【0036】距離Lと配置幅Wとの加算値(L+W)が
ピッチ幅PSXよりも小さい場合(S25:NO)、文
字ピッチ52の右端52Bはパターン配置領域53の右
端53Bを越えていないと考えられることから、その文
字を文字ピッチに従ってそのままイメージバッファ39
に配置しても行末文字の一部がフレーム枠線の右枠線か
らはみ出すことはなく、処理がリターンされる。これに
対して、距離Lと配置幅Wとの加算値(L+W)がピッ
チ幅PSXよりも大きい場合(S25:YES)には、
ピッチ幅PSXを加算値(L+W)に合致させた後処理
がリターンされる。例えば、行末文字が「¥」である場
合距離Lと配置幅Wとの加算値(L+W)は、図7
(B)に示すように、ピッチ幅PSXよりも大きいこと
から、文字ピッチ52のピッチ幅PSXが加算値(L+
W)に合致させられる。これにより、文字ピッチ52の
右端52Bを基準としてフレーム枠線を形成した場合で
も、文字「¥」の一部が右枠線からはみ出してしまうこ
とを確実に防止することができる。
When the sum (L + W) of the distance L and the arrangement width W is smaller than the pitch width PSX (S25: NO), it is considered that the right end 52B of the character pitch 52 does not exceed the right end 53B of the pattern arrangement area 53. Therefore, the character is directly stored in the image buffer 39 according to the character pitch.
, Part of the end-of-line character does not protrude from the right frame line of the frame frame line, and the process is returned. On the other hand, when the added value (L + W) of the distance L and the arrangement width W is larger than the pitch width PSX (S25: YES),
After the pitch width PSX is matched with the added value (L + W), the post-processing is returned. For example, when the end-of-line character is “$”, the added value (L + W) of the distance L and the arrangement width W is as shown in FIG.
Since the pitch width PSX of the character pitch 52 is larger than the pitch width PSX as shown in FIG.
W). Thereby, even when the frame line is formed based on the right end 52B of the character pitch 52, it is possible to surely prevent a part of the character “¥” from protruding from the right frame line.

【0037】前記のように行頭・行末補正処理が終了し
た後、テキストメモリ37のテキストデータ(コードデ
ータ)に基づいて、CGROM33から各文字のドット
パターンデータが各文字の文字ピッチに従ってイメージ
バッファ39上に配置され(S12)、この後、サーマ
ル印字機構PMのサーマルヘッド19を介してイメージ
バッファ39のドットパターンデータがラミネートテー
プ11に印字されて文字付テープ23が作成されるもの
である(S13)。このとき、フレーミングキー8の押
下に基づいてフレーミング機能が実行された場合には、
フレーム枠線がテキストの周囲に印字されるが、本実施
例では前記のように行頭・行末補正処理を行っているの
で、テキストの行頭位置に文字「j」、行末位置に文字
「¥」が存在する場合においても、図8に示すように、
行頭文字「j」及び行末文字「¥」の一部が、フレーム
枠線54の右枠線54A及び左枠線54Bからはみ出し
て印字されることはなく、極めて見栄えの良い文字付テ
ープ23を作成することができる。
After the line head / line ending correction processing is completed as described above, the dot pattern data of each character is stored in the image buffer 39 according to the character pitch of each character from the CGROM 33 based on the text data (code data) of the text memory 37. (S12), and thereafter, the dot pattern data of the image buffer 39 is printed on the laminate tape 11 via the thermal head 19 of the thermal printing mechanism PM to produce the character-attached tape 23 (S13). . At this time, if the framing function is executed based on the pressing of the framing key 8,
The frame border is printed around the text. In this embodiment, since the line head / line end correction processing is performed as described above, the character “j” is placed at the line beginning position and the character “¥” is placed at the line end position. Even if it exists, as shown in FIG.
A part of the first character "j" and the last character "@" does not protrude from the right frame line 54A and the left frame line 54B of the frame frame line 54, and is printed. can do.

【0038】以上詳細に説明した通り本実施例に係るテ
ープ印字装置1では、テキストポインタ38により指示
されたテキストメモリ37中のテキストの文字が行頭文
字である場合、その行頭文字の文字ピッチ50の左端5
0Aとパターン配置領域51の左端51Aとの間の距離
Lが、左端50Aを原点として、0よりも小さいことに
基づいて文字ピッチ50のピッチ幅PSXに距離Lの絶
対値を加えることにより文字ピッチ50の左端50Aと
パターン配置領域51の左端51Aとを一致させるよう
に行頭補正を行い、また、テキストポインタ38により
指示された文字が行末文字である場合には、文字ピッチ
52の左端52Aとパターン配置領域53の左端53A
との間の距離Lにパターン配置領域53の配置幅Wを加
算した加算値(L+W)がピッチ幅PSXよりも大きい
ことに基づいてピッチ幅PSXを加算値(L+W)に合
致させることにより文字ピッチ52の右端52Bとパタ
ーン配置領域53の右端53Bとを一致させる行末補正
を行うように構成したので、フレーミング機能を実行し
てテキストの周囲にフレーム枠線54を付加する場合に
おいても、行頭文字や行末文字の一部が左枠線54A及
び右枠線54Bからはみ出すことを確実に防止すること
ができる。これにより、文字等をフレーム枠線54内に
見栄え良く配置した文字付テープ23を作成することが
できるものである。
As described above in detail, in the tape printer 1 according to the present embodiment, when the character of the text in the text memory 37 indicated by the text pointer 38 is the first character, the character pitch 50 of the first character is used. Left end 5
By adding the absolute value of the distance L to the pitch width PSX of the character pitch 50 based on the fact that the distance L between 0A and the left end 51A of the pattern arrangement area 51 is smaller than 0 with the left end 50A as the origin. The beginning of the line is corrected so that the left end 50A of the line 50 coincides with the left end 51A of the pattern arrangement area 51. When the character indicated by the text pointer 38 is the end of the line, the left end 52A of the character pitch 52 and the pattern Left end 53A of placement area 53
The character pitch is adjusted by matching the pitch width PSX with the added value (L + W) based on the fact that the added value (L + W) obtained by adding the arrangement width W of the pattern arrangement area 53 to the distance L between them is larger than the pitch width PSX. Since the end-of-line correction for matching the right end 52B of the pattern 52 with the right end 53B of the pattern placement area 53 is performed, even when the framing function is executed to add the frame border 54 around the text, the beginning of the line or the line Part of the end-of-line character can be reliably prevented from protruding from the left frame line 54A and the right frame line 54B. As a result, it is possible to create the character-attached tape 23 in which characters and the like are arranged in the frame line 54 with good appearance.

【0039】尚、本発明は前記実施例に限定されるもの
ではなく、本発明の要旨を逸脱しない範囲内で種々の改
良、変更が可能であることは勿論である。例えば、前記
実施例では、テキストが1行である場合を例にとって説
明したが、複数行からなるテキストであってもそのテキ
ストから最長の行を検出するとともに、その最長の行に
ついて前記行頭・行末補正を行えば、文字の一部がフレ
ーム枠線からはみ出すことなくフレーム枠線内に文字を
印字して見栄えの良い文字付テープを作成できることは
明かである。
It should be noted that the present invention is not limited to the above-described embodiment, and it is needless to say that various improvements and modifications can be made without departing from the spirit of the present invention. For example, in the above embodiment, the case where the text is one line has been described as an example. However, even if the text is composed of a plurality of lines, the longest line is detected from the text, and the longest line is detected at the beginning / end of the line. It is clear that if the correction is performed, a character-applied tape can be created by printing characters in the frame line without partially protruding from the frame line.

【0040】[0040]

【発明の効果】以上説明した通り本発明は、文字等を含
む行の行頭文字及び行末文字のパターン配置領域の境界
がそれぞれの文字ピッチの境界を越えた場合に各行頭文
字、行末文字の文字ピッチの境界をパターン配置領域
境界に一致させるべく補正することにより、フレーミン
グ機能を実行する場合においても行頭文字や行末文字が
フレーム枠線からはみ出すことを確実に防止することが
でき、もって文字等を見栄え良く印字可能な印字装置を
提供することができる。
As described above, according to the present invention, each row acronym if the boundary of the pattern area of the bullet and line characters of the line containing the character or the like exceeds the boundaries of each character pitch, end of line character By correcting the boundary of the pitch to match the boundary of the pattern arrangement area , it is possible to reliably prevent the first character and the last character from protruding from the frame frame line even when executing the framing function. It is possible to provide a printing device capable of printing with good appearance.

【図面の簡単な説明】[Brief description of the drawings]

【図1】テープ印字装置の斜視図である。FIG. 1 is a perspective view of a tape printer.

【図2】テープカセットの上ケースを除いて示す平面図
である。
FIG. 2 is a plan view showing the tape cassette excluding an upper case.

【図3】テープ印字装置の制御ブロック図である。FIG. 3 is a control block diagram of the tape printer.

【図4】メイン処理プログラムのフローチャートであ
る。
FIG. 4 is a flowchart of a main processing program.

【図5】印字処理プログラムのフローチャートである。FIG. 5 is a flowchart of a print processing program.

【図6】行頭・行末補正処理プログラムのフローチャー
トである。
FIG. 6 is a flowchart of a line start / line end correction processing program.

【図7】文字ピッチとパターン配置領域との関係を模式
的に示す説明図であり、図7(A)は特定書体における
文字「j」の文字ピッチとパターン配置領域との関係、
図7(B)は同一書体における文字「¥」の文字ピッチ
とパターン配置領域との関係を示す。
FIG. 7 is an explanatory diagram schematically showing a relationship between a character pitch and a pattern arrangement region, and FIG. 7A is a diagram showing a relationship between a character pitch of a character “j” and a pattern arrangement region in a specific typeface;
FIG. 7B shows the relationship between the character pitch of the character "@" and the pattern arrangement area in the same typeface.

【図8】本実施例の印字例を示す説明図である。FIG. 8 is an explanatory diagram illustrating a printing example according to the present embodiment.

【図9】文字ピッチとパターン配置領域との関係を模式
的に示す説明図であり、図9(A)は特定書体における
文字「j」の文字ピッチとパターン配置領域との関係、
図9(B)は同一書体における文字「¥」の文字ピッチ
とパターン配置領域との関係を示す。
FIG. 9 is an explanatory diagram schematically showing a relationship between a character pitch and a pattern arrangement region, and FIG. 9A is a diagram showing a relationship between a character pitch of a character “j” and a pattern arrangement region in a specific typeface;
FIG. 9B shows the relationship between the character pitch of the character "@" and the pattern arrangement area in the same typeface.

【図10】従来の印字装置により、文字「J」、「¥」
をそれぞれ行頭位置、行末位置に含むテキストデータを
フレーミングしながら印字した印字サンプルを示す説明
図である。
FIG. 10 shows characters “J”, “¥” using a conventional printing device.
Is an explanatory diagram showing a print sample printed while framing text data including "" at the beginning and end of a line, respectively.

【符号の説明】[Explanation of symbols]

1 テープ印字装置 3 キーボード 4 液晶ディスプレイ 6 文字入力キー 7 印字キー 9 実行キー 10 テープカセット 19 サーマルヘッド 23 文字付テープ 32 CPU 34 ROM 35 RAM 37 テキストメモリ 38 テキストポインタ 39 イメージバッファ 50、52 文字ピッチ 50A、52A 文字ピッチ左端 51、53 パターン配置領域 51A、53A パターン配置領域左端 52B 文字ピッチ右端 53B パターン配置領域右端 54 フレーム枠線 54A 左枠線 54B 右枠線 Reference Signs List 1 tape printer 3 keyboard 4 liquid crystal display 6 character input key 7 print key 9 execution key 10 tape cassette 19 thermal head 23 tape with character 32 CPU 34 ROM 35 RAM 37 text memory 38 text pointer 39 image buffer 50, 52 character pitch 50A , 52A Character pitch left end 51, 53 Pattern placement area 51A, 53A Pattern placement area left end 52B Character pitch right end 53B Pattern placement area right end 54 Frame border 54A Left border 54B Right border

───────────────────────────────────────────────────── フロントページの続き (72)発明者 尾藤 美香子 名古屋市瑞穂区苗代町15番1号 ブラザ ー工業株式会社内 (56)参考文献 特開 平6−35910(JP,A) 特開 平6−243135(JP,A) 特開 平5−330197(JP,A) 特開 平7−32700(JP,A) (58)調査した分野(Int.Cl.7,DB名) B41J 21/00 B41J 2/485 B41J 29/26 G06F 17/21 ──────────────────────────────────────────────────続 き Continuation of front page (72) Inventor Mikako Bito 15-1 Naeshiro-cho, Mizuho-ku, Nagoya-shi Inside Brother Industries, Ltd. (56) References JP-A-6-35910 (JP, A) JP-A-6 -243135 (JP, A) JP-A-5-330197 (JP, A) JP-A-7-32700 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) B41J 21/00 B41J 2/485 B41J 29/26 G06F 17/21

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字等からなるテキストデータを入力す
るテキスト入力手段と、テキスト入力手段から入力され
たテキストデータを記憶するテキストメモリと、テキス
トメモリ中のテキストデータを各文字毎についてそれぞ
れの文字ピッチに基づき所定のパターン配置領域内でド
ットパターンデータに展開して記憶するイメージバッフ
ァと、イメージバッファのドットパターンデータを被印
字媒体に印字する印字手段とを有する印字装置におい
て、 前記文字等を含む行の行頭文字における前記パターン配
置領域の左端が文字ピッチの左端よりも左方向に越えて
いるかどうかを判断する第1判断手段と、 前記第1判断手段によりパターン配置領域の左端が文字
ピッチの左端を越えていると判断された場合、文字ピッ
チの左端をパターン配置領域の左端に一致させる第1補
正手段と、 前記文字等を含む行の行末文字における前記パターン配
置領域の右端が文字ピッチの右端よりも右方向に越えて
いるかどうかを判断する第2判断手段と、 前記第2判断手段によりパターン配置領域の右端が文字
ピッチの右端を越えていると判断された場合、文字ピッ
チの右端をパターン配置領域の右端に一致させる第2補
正手段と 前記第1補正手段により補正された行頭文字の文字ピッ
チの左端及び前記第2補正手段により補正された行末文
字の文字ピッチの右端を基準として文字等の周囲にフレ
ームを形成するフレーム形成手段と を備えたことを特徴
とする印字装置。
1. Text input means for inputting text data composed of characters, etc., a text memory for storing text data input from the text input means, and text data in the text memory are stored in a character pitch for each character. A printing apparatus that has an image buffer that develops and stores dot pattern data in a predetermined pattern arrangement area based on a pattern pattern, and a printing unit that prints the dot pattern data of the image buffer on a print-receiving medium. First determining means for determining whether the left end of the pattern arrangement area in the first character of the line exceeds the left end of the character pitch, and the left end of the pattern arrangement area is set to the left end of the character pitch by the first determining means. If it is determined that the beyond, character pitch
First correcting means for matching the left end of the pattern with the left end of the pattern arrangement area; and determining whether the right end of the pattern arrangement area in the end-of-line character of the line including the character or the like exceeds the right end of the character pitch. If the second determination means, the right end of the pattern area by the second determining means is determined to be above the right edge of the character pitch to the character pitch
A second correcting means for matching the right edge of the switch to the right end of the pattern area, character pitch bullet corrected by the first correcting means
And the end of the line corrected by the second correction means.
Around the right of the character pitch
A frame forming means for forming a frame .
JP6272904A 1994-10-11 1994-10-11 Printing device Expired - Fee Related JP3067553B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6272904A JP3067553B2 (en) 1994-10-11 1994-10-11 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6272904A JP3067553B2 (en) 1994-10-11 1994-10-11 Printing device

Publications (2)

Publication Number Publication Date
JPH08108579A JPH08108579A (en) 1996-04-30
JP3067553B2 true JP3067553B2 (en) 2000-07-17

Family

ID=17520385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6272904A Expired - Fee Related JP3067553B2 (en) 1994-10-11 1994-10-11 Printing device

Country Status (1)

Country Link
JP (1) JP3067553B2 (en)

Also Published As

Publication number Publication date
JPH08108579A (en) 1996-04-30

Similar Documents

Publication Publication Date Title
JP2940404B2 (en) Label making device
JP3693429B2 (en) Tape printer
JP2768192B2 (en) Tape printer
JP2564210Y2 (en) Label printing device
JPH10138569A (en) Character information processing device
JP3067553B2 (en) Printing device
JP3224699B2 (en) Tape printer
JP2910817B2 (en) Tape printer
JPH07156477A (en) Printer
JP3050469B2 (en) Tape printer
JPH07314837A (en) Printer
JP3479359B2 (en) Tape printer
JPH07214860A (en) Document processor
JPH08314924A (en) Document processing device
JP2560958B2 (en) Tape printer
JP3347519B2 (en) Tape printing apparatus and print instruction method thereof
JP3053137B2 (en) Document processing device
JPH0872322A (en) Tape label making device
JPH06243135A (en) Tape printer
JPH07144437A (en) Tape printer
JPH0830603A (en) Document processing device
JP3366729B2 (en) Document processing apparatus and document processing method
JP3557752B2 (en) Tape-shaped label making device
JPH07200556A (en) Document creation device
JP3123577B2 (en) Tape printer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080519

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090519

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090519

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100519

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110519

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120519

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120519

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130519

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130519

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20140519

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees