JPH11321053A - Printer - Google Patents

Printer

Info

Publication number
JPH11321053A
JPH11321053A JP14514198A JP14514198A JPH11321053A JP H11321053 A JPH11321053 A JP H11321053A JP 14514198 A JP14514198 A JP 14514198A JP 14514198 A JP14514198 A JP 14514198A JP H11321053 A JPH11321053 A JP H11321053A
Authority
JP
Japan
Prior art keywords
ink ribbon
ribbon
printing
print data
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14514198A
Other languages
Japanese (ja)
Inventor
Satoru Kimura
哲 木村
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 JP14514198A priority Critical patent/JPH11321053A/en
Publication of JPH11321053A publication Critical patent/JPH11321053A/en
Pending legal-status Critical Current

Links

Landscapes

  • Impression-Transfer Materials And Handling Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent waste of ink ribbon in test print by carrying an ink ribbon in the returning direction by an amount corresponding to the length of a print data when a decision is made that the carrying amount of ink ribbon is equal to or larger than the length of the print data. SOLUTION: A key input section 3 select to use a region of an ink ribbon located on the downstream side of a print head 27 thus selecting test print. When test print is selected, used amount of ink ribbon stored in an RAM 32 is compared with an expected length to be used and a decision is made whether test print is possible or not. If the used amount is equal to or larger than the expected length to be used, the ink ribbon is carried in the returning direction by a ribbon carrying mechanism 16 by an amount corresponding to the length of print data stored in the RAM 32. Since used part of the ink ribbon can be reused, waste of ink ribbon can be prevented in test print.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は印字装置に関す
る。
The present invention relates to a printing device.

【0002】[0002]

【従来の技術】従来、印字装置においては、記録紙など
の用紙(被印字媒体)にインクリボンを重ね合わせ、こ
の状態で少なくともインクリボンを送りながら印字ヘッ
ドが印字データに基づいてインクリボンのインクを用紙
に転写することにより、印字を行うものがある。この種
の印字装置は、インクリボンが収容されたリボンカセッ
トを装置本体内の所定個所に着脱可能に装着し、このイ
ンクリボンと装置本体内に挿入された用紙とを重ね合わ
せた状態で印字ヘッドとプラテンとの間に挾み、この状
態でインクリボンをリボンカセット内の供給リールから
繰り出して巻取リールで巻き取りながら、印字ヘッドが
印字データに基づいてインクリボンのインクを用紙に転
写するように構成されている。
2. Description of the Related Art Conventionally, in a printing apparatus, an ink ribbon is superimposed on a sheet (medium to be printed) such as recording paper, and in this state, at least while the ink ribbon is being fed, a print head controls the ink of the ink ribbon based on print data. In some cases, printing is performed by transferring the image on paper. In this type of printing apparatus, a ribbon cassette containing an ink ribbon is removably mounted at a predetermined position in the apparatus main body, and a print head is placed in a state where the ink ribbon and paper inserted in the apparatus main body are superimposed. In this condition, the print head transfers the ink of the ink ribbon to the paper based on the print data while feeding the ink ribbon from the supply reel in the ribbon cassette and winding the ink ribbon on the take-up reel. Is configured.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな印字装置では、インクリボンをリボンカセット内の
供給リールから繰り出して巻取リールで巻き取りながら
印字するだけの構成であるから、毎回の印字の度に、常
に、印字開始時にインクリボンの新たな部分が印字ヘッ
ドとプラテンとの間に送り出されることになり、このた
め試し印字をしたい場合でも、インクリボンの新たな部
分を使用して印字をしなければならず、インクリボンの
無駄な消費を余儀なくされていた。
However, in such a printing apparatus, since the ink ribbon is fed out of the supply reel in the ribbon cassette and is printed while being taken up by the take-up reel, printing is performed every time. Each time, a new portion of the ink ribbon is sent between the print head and the platen at the start of printing, so even if you want to perform test printing, you can print using the new portion of the ink ribbon. And had to waste ink ribbons.

【0004】この発明の課題は、一度使用したインクリ
ボンを巻戻して再度使用することにより、試し印字にお
けるインクリボンの無駄な消費を防ぐことである。
An object of the present invention is to prevent wasteful consumption of ink ribbon in test printing by rewinding the used ink ribbon and reusing it.

【0005】[0005]

【課題を解決するための手段】この発明は、インク部が
設けられた長尺状のインクリボンを送り方向および戻し
方向に搬送する搬送手段と、この搬送手段により送り方
向に搬送される前記インクリボンの前記インク部を印字
データに基づいて被印字媒体に印字する印字手段と、前
記印字データに基づいて前記印字手段により印字される
印字データ長を演算する演算手段と、この演算手段によ
り演算された前記印字データ長、および前記印字手段よ
り下流側に位置する前記インクリボンの搬送量を記憶す
る記憶手段と、この記憶手段に記憶された前記インクリ
ボンの搬送量と前記印字データ長との長さ寸法を比較す
る比較判断手段と、前記印字手段より下流側に位置する
前記インクリボンの領域を使用するか、または前記印字
手段より上流側に位置する前記インクリボンの領域を使
用するかを選択する選択手段と、この選択手段による選
択結果を判断する選択判断手段と、この選択判断手段に
より、前記印字手段より下流側に位置する前記インクリ
ボンの領域を使用することを前記選択手段により選択さ
れたと判断された場合、前記比較判断手段により前記記
憶手段に記憶された前記インクリボンの搬送量と前記印
字データ長との長さ寸法の比較を行い、前記インクリボ
ンの搬送量が前記印字データ長の長さ寸法と同一または
それよりも大きいと判断された場合には少なくとも前記
記憶手段に記憶された前記印字データ長の寸法分の前記
インクリボンを前記搬送手段により戻し方向に搬送する
戻し搬送制御手段とを備えたことを特徴とする。
According to the present invention, there is provided a conveying means for conveying a long ink ribbon provided with an ink portion in a feed direction and a return direction, and the ink conveyed in the feed direction by the transfer means. A printing unit that prints the ink portion of the ribbon on a print-receiving medium based on print data; a calculation unit that calculates a print data length that is printed by the printing unit based on the print data; Storage means for storing the print data length and the transport amount of the ink ribbon positioned downstream of the printing means; and the length of the transport amount of the ink ribbon and the print data length stored in the storage means. Comparison determination means for comparing the size, and using the area of the ink ribbon located downstream from the printing means, or upstream from the printing means Selection means for selecting whether to use the area of the ink ribbon to be placed, selection judgment means for judging a selection result by the selection means, and the ink ribbon positioned downstream of the printing means by the selection judgment means. When it is determined that the use of the area is selected by the selection unit, the comparison determination unit compares the transport amount of the ink ribbon stored in the storage unit with the length dimension of the print data. When it is determined that the transport amount of the ink ribbon is equal to or larger than the length of the print data length, the ink ribbon at least for the size of the print data length stored in the storage unit is determined. Transport control means for transporting in the return direction by the transport means.

【0006】この発明によれば、印字手段より下流側に
位置するインクリボンの領域を使用することを選択手段
で選択することにより、試し印字を選択することがで
き、この試し印字が選択されると、比較判断手段により
記憶手段に記憶されたインクリボンの搬送量と印字デー
タ長との長さ寸法を比較することにより、試し印字が可
能であるかを判断し、インクリボンの搬送量が印字デー
タ長の長さ寸法と同一またはそれよりも大きい場合に、
試し印字が可能であると判断され、これにより戻し搬送
制御手段が記憶手段に記憶された印字データ長の寸法分
のインクリボンを搬送手段で戻し方向に搬送させるの
で、試し印字に必要な長さだけインクリボンを巻き戻す
ことができ、これによりインクリボンの一度使用した部
分を再度使用することができ、試し印字におけるインク
リボンの無駄な消費を防ぐことができる。この場合、請
求項2に記載のごとく、比較判断手段により、記憶手段
に記憶された印字データ長が記憶手段に記憶されたイン
クリボンの搬送量の長さ寸法よりも大きいと判断された
場合、その旨を報知する報知手段を備えていれば、選択
手段で試し印字を選択した際、報知手段により使用済の
インクリボンの戻し量が足りないことを知らせることが
できる。
According to the present invention, the test printing can be selected by selecting the use of the area of the ink ribbon located downstream of the printing means by the selection means, and the test printing is selected. By comparing the length of the ink ribbon transport amount stored in the storage unit with the print data length by the comparison determining unit, it is determined whether test printing is possible, and the transport amount of the ink ribbon is printed. If the length of the data length is equal to or greater than the length dimension,
It is determined that test printing is possible, and the return conveyance control means causes the conveyance means to convey the ink ribbon of the size of the print data length stored in the storage means in the return direction. Only the ink ribbon can be rewound, so that the once used portion of the ink ribbon can be used again, and wasteful consumption of the ink ribbon in test printing can be prevented. In this case, as described in claim 2, when the comparison determination unit determines that the print data length stored in the storage unit is larger than the length dimension of the transport amount of the ink ribbon stored in the storage unit, If the notifying means for notifying that is provided, when the test printing is selected by the selecting means, the notifying means can notify that the returned amount of the used ink ribbon is insufficient.

