JP2008155388A - Printer and tape printer - Google Patents

Printer and tape printer Download PDF

Info

Publication number
JP2008155388A
JP2008155388A JP2006343898A JP2006343898A JP2008155388A JP 2008155388 A JP2008155388 A JP 2008155388A JP 2006343898 A JP2006343898 A JP 2006343898A JP 2006343898 A JP2006343898 A JP 2006343898A JP 2008155388 A JP2008155388 A JP 2008155388A
Authority
JP
Japan
Prior art keywords
margin
printing
area
character
print
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.)
Pending
Application number
JP2006343898A
Other languages
Japanese (ja)
Inventor
Shoji Takayama
昌次 高山
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006343898A priority Critical patent/JP2008155388A/en
Publication of JP2008155388A publication Critical patent/JP2008155388A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer which can store contents of a data stream etc. efficiently printed to a printing member such as a tape, and to provide a tape printer using this. <P>SOLUTION: When it is judged that a character printing region exceeds a constant-length printing region, a compression amount of a blank region necessary for the securement of the character printing region is preliminarily converted by a CPU 78. Moreover, it is also judged whether or not compression of the blank region is possible. Accordingly, compression processing of only the necessary blank region is carried out. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、入力されたデータに基づいて各種印刷を行う印刷装置及びこれを用いてテー
プに印刷を行うテープ印刷装置に関する。
The present invention relates to a printing apparatus that performs various printing based on input data and a tape printing apparatus that performs printing on a tape using the printing apparatus.

従来のテープ印刷装置において、予め定められた所定サイズのテープ長に収まるように
するために、印刷するデータ列の文字サイズを小さくするものが知られている(特許文献
1参照)。また、テープの長手方向の両端の余白幅を予め定められた一定量ずつ減らして
ゆくものが知られている(特許文献1参照)。
特開2003−109020号公報
In a conventional tape printer, there is known a device that reduces the character size of a data string to be printed in order to fit within a predetermined tape length of a predetermined size (see Patent Document 1). In addition, there is known one that reduces the margin width at both ends in the longitudinal direction of the tape by a predetermined amount (see Patent Document 1).
JP 2003-109020 A

しかしながら、文字サイズを小さくしても印字内容がテープ長に収まらない場合には、
指定した長さで印刷できない可能性がある。また、テープの長手方向の両端の余白を用い
る場合であっても余白を単純に一定量ずつ減らしていくだけでは印字内容を効率よくテー
プ長に収めることができない可能性がある。
However, if the print content does not fit within the tape length even if the character size is reduced,
The specified length may not be printed. Even when margins at both ends in the longitudinal direction of the tape are used, there is a possibility that the print contents cannot be efficiently accommodated in the tape length by simply reducing the margins by a certain amount.

そこで、本発明は、テープ等の印刷部材に効率よく印刷するデータ列等の内容を収める
ことができる印刷装置及びこれを用いたテープ印刷装置を提供することを目的とする。
SUMMARY An advantage of some aspects of the invention is that it provides a printing apparatus capable of storing the contents of a data string or the like to be efficiently printed on a printing member such as a tape and a tape printing apparatus using the same.

上記課題を解決するために、本発明に係る印刷装置は、(a)印刷部材に印刷されるべ
きキャラクタについてのデータを保持するデータ記憶部と、(b)印刷部材上にキャラク
タの印刷を行うための定長印刷領域が指定される定長モードと、印刷部材上の余白領域が
指定される余白モードとを設定するモード設定手段と、(c)モード設定手段によって定
長モードと余白モードとが設定されるとともに、余白モードの設定において余白領域が印
刷可能な可変余白領域を含む可変余白モードが付加的に設定されている場合に、キャラク
タを印刷するために必要なキャラクタ印字領域が定長印刷領域を越えたか否かを判断する
領域限界判断部と、(d)領域限界判断部によりキャラクタ印字領域が定長印刷領域を越
えたと判断された場合に、キャラクタ印字領域の確保に必要となる余白領域の圧縮量を算
出する圧縮量換算処理部と、(e)圧縮量換算処理部により算出された圧縮量を参照して
余白領域を設定する余白圧縮処理によって、定長印刷領域を増加させた修正印刷領域を設
定する領域変換処理部と、(f)領域変換処理部で設定された修正印刷領域に基づいて印
刷部材に印刷されるキャラクタの位置設定を行うキャラクタ処理部と、(g)印刷部材上
に修正印刷領域に基づくキャラクタの位置設定に対応して印刷を行う印刷手段とを備える
In order to solve the above-described problems, a printing apparatus according to the present invention includes (a) a data storage unit that holds data about a character to be printed on a printing member, and (b) prints the character on the printing member. Mode setting means for setting a constant length mode in which a constant length printing area is designated and a margin mode in which a margin area on the printing member is designated; (c) a constant length mode and a margin mode by the mode setting means; When the variable margin mode including the variable margin area in which the margin area can be printed is additionally set in the margin mode setting, the character print area necessary for printing the character is fixed. An area limit determination unit for determining whether or not the print area has been exceeded, and (d) a character limit when the character print area exceeds the fixed-length print area. A compression amount conversion processing unit that calculates a compression amount of a blank area necessary for securing a print area, and (e) a blank compression process that sets a blank region with reference to the compression amount calculated by the compression amount conversion processing unit And (f) setting the position of the character to be printed on the printing member based on the corrected print area set by the area conversion processing section. A character processing unit to perform, and (g) a printing unit that performs printing in accordance with the character position setting based on the corrected printing area on the printing member.

上記印刷装置では、定長モードと余白モードとが設定され、さらに余白モードの設定に
おいて可変余白モードが付加的に設定されている場合に、領域変換処理部により、余白領
域を設定する余白圧縮処理によって、定長印刷領域を増加させた修正印刷領域を設定する
ことができる。これにより、キャラクタ印字領域が定長印刷領域を越えたと判断された場
合において、修正印刷領域の設定によりキャラクタ印字領域を確保し、印刷するデータ列
等の内容を収めることができる。この際、特に、圧縮量換算処理部が、当該キャラクタ印
字領域の確保に必要となる余白領域の圧縮量を予め算出するので、必要なだけの余白領域
の圧縮処理を一度に行うことができ、当該余白圧縮処理を繰返し行う必要がなく、印刷す
るデータ列等の印字内容を効率よく印刷長に収めることができる。
In the printing apparatus, when the fixed length mode and the margin mode are set, and when the variable margin mode is additionally set in the margin mode setting, the margin conversion process for setting the margin area is performed by the area conversion processing unit. Thus, it is possible to set a modified print area in which the fixed-length print area is increased. As a result, when it is determined that the character print area exceeds the fixed-length print area, the character print area can be secured by setting the correction print area, and contents such as a data string to be printed can be stored. At this time, in particular, since the compression amount conversion processing unit calculates in advance the compression amount of the blank area necessary for securing the character print area, it is possible to perform the compression processing of the blank area as much as necessary, There is no need to repeat the margin compression process, and the print contents such as the data string to be printed can be efficiently stored in the print length.

また、本発明の具体的な態様として、圧縮量換算処理部が、キャラクタ印字領域と定長
印刷領域との差から圧縮量を算出する。この場合、比較的簡易な演算で適切な圧縮量の算
出が行える。
As a specific aspect of the present invention, the compression amount conversion processing unit calculates the compression amount from the difference between the character print area and the fixed-length print area. In this case, an appropriate compression amount can be calculated with a relatively simple calculation.

また、本発明の具体的な態様として、領域変換処理部が、余白圧縮処理において、余白
モードで設定された余白領域を定長印刷領域の両端に分割して設定し、分割された余白領
域を均等に圧縮する。この場合、余白圧縮処理前の余白領域の印刷物上での位置的なバラ
ンスを余白圧縮処理後においても保つことができる。
As a specific aspect of the present invention, the area conversion processing unit divides and sets the margin area set in the margin mode at both ends of the fixed-length printing area in the margin compression process, and the divided margin area is set. Compress evenly. In this case, the positional balance on the printed matter of the blank area before the blank compression process can be maintained even after the blank compression process.

また、本発明の具体的な態様として、領域変換処理部が、キャラクタのサイズ変更処理
を行う。この場合、さらにキャラクタのサイズ変更処理によっても印刷するデータ列等の
内容を印刷長に収めることができる。
Further, as a specific aspect of the present invention, the area conversion processing unit performs a character size changing process. In this case, the contents such as a data string to be printed can be stored in the print length by the character size changing process.

また、本発明の具体的な態様として、領域変換処理部が、余白圧縮処理をサイズ変更処
理に優先して行う。この場合、データ列等の内容を印刷長に収めるための処理において、
キャラクタサイズの確保を優先した処理が行える。
Further, as a specific aspect of the present invention, the area conversion processing unit performs the blank space compression process with priority over the size change process. In this case, in the process for storing the contents such as the data string in the print length,
Processing that prioritizes securing the character size can be performed.

また、本発明の具体的な態様として、領域変換処理部が、サイズ変更処理を余白圧縮処
理に優先して行う。この場合、データ列等の内容を印刷長に収めるための処理において、
余白領域の確保を優先した処理が行える。
As a specific aspect of the present invention, the area conversion processing unit performs the size changing process with priority over the margin compression process. In this case, in the process for storing the contents such as the data string in the print length,
Processing that prioritizes securing of the margin area can be performed.

