JPH08348U - Printer - Google Patents

Printer

Info

Publication number
JPH08348U
JPH08348U JP009148U JP914895U JPH08348U JP H08348 U JPH08348 U JP H08348U JP 009148 U JP009148 U JP 009148U JP 914895 U JP914895 U JP 914895U JP H08348 U JPH08348 U JP H08348U
Authority
JP
Japan
Prior art keywords
print
width
label
character string
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.)
Granted
Application number
JP009148U
Other languages
Japanese (ja)
Other versions
JP2583678Y2 (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 JP1995009148U priority Critical patent/JP2583678Y2/en
Publication of JPH08348U publication Critical patent/JPH08348U/en
Application granted granted Critical
Publication of JP2583678Y2 publication Critical patent/JP2583678Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】 【課題】本考案は、プリンタにおいて、例えば広いラベ
ル幅を想定して入力した文字列データを狭い幅のラベル
に印字した場合に、その印字文字がラベルからはみ出し
て印字不良が生じるのを防止することを目的とする。 【解決手段】印字データ記憶部42に記憶させた被印字
文字列の印字長及び印字幅を、その文字制御コードに基
づき印字長・印字幅判断部36において判断しデータ記
憶部48に記憶させると共に、ラベル幅検知スイッチ3
5により検知される接着剤付きラベル23の幅よりも上
記データ記憶部48に記憶させた被印字文字列の印字幅
が小さいか否かを印字幅エラー判断部47において判断
させ、該印字幅がラベル幅以上となる場合にはレイアウ
ト表示制御部43から表示制御部44を通して表示部1
3に“Err”メッセージを表示させるよう構成する。
(57) Abstract: When a character string data input assuming a wide label width is printed on a label having a narrow width in a printer, the printed character protrudes from the label and is defective in printing. The purpose is to prevent the occurrence of. A print length and a print width of a print target character string stored in a print data storage unit are determined by a print length / print width determination unit based on the character control code and stored in a data storage unit. , Label width detection switch 3
5, the print width error determining unit 47 determines whether or not the print width of the print target character string stored in the data storage unit 48 is smaller than the width of the adhesive label 23 detected by 5. When the label width is equal to or larger than the label width, the display unit 1 is passed from the layout display control unit 43 through the display control unit 44.
3 is configured to display an "Err" message.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【考案の属する技術分野】[Technical field to which the device belongs]

本考案は、接着剤付きの帯状のラベル等の被印字媒体に所望の印字データを印 字する際に使用されるプリンタに関する。 The present invention relates to a printer used for printing desired print data on a print medium such as a strip-shaped label with an adhesive.

【0002】[0002]

【従来の技術】[Prior art]

例えばカセットテープ用のインデックスラベルやビデオテープ用のインデック スラベルを作成する装置として、任意にキー入力した文字列データを接着剤付き の帯状ラベルに印字出力するラベルプリンタが考えられている。 For example, as a device for creating index labels for cassette tapes and index labels for video tapes, label printers that print out character string data that have been arbitrarily keyed in on strip-shaped labels with adhesive are being considered.

【0003】 このラベルプリンタで使用される接着剤付きラベルは、カートリッジにリール 状に巻かれて収納され、その印字長さに応じて繰出された部分を切出して使用さ れるもので、作成するラベルの使用目的に応じて、例えばカセットテープ用とビ デオテープ用とでそのラベル幅が異なるため、予め異なる幅のラベルを収納した 複数のカートリッジが用意されている。A label with an adhesive used in this label printer is stored by being wound around a cartridge in a reel shape, and is cut out from a fed portion according to the print length of the label. Depending on the purpose of use, for example, the label widths for the cassette tape and the video tape are different, so a plurality of cartridges in which labels with different widths are stored in advance are prepared.

【0004】 この場合、例えばカセットテープ用のラベル幅を想定して入力した文字列デー タを印字する際には、それに応じた狭い幅のラベルを有するカートリッジを、ま た、ビデオテープ用のラベル幅を想定して入力した文字列データを印字する際に は、それに応じた広い幅のラベルを有するカートリッジを、それぞれ入替えて使 用する必要がある。In this case, for example, when printing character string data input assuming a label width for a cassette tape, a cartridge having a narrow width corresponding to the character string data is used, and a label for a video tape is used. When printing character string data that is supposed to have a width, it is necessary to replace and use cartridges that have labels with a wide width accordingly.

【0005】[0005]

【考案が解決しようとする課題】[Problems to be solved by the device]

しかしながら、上記従来のラベルプリンタにおいては、例えば上記広いラベル 幅を想定して入力した文字列データを、狭い幅のラベルに印字しようとすると、 その印字文字がラベルからはみ出し印字不良が生じてしまう問題がある。 However, in the above conventional label printer, for example, when the character string data input assuming the wide label width is printed on a narrow label, the print character may be out of the label and a printing defect may occur. There is.

【0006】 本考案は上記課題に鑑みなされたもので、幅広な被印字媒体の幅方向の寸法幅 を想定して入力した印字データを幅狭な被印字媒体に印字した場合に、その印字 データが被印字媒体の幅方向の寸法幅内からはみ出して印字不良が生じるのを未 然に防止することが可能になるプリンタを提供することを目的とする。The present invention has been made in view of the above problems, and when print data input assuming a widthwise dimension of a wide print medium is printed on a narrow print medium, the print data is It is an object of the present invention to provide a printer that can prevent printing defects from protruding out of the dimension width of the print medium in the width direction.

【0007】[0007]

【課題を解決するための手段】[Means for Solving the Problems]

すなわち、本考案に係わるプリンタは、印字データを入力するデータ入力手段 と、印字データを記憶するデータ記憶手段と、長尺な被印字媒体の幅方向の寸法 幅を検知する幅検知手段と、この幅検知手段により検知された寸法幅と上記デー タ記憶手段に記憶された印字データとに基づき該印字データが上記長尺な被印字 媒体の幅方向の寸法幅内に印字可能か否かを判断する印字幅判断手段とを備えて 構成したものである。 That is, the printer according to the present invention comprises a data input means for inputting print data, a data storage means for storing print data, a width detecting means for detecting the dimension and width of a long print medium in the width direction, and Based on the dimension width detected by the width detection means and the print data stored in the data storage means, it is determined whether or not the print data can be printed within the width dimension of the long print-receiving medium. And a print width determining means for performing the print width determination.

【0008】 本考案によれば、印字幅判断手段により入力された印字データが長尺な被印字 媒体の幅方向の寸法幅内に印字可能か否かを判断するので、もしも印字が不可能 と判断された場合には、例えばエラー表示し印字中止を促すか、あるいは幅方向 のはみ出し分の印字データを被印字媒体の長さ方向に変更して印字させるなどの 対策を講ずることにより、印字データのはみ出しが未然に防止される。According to the present invention, it is determined whether or not the print data input by the print width determination means can be printed within the widthwise dimension of the long print medium. If it is judged, the print data can be displayed by, for example, displaying an error and prompting to cancel the print, or by taking measures such as changing the print data for the protrusion in the width direction to the length direction of the print medium to print. It is possible to prevent the spillage from occurring.

【0009】[0009]

【考案の実施の形態】[Embodiment of device]

以下図面により本考案の実施の形態について説明する。 図1は本考案が適用されたラベルプリンタの外観構成を示すもので、本体ケー ス11は、例えば大人の手で把持できる程度の直方体の筐体からなり、本体ケー ス11の表面には、キー入力部12及び表示部13が備えられ、また、右側面に は、電源スイッチ14が備えられる。 An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an external configuration of a label printer to which the present invention is applied. The main body case 11 is composed of, for example, a rectangular parallelepiped case that can be held by an adult's hand, and the surface of the main body case 11 is A key input unit 12 and a display unit 13 are provided, and a power switch 14 is provided on the right side surface.

【0010】 キー入力部12には、ラベルプリント用の名前,見出し,インデックス等の文 字列データを作成するためのワードプロセッサ機能に即した文字入力キー,かな /漢字変換キー,次候補キー,文字倍率設定キー及び実行キー等の他、改行キー や1ラベルに対する文字列データ毎の境界を区切るための「停」キー、文字入力 モードと印字モードとを切替えるためのモード切替えキー、そして印字動作を開 始させるための印字開始キー等が備えられる。The key input unit 12 includes a character input key, a kana / kanji conversion key, a next candidate key, and a character corresponding to a word processor function for creating character string data such as a label print name, headline, and index. In addition to the magnification setting key and execution key, the line feed key, the "stop" key for separating the boundary of each character string data for one label, the mode switching key for switching the character input mode and the printing mode, and the printing operation A print start key for starting the print job is provided.

【0011】 表示部13には、上記キー入力操作に伴い得られる文字列データや印字書式の レイアウトデータ等が、それぞれ該当する処理に応じて表示される。 また、本体ケース11の下側面には、上記文字列データ印字後の図示しない接 着剤付きラベルを排出するためのラベル排出口15、及びこのラベル排出口15 に排出されたラベルを切出すためのカッタボタン16が備えられる。On the display unit 13, character string data obtained by the above key input operation, layout data of a print format, and the like are displayed according to the corresponding processing. Further, on the lower surface of the main body case 11, a label discharge port 15 for discharging the adhesive label (not shown) after printing the character string data and a label discharged to the label discharge port 15 are cut out. The cutter button 16 is provided.

【0012】 すなわち、電源スイッチ14の投入後、キー入力部12及び表示部13を使用 して任意の文字列データを作成し、印字モードを設定してその印字処理を開始さ せると、図示しないラベルに上記被印字文字列が印字されてラベル排出口15か ら順次排出されることになる。That is, after turning on the power switch 14, any character string data is created using the key input unit 12 and the display unit 13, the print mode is set, and the print process is started. The character string to be printed is printed on the label and sequentially discharged from the label discharge port 15.

【0013】 この場合、上記被印字文字列は、予め使用ラベルの幅及び長さを想定して文字 倍率や改行を設定し作成されるもので、使用ラベル幅に対し被印字文字列がはみ 出す場合には、そのはみ出し部分の文字列が印字長さ方向に置換追加されて印字 されることになる。In this case, the character string to be printed is created by previously setting the character scale and line feed assuming the width and length of the label to be used. When it is output, the character string of the protruding portion is replaced and added in the print length direction and printed.

【0014】 そして、上記被印字文字列が図示しないラベルに印字されてラベル排出口15 から排出されると、そのラベルはラベルカッタ16を矢印xで示す方向にスライ ドさせることで切取られて使用される。When the above-mentioned character string to be printed is printed on a label (not shown) and discharged from the label discharge port 15, the label is cut off by sliding the label cutter 16 in the direction shown by the arrow x. To be done.

【0015】 図2は上記ラベルプリンタのプリント部21の構成を示すもので、このプリン ト部21には、インクテープカートリッジ22が装着されて使用される。 インクテープカートリッジ22には、前記被印字文字列が印字される接着剤付 きの長尺な被印字媒体であるラベル23と該ラベル23に対する印字用のインク リボン24が備えられ、ラベル23は転写部25においてインクリボン24と平 行接触して同時進行し、インクテープカートリッジ22から排出されるよう構成 される。FIG. 2 shows the configuration of the printing unit 21 of the label printer, and the ink tape cartridge 22 is mounted on the printing unit 21 for use. The ink tape cartridge 22 is provided with a label 23, which is a long medium to be printed with an adhesive, on which the character string to be printed is printed, and an ink ribbon 24 for printing on the label 23, and the label 23 is transferred. The section 25 is configured so as to be in parallel contact with the ink ribbon 24, proceed in parallel with each other, and be ejected from the ink tape cartridge 22.

【0016】 ここで、インクテープカートリッジ22は、例えばカセットテープラベル用や ビデオテープラベル用に応じて異なる幅のラベル23及びインクリボン24を搭 載したものが選択されて装着される。Here, the ink tape cartridge 22 is selected and mounted with a label 23 and an ink ribbon 24 having different widths depending on, for example, a cassette tape label or a video tape label.

【0017】 プリント部21に対し、上記インクテープカートリッジ22は、前記キー入力 部12及び表示部13を備えた本体ケース11のケース蓋26を片開きすること で着脱可能になるもので、該インクテープカートリッジ22のラベル繰出しスプ ール27にはスプール軸28が、また、インクリボン24のリボン巻取りスプー ル29にはリボン巻取り軸30がそれぞれ挿入嵌合されると共に、インクテープ カートリッジ22における対向側面の窪み31a,31bには、カートリッジガ イド32aとカートリッジ押え用フック32bとがそれぞれ係止されて位置決め が図られる。The ink tape cartridge 22 can be attached to and detached from the print section 21 by opening the case lid 26 of the main body case 11 having the key input section 12 and the display section 13 by one-sided opening. A spool shaft 28 is inserted into the label feeding spool 27 of the tape cartridge 22 and a ribbon winding shaft 30 is inserted into the ribbon winding spool 29 of the ink ribbon 24. The cartridge guide 32a and the cartridge pressing hook 32b are engaged with the recesses 31a and 31b on the opposite side surfaces respectively for positioning.

【0018】 この場合、プラテンローラ33はインクテープカートリッジ22の転写部25 におけるラベル23に沿って位置設定され、また、サーマルプリントヘッド34 は同転写部25におけるインクリボン24に沿って位置設定される。In this case, the platen roller 33 is positioned along the label 23 in the transfer section 25 of the ink tape cartridge 22, and the thermal print head 34 is positioned along the ink ribbon 24 in the transfer section 25. .

【0019】 ここで、サーマルプリントヘッド34は、インクリボン24の幅方向に対して 、例えば144dots(8dots/mm)を有している。 すなわち、接着剤付きラベル23に対する被印字文字列の印字動作時には、該 ラベル23とインクリボン24とは、プラテンローラ33及びリボン巻取り軸3 0の回転により、転写部25においてそれぞれ同一の速度で搬送され、サーマル プリントヘッド34がプラテンローラ33との間に上記ラベル23とインクリボ ン24とを挟み付けて熱転写動作することにより、被印字文字列が順次ラベル2 3に印字されてラベル排出口15から繰出されることになる。Here, the thermal print head 34 has, for example, 144 dots (8 dots / mm) in the width direction of the ink ribbon 24. That is, during the printing operation of the character string to be printed on the adhesive label 23, the label 23 and the ink ribbon 24 are moved at the same speed in the transfer section 25 by the rotation of the platen roller 33 and the ribbon winding shaft 30. The label 23 and the ink ribbon 24 are sandwiched between the thermal print head 34 and the platen roller 33, and the thermal transfer operation is performed, whereby the character strings to be printed are sequentially printed on the label 23 and the label discharge port 15 Will be paid out from.

【0020】 なお、図2において、16aはカッタボタン16のスライドに伴い上記ラベル 排出口15に突出してラベル23を切断するためのカッタである。 一方、上記プリント部21における上記インクテープカートリッジ22の装着 部上側面には、その一端にラベル幅検知スイッチ35が、その他端にインク色検 知スイッチ36が設けられる。In FIG. 2, reference numeral 16 a denotes a cutter for cutting the label 23 by protruding to the label outlet 15 as the cutter button 16 slides. On the other hand, a label width detection switch 35 is provided at one end and an ink color detection switch 36 is provided at the other end on the upper surface of the mounting portion of the ink tape cartridge 22 in the printing portion 21.

【0021】 図3は上記ラベルプリンタのプリント部21におけるラベル幅及びインク色の 検知構造を示すもので、まず、ラベル幅検知スイッチ35は、インクテープカー トリッジ22がプリント部基体37に立設散在するガイドピン37a〜37dに 沿って装着された際に、そのインクテープカートリッジ22の側面下縁に押圧さ れて下降動作する幅検知可動板35aと、この幅検知可動板35aによる幅検知 位置を電圧信号に変換する可変抵抗器35bと、この可変抵抗器35bにより得 られる電圧信号を導出する幅検知信号出力線35cとからなり、幅検知可動板3 5aの押圧下降位置に応じたレベルの電圧信号によりインクテープカートリッジ 22の幅、つまりは接着剤付きラベル23及びインクリボン24の幅方向の寸法 幅が検出される。FIG. 3 shows a structure for detecting the label width and the ink color in the print section 21 of the label printer. First, in the label width detection switch 35, the ink tape cartridge 22 is erected and scattered on the print section base 37. The width detection movable plate 35a, which is pushed down by the lower edge of the side surface of the ink tape cartridge 22 when it is mounted along the guide pins 37a to 37d, and the width detection position by the width detection movable plate 35a. It is composed of a variable resistor 35b for converting it into a voltage signal and a width detection signal output line 35c for deriving a voltage signal obtained by this variable resistor 35b, and a voltage of a level corresponding to the pushing down position of the width detection movable plate 35a. The width of the ink tape cartridge 22 depending on the signal, that is, the dimension of the label 23 with the adhesive and the ink ribbon 24 in the width direction Is detected.

【0022】 また、インク色検知スイッチ36は、インクテープカートリッジ22が上記同 様にしてプリント部21に装着された際に、インクテープカートリッジ22のス イッチ対応側面に予めその内臓インクリボン24のインク色に応じた長さで形成 された色識別溝38に嵌合して上下動作する溝検知可動板36aと、この溝検知 可動板36aによる溝検知位置をその検知位置に応じた段階的な電気信号に変換 するマイクロスイッチ36bとからなり、溝検知可動板36aの溝検知位置に応 じたレベルの電気信号によりインクテープカートリッジ22のインク色が検出さ れる。In addition, the ink color detection switch 36 is provided on the side surface corresponding to the switch of the ink tape cartridge 22 in advance when the ink tape cartridge 22 is mounted on the printing unit 21 in the same manner as described above. A groove detection movable plate 36a that fits in a color identification groove 38 formed in a length corresponding to the color and moves up and down, and a groove detection position by the groove detection movable plate 36a is set in a stepwise electrical manner according to the detection position. The ink color of the ink tape cartridge 22 is detected by an electric signal having a level corresponding to the groove detection position of the groove detection movable plate 36a.

【0023】 図4は上記ラベルプリンタのプリント部21におけるラベル幅及びインク色の 検知状態を示すもので、同図(A)は例えばカセットテープ用の9mm幅のラベル 23が収納されたインクテープカートリッジ22に対する検知状態を示し、同図 (B)は例えばビデオテープ用の18mm幅のラベル23が収納されたインクテー プカートリッジ22に対する検知状態を示している。FIG. 4 shows a state in which the label width and the ink color are detected in the printing section 21 of the label printer. FIG. 4A shows an ink tape cartridge containing a 9 mm wide label 23 for a cassette tape, for example. 22 shows the detection state, and FIG. 3B shows the detection state with respect to the ink tape cartridge 22 in which the label 23 of 18 mm width for video tape is stored.

【0024】 この場合、プリント部21に対する各インクテープカートリッジ22の装着高 さは、プリント部基体37に立設されたガイドピン37a〜37dにより規制さ れ、常時その天板が同一の高さに設定されるもので、図4(A)で示すように、 幅検知可動板35aの下降量が少ない状態では、9mm幅のラベル23を有するイ ンクテープカートリッジ22が装着されていることになり、また、図4(B)で 示すように、幅検知可動板35aの下降量が大きい状態では、18mm幅のラベル 23を有するインクテープカートリッジ22が装着されていることになる。In this case, the mounting height of each ink tape cartridge 22 with respect to the print unit 21 is regulated by the guide pins 37a to 37d provided upright on the print unit base 37, and the top plate is always set to the same height. As shown in FIG. 4 (A), the ink tape cartridge 22 having the label 23 with a width of 9 mm is mounted when the width detection movable plate 35a has a small descending amount. Further, as shown in FIG. 4B, when the descending amount of the width detection movable plate 35a is large, the ink tape cartridge 22 having the label 23 of 18 mm width is mounted.

【0025】 図5は上記ラベルプリンタにおける電子回路の構成を示すもので、同図におい て、41は回路各部の動作制御を司る制御部であり、この制御部41には、前記 キー入力部12の他、作成された被印字文字列を記憶するための印字データ記憶 部42が接続されると共に、レイアウト表示制御部43及び表示制御部44を介 して前記表示部13が接続される。FIG. 5 shows the configuration of an electronic circuit in the above label printer. In FIG. 5, reference numeral 41 is a control unit for controlling the operation of each unit of the circuit. The control unit 41 includes the key input unit 12 In addition, the print data storage unit 42 for storing the created character string to be printed is connected, and the display unit 13 is connected via the layout display control unit 43 and the display control unit 44.

【0026】 印字データ記憶部42には、1ラベル毎に対応作成された被印字文字列が、停 止コードにより区切られて記憶されるもので、この被印字文字列は、印字モード の設定により順次制御部41に読出され、印字レイアウトの表示制御処理が実行 される。In the print data storage unit 42, the print character string created corresponding to each label is stored by being separated by the stop code, and this print character string is set according to the print mode setting. The data is sequentially read by the control unit 41, and the print layout display control process is executed.

【0027】 レイアウト表示制御部43は、上記印字データ記憶部42から読出された被印 字文字列と共に、その最大文字サイズ,文字印字方向,最大印字長,使用ラベル 幅,及び印字イメージからなる印字書式の設定情報を、図示しない表示バッファ 上の予め設定された位置に展開制御するもので、このレイアウト表示制御部43 により上記表示バッファ上にレイアウトされた被印字文字列及びその印字書式の 設定情報は、印字開始の指定により表示制御部44を通して表示部13に表示さ れる。The layout display control unit 43 prints the printed character string, the maximum character size, the character print direction, the maximum print length, the label width used, and the print image together with the printed character string read from the print data storage unit 42. The format setting information is expanded and controlled at a preset position on a display buffer (not shown). The layout display control unit 43 lays out the character string to be printed on the display buffer and the setting information of the print format. Is displayed on the display unit 13 through the display control unit 44 by designating the start of printing.

【0028】 また、制御部41には、ラベル幅検知スイッチ35からのラベル幅検知信号が A/D変換部35dを介して供給されると共に、インク色検知スイッチ36から の色検知信号が供給され、さらに、制御部41には、印字部45の他、印字長・ 印字幅判断部46、印字幅エラー判断部47、及びデータ記憶部48が接続され る。Further, the control section 41 is supplied with the label width detection signal from the label width detection switch 35 via the A / D conversion section 35d and the color detection signal from the ink color detection switch 36. Further, in addition to the printing unit 45, the control unit 41 is connected to the printing length / printing width determination unit 46, the printing width error determination unit 47, and the data storage unit 48.

【0029】 印字部45は、印字データ記憶部42から順次読出される被印字文字列の、上 記レイアウト表示制御部43において予め設定された印字書式情報に対応した印 字処理を行なうべく、サーマルプリントヘッド34の印字動作を制御すると共に 、リボン巻取り軸30及びプラテンローラ33それぞれの回転動作を制御するも ので、上記被印字文字列の印字長及び印字幅は、印字データ記憶部42からの被 印字文字列の各文字データ読出し毎に、その文字制御コードに基づき上記印字長 ・印字幅判断部46において判断される。また、上記印字部45の印字制御動作 に伴い、被印字文字列の印字幅がラベル23の幅内に収まるか否かは、印字デー タ記憶部42からの停止コードの読出し毎、つまり、1ラベル分の被印字文字列 読出し毎に上記印字幅エラー判断部47により判断される。The printing unit 45 performs thermal processing in order to perform printing processing of the print target character string sequentially read from the print data storage unit 42 in accordance with the print format information preset in the layout display control unit 43. Since the printing operation of the print head 34 is controlled and the rotation operations of the ribbon take-up shaft 30 and the platen roller 33 are controlled, the printing length and the printing width of the character string to be printed are stored in the print data storage section 42. Every time the character data of the character string to be printed is read out, the print length / print width judgment unit 46 makes a judgment based on the character control code. Further, in accordance with the printing control operation of the printing unit 45, whether or not the printing width of the character string to be printed falls within the width of the label 23 is determined by reading the stop code from the printing data storage unit 42, that is, 1 The print width error determination unit 47 makes a determination each time the print character string for the label is read.

【0030】 そして、データ記憶部48は、上記印字長・印字幅判断部46における被印字 文字列の印字長・印字幅の判断処理に応じて順次その最大印字長及び印字幅を記 憶更新すると共に、被印字文字列内各行毎の最大文字サイズを記憶するもので、 このデータ記憶部48に記憶される印字幅データと前記ラベル幅検知スイッチ3 5から得られたラベル幅検知データとに基づき上記印字幅エラー判断部47にお けるエラー判断処理が実行されると共に、最大文字サイズデータ及び最大印字長 データに基づき前記レイアウト表示制御部43における被印字文字列のレイアウ ト表示制御処理が実行される。Then, the data storage unit 48 sequentially updates the maximum print length and print width in accordance with the print length / print width determination processing of the print character string in the print length / print width determination unit 46. At the same time, the maximum character size of each line in the character string to be printed is stored. Based on the print width data stored in the data storage unit 48 and the label width detection data obtained from the label width detection switch 35. The print width error determination unit 47 executes the error determination process, and the layout display control unit 43 executes the layout display control process of the print character string based on the maximum character size data and the maximum print length data. It

【0031】 次に、上記構成によるラベルプリンタの動作について説明する。 例えばビデオテープ用のラベルを作成するべく、キー入力部12及び表示部1 3を使用して任意の文字列データを入力し、被印字文字列「ABC株式会社開発 部」が生成されると、その文字列データは停止コードにより区切られて印字デー タ記憶部42に記憶される。Next, the operation of the label printer having the above configuration will be described. For example, when a character string data is input using the key input unit 12 and the display unit 13 to create a label for a video tape, and a character string to be printed "ABC Co., Ltd. Development Department" is generated, The character string data is delimited by the stop code and stored in the print data storage unit 42.

【0032】 図6は上記ラベルプリンタの印字モード設定時における印字レイアウト表示処 理を示すフローチャートである。 図7は上記ラベルプリンタにおける5種類の印字レイアウト表示状態とそのそ れぞれのラベルプリント状態とを対応付けて示す図である。FIG. 6 is a flowchart showing print layout display processing when the print mode of the label printer is set. FIG. 7 is a diagram showing the five types of print layout display states in the label printer and the respective label print states in association with each other.

【0033】 すなわち、「ABC株式会社」を全角文字、「開発部」を4倍角文字とした改 行なしの被印字文字列「ABC株式会社開発部」が印字データ記憶部42に記憶 された状態で、プリント部21に対し18mm幅の幅広ラベル23を有するインク テープカートリッジ22を装着すると共に、キー入力部12のモード切替えキー を操作して印字モードを設定すると、該被印字文字列の先頭文字「A」が印字デ ータ記憶部42から制御部41に読出され、その文字制御コードに基づき印字文 字サイズ“全角”(3mm角)が判断される(ステップS1〜S3)。That is, the print data storage unit 42 stores the print character string “ABC Co., Ltd. Development”, which is a non-printed character string with “ABC Co., Ltd.” full-width characters and “Development Department” quadruple-width characters. Then, when the ink tape cartridge 22 having the wide label 23 with a width of 18 mm is attached to the print section 21 and the print mode is set by operating the mode switching key of the key input section 12, the first character of the print target character string is set. "A" is read from the print data storage unit 42 to the control unit 41, and the print character size "full width" (3 mm square) is determined based on the character control code (steps S1 to S3).

【0034】 すると、上記制御部41において判断された被印字文字データ「A」の文字サ イズ“全角”に基づき、印字長・印字幅判断部46においてその印字長(文字ピ ッチを含む)が判断され、データ記憶部48における印字長レジスタに加算され ると共に、該データ記憶部48の最大文字サイズレジスタに記憶されている前回 読出し文字(この場合なし)までのラベル幅方向の最大文字サイズと今回読出し 文字「A」のラベル幅方向文字サイズとが大小比較判断され、その大きい方のラ ベル幅方向文字サイズが新たな最大文字サイズとして上記最大文字サイズレジス タに更新記憶される(ステップS4〜S6)。Then, based on the character size “full-width” of the print character data “A” determined by the control unit 41, the print length / print width determination unit 46 prints the print length (including the character pitch). Is determined and added to the print length register in the data storage unit 48, and the maximum character size in the label width direction up to the last read character (none in this case) stored in the maximum character size register of the data storage unit 48. Is compared with the character size in the label width direction of the character "A" read this time, and the larger character size in the label width direction is updated and stored in the maximum character size register as a new maximum character size (step S4 to S6).

【0035】 こうして、被印字文字列1文字目「A」の読出し処理に応じてその印字文字サ イズに基づく印字長加算処理及びラベル幅方向の最大文字サイズ記憶処理が行な われると、さらに、2文字目「B」以降の印字データ読出し処理に伴う文字サイ ズ判断処理,印字長加算処理,ラベル幅方向の最大文字サイズ記憶処理が繰返さ れ、被印字文字列「ABC株式会社開発部」1行分の印字長データ(この場合1 0cm)がデータ記憶部48の印字長レジスタに、ラベル幅方向の最大文字サイズ (この場合4倍角)がデータ記憶部48の最大文字サイズレジスタにそれぞれ記 憶されるようになる(ステップS1〜S6)。In this way, when the print length adding process and the maximum character size storing process in the label width direction are performed based on the print character size according to the read process of the first character “A” of the print character string, The character size judgment process, the print length addition process, and the maximum character size storage process in the label width direction that accompany the print data read process for the second and subsequent characters “B” are repeated, and the print character string “ABC Co., Ltd. Development Department” 1 The print length data for the line (10 cm in this case) is stored in the print length register of the data storage unit 48, and the maximum character size in the label width direction (quadruple width in this case) is stored in the maximum character size register of the data storage unit 48. (Steps S1 to S6).

【0036】 そして、上記被印字文字列「ABC株式会社開発部」の終りを示す停止コード 「停」が印字データ記憶部42から読出されると、上記ステップS6においてデ ータ記憶部48の最大文字サイズレジスタに記憶された被印字文字列中の最大文 字サイズに応じて、印字長・印字幅判断部46において、その印字幅が判断され データ記憶部48の印字幅レジスタに加算される共に、該当印字行とその最大文 字サイズとが対応付けされて行数:文字サイズレジスタに記憶され、上記最大文 字サイズレジスタに記憶されていた今回読出し印字行の最大文字サイズはクリア される(ステップS1,S2→S7〜S10)。Then, when the stop code “stop” indicating the end of the print-target character string “ABC Co., Ltd. Development Department” is read from the print data storage unit 42, the maximum of the data storage unit 48 is read in Step S6. According to the maximum character size in the character string to be printed stored in the character size register, the print length / print width determination unit 46 determines the print width and adds it to the print width register of the data storage unit 48. , The corresponding print line and its maximum character size are associated and stored in the line number: character size register, and the maximum character size of the currently read print line stored in the maximum character size register is cleared ( Steps S1, S2 → S7 to S10).

【0037】 ここで、1ラベル分の被印字文字列が複数行からなる場合には、データ記憶部 48の最大印字長レジスタに記憶されている前回読出し印字行までの最大印字長 と上記ステップS4において印字長レジスタに記憶された今回読出し印字行の印 字長とが、印字長・印字幅判断部46において長短比較判断され、その長い方の 印字長が上記最大印字長レジスタに更新記憶されると共に、上記印字長レジスタ に記憶されていた今回読出し印字行の印字長はクリアされる(ステップS11〜 S13)。Here, when the print character string for one label consists of a plurality of lines, the maximum print length up to the previously read print line stored in the maximum print length register of the data storage unit 48 and the above step S4. In the print length register, the print length and print width stored in the print length register are compared and judged by the print length / print width determination unit 46, and the longer print length is updated and stored in the maximum print length register. At the same time, the print length of the currently read print line stored in the print length register is cleared (steps S11 to S13).

【0038】 そして、上記ステップS1における今回の読出し印字データが停止コード「停 」である場合には、1ラベル分の被印字文字列の読出しが終了したことになり、 データ記憶部48には、その印字幅データ、各印字行毎の最大文字サイズデータ 、及び各印字行相互間の最大印字長データが得られたことになる(ステップS1 4)。If the read print data of this time in step S 1 is the stop code “stop”, it means that the reading of the print character string for one label is completed, and the data storage unit 48 stores The print width data, the maximum character size data for each print line, and the maximum print length data for each print line are obtained (step S14).

【0039】 ここで、ラベル幅検知スイッチ35からA/D変換部35dを介して得られた インクテープカートリッジ22における接着剤付きラベル23のラベル幅検知デ ータ(この場合18mm)と上記ステップS8においてデータ記憶部48の印字幅 レジスタに記憶された被印字文字列の印字幅データ(この場合4倍角=6mm)と が印字幅エラー判断部47において大小比較判断されるもので、この場合、接着 剤付きラベル23のラベル幅(18mm)よりも被印字文字列の印字幅(4倍角= 6mm)は小さいので、被印字文字列入力時における設定書式通りのラベル印字が 可能であり、上記ステップS9においてデータ記憶部48の行数:文字サイズレ ジスタに記憶された各印字行毎の最大文字サイズ(この場合、1行:4倍角)が レイアウト表示制御部43に転送される(ステップS15,S16)。Here, the label width detection data (in this case, 18 mm) of the adhesive label 23 in the ink tape cartridge 22 obtained from the label width detection switch 35 via the A / D conversion section 35 d and the above step S 8 In the print width error determination unit 47, the print width data of the print character string (in this case, quadruple angle = 6 mm) stored in the print width register of the data storage unit 48 is compared in size. Since the print width of the character string to be printed (quadruple angle = 6 mm) is smaller than the label width (18 mm) of the label with agent 23, it is possible to print the label according to the set format when inputting the character string to be printed. The number of lines in the data storage unit 48: the maximum character size for each print line stored in the character size register (in this case, one line: quadruple) It is transferred to the out display control unit 43 (step S15, S16).

【0040】 これにより、図7(A)で示すように、被印字文字列「ABC株式会社開発部 」が表示される表示部13の上段右端には、印字イメージ13a(この場合1行 のみ)が細線で表示されると共に、表示部13の上段左端からカーソル指定文字 (この場合「A」)に対応する文字サイズ(1×1)、被印字文字列の印字方向 (横)、装着中インクテープカートリッジ22のラベル幅(18mm)、及び上記 ステップS12においてデータ記憶部48の最大印字長レジスタに記憶された被 印字文字列の最大印字長(10cm)がそれぞれ表示されるようになる(ステップ S17)。As a result, as shown in FIG. 7A, the print image 13a (only one line in this case) is displayed at the upper right end of the display unit 13 where the character string to be printed "ABC Co., Ltd. Development" is displayed. Is displayed as a thin line, and the character size (1 × 1) corresponding to the cursor designation character (“A” in this case) from the upper left end of the display unit 13, the print direction of the print target character string (horizontal), the installed ink The label width (18 mm) of the tape cartridge 22 and the maximum print length (10 cm) of the print character string stored in the maximum print length register of the data storage unit 48 in step S12 are displayed (step S17). ).