【0007】[0007]

【発明の実施の形態】以下、図1〜図8を参照して、こ
の発明の印字装置の一実施形態について説明する。図1
は印字装置の外観斜視図である。この印字装置は、装置
本体1を備えている。この装置本体1の上部には、蓋ケ
ース2が開閉自在に取り付けられており、この蓋ケース
2の上面には、印字データや印字指令などの情報を入力
するキー入力部3、およびこのキー入力部3で入力され
た印字データやその処理結果などの情報を表示する表示
部4が設けられている。また、装置本体1の正面にはリ
ボンカセット5を出し入れするカセット出入口6が設け
られており、装置本体1の左側面には記録紙などの用紙
(被印字媒体)7が挿入する用紙挿入口8が設けられ、
これに対向する装置本体1の右側面には挿入された用紙
7を排出する用紙排出口(図示せず)が設けられてい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a printing apparatus according to the present invention will be described below with reference to FIGS. FIG.
1 is an external perspective view of a printing apparatus. This printing apparatus includes an apparatus main body 1. A lid case 2 is attached to the upper part of the apparatus main body 1 so as to be openable and closable. A key input unit 3 for inputting information such as print data and a print command, and a key input unit A display unit 4 is provided for displaying information such as print data input by the unit 3 and processing results thereof. On the front of the apparatus main body 1, there is provided a cassette entrance 6 through which a ribbon cassette 5 is inserted and removed. Is provided,
A paper discharge port (not shown) for discharging the inserted paper 7 is provided on the right side surface of the apparatus main body 1 opposed thereto.

【0008】リボンカセット5は、カセット出入口6か
ら装置本体1内に着脱可能に装着されるものであり、イ
ンクリボン10を収容するカセットケース11を備えて
いる。このカセットケース11内における左端部、つま
り用紙挿入口8側に位置する端部には、インクリボン1
0を供給する供給リール12が回転自在に設けられてお
り、その右端部つまり用紙排出口側に位置する端部に
は、供給されたインクリボン10を巻き取る巻取リール
13が回転自在に設けられている。また、供給リール1
2と巻取リール13との間に位置するカセットケース1
1の中央部には、インクリボン10の上下面を露出させ
る開口部14が上下に貫通して設けられている。なお、
このリボンカセット5は、白黒印字用とカラー印字用と
があり、これらがそれぞれインクリボン10の異なる幅
ごとに複数種類ずつ用意されている。
The ribbon cassette 5 is removably mounted in the apparatus main body 1 through the cassette entrance 6 and has a cassette case 11 for accommodating an ink ribbon 10. The left end of the cassette case 11, that is, the end located on the side of the paper insertion slot 8, has an ink ribbon 1.
The supply reel 12 for supplying the ink ribbon 10 is rotatably provided at the right end thereof, that is, at the end located on the paper discharge port side. Have been. Also, supply reel 1
Cassette case 1 located between 2 and take-up reel 13
An opening 14 that exposes the upper and lower surfaces of the ink ribbon 10 is provided vertically through a center portion of the ink ribbon 10. In addition,
The ribbon cassette 5 is provided for monochrome printing and color printing, and a plurality of types of these are prepared for different widths of the ink ribbon 10, respectively.

【0009】一方、装置本体1内には、図2に示すよう
に、挿入された用紙7を搬送する用紙搬送機構15、イ
ンクリボン10を搬送するリボン搬送機構16、および
用紙7に印字を施す印字機構17が設けられている。用
紙搬送機構15は、図1に示す用紙挿入口8と用紙排出
口との間に配置され、用紙挿入口8側(図2では左側)
に設けられた挿入側搬送ローラ部18と、用紙排出口側
(同図では右側)に設けられた排出側搬送ローラ部19
と、各搬送ローラ部18、19を駆動する用紙駆動部2
0とを備えている。各搬送ローラ部18、19は、それ
ぞれ一対のローラ18a、18b、19a、19bから
なり、これら一対のローラ18a、18bまたは19
a、19b間に用紙7を挾んだ状態で、用紙駆動部20
により駆動されて用紙7を搬送するように構成されてい
る。用紙駆動部20は、ステッピングモータ(図4に符
号34で示す)の回転を伝達部により各搬送ローラ部1
8、19に伝達し、各搬送ローラ部18、19の各一方
(図2では下側)のローラ18a、19aを駆動するよ
うに複数の歯車列により構成されている。
On the other hand, as shown in FIG. 2, in the apparatus body 1, a paper transport mechanism 15 for transporting the inserted paper 7, a ribbon transport mechanism 16 for transporting the ink ribbon 10, and printing on the paper 7 are performed. A printing mechanism 17 is provided. The paper transport mechanism 15 is disposed between the paper insertion port 8 and the paper discharge port shown in FIG. 1, and is located on the paper insertion port 8 side (the left side in FIG. 2).
And a discharge-side transport roller unit 19 provided on the paper discharge port side (the right side in the figure).
And a paper driving unit 2 for driving each of the transport roller units 18 and 19
0. Each of the transport roller portions 18 and 19 includes a pair of rollers 18a, 18b, 19a and 19b, respectively.
a, 19b with the paper 7 sandwiched between
, And is configured to transport the sheet 7. The paper driving unit 20 transmits the rotation of a stepping motor (indicated by reference numeral 34 in FIG. 4) to each of the transport roller units 1 by a transmission unit.
8 and 19, and is constituted by a plurality of gear trains so as to drive one (lower in FIG. 2) rollers 18a and 19a of each of the transport roller units 18 and 19.

【0010】また、この用紙搬送機構15は、装置本体
1内に挿入された用紙7の有無を検出する第1、第2紙
センサ21、22を備えている。第1紙センサ21は、
発光素子21aと受光素子21bとからなり、挿入側搬
送ローラ部18の挿入側近傍に配置され、用紙挿入口8
から装置本体1内に挿入された用紙7を検出する構成に
なっている。第2紙センサ22は、第1紙センサ21と
同様、発光素子22aと受光素子22bとからなり、排
出側搬送ローラ部19の挿入側近傍に配置され、用紙搬
送機構15によって印字機構17に送り込まれた用紙7
を検出するように構成されている。
The paper transport mechanism 15 includes first and second paper sensors 21 and 22 for detecting the presence or absence of the paper 7 inserted in the apparatus main body 1. The first paper sensor 21
A light-emitting element 21a and a light-receiving element 21b are arranged near the insertion side of the insertion-side transport roller unit 18, and the paper insertion port 8 is provided.
Is configured to detect the paper 7 inserted into the apparatus main body 1 from the apparatus. The second paper sensor 22, like the first paper sensor 21, includes a light emitting element 22a and a light receiving element 22b. The second paper sensor 22 is disposed near the insertion side of the discharge-side transport roller unit 19, and is sent to the printing mechanism 17 by the paper transport mechanism 15. Torn paper 7
Is configured to be detected.

