JP3463268B2 - Printed data development device - Google Patents

Printed data development device

Info

Publication number
JP3463268B2
JP3463268B2 JP32957293A JP32957293A JP3463268B2 JP 3463268 B2 JP3463268 B2 JP 3463268B2 JP 32957293 A JP32957293 A JP 32957293A JP 32957293 A JP32957293 A JP 32957293A JP 3463268 B2 JP3463268 B2 JP 3463268B2
Authority
JP
Japan
Prior art keywords
print
data
line
size
unit
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
JP32957293A
Other languages
Japanese (ja)
Other versions
JPH07156498A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP32957293A priority Critical patent/JP3463268B2/en
Priority to US08/332,582 priority patent/US5562353A/en
Priority to MYPI94002920A priority patent/MY112577A/en
Priority to DE69431095T priority patent/DE69431095T2/en
Priority to TW083110080A priority patent/TW275680B/en
Priority to CN94118130A priority patent/CN1085867C/en
Priority to EP94117284A priority patent/EP0650841B1/en
Publication of JPH07156498A publication Critical patent/JPH07156498A/en
Priority to HK98114717A priority patent/HK1013409A1/en
Application granted granted Critical
Publication of JP3463268B2 publication Critical patent/JP3463268B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はラベルプリンタ、ファ
クシミリ等の印刷装置に適用して有用な被印刷データ展
開装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print data developing device useful when applied to a printing device such as a label printer or a facsimile.

【0002】[0002]

【従来の技術】ビデオテープ、カセットテープ、フロッ
ピーデスク、名札、備品等の定型ラベルを作成するラベ
ルプリンタが知られている。従来のラベルプリンタにお
いては、通常、操作者は、文字を入力すると共に、ラベ
ルの長さ、ラベルの幅、縦書/横書の別、ブロック単位
の書式、文字サイズ等のフォーマットの設定を逐一行っ
てから印刷を行っている。
2. Description of the Related Art Label printers for producing standard labels such as video tapes, cassette tapes, floppy desks, name tags, and equipment are known. In a conventional label printer, an operator usually inputs characters and sets format of label length, label width, vertical / horizontal writing, block unit format, character size, etc. one by one. After that, I print.

【0003】[0003]

【発明が解決しようとする課題】しかし、上述のような
フォーマットの設定はそれ自体かなり煩雑である。そこ
で、フォーマットの設定をせずに印刷を行うと、デフォ
ルト或いは以前の印刷の際に設定されたフォーマットに
従って文字が印刷される。このため、ラベルテープに複
数行の文字を印刷する場合、例えば、図4(D)に示す
ように、各行の文字数が大きく異なり、印刷後のバラン
スが悪くなる場合があるという問題があった。結局、適
切な印刷を行うためには、使用者は、ラベルテープの幅
や印刷行数を考慮してフォーマットを設定しなければな
らなかった。
However, setting the format as described above is quite complicated in itself. Therefore, when printing is performed without setting the format, the characters are printed according to the format set in the default printing or the previous printing. Therefore, the label tape may
When printing several lines of characters, for example, as shown in FIG.
The number of characters in each line is significantly different, and the balun after printing
There was a problem that the performance could become worse. After all, suitable
To make a sharp print, the user must set the width of the label tape.
Format must be set in consideration of
I didn't.

【0004】この発明は上記実状に鑑みてなされたもの
で、複数行の被印刷データ(文字等)を被印刷媒体上に
バランス良く印刷するための被印刷データ展開装置を提
供することを目的とする。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a print data expansion device for printing print data (characters or the like) of a plurality of lines on a print medium in a well-balanced manner. To do.

【0005】[0005]

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、この発明の被印刷データ展開装置は、複数の文字
からなる被印刷データを入力する入力手段と、被印刷媒
体のサイズを検出するサイズ検出手段と、前記入力手段
により入力された被印刷データの行数を検出する行数検
出手段と、前記入力手段により入力された被印刷データ
の各行のデータの長さを判断する長さ判断手段と、前記
長さ判断手段で判断された被印刷データの各行のデータ
のうち最も長い行のデータの長さと最も短い行のデータ
の長さとの比率を演算する演算手段と、前記演算手段で
演算された比率が所定の範囲内にあるか否か判断する比
率判断手段と、 前記演算手段で演算された比率が所定の
範囲内にあると前記比率判断手段で判断されたときに、
前記サイズ検出手段により検出された被印刷媒体のサイ
ズ、前記行数検出手段により検出された被印刷データの
行数及び前記演算手段により演算された比率に応じて、
前記複数行の被印刷データの印刷後の長さが同一又は近
似するように、前記最もデータの長い行の文字の印刷サ
イズが前記最もデータの短い行の文字の印刷サイズより
小さいサイズとなる関係に決めて前記被印刷データを展
開する展開手段とを備えることを特徴とする。
In order to achieve the above object, the print data developing device of the present invention detects the size of the print medium and the input means for inputting the print data consisting of a plurality of lines of characters. Size detection means, line number detection means for detecting the number of lines of the print data input by the input means, and length determination for determining the data length of each line of the print data input by the input means Means for calculating the ratio between the data length of the longest line and the data length of the shortest line of the data of each line of the print data determined by the length determination means, and the calculation means.
Ratio to judge whether the calculated ratio is within the specified range
The rate judgment means and the ratio calculated by the calculation means are set to a predetermined value.
When it is judged by the ratio judging means that it is within the range,
According to the size of the print medium detected by the size detecting unit, the number of lines of the print data detected by the line number detecting unit, and the ratio calculated by the calculating unit,
Said plurality length after printing of the printing data of the row so that the same or similar, the most data long line of characters printed in
The size is larger than the print size of the characters on the line with the shortest data.
It is characterized in that it is provided with a developing means for developing the print target data by determining a relationship of a small size.

【0007】展開されたパターンを印刷する手段を設け
てもよい。前記被印刷媒体は、例えばラベル印刷用のラ
ベルテープであり、前記検出部は前記ラベルテープの幅
を検出する。
Means may be provided for printing the developed pattern. The print medium is, for example, a label tape for label printing, and the detection unit detects the width of the label tape.

【0008】[0008]