【0041】 すなわち、ユーザは、被印字文字列「ABC株式会社開発部」の作成後に印字 モードを設定することで、倍角を含む被印字文字列が18mm幅の接着剤付きラベ ル23に10cmの印字長で横書き印字されることを表示部13上のレイアウト表 示で予め知ることができ、このレイアウト表示に対応するラベル印字処理が印字 開始キーの操作に応じ印字部45にて成されるようになる。That is, the user sets the print mode after creating the print-target character string “ABC Co., Ltd. Development Department” so that the print-target character string including the double-width is 10 cm on the label 23 with adhesive having a width of 18 mm. It is possible to know in advance from the layout display on the display unit 13 that horizontal printing with the print length is performed, and the label printing process corresponding to this layout display can be performed by the printing unit 45 according to the operation of the print start key. become.

【0042】 また、1行目に「ABC」全角文字、2行目に「株式会社」全角文字及び「開 発部」4倍角文字とした2行からなる被印字文字列「ABC/株式会社開発部」 が印字データ記憶部42に記憶された状態で、プリント部21に対し18mm幅の 幅広ラベル23を有するインクテープカートリッジ22を装着すると共に、キー 入力部12のモード切替えキーを操作して印字モードを設定すると、上記同様に して被印字文字列の先頭文字「A」が印字データ記憶部42から制御部41に読 出され、その文字制御コードに基づき印字文字サイズ“全角”が判断される(ス テップS1〜S3)。In addition, the print character string “ABC / developed by two lines” including “ABC” full-width characters on the first line, “Corporation” full-width characters on the second line, and “Development” quadruple-width characters “Part” is stored in the print data storage unit 42, the ink tape cartridge 22 having the wide label 23 of 18 mm width is attached to the print unit 21 and the mode switching key of the key input unit 12 is operated to print. When the mode is set, the first character "A" of the character string to be printed is read from the print data storage unit 42 to the control unit 41 in the same manner as above, and the print character size "full width" is determined based on the character control code. (Steps S1 to S3).