【0011】リボン搬送機構16は、図2に示すよう
に、用紙搬送機構15によって搬送される用紙7の上方
に配設され、リボンカセット5が装着された際に、供給
リール12が装着する巻戻軸23と、巻取リール13が
装着する巻取軸24と、巻戻軸23および巻取軸24の
いずれか一方を切換可能に駆動するリボン駆動部(図示
せず)とを備えている。巻戻軸23および巻取軸24
は、それぞれ図示しないクラッチ機構を介してスリップ
回転可能に装置本体1内に設けられ、巻取軸24がリボ
ン駆動部によって駆動されると巻戻軸23がスリップ回
転し、逆に巻戻軸23がリボン駆動部によって駆動され
ると巻取軸24がスリップ回転するように構成されてい
る。リボン駆動部は、ステッピングモータ(図4に符号
36で示す)の正転、逆転を遊星歯車機構などの切換機
構(図示せず)により巻戻軸23と巻取軸24とのいず
れか一方に伝達することにより、例えばステッピングモ
ータ36の正転により巻取軸24をインクリボン10の
巻取り方向に回転させ、ステッピングモータ36の逆転
により巻戻軸23をインクリボン10の巻戻し方向に回
転させるように構成されている。
As shown in FIG. 2, the ribbon transport mechanism 16 is provided above the paper 7 transported by the paper transport mechanism 15, and is mounted on the supply reel 12 when the ribbon cassette 5 is loaded. The apparatus includes a return shaft 23, a take-up shaft 24 mounted on the take-up reel 13, and a ribbon drive unit (not shown) for driving one of the rewind shaft 23 and the take-up shaft 24 to be switchable. . Rewinding shaft 23 and winding shaft 24
Are provided in the apparatus main body 1 so as to be capable of slip rotation via a clutch mechanism (not shown). When the winding shaft 24 is driven by the ribbon driving unit, the rewind shaft 23 slips and rotates. Is driven by the ribbon drive unit, the winding shaft 24 is configured to perform slip rotation. The ribbon driving unit controls the forward rotation and the reverse rotation of the stepping motor (indicated by reference numeral 36 in FIG. 4) to one of the rewinding shaft 23 and the winding shaft 24 by a switching mechanism (not shown) such as a planetary gear mechanism. By transmitting, for example, the winding shaft 24 is rotated in the winding direction of the ink ribbon 10 by forward rotation of the stepping motor 36, and the rewind shaft 23 is rotated in the winding direction of the ink ribbon 10 by reverse rotation of the stepping motor 36. It is configured as follows.

【0012】このリボン搬送機構16は、リボンカセッ
ト5の種類を検出するカセットセンサ(図4に符号25
で示す)、およびマークセンサ26を備えている。この
マークセンサ26は、図2に示すように、発光素子26
aと受光素子26bとからなり、カラー印字用のインク
リボン10の検出マーク10a、10bを検出するもの
である。このカラー印字用のインクリボン10は、イエ
ロー(Y)、マゼンタ(M)、シアン(C)の三色のイ
ンク部がこの順でインクリボン10の長手方向に沿って
繰り返し連続して配列された構成になっている。検出マ
ーク10aは、インクリボン10のY、M、Cの各イン
ク部を1セットとし、その先頭(頭出し)を検出するた
めのものであり、Yインク部の下流側端部、つまりYイ
ンク部とCインク部との境界部分に太い幅で設けられて
いる。また、検出マーク10bは、Y、M、Cの各イン
ク部の終端を検出するためのものであり、Y、M、Cの
各インク部の境界部分に細い幅で設けられている。な
お、各検出マーク10a、10bは、いずれも黒色マー
クである。
The ribbon transport mechanism 16 has a cassette sensor (reference numeral 25 in FIG. 4) for detecting the type of the ribbon cassette 5.
), And a mark sensor 26. As shown in FIG. 2, the mark sensor 26
a and a light receiving element 26b for detecting the detection marks 10a and 10b of the ink ribbon 10 for color printing. In the ink ribbon 10 for color printing, three color ink portions of yellow (Y), magenta (M), and cyan (C) are repeatedly and continuously arranged in this order along the longitudinal direction of the ink ribbon 10. It has a configuration. The detection mark 10a is for detecting the head (cueing) of each ink portion of Y, M, and C of the ink ribbon 10 as one set, and detects the downstream end of the Y ink portion, that is, the Y ink portion. It is provided with a large width at the boundary between the portion and the C ink portion. The detection mark 10b is for detecting the end of each of the Y, M, and C ink portions, and is provided with a narrow width at the boundary between the Y, M, and C ink portions. Each of the detection marks 10a and 10b is a black mark.

【0013】印字機構17は、図2に示すように、印字
ヘッド27とプラテンローラ28とを備えている。プラ
テンローラ28は、用紙搬送機構15によって搬送され
る用紙7の下側にリボンカセット5と対向して回転自在
に配設され、用紙搬送機構15の用紙駆動部20によっ
て駆動されることにより、用紙搬送機構15による用紙
7の搬送速度と同期して回転するように構成されてい
る。印字ヘッド27は、ヘッド圧接離間機構29により
リボンカセット5の開口部14内を通してプラテンロー
ラ28に圧接離間するように構成されている。なお、プ
ラテンローラ28に対向する印字ヘッド27の対向面に
は、印字データに応じて発熱駆動される発熱素子(図示
せず)が設けられている。
The printing mechanism 17 includes a printing head 27 and a platen roller 28 as shown in FIG. The platen roller 28 is rotatably arranged below the sheet 7 conveyed by the sheet conveying mechanism 15 so as to face the ribbon cassette 5, and is driven by the sheet driving unit 20 of the sheet conveying mechanism 15 to form a sheet. It is configured to rotate in synchronization with the transport speed of the paper 7 by the transport mechanism 15. The print head 27 is configured to be brought into pressure contact with and separated from the platen roller 28 through the opening 14 of the ribbon cassette 5 by a head pressure contact / separation mechanism 29. A heating element (not shown) that is driven to generate heat in accordance with print data is provided on a surface of the print head 27 that faces the platen roller 28.

【0014】ヘッド圧接離間機構29は、図2に示すよ
うに、リボン搬送機構16に装着されたリボンカセット
5の上方に回動可能に設けられたヘッドアーム29aを
備え、このヘッドアーム29aの先端に印字ヘッド27
が設けられ、モータ(図4に符号39で示す)によって
回動する回動部材(図示せず)によりヘッドアーム29
aが回動し、これにより印字ヘッド27をプラテンロー
ラ28に圧接離間させるように構成されている。すなわ
ち、このヘッド圧接離間機構29は、ヘッドアーム29
aが図2において時計回りに回動すると、印字ヘッド2
7をリボンカセット5の上方からカセットケース11の
開口部14内に挿入させ、この印字ヘッド27によりリ
ボンカセット5内のインクリボン10を押し下げて用紙
7に重ね合わせ、この状態で印字ヘッド27をプラテン
ローラ28に圧接させ、またヘッドアーム29aが図2
において反時計回りに回動すると、印字ヘッド27をプ
ラテンローラ28から離間させてリボンカセット5の上
方に移動させるように構成されている。
As shown in FIG. 2, the head pressure contact / separation mechanism 29 includes a head arm 29a rotatably provided above the ribbon cassette 5 mounted on the ribbon transport mechanism 16, and a tip of the head arm 29a. Print head 27
The head arm 29 is rotated by a rotating member (not shown) that is rotated by a motor (indicated by reference numeral 39 in FIG. 4).
is rotated so that the print head 27 is pressed against and separated from the platen roller 28. That is, the head pressure contact / separation mechanism 29 is
a rotates clockwise in FIG.
7 is inserted into the opening 14 of the cassette case 11 from above the ribbon cassette 5, the ink ribbon 10 in the ribbon cassette 5 is pushed down by the print head 27 and overlapped on the paper 7, and in this state, the print head 27 is When the head arm 29a is pressed against the roller 28,
, The print head 27 is separated from the platen roller 28 and moved above the ribbon cassette 5.

【0015】次に、この印字装置の回路構成について、
図4のブロック図を参照して説明する。CPU(中央演
算処理装置)30は、ROM31に記憶されているプロ
グラムに従って印字装置全体を制御する制御部である。
また、ROM31には、リボンカセット5の種類ごとの
固定データであるリボン全長など、各種情報を記憶して
いる。RAM32は、CPU30によって処理されるデ
ータを記憶する。キー入力部3は、文字キー、印字キ
ー、選択キーなどの各種のキーを備え、そのキー操作に
応じて印字データや印字指令などの種々の情報をCPU
30に入力する。表示部4は、キー入力部3のキー操作
によって入力されたデータ、およびその処理結果などの
情報をCPU30から得て表示する。
Next, regarding the circuit configuration of the printing apparatus,
This will be described with reference to the block diagram of FIG. The CPU (Central Processing Unit) 30 is a control unit that controls the entire printing apparatus according to a program stored in the ROM 31.
Further, the ROM 31 stores various information such as the total length of the ribbon, which is fixed data for each type of the ribbon cassette 5. The RAM 32 stores data processed by the CPU 30. The key input unit 3 includes various keys such as a character key, a print key, and a selection key, and transmits various information such as print data and a print command in accordance with the key operation.
Enter 30. The display unit 4 obtains data input by key operation of the key input unit 3 and information such as a processing result from the CPU 30 and displays the data.