【作用】上記構成の被印刷データ展開装置によれば、
数行の被印刷データの各行のデータのうち最も長い行の
データの長さと最も短い行のデータの長さとの比率を演
算手段で演算し、その比率が所定の範囲内にあると判断
手段で判断されたときに、サイズ検出手段により検出さ
れた被印刷媒体のサイズ、行数検出手段により検出され
た被印刷データの行数及び演算手段により演算された最
も長い行のデータと最も短い行のデータの長さの比率に
応じて、複数行の被印刷データの印刷後の長さが同一又
は近似するように、その最も長い行の文字の印刷サイズ
最も短い行の文字の印刷サイズより小さいサイズとな
る関係に決めて被印刷データをドットパターン等に展開
するので、複数行の被印刷データの印刷時の長さを調整
し、比較的均一な長さの印刷が可能となる。また、長さ
の調整を行う際、被印刷媒体のサイズも考慮するので、
展開後のデータがそのサイズの被印刷媒体に印刷できな
いといった事態も防止できる。
According to the print data expansion device having the above-described structure, it is possible to obtain multiple data.
The longest line of the data of each line of several lines of print data
Plays the ratio of the data length to the data length of the shortest line
Calculated by calculation means and determined that the ratio is within the specified range
When it is determined by a means, the size the size of the printing medium detected by the detecting means, most <br/> longer lines calculated by the number of lines and the arithmetic means of the print data detected by the line number detecting means The print size of the character of the longest line so that the printed lengths of multiple lines of printed data are the same or similar according to the ratio of the length of the data of
I but the print size smaller than the size of the shortest line of character
Since the print target data is developed into a dot pattern or the like in accordance with the above relationship , it is possible to adjust the length of the print target data of a plurality of lines at the time of printing and to print with a relatively uniform length. Also, when adjusting the length, the size of the printing medium is also taken into consideration.
It is also possible to prevent a situation in which the expanded data cannot be printed on the print medium of that size.

【0009】[0009]

【実施例】以下、本発明の実施例を図面を参照して説明
する。 (第1実施例)まず、図1を参照してこの発明の第1実
施例にかかるラベルプリンタの構成を説明する。図1に
示すラベルプリンタは、制御部11、キー入力部13、
表示制御部15、表示部17、印刷制御部19、印刷部
21、データ記憶部23、テープ幅検出部25、行数判
断部27、データ長さ判断部29(第2実施例でのみ使
用)を備える。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) First, the construction of a label printer according to the first embodiment of the present invention will be described with reference to FIG. The label printer shown in FIG. 1 includes a control unit 11, a key input unit 13,
Display control unit 15, display unit 17, print control unit 19, printing unit 21, data storage unit 23, tape width detection unit 25, line number determination unit 27, data length determination unit 29 (used only in the second embodiment). Equipped with.

【0010】制御部11は、マイクロプロセッサとその
周辺回路、内部メモリ、キャラクタジェネレータ等から
構成され、このラベルプリンタ全体の動作を制御する。
キー入力部13は、キーボード、キーボードインタフェ
ース等を備え、制御部11に入力データを供給する。キ
ーボードは、文字キー、仮名漢字変換キー、カーソルキ
ー、リターンキー、印刷を指示する印刷キー、作成した
データを保存するための保存キー等を備える。表示制御
部15は制御部11の制御下に表示部17を制御する。
表示部17は、例えば、ドットマトリクスタイプの液晶
表示装置から構成され、データ、メニュー等を表示す
る。
The control unit 11 is composed of a microprocessor and its peripheral circuits, an internal memory, a character generator, etc., and controls the operation of the entire label printer.
The key input unit 13 includes a keyboard, a keyboard interface, etc., and supplies input data to the control unit 11. The keyboard includes a character key, a kana-kanji conversion key, a cursor key, a return key, a print key for instructing printing, a save key for saving created data, and the like. The display control unit 15 controls the display unit 17 under the control of the control unit 11.
The display unit 17 is composed of, for example, a dot matrix type liquid crystal display device, and displays data, menus and the like.

【0011】印刷制御部19は、制御部11の制御下に
印刷部21を制御する。印刷部21は、サーマルヘッド
とテープ及びインクリボン駆動部を備え、印刷制御部1
9の制御下にサーマルヘッドの各発熱素子(ドット)の
通電時間を制御し、被印刷媒体であるラベルテープとイ
ンクリボンを駆動し、印刷を行う。
The print controller 19 controls the printer 21 under the control of the controller 11. The printing unit 21 includes a thermal head, a tape, and an ink ribbon drive unit, and the print control unit 1
Under the control of 9, the energization time of each heating element (dot) of the thermal head is controlled, and the label tape and the ink ribbon, which are print media, are driven to perform printing.

【0012】データ記憶部23は、制御部11のワーク
エリアとして機能する領域、図2を参照して後述する印
刷サイズテーブルを記憶する領域等を有する。テープ幅
検出部25は、図9及び図10に示すように、ラベルプ
リンタ本体145に装着されたテープカートリッジ14
3に収納されたラベルテープ141(被印刷媒体)の幅
LBを検出する。この実施例では、6mm、9mm、12m
m、18mm、24mm幅のラベルテープ141を収納した
テープカートリッジ143をラベルプリンタ本体145
に装着して使用できるものとし、テープ幅検出部25
は、装着されたテープカートリッジ143の種類を検出
し、この検出結果に応じて、そのテープカートリッジ1
43内に収納されているラベルテープ141の幅LBを
自動的に判別する。なお、ラベルテープ141の幅LB
を検出する機構の具体的な構成は後述する。
The data storage unit 23 has an area that functions as a work area for the control unit 11, an area that stores a print size table, which will be described later with reference to FIG. As shown in FIGS. 9 and 10, the tape width detection unit 25 includes the tape cartridge 14 mounted in the label printer body 145.
The width LB of the label tape 141 (printing medium) housed in No. 3 is detected. In this embodiment, 6 mm, 9 mm, 12 m
The tape cartridge 143 accommodating the label tape 141 of m, 18 mm, and 24 mm width is attached to the label printer main body 145.
Tape width detector 25
Detects the type of the mounted tape cartridge 143, and according to the detection result, the tape cartridge 1
The width LB of the label tape 141 accommodated in 43 is automatically determined. The width LB of the label tape 141
The specific configuration of the mechanism for detecting is described later.

【0013】行数判断部27は、データ記憶部23に記
憶された被印刷データの行数を検出する。行数は、例え
ば、被印刷データに含まれる改行(キャリッジリター
ン)コードの数に1を加えることにより求めることがで
きる。データ長さ判断部29は、第2実施例においての
み使用するもので、被印刷データの長さを行別に判断す
る。
The line number judgment unit 27 detects the number of lines of the print data stored in the data storage unit 23. The number of lines can be obtained, for example, by adding 1 to the number of line feed (carriage return) codes included in the print data. The data length determination unit 29 is used only in the second embodiment, and determines the length of the print data for each line.

【0014】図2は、データ記憶部23に記憶される印
刷サイズテーブルの一例を示す。図示するように、印刷
サイズテーブルは、ラベルテープ141の幅LBと被印
刷データの行数別に被印刷データの各文字のサイズを定
義する。なお、図2において、「A×A」は文字を基本
印刷サイズ(基本フォントのサイズ)の縦横A倍で印刷
することを意味し、「縮小」は文字を縮小サイズ(基本
フォントの約縦横0.7倍)で印刷することを意味す
る。
FIG. 2 shows an example of a print size table stored in the data storage unit 23. As shown in the figure, the print size table defines the size of each character of the print data according to the width LB of the label tape 141 and the number of lines of the print data. In FIG. 2, “A × A” means that a character is printed at A times the basic print size (size of the basic font), and “reduction” means that the character is reduced in size (about 0 in the vertical and horizontal directions of the basic font). .7 times).