【0043】 すると、上記制御部41において判断された被印字文字データ「A」の文字サ イズ“全角”に基づき、印字長・印字幅判断部46においてその印字長(文字ピ ッチを含む)が判断され、データ記憶部48における印字長レジスタに加算され ると共に、該データ記憶部48の最大文字サイズレジスタに記憶されている前回 読出し文字(この場合なし)までのラベル幅方向の最大文字サイズと今回読出し 文字「A」のラベル幅方向文字サイズとが大小比較判断され、その大きい方のラ ベル幅方向文字サイズが新たな最大文字サイズとして上記最大文字サイズレジス タに更新記憶される(ステップS4〜S6)。Then, based on the character size “full-width” of the print character data “A” determined by the control unit 41, the print length / print width determination unit 46 prints the print length (including the character pitch). Is determined and added to the print length register in the data storage unit 48, and the maximum character size in the label width direction up to the last read character (none in this case) stored in the maximum character size register of the data storage unit 48. Is compared with the character size in the label width direction of the character "A" read this time, and the larger character size in the label width direction is updated and stored in the maximum character size register as a new maximum character size (step S4 to S6).

【0044】 こうして、被印字文字列1文字目「A」の読出し処理に応じてその印字文字サ イズに基づく印字長加算処理及びラベル幅方向の最大文字サイズ記憶処理が行な われると、さらに、2文字目「B」以降の印字データ読出し処理に伴う文字サイ ズ判断処理,印字長加算処理,ラベル幅方向の最大文字サイズ記憶処理が繰返さ れ、被印字文字列1行目「ABC」の印字長データがデータ記憶部48の印字長 レジスタに、ラベル幅方向の最大文字サイズ(この場合全角)がデータ記憶部4 8の最大文字サイズレジスタにそれぞれ記憶されるようになる(ステップS1〜 S6)。In this way, according to the reading process of the first character “A” of the character string to be printed, the print length addition process and the maximum character size storage process in the label width direction based on the print character size are performed. The character size determination process, print length addition process, and maximum character size storage process in the label width direction that accompany the print data read process for the second character "B" and thereafter are repeated to print the first line "ABC" of the printed character string. The long data is stored in the print length register of the data storage unit 48, and the maximum character size in the label width direction (full width in this case) is stored in the maximum character size register of the data storage unit 48 (steps S1 to S6). .