【0016】用紙搬送用モータ駆動回路33は、CPU
30からの駆動指令に応じて用紙搬送用のステッピング
モータ34を駆動し、用紙搬送機構15を動作させる。
リボン搬送用モータ駆動回路35は、CPU30からの
駆動指令に応じてリボン搬送用のステッピングモータ3
6を駆動し、リボン搬送機構16を動作させる。ヘッド
駆動回路37は、CPU30からの駆動指令に応じて印
字ヘッド27の発熱素子を印字データに応じて発熱駆動
する。ヘッド圧接離間モータ駆動回路38は、CPU3
0からの駆動指令に応じてヘッド圧接離間機構29のモ
ータ39を駆動してヘッドアーム29aを回動させるこ
とにより、印字ヘッド27をプラテンローラ28に圧接
離間させる。
The paper transport motor drive circuit 33 includes a CPU
In response to the drive command from the control unit 30, the stepping motor 34 for sheet conveyance is driven to operate the sheet conveyance mechanism 15.
The ribbon transport motor driving circuit 35 is provided with a ribbon transport stepping motor 3 in response to a drive command from the CPU 30.
6 to operate the ribbon transport mechanism 16. The head drive circuit 37 drives the heating elements of the print head 27 to generate heat according to print data in response to a drive command from the CPU 30. The head pressure contact / separation motor drive circuit 38 includes a CPU 3
The print head 27 is pressed and separated from the platen roller 28 by driving the motor 39 of the head pressure contact and separation mechanism 29 in response to the drive command from 0 to rotate the head arm 29a.

【0017】第1紙検出回路40は、用紙挿入口8から
装置本体内に挿入された用紙7が第1紙センサ21で検
出されると、その検出信号をCPU30に入力する。第
2紙検出回路41は、用紙搬送機構15によって印字機
構17に送り込まれた用紙7が第2紙センサ22で検出
されると、その検出信号をCPU30に入力する。カセ
ット検出回路42は、カセット出入口6から装置本体1
内に装着されたリボンカセット5の種類がカセットセン
サ25で検出されると、その検出信号をCPU30に入
力する。マーク検出回路43は、カラー印字用のインク
リボン10の各検出マーク10a、10bがマークセン
サ26で検出されると、その検出信号をCPU30に入
力する。カウンタ44は、各ステッピングモータ34、
36のステップ回転数を駆動パルスによりカウントし、
CPU30に入力する。
When the first paper sensor 21 detects the paper 7 inserted into the apparatus main body from the paper insertion slot 8, the first paper detection circuit 40 inputs a detection signal to the CPU 30. When the paper 7 sent to the printing mechanism 17 by the paper transport mechanism 15 is detected by the second paper sensor 22, the second paper detection circuit 41 inputs a detection signal to the CPU 30. The cassette detection circuit 42 is connected to the apparatus main body 1 through the cassette entrance 6.
When the type of the ribbon cassette 5 mounted in the inside is detected by the cassette sensor 25, the detection signal is input to the CPU 30. When the mark sensor 26 detects each of the detection marks 10a and 10b of the ink ribbon 10 for color printing, the mark detection circuit 43 inputs a detection signal to the CPU 30. The counter 44 is provided for each stepping motor 34,
36 step rotations are counted by the drive pulse,
Input to CPU30.

【0018】図5はRAM32の主要構成を示した図で
ある。このRAM32には、表示レジスタ32−1、ワ
ークエリア32−2、カセット別メモリ32−3などの
各種のメモリ領域が割り当てられている。表示レジスタ
32ー1は、表示部4に表示させる表示データを記憶す
るレジスタである。ワークエリア32−2には、キー入
力部3で入力された印字データ、この印字データに基づ
いて演算処理された印字データ長、CPU30の演算処
理のためのデータ、ROM31から読み出したデータな
どが記憶される。カセット別メモリ32−3は、リボン
カセット5の種類を記憶する領域であり、リボンカセッ
ト5の種類ごとに、リボンカセット5のタイプ、リボン
幅、使用済量Xnがそれぞれ分類されて記憶される。例
えば、タイプが白黒印字用の単色リボンカセットAで
は、リボン幅が9mm、使用済量が1m、タイプが単色
リボンカセットBでは、リボン幅が18mm、使用済量
が1.5m、タイプがカラー印字用のカラーリボンカセ
ットAでは、リボン幅が9mm、使用済量が0.1m、
タイプがカラーリボンカセットBでは、リボン幅が18
mm、使用済量が2.0mなどのように記憶される。
FIG. 5 is a diagram showing a main configuration of the RAM 32. Various memory areas such as a display register 32-1, a work area 32-2, and a cassette-specific memory 32-3 are allocated to the RAM 32. The display register 32-1 is a register that stores display data to be displayed on the display unit 4. The work area 32-2 stores print data input by the key input unit 3, print data length calculated based on the print data, data for calculation processing of the CPU 30, data read from the ROM 31, and the like. Is done. The cassette memory 32-3 is an area for storing the type of the ribbon cassette 5, and the type, the ribbon width, and the used amount Xn of the ribbon cassette 5 are classified and stored for each type of the ribbon cassette 5. For example, in the case of the monochrome ribbon cassette A for monochrome printing, the ribbon width is 9 mm and the used amount is 1 m. In the type monochrome ribbon cassette B, the ribbon width is 18 mm, the used amount is 1.5 m, and the type is color printing. Color ribbon cassette A, the ribbon width is 9 mm, the used amount is 0.1 m,
If the type is color ribbon cassette B, the ribbon width is 18
mm and the used amount are stored as 2.0 m.

【0019】次に、この印字装置の動作を図6〜図8に
示すフローチャートに従って説明する。図6のメインフ
ローがスタートする前提として、新品のリボンカセット
5をカセット出入口6から装置本体1内に装着した場
合、リセット釦を操作して後述するリボン使用済量Xn
を予めクリアしてある。そして、メインフローがスター
トすると、リボンカセット5の種類をカセットセンサ2
5が識別し、この識別されたリボンカセット5のリボン
使用済量XnをRAM32のカセット別メモリ32−3
から読み出してRAM32のワークエリア32−2に記
憶する(ステップS101)。そして、キー入力部3の
キー操作により印字データを入力してRAM32のワー
クエリア32−2に記憶する(ステップS102)。こ
のときには、リボンカセット5の種類(リボン幅)に応
じて入力文字データ(文字サイズ)も自動的に規制され
る。この後、キー入力部3の印字キーが押されたかを判
断し(ステップS103)、印字キーが押されていなけ
れば、ステップS102に戻って上記操作を繰り返し、
印字キーが押されてオンになると、表示部4に通常印字
と試し印字とを表示し(ステップS104)、キー入力
部3の選択キーである試し印字キーが押されたかを判断
する(ステップS105)。
Next, the operation of the printing apparatus will be described with reference to the flowcharts shown in FIGS. Assuming that the main flow of FIG. 6 starts, when a new ribbon cassette 5 is inserted into the apparatus main body 1 from the cassette entrance 6, the reset button is operated to operate a ribbon used amount Xn described later.
Has been cleared in advance. When the main flow starts, the type of the ribbon cassette 5 is determined by the cassette sensor 2.
5 identifies the used ribbon amount Xn of the ribbon cassette 5 in the cassette-specific memory 32-3 of the RAM 32.
And stores it in the work area 32-2 of the RAM 32 (step S101). Then, print data is input by key operation of the key input unit 3 and stored in the work area 32-2 of the RAM 32 (step S102). At this time, input character data (character size) is also automatically regulated according to the type (ribbon width) of the ribbon cassette 5. Thereafter, it is determined whether the print key of the key input unit 3 has been pressed (step S103). If the print key has not been pressed, the process returns to step S102 and the above operation is repeated.
When the print key is pressed and turned on, normal print and test print are displayed on the display unit 4 (step S104), and it is determined whether the test print key, which is a selection key of the key input unit 3, is pressed (step S105). ).