【0015】図2の設定によれば、例えば、ラベルテー
プ141の幅LBが18mmで被印刷データの行数が1行
の場合には各文字が基本印刷サイズの縦横4倍で印刷さ
れ、行数が2行の場合には各文字が縦横2倍で印刷さ
れ、行数が3又は4行の場合には各文字が縦横1倍で印
刷され、行数が5〜8行の場合には各文字が縮小サイズ
で印刷される。また、行数が9行以上の場合には、印刷
ができないことになる。
According to the setting of FIG. 2, for example, when the width LB of the label tape 141 is 18 mm and the number of lines of the print data is one line, each character is printed four times as wide as the basic print size. When the number of lines is two, each character is printed twice as long and horizontally. When the number of lines is three or four, each character is printed as vertically and horizontally once, and when the number of lines is five to eight. Each character is printed in reduced size. If the number of lines is 9 or more, printing cannot be performed.

【0016】次に、上記構成のラベルプリンタで、ラベ
ルを作成する手順を図3のフローチャートを参照して説
明する。まず、使用者は、印刷したい文字列(被印刷デ
ータ)をキー入力部13を操作して入力する。文字の入
力の手順、仮名漢字変換の手順等は従来のラベルプリン
タと同一である。制御部11は入力された文字をキャラ
クタジェネレータを用いて表示文字パターンに変換し、
表示制御部15を介して表示部17に表示させると共に
データ記憶部23のワークエリアにストアする。
Next, a procedure for producing a label by the label printer having the above-mentioned configuration will be described with reference to the flowchart of FIG. First, the user operates the key input unit 13 to input a character string to be printed (printed data). The procedure of inputting characters, the procedure of converting kana to kanji, etc. are the same as those of the conventional label printer. The control unit 11 converts the input character into a display character pattern using a character generator,
The data is displayed on the display unit 17 via the display control unit 15 and stored in the work area of the data storage unit 23.

【0017】被印刷データの入力が終了すると、使用者
はキー入力部13の印刷キーを操作する。印刷キーの操
作に応答し、制御部11は図3のフローチャートに示す
処理を実行する。まず、制御部11は、テープ幅検出部
25から、装着されたテープカートリッジ143に収納
されたラベルテープ141の幅LBを読み込む(ステッ
プS1)。次に、ラベルテープ141の幅LBが「0」
か否か、即ち、テープカートリッジ143が装着されて
いないか否かを判別し(ステップS2),テープカート
リッジ143が装着されていない場合には、「テープカ
ートリッジを装着してください」等の警告を表示部15
に表示させ(ステップS3)、印刷処理を終了する。
When the input of the data to be printed is completed, the user operates the print key of the key input unit 13. In response to the operation of the print key, the control unit 11 executes the processing shown in the flowchart of FIG. First, the control unit 11 reads the width LB of the label tape 141 accommodated in the mounted tape cartridge 143 from the tape width detection unit 25 (step S1). Next, the width LB of the label tape 141 is "0".
It is determined whether or not the tape cartridge 143 is not installed (step S2), and if the tape cartridge 143 is not installed, a warning such as "Install tape cartridge" is displayed. Display unit 15
Is displayed (step S3), and the printing process ends.

【0018】ラベルテープ141の幅LBが0以外、即
ち、6、9、12、18、24mmの場合、制御部11は
行数判断部27から、被印刷データの行数を読み込む
(ステップS4)。制御部11は、読み込んだテープ幅
LBと行数に基づいて、データ記憶部23に設定されて
いる印刷サイズテーブルをアクセスし、各文字の印刷サ
イズを読み込む(ステップS5)。
When the width LB of the label tape 141 is other than 0, that is, 6, 9, 12, 18, 24 mm, the control section 11 reads the number of lines of the print data from the line number determination section 27 (step S4). . The control unit 11 accesses the print size table set in the data storage unit 23 based on the read tape width LB and the number of lines, and reads the print size of each character (step S5).

【0019】印刷サイズテーブルの該当位置に文字サイ
ズが設定されている場合、制御部11は、印刷可能と判
断し(ステップS6)、データ記憶部23に記憶されて
いる被印刷データをキャラクタジェネレータを用いて印
刷パターン(ドットパターン)に展開する。さらに、必
要に応じて、各文字を印刷サイズテーブルに設定された
サイズに拡大又は縮小し、展開した印刷パターンデータ
をデータ記憶部23のワークエリアに格納する(ステッ
プS7)。
When the character size is set at the corresponding position in the print size table, the control unit 11 determines that printing is possible (step S6), and the print data stored in the data storage unit 23 is set to the character generator. Use to develop into a print pattern (dot pattern). Further, if necessary, each character is enlarged or reduced to a size set in the print size table, and the expanded print pattern data is stored in the work area of the data storage unit 23 (step S7).

【0020】その後、制御部11はデータ記憶部23の
ワークエリアに記憶された印刷パターンデータを印刷ヘ
ッドの1ライン分づつ切り出し、印刷制御部19に供給
する。印刷制御部19は印刷部21を制御して該印刷パ
ターンデータを印刷する(ステップS8)。
After that, the control unit 11 cuts out the print pattern data stored in the work area of the data storage unit 23 for each line of the print head and supplies it to the print control unit 19. The print control unit 19 controls the print unit 21 to print the print pattern data (step S8).

【0021】一方、印刷サイズテーブルの該当位置に
「行数オーバー」が設定されていた場合、ステップS6
で印刷不可と判断され、「行数オーバーのため、印刷で
きません」等の警告表示を行い(ステップS9)、印刷
処理を終了する。使用者は、テープカートリッジ143
を幅の広いラベルテープ141用のものに取り替える或
いは印刷行数を修正する等して改めて印刷処理を行う。
On the other hand, if "over line number" is set at the corresponding position in the print size table, step S6 is performed.
It is determined that printing is not possible, and a warning message such as "Printing cannot be performed because the number of lines has exceeded" is displayed (step S9), and the printing process ends. The user uses the tape cartridge 143.
Is replaced with that for a wider label tape 141, or the number of printing lines is corrected, and the printing process is performed again.

【0022】例えば、「火気厳禁!」と被印刷データを
入力し、これを印刷する場合を考える。この場合、被印
刷データに改行コードが含まれていないため、1行であ
ることが判別でき、ラベルテープ141の幅LBが6mm
の場合には各文字が基本印刷サイズで印刷され、9mmの
場合には各文字が基本印刷サイズの縦横2倍で印刷さ
れ、12mmの場合には各文字が基本印刷サイズの縦横3
倍で印刷され、18mmの場合には図4(C)に示すよう
に各文字が基本印刷サイズの縦横4倍のサイズで印刷さ
れ、24mmの場合には各文字が基本印刷サイズの縦横5
倍で印刷される。
For example, let us consider a case where the print target data is input as "Strictly prohibit fire" and is printed. In this case, since the line feed code is not included in the print data, it can be determined that it is one line, and the width LB of the label tape 141 is 6 mm.
In the case of, each character is printed in the basic print size, in the case of 9 mm, each character is printed in twice the length and width of the basic print size, and in the case of 12 mm, each character is printed in the length and width of the basic print size.
In the case of 18 mm, each character is printed in a size that is four times the vertical and horizontal size of the basic print size as shown in FIG. 4C, and in the case of 24 mm, each character is 5 in the vertical and horizontal directions of the basic print size.
Printed in double.