【0045】 そして、上記被印字文字列1行目「ABC」の改行を示す改行コードが印字デ ータ記憶部42から読出されると、上記ステップS6においてデータ記憶部48 の最大文字サイズレジスタに記憶された1行目中の最大文字サイズ(全角)に応 じて、印字長・印字幅判断部46において、その印字幅が判断されデータ記憶部 48の印字幅レジスタに加算される共に、該当印字行(1行目)とその最大文字 サイズ(全角)とが対応付けされて行数:文字サイズレジスタに記憶され、上記 最大文字サイズレジスタに記憶されていた今回読出し印字行(1行目)の最大文 字サイズはクリアされる(ステップS1,S2→S7〜S10)。When the line feed code indicating the line feed of the first line “ABC” of the character string to be printed is read from the print data storage unit 42, it is stored in the maximum character size register of the data storage unit 48 in step S6. The print width / print width determination unit 46 determines the print width according to the stored maximum character size (full width) in the first line, and the print width is added to the print width register of the data storage unit 48. Print line (1st line) and its maximum character size (full-width) are associated and stored in the number of lines: character size register. This time read-out print line (1st line) stored in the maximum character size register. The maximum character size of is cleared (steps S1, S2 → S7 to S10).

【0046】 ここで、データ記憶部48の最大印字長レジスタに記憶されている前回読出し 印字行までの最大印字長(この場合“0”)と上記ステップS4において印字長 レジスタに記憶された今回読出し印字行(1行目)の印字長とが、印字長・印字 幅判断部46において長短比較判断され、その長い方の印字長、この場合1行目 の印字長が上記最大印字長レジスタに更新記憶されると共に、上記印字長レジス タに記憶されていた1行目の印字長はクリアされる(ステップS11〜S13) 。Here, the maximum print length up to the previously read print line (“0” in this case) stored in the maximum print length register of the data storage unit 48 and the current read stored in the print length register in step S 4 above. The print length of the print line (first line) is compared and judged by the print length / print width judgment unit 46, and the longer print length, in this case, the print length of the first line is updated in the maximum print length register. At the same time as being stored, the print length of the first line stored in the print length register is cleared (steps S11 to S13).