【0020】このステップS105で試し印字キーが押
されてオンになると、試し印字が選択されたと判断さ
れ、入力された印字データに対するインクリボン10の
リボン使用予定量yを演算処理してRAM32のワーク
エリア32−2に記憶する(ステップS106)。この
ステップ106の演算処理は、例えば、入力された印字
データに基づいて、文字サイズが5mm、入力文字数が1
0文字、文字ピッチが6mm、余白設定なしである場合、
リボン使用予定量yは、 y=(5×10)+{(6−5)×(10−1)}=50+9=59m
m=0.059m となる演算を行う。この演算結果(0.059m)は、RAM
32のワークエリア32−2にリボン使用予定量y(印
字データ長)として記憶される。このRAM32に記憶
されたリボン使用済量Xnとリボン使用予定量yとを比
較することにより、試し印字が可能であるかを判断する
(ステップS107)。このステップS105でリボン
使用済量Xnがリボン使用予定量yよりも少ない(Xn
<y)場合には、試し印字ができないと判断され、表示
部4にエラー表示をし(ステップS108)、使用済み
のインクリボン10が足りないため試し印字ができない
ことを知らせる。
When the test print key is pressed and turned on in step S105, it is determined that the test print has been selected, and the ribbon use amount y of the ink ribbon 10 with respect to the input print data is calculated, and the work of the RAM 32 is performed. It is stored in the area 32-2 (step S106). The calculation processing in step 106 is performed, for example, based on the input print data, when the character size is 5 mm and the number of input characters is 1
If there are 0 characters, the character pitch is 6mm, and there is no margin setting,
The expected amount of ribbon y is y = (5 × 10) + {(6−5) × (10−1)} = 50 + 9 = 59m
Perform an operation to make m = 0.059m. This calculation result (0.059m) is stored in RAM
In the 32 work area 32-2, the ribbon use amount y (print data length) is stored. By comparing the ribbon used amount Xn stored in the RAM 32 with the ribbon used amount y, it is determined whether or not test printing is possible (step S107). In this step S105, the used amount Xn of the ribbon is smaller than the planned amount y of the ribbon used (Xn
In the case of <y), it is determined that the test printing cannot be performed, and an error is displayed on the display unit 4 (step S108) to inform that the test printing cannot be performed because the used ink ribbon 10 is insufficient.

【0021】また、ステップS107でリボン使用済量
Xnがリボン使用予定量yと同じか、またはそれよりも
多い(Xn≧y)場合には、試し印字が可能であると判
断され、リボンカセット5の種類をカセットセンサ25
で再度判別する(ステップS109)。このステップS
109でリボンカセット5がカセットセンサ25により
白黒印字用の単色リボンカセットのうちの1つ、例えば
単色リボンカセットAであると判断されると、ヘッド圧
接離間機構29のモータ39を駆動してヘッドアーム2
9aを反時計回りに回動させ、これにより印字機構17
の印字ヘッド27をプラテンローラ28から離間させ
(ステップS110)、白黒印字用のインクリボン10
の巻戻し処理を実行する(ステップS200)。
If the used ribbon amount Xn is equal to or larger than the expected ribbon usage amount y in step S107 (Xn ≧ y), it is determined that test printing is possible and the ribbon cassette 5 Sensor type 25
Is determined again (step S109). This step S
If it is determined at 109 that the ribbon cassette 5 is one of the monochrome ribbon cassettes for monochrome printing, for example, the monochrome ribbon cassette A by the cassette sensor 25, the motor 39 of the head pressure contact / separation mechanism 29 is driven to drive the head arm. 2
9a is rotated counterclockwise, whereby the printing mechanism 17 is rotated.
Is separated from the platen roller 28 (step S110), and the ink ribbon 10 for black and white printing
(Step S200).

【0022】このステップS200におけるインクリボ
ン10の巻戻し処理は、図7に示すように、まず、白黒
印字用のインクリボン10のリボン巻戻量fを0にセッ
トした後(ステップS201)、リボン搬送機構16の
ステッピングモータ36を逆転させて巻戻軸23を巻戻
し方向に回転させ、インクリボン10の巻戻しを開始し
(ステップS202)、リボン搬送機構16のステッピ
ングモータ36のステッピング数をカウンタ44でカウ
ントすることにより、インクリボン10のリボン巻戻量
(f=f+1)を計測し(ステップS203)、リボン
巻戻量fとリボン使用予定量y(例えばy=0.059m)と
を比較することにより、印字データ長分だけインクリボ
ン10を巻き戻したか否かを判断し(ステップS20
4)、その両者が同じでなければ(f<y)、ステップ
S202に戻ってインクリボン10の巻戻しを継続し、
両者が同じになれば(f=y)、印字データ長分だけイ
ンクリボン10が供給リール12に巻き戻されたと判断
され、メインフローに戻る。
As shown in FIG. 7, in the rewinding process of the ink ribbon 10 in step S200, first, the ribbon rewinding amount f of the ink ribbon 10 for black and white printing is set to 0 (step S201). The stepping motor 36 of the transport mechanism 16 is rotated in the reverse direction to rotate the rewind shaft 23 in the rewind direction to start the rewinding of the ink ribbon 10 (step S202), and the stepping number of the stepping motor 36 of the ribbon transport mechanism 16 is counted. By counting at 44, the ribbon rewind amount (f = f + 1) of the ink ribbon 10 is measured (step S203), and the ribbon rewind amount f is compared with the expected ribbon use amount y (for example, y = 0.059m). Accordingly, it is determined whether the ink ribbon 10 has been rewound by the print data length (step S20).
4) If the two are not the same (f <y), the process returns to step S202 to continue the rewinding of the ink ribbon 10,
If both are the same (f = y), it is determined that the ink ribbon 10 has been rewound on the supply reel 12 by the print data length, and the process returns to the main flow.

【0023】そして、ステップS200で白黒印字用の
インクリボン10の巻戻し処理が終了すると、ヘッド圧
接離間機構29のモータ39を駆動してヘッドアーム2
9aを時計回りに回動させ、これにより印字ヘッド27
をプラテンローラ28にインクリボン10および用紙7
を介して圧接させ(ステップS111)、この状態で単
色印字処理を実行する(ステップS112)。このステ
ップS112の単色印字処理は、用紙搬送機構15の各
搬送ローラ18、19により用紙7を用紙挿入口8側か
ら用紙排出口側に向けて搬送するとともに、リボン搬送
機構16のステッピングモータ36を正転させて巻き戻
されたインクリボン10を供給リール12から繰り出し
て巻取リール13で巻き取りながら、印字ヘッド27の
発熱素子を印字データに基づいて発熱駆動させることに
より、インクリボン10のインクを用紙7に順次転写
し、用紙7およびインクリボン10を印字データ長だけ
搬送して印字が行われると、白黒印字用のインクリボン
10による試し印字を終了する。
When the rewinding process of the ink ribbon 10 for black and white printing is completed in step S200, the motor 39 of the head pressure contact / separation mechanism 29 is driven to drive the head arm 2
9a is rotated clockwise, whereby the print head 27 is rotated.
To the platen roller 28 with the ink ribbon 10 and the paper 7
(Step S111), and the monochrome printing process is executed in this state (step S112). In the monochrome printing process in step S112, the paper 7 is transported from the paper insertion port 8 side to the paper discharge port side by the transport rollers 18 and 19 of the paper transport mechanism 15, and the stepping motor 36 of the ribbon transport mechanism 16 is operated. By causing the heating element of the print head 27 to generate heat based on the print data while feeding out the ink ribbon 10 that has been normally rotated and rewound from the supply reel 12 and winding it up with the take-up reel 13, the ink of the ink ribbon 10 is Are sequentially transferred to the paper 7, and when printing is performed by transporting the paper 7 and the ink ribbon 10 by the print data length, the test printing using the ink ribbon 10 for monochrome printing is completed.

【0024】ところで、ステップS109でリボンカセ
ット5がカセットセンサ25によりカラー印字用のリボ
ンカセット5と判断されると、そのリボンカセット5に
おける印字使用に要するY、M、Cの各インク部のセッ
ト回数iを算出する(ステップS113)。このセット
回数iは、リボン使用量yをインクリボン10のY、
M、Cの各インク部の1セット分の長さrで割った値
(i=y/r)であり、例えば、リボン使用量yが10.5
cmで、Y、M、Cの各インク部の長さrが5cmであると
すると、i=10.5/5=2.1となる。この算出結果の値
(例えばi=2.1)の小数点以下を繰り上げてセット回
数iを整数化処理(例えば、i=2.1≒3)する(ステッ
プS114)。この後、ヘッド圧接離間機構29のモー
タ39を駆動して印字ヘッド27をプラテンローラ28
から離間させ(ステップS115)、カラー印字用のイ
ンクリボン10のセット回数iに相当するセット数分だ
け、インクリボン10の巻戻し処理を実行する(ステッ
プS300)。
If the ribbon sensor 5 is determined to be a ribbon cassette 5 for color printing by the cassette sensor 25 in step S109, the number of setting of each of the Y, M, and C ink portions required for printing in the ribbon cassette 5 is performed. i is calculated (step S113). The set number i is determined by changing the used amount y of the ribbon to Y of the ink ribbon 10,
This is a value (i = y / r) obtained by dividing the length r of one set of each of the ink portions M and C (i = y / r).
Assuming that the length r of each of the Y, M, and C ink portions is 5 cm in cm, i = 10.5 / 5 = 2.1. The value of this calculation result (for example, i = 2.1) is rounded up to the decimal point, and the set number i is converted to an integer (for example, i = 2.1 ≒ 3) (step S114). Thereafter, the motor 39 of the head pressure contact / separation mechanism 29 is driven to move the print head 27 to the platen roller 28.
(Step S115), and the rewinding process of the ink ribbon 10 is executed by the number of sets corresponding to the set number i of the ink ribbon 10 for color printing (step S300).