【0023】同様に、例えば、「火気厳禁!(改行)煙
草は喫煙所でお願いします」と2行の被印刷データを入
力し、これを印刷する場合、被印刷データに改行コード
が1つ含まれているため、2行であることが判別でき、
ラベルテープ141の幅LBが6mmの場合には各文字が
縮小サイズで印刷され、ラベルテープ141の幅LBが
9又は12mmの場合には各文字が基本印刷サイズで印刷
され、18mmの場合には図4(D)に示すように各文字
が基本印刷サイズの縦横2倍のサイズで印刷され、24
mmの場合も縦横2倍のサイズで印刷される。
Similarly, for example, when inputting two lines of print data such as "Please refrain from burning! (Line feed) Please smoke at the smoking area", and print this, one line feed code is included in the print data. Since it is included, it can be determined that it is 2 lines,
When the width LB of the label tape 141 is 6 mm, each character is printed in a reduced size, when the width LB of the label tape 141 is 9 or 12 mm, each character is printed in the basic print size, and when it is 18 mm, As shown in FIG. 4D, each character is printed in a size that is twice the vertical and horizontal size of the basic print size.
Even in the case of mm, it is printed in twice the size in the vertical and horizontal directions.

【0024】即ち、各文字がラベルテープ141の幅L
Bと印刷行数に応じて、設定可能な最大のサイズで印刷
される。
That is, each character is the width L of the label tape 141.
Printing is performed with the maximum size that can be set according to B and the number of print lines.

【0025】図4(C)、(D)に示すように、この実
施例によれば、被印刷データがその行数とラベルテープ
141の幅LBに応じてラベルテープ141上にバラン
ス良く印刷される。また、使用者の意に反して、被印刷
データの一部がラベルテープ141の後方に印刷される
といった事態(図4(B)参照)を防止できる。さら
に、ラベルテープ141に被印刷データの全ての行を印
刷できる範囲で最大の文字サイズを自動的に設定するの
で明確な印刷が可能である。
As shown in FIGS. 4C and 4D, according to this embodiment, the print data is printed on the label tape 141 in a well-balanced manner according to the number of lines and the width LB of the label tape 141. It Further, it is possible to prevent a situation where a part of the print target data is printed behind the label tape 141 (see FIG. 4B) contrary to the intention of the user. Further, since the maximum character size is automatically set within the range in which all the lines of the print data can be printed on the label tape 141, clear printing is possible.

【0026】なお、この実施例において、例えば、図3
に示す処理を開始する前に、文字サイズの自動設定(図
3の処理)を選択するか、個別に設定するかを問い合わ
せる画面を表示部17に表示し、使用者の選択に応じて
図3の処理を開始するようにしてもよい。また、印刷パ
ターンを展開する前に、例えば、「各文字をA×Aのサ
イズで印刷します よろしいですか?」等の確認のメッ
セージを表示するようにしてもよい。
In this embodiment, for example, FIG.
Before the process shown in FIG. 3 is started, a screen for inquiring whether to automatically set the character size (process in FIG. 3) or to set the character size individually is displayed on the display unit 17, and according to the user's selection, the screen shown in FIG. The process of may be started. Before expanding the print pattern, a confirmation message such as "Are you sure you want to print each character in AxA size?" May be displayed.

【0027】(第2実施例)第1実施例では、ラベルテ
ープ141の幅LBと被印刷データの幅方向のバランス
を主に考慮して各文字のサイズを決定したが、この手法
では、印刷行数が複数行の場合に、図4(D)に示すよ
うに行毎の長さL1、L2が極端に異なってしまう場合
がある。そこで、第2実施例では、ラベルテープ141
の幅LBと被印刷データの行数だけでなく、被印刷デー
タの長さを考慮して各文字のサイズを決定する。
(Second Embodiment) In the first embodiment, the size of each character is determined by mainly considering the width LB of the label tape 141 and the balance of the print data in the width direction. When the number of lines is plural, the lengths L1 and L2 for each line may be extremely different as shown in FIG. 4 (D). Therefore, in the second embodiment, the label tape 141
The size of each character is determined in consideration of not only the width LB and the number of lines of the print data, but also the length of the print data.

【0028】この実施例にかかるラベルプリンタの構成
は図1に示す構成と同一である。なお、図1において、
データ長さ判断部29は被印刷データが複数行の場合に
各行の長さ(基本印刷サイズで印刷した時の印刷後の長
さ)を判別する。
The structure of the label printer according to this embodiment is the same as that shown in FIG. In addition, in FIG.
The data length determination unit 29 determines the length of each line (the length after printing when printing is performed in the basic print size) when the print target data is a plurality of lines.

【0029】次に、第2実施例にかかるラベルプリンタ
の動作を図4〜図7を参照して説明する。この実施例の
入力動作は第1実施例における入力動作と同一である。
被印刷データの入力が終了すると、使用者はキー入力部
13の印刷キーを操作する。このキー操作に応答し、制
御部11は図5のフローチャートに示す処理を開始す
る。
Next, the operation of the label printer according to the second embodiment will be described with reference to FIGS. The input operation of this embodiment is the same as the input operation of the first embodiment.
When the input of the print data is completed, the user operates the print key of the key input unit 13. In response to this key operation, the control unit 11 starts the process shown in the flowchart of FIG.

【0030】まず、制御部11はテープ幅検出部25か
らラベルテープ141の幅LBを読み込む(ステップT
1)。次に、読み込んだ幅LBが「0」か否かを判別し
(ステップT2)、幅LBが「0」の場合には第1実施
例と同様に警告を表示して(ステップT3)、印刷処理
を終了する。一方、幅LBが「0」以外の場合には、制
御部11は行数判断部27より行数を読み込む(ステッ
プT4)。次に、ラベルテープ141の幅LBと被印刷
データの行数を判別し(ステップT5)、その組み合わ
せに応じた印刷処理を実行する(ステップT6〜T
9)。
First, the controller 11 reads the width LB of the label tape 141 from the tape width detector 25 (step T).
1). Next, it is determined whether or not the read width LB is "0" (step T2). If the width LB is "0", a warning is displayed as in the first embodiment (step T3), and printing is performed. The process ends. On the other hand, when the width LB is other than "0", the control unit 11 reads the number of lines from the line number determination unit 27 (step T4). Next, the width LB of the label tape 141 and the number of lines of the print target data are determined (step T5), and the printing process according to the combination is executed (steps T6 to T).
9).