【0047】 そして、上記ステップS1における今回の読出し印字データが改行コードであ る場合には、2行目の被印字文字列が存在することになるので、被印字文字列2 行目「株式会社開発部」の印字データが上記同様にして順次読出され、その文字 サイズ判断処理,印字長加算処理,ラベル幅方向の最大文字サイズ記憶処理が繰 返されることで、被印字文字列2行目「株式会社開発部」の印字長データがデー タ記憶部48の印字長レジスタに、ラベル幅方向の最大文字サイズ(この場合4 倍角)がデータ記憶部48の最大文字サイズレジスタにそれぞれ記憶されるよう になる(ステップS14→S1〜S6)。If the read print data of this time in step S1 is a line feed code, the print character string on the second line exists, and therefore the print character string on the second line “K.K. The print data of the "development department" is sequentially read out in the same manner as above, and the character size judgment processing, print length addition processing, and maximum character size storage processing in the label width direction are repeated, so that the second line of the printed character string " The print length data of "Development Co., Ltd." is stored in the print length register of the data storage unit 48, and the maximum character size in the label width direction (in this case, quadruple size) is stored in the maximum character size register of the data storage unit 48. (Steps S14 → S1 to S6).

【0048】 そして、上記2行からなる被印字文字列「ABC/株式会社開発部」の終了を 示す停止コード「停」が印字データ記憶部42から読出されると、上記ステップ S6においてデータ記憶部48の最大文字サイズレジスタに記憶された2行目中 の最大文字サイズ(4倍角)に応じて、印字長・印字幅判断部46において、そ の印字幅が判断されデータ記憶部48の印字幅レジスタに(全角+4倍角)とし て加算される共に、該当印字行(2行目)とその最大文字サイズ(4倍角)とが 対応付けされて行数:文字サイズレジスタに記憶され、上記最大文字サイズレジ スタに記憶されていた今回読出し印字行(2行目)の最大文字サイズはクリアさ れる(ステップS1,S2→S7〜S10)。When the stop code “stop” indicating the end of the printed character string “ABC / Development Co., Ltd.” consisting of the above two lines is read from the print data storage unit 42, the data storage unit in step S6 described above. The print width / print width determination unit 46 determines the print width according to the maximum character size (quadruple size) in the second line stored in the maximum character size register 48, and the print width of the data storage unit 48. It is added to the register as (double-byte + quadruple-width), and the corresponding print line (second line) and its maximum character size (quadruple-width) are associated and stored in the line number: character-size register. The maximum character size of the currently read print line (second line) stored in the size register is cleared (steps S1, S2 → S7 to S10).

【0049】 ここで、データ記憶部48の最大印字長レジスタに記憶されている前回読出し 印字行までの最大印字長(この場合1行目の印字長)と上記ステップS4におい て印字長レジスタに記憶された今回読出し印字行(2行目)の印字長とが、印字 長・印字幅判断部46において長短比較判断され、その長い方の印字長、この場 合2行目の印字長が上記最大印字長レジスタに更新記憶されると共に、上記印字 長レジスタに記憶されていた2行目の印字長はクリアされる(ステップS11〜 S13)。Here, the maximum print length up to the previously read print line (in this case, the print length of the first line) stored in the maximum print length register of the data storage unit 48 and the print length register in step S4 are stored. The print length of the read-out print line (second line) read this time is compared and judged by the print length / print width determination unit 46, and the longer print length, in this case, the print length of the second line is the maximum above. The print length is updated and stored in the print length register, and the print length of the second line stored in the print length register is cleared (steps S11 to S13).