【0025】このステップS300におけるカラー印字
用のインクリボン10の巻戻し処理は、図8に示すよう
に、まず、マークセンサ26で検出されるインクリボン
10の各検出マーク10a、10bに相当する黒色マー
クの太さデータgを0にセットするとともに、セット回
数iの値を変数kに代入し(ステップS301)、リボ
ン搬送機構16の巻戻軸23を回転させてインクリボン
10の巻戻しを開始し(ステップS302)、マークセ
ンサ26がインクリボン10の黒色マークの検出を終了
したかを判断する(ステップS303)。このとき、マ
ークセンサ26が黒色マークの検出を終了していないと
判断されると、マークセンサ26が黒色マークを検出し
ているか否かを判断し(ステップS304)、黒色マー
クの検出中であれば黒色マークの太さデータgをカウン
トして(g=g+1)、黒色マークの太さの計測を開始
し(ステップS305)、ステップS302に戻ってカ
ラー印字用のインクリボン10の巻戻しを続行する。な
お、ステップS304で黒色マークを検出していないと
判断されたときは、上記と同様、ステップS302に戻
ってカラー印字用のインクリボン10の巻戻しを続行す
る。
In the rewinding process of the color printing ink ribbon 10 in step S300, as shown in FIG. 8, first, a black color corresponding to each detection mark 10a, 10b of the ink ribbon 10 detected by the mark sensor 26 is obtained. The thickness data g of the mark is set to 0, the value of the number of times i is substituted for the variable k (step S301), and the rewind shaft 23 of the ribbon transport mechanism 16 is rotated to start the rewinding of the ink ribbon 10. Then, it is determined whether the mark sensor 26 has finished detecting the black mark on the ink ribbon 10 (step S303). At this time, if it is determined that the mark sensor 26 has not finished detecting the black mark, it is determined whether or not the mark sensor 26 has detected the black mark (step S304). For example, the thickness data g of the black mark is counted (g = g + 1), the measurement of the thickness of the black mark is started (step S305), and the process returns to step S302 to continue rewinding the ink ribbon 10 for color printing. I do. If it is determined in step S304 that a black mark has not been detected, the process returns to step S302 to continue rewinding the ink ribbon 10 for color printing, as described above.

【0026】ステップS303でマークセンサ26が検
出マーク10a、10bのいずれかに相当する黒色マー
クの検出を終了したと判断すると、黒色マークの太さデ
ータgと検出マーク10a、10bの太さの基準値j
(検出マーク10aと検出マーク10bとを識別するた
めの基準値である)とを比較する(ステップS30
6)。このステップS306で黒色マークの太さデータ
gが太さの基準値j以下の値(g≦j)になった場合に
は、黒色マークがインクリボン10のY、M、Cの各イ
ンク部ごとの検出マーク10bであると判断され、ステ
ップS301に戻って上記動作を繰り返し、黒色マーク
の太さデータgが太さ基準値jよりも大きい(g>j)
場合には、インクリボン10の頭出し用の検出マーク1
0aと判断され、セット回数iの値が代入された変数k
の値を減算してインクリボン10の巻戻し量を計測する
(ステップS307)。そして、変数kの値が0である
かを判断し(ステップS308)、変数kの値が0でな
ければステップS301に戻って上記巻戻し動作を繰り
返し、変数kの値が0になると(k=0)、カラー印字
用のインクリボン10のセット回数iに相当するセット
数分だけ、インクリボン10を巻戻したと判断され、イ
ンクリボン10の巻戻し処理を終了し、メインフローに
戻る。
In step S303, when the mark sensor 26 determines that the detection of the black mark corresponding to one of the detection marks 10a and 10b has been completed, the thickness data g of the black mark and the reference of the thickness of the detection marks 10a and 10b are determined. Value j
(Which is a reference value for identifying the detection mark 10a and the detection mark 10b) (step S30).
6). If the thickness data g of the black mark becomes equal to or smaller than the thickness reference value j (g ≦ j) in step S306, the black mark is set for each of the Y, M, and C ink portions of the ink ribbon 10. Is determined to be the detection mark 10b, and the operation returns to step S301 to repeat the above operation, and the thickness data g of the black mark is larger than the thickness reference value j (g> j).
In this case, the detection mark 1 for cueing the ink ribbon 10
0 k and the variable k to which the value of the set number i is substituted
Is subtracted, and the rewind amount of the ink ribbon 10 is measured (step S307). Then, it is determined whether or not the value of the variable k is 0 (step S308). If the value of the variable k is not 0, the process returns to step S301 to repeat the rewinding operation. = 0), it is determined that the ink ribbon 10 has been rewound by the number of sets corresponding to the set number i of the ink ribbons 10 for color printing, and the rewinding process of the ink ribbon 10 ends, and the process returns to the main flow.

【0027】ステップS300でカラー印字用のインク
リボン10の巻戻し処理が終了すると、ヘッド圧接離間
機構29のモータ39を駆動して印字ヘッド27をプラ
テンローラ28にインクリボン10および用紙7を介し
て圧接させ(ステップS116)、カラー印字処理を実
行する(ステップS117)。このステップS117の
カラー印字処理は、用紙搬送機構15の各搬送ローラ1
8、19により用紙7を用紙挿入口8側から用紙排出口
側に向けて搬送するとともに、リボン搬送機構16によ
り巻き戻されたカラー印字用のインクリボン10を供給
リール12から繰り出して巻取リール13で巻き取りな
がら、印字ヘッド27の発熱素子を印字データに基づい
て発熱駆動させることにより、インクリボン10のY、
M、Cの各インク部のうち、まず、Yインク部で用紙7
に印字する。
When the rewinding process of the ink ribbon 10 for color printing is completed in step S300, the motor 39 of the head pressure contact / separation mechanism 29 is driven to move the print head 27 to the platen roller 28 via the ink ribbon 10 and the paper 7. The color printing process is performed (step S117). The color printing process of step S117 is performed by each transport roller 1 of the paper transport mechanism 15.
8 and 19, the paper 7 is conveyed from the paper insertion port 8 side to the paper discharge port side, and the color printing ink ribbon 10 rewound by the ribbon conveyance mechanism 16 is fed out from the supply reel 12 and taken up. By driving the heating elements of the print head 27 to generate heat based on the print data while winding at 13, the Y,
Of the M and C ink units, first, the Y ink unit
Print on.

【0028】そして、Yインク部の終端に設けられた検
出マーク10bがマークセンサ26で検出されると、Y
インク部の印字が終了したと判断され、ヘッド圧接離間
機構29のモータ39を駆動して印字ヘッド27をプラ
テンローラ28から離間させ、用紙搬送機構15により
用紙7のみを用紙排出口側から用紙挿入口8側に向けて
逆方向に搬送し、Yインク部で印字した長さだけ用紙7
を戻し、再び、用紙搬送機構15により用紙7を用紙挿
入口8側から用紙排出口側に向けて搬送するとともに、
リボン搬送機構16によりカラー印字用のインクリボン
10を供給リール12から繰り出して巻取リール13で
巻き取りながら、印字ヘッド27の発熱素子を印字デー
タに基づいて発熱駆動させることにより、インクリボン
10の次のインク部であるMインク部で用紙7に印字す
る。この動作をY、M、Cの各インク部ごとに繰り返
し、Y、M、Cの各インク部を用紙7に重ね印字して1
セット分のカラー印字を行う。
When the detection mark 10b provided at the end of the Y ink portion is detected by the mark sensor 26, the Y mark is detected.
When it is determined that the printing of the ink portion has been completed, the motor 39 of the head pressure contact / separation mechanism 29 is driven to separate the print head 27 from the platen roller 28, and only the paper 7 is inserted from the paper outlet by the paper transport mechanism 15. The paper 7 is conveyed in the opposite direction toward the opening 8 side, and the length of the paper 7
The paper 7 is again transported from the paper insertion port 8 side to the paper discharge port side by the paper transport mechanism 15, and
While the ink ribbon 10 for color printing is unwound from the supply reel 12 by the ribbon transport mechanism 16 and wound up by the take-up reel 13, the heating element of the print head 27 is driven to generate heat based on the print data. Printing is performed on the paper 7 with the M ink portion, which is the next ink portion. This operation is repeated for each of the Y, M, and C ink portions.
Perform color printing for the set.