【0031】次に、ステップT6〜T9で実施される印
刷処理について図6〜図9を参照して説明する。まず、
ラベルテープ141の幅LBが24mm又は18mmで、被
印刷データの行数が2の場合、図6に示す処理を実行す
る。まず、制御部11はデータ長さ判断部29をアクセ
スし、被印刷データの第1行目と第2行目の長さ(基本
印刷サイズで印刷した際の長さ)を読み込み(ステップ
T11)、第1行目の長さを第2行目の長さで割って、
商Xを求める(ステップT12)。
Next, the printing process executed in steps T6 to T9 will be described with reference to FIGS. First,
When the width LB of the label tape 141 is 24 mm or 18 mm and the number of lines of the print data is 2, the process shown in FIG. 6 is executed. First, the control unit 11 accesses the data length determination unit 29 to read the lengths of the first line and the second line of the print data (the lengths when printed in the basic print size) (step T11). , Divide the length of the first line by the length of the second line,
The quotient X is obtained (step T12).

【0032】次に、商Xが図6に示す式(1)〜(4)
のいずれを満足するかをステップT13〜T16で判別
する。商Xが式(1)を満足する場合、即ち、第1行が
第2行の2.5倍以上の長さを有する場合、フローはス
テップT17に進み、第1行の各文字を1×1倍、第2
行の各文字を3×3倍に拡大して展開し、印刷する(ス
テップT22)。商Xが式(2)を満足する場合、即
ち、第1行が第2行の2.5倍未満かつ1.5倍以上の
長さを有する場合、フローはステップT18に進み、第
1行の各文字を1×1倍、第2行の各文字を2×2倍に
拡大して展開し、印刷する(ステップT22)。
Next, the quotient X is the equations (1) to (4) shown in FIG.
Which of the above is satisfied is determined in steps T13 to T16. If the quotient X satisfies equation (1), that is, if the first line has a length of 2.5 times the second line or more, the flow proceeds to step T17, where each character of the first line is 1 × 1st, 2nd
Each character on the line is expanded 3 × 3 times, developed, and printed (step T22). If the quotient X satisfies the equation (2), that is, if the first row has a length less than 2.5 times and more than 1.5 times the second row, the flow proceeds to step T18, where the first row Each character of 1 is enlarged 1 × 1 times, and each character of the second line is enlarged 2 × 2 times to be developed and printed (step T22).

【0033】商Xが式(3)を満足する場合、即ち、第
1行が第2行の1.5倍〜0.66倍の長さを有する場
合、フローはステップT19に進み、第1行と第2行の
各文字を2×2倍に拡大して展開し、印刷する(ステッ
プT22)。商Xが式(4)を満足する場合、即ち、第
1行が第2行の0.66倍未満かつ0.4倍より大きい
長さを有する場合、フローはステップT20に進み、第
1行の各文字を2×2倍、第2行の各文字を1×1倍に
拡大して展開し、印刷する(ステップT22)。
If the quotient X satisfies equation (3), that is, if the first row has a length 1.5 times to 0.66 times the second row, the flow proceeds to step T19, where the first Each character on the line and the second line is enlarged 2 × 2 times, developed, and printed (step T22). If the quotient X satisfies equation (4), ie the first row has a length less than 0.66 times and more than 0.4 times the second row, the flow proceeds to step T20, where the first row 2 × 2 times each character, and each character on the second line is magnified and expanded 1 × 1 times and printed (step T22).

【0034】商Xがいずれの式も満足しない場合、即
ち、第1行が第2行の0.4倍以下の長さを有する場
合、フローはステップT21に進み、第1行の各文字を
3×3倍、第2行の各文字を1×1倍に拡大して展開
し、印刷する(ステップT22)。
If the quotient X does not satisfy any of the expressions, that is, if the first line has a length less than or equal to 0.4 times the second line, the flow proceeds to step T21 where each character of the first line is Each character on the second line is enlarged 3 × 3 times to 1 × 1 times, developed, and printed (step T22).

【0035】一方、ラベルテープ141の幅LBが9mm
又は12mmで、印刷行数が2行の場合、制御部11は図
7に示す処理を実行する。まず、制御部11はデータ長
さ判断部29をアクセスし、被印刷データの第1行目と
第2行目の長さを読み込み(ステップT31)、第1行
目の長さを第2行目の長さで割って、商Yを求める(ス
テップT32)。
On the other hand, the width LB of the label tape 141 is 9 mm
Alternatively, when the print line number is 12 mm and the number of print lines is 2, the control unit 11 executes the process shown in FIG. 7. First, the control unit 11 accesses the data length determination unit 29, reads the lengths of the first line and the second line of the print data (step T31), and sets the length of the first line to the second line. The quotient Y is obtained by dividing by the eye length (step T32).

【0036】次に、制御部11は商Yが図7に示す式
(5)、(6)のいずれを満足するかをステップT3
3、T34で判別する。商Yが式(5)を満足する場
合、即ち、第1行が第2行の2倍以上の長さを有する場
合、フローはステップT35に進み、第1行の各文字を
縮小サイズ、第2行の各文字を1×1倍のサイズで展開
し、印刷する(ステップT38)。
Next, the control unit 11 determines whether the quotient Y satisfies the equations (5) and (6) shown in FIG. 7 at step T3.
It is determined by 3, T34. If the quotient Y satisfies equation (5), ie, if the first line has a length that is at least twice the length of the second line, then the flow proceeds to step T35, where each character of the first line is reduced to the reduced size, Each character on the two lines is developed in a size of 1 × 1 and printed (step T38).

【0037】商Yが式(6)を満足する場合、即ち、第
1行が第2行の2倍未満かつ0.5倍より大きい場合、
フローはステップT36に進み、第1行及び第2行の各
文字を1×1倍のサイズで展開し、印刷する(ステップ
T38)。商Yがいずれの式も満足しない場合、即ち、
第1行が第2行の0.5倍未満の長さを有する場合、フ
ローはステップT37に進み、第1行の各文字を1×1
倍のサイズ、第2行の各文字を縮小サイズで展開し、印
刷する(ステップT38)。
If the quotient Y satisfies equation (6), that is, if the first row is less than twice the second row and greater than 0.5 times the second row,
The flow proceeds to step T36, where each character on the first line and the second line is developed in a size of 1 × 1 and printed (step T38). If the quotient Y does not satisfy any of the expressions, that is,
If the first line has a length less than 0.5 times the second line, the flow proceeds to step T37, where each character of the first line is 1 × 1.
Each character in the second line of the double size is developed in the reduced size and printed (step T38).

【0038】一方、ラベルテープ141の幅LBが24
mm又は18mmで、印刷行数が3又は4行の場合、制御部
は図8に示す処理を実行する。まず、制御部11はデー
タ長さ判断部29をアクセスし、被印刷データの各行の
長さを読み込み(ステップT41)、最も長い行の長さ
を最も短い行の長さで割って、商Zを求める(ステップ
T42)。
On the other hand, the width LB of the label tape 141 is 24
In the case of mm or 18 mm and the number of printing lines is 3 or 4, the control unit executes the processing shown in FIG. First, the control unit 11 accesses the data length determination unit 29, reads the length of each line of the print data (step T41), divides the length of the longest line by the length of the shortest line, and calculates the quotient Z Is calculated (step T42).