【0050】 そして、上記ステップS1における今回の読出し印字データが停止コード「停 」である場合には、1ラベル分の被印字文字列の読出しが終了したことになり、 データ記憶部48には、その印字幅データ(全角+4倍角)、各印字行毎の最大 文字サイズデータ(1行目:全角/2行目:4倍角)及び各印字行相互間の最大 印字長データ(2行目の印字長)が得られたことになる(ステップS14)。If the read print data of this time in step S 1 is the stop code “stop”, it means that the reading of the print character string for one label is completed, and the data storage unit 48 stores The print width data (full-width + quadruple-width), maximum character size data for each print line (first line: full-width / 2nd line: quadruple-width), and maximum print-length data between each print line (printing of the second line) Long) is obtained (step S14).

【0051】 ここで、ラベル幅検知スイッチ35からA/D変換部35dを介して得られた インクテープカートリッジ22における接着剤付きラベル23のラベル幅検知デ ータ(この場合18mm)と上記ステップS8においてデータ記憶部48の印字幅 レジスタに記憶された被印字文字列の印字幅データ(この場合全角+4倍角=9 mm)とが印字幅エラー判断部47において大小比較判断されるもので、この場合 、接着剤付きラベル23のラベル幅(18mm)よりも被印字文字列の印字幅(全 角+4倍角=9mm)は小さいので、被印字文字列入力時における設定書式通りの ラベル印字が可能であり、上記ステップS9においてデータ記憶部48の行数: 文字サイズレジスタに記憶された各印字行毎の最大文字サイズ(1行目:全角/ 2行目:4倍角)がレイアウト表示制御部43に転送される(ステップS15, S16)。Here, the label width detection data (18 mm in this case) of the adhesive label 23 in the ink tape cartridge 22 obtained from the label width detection switch 35 via the A / D conversion unit 35 d and the above step S 8 In this case, the print width error determination unit 47 compares the print width data of the print character string stored in the print width register of the data storage unit 48 (in this case, full width + quadruple angle = 9 mm). Since the print width of the print character string (full width + quadruple angle = 9 mm) is smaller than the label width (18 mm) of the label 23 with adhesive, it is possible to print the label according to the setting format when inputting the print character string. , Number of lines in the data storage unit 48 in step S9: Maximum character size for each print line stored in the character size register (first line: full-width / 2 lines : 4 double angle) is transferred to the layout display control unit 43 (step S15, S16).

【0052】 これにより、図7(B)で示すように、被印字文字列「ABC/株式会社開発 部」が表示される表示部13の上段右端には、1行目を細線,2行目倍角存在行 を太線とする印字イメージ13a,13bが表示されると共に、表示部13の上 段左端からカーソル指定文字(この場合改行対象文字「ABC」)に対応する文 字サイズ(1×1)、被印字文字列の印字方向(横)、装着中インクテープカー トリッジ22のラベル幅(18mm)、及び上記ステップS12においてデータ記 憶部48の最大印字長レジスタに記憶された被印字文字列の最大印字長(7cm) がそれぞれ表示されるようになる(ステップS17)。As a result, as shown in FIG. 7B, the first line is a thin line and the second line is on the right end of the upper part of the display unit 13 where the character string to be printed “ABC / Development Department” is displayed. Print images 13a and 13b with double-width lines as thick lines are displayed, and the character size (1x1) corresponding to the cursor designated character (in this case, the line feed target character "ABC") is displayed from the upper left edge of the display unit 13. , The printing direction (horizontal direction) of the printed character string, the label width (18 mm) of the mounted ink tape cartridge 22, and the printed character string stored in the maximum print length register of the data storage unit 48 in step S12. The maximum print length (7 cm) is displayed (step S17).

【0053】 すなわち、ユーザは、被印字文字列「ABC/株式会社開発部」の作成後に印 字モードを設定することで、2行目に倍角を含む2行からなる被印字文字列が1 8mm幅の接着剤付きラベル23に7cmの印字長で横書き印字されることを表示部 13上のレイアウト表示で予め知ることができ、このレイアウト表示に対応する ラベル印字処理が印字開始キーの操作に応じ印字部45にて成されるようになる 。That is, the user sets the print mode after creating the print-target character string “ABC / Development Co., Ltd.” so that the print-target character string consisting of two lines including double-width is 18 mm. It can be known in advance from the layout display on the display unit 13 that horizontal printing with a printing length of 7 cm will be performed on the label 23 with adhesive of width, and the label printing processing corresponding to this layout display can be performed according to the operation of the print start key. The printing unit 45 is used.

【0054】 また、1行目に「ABC」全角文字、2行目に「株式会社」全角文字、3行目 に「開発部」4倍角文字とした3行からなる被印字文字列「ABC/株式会社/ 開発部」が印字データ記憶部42に記憶された状態で、プリント部21に対し1 8mm幅の幅広ラベル23を有するインクテープカートリッジ22を装着すると共 に、キー入力部12のモード切替えキーを操作して印字モードを設定した場合に は、上記ステップS1〜S17を経ることで、図7(C)で示すように、被印字 文字列「ABC/株式会社/開発部」が表示される表示部13の上段右端には、 1行目及び2行目を細線,3行目倍角存在行を太線とする印字イメージ13a, 13bが表示されると共に、表示部13の上段左端からカーソル指定文字(この 場合改行対象文字「株式会社」)に対応する文字サイズ(1×1)、被印字文字 列の印字方向(横)、装着中インクテープカートリッジ22のラベル幅(18mm )、及びデータ記憶部48の最大印字長レジスタに記憶された被印字文字列の最 大印字長(4cm)がそれぞれ表示されるようになる。Further, the first line is “ABC” full-width characters, the second line is “Corporation” full-width characters, and the third line is “Development Department” quadruple-width characters. Co., Ltd./development department "stored in the print data storage unit 42, the ink tape cartridge 22 having the wide label 23 with a width of 18 mm is attached to the print unit 21, and the mode of the key input unit 12 is switched. When the key is operated to set the print mode, the print character string “ABC / corporation / development department” is displayed as shown in FIG. 7C by going through steps S1 to S17. The print images 13a and 13b in which the first and second lines are thin lines and the third-row double-height line is a thick line are displayed at the upper right end of the display unit 13 which is displayed, and the cursor is designated from the upper left end of the display unit 13. Character (this place Character size (1 x 1) corresponding to the line feed target character "Corporation", printing direction (horizontal direction) of the printed character string, label width (18 mm) of the loaded ink tape cartridge 22, and maximum of the data storage unit 48 The maximum print length (4 cm) of the print character string stored in the print length register is displayed.

【0055】 すなわち、ユーザは、被印字文字列「ABC/株式会社/開発部」の作成後に 印字モードを設定することで、3行目に倍角を含む3行からなる被印字文字列が 18mm幅の接着剤付きラベル23に4cmの印字長で横書き印字されることを表示 部13上のレイアウト表示で予め知ることができ、このレイアウト表示に対応す るラベル印字処理が印字開始キーの操作に応じ印字部45にて成されるようにな る。That is, the user sets the print mode after creating the print-target character string “ABC / Corporation / Development Department” so that the print-target character string consisting of three lines including double-width is 18 mm wide. It is possible to know in advance by the layout display on the display unit 13 that the label 23 with adhesive is printed horizontally with a print length of 4 cm, and the label printing process corresponding to this layout display is performed according to the operation of the print start key. The printing unit 45 is used.

【0056】 さらに、1行目に「ABC」全角文字、2行目に「株式会社」全角文字、3行 目に「開」4倍角文字、4行目に「発部」4倍角文字とした4行からなる被印字 文字列「ABC/株式会社/開/発部」が印字データ記憶部42に記憶された状 態で、プリント部21に対し18mm幅の幅広ラベル23を有するインクテープカ ートリッジ22を装着すると共に、キー入力部12のモード切替えキーを操作し て印字モードを設定すると、上記同様にしてステップS1〜S14の処理が実行 される。Further, “ABC” full-width characters are used on the first line, “Corporation” full-width characters are used on the second line, “Open” quadruple-width characters are used on the third line, and “Starting part” quadruple-width characters are used on the fourth line. An ink tape cartridge having a wide label 23 having a width of 18 mm with respect to the print portion 21 in a state where the print character string “ABC / Corporation / Open / Start portion” consisting of four lines is stored in the print data storage portion 42. When the print mode is set by operating the mode switching key of the key input unit 12 while mounting 22, the processes of steps S1 to S14 are executed in the same manner as described above.

【0057】 そして、上記ステップS1における今回の読出し印字データが停止コード「停 」である場合には、上記1ラベル分の被印字文字列「ABC/株式会社/開/発 部」の読出しが終了したことになり、データ記憶部48には、その印字幅データ (全角+全角+4倍角+4倍角)、各印字行毎の最大文字サイズデータ(1行目 :全角/2行目:全角/3行目:4倍角/4行目:4倍角)及び各印字行相互間 の最大印字長データ(2行目の印字長)が得られたことになる(ステップS14 )。Then, when the read print data of this time in step S1 is the stop code “stop”, the reading of the printable character string “ABC / corporation / open / issue part” for one label is completed. The print width data (full-width + full-width + 4-fold double-width + 4-double-width) and maximum character size data for each print line (first line: full-width / 2: full-width / 3 line) are stored in the data storage unit 48. This means that the maximum print length data (print length of the second line) between the print lines is obtained (step: S4).