【0029】ステップS117のカラー印字処理で1セ
ット分のカラー印字が終了すると、そのカラー印字の終
了ごとに、セット回数iを減算し(ステップS11
8)、セット回数iが0であるか否かを判断する(ステ
ップS119)。すなわち、セット回数iが0でなけれ
ば、印字データの全ての印字が終了していないと判断さ
れ、ステップS117に戻ってカラー印字処理を繰り返
し、セット回数iが0になると、印字データに基づいた
印字データ長のすべての印字が終了したと判断され、カ
ラー印字用のインクリボン10による試し印字を終了
し、このメインフローを終了する。
When one set of color printing is completed in the color printing process of step S117, the set number i is subtracted each time the color printing is completed (step S11).
8) It is determined whether or not the set number i is 0 (step S119). That is, if the set number i is not 0, it is determined that all the printing of the print data has not been completed, and the process returns to step S117 to repeat the color printing process. It is determined that all printing of the print data length has been completed, and the test printing using the ink ribbon 10 for color printing ends, and this main flow ends.

【0030】なお、このメインフローのステップS10
5で試し印字キーが押されなければ、通常印字キーが押
されたかを判断し(ステップS120)、通常印字キー
も押されていなければ、印字処理をしないと判断され、
このメインフローを終了し、通常印字キーが押される
と、リボンカセット5の種類をカセットセンサ25によ
り判別する(ステップS121)。このステップS12
1でリボンカセット5がカセットセンサ25により白黒
印字用の単色リボンカセットと判断されると、ステップ
S111に戻り、ヘッド圧接離間機構29により印字ヘ
ッド27をプラテンローラ28に圧接させて、ステップ
S112で単色印字処理を実行する。また、ステップS
121でリボンカセット5がカセットセンサ25により
カラー印字用のカラーリボンカセットと判断されると、
通常のカラー印字処理を実行し(ステップS122)、
このメインフローを終了する。
Note that step S10 of the main flow
If the test print key is not pressed in step 5, it is determined whether the normal print key is pressed (step S120). If the normal print key is not pressed, it is determined that the printing process is not performed.
When the main print key is pressed after the main flow is finished, the type of the ribbon cassette 5 is determined by the cassette sensor 25 (step S121). This step S12
If the ribbon sensor 5 is determined to be a monochrome ribbon cassette for black and white printing by the cassette sensor 25 in step 1, the process returns to step S111, in which the print head 27 is pressed against the platen roller 28 by the head pressure contact / separation mechanism 29, and the single color ribbon in step S112. Execute the printing process. Step S
When the ribbon sensor 5 is determined to be a color ribbon cassette for color printing by the cassette sensor 25 at 121,
A normal color printing process is executed (step S122),
This main flow ends.

【0031】このように、この印字装置では、印字ヘッ
ド27よりも下流側に位置するインクリボン10の領域
を使用することをキー入力部3で選択することにより、
試し印字を選択することができ、この試し印字が選択さ
れると、RAM32に記憶されたインクリボン10の使
用済量Xnと使用予定量yとの長さを比較することによ
り、試し印字が可能であるかが判断され、使用済量Xn
が使用予定量yと同一またはそれよりも大きい場合に、
試し印字が可能であると判断され、これによりRAM3
2に記憶された印字データ長の寸法分のインクリボン1
0をリボン搬送機構16により巻き戻すので、試し印字
に必要な長さだけインクリボン10を巻き戻すことがで
き、これによりインクリボン10の一度使用した部分を
再度使用することができ、試し印字におけるインクリボ
ン10の無駄な消費を防ぐことができる。この場合、R
AM32に記憶された印字データ長(使用予定量y)が
インクリボン10の使用済量Xnよりも大きいと判断さ
れた場合、その旨を表示部4にエラー表示するので、試
し印字を選択した際、インクリボン10の使用済量Xn
が足りないことを知らせることができる。
As described above, in this printing apparatus, by using the key input unit 3 to use the area of the ink ribbon 10 located downstream of the print head 27,
A test print can be selected. When the test print is selected, the test print can be performed by comparing the length of the used amount Xn and the planned use amount y of the ink ribbon 10 stored in the RAM 32. Is determined, and the used amount Xn
Is the same as or larger than the intended use amount y,
It is determined that test printing is possible, and the
Ink ribbon 1 for the size of the print data length stored in 2
Since the ink ribbon 10 is rewound by the ribbon transport mechanism 16, the ink ribbon 10 can be rewound by a length necessary for the test printing, so that the once used portion of the ink ribbon 10 can be used again. Useless consumption of the ink ribbon 10 can be prevented. In this case, R
If it is determined that the print data length (scheduled use amount y) stored in the AM 32 is larger than the used amount Xn of the ink ribbon 10, an error message is displayed on the display unit 4. Used amount Xn of the ink ribbon 10
Can be notified that there is not enough.

【0032】なお、上記実施形態では、リボン搬送機構
16によるインクリボン10の搬送量をステッピングモ
ータ36のステッピング数によって計測したが、これに
限らず、例えばリボン搬送機構16の巻戻軸12および
巻取軸13の各回転角度をそれぞれエンコーダなどの検
出器で検出して、インクリボン10の送り方向および戻
し方向の搬送量を計測するようにしても良い。また、上
記実施形態では、カラー印字用のインクリボン10に設
けられた検出マーク10a、10bをマークセンサ26
で検出してインクリボン10の頭出しを行うようにした
が、カラー印字用のインクリボンに限らず、白黒印字用
の単色インクリボンの幅方向における1辺または両辺に
検出マークを設け、この検出マークをセンサで検出する
ことにより、白黒印字用の単色インクリボンの巻戻し量
を計測するようにしても良い。
In the above embodiment, the transport amount of the ink ribbon 10 by the ribbon transport mechanism 16 is measured by the stepping number of the stepping motor 36. However, the present invention is not limited to this. Each rotation angle of the take-up shaft 13 may be detected by a detector such as an encoder, and the transport amount of the ink ribbon 10 in the feed direction and the return direction may be measured. In the above embodiment, the detection marks 10a and 10b provided on the ink ribbon 10 for color printing are
The detection mark is provided on one or both sides in the width direction of the monochrome ink ribbon for monochrome printing, not limited to the ink ribbon for color printing. By detecting the mark with a sensor, the rewind amount of the monochrome ink ribbon for black and white printing may be measured.

【0033】さらに、上記実施形態では、用紙搬送機構
15、リボン搬送機構16、およびヘッド圧接離間機構
29をそれぞれ別々のモータ34、36、39で駆動す
るようにしたが、これに限らず、1つのモータで用紙搬
送機構15、リボン搬送機構16、およびヘッド圧接離
間機構29を駆動するように構成しても良い。また、上
記実施形態では、記録紙などの被印字媒体としてシート
状にカットされた用紙7を使用した場合について述べた
が、これに限らず、例えばロール状に巻かれた長尺状の
用紙を使用しても良い。
Further, in the above-described embodiment, the paper transport mechanism 15, the ribbon transport mechanism 16, and the head pressure contact / separation mechanism 29 are driven by separate motors 34, 36, and 39, respectively. The paper transport mechanism 15, the ribbon transport mechanism 16, and the head pressure contact / separation mechanism 29 may be configured to be driven by two motors. Further, in the above-described embodiment, the case where the sheet 7 cut into a sheet is used as a print-receiving medium such as a recording sheet is described. However, the present invention is not limited to this. For example, a long sheet wound in a roll may be used. May be used.

【0034】なおまた、上記実施形態では、インクリボ
ン10と用紙7とが別々に装置本体1内に挿入されるよ
うに構成されているが、これに限らず、例えば被印字媒
体として被印字テープを用い、この被印字テープとイン
クリボンとを収容したテープカセットを用いるラベルプ
リンタなどにも適用することができる。また、上記実施
形態では、リボンカセット5を装置本体1内に固定して
用紙7を搬送しながら印字するようにしたが、これに限
らず、例えばリボンカセットをキャリッジに搭載し、こ
のキャリッジおよび用紙をそれぞれ直交する方向に移動
させて印字するプリンタなどにも広く適用することがで
きる。
In the above embodiment, the ink ribbon 10 and the paper 7 are separately inserted into the apparatus main body 1. However, the present invention is not limited to this. And a label printer using a tape cassette containing the print-receiving tape and the ink ribbon. In the above embodiment, the ribbon cassette 5 is fixed in the apparatus main body 1 and printing is performed while the sheet 7 is conveyed. However, the present invention is not limited to this. For example, the ribbon cassette is mounted on a carriage, and the carriage and the sheet Can be widely applied to a printer or the like that prints by moving each in the orthogonal direction.

【0035】[0035]

【発明の効果】以上説明したように、この発明によれ
ば、印字手段より下流側に位置するインクリボンの領域
を使用することを選択手段で選択することにより、試し
印字を選択することができ、この試し印字が選択される
と、比較判断手段により記憶手段に記憶されたインクリ
ボンの搬送量と印字データ長との長さ寸法を比較するこ
とにより、試し印字が可能であるかを判断し、インクリ
ボンの搬送量が印字データ長の長さ寸法と同一またはそ
れよりも大きい場合に、試し印字が可能であると判断さ
れ、これにより戻し搬送制御手段が記憶手段に記憶され
た印字データ長の寸法分のインクリボンを搬送手段で戻
し方向に搬送させるので、試し印字に必要な長さだけイ
ンクリボンを巻き戻すことができ、これによりインクリ
ボンの一度使用した部分を再度使用することができ、試
し印字におけるインクリボンの無駄な消費を防ぐことが
できる。
As described above, according to the present invention, trial printing can be selected by selecting the use of the area of the ink ribbon located downstream of the printing means by the selection means. When the test print is selected, the comparison determination means compares the transport amount of the ink ribbon stored in the storage means with the length of the print data to determine whether the test print is possible. If the transport amount of the ink ribbon is the same as or greater than the length of the print data length, it is determined that test printing is possible, whereby the return transport control means causes the return data control means to store the print data length stored in the storage means. Is transported in the return direction by the transport means, so that the ink ribbon can be rewound by a length necessary for test printing, and thus the ink ribbon used once is used. Minute again can be used, it is possible to prevent wasteful consumption of the ink ribbon in the test printing.

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

【図1】この発明の印字装置の一実施形態を示した外観
斜視図。
FIG. 1 is an external perspective view showing an embodiment of a printing apparatus according to the present invention.

【図2】図1の内部構造の要部を示した概略構成図。FIG. 2 is a schematic configuration diagram showing a main part of the internal structure of FIG. 1;

【図3】図1のリボンカセット内に収容されたカラー印
字用のインクリボンを示した要部の拡大図。
FIG. 3 is an enlarged view of a main part showing an ink ribbon for color printing accommodated in the ribbon cassette of FIG. 1;

【図4】図1の印字装置の回路構成を示したブロック
図。
FIG. 4 is a block diagram illustrating a circuit configuration of the printing apparatus of FIG. 1;

【図5】図4のRAMの主要構成を示した図。FIG. 5 is a diagram showing a main configuration of a RAM in FIG. 4;

【図6】図4の印字装置の動作のメインフローを示した
図。
FIG. 6 is a diagram showing a main flow of the operation of the printing apparatus in FIG. 4;

【図7】図6における白黒印字用のインクリボンの巻戻
し処理のフローを示した図。
FIG. 7 is a diagram showing a flow of a process of rewinding an ink ribbon for black and white printing in FIG. 6;

【図8】図6におけるカラー印字用のインクリボンの巻
戻し処理のフローを示した図。
FIG. 8 is a diagram showing a flow of a process of rewinding an ink ribbon for color printing in FIG. 6;

【符号の説明】 3 キー入力部 4 表示部 7 用紙 10 インクリボン 16 リボン搬送機構 17 印字機構 25 カセットセンサ 26 マークセンサ 30 CPU 31 ROM 32 RAM[Description of Signs] 3 Key input unit 4 Display unit 7 Paper 10 Ink ribbon 16 Ribbon transport mechanism 17 Printing mechanism 25 Cassette sensor 26 Mark sensor 30 CPU 31 ROM 32 RAM

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】インク部が設けられた長尺状のインクリボ
ンを送り方向および戻し方向に搬送する搬送手段と、 この搬送手段により送り方向に搬送される前記インクリ
ボンの前記インク部を印字データに基づいて被印字媒体
に印字する印字手段と、 前記印字データに基づいて前記印字手段により印字され
る印字データ長を演算する演算手段と、 この演算手段により演算された前記印字データ長、およ
び前記印字手段より下流側に位置する前記インクリボン
の搬送量を記憶する記憶手段と、 この記憶手段に記憶された前記インクリボンの搬送量と
前記印字データ長との長さ寸法を比較する比較判断手段
と、 前記印字手段より下流側に位置する前記インクリボンの
領域を使用するか、または前記印字手段より上流側に位
置する前記インクリボンの領域を使用するかを選択する
選択手段と、 この選択手段による選択結果を判断する選択判断手段
と、 この選択判断手段により、前記印字手段より下流側に位
置する前記インクリボンの領域を使用することを前記選
択手段により選択されたと判断された場合、前記比較判
断手段により前記記憶手段に記憶された前記インクリボ
ンの搬送量と前記印字データ長との長さ寸法の比較を行
い、前記インクリボンの搬送量が前記印字データ長の長
さ寸法と同一またはそれよりも大きいと判断された場合
には少なくとも前記記憶手段に記憶された前記印字デー
タ長の寸法分の前記インクリボンを前記搬送手段により
戻し方向に搬送する戻し搬送制御手段とを備えたことを
特徴とする印字装置。
1. A transport unit for transporting a long ink ribbon provided with an ink portion in a feed direction and a return direction, and print data for the ink portion of the ink ribbon transported in the feed direction by the transport unit. A printing unit that prints on a printing medium based on the print data; a calculation unit that calculates a print data length that is printed by the printing unit based on the print data; and the print data length that is calculated by the calculation unit; and Storage means for storing the transport amount of the ink ribbon located downstream of the printing means; and comparison determining means for comparing the length of the print data length with the transport amount of the ink ribbon stored in the storage means Using the area of the ink ribbon located downstream from the printing means, or using the ink ribbon located upstream from the printing means Selecting means for selecting whether to use an area; selection determining means for determining a result of the selection by the selecting means; and using the area of the ink ribbon located downstream of the printing means by the selection determining means. When it is determined that the ink ribbon is selected by the selection unit, the comparison determination unit compares the transport amount of the ink ribbon stored in the storage unit with the length of the print data, and compares the length of the ink ribbon. If it is determined that the transport amount is equal to or greater than the length of the print data length, the transport unit returns at least the ink ribbon corresponding to the print data length stored in the storage unit. And a return transport control means for transporting in a direction.
【請求項2】前記比較判断手段により、前記記憶手段に
記憶された前記印字データ長が前記記憶手段に記憶され
た前記インクリボンの搬送量の長さ寸法よりも大きいと
判断された場合、その旨を報知する報知手段を備えたこ
とを特徴とする請求項1記載の印字装置。
2. The method according to claim 1, wherein the comparing and judging means determines that the print data length stored in the storage means is longer than the length of the transport amount of the ink ribbon stored in the storage means. 2. A printing apparatus according to claim 1, further comprising a notifying means for notifying the user.
JP14514198A 1998-05-12 1998-05-12 Printer Pending JPH11321053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14514198A JPH11321053A (en) 1998-05-12 1998-05-12 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14514198A JPH11321053A (en) 1998-05-12 1998-05-12 Printer

Publications (1)

Publication Number Publication Date
JPH11321053A true JPH11321053A (en) 1999-11-24

Family

ID=15378374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14514198A Pending JPH11321053A (en) 1998-05-12 1998-05-12 Printer

Country Status (1)

Country Link
JP (1) JPH11321053A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012116084A (en) * 2010-11-30 2012-06-21 Brother Industries Ltd Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012116084A (en) * 2010-11-30 2012-06-21 Brother Industries Ltd Printer

Similar Documents

Publication Publication Date Title
KR100239156B1 (en) Printer and printing method
US4616236A (en) Image forming apparatus with color transfer material
EP1516739A1 (en) Tape printer and tape cassette
EP1580012B1 (en) Printer
EP0555834A2 (en) Multiweb printer system with end of web responsive control
EP1584479B1 (en) Printer
JPH11321053A (en) Printer
JP3549370B2 (en) Cartridge and recording device using this cartridge
JPH09109425A (en) Printer and recording paper used therein
JP2007001264A (en) Printing device and ribbon cassette
EP1586456A1 (en) Printer and printing method
EP0769386B2 (en) Tape-shaped label printing device
JPH11314409A (en) Printer
JPH09123499A (en) Printing equipment and printing method
JP3747865B2 (en) Color printing device
JP2010228834A (en) Printer
JP2000190605A (en) Printing device and tape cassette used for the device
JP3331724B2 (en) How to clean the printer
JPH1148542A (en) Printer
JPH02209285A (en) Printer
JP2755311B2 (en) Recording control method for multicolor ink ribbon
JPH1191146A (en) Printer
KR20000064338A (en) Printing Devices and Printing Methods, and Computer-readable Storage Media
JPH03112664A (en) Recorder
JPH10129085A (en) Printer