上記課題を解決するために、本発明に係るテープ印刷装置は、上記いずれかの印刷装置
を備え、印刷手段が、印刷部材としてテープ状部材に印刷を行う。この場合、種々のキャ
ラクタについてテープ印刷を行うことが可能であり、この際、印刷されるデータ列等の内
容を効率よく印刷長に収めることができる。
In order to solve the above problems, a tape printer according to the present invention includes any one of the above-described printing apparatuses, and a printing unit performs printing on a tape-shaped member as a printing member. In this case, it is possible to perform tape printing on various characters, and at this time, the contents such as a data string to be printed can be efficiently stored in the print length.

〔第1実施形態〕
図1は、本実施形態に係る印刷装置であるテープ印刷装置の全体を示した斜視図である
。また、図2(a)は、図1のテープ印刷装置の開閉蓋を開蓋したときの斜視図であり、
図2(b)は、テープ印刷装置に装填されるテープカートリッジを示す斜視図である。
[First Embodiment]
FIG. 1 is a perspective view showing the entirety of a tape printing apparatus which is a printing apparatus according to the present embodiment. FIG. 2A is a perspective view when the opening / closing lid of the tape printer of FIG. 1 is opened,
FIG. 2B is a perspective view showing a tape cartridge loaded in the tape printer.

図1及び図2に示すように、このテープ印刷装置10は、上下2分割の装置ケース20
により外郭が形成され、開閉蓋となる上側ケース21と、テープカートリッジCが装填さ
れるポケット41等の機構部が配設された下側ケース22とにより構成されている。
As shown in FIGS. 1 and 2, the tape printer 10 is divided into an upper and lower divided device case 20.
The outer case 21 is formed by an upper case 21 serving as an opening / closing lid, and the lower case 22 is provided with a mechanism portion such as a pocket 41 in which the tape cartridge C is loaded.

上側ケース21の上面には、その手前側にキーボード33が、中央部右側にディスプレ
イ34がそれぞれ配設されており、テープカートリッジCの着脱時以外は、閉蓋状態で使
用される。
On the upper surface of the upper case 21, a keyboard 33 is disposed on the front side thereof, and a display 34 is disposed on the right side of the center portion. The keyboard 34 is used in a closed state except when the tape cartridge C is attached or detached.

キーボード33は、下側ケース22内に内蔵された制御系であるマイコンチップ等に対
するデータ、指令等の情報を入力するためのものとなっている。このキーボード33には
、文字、記号、数字等を含むテキスト情報を入力するための文字キー群31の他、各種の
動作モードなどを指定するための機能キー群32等が配列されている。また、機能キー群
32には、図外の〔電源〕キー、印刷動作を指示するための〔印刷〕キー、テキスト情報
入力時のデータ確定や改行および選択画面における各種モードの選択指示のための〔選択
〕キー、並びに、それぞれ上(「↑」)、下(「↓」)、左(「←」)、右(「→」)方
向へのカーソル移動や表示画面36の表示範囲を移動させるための〔カーソル〕キーの他
、予め装置内に記憶されていない文字や記号等を「外字」として作成するための〔外字〕
キーなどが含まれる。以下、上述のような文字、記号、数字等に加え、「外字」等(例え
ば、絵文字のようなもの)を含めた総称として「キャラクタ」ということとする。
The keyboard 33 is for inputting information such as data and commands to a microcomputer chip or the like which is a control system built in the lower case 22. On the keyboard 33, a function key group 32 for designating various operation modes and the like are arranged in addition to a character key group 31 for inputting text information including characters, symbols, numbers, and the like. The function key group 32 includes a [power] key (not shown), a [print] key for instructing a printing operation, data confirmation at the time of text information input, line feed, and instructions for selecting various modes on the selection screen. [Select] key, and move the cursor in the up (“↑”), down (“↓”), left (“←”), and right (“→”) directions and the display range of the display screen 36, respectively. In addition to the [cursor] key, a character or symbol not previously stored in the device is created as an “external character”.
Key etc. are included. Hereinafter, in addition to the characters, symbols, numbers, and the like as described above, the term “character” is used as a collective term including “external characters” and the like (for example, something like a pictograph).

尚、上述した選択画面において設定される各種モードとして、例えば印刷部材上におい
て、キャラクタの印刷を行う定長印刷領域を指定できる定長モードと、印刷を行わない余
白領域を指定できる余白モードとがある。ユーザの機能キー群32等の操作により、これ
らの各種モードの指定が可能になり、定長モードや余白モードの設定がなされるが、この
際、余白モードの設定においては、さらに、可変余白モードの設定を行うことができる。
可変余白モードの設定がなされた場合、印刷が可能な可変余白領域を調整することができ
る(詳しくは後述する)。
The various modes set on the selection screen described above include, for example, a fixed-length mode that can specify a fixed-length print area on which a character is printed on a printing member, and a margin mode that can specify a blank area that is not printed. is there. These various modes can be specified by the user's operation of the function key group 32 and the like, and the fixed length mode and the margin mode are set. At this time, the variable margin mode is further set in the margin mode setting. Can be set.
When the variable margin mode is set, the variable margin area that can be printed can be adjusted (details will be described later).

ディスプレイ34は、任意のキャラクタを横方向及び縦方向にn列×m行(n,mは適
当な自然数)で表示可能な表示画面36を有し、下側ケース22内に内蔵された制御系で
あるマイコンチップ等による処理結果や指令等を表示できるようになっている。すなわち
、ディスプレイ34は、処理対象となるキャラクタ列を選択したり、ユーザがキーボード
33からデータや各種指令・指示等を入力してキャラクタ列を編集したり、その結果等を
視認したりする際などに用いられる。
The display 34 has a display screen 36 that can display an arbitrary character in n columns × m rows (n and m are appropriate natural numbers) in the horizontal and vertical directions, and is a control system built in the lower case 22. It is possible to display processing results, commands, and the like by the microcomputer chip. That is, the display 34 selects a character string to be processed, or when the user inputs data or various commands / instructions from the keyboard 33 to edit the character string, or visually recognizes the result. Used for.

下側ケース22には、テープカートリッジCを装着するためのポケット41が設けられ
ており、テープカートリッジCは、上側ケース(開閉蓋)21を開放した状態でポケット
41に対して着脱される。テープカートリッジCにおいて、カートリッジケース51の内
部に一定の幅のテープTとインクリボンRとが収容されている他、ポケット41に配設さ
れたヘッドユニット42を差し込むための貫通孔53が形成されている。また、相異なる
幅等のテープTの種別を識別できるように、ポケット41には、マイクロスイッチ等のテ
ープ識別センサ43が設けられており、テープTの種別や設定情報を検出できるようにな
っている。
The lower case 22 is provided with a pocket 41 for mounting the tape cartridge C. The tape cartridge C is attached to and detached from the pocket 41 with the upper case (opening / closing lid) 21 opened. In the tape cartridge C, a tape T and an ink ribbon R having a certain width are accommodated in the cartridge case 51, and a through hole 53 for inserting the head unit 42 disposed in the pocket 41 is formed. Yes. Further, a tape identification sensor 43 such as a micro switch is provided in the pocket 41 so that the types of the tape T having different widths can be identified, and the type and setting information of the tape T can be detected. Yes.

また、テープTは、印刷部材であるテープ状部材に相当するものであり、裏面に接着面
が形成され、それが剥離紙によって覆われた構成になっている。テープTとインクリボン
Rは、貫通孔53の位置で相互に重なり合った状態で走行するとともに、テープTのみが
外部に排出され、インクリボンRは内部で巻き取られるようになっている。
The tape T corresponds to a tape-like member that is a printing member, and has a configuration in which an adhesive surface is formed on the back surface and is covered with release paper. The tape T and the ink ribbon R travel while being overlapped with each other at the position of the through hole 53, and only the tape T is discharged to the outside, and the ink ribbon R is wound inside.

ポケット41の適所に設けたヘッドユニット42には、サーマルヘッドから成る印刷ヘ
ッド42aが内蔵されており、テープカートリッジCがポケット41に装填された状態で
、印刷ヘッド42aが、テープカートリッジCの貫通孔53から露出しているインクリボ
ンRの裏面に当接するようになっている。そして、印刷ヘッド42aを発熱駆動すること
により、所望の文字などのキャラクタがテープTの表面に印刷される。
The head unit 42 provided at an appropriate position of the pocket 41 incorporates a print head 42a composed of a thermal head, and in a state where the tape cartridge C is loaded in the pocket 41, the print head 42a is inserted into the through hole of the tape cartridge C. 53 abuts on the back surface of the ink ribbon R that is exposed from 53. A character such as a desired character is printed on the surface of the tape T by driving the print head 42a to generate heat.