【0058】 ここで、ラベル幅検知スイッチ35からA/D変換部35dを介して得られた インクテープカートリッジ22における接着剤付きラベル23のラベル幅検知デ ータ(この場合18mm)と上記ステップS8においてデータ記憶部48の印字幅 レジスタに記憶された被印字文字列の印字幅データ(この場合全角+全角+4倍 角+4倍角=18mm)とが印字幅エラー判断部47において大小比較判断される もので、この場合、接着剤付きラベル23のラベル幅(18mm)よりも被印字文 字列の印字幅(全角+全角+4倍角+4倍角=18mm)は小さくないので、被印 字文字列入力時における設定書式通りの4行印字は不可能であり、図7(D)で 示すように、被印字文字列「ABC/株式会社/開/発部」が表示される表示部 13の上段右端には、4行印字不可を示す“Err”メッセージ13cが表示さ れると共に、表示部13の上段左端からカーソル指定文字(この場合改行対象文 字「開」)に対応する文字サイズ(2×2)、被印字文字列の印字方向(横)、 装着中インクテープカートリッジ22のラベル幅(18mm)、及び改行不可能な 4行目の被印字文字列「発部」を印字長方向に加算した最大印字長(5cm)がそ れぞれ表示されるようになる(ステップS15→S18)。Here, the label width detection data (18 mm in this case) of the adhesive label 23 in the ink tape cartridge 22 obtained from the label width detection switch 35 via the A / D conversion unit 35 d and the above step S 8 In the print width error determination unit 47, the print width error determination unit 47 compares the print width data of the print character string stored in the print width register of the data storage unit 48 with the print width data (in this case, full width + full width + quadruple angle + quadruple angle = 18 mm). In this case, the print width (full width + full width + 4 double width + 4 double width = 18 mm) of the print character string is not smaller than the label width (18 mm) of the label 23 with adhesive, so when inputting the print character string It is impossible to print four lines according to the set format, and as shown in FIG. 7D, the display unit 13 on which the print character string “ABC / Corporation / Open / Publish” is displayed. An “Err” message 13c indicating that four lines cannot be printed is displayed at the upper right end of the upper line, and the character size (2 X2), the print direction of the print character string (horizontal), the label width (18 mm) of the ink tape cartridge 22 being installed, and the non-breakable line of the print character string of the 4th line "starting part" in the print length direction. The added maximum print length (5 cm) is displayed respectively (steps S15 → S18).

【0059】 すなわち、ユーザは、被印字文字列「ABC/株式会社/開/発部」の作成後 に印字モードを設定することで、設定書式通りの4行印字が不可能であることを 知ることができると共に、これを印字した場合には、被印字文字列が18mm幅の 接着剤付きラベル23に5cmの印字長で横書き印字されることを表示部13上で 予め知ることができ、印字開始キーを操作した場合には、この表示メッセージに 対応するラベル印字処理が印字部45にて成されるようになる。That is, the user knows that the four-line printing according to the set format cannot be performed by setting the print mode after creating the print target character string “ABC / Corporation / Open / Starting part”. In addition, it is possible to know in advance on the display unit 13 that when printing this, the character string to be printed is printed horizontally on the label 23 with an adhesive of 18 mm width with a printing length of 5 cm. When the start key is operated, the label printing process corresponding to this display message is performed by the printing unit 45.

【0060】 一方、上記図7(C)で示した場合と同様にして、1行目に「ABC」全角文 字、2行目に「株式会社」全角文字、3行目に「開発部」4倍角文字とした3行 からなる被印字文字列「ABC/株式会社/開発部」が印字データ記憶部42に 記憶された状態で、プリント部21に対し9mm幅の幅狭ラベル23を有するイン クテープカートリッジ22を装着した場合に、キー入力部12のモード切替えキ ーを操作して印字モードを設定すると、まず上記同様にしてステップS1〜S1 4の処理が実行される。On the other hand, similarly to the case shown in FIG. 7C, the first line is “ABC” full-width characters, the second line is “Corporation” full-width characters, and the third line is “development department”. With the printable character string “ABC / Corporation / Development Department” consisting of three lines of quadruple-width characters stored in the print data storage unit 42, the print label 21 has a narrow label 23 with a width of 9 mm. When the print mode is set by operating the mode switching key of the key input unit 12 when the tape cartridge 22 is mounted, the processes of steps S1 to S14 are first executed in the same manner as above.

【0061】 そして、上記ステップS1における今回の読出し印字データが停止コード「停 」である場合には、上記1ラベル分の被印字文字列「ABC/株式会社/開発部 」の読出しが終了したことになり、データ記憶部48には、その印字幅データ( 全角+全角+4倍角)、各印字行毎の最大文字サイズデータ(1行目:全角/2 行目:全角/3行目:4倍角)及び各印字行相互間の最大印字長データ(3行目 の印字長)が得られたことになる(ステップS14)。If the current read print data in step S1 is the stop code “stop”, the reading of the printable character string “ABC / corporation / development department” for one label has been completed. The print width data (full-width + full-width + quadruple-width) and maximum character size data for each print line (first line: full-width / 2nd line: full-width / 3rd line: quadruple-width) are stored in the data storage unit 48. ) And the maximum print length data (print length of the third line) between the print lines are obtained (step S14).

【0062】 ここで、ラベル幅検知スイッチ35からA/D変換部35dを介して得られた インクテープカートリッジ22における接着剤付きラベル23のラベル幅検知デ ータ(この場合9mm)と上記ステップS8においてデータ記憶部48の印字幅レ ジスタに記憶された被印字文字列の印字幅データ(この場合全角+全角+4倍角 =12mm)とが印字幅エラー判断部47において大小比較判断されるもので、こ の場合、接着剤付きラベル23のラベル幅(18mm)よりも被印字文字列の印字 幅(全角+全角+4倍角=12mm)は大きいので、被印字文字列入力時における 設定書式通りの3行印字は不可能であり、図7(E)で示すように、被印字文字 列「ABC/株式会社/開発部」が表示される表示部13の上段右端には、3行 印字不可を示す“Err”メッセージ13cが表示されると共に、表示部13の 上段左端からカーソル指定文字(この場合「開」)に対応する文字サイズ(2× 2)、被印字文字列の印字方向(横)、装着中インクテープカートリッジ22の ラベル幅(9mm)、及び改行不可能な3行目の被印字文字列「開発部」を印字長 方向に加算した最大印字長(11cm)がそれぞれ表示されるようになる(ステッ プS15→S18)。Here, the label width detection data (9 mm in this case) of the adhesive label 23 in the ink tape cartridge 22 obtained from the label width detection switch 35 via the A / D conversion section 35 d and the above step S 8 In the print width error determination unit 47, the print width data of the character string to be printed stored in the print width register of the data storage unit 48 (in this case, full-width + full-width + quadruple-angle = 12 mm) is compared. In this case, the print width (full-width + full-width + 4 double-width = 12 mm) of the print character string is larger than the label width (18 mm) of the label 23 with adhesive. Printing is impossible, and as shown in FIG. 7 (E), three lines are printed at the upper right end of the display unit 13 where the print character string "ABC / Corporation / Development Department" is displayed. The “Err” message 13c indicating “OK” is displayed, and the character size (2 × 2) corresponding to the cursor designated character (in this case, “open”) from the upper left end of the display unit 13 and the printing direction of the print target character string ( Width), the label width (9 mm) of the loaded ink tape cartridge 22, and the maximum print length (11 cm) in which the printable character string "Development Department" on the third line that cannot be fed is added in the print length direction is displayed. (Steps S15 → S18).

【0063】 すなわち、ユーザは、被印字文字列「ABC/株式会社/開発部」の作成後に 印字モードを設定することで、設定書式通りの3行印字が不可能であることを知 ることができると共に、これを印字した場合には、被印字文字列が9mm幅の接着 剤付きラベル23に11cmの印字長で横書き印字されることを表示部13上で予 め知ることができ、印字開始キーを操作した場合には、この表示メッセージに対 応するラベル印字処理が印字部45にて成されるようになる。That is, the user can know that three-line printing according to the set format cannot be performed by setting the print mode after creating the print target character string “ABC / Corporation / Development Department”. At the same time, when this is printed, it can be foreseen on the display 13 that the printed character string will be printed horizontally on the adhesive label 23 with a width of 9 mm with a printing length of 11 cm. When the key is operated, the label printing process corresponding to this display message is performed by the printing unit 45.

【0064】 したがって、上記構成のラベルプリンタによれば、印字データ記憶部42に記 憶させた被印字文字列の印字長及び印字幅を、その文字制御コードに基づき印字 長・印字幅判断部36において判断しデータ記憶部48に記憶させると共に、ラ ベル幅検知スイッチ35により検知される接着剤付きラベル23の寸法幅よりも 上記データ記憶部48に記憶させた被印字文字列の印字幅が小さいか否かを印字 幅エラー判断部47において判断させ、該印字幅がラベル幅以上となる場合には レイアウト表示制御部43から表示制御部44を通して表示部13に“Err” メッセージ13cを表示させるよう構成した「図7(D),(E)」ので、被印 字文字列作成時における設定書式通りでは、ラベル幅に対しその印字幅が広すぎ ることを未然に知ることができるようになる。Therefore, according to the label printer having the above configuration, the print length and print width of the print target character string stored in the print data storage unit 42 are determined based on the character control code. The print width of the print target character string stored in the data storage unit 48 is smaller than the dimension width of the adhesive label 23 detected by the label width detection switch 35. The print width error determination unit 47 determines whether or not the print width is greater than or equal to the label width. The layout display control unit 43 causes the display control unit 44 to display the "Err" message 13c on the display unit 13. Because of the configured "Figs. 7 (D) and (E)", the print width is too wide for the label width according to the setting format used when creating the character string to be printed. You will be able to know things in advance.