【0039】次に、制御部11は商Zが図8に示す式
(7)を満足するか否かをステップT43で判別する。
商Zが式(7)を満足する場合、即ち、最も長い行が最
も短い行の3倍以上の長さを有する場合、最も長い行を
縮小サイズで展開し、他の行を1×1倍で展開し(ステ
ップT44)、印刷する(ステップT46)。商Zが式
(7)を満足しない場合、即ち、最も長い行が最も短い
行の3倍未満の場合、全ての行を1×1倍で展開し(ス
テップT45)、印刷する(ステップT46)。
Next, the control unit 11 determines in step T43 whether the quotient Z satisfies the equation (7) shown in FIG.
If the quotient Z satisfies equation (7), that is, if the longest row has a length that is three times or more as long as the shortest row, expand the longest row with a reduced size and 1x1 times the other rows. Is developed (step T44) and printed (step T46). If the quotient Z does not satisfy the expression (7), that is, if the longest line is less than 3 times the shortest line, all lines are expanded 1 × 1 times (step T45) and printed (step T46). .

【0040】このような印刷手法を採用することによ
り、最も長い行と最も短い行の長さのアンバランスが緩
和され、バランスのよい印刷が実現できる。例えば、
「火気厳禁!(改行)煙草は喫煙所でお願いします」と
2行の被印刷データを入力し、これらを同一の文字サイ
ズで印刷する場合、第1行は5文字分の長さ、第2行は
13文字分の長さとなり、図4(D)に示すようにその
印刷はアンバランスとなる。一方、本実施例によれば、
例えばラベルテープ141の幅LBを24mm又は18mm
とすると、商Xは図6の式(4)を満足する。このた
め、図4(E)に示すように第1行に縦横3倍のサイズ
で「火気厳禁!」と印刷され、第2行に縦横1倍のサイ
ズで「煙草は喫煙所でお願いします」と印刷される。
By adopting such a printing method, the imbalance between the length of the longest line and the length of the shortest line is alleviated, and balanced printing can be realized. For example,
If you enter 2 lines of print data, such as "Please refrain from burning! (Line feed) Please smoke at the smoking area." When printing these with the same character size, the first line is 5 characters long, Two lines have a length of 13 characters, and the printing is unbalanced as shown in FIG. On the other hand, according to this embodiment,
For example, the width LB of the label tape 141 is 24 mm or 18 mm
Then, the quotient X satisfies the equation (4) in FIG. For this reason, as shown in Fig. 4 (E), the first line is printed with a size that is 3 times the length and width, "No fire!", And the second line is the size that is 1 time, the size is 1 time. "Please smoke at the smoking area. Is printed.

【0041】図4(D)と(E)を比較すれば明らかな
ように、本実施例によれば、複数行を印刷する場合に、
各行の長さL3及びL4を同一又は近似した長さとする
ことができ、各行の長さL3及びL4のバランスを改善
することができる。
As is clear from a comparison between FIGS. 4D and 4E, according to the present embodiment, when a plurality of lines are printed,
The lengths L3 and L4 of each row can be the same or similar lengths, and the balance of the lengths L3 and L4 of each row can be improved.

【0042】なお、図6〜図8に示す判断基準及び各文
字の印刷サイズは例示であり、これらに限定されるもの
ではない。例えば、行数が2行でラベルテープの幅が1
8mm又は24mmの場合のみ、印刷長さの調整を行い、他
の行数及び幅の場合には、図2に示す印刷サイズテーブ
ルの内容に従って印刷を行うようにしてもよい。また、
文字の倍率等も上記実施例に限定されない。さらに、文
字間隔を調整して各行の印刷長さを調整してもよい。
The judgment criteria and the print size of each character shown in FIGS. 6 to 8 are examples, and the present invention is not limited to these. For example, the number of lines is 2 and the width of the label tape is 1.
The print length may be adjusted only in the case of 8 mm or 24 mm, and in the case of other numbers of lines and widths, printing may be performed according to the contents of the print size table shown in FIG. Also,
The magnification of characters and the like are not limited to those in the above embodiment. Further, the print interval of each line may be adjusted by adjusting the character spacing.

【0043】第2実施例では、最も長い行と短い行の長
さを比較して、文字サイズの修正を行ったが、例えば、
各行の長さの平均値を求め、この平均値と最も長い行と
短い行の長さを比較して、文字サイズの修正を行っても
よい。その他、修正の手法自体は任意である。
In the second embodiment, the length of the longest line and the length of the shortest line are compared to correct the character size.
The character size may be corrected by obtaining the average value of the lengths of the lines and comparing this average value with the lengths of the longest line and the shortest line. In addition, the correction method itself is arbitrary.

【0044】次に、ラベルテープ141の幅LBを検出
する機構について説明する。図9に示すようにラベルテ
ープ141はインクテープ142と共にテープカートリ
ッジ143にセットされている。なお、図9はテープカ
ートリッジ143の上面カバーを取り除いた図である。
テープカートリッジ143のラベルプリンタ装着面14
4には図10に示すように、3つの突起部111、11
2、113が形成されている。一方、ラベルプリンタ本
体145のテープカートリッジ装着面146には、この
突起部111乃至113に合致する3つの窪部(***)
121、122、123が形成されている。窪部12
1、122、123内にはマイクロスイッチ131,1
32,133が配置されており、マイクロスイッチ13
1,132,133のオン・オフ信号はテープ幅検出部
25に供給される。
Next, a mechanism for detecting the width LB of the label tape 141 will be described. As shown in FIG. 9, the label tape 141 is set in the tape cartridge 143 together with the ink tape 142. Note that FIG. 9 is a diagram in which the top cover of the tape cartridge 143 is removed.
Label printer mounting surface 14 of tape cartridge 143
4 includes three protrusions 111 and 11 as shown in FIG.
2, 113 are formed. On the other hand, the tape cartridge mounting surface 146 of the label printer body 145 has three recesses (small holes) that match the protrusions 111 to 113.
121, 122, 123 are formed. Depression 12
Microswitches 131, 1 in 1, 122, 123
32 and 133 are arranged, and the microswitch 13
The on / off signals 1, 132 and 133 are supplied to the tape width detection unit 25.