また、下側ケース22の左側部には、ポケット41と装置外部とを連通するテープ排出
口44が形成され、このテープ排出口44には、送り出したテープTを切断するテープカ
ッタ45が臨んでいる。また、ポケット41には、装着されたテープカートリッジCの被
駆動部が係合する駆動軸47,48等が設けられており、内蔵された送りモータ(不図示
)を駆動源として、これらの駆動軸47,48により、テープカートリッジC内のテープ
TおよびインクリボンRの送りが行われ、かつ、これらに同期して印刷ヘッド42aを駆
動することで、印刷が行われる。また、印刷完了後、テープTの送りが続行されテープT
に設定された切断位置がテープカッタ45の位置まで送られる。
Further, a tape discharge port 44 that communicates the pocket 41 and the outside of the apparatus is formed on the left side of the lower case 22, and a tape cutter 45 that cuts the tape T that has been fed faces the tape discharge port 44. Yes. The pocket 41 is provided with drive shafts 47, 48 and the like that engage with the driven parts of the mounted tape cartridge C, and these drives are driven using a built-in feed motor (not shown) as a drive source. The shafts 47 and 48 feed the tape T and the ink ribbon R in the tape cartridge C, and the print head 42a is driven in synchronization with these to perform printing. Further, after the printing is completed, the feeding of the tape T is continued and the tape T
Is set to the position of the tape cutter 45.

下側ケース22の前側部には、カード状の携帯メモリデバイス61を差し込むためのス
ロット49が形成されている。このスロット49の狭い空間に携帯メモリデバイス61を
挿入して一定の力で押し込むことにより、内蔵されたコネクタ(不図示)を介して、携帯
メモリデバイス61が下側ケース22内の制御系であるマイコンチップ等に接続される。
なお、スロット49に装着される携帯メモリデバイス61は、着脱自在となっており、ス
ロット49の開口に露出している携帯メモリデバイス61の先端部を一定の力で引っ張る
ことにより、携帯メモリデバイス61を上記コネクタから切り離してスロット49外に引
き出すことができる。
A slot 49 for inserting a card-like portable memory device 61 is formed in the front side portion of the lower case 22. By inserting the portable memory device 61 into the narrow space of the slot 49 and pushing it in with a certain force, the portable memory device 61 is a control system in the lower case 22 via a built-in connector (not shown). Connected to a microcomputer chip or the like.
The portable memory device 61 attached to the slot 49 is detachable, and the portable memory device 61 is pulled by pulling the tip of the portable memory device 61 exposed in the opening of the slot 49 with a certain force. Can be separated from the connector and pulled out of the slot 49.

尚、スロット49に挿入される携帯メモリデバイス61は、複数の装置間で互換性のあ
るデータを保持することができる汎用型のメモリカードであり、例えばSDカード、メモ
リスティック等がこれに該当する。この携帯メモリデバイス61には、印字データや印字
プログラムが汎用のフォーマットで記録されている。ここで、印字データは、テープ印刷
装置10のディスプレイ34に表示させたり、ヘッドユニット42によってテープTに印
刷させるべきキャラクタ等の情報を含んでおり、印字プログラムは、テープ印刷装置10
のヘッドユニット42等によってテープTに印刷させるための手順、印刷データ等を含ん
でいる。テープ印刷装置10は、キャラクタに関するデータやその制御・処理機構を内蔵
しており(詳しくは図3を用いて後述する)、単独でテープ印刷が可能であるが、上述の
ように、携帯メモリデバイス61が挿入でき、外部からのデータに基づいて装置内に記憶
されていない外字等のキャラクタについてテープ印刷を行うことも可能となっている。
Note that the portable memory device 61 inserted into the slot 49 is a general-purpose memory card capable of holding data compatible with a plurality of apparatuses, and examples thereof include an SD card and a memory stick. . In the portable memory device 61, print data and a print program are recorded in a general-purpose format. Here, the print data includes information such as characters to be displayed on the display 34 of the tape printer 10 or to be printed on the tape T by the head unit 42, and the print program is stored in the tape printer 10.
Includes a procedure for printing on the tape T by the head unit 42 and the like, print data, and the like. The tape printer 10 incorporates character-related data and its control / processing mechanism (details will be described later with reference to FIG. 3), and is capable of independent tape printing. 61 can be inserted, and it is also possible to perform tape printing on characters such as external characters that are not stored in the apparatus based on data from the outside.

このように構成されたテープ印刷装置10の一般的な使用方法は、ユーザが、ポケット
41にテープカートリッジCを装填した後、ディスプレイ34により入力・編集結果を確
認しながらキーボード33を用いて所望の文字や記号等の印刷情報を入力し、印刷を指示
する。この指示により、テープカートリッジCからテープTが繰り出され、印刷ヘッド4
2aによりテープTに所望の印刷が行われた後、印刷済み部分はテープ排出口44から随
時外部に送り出される。そして、印刷が完了すると、余白分を含むテープ長さの位置まで
テープ送りが行われ、この位置でテープTがカットされることによりラベルが作成される
A general method of using the tape printer 10 configured as described above is that the user uses the keyboard 33 while confirming the input / editing result on the display 34 after loading the tape cartridge C in the pocket 41. Input printing information such as characters and symbols and instruct printing. By this instruction, the tape T is fed out from the tape cartridge C, and the print head 4
After the desired printing is performed on the tape T by 2a, the printed portion is sent out from the tape discharge port 44 to the outside at any time. When the printing is completed, the tape is fed to the position of the tape length including the margin, and the label is created by cutting the tape T at this position.

次に、図3を参照して、図1等に示すテープ印刷装置10の制御系の構成について説明
する。テープ印刷装置10は、ユーザとのインタフェースになるキーボード33やディス
プレイ34、テープ種類の検出を行うためのテープ識別センサ43のほかに、印刷ヘッド
42aや送りモータ55を駆動する印刷部駆動回路71と、テープカッタ45に切断動作
を行わせるカッタモータ56を駆動する切断部駆動回路72と、携帯メモリデバイス61
との間でデータの送受信を行うためのインタフェース部74と、以上の回路部分を制御し
つつ適宜動作させる制御処理部77とを備える。以上において、印刷ヘッド42a及び印
刷部駆動回路71は、テープTに印刷を行うための印刷手段として機能し、テープカッタ
45、カッタモータ56、及び切断部駆動回路72は、テープTを切断するカッタ機構と
して機能する。
Next, the configuration of the control system of the tape printer 10 shown in FIG. 1 and the like will be described with reference to FIG. The tape printer 10 includes a keyboard 33 and a display 34 that serve as an interface with the user, a tape identification sensor 43 for detecting the tape type, a printing unit drive circuit 71 that drives the print head 42a and the feed motor 55, and the like. A cutting unit driving circuit 72 for driving a cutter motor 56 that causes the tape cutter 45 to perform a cutting operation; and a portable memory device 61
And an interface unit 74 for transmitting and receiving data to and from the control unit 77 and a control processing unit 77 that controls the above circuit portions to operate as appropriate. In the above, the print head 42a and the printing unit driving circuit 71 function as printing means for printing on the tape T, and the tape cutter 45, the cutter motor 56, and the cutting unit driving circuit 72 are cutters for cutting the tape T. Acts as a mechanism.

ここで、制御処理部77は、マイコンチップ等のICで構成される制御手段であり、デ
ィスプレイ34への出力データ送信を行う出力ポート75と、データや演算結果等を保管
するための記憶部73と、記憶部73内に蓄積されている各種データを読み出す読出部7
6と、読出部76から読み出されたデータに基づきキャラクタ印刷のための処理を行うC
PU78とを備える。特に、CPU78は、当該キャラクタ印刷の処理を行うにあたって
、必要に応じて余白の調整を行うために、領域限界判断部78aと、圧縮量換算処理部7
8bと、領域変換処理部78cと、キャラクタ処理部78dとをプログラム上の機能とし
て備える(各機能について詳しくは後述する)。
Here, the control processing unit 77 is a control unit composed of an IC such as a microcomputer chip, and an output port 75 that transmits output data to the display 34 and a storage unit 73 that stores data, calculation results, and the like. And a reading unit 7 for reading out various data stored in the storage unit 73.
6 and C for performing processing for character printing based on the data read from the reading unit 76
PU78. In particular, the CPU 78 performs an area limit determination unit 78a and a compression amount conversion processing unit 7 in order to adjust margins as necessary when performing the character printing process.
8b, an area conversion processing unit 78c, and a character processing unit 78d are provided as functions on the program (each function will be described in detail later).

記憶部73は、例えば、印刷部材であるテープTに印刷されるべきキャラクタ等につい
てのデータを保持するデータ記憶部であり、ROM73aやRAM73bで構成される。
より具体的には、ROM73aは、制御処理部77で処理する制御プログラムを記憶する
制御プログラム領域と、文字修飾テーブルなどを含む制御データを記憶する制御データ領
域と、テープ印刷装置10に用意されているキャラクタのフォントデータを記憶するCG
データ領域とを有する。また、RAM73bは、電源がオフにされても、記憶したデータ
を保持しておくように図外のバックアップ回路によって電源の供給を受けており、各種レ
ジスタ群のほか、ユーザがキーボード33から入力したキャラクタ等のテキストデータを
記憶するテキストデータ領域、テキストデータを印字する際のフォーマットを記憶するフ
ォーマットデータ領域、携帯メモリデバイス61から読み取った印字データや印字プログ
ラムを一旦保管する外部データ導入領域、バッファ領域等の各種記憶領域等を有し、制御
処理のための作業領域として使用される。尚、ここでは、記憶部73が有するキャラクタ
についてのデータ(以下キャラクタデータ)等は全てビットマップデータとして表現可能
な形式の情報となっている。これにより、例えば、余白領域の調整を行う場合に、ドット
数単位を基準として行うことができる。また、余白領域の調整等において、携帯メモリデ
バイス61による外部からのデータに基づいた外字等のキャラクタデータについてもRO
M73aに保持される通常のキャラクタデータと同様に扱うことができる。
The storage unit 73 is, for example, a data storage unit that holds data about characters or the like to be printed on the tape T, which is a printing member, and includes a ROM 73a and a RAM 73b.
More specifically, the ROM 73a is prepared in the tape printer 10 for a control program area for storing a control program processed by the control processing unit 77, a control data area for storing control data including a character modification table, and the like. CG that stores font data of characters
And a data area. Further, the RAM 73b is supplied with power by a backup circuit (not shown) so as to retain stored data even when the power is turned off. In addition to various register groups, the user inputs from the keyboard 33. Text data area for storing text data such as characters, format data area for storing a format for printing text data, external data introduction area for temporarily storing print data and print programs read from the portable memory device 61, buffer area And is used as a work area for control processing. Here, the data (hereinafter referred to as character data) and the like regarding the character that the storage unit 73 has is all information in a format that can be expressed as bitmap data. Thereby, for example, when adjusting the margin area, it is possible to perform the adjustment based on the dot number unit. In addition, when adjusting margin areas, character data such as external characters based on data from the outside by the portable memory device 61 is also RO.
It can be handled in the same way as normal character data held in M73a.

そして、制御処理部77は、記憶部73に設けたROM73a内の制御プログラムに従
って動作し、キーボード33等から各種指令、各種データ、各種検出信号等の入力を受け
、記憶部73に設けたRAM73bに保管された各種データ等を処理し、ディスプレイ3
4、印刷部駆動回路71、切断部駆動回路72等に制御信号を出力することにより、表示
画面36に必要な表示を行わせるとともに、印刷ヘッド42aを制御して所定の印刷条件
でテープTに印刷するなど、テープ印刷装置10全体を制御している。このような処理の
うち、本実施形態の特徴的な動作は、印刷されるキャラクタからなるキャラクタ列の占め
る領域であるキャラクタ印字領域を所定のテープ長に収めるための、テープT上での余白
領域の調整である。尚、当該余白領域の調整に際して、CPU78は、RAM73bに保
管された各種データを読み出し、これに基づいて演算処理をする。
The control processing unit 77 operates in accordance with a control program in the ROM 73a provided in the storage unit 73, receives various commands, various data, various detection signals and the like from the keyboard 33 and the like, and enters a RAM 73b provided in the storage unit 73. Process various stored data and display 3
4. By outputting control signals to the printing unit driving circuit 71, the cutting unit driving circuit 72, etc., the display screen 36 is made to display necessary information, and the print head 42a is controlled so as to be applied to the tape T under predetermined printing conditions. The entire tape printer 10 is controlled such as printing. Among such processes, the characteristic operation of the present embodiment is that a blank area on the tape T for storing a character print area, which is an area occupied by a character string composed of characters to be printed, within a predetermined tape length. Adjustment. When adjusting the margin area, the CPU 78 reads out various data stored in the RAM 73b and performs arithmetic processing based on the data.

ここで、RAM73bには、上述のテキストデータ領域等の各種記憶領域において印刷
処理に必要な各種データが保管されるが、本実施形態に特徴的な情報を確保すべく、図4
に示すような一連の記憶領域が確保されている。即ち、RAM73bの各記憶領域のうち
、定長印刷情報記憶領域80aには、テープT上の所定の印刷領域である定長印刷領域に
ついての情報が保管される。また、余白モード情報記憶領域80bには、テープT上にお
ける余白領域についての情報が保管され、キャラクタ印刷情報記憶領域80cには、キャ
ラクタ印字領域についての情報が保管され、キャラクタ情報記憶領域80dには、印刷す
べきキャラクタのキャラクタデータが保管されている。
Here, the RAM 73b stores various data necessary for the printing process in various storage areas such as the above-described text data area. In order to secure information characteristic to the present embodiment, FIG.
A series of storage areas as shown in FIG. That is, of the storage areas of the RAM 73b, the fixed-length print information storage area 80a stores information about the fixed-length print area that is a predetermined print area on the tape T. Further, the margin mode information storage area 80b stores information about the margin area on the tape T, the character print information storage area 80c stores information about the character print area, and the character information storage area 80d. The character data of the character to be printed is stored.

以下、CPU78による余白調整の動作について説明する。CPU78は、領域限界判
断部78aとして、図4に示すRAM73bの定長印刷情報記憶領域80a及びキャラク
タ印刷情報記憶領域80cから、定長印刷領域と、キャラクタ印字領域とについての情報
を読み出し、キャラクタ印字領域が定長印刷領域を越えたか否かを判断する。
Hereinafter, the margin adjustment operation by the CPU 78 will be described. The CPU 78 reads out information about the fixed length print area and the character print area from the fixed length print information storage area 80a and the character print information storage area 80c of the RAM 73b shown in FIG. It is determined whether or not the area exceeds the fixed length printing area.

次に、CPU78は、圧縮量換算処理部78bとして、上述のキャラクタ印字領域が定
長印刷領域を越えたと判断された場合において、キャラクタ印字領域の確保に必要となる
余白領域の圧縮量をキャラクタ印字領域と定長印刷領域との差から算出する。この際、C
PU78は、図4のRAM73bの余白モード情報記憶領域80bから余白領域について
の情報を読み出し、キャラクタ印字領域の確保に必要となる調整のための余白領域の圧縮
が可能であるか否かについての判断も行う。
Next, the CPU 78, as the compression amount conversion processing unit 78b, prints the compression amount of the blank area necessary for securing the character print area when the character print area is determined to exceed the fixed-length print area. It is calculated from the difference between the area and the fixed-length printing area. At this time, C
The PU 78 reads out information about the margin area from the margin mode information storage area 80b of the RAM 73b of FIG. 4, and determines whether or not the margin area for adjustment necessary for securing the character print area can be compressed. Also do.

次に、CPU78は、領域変換処理部78cとして、上述のように算出された圧縮量を
参照して、余白領域を設定する余白圧縮処理を行う。より具体的に説明すると、CPU7
8は、算出された圧縮量に応じて余白領域を圧縮することにより、定長印刷領域を増加さ
せた新たな修正印刷領域を設定する。以上のような余白領域の調整がなされることでテー
プT上での所定の印刷領域を拡大させることができる。
Next, the CPU 78 refers to the compression amount calculated as described above, and performs a margin compression process for setting a margin region as the region conversion processing unit 78c. More specifically, the CPU 7
No. 8 sets a new corrected print area in which the fixed-length print area is increased by compressing the blank area according to the calculated compression amount. By adjusting the margin area as described above, a predetermined print area on the tape T can be enlarged.

CPU78は、キャラクタ処理部78dとして、図4のRAM73bのキャラクタ情報
記憶領域80dから印刷すべきキャラクタのキャラクタデータを読み出し、当該キャラク
タが上述のように設定された修正印刷領域に基づいてテープTに印刷されるようにキャラ
クタの位置設定を行う。これに基づいて、印刷手段である印刷部駆動回路71に動作を行
わせるための信号が作成される。以上により、余白調整の行われた印刷が可能となる。
As the character processing unit 78d, the CPU 78 reads character data of a character to be printed from the character information storage area 80d of the RAM 73b of FIG. 4, and prints the character on the tape T based on the modified print area set as described above. The character position is set as shown. Based on this, a signal is generated for causing the printing unit drive circuit 71, which is a printing means, to perform an operation. As described above, printing with margin adjustment performed becomes possible.

本実施形態における以上のような余白調整では、領域限界判断部78aによりキャラク
タ印字領域が定長印刷領域を越えたと判断された場合に、圧縮量換算処理部78bによっ
て予めキャラクタ印字領域の確保に必要となる余白領域の圧縮量がキャラクタ印字領域と
定長印刷領域との差から換算され、さらに、キャラクタ印字領域の確保に必要となる調整
のための余白領域の圧縮が可能であるか否かについての判断も行う。領域変換処理部78
cは、圧縮量換算処理部78bにより算出された圧縮量を参照して、余白領域を設定する
余白圧縮処理を行うので、必要なだけの余白領域の圧縮処理を一度に行うことができ、繰
返し行う必要がない。従って、本実施形態のテープ印刷装置10は、効率よく印刷するデ
ータ列等の内容を収めることができる。
In the margin adjustment as described above in the present embodiment, when the area limit determination unit 78a determines that the character print area exceeds the fixed-length print area, the compression amount conversion processing unit 78b needs to secure the character print area in advance. Whether the compression amount of the blank area is converted from the difference between the character print area and the fixed-length print area, and whether the blank area can be compressed for adjustment necessary for securing the character print area Judgment is also made. Area conversion processing unit 78
Since c performs a blank compression process for setting a blank area with reference to the compression amount calculated by the compression amount conversion processing unit 78b, it is possible to perform a blank area compression process as many times as necessary. There is no need to do it. Therefore, the tape printer 10 according to the present embodiment can store contents such as a data string to be printed efficiently.

次に、図5(a)〜(d)を用いて本実施形態におけるテープ印刷装置10の動作の一
例を説明する。また、あわせて定長モード、余白モード及び余白モードの設定において付
加的に設定される可変余白モードの設定についてもそれぞれ説明する。
Next, an example of the operation of the tape printer 10 according to the present embodiment will be described with reference to FIGS. In addition, the setting of the variable margin mode additionally set in the setting of the fixed length mode, the margin mode, and the margin mode will also be described.

まず、ユーザがテープ印刷装置10の電源を入れることにより、図5(a)のような初
期状態を示す表示が図1の表示画面36内に表示される。さらに、適宜機能キー群32等
を操作するか、あるいは一定時間経過することにより、印刷設定のための選択メニューが
表示される。
First, when the user turns on the tape printer 10, a display showing an initial state as shown in FIG. 5A is displayed in the display screen 36 of FIG. Furthermore, a selection menu for print setting is displayed by appropriately operating the function key group 32 or the like or when a certain time has elapsed.

この場合において、まず、機能キー群32等の操作により、例えば、図5(b)のよう
な定長モードの設定のための表示がなされる。ここで、定長モードとは、テープT上で実
際に印刷を行う所定の印刷領域として、定長印刷領域(以下単に「定長」という。)を予
め定めるモードをいう。より具体的には、ユーザが、図5(b)が表示された際に、モー
ド設定手段としての機能キー群32等の操作により、定長の指定を行い(ここでは例えば
定長50mm割付を選択する。)、これに応じて、モード設定手段としての制御処理部7
7が、定長モードの設定を受け付ける。以上により定長モードが設定される。
In this case, first, display for setting the fixed length mode as shown in FIG. 5B is performed by operating the function key group 32 or the like. Here, the fixed length mode is a mode in which a fixed length print area (hereinafter simply referred to as “fixed length”) is predetermined as a predetermined print area where printing is actually performed on the tape T. More specifically, when the user displays FIG. 5B, the user designates a fixed length by operating the function key group 32 or the like as mode setting means (in this case, for example, a fixed length of 50 mm is assigned). In response to this, the control processing unit 7 as mode setting means is selected.
7 accepts the setting of the fixed length mode. The fixed length mode is set as described above.

また、機能キー群32等の操作により、例えば、表示画面36内に図5(c)のような
余白モードの設定のための表示がなされる。ここで、余白モードとは、テープT上の印刷
領域であって、印刷領域以外の領域である余白領域について、余白の幅を選択するモード
をいう。より具体的には、例えば、ユーザが、図5(c)が表示された際に、機能キー群
32等を操作することにより、「余白メニュー選択肢」から余白パターンの選択を行う。
ここで、「余白メニュー選択肢」としては、例えば、「なし」(余白は左右それぞれに最
低必要な1mm)、「あり」(余白は左右それぞれ10mmで固定)及び「自動」(余白
は左右それぞれ10mmを基準として1〜10mmの範囲で変動可能)といった選択肢が
ある。これらの余白メニューから、ユーザが適宜選択をすることで余白モードの設定がな
される。
Further, by the operation of the function key group 32 or the like, for example, a display for setting the margin mode as shown in FIG. Here, the margin mode is a mode in which a margin width is selected for a margin area that is a print area on the tape T and is an area other than the print area. More specifically, for example, when FIG. 5C is displayed, the user operates the function key group 32 to select a margin pattern from “margin menu option”.
Here, as the “margin menu option”, for example, “None” (the margin is 1 mm necessary for the left and right sides), “Yes” (the margin is fixed at 10 mm each for the left and right), and “Auto” (the margin is 10 mm each for the left and right Can be varied in the range of 1 to 10 mm with reference to the above. The margin mode is set by the user making an appropriate selection from these margin menus.

尚、ここで、「余白メニュー選択肢」のうち、「自動」を選択した場合、余白領域は、
通常では10mmのままであるが、必要に応じて1〜10mmの範囲で可変となる。本実
施形態では「自動」を選択するモードを「可変余白モード」と呼ぶものとする。つまり、
この可変余白モードに設定した場合、余白領域は、印刷可能な可変余白領域を含むものと
なり、必要に応じて余白領域を圧縮して、定長印刷領域を修正することができる。
Here, when “Auto” is selected from “Margin menu options”, the margin area is
Normally, it remains 10 mm, but is variable within a range of 1 to 10 mm as necessary. In the present embodiment, the mode for selecting “automatic” is referred to as “variable margin mode”. That means
When the variable margin mode is set, the margin area includes a printable variable margin area, and the fixed-length print area can be corrected by compressing the margin area as necessary.

以上のような操作により、定長モードや余白モードの設定が行われた後、ユーザは、キ
ーボード33の操作により、図5(d)に示すように、印刷を行うためのキャラクタの入
力を適宜行う。
After the fixed length mode and the margin mode are set by the operation as described above, the user appropriately inputs the character for printing by operating the keyboard 33 as shown in FIG. Do.

図6は、上述のようにして、可変余白モードが選択された場合のテープTにおける領域
の割付の一例を示す図である。図6の場合、定長DLは50mmであり、その両端の余白
領域BDはそれぞれ10mmである。従って、この場合、テープTの全長TLは70mm
となる。余白領域BDのうち、余白として最低限必要なテープTの左右端である最小余白
領域MBが1mmであり、残りが変動可能な可変余白領域VBとなる。可変余白領域VB
は、印刷部分としても利用可能であるが、初期の状態においては、通常の余白領域とされ
る。可変余白領域VBは、左右それぞれ9mmのままであるが、必要に応じて0〜9mm
の範囲で変動可能である。この場合、最大印刷領域MLは、定長DLと各可変余白領域V
Bとを合わせたものであり、テープTの全長TLを変えることなく印刷領域を拡大できる
最大値である。図6の場合では、最大印刷領域MLは、68mmとなる。最大印刷領域M
Lと定長DLとの差、即ち通常の状態における可変余白領域VBの2倍の値を定長可変と
する。つまり、図6の場合、定長可変は、18mmとなる。尚、図6において、キャラク
タ印字領域に対応するものは、印刷されるキャラクタの長さに相当する印刷長PLである
。図6の場合、印刷されるキャラクタは、4つの「H」であり、この端から端までの長さ
が印刷長PLである。
FIG. 6 is a diagram showing an example of area allocation on the tape T when the variable margin mode is selected as described above. In the case of FIG. 6, the constant length DL is 50 mm, and the margin areas BD at both ends thereof are 10 mm. Therefore, in this case, the total length TL of the tape T is 70 mm.
It becomes. Of the margin area BD, the minimum margin area MB, which is the left and right ends of the tape T, which is the minimum necessary for the margin, is 1 mm, and the remainder is a variable margin area VB that can be varied. Variable margin area VB
Can also be used as a print portion, but in the initial state, is a normal blank area. The variable margin area VB remains 9 mm on each of the left and right sides, but 0 to 9 mm as necessary.
It is possible to vary within the range. In this case, the maximum print area ML includes the fixed length DL and each variable margin area V.
B is the maximum value that can expand the printing area without changing the total length TL of the tape T. In the case of FIG. 6, the maximum print area ML is 68 mm. Maximum printing area M
The difference between L and the constant length DL, that is, a value twice the variable margin area VB in a normal state is set to be variable in the fixed length. That is, in the case of FIG. 6, the constant length variable is 18 mm. In FIG. 6, what corresponds to the character print area is a print length PL corresponding to the length of the character to be printed. In the case of FIG. 6, the characters to be printed are four “H”, and the length from end to end is the print length PL.

上述の領域に関する各情報DL、BD、VB、PLは、図4のRAM73bの各記憶領
域に記憶される。このうち、定長モードについての情報である定長DLについては、図4
の定長印刷情報記憶領域80aに記憶され、余白モードに関する情報である余白領域BD
、可変余白領域VB等については余白モード情報記憶領域80bに記憶され、印刷される
キャラクタに関する情報である印刷長PLは、キャラクタ印刷情報記憶領域80cに記憶
される。これらの情報は必要に応じて適宜読み出される。
Each information DL, BD, VB, PL regarding the above-mentioned area is stored in each storage area of the RAM 73b of FIG. Of these, the fixed length DL, which is information about the fixed length mode, is shown in FIG.
Margin area BD which is stored in the fixed length print information storage area 80a and is information relating to the margin mode.
The variable margin area VB and the like are stored in the margin mode information storage area 80b, and the print length PL, which is information relating to the character to be printed, is stored in the character print information storage area 80c. These pieces of information are read out as needed.

図7は、本実施形態に係る余白圧縮処理について説明するためのフローチャートである
。図5(d)に示した入力操作が完了し、ユーザが機能キー群32等を操作して印刷処理
のための操作指示がなされると、まず、制御処理部77は、余白モードにおいて可変余白
モードが設定されているか否かについての判断を行う(ステップS1)。ステップS1に
より、可変余白モードが設定されていないと判断した場合、即ち余白が固定されたモード
であると判断した場合には、固定余白設定による印刷処理がなされる(ステップS2)。
FIG. 7 is a flowchart for explaining margin compression processing according to the present embodiment. When the input operation shown in FIG. 5D is completed and the user operates the function key group 32 or the like to give an operation instruction for print processing, the control processing unit 77 first sets the variable margin in the margin mode. It is determined whether or not the mode is set (step S1). If it is determined in step S1 that the variable margin mode is not set, that is, if it is determined that the margin is a fixed mode, printing processing is performed with fixed margin setting (step S2).

ステップS1において、可変余白モード設定がなされていると判断された場合、図3の
CPU78において、入力されたキャラクタ列を普通に印刷した場合の印刷長PLの換算
処理が行われる(ステップS3)。
If it is determined in step S1 that the variable margin mode has been set, the CPU 78 of FIG. 3 performs conversion processing for the print length PL when the input character string is normally printed (step S3).

次に、CPU78において、印刷長PLと定長DLとの比較が行われる。つまり、キャ
ラクタ印字領域に相当する印刷長PLが定長DLを越えたか否かの判断が行われる(ステ
ップS4)。印刷長PLの値が定長DLの値を越えていないと判断された場合には、余白
圧縮処理は行われず、余白は自動で設定されたデフォルト値のままで印刷処理が行われる
(ステップS5)。
Next, the CPU 78 compares the print length PL with the constant length DL. That is, it is determined whether or not the print length PL corresponding to the character print area exceeds the fixed length DL (step S4). If it is determined that the value of the print length PL does not exceed the value of the fixed length DL, the margin compression process is not performed, and the print process is performed with the margin set to the automatically set default value (step S5). ).

一方、ステップS4において、印刷長PLの値が定長DLの値以上であると判断された
場合には、さらに、CPU78により、印刷長PLの確保に必要となる余白圧縮処理の変
換量を算出し、余白圧縮処理により定長モードでの印刷が可能であるかを判断する(ステ
ップS6)。より具体的には、例えば図6の場合、上述のように、定長可変の最大は18
mmである。従って、CPU78は、印刷長PLのオーバー分、即ち印刷長PLの値と定
長DLの値との差が許容限界である定長可変以下即ち18mm以下であれば余白圧縮処理
により印刷が可能であると判断し、印刷長PLのオーバー分が18mmより大きい場合に
は余白圧縮処理を行っても定長モードでの印刷は不可能と判断する。
On the other hand, if it is determined in step S4 that the value of the print length PL is equal to or greater than the value of the constant length DL, the CPU 78 further calculates the conversion amount of the blank space compression process necessary for securing the print length PL. Then, it is determined whether printing in the fixed length mode is possible by the margin compression process (step S6). More specifically, for example, in the case of FIG.
mm. Therefore, the CPU 78 can perform printing by the margin compression process if the print length PL is over, that is, if the difference between the print length PL value and the constant length DL value is a permissible limit of a constant length variable or less, ie, 18 mm or less. If the print length PL is larger than 18 mm, it is determined that printing in the constant length mode is impossible even if the margin compression process is performed.

ステップS6において、余白圧縮処理により印刷が可能であると判断された場合は、定
長モードでの印刷を行うための余白設定処理がなされる(ステップS7)。つまり、ステ
ップS6において換算された変換量即ち印刷長PLの値と定長DLの値との差の分に応じ
て、CPU78が、図5に示した可変余白領域VBを調整することにより余白領域BDを
圧縮し、定長DLを拡大して新たに修正印刷領域の設定をする余白圧縮処理を行う。例え
ば、図6の場合、余白モード設定された余白領域BDは、定長DLの両端に分割して設定
されている。このような場合、例えば、当該余白圧縮処理において、分割されている余白
領域BDを均等に圧縮するものとすることができる。図8(a)は、当該余白圧縮処理に
従って印刷された印刷物の一例であるが、余白領域BDを均等に圧縮する場合、定長DL
を拡張して修正印刷領域DDLを形成するにあたって、図5に示した可変余白領域VBを
必要な圧縮量の半分ずつ圧縮させることとなる。尚、ステップS4において余白圧縮処理
が不要であると判断され、余白が自動設定されたデフォルト値のまま印刷処理が行われる
場合は(ステップS5)、定長DLの領域変換処理は行われず、例えば、図8(b)のよ
うな印刷がなされる。ここで、図8(b)のように余白圧縮がなされない場合には、分割
された各余白領域BDは、左右のバランスがとれた状態となっている。一方、図8(a)
のような場合においても、2分された余白領域BDを均等に圧縮することにより、余白圧
縮処理前の余白領域BDの印刷物上での左右のバランスを余白圧縮処理後においても保つ
ことができる。
If it is determined in step S6 that printing is possible by the margin compression process, a margin setting process for printing in the fixed length mode is performed (step S7). In other words, the CPU 78 adjusts the variable blank area VB shown in FIG. 5 according to the conversion amount converted in step S6, that is, the difference between the value of the print length PL and the value of the constant length DL. A blank compression process is performed in which the BD is compressed, the fixed length DL is enlarged, and a corrected print area is newly set. For example, in the case of FIG. 6, the margin area BD set in the margin mode is set by being divided at both ends of the constant length DL. In such a case, for example, in the margin compression process, the divided margin area BD can be compressed uniformly. FIG. 8A is an example of a printed matter printed according to the margin compression process. When the margin area BD is uniformly compressed, the fixed length DL
Is expanded to form the modified print area DDL, the variable blank area VB shown in FIG. 5 is compressed by half of the required compression amount. If it is determined in step S4 that the margin compression process is unnecessary and the printing process is performed with the default margin value automatically set (step S5), the constant length DL area conversion process is not performed. The printing shown in FIG. 8B is performed. Here, when the margin compression is not performed as shown in FIG. 8B, the respective margin areas BD are in a state where the left and right are balanced. On the other hand, FIG.
Even in such a case, the left and right balance on the printed matter of the blank area BD before the blank compression process can be maintained even after the blank compression process by uniformly compressing the divided blank area BD.

ステップS6において、余白圧縮処理を行っても定長モードでの印刷は不可能であると
判断された場合には、定長オーバー処理を行う(ステップS8)。つまり、CPU78は
、定長モードを解除して、例えば通常の印刷を行わせる。尚、この場合、例えば、図9の
ように、表示画面36上に「字余り」等の表示を行い、印刷を行う前に予め定長モードで
の印刷は不可能である旨の表示を行うことも可能である。
If it is determined in step S6 that printing in the fixed length mode is not possible even if the margin compression process is performed, a fixed length over process is performed (step S8). That is, the CPU 78 cancels the fixed length mode and performs normal printing, for example. In this case, for example, as shown in FIG. 9, “remaining character” or the like is displayed on the display screen 36, and a display indicating that printing in the fixed length mode is impossible before printing is performed. Is also possible.

以上、本実施形態について説明を行ったが、以上は本願に係る発明の一例であり、この
他にも種々の実施形態が考えられる。例えば、本実施形態では、印刷装置としてテープ上
の印刷部材を用いたテープ印刷装置を用いているが、印刷装置は、これに限らず、例えば
、ラベル型の印刷部材や通常の印刷用紙に印刷を行う種々の印刷装置に対しても利用可能
である。
Although the present embodiment has been described above, the above is an example of the invention according to the present application, and various other embodiments can be considered. For example, in the present embodiment, a tape printing apparatus using a printing member on a tape is used as a printing apparatus. However, the printing apparatus is not limited to this, and for example, prints on a label-type printing member or normal printing paper. It can also be used for various printing apparatuses that perform the above.

また、定長モードや余白モードの設定の仕方についても、種々のものが可能であり、例
えば、余白領域については、その設定場所を定長印刷領域の両端に分割するものに限らず
、どちらか一方の端部に偏ったものであってもよく(例えば右側のみに可変な余白領域を
設ける等)、また、このような余白領域の設定場所を印刷前に設定できるモード設定があ
ってもよい。
There are various ways to set the fixed length mode and the margin mode. For example, the margin area is not limited to dividing the setting location at both ends of the fixed length printing area. It may be biased toward one end (for example, a variable margin area is provided only on the right side), and there may be a mode setting in which such a margin area setting location can be set before printing. .

〔第2実施形態〕
第1実施形態においては、モード設定において、定長モードと余白モードとを有し、余
白圧縮処理するものについて説明したが、本実施形態では、さらに、キャラクタのサイズ
変更処理が可能な印刷装置について説明する。
[Second Embodiment]
In the first embodiment, the mode setting has the constant length mode and the margin mode, and the margin compression process has been described. However, in the present embodiment, a printing apparatus capable of a character size change process is further described. explain.

図10は、本実施形態に係るテープ印刷装置での余白圧縮処理について説明するための
フローチャートである。尚、本実施形態では、余白圧縮処理において、さらにキャラクタ
のサイズ変更処理が可能となる点を除いては、第1実施形態と同様であり、テープ印刷装
置の外観等において差はないので、テープ印刷装置の図示及び説明を省略する。また、本
実施形態におけるキャラクタのサイズ変更処理は、図3のCPU78により行われるもの
とする。
FIG. 10 is a flowchart for explaining margin compression processing in the tape printer according to the present embodiment. The present embodiment is the same as the first embodiment except that the character size changing process can be further performed in the blank space compression process, and there is no difference in the appearance of the tape printing apparatus. The illustration and description of the printing apparatus are omitted. Further, the character size changing process in this embodiment is performed by the CPU 78 of FIG.

第1実施形態の場合と同様に、入力操作が完了し、ユーザが機能キー群32等を操作し
て印刷処理のための操作指示がなされると、図3の制御処理部77は、余白モードにおい
て可変余白モードが設定されているか否かについての判断を行い(ステップS101)、
余白が固定されたモードであると判断した場合には、固定余白設定処理がなされ(ステッ
プS102)、ステップS101において、可変余白モード設定がなされていると判断さ
れた場合、印刷長PLの換算処理を行う(ステップS103)。さらに、CPU78にお
いて、印刷長が定長を越えた否かの判断が行われ(ステップS104)、印刷長の値が定
長の値を越えていないと判断された場合には、余白圧縮処理は行われず、余白は自動で設
定されたデフォルト値のままで印刷処理が行われる(ステップS105)。
As in the case of the first embodiment, when the input operation is completed and the user operates the function key group 32 or the like to give an operation instruction for print processing, the control processing unit 77 in FIG. In step S101, a determination is made as to whether or not the variable margin mode is set.
If it is determined that the margin is a fixed mode, a fixed margin setting process is performed (step S102). If it is determined in step S101 that the variable margin mode is set, a conversion process for the printing length PL is performed. Is performed (step S103). Further, the CPU 78 determines whether or not the print length exceeds the fixed length (step S104). If it is determined that the print length value does not exceed the fixed length value, the margin compression process is performed. Printing is performed with the default margin set automatically, without being performed (step S105).

一方、ステップS104において、印刷長の値が定長の値以上であると判断された場合
、さらに、余白圧縮処理により定長モードでの印刷が可能であるかを判断する(ステップ
S106)。つまり、印刷長のオーバー分が許容限界である定長可変以下であれば余白圧
縮処理により印刷が可能であると判断する。
On the other hand, if it is determined in step S104 that the print length value is equal to or greater than the fixed length value, it is further determined whether printing in the fixed length mode is possible by the margin compression process (step S106). In other words, if the overprint length is less than the constant length variable that is the allowable limit, it is determined that printing is possible by the margin compression process.

ステップS106において、余白圧縮処理により印刷が可能であると判断された場合は
、定長モードでの印刷を行うための余白設定処理がなされ(ステップS107)、CPU
78が、余白領域を圧縮し、定長を拡大して新たに修正印刷領域の設定をする余白圧縮処
理を行う。
If it is determined in step S106 that printing is possible by the margin compression process, a margin setting process for printing in the fixed length mode is performed (step S107), and the CPU
78, compresses the margin area, enlarges the fixed length, and newly performs a margin compression process for setting a corrected print area.

一方、ステップS106において、余白圧縮処理により印刷が可能でないと判断された
場合は、CPU78により、余白圧縮処理に加え、さらにキャラクタのフォントサイズ変
更を行うことにより定長モードでの印刷が可能であるかを判断する(ステップS108)
。より具体的には、キャラクタを認識可能なフォントサイズの下限を予め定めておき、当
該下限を限度として当該キャラクタのフォントを小さくするフォントサイズ変更処理を行
う。CPU78は、このサイズ変更処理により、定長モードでの印刷が可能であるかを判
断する。
On the other hand, if it is determined in step S106 that printing cannot be performed by the margin compression process, the CPU 78 can perform printing in the fixed length mode by changing the font size of the character in addition to the margin compression process. (Step S108)
. More specifically, a lower limit of the font size capable of recognizing the character is determined in advance, and a font size changing process for reducing the font of the character with the lower limit as a limit is performed. The CPU 78 determines whether printing in the fixed length mode is possible by this size changing process.

ステップS108において、フォントサイズ変更処理により定長モードでの印刷が可能
であると判断されると、CPU78は、新たに定められた修正印刷領域サイズ及び変更さ
れたキャラクタのフォントサイズでの設定による印刷処理を行う(ステップS109)。
When it is determined in step S108 that printing in the fixed length mode is possible by the font size changing process, the CPU 78 performs printing by setting the newly set corrected print area size and the changed font size of the character. Processing is performed (step S109).

一方、ステップS108において、フォントサイズ変更処理によっても定長モードでの
印刷が可能でないと判断された場合には、定長オーバー処理を行う(ステップS110)
On the other hand, if it is determined in step S108 that printing in the fixed length mode is not possible even by the font size changing process, the fixed length over process is performed (step S110).
.

図11は、本実施形態に係る余白圧縮処理についての他の一例について説明するための
フローチャートである。図10に示した例では、CPU78は、余白圧縮処理をキャラク
タのフォントサイズ変更処理に優先して行っているが、図11での余白圧縮処理では、C
PU78は、キャラクタのフォントサイズ変更処理を余白圧縮処理に優先して行う。尚、
図11におけるステップS201からステップS205までについては、図10のステッ
プS101からステップS105までと同様であるから説明を省略する。
FIG. 11 is a flowchart for explaining another example of the margin compression processing according to the present embodiment. In the example shown in FIG. 10, the CPU 78 performs the margin compression process in preference to the character font size change process, but in the margin compression process in FIG.
The PU 78 performs character font size change processing in preference to margin compression processing. still,
Steps S201 to S205 in FIG. 11 are the same as steps S101 to S105 in FIG.

図11での余白圧縮処理では、ステップS204において、印刷長の値が定長の値以上
であると判断された場合、まず、サイズ変更処理により、定長モードでの印刷が可能であ
るか否かを判断し(ステップS206)、定長モードでの印刷が可能であると判断すると
変更されたキャラクタのフォントサイズでの設定による印刷処理を行う(ステップS20
7)。
In the margin compression process in FIG. 11, if it is determined in step S204 that the print length value is equal to or greater than the fixed length value, first, whether or not printing in the fixed length mode is possible by the size change process. Is determined (step S206), and if it is determined that printing in the fixed length mode is possible, the printing process is performed by setting the changed font size of the character (step S20).
7).

一方、ステップS204において、サイズ変更処理により印刷が可能でないと判断され
た場合には、さらに余白圧縮処理により定長モードでの印刷が可能であるか否かを判断し
(ステップS208)、余白圧縮処理により定長モードでの印刷が可能であると判断され
ると、新たに定められた変更されたキャラクタのフォントサイズ及び修正印刷領域サイズ
での設定による印刷処理がなされ(ステップS209)、余白圧縮処理によっても定長モ
ードでの印刷が可能でないと判断された場合には、定長オーバー処理を行う(ステップS
210)。
On the other hand, if it is determined in step S204 that printing is not possible due to the size changing process, it is further determined whether printing in the fixed length mode is possible due to the blank compression process (step S208). If it is determined by the processing that printing in the fixed length mode is possible, printing processing is performed by setting the font size and modified print area size of the newly determined character (step S209), and margin compression If it is determined that printing in the fixed length mode is not possible even by the processing, the fixed length over processing is performed (step S).
210).

以上のように、本実施形態では、CPU78によりキャラクタのサイズ変更処理が可能
であることにより、定長モードでの余白調整での調整の幅をさらに拡げることができる。
As described above, in the present embodiment, since the CPU 78 can perform the character size changing process, the range of adjustment in the margin adjustment in the constant length mode can be further expanded.

尚、本実施形態においても、上述のものに限らず、種々の実施形態が考えられる。例え
ば、本実施形態では、印刷装置としてテープ上の印刷部材を用いたテープ印刷装置を用い
ているが、印刷装置は、これに限らず、例えば、ラベル型の印刷部材や通常の印刷用紙に
印刷を行う種々の印刷装置に対しても利用可能である。また、定長モード等の各種モード
の設定において、例えば、上述のキャラクタのフォントサイズ変更処理と余白圧縮処理の
適用の優先順位を選べるようにすることも可能である。
Also in the present embodiment, various embodiments are possible without being limited to those described above. For example, in the present embodiment, a tape printing apparatus using a printing member on a tape is used as a printing apparatus. However, the printing apparatus is not limited to this, and for example, prints on a label-type printing member or normal printing paper. It can also be used for various printing apparatuses that perform the above. In setting various modes such as the fixed length mode, for example, it is possible to select the priority order of the above-described character font size change processing and margin compression processing.

第1実施形態に係るテープ印刷装置の外観斜視図である。1 is an external perspective view of a tape printer according to a first embodiment. (a)は、図1のテープ印刷装置の開蓋状態を示す外観斜視図であり、(b)は、テープ印刷装置に装填されるテープカートリッジを示す外観斜視図である。(A) is an external appearance perspective view which shows the open state of the tape printer of FIG. 1, (b) is an external perspective view which shows the tape cartridge with which a tape printer is loaded. 図1のテープ印刷装置の制御系のブロック図である。FIG. 2 is a block diagram of a control system of the tape printer of FIG. 1. 図1のデータ記憶部について説明するための図である。It is a figure for demonstrating the data storage part of FIG. (a)〜(c)は、テープ印刷装置の操作を説明する図である。(A)-(c) is a figure explaining operation of a tape printer. テープ上での領域の割付の一例を示す図である。It is a figure which shows an example of allocation of the area | region on a tape. 図1のテープ印刷装置の動作を説明するための図である。It is a figure for demonstrating operation | movement of the tape printer of FIG. (a)、(b)は、キャラクタの印刷例を示す図である。(A), (b) is a figure which shows the example of printing of a character. 定長モード解除を行う旨の表示を示す図である。It is a figure which shows the display to perform fixed length mode cancellation | release. 第2実施形態に係る余白圧縮処理について説明する図である。It is a figure explaining the margin compression process which concerns on 2nd Embodiment. 第2実施形態に係る余白圧縮処理の他の例について説明する図である。It is a figure explaining the other example of the margin compression process which concerns on 2nd Embodiment.

符号の説明Explanation of symbols

10…テープ印刷装置、 20…装置ケース、 21…上側ケース、 22…下側ケー
ス、 33…キーボード、 34…ディスプレイ、 36…表示画面、 42…ヘッドユ
ニット、 42a…印刷ヘッド、 44…テープ排出口、 45…テープカッタ、 77
…制御処理部、 78a…領域限界判断部、 78b…圧縮量換算処理部、 78c…領
域変換処理部、 78d…キャラクタ処理部、DL…定長、 BD…余白領域、 VB…
可変余白領域、 MB…最小余白領域、 C…テープカートリッジ、 R…インクリボン
、 T…テープ
DESCRIPTION OF SYMBOLS 10 ... Tape printer, 20 ... Apparatus case, 21 ... Upper case, 22 ... Lower case, 33 ... Keyboard, 34 ... Display, 36 ... Display screen, 42 ... Head unit, 42a ... Print head, 44 ... Tape discharge port 45 ... tape cutter, 77
... Control processing section, 78a ... Area limit judgment section, 78b ... Compression amount conversion processing section, 78c ... Area conversion processing section, 78d ... Character processing section, DL ... Constant length, BD ... Blank area, VB ...
Variable margin area, MB ... Minimum margin area, C ... Tape cartridge, R ... Ink ribbon, T ... Tape

Claims (7)

印刷部材に印刷されるべきキャラクタについてのデータを保持するデータ記憶部と、
前記印刷部材上に前記キャラクタの印刷を行うための定長印刷領域が指定される定長モ
ードと、前記印刷部材上の余白領域が指定される余白モードとを設定するモード設定手段
と、
前記モード設定手段によって前記定長モードと前記余白モードとが設定されるとともに
、前記余白モードの設定において前記余白領域が印刷可能な可変余白領域を含む可変余白
モードが付加的に設定されている場合に、前記キャラクタを印刷するために必要なキャラ
クタ印字領域が前記定長印刷領域を越えたか否かを判断する領域限界判断部と、
前記領域限界判断部により前記キャラクタ印字領域が前記定長印刷領域を越えたと判断
された場合に、前記キャラクタ印字領域の確保に必要となる前記余白領域の圧縮量を算出
する圧縮量換算処理部と、
前記圧縮量換算処理部により算出された前記圧縮量を参照して前記余白領域を設定する
余白圧縮処理によって、前記定長印刷領域を増加させた修正印刷領域を設定する領域変換
処理部と、
前記領域変換処理部で設定された前記修正印刷領域に基づいて前記印刷部材に印刷され
る前記キャラクタの位置設定を行うキャラクタ処理部と、
前記印刷部材上に前記修正印刷領域に基づく前記キャラクタの位置設定に対応して印刷
を行う印刷手段と
を備える印刷装置。
A data storage unit for holding data about the character to be printed on the printing member;
Mode setting means for setting a fixed length mode in which a fixed length printing area for printing the character on the printing member is designated, and a margin mode in which a margin area on the printing member is designated;
When the fixed length mode and the margin mode are set by the mode setting means, and a variable margin mode including a variable margin area in which the margin area can be printed is additionally set in the margin mode setting. An area limit determination unit for determining whether a character print area necessary for printing the character exceeds the fixed-length print area;
A compression amount conversion processing unit that calculates a compression amount of the margin area necessary for securing the character print region when the region limit determination unit determines that the character print region exceeds the fixed-length print region; ,
An area conversion processing unit that sets a modified print region in which the fixed-length print region is increased by a margin compression process that sets the margin region with reference to the compression amount calculated by the compression amount conversion processing unit;
A character processing unit for setting the position of the character to be printed on the printing member based on the modified printing region set by the region conversion processing unit;
A printing apparatus comprising: a printing unit configured to perform printing corresponding to the character position setting based on the modified printing area on the printing member.
前記圧縮量換算処理部は、前記キャラクタ印字領域と前記定長印刷領域との差から前記
圧縮量を算出する請求項1記載の印刷装置。
The printing apparatus according to claim 1, wherein the compression amount conversion processing unit calculates the compression amount from a difference between the character print region and the fixed-length print region.
前記領域変換処理部は、前記余白圧縮処理において、前記余白モードで設定された前記
余白領域を前記定長印刷領域の両端に分割して設定し、分割された前記余白領域を均等に
圧縮する請求項2記載の印刷装置。
The region conversion processing unit divides and sets the margin region set in the margin mode at both ends of the fixed-length print region in the margin compression processing, and compresses the divided margin region evenly. Item 3. The printing apparatus according to Item 2.
前記領域変換処理部は、前記キャラクタのサイズ変更処理を行う請求項1から請求項3
のいずれか一項記載の印刷装置。
The said area | region conversion process part performs the size change process of the said character.
The printing apparatus as described in any one of.
前記領域変換処理部は、前記余白圧縮処理を前記サイズ変更処理に優先して行う請求項
4記載の印刷装置。
The printing apparatus according to claim 4, wherein the area conversion processing unit performs the margin compression processing in preference to the size changing processing.
前記領域変換処理部は、前記サイズ変更処理を前記余白圧縮処理に優先して行う請求項
4記載の印刷装置。
The printing apparatus according to claim 4, wherein the area conversion processing unit performs the size changing process in preference to the margin compression process.
請求項1から請求項6のいずれか一項記載の印刷装置を備え、
前記印刷手段は、前記印刷部材としてテープ状部材に印刷を行うテープ印刷装置。
A printing apparatus according to any one of claims 1 to 6, comprising:
The said printing means is a tape printer which prints on a tape-shaped member as said printing member.
JP2006343898A 2006-12-21 2006-12-21 Printer and tape printer Pending JP2008155388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006343898A JP2008155388A (en) 2006-12-21 2006-12-21 Printer and tape printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006343898A JP2008155388A (en) 2006-12-21 2006-12-21 Printer and tape printer

Publications (1)

Publication Number Publication Date
JP2008155388A true JP2008155388A (en) 2008-07-10

Family

ID=39656856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006343898A Pending JP2008155388A (en) 2006-12-21 2006-12-21 Printer and tape printer

Country Status (1)

Country Link
JP (1) JP2008155388A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102205732A (en) * 2010-03-26 2011-10-05 精工爱普生株式会社 Tape printer, method for controlling tape printer
JP2016117256A (en) * 2014-12-22 2016-06-30 ブラザー工業株式会社 Data processor, printer and data processing program
US11034162B2 (en) 2018-03-30 2021-06-15 Brother Kogyo Kabushiki Kaisha Printing apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000158718A (en) * 1998-11-27 2000-06-13 Seiko Epson Corp Tape-printing apparatus and its control method
JP2003109020A (en) * 2001-09-27 2003-04-11 Brother Ind Ltd Device for editing data string, and program
JP2005212334A (en) * 2004-01-30 2005-08-11 Brother Ind Ltd Tape printing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000158718A (en) * 1998-11-27 2000-06-13 Seiko Epson Corp Tape-printing apparatus and its control method
JP2003109020A (en) * 2001-09-27 2003-04-11 Brother Ind Ltd Device for editing data string, and program
JP2005212334A (en) * 2004-01-30 2005-08-11 Brother Ind Ltd Tape printing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102205732A (en) * 2010-03-26 2011-10-05 精工爱普生株式会社 Tape printer, method for controlling tape printer
JP2016117256A (en) * 2014-12-22 2016-06-30 ブラザー工業株式会社 Data processor, printer and data processing program
US11034162B2 (en) 2018-03-30 2021-06-15 Brother Kogyo Kabushiki Kaisha Printing apparatus

Similar Documents

Publication Publication Date Title
US8082495B2 (en) Label creating apparatus and program
US8368943B2 (en) Image creating apparatus and printing apparatus provided therewith
US5651619A (en) Tape printing device with display
US6109798A (en) Tape printing device
US7978363B2 (en) Printing apparatus and printing method
JP4830527B2 (en) Printing apparatus, printing method, and program
JP4808559B2 (en) Tape printing apparatus and tape printing program
WO1996016812A1 (en) Tape printer
JP2010523367A (en) Tape printer
JP2007038588A (en) Data processor, data processing method, and program
JP4475279B2 (en) Printing apparatus and tape printing apparatus
US6793422B2 (en) Printing apparatus for printing characters on a tape in a size determined by tape use
JP7130948B2 (en) ELECTRONIC DEVICE, PRINTING SUPPORT METHOD AND PROGRAM
US8928916B2 (en) Display device, portable terminal, control method for display device, and program product
US20080181702A1 (en) Tape printing apparatus and computer-readable recording medium storing tape print program
JP2008155388A (en) Printer and tape printer
JP2007253546A (en) Printer
JPH10157255A (en) Image-forming apparatus
KR19980041951A (en) Character Information Processing Device
JP2009048480A (en) Text processor, tape printer, text processing method and program
JP2007216570A (en) Printer
EP1607226B1 (en) Printing controller and printing control program
JP4506230B2 (en) Tape printer
JP2007196549A (en) Tape printer
JP4470526B2 (en) Character string display device, program, and character string display method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120419

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120522