【0065】[0065]

【考案の効果】[Effect of device]

以上のように本考案によれば、印字データを入力するデータ入力手段と、印字 データを記憶するデータ記憶手段と、長尺な被印字媒体の幅方向の寸法幅を検知 する幅検知手段と、この幅検知手段により検知された寸法幅と上記データ記憶手 段に記憶された印字データとに基づき該印字データが上記長尺な被印字媒体の幅 方向の寸法幅内に印字可能か否かを判断する印字幅判断手段とを備えて構成した ので、もしも印字データの印字が不可能と判断された場合には、エラー表示を行 ない、印字中止を促す等の対策を講ずることができる。このため、その印字デー タが被印字媒体からはみ出して、印字不良が生じるのを未然に防止することが可 能になる。 As described above, according to the present invention, data input means for inputting print data, data storage means for storing print data, width detection means for detecting the width dimension of a long print medium, Based on the dimension width detected by the width detection means and the print data stored in the data storage means, it is determined whether the print data can be printed within the width dimension of the long print medium. Since the print width judging means for judging is provided, if it is judged that the print data cannot be printed, it is possible to take a measure such as displaying an error and urging the printing to be stopped. Therefore, it is possible to prevent the print data from running off the print medium and causing printing defects.

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

【図1】本考案の実施の形態に係わるラベルプリンタの
外観構成を示す図。
FIG. 1 is a diagram showing an external configuration of a label printer according to an embodiment of the present invention.

【図2】上記ラベルプリンタのプリント部の構成を示す
図。
FIG. 2 is a diagram showing a configuration of a print unit of the label printer.

【図3】上記ラベルプリンタのプリント部におけるラベ
ル幅及びインク色の検知構造を示す図。
FIG. 3 is a diagram showing a structure for detecting a label width and an ink color in a print unit of the label printer.

【図4】上記ラベルプリンタのプリント部におけるラベ
ル幅及びインク色の検知状態を示す図。
FIG. 4 is a diagram showing a state in which a label width and an ink color are detected in a print section of the label printer.

【図5】上記ラベルプリンタにおける電子回路の構成を
示すブロック図。
FIG. 5 is a block diagram showing a configuration of an electronic circuit in the label printer.

【図6】上記ラベルプリンタの印字モード設定時におけ
る印字レイアウト表示処理を示すフローチャート。
FIG. 6 is a flowchart showing a print layout display process when the print mode of the label printer is set.

【図7】上記ラベルプリンタにおける5種類の印字レイ
アウト表示状態とそのそれぞれのラベルプリント状態と
を対応付けて示す図。
FIG. 7 is a diagram showing five types of print layout display states in the label printer and their respective label print states in association with each other.

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

11 …本体ケース、 12 …キー入力部、 13 …表示部、 13a,13b…印字イメージ、 13c…“Err”メッセージ、 14 …電源スイッチ、 15 …ラベル排出口、 16 …カッタボタン、 16a…カッタ、 21 …プリント部、 22 …インクテープカートリッジ、 23 …接着剤付きラベル、 24 …インクリボン、 25 …転写部、 26 …ケース蓋、 27 …ラベル繰出しスプール、 28 …スプール軸、 29 …リボン巻取りスプール、 30 …リボン巻取り軸、 31a,31b…カートリッジの窪み、 32a…カートリッジガイド、 32b…カートリッジ押え用フック、 33 …プラテンローラ、 34 …サーマルプリントヘッド、 35 …ラベル幅検知スイッチ、 35a…幅検知可動板、 35b…可変抵抗器、 35c…幅検知信号出力線、 35d…A/D変換部、 36 …インク色検知スイッチ、 36a…溝検知可動板、 36b…マイクロスイッチ、 37 …プリント部基体、 37a〜37d…ガイドピン、 38 …色識別溝、 41 …制御部、 42 …印字データ記憶部、 43 …レイアウト表示制御部、 44 …表示制御部、 45 …印字部、 46 …印字長・印字幅判断部、 47 …印字幅エラー判断部、 48 …データ記憶部。 11 ... Main body case, 12 ... Key input part, 13 ... Display part, 13a, 13b ... Print image, 13c ... "Err" message, 14 ... Power switch, 15 ... Label discharge port, 16 ... Cutter button, 16a ... Cutter, 21 ... Print part, 22 ... Ink tape cartridge, 23 ... Label with adhesive, 24 ... Ink ribbon, 25 ... Transfer part, 26 ... Case lid, 27 ... Label feeding spool, 28 ... Spool shaft, 29 ... Ribbon take-up spool , 30 ... Ribbon winding shaft, 31a, 31b ... Indentation of cartridge, 32a ... Cartridge guide, 32b ... Hook for holding cartridge, 33 ... Platen roller, 34 ... Thermal print head, 35 ... Label width detection switch, 35a ... Width detection Movable plate, 35b ... Variable resistor, 35c ... Width Detection signal output line, 35d ... A / D conversion section, 36 ... Ink color detection switch, 36a ... Groove detection movable plate, 36b ... Micro switch, 37 ... Print section substrate, 37a-37d ... Guide pin, 38 ... Color identification groove , 41 ... control unit, 42 ... print data storage unit, 43 ... layout display control unit, 44 ... display control unit, 45 ... print unit, 46 ... print length / print width determination unit, 47 ... print width error determination unit, 48 ... data storage section.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 印字データを入力するデータ入力手段
と、 印字データを記憶するデータ記憶手段と、 長尺な被印字媒体の幅方向の寸法幅を検知する幅検知手
段と、 この幅検知手段により検知された寸法幅と上記データ記
憶手段に記憶された印字データとに基づき該印字データ
が上記長尺な被印字媒体の幅方向の寸法幅内に印字可能
か否かを判断する印字幅判断手段とを具備したことを特
徴とするプリンタ。
1. A data input unit for inputting print data, a data storage unit for storing print data, a width detecting unit for detecting a dimension width of a long print-receiving medium in the width direction, and a width detecting unit. A print width determination means for determining whether or not the print data can be printed within the widthwise dimension of the long print medium based on the detected dimension width and the print data stored in the data storage means. A printer comprising:
JP1995009148U 1995-08-30 1995-08-30 Printer Expired - Lifetime JP2583678Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1995009148U JP2583678Y2 (en) 1995-08-30 1995-08-30 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1995009148U JP2583678Y2 (en) 1995-08-30 1995-08-30 Printer

Publications (2)

Publication Number Publication Date
JPH08348U true JPH08348U (en) 1996-02-20
JP2583678Y2 JP2583678Y2 (en) 1998-10-27

Family

ID=18528934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1995009148U Expired - Lifetime JP2583678Y2 (en) 1995-08-30 1995-08-30 Printer

Country Status (1)

Country Link
JP (1) JP2583678Y2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5931173A (en) * 1982-08-17 1984-02-20 Sato :Kk Apparatus for continuously printing card
JPH0239973A (en) * 1988-07-29 1990-02-08 Fujitsu Ltd Printing control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5931173A (en) * 1982-08-17 1984-02-20 Sato :Kk Apparatus for continuously printing card
JPH0239973A (en) * 1988-07-29 1990-02-08 Fujitsu Ltd Printing control system

Also Published As

Publication number Publication date
JP2583678Y2 (en) 1998-10-27

Similar Documents

Publication Publication Date Title
EP0534794B1 (en) Tape printing device
JP2995314B2 (en) Tape cassette and printing device
JP2583625Y2 (en) Printer
EP0936076B1 (en) Tape printing device
EP0652110B1 (en) Tape printing apparatus having manual tape cutting device
EP0577247B1 (en) Tape print device
US5344247A (en) Printing device
JP3158750B2 (en) Printing device
US6293717B1 (en) Tape printing apparatus and tape printing method
JP2018065298A (en) Printer
JP3982378B2 (en) Tape printer, program, and recording medium
US6846118B2 (en) Printing system, printing method, and recording medium
JPH08348U (en) Printer
JPH10181140A (en) Printing device
JP2002200806A (en) Printer, controlling method therefor, and computer- readable information recording medium
JP5109575B2 (en) Information processing apparatus, tape printing apparatus, character string display method and program for information processing apparatus
JPH09109425A (en) Printer and recording paper used therein
JP2002254715A (en) Printer for tape-like printing medium
JPH0557985A (en) Printing control device
US5647676A (en) Document processing device having ruling function
JP2560958B2 (en) Tape printer
JPH10309840A (en) Printer
JP3139514B2 (en) Tape printer
JP4894799B2 (en) Printing device, printing method and control program
JPS63268677A (en) Label printer

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term