【0045】6mm幅のラベルテープ141を収納するテ
ープカートリッジ153の突起部111〜113は長く
形成され、9mm幅のラベルテープ141を収納するテー
プカートリッジ143の突起部111は長く、突起部1
12と113は短く形成され、12mm幅のラベルテープ
141を収納するテープカートリッジ143の突起部1
12は長く、突起部111と113は短く形成され、1
8mm幅のラベルテープ141を収納するテープカートリ
ッジ143の突起部111と112は長く、突起部11
3は短く形成され、24mm幅のラベルテープ141を収
納したテープカートリッジ143の突起部113は長
く、突起部111と112は短く形成されている。テー
プカートリッジ143がラベルプリンタ本体145に装
着された状態で、長い突起部は対応するマイクロスイッ
チをオンさせ、短い突起部はオフ状態に維持する。
The protrusions 111 to 113 of the tape cartridge 153 for accommodating the 6 mm wide label tape 141 are formed long, and the protrusion 111 of the tape cartridge 143 for accommodating the 9 mm wide label tape 141 is long and the protrusion 1
12 and 113 are formed to be short, and the protrusion 1 of the tape cartridge 143 for accommodating the label tape 141 having a width of 12 mm is used.
12 is long and the protrusions 111 and 113 are short.
The protrusions 111 and 112 of the tape cartridge 143 for accommodating the label tape 141 having a width of 8 mm are long,
3 is formed short, the protrusion 113 of the tape cartridge 143 accommodating the label tape 141 having a width of 24 mm is long, and the protrusions 111 and 112 are short. With the tape cartridge 143 installed in the label printer body 145, the long protrusions turn on the corresponding microswitches, and the short protrusions remain off.

【0046】このため、テープカートリッジ143が装
着されていない状態では、マイクロスイッチ131〜1
33は全てオフ状態であり、例えば、9mm幅のラベルテ
ープ141を収納したテープカートリッジ143が装着
された時、マイクロスイッチ131がオンし、マイクロ
スイッチ132、133はオフ状態を維持する。また、
18mm幅のラベルテープ141を収納したテープカート
リッジ143が装着された時、マイクロスイッチ131
と132がオンし、マイクロスイッチ133はオフ状態
を維持する。テープ幅検出部25は、マイクロスイッチ
131〜133のオン・オフ信号をデコードし、装着さ
れたテープカートリッジ143に収納されたラベルテー
プ141の幅LBを判別する。
Therefore, when the tape cartridge 143 is not mounted, the micro switches 131 to 1
33 is all in the off state. For example, when the tape cartridge 143 accommodating the label tape 141 having a width of 9 mm is mounted, the micro switch 131 is turned on and the micro switches 132 and 133 are kept in the off state. Also,
When the tape cartridge 143 containing the 18 mm wide label tape 141 is mounted, the micro switch 131
And 132 are turned on, and the micro switch 133 remains off. The tape width detection unit 25 decodes the on / off signals of the microswitches 131 to 133 and determines the width LB of the label tape 141 accommodated in the mounted tape cartridge 143.

【0047】なお、突起部111〜113の長短の組み
合わせは任意であり、この例に限定されない。また、こ
の実施例では、装着されたテープカートリッジ143の
種類(図9参照)を検出し、この種類の検出に基づい
て、テープカートリッジ143内に収納されたラベルテ
ープ141の幅LBを判別するようにしているが、ラベ
ルテープ141の幅LBを直接検出するようにしてもよ
い。
The combination of the lengths of the protrusions 111 to 113 is arbitrary and is not limited to this example. Further, in this embodiment, the type (see FIG. 9) of the mounted tape cartridge 143 is detected, and the width LB of the label tape 141 accommodated in the tape cartridge 143 is determined based on the detection of this type. However, the width LB of the label tape 141 may be directly detected.

【0048】なお、第1、第2実施例においては、この
発明をラベルプリンタに適用した場合を説明したが、こ
の発明はラベルプリンタに限定されるものではない。例
えば、通常のワードプロセッサ、パーソナルコンピュー
タ等にも適用可能である。また、この発明は印刷部を備
える装置のみに適用されるものではなく、例えば、印刷
部を備えない印刷用のパターンデータの生成までを行う
装置(印刷は別の装置で行われる)等にも適用できる。
また、印刷に限らず、表示に同様の手法を採用してもよ
い。さらに、被印刷データは、文字データの他に記号、
数字、又は画像データであってもよい。
In the first and second embodiments, the case where the present invention is applied to the label printer has been described, but the present invention is not limited to the label printer. For example, it can be applied to an ordinary word processor, personal computer, or the like. Further, the present invention is not applied only to a device including a printing unit, and may be applied to, for example, a device that does not include a printing unit and that generates pattern data for printing (printing is performed by another device). Applicable.
Further, not only printing but also a similar method may be adopted for displaying. In addition to the character data, the print data includes symbols,
It may be a number or image data.

【0049】[0049]

【発明の効果】この発明によれば、複数行の被印刷デー
タの各行のデータのうち最も長い行のデータの長さと最
も短い行のデータの長さとの比率が所定の範囲内にある
ときに、被印刷媒体のサイズと、被印刷データの行数
と、その複数行の被印刷データの最も長い行と最も短い
行との長さの比率に応じて、被印刷データの最も長い行
と最も短い行の印刷後の長さが同一又は近似するよう
に、被印刷データの最も長い行の文字の印刷サイズが
も短い行の文字の印刷サイズより小さいサイズとなる関
係に決めて被印刷データを展開するので、複雑な書式を
設定することなく、各行をバランス良く印刷できる。
According to the present invention, printed data of a plurality of lines is printed.
The data length and maximum length of the longest line of each
The ratio of the data length of the short line to the length of the data is within the specified range.
Sometimes, depending on the size of the print medium, the number of lines of the print data, and the ratio of the length of the longest line to the shortest line of the print data of the plurality of lines, the longest line of the print data is And the printed length of the shortest line is the same or similar , the print size of the character of the longest line of the print data is smaller than the print size of the character of the shortest line.
Since the data to be printed is determined by the person in charge , each line can be printed in a well-balanced manner without setting a complicated format.

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

【図1】この発明の第1及び第2実施例にかかるラベル
プリンタの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a label printer according to first and second embodiments of the present invention.

【図2】印刷サイズテーブルの一例を示す図である。FIG. 2 is a diagram showing an example of a print size table.

【図3】この発明の第1実施例にかかるラベルプリンタ
の動作を説明するためのフローチャートである。
FIG. 3 is a flowchart for explaining the operation of the label printer according to the first embodiment of the present invention.

【図4】(A)〜(E)はラベルの印刷例を示す図であ
る。
FIG. 4A to FIG. 4E are diagrams showing label printing examples.

【図5】この発明の第2実施例にかかるラベルプリンタ
の動作を説明するためのフローチャートである。
FIG. 5 is a flowchart for explaining the operation of the label printer according to the second embodiment of the present invention.

【図6】第2実施例にかかるラベルプリンタの印刷時の
各行の長さの調整・展開・印刷の処理を説明するための
フローチャートである。
FIG. 6 is a flowchart for explaining a process of adjusting / developing / printing each line length when printing is performed by the label printer according to the second embodiment.

【図7】第2実施例にかかるラベルプリンタの印刷時の
各行の長さの調整・展開・印刷の処理を説明するための
フローチャートである。
FIG. 7 is a flowchart for explaining a process of adjusting / developing / printing the length of each line at the time of printing of the label printer according to the second embodiment.

【図8】第2実施例にかかるラベルプリンタの印刷時の
各行の長さの調整・展開・印刷の処理を説明するための
フローチャートである。
FIG. 8 is a flowchart for explaining a process of adjusting, expanding, and printing the length of each line at the time of printing by the label printer according to the second embodiment.

【図9】テープカートリッジの構成を示す図である。FIG. 9 is a diagram showing a configuration of a tape cartridge.

【図10】テープカートリッジとラベルプリンタ本体の
装着部分を示す図である。
FIG. 10 is a diagram showing a mounting portion of a tape cartridge and a label printer main body.

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

11・・・制御部、13・・・キー入力部、15・・・表示制御
部、17・・・表示部、19・・・印刷制御部、21・・・印刷
部、23・・・データ記憶部、25・・・テープ幅検出部、2
7・・・行数判断部、29・・・データ長さ判断部、111、
112、113・・・突起部、121、122、123・・・
窪部、131、132、133・・・マイクロスイッチ、
141・・・ラベルテープ、143・・・テープカートリッ
ジ、145・・・ラベルプリンタ本体
11 ... control unit, 13 ... key input unit, 15 ... display control unit, 17 ... display unit, 19 ... print control unit, 21 ... printing unit, 23 ... data Storage unit, 25 ... Tape width detection unit, 2
7 ... Line number determination unit, 29 ... Data length determination unit, 111,
112, 113 ... Projections, 121, 122, 123 ...
Depression, 131, 132, 133 ... Micro switch,
141 ... Label tape, 143 ... Tape cartridge, 145 ... Label printer main body

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の文字からなる被印刷データを入
力する入力手段と、 被印刷媒体のサイズを検出するサイズ検出手段と、 前記入力手段により入力された被印刷データの行数を検
出する行数検出手段と、 前記入力手段により入力された被印刷データの各行のデ
ータの長さを判断する長さ判断手段と、 前記長さ判断手段で判断された被印刷データの各行のデ
ータのうち最も長い行のデータの長さと最も短い行のデ
ータの長さとの比率を演算する演算手段と、前記演算手段で演算された比率が所定の範囲内にあるか
否か判断する判断手段と、 前記演算手段で演算された比率が所定の範囲内にあると
前記判断手段で判断されたときに、 前記サイズ検出手段
により検出された被印刷媒体のサイズ、前記行数検出手
段により検出された被印刷データの行数及び前記演算手
段により演算された比率に応じて、前記複数行の被印刷
データの印刷後の長さが同一又は近似するように、前記
最もデータの長い行の文字の印刷サイズが前記最もデー
タの短い行の文字の印刷サイズより小さいサイズとなる
関係に決めて前記被印刷データを展開する展開手段と、 を備えることを特徴とする被印刷データ展開装置。
1. An input unit for inputting print data composed of a plurality of lines of characters, a size detection unit for detecting a size of a print medium, and a line number of the print data input by the input unit. Of the data of each line of the print data determined by the length determination unit, the length determination unit that determines the data length of each line of the print data input by the input unit, A calculating means for calculating the ratio of the data length of the longest line to the data length of the shortest line, and whether the ratio calculated by the calculating means is within a predetermined range
And a determining means for determining whether or not the ratio calculated by the calculating means is within a predetermined range.
Depending on the size of the print medium detected by the size detecting unit, the number of lines of the print data detected by the line number detecting unit, and the ratio calculated by the calculating unit when judged by the judging unit. Te, wherein such lengths of lines after printing of the printing data is identical or similar, the printing of the <br/> longest line character print size of the data is short lines of the most data characters a size smaller than the size
A print data expansion device comprising: expansion means for expanding the print data according to a relationship .
【請求項2】 前記展開手段により展開された被印刷デ
ータを前記被印刷媒体上に印刷する印刷手段を備えるこ
とを特徴とする請求項1記載の被印刷データ展開装置。
2. The print data expansion device according to claim 1, further comprising a printing unit that prints the print data expanded by the expansion unit on the print medium.
【請求項3】 前記被印刷媒体はラベル印刷用のラベル
テープであり、前記サイズ検出手段は前記ラベルテープ
の幅を検出することを特徴とする請求項1又は2記載の
被印刷データ展開装置。
3. The print data developing device according to claim 1, wherein the print medium is a label tape for label printing, and the size detecting means detects the width of the label tape.
JP32957293A 1993-11-02 1993-12-02 Printed data development device Expired - Fee Related JP3463268B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP32957293A JP3463268B2 (en) 1993-12-02 1993-12-02 Printed data development device
US08/332,582 US5562353A (en) 1993-11-02 1994-10-31 Tape printing apparatus that calculates character sizes and line lengths
MYPI94002920A MY112577A (en) 1993-11-02 1994-11-01 Printing apparatus
TW083110080A TW275680B (en) 1993-11-02 1994-11-02 Printing apparatus
DE69431095T DE69431095T2 (en) 1993-11-02 1994-11-02 printing device
CN94118130A CN1085867C (en) 1993-11-02 1994-11-02 Printing apparatus
EP94117284A EP0650841B1 (en) 1993-11-02 1994-11-02 Printing apparatus
HK98114717A HK1013409A1 (en) 1993-11-02 1998-12-22 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32957293A JP3463268B2 (en) 1993-12-02 1993-12-02 Printed data development device

Publications (2)

Publication Number Publication Date
JPH07156498A JPH07156498A (en) 1995-06-20
JP3463268B2 true JP3463268B2 (en) 2003-11-05

Family

ID=18222852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32957293A Expired - Fee Related JP3463268B2 (en) 1993-11-02 1993-12-02 Printed data development device

Country Status (1)

Country Link
JP (1) JP3463268B2 (en)

Also Published As

Publication number Publication date
JPH07156498A (en) 1995-06-20

Similar Documents

Publication Publication Date Title
US5677999A (en) Apparatus and method of making print according to fixed format
EP0577247B1 (en) Tape print device
JPH0852908A (en) Label forming apparatus
JP2629516B2 (en) Tape printer
JP3100164B2 (en) Tape printer and character attribute changing method thereof
JPH08183222A (en) Printer and display
JPH10157255A (en) Image-forming apparatus
JP3463268B2 (en) Printed data development device
JP3098636B2 (en) Tape printing apparatus and method
JP2879757B2 (en) Printing equipment
JP3292393B2 (en) Document processing device
JPH07276715A (en) Tape printer capable of printing a plurality of blocks in optional number of lines
JP3171557B2 (en) Document creation device
JP3248812B2 (en) Label making device
JP3244493B2 (en) Electronics
JPH0373998A (en) Character pattern data generating device
JPS62221561A (en) Information output device
JPH06139040A (en) Function selection screen managing device
JP3417686B2 (en) Document processing device
JP2606126B2 (en) Tape recorder
JPH06118934A (en) External character registering method
JP2004223784A (en) Controller for printing on tape, tape printer, and program
JPS63307976A (en) Recorder
JPH09202010A (en) Printing device
JPH10129045A (en) Document forming apparatus

Legal Events

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

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110822

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120822

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120822

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130822

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees