JP3025558B2 - Printing device control method - Google Patents

Printing device control method

Info

Publication number
JP3025558B2
JP3025558B2 JP3198911A JP19891191A JP3025558B2 JP 3025558 B2 JP3025558 B2 JP 3025558B2 JP 3198911 A JP3198911 A JP 3198911A JP 19891191 A JP19891191 A JP 19891191A JP 3025558 B2 JP3025558 B2 JP 3025558B2
Authority
JP
Japan
Prior art keywords
ink sheet
error
printing
paper
printing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP3198911A
Other languages
Japanese (ja)
Other versions
JPH0516401A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3198911A priority Critical patent/JP3025558B2/en
Publication of JPH0516401A publication Critical patent/JPH0516401A/en
Application granted granted Critical
Publication of JP3025558B2 publication Critical patent/JP3025558B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Impression-Transfer Materials And Handling Thereof (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Electronic Switches (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、熱転写記録方式によ
り受像紙に加熱記録してカラー画像を形成するプリント
装置の制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method of a printing apparatus for forming a color image by heating and recording on an image receiving paper by a thermal transfer recording method.

【0002】[0002]

【従来の技術】一般に、この種のプリント装置は、複数
の発熱素子からなるサーマルヘッドを、複数の色の面を
順次形成したインクシートを介してプラテンドラムに固
定されて搬送される受像紙に圧接し、加熱記録すること
によりカラー画像を形成するものである。
2. Description of the Related Art In general, a printing apparatus of this type transfers a thermal head comprising a plurality of heating elements to an image receiving paper which is fixed and conveyed to a platen drum via an ink sheet on which a plurality of color surfaces are sequentially formed. A color image is formed by pressing and heating and recording.

【0003】インクシートは例えば透明なフィルム上に
イエロY,マゼンタM,シアンCの3色のインクが面順
次に塗布され、各色の先頭位置に色識別用のマークがそ
れぞれ相異なる位置に設けてあり、これらを複数のセン
サにより検知して各色の頭出しを行うようになってい
た。そして、従来のこのようなプリント装置では、これ
らのインクシートの色選択動作は印写動作の開始と同時
に行うように制御されていた。
[0003] The ink sheet is formed, for example, by applying three color inks of yellow Y, magenta M , and cyan C on a transparent film in a sequential manner, and providing a color identification mark at a different position at a head position of each color. In some cases, these are detected by a plurality of sensors and cueing of each color is performed. In such a conventional printing apparatus, the color selection operation of these ink sheets is controlled to be performed simultaneously with the start of the printing operation.

【0004】また、例えば特開平1−184184号及
び184185号公報に示されるように、プリント装置
の保守点検用蓋を開くことにより制御部に割り込み信号
が入力し、一部の機能を生かしたまま手動操作を可能に
し、障害排除後に蓋を閉じることにより駆動部が初期状
態に自動復帰するようにしたものも知られている。
Further, as shown in, for example, Japanese Patent Application Laid-Open Nos. 1-184184 and 184185, an interrupt signal is inputted to a control unit by opening a maintenance / inspection cover of a printing apparatus, and a part of the function is utilized. There is also known an apparatus in which manual operation is enabled, and a drive unit automatically returns to an initial state by closing a lid after a failure is eliminated.

【0005】さらに、特開平2−188821号公報に
示されるように、プリント装置が印字動作を行っている
時に、ホストシステムからその印字動作を一時的に強制
停止させることにより、異常動作の即時停止を可能とし
て故障を未然に防止すると共に復旧時間の短縮を図るよ
うにしたプリンタ装置も公知である。
Further, as disclosed in Japanese Patent Application Laid-Open No. 2-188821, when a printing apparatus is performing a printing operation, the printing operation is temporarily forcibly stopped by a host system, thereby immediately stopping the abnormal operation. There is also known a printer device which can prevent a failure beforehand and shorten a recovery time.

【0006】さらにまた、特開昭60−199685号
公報に示されるように、インク担体の長手方向に設けら
れた複数の帯状のマーク表示部に各インク色に対応して
選択的にマークを設け、マーク表示部のそれぞれに臨ま
せたマーク検知部の検知結果によりインク色を判定する
ようにして各インク色を確実に検出し得るようにしたイ
ンク担体の色検出装置、特開昭61−132375号公
報に示されるように、インクシートが各色毎に頭出し検
出用マークを設けると共に、シートの終端にY検出用
第1のセンサとM,C検出用の第2のセンサとが同時に
動作する検出用マークを配設することにより、少ない数
のセンサでインクシートの終端を検知させるようにした
熱転写プリンタ、特開昭61−242869号公報に示
されたように、ブロック別マーク及び色別マークと、イ
ンクシートの終端を示すマークとの位置関係を特定する
ことにより、終端検知での誤動作を無くしたカラー転写
シートも知られている。
Further, as shown in Japanese Patent Application Laid-Open No. 60-199685, marks are selectively provided on a plurality of band-shaped mark display portions provided in the longitudinal direction of the ink carrier in accordance with each ink color. Japanese Patent Application Laid-Open No. 61-132375, which discloses an ink carrier color detecting device which can reliably detect each ink color by judging the ink color based on the detection result of the mark detecting portion facing each of the mark display portions. As shown in the publication, a cue detection mark is provided for each color of the ink sheet, and a first sensor for Y detection and a second sensor for M and C detection simultaneously operate at the end of the sheet. A thermal transfer printer in which the end of an ink sheet is detected by using a small number of sensors by disposing a detection mark to be detected, as disclosed in JP-A-61-242869. Tsu and distinction mark and color-coded mark, by specifying a positional relationship between the mark indicating the end of the ink sheet, a color transfer sheet is also known which eliminate the malfunction at the end detection.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の諸技術にあってはそれぞれ次のような問題点
がある。すなわち、インクシートの色選択動作が印写動
作の開始と同時に行われるようになっているので、例え
ばリセット信号により印写動作が中断されてインクシー
トが途中で停止した場合等では、次回の印写に際してイ
ンクシートの色選択動作に余計な時間が費やされて印写
時間に大きな無駄が生じるという不具合があった。
However, such conventional techniques have the following problems. That is, since the color selection operation of the ink sheet is performed simultaneously with the start of the printing operation, for example, when the printing operation is interrupted by a reset signal and the ink sheet is stopped halfway, the next printing operation is performed. There has been a problem that extra time is spent in the color selection operation of the ink sheet during printing, and a great waste of printing time occurs.

【0008】また、保守点検用蓋を開くことにより制御
部に割り込み信号が入力されるようにしたものは、蓋の
開閉動作のみによって異常状態の復帰動作を行わせるよ
うになっているので、例えば給紙不良や排紙不良等のよ
うに蓋の開閉動作を行わなくても障害の除去が可能な場
合にも、蓋の開閉動作を行わなければならず、蓋を閉じ
た時に直ちにリセット動作を行うと、蓋開閉動作検知手
段にノイズ信号が入力された場合等に誤動作の原因とな
る不都合がある。
In the case where the interrupt signal is input to the control unit by opening the maintenance inspection cover, the abnormal state is restored only by opening and closing the cover. Even if the obstacle can be removed without opening and closing the lid, such as a defective paper feed or paper ejection, the lid must be opened and closed, and a reset operation is performed immediately after the lid is closed. If this is done, there is an inconvenience that causes a malfunction when a noise signal is input to the lid opening / closing operation detecting means.

【0009】そして、サーマルヘッドが蓋部分に取り付
けられ、リセットスイッチ等によってリセット動作を行
わせるようにしたプリント装置にあって、蓋が開放状態
のままでもリセット動作を行わせるように制御された場
合には、サーマルヘッドやプラテンドラムが損傷するお
それがあるという問題点も生じる。
In a printing apparatus in which a thermal head is mounted on a lid portion and a reset operation is performed by a reset switch or the like, when the thermal head is controlled to perform a reset operation even when the lid is open. Has a problem that the thermal head and the platen drum may be damaged.

【0010】さらに、ホストシステムから印字動作中の
プリント装置をホストシステムから停止させるようにし
たものにあって、給紙動作から印写動作を経て排紙動作
に至る一連の動作中の任意の動作中に何時でも中断可能
であるようにしようとすると、給紙及び排紙動作中の場
合には受像紙の紙づまり等が発生するおそれがあり、カ
ラープリント装置にあっては、印写動作中断後に印写動
作を再開させても色ずれを回避することは困難であっ
た。
[0010] Further, the printing apparatus which is performing a printing operation from the host system is stopped from the host system, and an arbitrary operation in a series of operations from a paper feeding operation to a paper discharging operation through a printing operation is performed. If it is possible to interrupt the printing operation at any time during the feeding and discharging operations, a paper jam may occur in the image receiving paper. It has been difficult to avoid color misregistration even if the printing operation is restarted later.

【0011】さらにまた、インク担体の長手方向に設け
たマーク表示部を検知してインク色を判定するようにし
たものは、インクシートが絡まったりインクモータの動
作不良等で色選択動作が確実に行われない場合の処理に
ついては記載がなく、インクシート終端部の検知につい
ても残量検知のみでインクシート交換表示がなされてい
ない。
Further, in the apparatus in which a mark display portion provided in the longitudinal direction of the ink carrier is detected to determine the ink color, the color selection operation is reliably performed due to the ink sheet entangled or the malfunction of the ink motor. There is no description about the processing when the ink sheet is not performed, and the ink sheet replacement display is not performed for the detection of the ink sheet end portion only by the remaining amount detection.

【0012】なお、インクシートの各色に対して頭出し
検出用マークと終端検出用マークを設けたものは、終端
部の検出は確実となるが、マゼンタMとシアンCの検出
用センサが同一であるため、マゼンタMのマーク検出ミ
スが発生した場合には、マゼンタMで転写すべきところ
をシアンCで転写してしまう恐れがあり、ブロック別マ
ーク及び色別マークと、インクシートの終端を示すマー
クとの位置関係を特定するようにしたものは、終端検知
のために専用のセンサを設けなければならずコスト高に
なるという不具合があった。
In the ink sheet provided with a cue detection mark and an end detection mark for each color, the detection of the end is reliable, but the detection sensors for magenta M and cyan C are the same. Therefore, when a mark detection error of magenta M occurs, there is a possibility that a portion to be transferred with magenta M may be transferred with cyan C, and a mark for each block and a mark for each color and the end of the ink sheet are indicated. In the case where the positional relationship with the mark is specified, a dedicated sensor has to be provided for the end detection, so that the cost is increased.

【0013】この発明は上記の点に鑑みてなされたもの
であり、リセット信号により印写動作が中断された場合
でも、次の印写動作に余計な時間を必要としない生産性
及び信頼性の高いプリント装置を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described circumstances, and even when the printing operation is interrupted by a reset signal, the productivity and reliability do not require extra time for the next printing operation. It is an object to provide a high printing apparatus.

【0014】[0014]

【課題を解決するための手段】この発明は上記の目的を
達成するため、受像紙を巻き付けて搬送及びプリントを
行うプラテンドラムと、このプラテンドラムに受像紙を
固定させるためのグリッパと、加熱書き込み手段として
のサーマルヘッドと、複数の色のインク面が順次形成さ
れ複数の色識別マークとインクエンド表示用マークとが
設けられたインクシートと、このインクシートの色選択
動作を行うための一対のセンサと、上記プラテンドラム
とサーマルヘッドとの間に受像紙とインクシートとを介
在させてサーマルヘッドで圧接し、受像紙に加熱記録す
ることによりカラー画像を形成するプリント装置の制御
方法において、図1に示すようにリセット信号を検知す
ることにより、印写動作の中断あるいはエラー状態の解
除動作を行わせると共に、所定のリセット動作に並行し
てインクシートの先頭色の色選択動作を行わせるように
制御するプリント装置の制御方法を提供するものであ
る。
SUMMARY OF THE INVENTION In order to achieve the above objects, the present invention provides a platen drum for winding and transporting and receiving an image receiving paper, a gripper for fixing the image receiving paper to the platen drum, and heating and writing. A thermal head as a means, an ink sheet provided with a plurality of color identification marks and ink end display marks in which ink surfaces of a plurality of colors are sequentially formed, and a pair of ink sheets for performing a color selection operation of the ink sheet. In a control method of a printing apparatus for forming a color image by forming a color image by heating and recording on a receiving paper by pressing a thermal head with a receiving paper and an ink sheet interposed between a sensor and the platen drum and a thermal head, By detecting the reset signal as shown in FIG. 1, the printing operation is interrupted or the error state is released. Both there is provided a method of controlling a printing apparatus which controls so as to perform head color color selective operation of the ink sheet in parallel with the predetermined reset operation.

【0015】そして、このプリント装置の制御方法にお
いて、インクシートに設けた色識別マークのインクシー
ト巻き取り方向の長さをインクシートのたるみ巻き取り
長さより長く設定し、印写開始に先立って上記色識別マ
ークが一対のセンサから外れることなく上記インクシー
トのたるみを巻き取るように制御するのがよい。
In the control method of the printing apparatus, the length of the color identification mark provided on the ink sheet in the ink sheet winding direction is set to be longer than the slack winding length of the ink sheet. It is preferable to control so as to wind up the slack of the ink sheet without the color identification mark coming off the pair of sensors.

【0016】上記プリント装置に解除可能なエラーが発
生した際に、その制御部にリセット信号が入力されたこ
とを検知することにより上記エラーのチェック動作及び
解除動作を実行させると共に、上記プリント装置の操作
部に設けられたリセット信号入力手段,上記プリント装
置の上部ユニットの開閉状態を検知する手段,上記プリ
ント装置に接続された上位機器のいずれかからリセット
信号が入力すると、それを検知するようにするとよい。
When a resettable error occurs in the printing apparatus, the control unit detects that a reset signal has been input, thereby executing the error check operation and the resetting operation. When a reset signal is input from one of a reset signal input means provided in the operation unit, a means for detecting the open / closed state of the upper unit of the printing apparatus, and a higher-level device connected to the printing apparatus, the reset signal is detected. Good to do.

【0017】このような制御を行なうプリント装置の操
作部に設けられたリセット信号入力手段または上位機器
からのリセット信号を検知してリセット動作を行わせる
際に、プリント装置の上部ユニットが閉状態の時にのみ
リセット信号が有効となるように制御するとさらによ
い。
When the reset operation is performed by detecting the reset signal from the reset signal input means provided in the operation unit of the printing apparatus or the host device for performing such control, the upper unit of the printing apparatus is closed. It is more preferable to control the reset signal to be valid only at the time.

【0018】また、その上部ユニットの開閉状態を検知
する手段がその開状態を検知することによりリセット信
号を発生させ、閉状態を検知するとにより上記リセット
信号が有効となるように制御することも可能である。
Further, it is also possible to control the means for detecting the open / closed state of the upper unit to generate a reset signal by detecting the open state and to make the reset signal valid by detecting the closed state. It is.

【0019】そして、上部ユニットが閉状態から開状態
に変化した時に発生するリセット信号が、上記上部ユニ
ットの開閉状態を検知する手段が閉状態を検知してから
所定時間閉状態が継続した後に有効となるように制御す
るのが好ましい。
The reset signal generated when the upper unit changes from the closed state to the open state is valid after the closed state has been maintained for a predetermined time after the means for detecting the open / closed state of the upper unit detects the closed state. It is preferable to control so that

【0020】さらに、プリント装置の制御部にリセット
信号が入力された際に、上記プリント装置が印写動作あ
るいはインクシートの色選択動作を行っている場合には
直ちに印写動作を中断して所定のリセット動作を行い、
給排紙動作を行っている場合にはその給排紙動作が完了
した後に所定のリセット動作を行うように制御するのが
よい。
Further, when a reset signal is input to the control unit of the printing apparatus, if the printing apparatus is performing a printing operation or an ink sheet color selecting operation, the printing operation is immediately interrupted and a predetermined operation is stopped. Reset operation of
When the paper supply / discharge operation is being performed, it is preferable to perform control so that a predetermined reset operation is performed after the paper supply / discharge operation is completed.

【0021】また、インクシートの色選択を行うための
一対のセンサが、色識別マークを検知してから所定時間
経過した後も上記色識別マークを検知し続けた場合、上
記一対のセンサが共に上記色識別マークを検知している
時にはインクシートエンドと判断し、一方のみが検知し
ている時にはインクシートエラーと判断するように制御
することもできる。
When a pair of sensors for selecting a color of the ink sheet continue to detect the color identification mark even after a predetermined time has elapsed since the detection of the color identification mark, the pair of sensors together When the color identification mark is detected, control may be performed such that the ink sheet end is detected, and when only one of the color identification marks is detected, an ink sheet error is determined.

【0022】そして、インクシートエンドと判断された
場合には、プラテンドラムに巻き付けられた受像紙の排
紙動作を行わせ、インクシートエラーと判断された場合
には、上記受像紙の排紙動作を行わせないように制御す
るとさらによい。
When it is determined that the ink sheet is at the end, the operation of discharging the image receiving paper wound around the platen drum is performed, and when it is determined that an ink sheet error occurs, the operation of discharging the image receiving paper is performed. It is more preferable to perform control so as not to perform.

【0023】さらにまた、上記のプリント装置の制御方
法において、上記プリント装置の操作部に単色印写モー
ドを選択するように設けられた色選択キーにより単色印
写モードが選択された時、リセット信号により印写動作
の中断あるいはエラー状態の解除動作を行わせると共
に、所定のリセット動作に並行して次位の同一色選択動
作を行わせるように制御することも可能である。
Further, in the above control method of a printing apparatus, when a single color printing mode is selected by a color selection key provided on an operation section of the printing apparatus to select the single color printing mode, a reset signal is output. Thus, it is possible to interrupt the printing operation or cancel the error state, and to control the next same color selection operation in parallel with the predetermined reset operation.

【0024】[0024]

【作用】この発明によるプリント装置の制御方法は、上
記のように制御することにより、リセット信号により印
写動作の中断あるいはエラー状態の解除動作を行わせる
と共に、所定のリセット動作に並行してインクシートの
先頭色の色選択動作を行わせることができるので、次の
印写時に余分なインクシートの巻き上げ動作を行う必要
がなく、速やかに印写動作を行うことが可能になり、操
作性及び生産性を著しく向上させることができる。
In the control method of the printing apparatus according to the present invention, by performing the above-described control, the printing operation is interrupted or the error state is released by the reset signal, and the ink is released in parallel with the predetermined reset operation. Since the color selection operation of the leading color of the sheet can be performed, it is not necessary to perform an extra ink sheet winding operation at the time of the next printing, and the printing operation can be performed promptly. Productivity can be significantly improved.

【0025】そして、インクシートの色識別マークのイ
ンクシート巻き取り方向の長さをインクシートのたるみ
取り長さより長く設定し、印字開始に先立ってインクシ
ートのたるみを巻き取るようにすることにより、色識別
マークがインクシートセンサの検出領域から外れる恐れ
がなく、検出ミスによるインクシートの無駄な消費を防
止することができる。
The length of the color identification mark of the ink sheet in the ink sheet winding direction is set to be longer than the slack length of the ink sheet, and the slack of the ink sheet is wound before starting printing. There is no risk that the color identification mark will fall out of the detection area of the ink sheet sensor, and wasteful consumption of the ink sheet due to a detection error can be prevented.

【0026】上記プリント装置に解除可能なエラーが発
生した際に、そのエラーのチェック動作及び解除動作を
実行させると共に、プリント装置側のリセット信号入力
手段、プリント装置の上部ユニット開閉検知手段、プリ
ント装置に接続された上位機器のいずれかから入力され
るリセット信号を検知するようにすることにより、エラ
ー処理の操作性を著しく向上させることができる。
When a releasable error occurs in the printing apparatus, the error checking operation and the releasing operation are executed, a reset signal input means on the printing apparatus side, an upper unit open / close detection means of the printing apparatus, and a printing apparatus. By detecting a reset signal input from any of the higher-level devices connected to the device, the operability of error processing can be significantly improved.

【0027】このような制御を行なうプリント装置の操
作部に設けられたリセット信号入力手段又は上位機器か
らのリセット信号を検知することによりリセット動作を
行わせる際に、上部ユニットが閉状態の時にのみリセッ
ト信号が有効となるようにすることにより、上部ユニッ
ト開放状態のままでエラーのチェック動作や解除動作を
行ってサーマルヘッド等を破損する恐れをなくすること
ができる。
When the reset operation is performed by detecting the reset signal from the reset signal input means provided in the operation unit of the printing apparatus which performs such control or the host device, only when the upper unit is in the closed state. By setting the reset signal to be valid, it is possible to eliminate the possibility that the thermal head or the like may be damaged by performing an error checking operation or a releasing operation while the upper unit is open.

【0028】また、上部ユニットの開閉状態検知手段が
開状態を検知することによりリセット信号を発生させ、
開状態から閉状態に変化したことを検知することにより
有効となるようにすることにより、上部ユニットの開閉
動作のみで自動的にリセット信号が発生するので、操作
性が向上する。
Further, a reset signal is generated when the open / closed state detecting means of the upper unit detects the open state,
By making it effective by detecting the change from the open state to the closed state, the reset signal is automatically generated only by the opening / closing operation of the upper unit, so that the operability is improved.

【0029】そして、上部ユニットが閉状態から開状態
に変化した時に発生するリセット信号が、上部ユニット
開閉検知手段による閉状態検知から所定時間閉状態が継
続した後に有効となるようにすることにより、上部ユニ
ットの閉動作が不完全に行われた場合や閉状態検知手段
にノイズが入力された場合には、エラーチェックや解除
動作が行われないようにして誤動作を防止することがで
きる。
Then, the reset signal generated when the upper unit changes from the closed state to the open state becomes valid after the closed state has been continued for a predetermined time from the detection of the closed state by the upper unit open / close detecting means. When the closing operation of the upper unit is incompletely performed or when noise is input to the closed state detecting means, the error check and the canceling operation are not performed, so that the malfunction can be prevented.

【0030】さらに、プリント装置の制御部にリセット
信号が入力された際に、プリント装置が印写動作やイン
クシートの色選択動作を行っている場合には直ちに印写
動作を中断して所定のリセット動作を行い、給排紙動作
を行っている場合にはそれが完了した後に所定のリセッ
ト動作を行うようにすることにより、プリント装置を速
やかに印写可能状態に復帰させることができると共に、
紙づまりを未然に防止することが可能になる。
Further, when a reset signal is input to the control unit of the printing apparatus, if the printing apparatus is performing a printing operation or an ink sheet color selecting operation, the printing operation is immediately interrupted and a predetermined operation is stopped. By performing a reset operation and performing a predetermined reset operation after completion of the paper supply / discharge operation, the printing apparatus can be promptly returned to a printable state,
Paper jams can be prevented beforehand.

【0031】また、色選択センサが色識別マークを検知
してから所定時間経過後もそれを検知し続けた場合に、
一対の色選択センサが共に検知している時にはインクシ
ートエンドと判断し、一方のみが検知している時にはイ
ンクシートエラーと判断することにより、インクシート
モータの動作不良やインクシートの切断等を速やかに検
知することができる。
Further, when the color selection sensor continues to detect the color identification mark even after a predetermined time has elapsed after detecting the color identification mark,
When the pair of color selection sensors detect both, it is determined that the ink sheet is at the end, and when only one of them is detected, it is determined that there is an ink sheet error. Can be detected.

【0032】そして、インクシートエンドと判断された
場合には、プラテンドラムに巻き付けられている受像紙
を排紙させ、インクシートエラーと判断された場合には
上記受像紙の排紙を行わせないようにすることにより、
インクシートエラー時にインクシートがたるんだ状態に
あった場合に、インクシートがプラテンドラムに巻き付
いたり切断されたりする等の不具合を防止することがで
きる。
When it is determined that the ink sheet is at the end, the image receiving paper wound around the platen drum is discharged, and when it is determined that there is an ink sheet error, the image receiving paper is not discharged. By doing so
When the ink sheet is in a slack state at the time of the ink sheet error, it is possible to prevent a problem that the ink sheet is wound around the platen drum or cut.

【0033】さらにまた、単色印写モードが設けられた
プリント装置で単色印写モード選択時、リセット信号に
よる印写動作の中断やエラー状態の解除動作に平行して
次位の同一色選択動作を行わせるようにすることによ
り、次の印写時に余分なインクシートの巻き上げ動作が
不要になり、操作性,生産性を向上させることが可能に
なる。
Furthermore, when a single color printing mode is selected in the printing apparatus provided with the single color printing mode, the next same color selecting operation is performed in parallel with the interruption of the printing operation by the reset signal and the operation of releasing the error state. By doing so, it is unnecessary to wind up the extra ink sheet at the time of the next printing, and it is possible to improve operability and productivity.

【0034】[0034]

【実施例】以下、この発明の実施例を図面に基づいて具
体的に説明する。この発明を実施するプリント装置の基
本構成例を図2に示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 2 shows a basic configuration example of a printing apparatus embodying the present invention.

【0035】プリント装置100は、受像紙Pを巻き付
け、搬送・印写するためのプラテンドラム110及びプ
ラテンドラム110を回転駆動するためのドラムモータ
(図示せず)、受像紙Pをプラテンドラム110に固定
するためのグリッパ120、プリント装置100に着脱
自在に設けられたインクシートカセット151に収容さ
れインクモータ(図示せず)により搬送されるインクシ
ート150、プラテンドラム110との間に受像紙Pと
インクシート150を介して加圧・加熱することにより
受像紙Pに画像を形成するサーマルヘッド140とを有
する。
The printing apparatus 100 includes a platen drum 110 for winding, transporting and printing the image receiving paper P, a drum motor (not shown) for rotationally driving the platen drum 110, and the image receiving paper P on the platen drum 110. A gripper 120 for fixing, an ink sheet 150 accommodated in an ink sheet cassette 151 detachably provided in the printing apparatus 100 and conveyed by an ink motor (not shown), and an image receiving paper P between the platen drum 110 and the ink sheet 150. A thermal head 140 that forms an image on the image receiving paper P by applying pressure and heat through the ink sheet 150;

【0036】なお、インクシートカセット151には収
容するインクシート150の種類を表示するラベル15
2が貼着してある。サーマルヘッド140はヘッド加圧
モータ(図示せず)により動作するサーマルヘッド加圧
機構141により、プラテンドラム110に加圧される
構成になっている。
The ink sheet cassette 151 has a label 15 indicating the type of the ink sheet 150 to be stored.
2 is stuck. The thermal head 140 is configured to be pressed against the platen drum 110 by a thermal head pressing mechanism 141 operated by a head pressing motor (not shown).

【0037】また、プラテンドラム110に受像紙Pを
給送するための手段として、給紙カセット160に積載
された受像紙Pを搬送するための給紙ローラ161と、
手差し台170から給紙を行うための手差し給紙ローラ
171とを有し、印写終了後の受像紙Pは排紙ローラ1
81により、排紙トレイ180上に排出積載される。上
記の各ローラは給排紙モータ(図示せず)により、ギア
またはベルト等の駆動力伝達手段を介して駆動され、給
紙ローラ161はクラッチ(図示せず)により必要なと
きのみ駆動力が伝達されるように構成されている。
As means for feeding the image receiving paper P to the platen drum 110, a paper feed roller 161 for transporting the image receiving paper P loaded on the paper feed cassette 160,
A manual paper feed roller 171 for feeding paper from the manual feed tray 170;
By 81, the paper is discharged and stacked on the paper discharge tray 180. Each of the above rollers is driven by a paper feeding / discharging motor (not shown) through a driving force transmitting means such as a gear or a belt, and the paper feeding roller 161 is driven only by a clutch (not shown) when a driving force is required. It is configured to be transmitted.

【0038】さらに、給紙カセット160および手差し
台170には紙幅に合わせてスライド可能な紙ガイド板
(図示せず)が設けられており、この紙ガイド板と一体
に形成された遮光板(図示せず)を後述する紙サイズセ
ンサで読み取ることにより、セットされた受像紙Pの紙
幅を検知することができるように構成されている。
Further, a paper guide plate (not shown) slidable according to the paper width is provided on the paper feed cassette 160 and the manual feed stand 170, and a light shielding plate (see FIG. 1) formed integrally with the paper guide plate. (Not shown) is read by a paper size sensor described later, so that the paper width of the set image receiving paper P can be detected.

【0039】また、プリント装置100はヒンジ部10
3を有し、上部ユニット101はこのヒンジ部103の
支持軸104を軸としてクラムシェル状に開閉可能とな
っている。この上部ユニット101にはサーマルヘッド
140およびインクシートカセット151が保持されて
おり、開放動作に伴い、上部ユニット101に保持され
たまま下部ユニット102から離脱する(上部ユニット
101が開いている状態を図中一点鎖線で示す)。上部
ユニット101が閉じた状態では、上部ユニット101
に設けられた嵌合部材105が下部ユニット102に設
けられた嵌合ピン106と嵌合するようになっており、
さらに上部ユニット101をロックするためのカバーロ
ックソレノイド(図示せず)により開放禁止状態にする
ことができるように構成される。
The printing apparatus 100 includes a hinge 10
The upper unit 101 can be opened and closed like a clamshell around the support shaft 104 of the hinge 103. The upper unit 101 holds a thermal head 140 and an ink sheet cassette 151, and detaches from the lower unit 102 while being held by the upper unit 101 in accordance with the opening operation. Indicated by a dashed line in the middle). When the upper unit 101 is closed, the upper unit 101 is closed.
Is fitted with a fitting pin 106 provided on the lower unit 102,
Further, the upper unit 101 is configured to be able to be set to the opening prohibition state by a cover lock solenoid (not shown) for locking.

【0040】図3に本発明におけるプリント装置の制御
部のブロック図の例を示す。このプリント装置100の
制御部200は、プリント動作のコントロールを行うシ
ステムコントローラ210、キー入力および状態表示を
行うための操作部240、各モータを駆動するための駆
動部250、装置の諸状態を検知するためのセンサ部2
60、外部装置290(ワークステーションやパーソナ
ルコンピュータ等のホスト291、FAX292など)
からの画像データを取り込むためのインタフェース(I
/F)280、スキャナ270によって読み取られた原
稿の画像データあるいは外部装置290から取り込んだ
画像データを、シェーディング補正やフィルター等によ
り加工してサーマルヘッド140に適合したデータに変
換するための画像処理部220、サーマルヘッド140
の駆動条件を制御するための熱制御部230で構成され
る。
FIG. 3 shows an example of a block diagram of a control unit of the printing apparatus according to the present invention. The control unit 200 of the printing apparatus 100 includes a system controller 210 for controlling a printing operation, an operation unit 240 for performing key input and status display, a driving unit 250 for driving each motor, and detecting various states of the apparatus. Sensor part 2 for performing
60, external device 290 (host 291 such as workstation or personal computer, FAX 292, etc.)
(I) for importing image data from
/ F) 280, an image processing unit for converting image data of a document read by the scanner 270 or image data taken in from the external device 290 into data suitable for the thermal head 140 by processing with shading correction, a filter or the like. 220, thermal head 140
And a heat control unit 230 for controlling the driving conditions.

【0041】図4にシステムコントローラ210の回路
構成を示す。CPU211はデータRAM,複数の8ビ
ットI/Oポート,A/Dコンバータ,16ビットソフ
トウェアタイマ,シリアルポート等を内蔵したシングル
チップ・マイクロコンピュータであり、プリント装置1
00のシーケンスコントロールを行う。このCPU21
1にプログラム用のPROM213およびデータ格納用
のRAM214を接続するために、ラッチ212(LS
373等)によりアドレスバスをデコードしている。ま
たデータラインは上位バイト(D15〜D8)と下位バ
イト(D7〜D0)の2つのラインに分けてそれぞれ2
つのPROM213およびRAM214に接続される
FIG. 4 shows a circuit configuration of the system controller 210. The CPU 211 is a single-chip microcomputer including a data RAM, a plurality of 8-bit I / O ports, an A / D converter, a 16-bit software timer, a serial port, and the like.
The sequence control of 00 is performed. This CPU 21
In order to connect the PROM 213 for program and the RAM 214 for storing data to the
373) decodes the address bus. The data line is divided into two lines of an upper byte (D15 to D8) and a lower byte (D7 to D0).
One of is connected to PROM213 and RAM 214.

【0042】デコーダ215は、PROM213,RA
M214およびI/Oエキスパンダ216(例えばPP
I8255)に送出するチップセレクト信号(反転C
S)を発生させるための素子(LS138等)である。
CPU211は上述のI/Oエキスパンダ216を介し
てモータの駆動、データの送受信等を行う。ドライバ2
17は、I/Oエキスパンダ216からの信号に応じて
モータ,クラッチ,ソレノイド等を駆動するための駆動
用素子であり、それぞれの被駆動体に対応した駆動素子
が用意される。
The decoder 215 includes a PROM 213 and RA
M214 and I / O expander 216 (eg, PP
Chip select signal (C inverted)
S) is an element (LS138 or the like) for generating S).
The CPU 211 drives a motor, transmits and receives data, and the like via the above-described I / O expander 216. Driver 2
Reference numeral 17 denotes a driving element for driving a motor, a clutch, a solenoid, and the like according to a signal from the I / O expander 216, and a driving element corresponding to each driven body is prepared.

【0043】また、センサおよび各制御信号の送受信に
はバッファ218が用いられ、各信号ラインにはプルア
ップ用の抵抗である抵抗アレイ219(RAY)が接続
される。CPU211のA/D変換端子ANA1,AN
A2には、それぞれヘッド抵抗値測定部300及びヘッ
ド温度測定部301からのアナログ信号が入力される。
なお、上述のそれぞれの信号の詳細については後に述べ
る。
A buffer 218 is used for transmitting and receiving the sensor and each control signal, and a resistance array 219 (RAY) which is a pull-up resistor is connected to each signal line. A / D conversion terminals ANA1, AN of CPU 211
Analog signals from the head resistance measurement unit 300 and the head temperature measurement unit 301 are input to A2.
The details of each of the above signals will be described later.

【0044】図5にプリント装置100の各センサの配
置図を示す。図において、S1は上部ユニット101の
開閉状態を検知するカバーオープンセンサ、S2はサー
マルヘッド140の加圧状態を検知するヘッド加圧セン
サ、S3はインクシートカセット151の有無およびイ
ンクシート150の種類を判別するインクシートカセッ
トセンサ、S4はインクシート150の色を判別するイ
ンクシートセンサである。S5は給紙カセット160内
の受像紙Pの有無を検知するカセット紙有無センサ、S
6は給紙カセット160内の受像紙Pのサイズを判別す
るカセット紙サイズセンサ、S7はカセット給紙搬送路
における受像紙Pの有無を検知するカセット給紙センサ
である。
FIG. 5 is a layout diagram of each sensor of the printing apparatus 100. In the figure, S1 is a cover open sensor that detects the open / closed state of the upper unit 101, S2 is a head pressure sensor that detects the pressurized state of the thermal head 140, and S3 is the presence or absence of the ink sheet cassette 151 and the type of the ink sheet 150. S4 is an ink sheet sensor for determining the color of the ink sheet 150. S5 is a cassette paper presence / absence sensor for detecting the presence / absence of the image receiving paper P in the paper supply cassette 160;
Reference numeral 6 denotes a cassette paper size sensor for determining the size of the image receiving paper P in the paper feeding cassette 160, and reference numeral S7 denotes a cassette paper feeding sensor for detecting the presence or absence of the image receiving paper P in the cassette paper feeding path.

【0045】また、S8は手差し台170のセット状態
を検知する手差し台センサ、S9は手差し台170にセ
ットされた受像紙Pを検知する手差し紙有無センサ、S
10は手差し給紙搬送路における受像紙の有無を検知す
る手差し給紙センサ、S11は手差し台170にセット
された受像紙Pのサイズを検知する手差し紙サイズセン
サである。さらに、S12はプラテンドラム110上の
受像紙を検知するドラム紙センサ、S13は排紙搬送路
における受像紙の有無を検知する排紙センサである。
S8 is a manual feed tray sensor for detecting the setting state of the manual feed tray 170; S9 is a manual feed paper presence / absence sensor for detecting the image receiving paper P set on the manual feed tray 170;
Reference numeral 10 denotes a manual paper feed sensor that detects the presence or absence of an image receiving paper in the manual paper feed path, and reference numeral S11 denotes a manual paper size sensor that detects the size of the image receiving paper P set on the manual feed table 170. Further, S12 is a drum paper sensor for detecting the image receiving paper on the platen drum 110, and S13 is a paper discharge sensor for detecting the presence or absence of the image receiving paper in the paper discharge conveyance path.

【0046】そして、プラテンドラム110の回転軸に
は、プラテンドラム110に同期して回転可能に取り付
けられたディスク117が設けられており、さらにこの
ディスク117に設けられたスリット118を検知する
ことによりグリッパ120の位置を判別するための3個
のドラム位置センサDS1〜DS3が設けられている。
これらのセンサは、それぞれ印写開始位置センサDS
1,給紙位置センサDS2,及びヘッド開放位置センサ
DS3である。
A disk 117 is provided on the rotation shaft of the platen drum 110 so as to be rotatable in synchronization with the platen drum 110. Further, by detecting a slit 118 provided in the disk 117, Three drum position sensors DS1 to DS3 for determining the position of the gripper 120 are provided.
These sensors are respectively a printing start position sensor DS
1, a sheet feed position sensor DS2 and a head open position sensor DS3.

【0047】図6にこのプリント装置100の操作部2
40の一例を示す。図において、1はパワーON状態
を、2はレディ状態を、3はビジィ状態をそれぞれ表示
するための発光ダイオード(以下「LED」という)で
ある。オンラインキー241はオンライン/オフライン
の切り換えを行うキーであり、このキー241を押すご
とにオンラインモードとオフラインモードがトグルで切
り換り、オンライン状態のときにはオンライン表示用の
LED16が点灯する。
FIG. 6 shows the operation unit 2 of the printing apparatus 100.
40 shows an example. In the drawing, reference numeral 1 denotes a light-emitting diode (hereinafter, referred to as “LED”) for displaying a power ON state, 2 for a ready state, and 3 for a busy state. The online key 241 is a key for switching between online and offline. Each time the key 241 is pressed, the online mode and the offline mode are toggled, and the LED 16 for online display is turned on when in the online state.

【0048】リセットキー242はシステムコントロー
ラ210にリセット信号を送るためのキーであり、プリ
ント動作を中断したりエラー状態の解除を行うときなど
に使用される。LED4は受像紙のサイズを表示するた
めのLEDであり、用紙のサイズが検知されたときにい
ずれかひとつが点灯する。LED5はインクシート15
0の種類を表示するためのLEDであり、インクシート
カセット151に設けられたラベル152をセンサS3
で検知することにより、「standard」か「OHP」のい
ずれかが点灯される。
The reset key 242 is a key for sending a reset signal to the system controller 210, and is used for interrupting a printing operation or canceling an error state. The LED 4 is an LED for displaying the size of the receiving paper, and one of the LEDs 4 is turned on when the size of the paper is detected. LED 5 is ink sheet 15
0 is a LED for displaying the type of No. 0, and a label 152 provided on the ink sheet cassette 151 is
, Either “standard” or “OHP” is lit.

【0049】LED6〜LED8はそれぞれイエロY,
マゼンタM及びシアンC各色のプリント状態を表示する
ためのランサLEDであり、2個が対になったLEDが
各色分、つまり3組設けられている。これらのLED6
〜8は、各色のプリント開始時に一方が点灯し、終了時
に他方が点灯するように制御され、オペレータが一目で
プリント状況を把握することができるようになってい
る。
LED6 to LED8 are yellow Y, respectively.
This is a lancer LED for displaying the printing state of each color of magenta M and cyan C. Two pairs of LEDs are provided for each color, that is, three sets are provided. These LEDs 6
8 are controlled so that one is lit at the start of printing of each color and the other is lit at the end of printing, so that the operator can grasp the printing status at a glance.

【0050】操作部240は、さらにサービスマンコー
ル表示LED9、カセット紙無し表紙LED10、手差
し給紙表示LED11、紙ジャム表示用のLED12、
インクシートカセット無し/インクシートエンド表示用
のLED13、カバーオープン表示用のLED14等を
有している。また、ひとつの表示では表しきれない場
合、たとえばエラーの種類や紙ジャムの位置等について
は、7セグメントLED15に表示された数字と他の表
示との組み合わせにより、その詳細がわかるように構成
されている。
The operation unit 240 further includes a serviceman call display LED 9, a cassette paper-less cover LED 10, a manual paper feed display LED 11, a paper jam display LED 12,
It has an LED 13 for displaying no ink sheet cassette / ink sheet end, an LED 14 for displaying the cover open, and the like. Further, in the case where it cannot be represented by one display, for example, the type of error, the position of the paper jam, and the like are configured so that the details can be understood by a combination of the number displayed on the 7-segment LED 15 and another display. I have.

【0051】なお、この操作部240には単色印写モー
ドを選択するための色選択キー243,244,245
が設けてあり、それぞれY,M,Cを選ぶことができ、
これらのキーのいずれかを押すことによりLED6,
7,8のそれに対応する一対が同時に点灯して選択色を
表示し、プリント時にはいずれか一方が消灯してプリン
ト状態を示す。
The operation section 240 has color selection keys 243, 244, 245 for selecting a single color printing mode.
Are provided, and Y, M, and C can be respectively selected.
Pressing any of these keys will cause LED6,
A pair corresponding to 7 and 8 is simultaneously turned on to display the selected color, and at the time of printing, one of them is turned off to indicate the printing state.

【0052】次に、上記のような構成からなる実施例の
作用を詳細に説明する。なお、ここでの動作説明は、プ
リント装置単体としての基本動作についてのものであ
り、スキャナに対する制御、インタフェースによる外部
機器との送受信等については割愛する。
Next, the operation of the embodiment having the above configuration will be described in detail. Note that the description of the operation here is for the basic operation of the printing apparatus alone, and the control of the scanner, transmission / reception to / from an external device by an interface, and the like are omitted.

【0053】プリント装置100に電源が投入される
と、図7のフローチャートに示すように、CPU211
は始めにCPU本体および周辺ICのイニシャライズを
行う。次に、RAM214の動作のチェックを行うため
にRAM214に対し特定データのライト・リードを行
う。この際エラーが発生した場合にはRAMエラーとな
り、サービスマンコールの点滅表示を行ったまま無限ル
ープに入る。RAM214が正常に動作したならば、熱
制御部230に対する初期値設定ルーチンに移る。
When the power is turned on to the printing apparatus 100, as shown in the flowchart of FIG.
First, the CPU body and peripheral ICs are initialized. Next, in order to check the operation of the RAM 214, specific data is written to and read from the RAM 214. At this time, if an error occurs, a RAM error occurs, and an infinite loop is entered with the blinking display of the serviceman call. If the RAM 214 operates normally, the routine proceeds to an initial value setting routine for the thermal control unit 230.

【0054】図8にその初期値設定ルーチンを示す。こ
の初期値設定ルーチンにおいては、初期値設定開始信号
を送出し、最大駆動エレメント数と最大印加パルス幅の
設定、ネガ/ポジモードの選択、抵抗値・エレメント数
補正データの転送、書込みアドレスの設定、ライン同期
信号(Lsync)及びレベル同期信号(LVsyn
c)の間隔設定、R/Lマージンのセット等を行った
後、初期設定終了信号を送出する。
FIG. 8 shows the initial value setting routine. In this initial value setting routine, an initial value setting start signal is transmitted, the maximum number of driving elements and the maximum applied pulse width are set, the negative / positive mode is selected, the resistance / element number correction data is transferred, the write address is set, The line synchronization signal (Lsync) and the level synchronization signal (LVsyn)
After the setting of the interval c) and the setting of the R / L margin, etc., an initial setting end signal is transmitted.

【0055】抵抗値・エレメント数補正データの転送に
ついて、図9によりさらに説明を加える。サーマルヘッ
ド140の総エレメント数は2560ドットであり、こ
れが64ドットずつの40ブロックに分割されている。
各ブロックの64ドットのエレメントの抵抗値はヘッド
抵抗値測定部300により測定され、この測定値(アナ
ログ値)がCPU211のA/D変換端子ANA1に入
力されてデジタル値に変換される。これをブロックN
o.0〜39について順次行い、この測定結果を熱制御
部230に転送する。
The transfer of the resistance value / element number correction data will be further described with reference to FIG. The total number of elements of the thermal head 140 is 2560 dots, which are divided into 40 blocks of 64 dots each.
The resistance value of the element of 64 dots in each block is measured by the head resistance value measuring unit 300, and this measured value (analog value) is input to the A / D conversion terminal ANA1 of the CPU 211 and converted into a digital value. This is Block N
o. The measurement is sequentially performed for 0 to 39, and the measurement result is transferred to the thermal control unit 230.

【0056】さらに、各エレメントの抵抗値から平均抵
抗値を求め、各エレメントに対するエレメント差分デー
タの計算を行い、この結果も熱制御部230に転送され
る。このエレメント差分データの計算は、各エレメント
の抵抗値に対応した印加パルス数を設定するために行う
ものである。熱制御部230においては、これらのデー
タに基づき、ムラのない印写が行えるように各エレメン
トに印加するパルス幅およびパルス数を決定する。
Further, an average resistance value is obtained from the resistance value of each element, element difference data for each element is calculated, and this result is also transferred to the thermal control unit 230. The calculation of the element difference data is performed to set the number of applied pulses corresponding to the resistance value of each element. The heat control unit 230 determines the pulse width and the number of pulses to be applied to each element based on these data so that printing without unevenness can be performed.

【0057】初期値設定が終了したら、図7に戻ってプ
ログラム内で用いるソフトウェアタイマのセットを行
い、装置の機械上の初期設定(メカイニシャライズ)を
行う。このメカイニシャライズのルーチンを図10に示
す。メカイニシャライズでは、まずカバーオープンセン
サS1をチェックし、オープン状態ならばエラーとな
る。
After the initial value setting is completed, returning to FIG. 7, the software timer used in the program is set, and the initial setting (mechanical initialization) on the machine of the apparatus is performed. FIG. 10 shows the routine of this initialization. In the mechanical initialization, first, the cover open sensor S1 is checked. If the cover open sensor S1 is open, an error occurs.

【0058】次に、手差し給紙センサS9、カセット給
紙センサS7、排紙センサS13をそれぞれチェック
し、いずれかが検知状態にあった場合にはエラーバッフ
ァにエラーコードを書き込む。エラーバッファとはエラ
ーコードを格納するための変換用レジスタであり、詳細
はエラー処理の項で説明する。エラーになった場合に
は、各モータおよびカバーロックをオフし、ビジィ信号
を出力した後エラーフラグをセットしてメインルーチン
に戻る。
Next, the manual paper feed sensor S9, the cassette paper feed sensor S7, and the paper discharge sensor S13 are checked, and if any of them is detected, an error code is written to an error buffer. The error buffer is a conversion register for storing an error code, and will be described in detail in the section on error processing. If an error occurs, each motor and cover lock are turned off, a busy signal is output, an error flag is set, and the process returns to the main routine.

【0059】つぎにドラム紙センサS12をチェック
し、検知状態(ドラム上に受像紙Pが巻き付いた状態)
にある場合には排紙動作を行い、検知状態にない場合は
排紙チェックを行う。排紙チェックルーチンでは、図1
1に示すように、ドラムモータと給排紙モータを同時に
駆動させ、排紙ローラ181を所定距離だけ駆動する間
に排紙センサS13がオンした場合には排紙ジャムエラ
ーとなってメカイニシャライズルーチンに戻る。オンし
なかった場合には給排紙モータを停止させ、プラテンド
ラム110をヘッド開放位置センサDS3がオンするま
で駆動させ、メカイニシャライズルーチンに戻る。
Next, the drum paper sensor S12 is checked, and a detection state (a state in which the image receiving paper P is wound on the drum) is detected.
, A paper discharge operation is performed, and if not, a paper discharge check is performed. In the discharge check routine, FIG.
As shown in FIG. 1, when the drum motor and the paper supply / discharge motor are driven at the same time and the discharge sensor S13 is turned on while the discharge roller 181 is driven by a predetermined distance, a paper discharge jam error occurs and a reinitialization routine is performed. Return to If not turned on, the paper supply / discharge motor is stopped, the platen drum 110 is driven until the head opening position sensor DS3 is turned on, and the routine returns to the mechanical initialization routine.

【0060】この排紙チェック動作は、受像紙Pが、グ
リッパ120からはずれて排紙搬送路に達している状態
かどうかを判別するためのものである。この動作によ
り、排紙動作中にメインスイッチがオフされた場合等に
起き得る受像紙Pのジャム状態をイニシャライズ時に検
知することで、装置内に残存する受像紙Pを完全に排除
することができる。
This discharge check operation is for judging whether or not the image receiving paper P has deviated from the gripper 120 and has reached the discharge conveyance path. By this operation, the jammed state of the image receiving sheet P that may occur when the main switch is turned off during the sheet discharging operation is detected at the time of initialization, so that the image receiving sheet P remaining in the apparatus can be completely eliminated. .

【0061】図10において、排紙チェックルーチンで
エラーにならなかった場合には再びドラム紙センサS1
2をチェックし、オンしていれば排紙動作を行った後、
オンしていなければそのままの状態から、プラテンドラ
ム110を印写開始位置(ホームポジション)まで駆動
してメインルーチンに戻る。メカイニシャライズルーチ
ンから図7のメインルーチンに戻ったら、エラーフラグ
のチェックを行い、エラーが発生していた場合にはエラ
ー処理ルーチンへ、エラーがなかったらメインループへ
進む。
In FIG. 10, if no error has occurred in the paper discharge check routine, the drum paper sensor S1 is again activated.
Check 2 and, if turned on, perform the paper ejection operation.
If it is not on, the platen drum 110 is driven from that state to the printing start position (home position) and the process returns to the main routine. When returning from the initializing routine to the main routine of FIG. 7, the error flag is checked. If an error has occurred, the process proceeds to the error processing routine, and if there is no error, the process proceeds to the main loop.

【0062】図12にメインループルーチンのフローを
示す。メインループにおいては、エラーのチェック、イ
ンクシートおよび用紙サイズのチェック、オンライン/
オフラインのチェック、プリント信号のチェック、およ
びそれぞれのチェック動作におけるエラー発生のチェッ
クを行い、操作部240からのキー入力あるいは外部か
らの信号が入力されるまで上記のアイドリング動作を繰
り返す。
FIG. 12 shows the flow of the main loop routine. In the main loop, check for errors, check ink sheet and paper size,
An off-line check, a print signal check, and an error check in each check operation are performed, and the above-described idling operation is repeated until a key input from the operation unit 240 or an external signal is input.

【0063】まず、エラー状態のチェックであるが、メ
インループに処理が移った際に、すでに「サービスマン
コールエラー」が発生している場合には、無限ループに
入り以降の処理は行わない。次に、その他のエラーのチ
ェックを行い、エラーがある場合にはエラー処理ルーチ
ンへ飛ぶ。この装置の制御においては、エラーが発生し
た場合、エラーの原因を解消した後に上部ユニット10
1を開状態から閉状態にするかリセットキー242を押
して、リセット信号をCPU211に入力することによ
り、エラー状態からレディ状態に復帰するように設定さ
れている。
First, an error state check is performed. If a "serviceman call error" has already occurred when the processing has shifted to the main loop, the processing after entering the infinite loop is not performed. Next, other errors are checked, and if there is an error, the process jumps to an error processing routine. In the control of this device, when an error occurs, the upper unit 10
The setting is made so that the state returns from the error state to the ready state by changing the 1 from the open state to the closed state or pressing the reset key 242 and inputting a reset signal to the CPU 211.

【0064】すなわち、エラー処理ルーチンにおいてセ
ットされた「リセット待機」フラグは、リセット信号が
入力された場合にリセットされ、代わりに「リセット入
力」フラグがセットされる。メインループにおいては、
これらのフラグをチェックしており、「リセット待機」
フラグがセットされていてリセットキーが押されていな
い場合には、リセット信号の入力があるまで待機状態と
なる。リセット信号が入力されると、メカイニシャライ
ズが行われ、前述のように各センサが再びチェックされ
る。当然ながら、このメカイニシャライズでエラーが発
生した場合には、再びエラー処理ルーチンに飛ぶ。
That is, the "reset waiting" flag set in the error processing routine is reset when a reset signal is input, and the "reset input" flag is set instead. In the main loop,
Checking these flags, "Wait for reset"
If the flag is set and the reset key is not pressed, the apparatus enters a standby state until a reset signal is input. When a reset signal is input, reinitialization is performed, and each sensor is checked again as described above. Of course, if an error occurs during the initializing process, the process returns to the error processing routine.

【0065】次に、インクシートカセット151のチェ
ックが行われる。図13にインクカセットチェックルー
チンを示す。このルーチンでは、インクシートカセット
151の有無、およびインクシート150の種類(スタ
ンダード用/OHP用)の判別を行う。インクシートカ
セット151がセットされていればLED5によりスタ
ンダードもしくはOHPの表示を行い、もしインクシー
トカセット151がセットされていなかった場合にはイ
ンクシートエラー(インクシートなし)となり、LED
13を点灯する。
Next, the ink sheet cassette 151 is checked. FIG. 13 shows an ink cassette check routine. In this routine, the presence / absence of the ink sheet cassette 151 and the type (standard / OHP) of the ink sheet 150 are determined. If the ink sheet cassette 151 is set, the standard or OHP is displayed by the LED 5, and if the ink sheet cassette 151 is not set, an ink sheet error (no ink sheet) is generated and the LED 5 is displayed.
13 is turned on.

【0066】インクシートカセット151の有無および
インクシート150の種類の判別は、図5に示したイン
クシートカセットセンサS3によって行う。このセンサ
S3は2つの反射型フォトセンサで構成され、インクシ
ートカセット151にはこのセンサS3に対向する位置
にインクシート150の種類に応じたラベルが貼られて
いる。
The presence or absence of the ink sheet cassette 151 and the type of the ink sheet 150 are determined by the ink sheet cassette sensor S3 shown in FIG. The sensor S3 is composed of two reflective photosensors, and a label corresponding to the type of the ink sheet 150 is attached to the ink sheet cassette 151 at a position facing the sensor S3.

【0067】このラベルは、表面がセンサS3からの光
を反射するような材料で構成され、センサS3の2つの
フォトセンサの少なくとも一方に検知されるように貼ら
れている。したがって、一方のセンサがオンすればスタ
ンダード用、他方がオンすればOHP用、両方ともオフ
の場合はインクシートカセットがセットされていないと
いうふうに、それぞれの状態を判別することができる。
This label is made of a material whose surface reflects light from the sensor S3, and is attached so as to be detected on at least one of the two photosensors of the sensor S3. Therefore, the respective states can be determined such that one of the sensors is turned on for the standard, the other is turned on for the OHP, and if both are off, the ink sheet cassette is not set.

【0068】インクシートカセット151のチェックが
終わると、図12のメインループへ戻り、受像紙のサイ
ズ(用紙サイズ)のチェックを行う。この用紙サイズチ
ェックのルーチンを図14に示す。ここで、給紙には手
差し給紙とカセット給紙の2種類があるため、まずどち
らの給紙を使うかのチェックを行なう。このチェックに
は手差し台センサS8が用いられ、このセンサS8がオ
ンしていれば、すなわち手差し台170がセットされて
いれば手差し給紙と判断しLED11を点灯し、オフな
らばカセット給紙としてLED11を消灯する。
When the check of the ink sheet cassette 151 is completed, the process returns to the main loop of FIG. 12, and the size of the image receiving paper (paper size) is checked. FIG. 14 shows this paper size check routine. Here, since there are two types of paper feeding, manual paper feeding and cassette paper feeding, it is first checked which paper feeding is to be used. For this check, a manual feed tray sensor S8 is used. If this sensor S8 is on, that is, if the manual feed tray 170 is set, it is determined that manual paper feed is performed, and the LED 11 is turned on. The LED 11 is turned off.

【0069】手差し給紙の場合、手差し紙有無センサS
9により手差し台170に受像紙Pがセットされている
かどうかをチェックし、セットされていればサイズのチ
ェックを行う。このサイズのチェックには手差し紙サイ
ズセンサS11を用い、検知した用紙サイズは操作部2
40のLED4に表示する。
In the case of manual paper feed, a manual paper presence sensor S
In step 9, it is checked whether or not the image receiving paper P is set on the manual feed tray 170, and if so, the size is checked. A manual paper size sensor S11 is used to check this size, and the detected paper size is
The information is displayed on 40 LEDs 4.

【0070】カセット給紙の場合には、まず手差し紙有
無センサS9により手差し用紙がセットされているかど
うかをチェックし、紙があったときには手差しジャムエ
ラーとなりLED12を点灯し、LED15には手差し
ジャムエラーに対応した数字を表示する。このチェック
は、カセット給紙の際に手差し台170の紙が同時に給
紙されるのを防ぐために行われる。つぎに、給紙カセッ
ト160に紙があるかどうかをカセット紙有無センサS
5でチェックし、紙があればカセット紙サイズセンサS
6によりサイズのチェックを行って、結果をLED4に
表示し、紙がなければカセット紙無しエラーと判断して
LED10を点灯する。
In the case of cassette paper feeding, first, it is checked whether manual paper is set by the manual paper presence sensor S9, and if paper is present, a manual paper jam error occurs and the LED 12 is turned on. Displays the number corresponding to. This check is performed in order to prevent the paper on the manual feed tray 170 from being simultaneously fed during cassette feeding. Next, whether or not there is paper in the paper feed cassette 160 is determined by a cassette paper presence sensor S.
Check at 5, if there is paper, cassette paper size sensor S
The size is checked by 6 and the result is displayed on the LED 4. If there is no paper, it is determined that there is no cassette paper error and the LED 10 is turned on.

【0071】次に、図12のメインループに戻って操作
部240のオンラインキー241のチェックを行う。そ
のオンラインチェックのルーチンを図15に示す。オン
ラインキー241が押されていたら現在の状態をチェッ
クして、リモート状態ならローカルモードに、ローカル
状態ならリモートモードにセットし直す。オンラインの
ときにはLED16を点灯してその状態を示す。また、
オンラインキー241が押されていなかったり、テスト
印写モードであった場合には、何の処理もせずにそのま
まこのルーチンを抜けて図12のメインループに戻る。
Next, returning to the main loop of FIG. 12, the online key 241 of the operation unit 240 is checked. FIG. 15 shows the online check routine. If the online key 241 has been pressed, the current state is checked. If the remote state, the local mode is set. If the local state, the remote mode is reset. When online, the LED 16 is turned on to indicate the state. Also,
If the online key 241 has not been pressed or is in the test printing mode, the process exits this routine without any processing and returns to the main loop of FIG.

【0072】ここで、プリント装置がレディ状態か否か
をチェックし、レディならばテスト印写かどうかをチェ
ックする。テスト印写ならばそのままプリント動作のル
ーチンへ進み、そうでなければリモートモードかローカ
ルモードかのチェックを行う。リモートモードでかつプ
リント信号がホスト側から送られていたならプリント動
作に移り、他の場合はメインループの先頭へ戻って待機
状態となり、上述の各チェックを繰り返す。
Here, it is checked whether or not the printing apparatus is ready, and if it is ready, it is checked whether or not it is a test printing. If it is a test printing, the process directly proceeds to the print operation routine, and if not, it is checked whether it is in the remote mode or the local mode. In the remote mode, if the print signal has been sent from the host side, the operation proceeds to the print operation. In other cases, the operation returns to the head of the main loop to be in a standby state, and the above-described checks are repeated.

【0073】図16にエラー処理のルーチンを示す。各
ルーチンでエラーが発生した場合には、必ずこのルーチ
ンによってエラー処理がなされる。エラー処理ルーチン
に制御が引き渡されると、まず各駆動手段すなわちドラ
ムモータ,インクモータ,給排紙モータをオフにする。
次にエラーバッファを参照することによりエラーの種類
の判別を行う。
FIG. 16 shows an error processing routine. When an error occurs in each routine, error processing is always performed by this routine. When the control is transferred to the error processing routine, first, each drive means, that is, the drum motor, the ink motor, and the paper supply / discharge motor are turned off.
Next, the type of the error is determined by referring to the error buffer.

【0074】このエラーバッファはCPU211の内部
レジスタファイルに設けられているエラーコードを格納
するための変数用レジスタであり、エラーが発生したと
きにそのエラーに対応したエラーコードがエラーバッフ
ァに格納される。エラーには、サービスマンコールエラ
ー,カバーオープンエラー,紙ジャムエラー,モータ動
作エラー,紙/インクシートなしエラー等があり、優先
順位はサービスマンコールエラー,カバーオープンエラ
ー,その他の順となっている。
This error buffer is a variable register provided in the internal register file of the CPU 211 for storing an error code. When an error occurs, an error code corresponding to the error is stored in the error buffer. . The errors include a serviceman call error, a cover open error, a paper jam error, a motor operation error, a paper / ink sheet empty error, and the like. The priority order is a serviceman call error, a cover open error, and so on. .

【0075】サービスマンコールエラーの場合には、エ
ラー状態フラグに「エラーあり」および「サービスマン
コール」のフラグをセットした後、エラー処理、すなわ
ち各駆動系のオフ、ホストへのビジィ信号およびエラー
信号の出力、LED9もしくはLED14によるエラー
表示等を行い、エラーバッファをクリアしてエラー処理
ルーチンを抜ける。
In the case of a serviceman call error, after setting the "error present" and "serviceman call" flags in the error state flag, error processing, that is, turning off each drive system, a busy signal to the host, and an error A signal is output, an error is displayed by the LED 9 or the LED 14, the error buffer is cleared, and the process exits the error processing routine.

【0076】カバーオープンエラーの場合には、エラー
状態フラグに「エラーあり」、「カバーオープンエラ
ー」および「リセット待機」のフラグをセットした後、
上述のエラー処理を行う。また、サーマルヘッド140
が加圧状態にある場合にはヘッドの圧解除を行う。これ
は、サーマルヘッド140を上昇させておくことによ
り、カバー(上部ユニット101)を閉じるときにサー
マルヘッド140がプラテンドラム110に衝突するの
を防ぐことを目的としている。
In the case of a cover open error, after setting "error present", "cover open error" and "reset waiting" flags in the error state flag,
The error processing described above is performed. Also, the thermal head 140
Is released, the pressure of the head is released. The purpose of this is to prevent the thermal head 140 from colliding with the platen drum 110 when the cover (upper unit 101) is closed by raising the thermal head 140.

【0077】次に、エラー状態フラグをチェックして
「エラーあり」にセットされていた場合(エラー表示
中)には、上述のエラーを除くほかのエラー表示が既に
なされており、かつエラー解除がなされていない状態で
あるから、この場合にはエラーバッファをクリアするだ
けでルーチンを抜ける。このことは、以前に発生したエ
ラーの表示が優先され、このエラーが解除されなければ
つぎに発生したエラーの表示が行われないことを意味す
る。
Next, if the error status flag is checked and it is set to "error present" (during error display), other error displays except for the above-mentioned error have already been made, and the error is canceled. In this case, since the state has not been made, the routine is exited only by clearing the error buffer. This means that the display of a previously generated error has priority, and the display of the next error will not be performed unless this error is cleared.

【0078】その他のエラーのうち駆動系のエラーの場
合には、このエラー処理ルーチンにジャンプしてくるた
びにエラーカウンタ(ERR−CNT)をインクリメン
トし、このカウンタが2になった場合にはサービスマン
コールエラーとなり、エラー状態フラグに「サービスマ
ンコールエラー」をセットする。このことは、エラーが
発生した場合にリセット信号が入力されることによりエ
ラー解除動作が行われるが、リセット信号が2回以上入
力されてもエラーが解除されなかった場合にサービスマ
ンコールエラーになることを意味する。このようなエラ
ーが発生する可能性としては、モータあるいはモータド
ライバの故障,駆動伝達系の不具合,各センサ類の故障
等が考えられる。
In the case of a drive system error among other errors, the error counter (ERR-CNT) is incremented each time the processing jumps to this error processing routine. A man call error occurs, and “service man call error” is set in the error state flag. This means that the error clearing operation is performed by inputting a reset signal when an error occurs, but a serviceman call error occurs when the error is not cleared even if the reset signal is input twice or more. Means that. Possible causes of such an error include a failure of a motor or a motor driver, a failure of a drive transmission system, a failure of each sensor, and the like.

【0079】紙無しエラーの場合には、ビジィ信号およ
びエラー信号の出力、LED10による紙無しエラー表
示、およびエラーバッファのクリアを行い、エラーフラ
グのセットは行わない。このエラーは紙をセットするこ
とで解消され、リセット信号の入力の必要はない。
In the case of a paper-out error, a busy signal and an error signal are output, a paper-out error is displayed by the LED 10, and the error buffer is cleared, but the error flag is not set. This error is eliminated by setting the paper, and there is no need to input a reset signal.

【0080】その他のエラー、たとえば紙ジャムエラ
ー、インクシートエラー等の場合には、エラー状態フラ
グに「エラー有り」,「リセット待機」をセットし、上
述のエラー処理を行ってこのルーチンを抜ける。ジャム
エラーの場合には、ドラムモータおよび給排紙モータの
励磁電流をオフすることにより、プラテンドラムおよび
給排紙ローラがフリーに回転することができるようにな
って、ジャム紙を容易に取り除くことができる。
In the case of other errors, for example, a paper jam error, an ink sheet error, or the like, "error present" and "reset standby" are set in the error state flag, the above-described error processing is performed, and the routine exits. In the case of a jam error, the excitation current of the drum motor and the paper supply / discharge motor is turned off, so that the platen drum and the paper supply / discharge roller can rotate freely, and the jam paper can be easily removed. Can be.

【0081】以下に各エラー状態の解除方法について簡
単にまとめると次のようになる。RAMチェックエラ
ー,サーマルヘッド高温異常エラーの場合は、サービス
マンコールエラーとなり復帰しない。サーマルヘッドモ
ータ,プラテンドラムモータ等の駆動系エラーの場合
は、リセット信号の入力で復帰する。ただし他のエラー
回復後、リセット信号が2回以上入力されても復帰しな
かった場合にはサービスマンコールエラーとなる。
The following briefly summarizes the method of releasing each error state. In the case of a RAM check error or a thermal head high temperature error, a serviceman call error occurs and the operation does not return. In the case of a drive system error such as a thermal head motor or a platen drum motor, the operation is restored by inputting a reset signal. However, if the reset signal is not recovered even if the reset signal is input twice or more after other error recovery, a serviceman call error occurs.

【0082】カバーオープンエラーの場合は、上部ユニ
ット101を閉じることにより復帰する。インクシート
エンドエラーの場合は、インクシートカセット151を
新しいものに入れ換えて上部ユニット101を閉じるこ
とで復帰する。インクシートなしエラーの場合は、イン
クシートカセット151をセットして上部ユニット10
1を閉じることで復帰する。受像紙ジャムエラーの場合
は、ジャム紙を除去したあとリセット信号が入力される
ことで復帰する。
In the case of a cover open error, the operation is restored by closing the upper unit 101. In the case of an ink sheet end error, the ink sheet cassette 151 is replaced with a new one and the upper unit 101 is closed to recover. If there is no ink sheet error, the ink sheet cassette 151 is set and the upper unit 10
It returns by closing 1. In the case of an image-receiving paper jam error, the sheet is recovered by removing the jammed paper and receiving a reset signal.

【0083】紙なしエラーの場合は、給紙カセット16
0または手差し台170に受像紙Pをセットすれば復帰
する。ここで、リセット信号はリセットキー242の押
下動作、上部ユニット101の開閉動作、上位機器から
のリセット信号入力のいずれかが行われたときに発生す
るものである。
In the case of a paper-out error, the paper cassette 16
If the image receiving paper P is set to 0 or the manual feed tray 170, the process returns. Here, the reset signal is generated when any one of a pressing operation of the reset key 242, an opening / closing operation of the upper unit 101, and a reset signal input from a host device is performed.

【0084】このプリント装置100では、CPU21
1の割込み処理のうち、2種類の割込み処理、すなわち
外部割込み処理とタイマ割込み処理を行っている。この
うち外部割込み処理では、操作部240からのリセット
キー242の入力信号、外部装置からのリセット信号、
カバーオープンセンサからの信号、ライン同期信号等を
受け付け、外部割込み信号がどの信号なのかを判別した
後、それぞれの信号に応じた処理を行う。また、タイマ
割込み処理では、ステッピングモータの駆動、ソフトウ
ェアで使用するタイマの管理、操作部240のLED表
示の制御、サーマルヘッドの温度測定の管理、ウォッチ
ドッグタイマの管理等を行う。
In the printing apparatus 100, the CPU 21
Out of one interrupt process, two types of interrupt processes are performed, that is, an external interrupt process and a timer interrupt process. In the external interrupt processing, an input signal of the reset key 242 from the operation unit 240, a reset signal from an external device,
After receiving a signal from the cover open sensor, a line synchronizing signal, and the like, and determining which signal the external interrupt signal is, processing corresponding to each signal is performed. Further, in the timer interrupt processing, it performs driving of a stepping motor, management of a timer used by software, control of LED display of the operation unit 240, management of temperature measurement of a thermal head, management of a watchdog timer, and the like.

【0085】以下、各割込み処理についての詳細な説明
を行う。リセット信号によるリセット動作には、エラー
解除動作とプリント動作の中断があるが、前者について
はすでに述べたので後者についてのみ説明する。ここ
で、プリント動作中は上部ユニット101は図示しない
カバーロック手段により開放禁止状態に保持されている
ため、カバーオープンによるリセット信号は発生しな
い。
Hereinafter, each interrupt processing will be described in detail. The reset operation by the reset signal includes an error canceling operation and an interruption of the printing operation. The former has already been described, so only the latter will be described. Here, during the printing operation, since the upper unit 101 is held in the open prohibition state by the cover lock unit (not shown), the reset signal due to the cover open is not generated.

【0086】印写動作中にリセットキー242の信号も
しくは外部装置からのリセット信号がCPU211の外
部割込み端子に入力されると、CPU211は即座に割
込み処理を行い、この処理の中でリセット入力フラグを
セットする。このリセット入力フラグがセットされる
と、プリント装置100はプリント動作を中止し、リセ
ット動作を行う。この際、プリント装置100がどのよ
うな動作を行っているかにより、リセット動作が多少異
なる。
When a signal of the reset key 242 or a reset signal from an external device is input to the external interrupt terminal of the CPU 211 during the printing operation, the CPU 211 immediately performs an interrupt process, and sets a reset input flag in this process. set. When the reset input flag is set, the printing apparatus 100 stops the printing operation and performs the reset operation. At this time, the reset operation is slightly different depending on what operation the printing apparatus 100 is performing.

【0087】給紙動作中の場合には、途中でリセット信
号が入力されても給紙動作を続行し、動作が完了した時
点でリセット入力フラグをチェックし、リセット入力フ
ラグがセットされていればリセット動作を行う。ここで
いうリセット動作とは、プラテンドラム110にセット
された受像紙Pの排紙動作と、エラーの有無のチェック
動作を行い、エラーがなかった場合にローカルモードに
セットし、レディ状態に復帰することを意味する。
During the paper feeding operation, the paper feeding operation is continued even if a reset signal is input in the middle. When the operation is completed, the reset input flag is checked, and if the reset input flag is set, Perform a reset operation. Here, the reset operation is a discharge operation of the image receiving paper P set on the platen drum 110 and an operation of checking whether there is an error. If there is no error, the local mode is set, and the operation returns to the ready state. Means that.

【0088】インクシートセット動作中の場合には、直
ちにインクシートモータをストップし、上述のリセット
動作を行う。印写動作中の場合には、直ちにサーマルヘ
ッド140に供給される駆動用電源をオフして加圧状態
を解除した後、上述のリセット動作を行う。排紙動作中
の場合には、排紙動作を完了させ、エラーがなかった場
合はローカルモードにセットしてレディ状態に復帰す
る。
If the ink sheet setting operation is being performed, the ink sheet motor is immediately stopped, and the above-described reset operation is performed. If the printing operation is being performed, the power supply for driving supplied to the thermal head 140 is immediately turned off to release the pressurized state, and then the above-described reset operation is performed. If the paper discharge operation is being performed, the paper discharge operation is completed, and if there is no error, the printer is set to the local mode and returns to the ready state.

【0089】ここで、インクシートセットおよび印写動
作中にリセット信号が入力されたときは、印写途中でも
直ちにリセット動作を行うが、このままではインクシー
ト150の頭出しがされない状態でストップしてしま
い、つぎの印写を行うときにインクシート150の頭出
しを行うために余分な時間を費やさなければならなくな
る。
Here, when a reset signal is input during the ink sheet setting and the printing operation, the resetting operation is immediately performed even during the printing operation. As a result, extra time must be spent for cueing the ink sheet 150 when performing the next printing.

【0090】この不具合を解消するために、印写途中
に、リセット信号が入力されたときにはリセット動作を
行うのと同時にインクシート150の色選択動作を平行
して行わせれば良い。なお、インクシートの色選択動作
の詳細については、後述のプリント動作のインクシート
セットの項で説明する。
In order to solve this problem, when a reset signal is input during printing, the color selection operation of the ink sheet 150 may be performed in parallel with the reset operation. The details of the ink sheet color selection operation will be described later in the section of the ink sheet set of the printing operation.

【0091】すなわち、リセット動作の開始と同時にイ
ンクモータをスタートさせ、たとえばタイマ割込みルー
チン内でインクシートセンサS4の出力をチェックする
ことで所望の色のところでインクモータをストップさせ
ることができる。この場合、インクシート150に形成
された複数の色のうち最初に印写される色、例えばY→
M→Cの順で印写されるとすればYの色識別マークを検
知したところでインクシートモータを停止させるのがよ
い。
That is, the ink motor is started simultaneously with the start of the reset operation. For example, by checking the output of the ink sheet sensor S4 in a timer interrupt routine, the ink motor can be stopped at a desired color. In this case, the color to be first printed out of the plurality of colors formed on the ink sheet 150, for example, Y →
If the printing is performed in the order of M → C, the ink sheet motor is preferably stopped when the Y color identification mark is detected.

【0092】ここで注意を要するのは、Yを識別するた
めのマークMKは、印写動作開始直後にインクシート1
50のたるみ防止のために行われるたるみ巻き取り動作
で巻き取られる長さよりも長くなければならないという
ことである。
It should be noted here that the mark MK for identifying Y is printed on the ink sheet 1 immediately after the start of the printing operation.
That is, it must be longer than the length wound by the slack winding operation performed to prevent the slack of 50.

【0093】もう一つの手段としては、インクシートモ
ータをシアンCを検知したところで停止させるという方
法がある。この方法によれば、次の印写動作開始の際に
インクシート150を一色分だけ余計に巻き取れば良い
ため、相応の効果が得られる。 ただし、この方法にお
いては、シアンCを印写している時にリセット信号が入
力された場合には、インクシート150の巻き取りは行
わないようにすることはいうまでもない。
As another means, there is a method in which the ink sheet motor is stopped when cyan C is detected. According to this method, at the start of the next printing operation, the ink sheet 150 needs to be wound up by an extra amount for one color, so that a corresponding effect can be obtained. However, in this method, if a reset signal is input while cyan C is being printed, it is needless to say that the ink sheet 150 is not wound up.

【0094】また、単色印写モード選択時には、所定の
リセット動作に並行して次位の同一色、例えばCで印写
している場合にはY,Mを飛ばして次のCを検知したと
ころでインクモータを停止させるようにする。
When the single-color printing mode is selected, Y and M are skipped in the case of printing with the next same color, for example, C, in parallel with a predetermined reset operation. Stop the motor.

【0095】カバーオープン割込みは、上部ユニット1
01が開放状態になったときに、カバーオープンセンサ
S1からの信号がCPU211の外部割込み端子に入力
されることにより発生する。この割込みでは、ヘッド駆
動用電源オフ,ヘッドの加圧解除,各駆動系およびカバ
ーロックソレノイドのオフ,カバーオープンエラーの出
力等の処理を行う。
The cover open interrupt is issued to the upper unit 1
This occurs when a signal from the cover open sensor S1 is input to an external interrupt terminal of the CPU 211 when 01 is in an open state. In this interrupt, processing such as turning off the power for driving the head, releasing the pressurization of the head, turning off each drive system and the cover lock solenoid, and outputting a cover open error are performed.

【0096】また、この割込みによりCPU211に
「リセット信号入力あり」のフラグがセットされ、カバ
ーオープンセンサS1がカバーの閉状態を検知した際に
リセット信号が有効となり、所定のリセット動作が行わ
れる。すなわち、受像紙のジャムエラーやインクシート
エンド等が発生した際に、カバーを開放してエラーの要
因を除去した後に、カバーを閉じると自動的にリセット
動作が行われる。
Further, the flag of "reset signal input" is set in the CPU 211 by this interrupt, and when the cover open sensor S1 detects the closed state of the cover, the reset signal becomes valid and a predetermined reset operation is performed. That is, when a paper jam error or ink sheet end occurs, the cover is opened, the cause of the error is removed, and then the cover is automatically reset when the cover is closed.

【0097】ここで、カバーが閉じられてから所定時間
だけ閉状態が継続するのを確認してからリセット動作を
行わせるようにすれば、カバーの閉じ方が不完全だった
り、カバーオープンセンサS1にノイズが混入した際の
誤動作を防止することができる。
Here, if the reset operation is performed after confirming that the closed state continues for a predetermined time after the cover is closed, the cover may be incompletely closed or the cover open sensor S1 may be closed. Can be prevented from malfunctioning when noise is mixed into the device.

【0098】ライン同期信号(Lsync)による割込
みは、サーマルヘッド140の書き込み動作に同期させ
てプラテンドラム110を回転駆動させるために行わ
れ、このライン同期信号による割込みの度にドラムモー
タを所定のステップ数だけ駆動させ、プラテンドラム1
10が1ライン分だけ回転するように制御される。この
動作については、印写動作の説明の項で詳細に説明す
る。
The interruption by the line synchronization signal (Lsync) is performed in order to rotate the platen drum 110 in synchronization with the writing operation of the thermal head 140, and every time the interruption by the line synchronization signal causes the drum motor to rotate in a predetermined step. Drive the platen drum 1
10 is controlled to rotate by one line. This operation will be described in detail in the description of the printing operation.

【0099】このプリント装置100では、ドラムモー
タおよび給排紙モータにステッピングモータを用いてお
り、このモータはCPU211のタイマ割込みにより駆
動制御される。ソフトウェアタイマにステッピングモー
タの駆動速度に応じたタイマ値をセットすることによ
り、所定時間後にタイマ割込みがかかるため、この割込
みの度に励磁する相を変化させることによってモータを
駆動する。また、割込み処理の最中に、例えばセンサの
出力状態をチェックしてモータをストップさせる等の動
作を行うことにより、見かけ上メインフローと平行して
異なる制御を実行させることができる。
In the printing apparatus 100, a stepping motor is used for the drum motor and the paper supply / discharge motor, and the driving of this motor is controlled by a timer interrupt of the CPU 211. By setting a timer value according to the driving speed of the stepping motor in the software timer, a timer interrupt occurs after a predetermined time. Therefore, the motor is driven by changing the phase to be excited each time this interrupt occurs. Further, during the interrupt processing, for example, by performing an operation such as checking the output state of the sensor and stopping the motor, it is possible to execute a different control apparently in parallel with the main flow.

【0100】このプリント装置の制御では、定期的にタ
イマ割込みがかかるようなフリーランタイマ割込みを実
行させている。プログラム内で設定時間のチェックを行
う場合に用いるタイマ用のカウンタバッファは、このフ
リーランタイマ割込みによって管理する。すなわち、こ
のバッファに所定値をセットした後、フリーランタイマ
割込みにより0になるまで定期的に減算していく。した
がって、プログラム上でこのバッファをチェックするこ
とによって、所定時間が経過したかどうかを判断するこ
とができる。ここで、タイマ用バッファを複数セットす
ることにより、異なった設定時間の管理を平行して行う
ことができる。
In the control of the printing apparatus, a free-run timer interrupt such that a timer interrupt occurs periodically is executed. The counter buffer for the timer used when checking the set time in the program is managed by this free-run timer interrupt. That is, after a predetermined value is set in this buffer, it is periodically decremented until it becomes 0 by a free-run timer interrupt. Therefore, by checking this buffer on the program, it is possible to determine whether a predetermined time has elapsed. Here, by setting a plurality of timer buffers, management of different set times can be performed in parallel.

【0101】また、前述のリセット動作におけるインク
シート150の色選択動作のように、他の動作と平行し
て異なる動作、たとえばセンサの出力チェック等を行わ
せる場合に、このタイマ割込みルーチンを利用すること
ができる。
The timer interrupt routine is used when performing a different operation in parallel with other operations, such as a sensor output check, like the color selection operation of the ink sheet 150 in the above-described reset operation. be able to.

【0102】操作部240の表示部にはLEDを用いて
いるが、このLEDはダイナミック駆動で点灯されてい
る。このダイナミック駆動は信号線をマトリクス状に配
線してオン/オフ信号を送るため、直接LEDを駆動す
るスタティック駆動に比べて信号線の数を減らすことが
できる反面、マトリクス状になった信号線の一方にデー
タをロードし、他方を定期的にスキャンさせる必要があ
る。したがって、上記のフリーラン割込みによりオン/
オフデータおよびスキャン信号のロードを定期的に行っ
ている。
An LED is used for the display section of the operation section 240, and this LED is lit by dynamic driving. In this dynamic drive, signal lines are wired in a matrix to send on / off signals, so that the number of signal lines can be reduced as compared to static drive in which LEDs are directly driven. One needs to load data and the other needs to be scanned periodically. Therefore, it is turned on / off by the above-mentioned free-run interrupt.
Off data and scan signals are loaded periodically.

【0103】サーマルヘッド140は印写動作を継続す
ることにより徐々に蓄熱されていくが、通常は冷却手段
により一定温度以上には上昇しないように制御されてい
る。しかし、環境温度の影響やサーマルヘッド140の
故障等の原因でヘッド温度が異常に上昇し、適正な印写
動作が行われなくなる可能性があるため、常にヘッド温
度のチェックを行う必要がある。ヘッド温度は、サーマ
ルヘッド140に内蔵されたヘッド温度測定部301
(たとえばサーミスタ等)により測定され、そのアナロ
グデータはCPU211のA/D変換端子ANA2に入
力される。
The thermal head 140 gradually accumulates heat by continuing the printing operation, but is usually controlled by a cooling means so as not to rise above a certain temperature. However, it is necessary to always check the head temperature because the head temperature may abnormally rise due to the influence of the environmental temperature, the failure of the thermal head 140, or the like, and a proper printing operation may not be performed. The head temperature is measured by a head temperature measuring unit 301 built in the thermal head 140.
(For example, a thermistor), and the analog data is input to the A / D conversion terminal ANA2 of the CPU 211.

【0104】この測定結果は、上記のフリーラン割込み
が発生する毎にA/D変換され(ただし割込み発生時に
A/D変換実行中の場合には次の処理に進む)、予め設
定されている温度上限値と比較される。測定結果が一定
時間以上温度上限値をオーバーしていたならばヘッド温
度異常エラーとなり、そのとき実行していた動作を中断
してサービスマンコールエラー表示を行う。
This measurement result is A / D converted each time the above-mentioned free-run interrupt occurs (however, if the A / D conversion is being executed at the time of occurrence of the interrupt, the process proceeds to the next process) and is set in advance. It is compared with the upper temperature limit. If the measurement result exceeds the temperature upper limit for a certain period of time, a head temperature error error occurs, the operation being executed at that time is interrupted, and a serviceman call error display is performed.

【0105】CPU211は、システム上に発生した事
故からすばやく復旧させるために、ウォッチドッグ・タ
イマ機能を有している。このウォッチドッグ・タイマ
(以下「WDT」という)はシステムが立ち上がった時
点で初期化され、上記フリーランタイマ割込みの処理に
おいて定期的にリセットされる。もし所定時間以内にW
DTがリセットされないと、WDTのタイマがタイムア
ウトし、CPU211は自分自身をリセットして初期化
する。この機能により、システムが暴走してもCPU2
11は所定時間後に自動復帰することができる。
The CPU 211 has a watchdog timer function to quickly recover from an accident that has occurred on the system. This watchdog timer (hereinafter referred to as "WDT") is initialized when the system starts up, and is periodically reset in the processing of the free-run timer interrupt. If within a predetermined time W
If the DT is not reset, the WDT timer times out, and the CPU 211 resets itself and initializes. With this function, even if the system runs away,
11 can automatically return after a predetermined time.

【0106】図17にプリント動作のフローチャートを
示す。プリント装置100は、レディ状態でかつリモー
トモードの時、ホストからのプリント信号を受け付ける
とプリント動作を開始する。図17のプリント動作のル
ーチンでは、まずマージンの設定を行う。このマージン
の設定値は、用紙サイズのチェックを行った際に各サイ
ズに応じて選択されたものである。ここで、プリントカ
ウンタをリセットし、続いてジャムセンサのチェックを
行う。ジャムが発生していなければ、給紙動作を行いプ
ラテンドラム110に受像紙Pを巻き付ける。
FIG. 17 shows a flowchart of the printing operation. The printing apparatus 100 starts a printing operation when receiving a print signal from the host in the ready state and in the remote mode. In the print operation routine shown in FIG. 17, first, a margin is set. The set value of the margin is selected according to each size when the paper size is checked. Here, the print counter is reset, and then the jam sensor is checked. If no jam has occurred, a paper feeding operation is performed and the image receiving paper P is wound around the platen drum 110.

【0107】次にインクシート150の色合わせ、すな
わちイエロYの選択を行う。このインクシートセットル
ーチンでは、インクシート150の色選択動作のほかに
インクシート150のエンド検知を行っているが、その
詳細については後述する。インクシート150のセット
と印写動作をイエロY,マゼンタM,シアンCの3色に
ついて行った後、プラテンドラム110に巻き付けられ
ている受像紙Pの排紙動作を行って一連のプリント動作
が完了する。
Next, the color matching of the ink sheet 150, that is, yellow Y is selected. In the ink sheet setting routine, the end detection of the ink sheet 150 is performed in addition to the color selection operation of the ink sheet 150, the details of which will be described later. After the ink sheet 150 is set and the printing operation is performed for the three colors of yellow Y, magenta M , and cyan C, the receiving operation of the image receiving paper P wound around the platen drum 110 is performed to complete a series of printing operations. I do.

【0108】このルーチンで、ジャムセンサチェック,
給紙動作,ドラム紙センサチェック,排紙動作のいずれ
かにおいて、何らかのジャムが検知された場合にはプリ
ント動作を中止し、ジャム表示,各駆動手段の停止,エ
ラーバッファおよびエラーフラグのセットを行ってこの
ルーチンを抜ける。また、インクシートエンドエラーが
発生した場合には、すでにプラテンドラム110に受像
紙Pが巻き付いているため、インクシートエンドエラー
の表示,エラーバッファおよびエラーフラグのセットを
行った後、排紙動作を行う。
In this routine, the jam sensor check,
If any jam is detected in any of the sheet feeding operation, drum sheet sensor check, and sheet discharging operation, the printing operation is stopped, the jam is displayed, each driving unit is stopped, the error buffer and the error flag are set. Exit this leverage routine. When an ink sheet end error occurs, the image receiving paper P has already been wound around the platen drum 110, so that the display of the ink sheet end error, the setting of the error buffer and the error flag, and the discharge operation are performed. Do.

【0109】また、図には示していないが、プリント動
作中にリセットキー242が押された場合には、即座に
プリント動作を中断して図中Aで示したところへジャン
プし、排紙動作を行ってプリント動作を終了する。ただ
し、リセットキーが押されたときに給紙動作中であった
場合には、給紙動作が完全に終了してから排紙動作を行
う。また、印写動作中であった場合は、サーマルヘッド
に印加している電圧をオフし、へッドの加圧状態を解除
してから排紙動作を行う。
Although not shown in the figure, if the reset key 242 is pressed during the printing operation, the printing operation is immediately interrupted and the operation jumps to the position indicated by A in FIG. To finish the printing operation. However, if the sheet feeding operation is being performed when the reset key is pressed, the sheet discharging operation is performed after the sheet feeding operation is completely completed. If the printing operation is being performed, the voltage applied to the thermal head is turned off, the pressurized state of the head is released, and then the paper discharging operation is performed.

【0110】図17に示したプリント動作において、給
紙動作,排紙動作,インクシートセット,印写動作の4
つの動作について、以下に詳細に説明する。まず、図1
8〜20及び図21に基づいて給紙動作について説明す
る。図18〜20に給紙動作のフローチャートを、図2
1に給紙動作の各段階の状態をそれぞれ示す。
In the printing operation shown in FIG. 17, four operations of a paper feeding operation, a paper discharging operation, an ink sheet setting, and a printing operation are performed.
The two operations will be described in detail below. First, FIG.
The sheet feeding operation will be described with reference to FIGS. FIGS. 18 to 20 show flowcharts of the sheet feeding operation, and FIGS.
1 shows the state of each stage of the sheet feeding operation.

【0111】図18に示すように、給紙動作が開始され
るとまず初めにサーマルヘッド140の状態をチェック
し、加圧状態にあった場合には加圧の解除を行った後、
インクシート150を所定量だけ巻き上げる。このイン
クシート150の巻き上げ動作は、インクシート150
がたるんだ状態でプラテンドラム110を回転させた場
合に、インクシート150がプラテンドラム110に巻
く付くという現象が生ずる可能性があるので、それを防
ぐために行う。
As shown in FIG. 18, when the paper feeding operation is started, first, the state of the thermal head 140 is checked. If the thermal head 140 is in the pressurized state, the pressurization is released.
The ink sheet 150 is wound up by a predetermined amount. The winding operation of the ink sheet 150 is performed by
When the platen drum 110 is rotated in a loose state, a phenomenon that the ink sheet 150 winds around the platen drum 110 may occur.

【0112】次に、プラテンドラム110が印写開始位
置(DS1)に位置しているかどうかのチェックを行
い、他の位置にあった場合には印写開始位置まで移動さ
せる。この時の状態を図21の(a)に示す。ここで、
図18に示すように給排紙ソレノイドをONさせ、ドラ
ムモータをスタートさせたあと、手差し給紙かカセット
給紙かの判別を行い、カセット給紙の場合は図9のA
へ、手差し給紙の場合は同図のBへジャンプする。カセ
ット給紙と手差し給紙は一部を除いてほぼ同じ動作であ
るから、以降は図21を参照しながらカセット給紙を主
に説明し、手差し給紙については相違点のみを記す。
Next, it is checked whether the platen drum 110 is located at the printing start position (DS1), and if it is at another position, it is moved to the printing start position. The state at this time is shown in FIG. here,
As shown in FIG. 18, after turning on the supply / discharge solenoid and starting the drum motor, it is determined whether manual paper feeding or cassette paper feeding is performed.
In the case of manual feed, the process jumps to B in FIG. Since the cassette paper feeding and the manual paper feeding are almost the same operation except for a part, the cassette paper feeding will be mainly described below with reference to FIG. 21, and only the differences in the manual paper feeding will be described.

【0113】図18,19のフローチャートに示すよう
に、給紙動作の開始に伴い、ドラムモータと給排紙モー
タとがスタートし、同時にカセット給紙の場合には給紙
ローラ161に給排紙モータの駆動力を伝達するための
給紙ローラクラッチ(図示せず)をオンにする。手差し
給紙の場合には手差し給紙ローラは給排紙モータから常
に駆動力が伝達されているため、クラッチ等のON動作
は必要としない。
As shown in the flow charts of FIGS. 18 and 19, the drum motor and the paper supply / discharge motor are started with the start of the paper supply operation. A paper feed roller clutch (not shown) for transmitting the driving force of the motor is turned on. In the case of manual paper feed, the driving force of the manual paper feed roller is constantly transmitted from the paper supply / discharge motor, so that the ON operation of the clutch or the like is not required.

【0114】次に、給紙搬送路162上に配設されたカ
セット給紙センサS7(手差し給紙の場合は手差し搬送
路172上の手差し給紙センサS10)の出力及び給紙
位置センサDS2の出力をチェックして、カセット給紙
センサS7(または手差し給紙センサS10)がオンし
た場合には給排紙モータを停止させ、プラテンドラム1
10が給紙位置(DS2)に来るまでドラムモータの駆
動を続ける(図21の(b))。
Next, the output of the cassette paper feed sensor S7 (in the case of manual paper feed, the manual paper feed sensor S10 on the manual paper feed path 172) disposed on the paper feed path 162 and the output of the paper feed position sensor DS2 are provided. The output is checked, and if the cassette paper feed sensor S7 (or manual paper feed sensor S10) is turned on, the paper feed / discharge motor is stopped, and the platen drum 1 is stopped.
The driving of the drum motor is continued until 10 reaches the sheet feeding position (DS2) ((b) in FIG. 21).

【0115】なお、このときグリッパ120は給排紙ソ
レノイド190(図29参照)により開放状態になってい
る(グリッパ120の開閉動作については後述する)。給
紙位置センサDS2がオンしたならば、ドラムモータを
停止させ(図21の(c))、ドラムモータと給排紙モー
タが共に停止していることを確認してから、図20のC
にジャンプして、給排紙モータを再び駆動させて受像紙
Pをグリッパ120に侵入させる。
At this time, the gripper 120 is opened by the paper supply / discharge solenoid 190 (see FIG. 29) (opening and closing operations of the gripper 120 will be described later). When the paper feed position sensor DS2 is turned on, the drum motor is stopped (FIG. 21 (c)), and it is confirmed that both the drum motor and the paper supply / discharge motor are stopped.
And the paper supply / discharge motor is driven again to cause the image receiving paper P to enter the gripper 120.

【0116】このとき、給排紙モータの搬送量は、カセ
ット給紙センサS7(または手差し給紙センサS10)
からグリッパ120までの距離よりも5〜10mm程度
長めに設定することが望ましい。これは、受像紙Pの先
端をグリッパ120に突き当てた後、さらに受像紙Pを
搬送して軽く撓ませることにより、給紙時に生じたスキ
ューを矯正するためである。
At this time, the conveyance amount of the paper supply / discharge motor is determined by the cassette paper feed sensor S7 (or the manual paper feed sensor S10).
It is desirable to set the distance to be about 5 to 10 mm longer than the distance from the gripper 120 to the gripper 120. This is because the skew generated at the time of paper feeding is corrected by abutting the leading end of the image receiving paper P against the gripper 120 and further transporting and slightly bending the image receiving paper P.

【0117】すなわち、この場合はグリッパ120をス
キュー矯正用のストッパとして利用していることにな
る。図20のフローチャートでは、前記搬送量を仮に4
5mmに設定している。このときの状態を図21の
(d)に示す。
That is, in this case, the gripper 120 is used as a skew correction stopper. In the flowchart of FIG.
It is set to 5 mm. The state at this time is shown in FIG.

【0118】続いて、給排紙モータを駆動したままドラ
ムモータをスタートさせると、グリッパ120が閉じ始
め、受像紙Pがプラテンドラム110に固定される。受
像紙Pがグリップされプラテンドラム110に巻き付け
られて充分に固定された状態で(図20のフローチャー
トにおいては50mm搬送するように設定している)、
給排紙モータをストップさせる(図21の(e))。
Subsequently, when the drum motor is started with the paper supply / discharge motor being driven, the gripper 120 starts to close, and the image receiving paper P is fixed to the platen drum 110. In a state where the image receiving paper P is gripped and wound around the platen drum 110 and is sufficiently fixed (in the flowchart of FIG. 20, it is set so as to convey 50 mm).
The paper supply / discharge motor is stopped (FIG. 21E).

【0119】なお、給排紙モータの停止と同時に上記ロ
ーラクラッチもオフされ、給紙ローラ161はフリーな
状態となるため、プラテンドラム110が受像紙Pを巻
き付けて回転する際の負荷になることはない。この状態
でグリッパ120がヘッド開放位置(DS3)に達する
までプラテンドラム110を回転した後、ドラムモータ
を停止する(図21の(f))。
Since the roller clutch is also turned off simultaneously with the stop of the paper supply / discharge motor, and the paper supply roller 161 is in a free state, the load becomes a load when the platen drum 110 winds and rotates the image receiving paper P. There is no. In this state, the drum motor is stopped after rotating the platen drum 110 until the gripper 120 reaches the head release position (DS3) (FIG. 21 (f)).

【0120】ここで、ドラム紙センサS12をチェック
して、オンしていれば紙の搬送方向の長さをセットして
給紙動作が完了する。もしドラム紙センサS12がオフ
であったなら、受像紙Pがプラテンドラム110上に固
定されていない状態であるからペーパージャムとなる。
Here, the drum paper sensor S12 is checked, and if turned on, the length in the paper transport direction is set and the paper feeding operation is completed. If the drum paper sensor S12 is off, paper jam occurs because the image receiving paper P is not fixed on the platen drum 110.

【0121】図22に排紙動作のフローチャートを示
す。排紙動作では、まずプラテンドラム110が印写開
始位置DS1に位置している状態で給排紙ソレノイド1
90をオンさせ、同時にドラムモータと給排紙モータを
スタートさせる。給排紙ソレノイド190がオンした状
態でプラテンドラム110が回転すると、後述するよう
にグリッパ120が開放されイジェクトピン130(図
24参照)が受像紙Pを押し出すため、受像紙Pはプラ
テンドラム110を離れ、排紙搬送路182に送り出さ
れる。
FIG. 22 shows a flowchart of the sheet discharging operation. In the sheet discharging operation, first, in a state where the platen drum 110 is located at the printing start position DS1, the sheet feeding and discharging solenoid 1 is set.
90 is turned on, and at the same time, the drum motor and the paper supply / discharge motor are started. When the platen drum 110 rotates with the paper supply / discharge solenoid 190 turned on, the gripper 120 is opened and the eject pin 130 (see FIG. 24) pushes out the image receiving paper P as described later. After being separated, the sheet is sent to the sheet discharge conveyance path 182.

【0122】ここで排紙センサS13の出力をチェック
し、給排紙モータが所定長さ(図では230mm)だけ
搬送しても排紙センサS13がオンしなかった場合に
は、排紙ミスと判断し排紙ジャム処理を行う。排紙セン
サS13がオンしたら、給排紙モータの搬送距離(図で
は370mm)を給排紙モータのステップカウンタにセ
ットし、印写開始位置センサDS1のチェック動作に移
る。
Here, the output of the paper discharge sensor S13 is checked, and if the paper discharge sensor S13 is not turned on even after the paper supply / discharge motor has conveyed by a predetermined length (in the figure, 230 mm), a paper discharge error is detected. Judge and perform the paper discharge jam processing. When the paper discharge sensor S13 is turned on, the conveyance distance (370 mm in the figure) of the paper supply / discharge motor is set in the step counter of the paper supply / discharge motor, and the operation proceeds to the check operation of the printing start position sensor DS1.

【0123】プラテンドラム110が印写開始位置DS
1に到達したら、ドラムモータをストップして給排紙モ
ータがストップしているかどうかをチェックする。な
お、給排紙モータを駆動するための割込み処理では、割
込みが発生する度に上記のステップカウンタを減算し、
ゼロになった時点でモータの駆動を停止し、ストップフ
ラグをセットするように設定されている。
When the platen drum 110 is at the printing start position DS
When the number reaches 1, the drum motor is stopped and it is checked whether the paper supply / discharge motor is stopped. In the interruption process for driving the paper supply / discharge motor, the above-described step counter is decremented every time an interruption occurs.
It is set so that the drive of the motor is stopped when it becomes zero and the stop flag is set.

【0124】したがって、上記の給排紙モータのストッ
プチェックは、このストップフラグをチェックすればよ
いことになる。給排紙モータが停止したなら、再び排紙
センサをチェックし、オフしていれば給排紙ソレノイド
190をオフしエラーフラグをクリアしてこのルーチン
を抜ける。
Therefore, the stop check of the sheet feeding / discharging motor can be performed by checking this stop flag. If the paper supply / discharge motor is stopped, the paper discharge sensor is checked again, and if it is off, the supply / discharge solenoid 190 is turned off, the error flag is cleared, and the routine exits.

【0125】もし、排紙センサS13がオンしていれ
ば、受像紙Pが完全に排出されていない状態であるため
排紙ジャムとなり、排紙ジャムエラー表示を行い、給排
紙ソレノイド190をオフし、エラーフラグをセットし
てこのルーチンを抜ける。
If the paper discharge sensor S13 is on, the paper receiving jam has occurred because the image receiving paper P has not been completely discharged, a paper discharge jam error display is performed, and the paper supply / discharge solenoid 190 is turned off. Then, an error flag is set and the process exits from this routine.

【0126】ここで、図23乃至図29により、給排紙
動作についてさらに詳細な説明を加える。図23にプラ
テンドラム110の平面図を示す。円筒状のプラテンド
ラム110は平面部114を有し、この平面部114に
はプラテンドラム110の中空部まで貫通しグリッパ1
20を外部に突出させるための透孔115と、同じくイ
ジェクトピン130を突出させるための透孔116がそ
れぞれ複数個、交互に位置するように略一直線に列設さ
れている。
Here, a more detailed description will be given of the sheet supply / discharge operation with reference to FIGS. FIG. 23 shows a plan view of the platen drum 110. FIG. The cylindrical platen drum 110 has a flat portion 114, and the flat portion 114 penetrates to the hollow portion of the platen drum 110 and holds the gripper 1.
A plurality of through-holes 115 for projecting the protrusion 20 to the outside and a plurality of through-holes 116 for projecting the eject pin 130 are arranged in a substantially straight line so as to be alternately positioned.

【0127】図24の(a)および(b)にグリッパ1
20がホームポジション(印写開始位置:DS1)に位
置しているときの状態を示す。図24の(a)にプラテ
ンドラム110の中に配設されたグリッパ120および
イジェクトピン130を示す。
FIGS. 24A and 24B show the gripper 1.
This shows a state in which 20 is located at the home position (printing start position: DS1). FIG. 24A shows the gripper 120 and the eject pin 130 provided in the platen drum 110.

【0128】プラテンドラム110は芯金部111とそ
の芯金部111に一定の厚さで被覆された弾性部材から
なる表層部112で構成されており、前述のように表層
部112の一部に平面部114が設けられている。12
1はグリッパ120を支持する支持軸、131はイジェ
クトピン130を支持する支持軸であり、それぞれ回動
可能に構成されている。
The platen drum 110 is composed of a core part 111 and a surface part 112 made of an elastic member coated on the core part 111 with a constant thickness. A plane portion 114 is provided. 12
Reference numeral 1 denotes a support shaft that supports the gripper 120, and 131 denotes a support shaft that supports the eject pin 130, each of which is configured to be rotatable.

【0129】また、イジェクトピン130は支持端側の
径が図のように太くなっており、この膨大部と芯金部1
11の内壁との間に、イジェクトピン130を被うよう
な形でコイルスプリング133が設けられている。この
ため、イジェクトピン130は常にプラテンドラム11
0の内壁と反対側に力を受けており、イジェクトピン1
30の先端は通常はプラテンドラム110内に格納され
た状態になっている。
The diameter of the eject pin 130 on the supporting end side is large as shown in FIG.
A coil spring 133 is provided between the inner wall 11 and the inner wall 11 so as to cover the eject pin 130. For this reason, the eject pin 130 always keeps the platen drum 11
0 on the opposite side of the inner wall and eject pin 1
The tip of 30 is normally stored in the platen drum 110.

【0130】図24の(b)に、プラテンドラム110
の一方の端面部113に配設された各部材を示す、この
図において、122は一端が前記グリッパ120の支持
軸121に結合された弓型のアーム状部材(以下「弓型
アーム」という)であって、支持軸121を中心に回動
可能になっている。また、この弓型アーム122の他端
と端面部113に設けられたスプリング係止ピン124
との間には、スプリング123が係着され、弓型アーム
122全体がプラテンドラム110の軸方向に付勢され
ている。したがって、通常の状態ではグリッパ120は
閉じた状態になっている。
FIG. 24B shows the state of the platen drum 110.
In the figure, reference numeral 122 denotes an arc-shaped arm-shaped member having one end coupled to the support shaft 121 of the gripper 120 (hereinafter, referred to as an "arc-shaped arm"). And is rotatable about the support shaft 121. Further, a spring locking pin 124 provided on the other end of the bow-shaped arm 122 and the end face portion 113 is provided.
Between them, a spring 123 is engaged, and the entire bow-shaped arm 122 is urged in the axial direction of the platen drum 110. Therefore, the gripper 120 is in a closed state in a normal state.

【0131】132は一端が前記イジェクトピン130
の支持軸131に結合されたアーム状部材(以下「イジ
ェクトアーム」という)であり、前述のようにイジェク
トピン130がスプリング133により付勢されている
ため、このイジェクトアーム132も弓型アーム122
と同様にプラテンドラム110の軸方向に付勢された状
態になっている。
132 is one end of the eject pin 130.
Arm (hereinafter, referred to as an “ejection arm”) coupled to the support shaft 131, and the eject pin 130 is urged by the spring 133 as described above.
In the same manner as described above, the platen drum 110 is urged in the axial direction.

【0132】191は図29に示すように、給排紙ソレ
ノイド190によって押し出される給排紙ピンであり、
下部ユニット102の側板102aに配設されたピンガ
イド192に緩挿されており、スプリング193により
プラテンドラム110とは反対の方向に付勢されてい
る。この給排紙ピン191は、支持部材102bに取り
付けられた給排紙ソレノイド190がオンすると仮想線
で示した位置までスライドし、オフするとスプリング1
93によりもとの位置に戻るようになっている。
As shown in FIG. 29, reference numeral 191 denotes a paper supply / discharge pin pushed out by a paper supply / discharge solenoid 190.
It is loosely inserted into a pin guide 192 provided on the side plate 102 a of the lower unit 102, and is urged by a spring 193 in a direction opposite to the platen drum 110. The paper supply / discharge pin 191 slides to the position shown by the imaginary line when the paper supply / discharge solenoid 190 attached to the support member 102b is turned on, and the spring 1
93 returns to the original position.

【0133】給紙動作を開始すると、プラテンドラム1
10は図24の(b)の矢示A方向に回転し始め、同時
に図29の給排紙ソレノイド190がオンする。給排紙
ソレノイド190がオンすると、給排紙ピン191がス
プリング193を押し縮めながら図29の矢示B方向に
押し出される。給排紙ピン191が押し出された状態で
さらにプラテンドラム110が回転すると、給排紙ピン
191がまず弓型アーム122の内側面に当接し、弓型
アーム122を支持軸121を中心として時計回りに回
転させるため、支持軸121に結合されたグリッパ12
0が開き始める。
When the sheet feeding operation is started, the platen drum 1
Numeral 10 starts rotating in the direction of arrow A in FIG. 24B, and at the same time, the paper supply / discharge solenoid 190 in FIG. 29 is turned on. When the paper supply / discharge solenoid 190 is turned on, the paper supply / discharge pin 191 is pushed out in the direction of arrow B in FIG. When the platen drum 110 further rotates with the paper supply / discharge pin 191 being pushed out, the paper supply / discharge pin 191 first comes into contact with the inner side surface of the bow-shaped arm 122, and the bow-shaped arm 122 is rotated clockwise about the support shaft 121. Gripper 12 coupled to a support shaft 121 to rotate the gripper 12
0 starts to open.

【0134】図25の(a),(b)はグリッパ120
が給紙位置(DS2)に達したときの状態を示してい
る。この位置では同図の(b)に示すように給排紙ピン
191はイジェクトアーム131から外れるため、同図
の(a)に示すイジェクトピン130はプラテンドラム
110内に格納された状態になっている。プラテンドラ
ム110はこの位置で一旦回転を停止し、グリッパ12
0を開いた状態で受像紙Pが進入してくるまで待機す
る。
FIGS. 25A and 25B show the gripper 120.
Has reached the paper feed position (DS2). In this position, the paper supply / discharge pin 191 is disengaged from the eject arm 131 as shown in FIG. 4B, and the eject pin 130 shown in FIG. 4A is stored in the platen drum 110. I have. The platen drum 110 temporarily stops rotating at this position, and
In a state where 0 is opened, the apparatus waits until the image receiving paper P enters.

【0135】受像紙Pがグリッパ120に進入し終わっ
た後、プラテンドラム110を再び回転させると、給排
紙ピン191が弓型アーム122の内側面からはずれる
ため、弓型アーム122はスプリング123により引き
戻されグリッパ120が閉じ、ヘッド開放位置(DS
3)に達したときには、図26の(a),(b)に示す
ように、受像紙Pがプラテンドラム110に固定された
状態となって給紙動作が終了する。
When the platen drum 110 is rotated again after the image receiving paper P has entered the gripper 120, the paper supply / discharge pin 191 is disengaged from the inner side surface of the bow-shaped arm 122. The gripper 120 is pulled back and closed, and the head is opened (DS
When 3) is reached, as shown in FIGS. 26A and 26B, the image receiving paper P is fixed to the platen drum 110, and the paper feeding operation ends.

【0136】排紙動作では、受像紙Pを固定しているグ
リッパ120が印写開始位置DS1に位置している状態
から、プラテンドラム110が回転し始めると同時に図
29の給排紙ソレノイド190がオンし、給排紙ピン1
91が押し出される。プラテンドラム110の回転に伴
い、始めに弓型アーム122が給排紙ピン191に当接
してグリッパ120が開放しはじめ、続いてイジェクト
ピン130に結合されたイジェクトアーム132が給排
紙ピン191に当接し、イジェクトアーム132を支持
軸131を中心として時計回りに回転させ、支持軸13
1に結合されたイジェクトピン130がプラテンドラム
110の表面から突出しはじめる。
In the paper discharging operation, the platen drum 110 starts rotating from the state where the gripper 120 fixing the image receiving paper P is located at the printing start position DS1, and the paper supply / discharge solenoid 190 shown in FIG. Turn on and feed / discharge pin 1
91 is extruded. With the rotation of the platen drum 110, the bow-shaped arm 122 first comes into contact with the paper supply / discharge pin 191 to open the gripper 120, and then the eject arm 132 connected to the eject pin 130 is connected to the paper supply / discharge pin 191. The eject arm 132 is rotated clockwise about the support shaft 131 so that the
The eject pin 130 connected to the first pin 1 starts to protrude from the surface of the platen drum 110.

【0137】その結果図27の(a),(b)に示すよ
うに、グリッパ120によってプラテンドラム110に
固定されていた受像紙Pが、グリッパ120から解放さ
れるとともにイジェクトピン130によってプラテンド
ラム110表面から強制的に剥され、排紙搬送路182
上に押し出されることになる。
As a result, as shown in FIGS. 27A and 27B, the image receiving paper P fixed to the platen drum 110 by the gripper 120 is released from the gripper 120, and the platen drum 110 is released by the eject pin 130. Forcibly peeled off from the surface,
Will be pushed up.

【0138】この状態でさらにプラテンドラム110が
回転し続けると、受像紙Pは排紙搬送路182上を搬送
され、プラテンドラム110と同じ線速で回転する排紙
ローラ181へと達し、この排紙ローラ181により排
紙トレイ180に排紙されて排紙動作が終了する。
If the platen drum 110 continues to rotate in this state, the image receiving paper P is transported on the paper discharge transport path 182 and reaches the paper discharge roller 181 rotating at the same linear speed as the platen drum 110. The paper is discharged to the paper discharge tray 180 by the paper roller 181 and the paper discharge operation ends.

【0139】図28は、上述の一連の動作を説明するた
めの説明図であり、給排紙ソレノイド190がオンし、
給排紙ピン191が押し出された状態でプラテンドラム
110が1回転した時に、グリッパ120およびイジェ
クトピン130の状態が変化する領域を示したものであ
る。
FIG. 28 is an explanatory diagram for explaining the above-described series of operations, in which the supply / discharge solenoid 190 is turned on.
FIG. 3 illustrates an area where the states of the gripper 120 and the eject pin 130 change when the platen drum 110 makes one rotation while the paper supply / discharge pin 191 is pushed out.

【0140】図において、領域aはグリッパ120が閉
じてイジェクトピン130プラテンドラム110に格
納されている状態、領域bはグリッパ120が開放動作
を行う領域、領域cはイジェクトピン130が突出動作
を行う領域、領域dはイジェクトピン130が格納動作
を行う領域、領域eはグリッパ120が開放状態でイジ
ェクトピン130が格納状態にある領域、領域fはグリ
ッパ120が開放状態から閉じる動作を行う領域であ
る。
In the figure, a region a is a state where the gripper 120 is closed and the eject pin 130 is stored in the platen drum 110, a region b is a region where the gripper 120 performs an opening operation, and a region c is a region where the eject pin 130 is a projecting operation. The area to be performed, the area d is an area where the eject pin 130 performs the storing operation, the area e is an area where the gripper 120 is in the opened state and the eject pin 130 is in the stored state, and the area f is an area where the gripper 120 performs the closing operation from the opened state. is there.

【0141】次に、図30はインクシート150の構成
を示したものである。インクシート150は透明なフィ
ルム上にイエロY,マゼンタM,シアンCの3色のイン
クが面順次に塗布されて構成され、各色の先頭位置に色
識別用のマークMK1〜MK4が設けられている。ここ
で、すでに説明したように、色識別マークMK1〜MK
4(以下総称して「マークMK」という)はインクシー
ト150のたるみ巻き取り動作によって巻き取られる長
さよりも長く設定してある。
Next, FIG. 30 shows the configuration of the ink sheet 150. The ink sheet 150 is formed by applying three color inks of yellow Y, magenta M , and cyan C on a transparent film in a face-sequential manner, and is provided with color identification marks MK1 to MK4 at the leading position of each color. . Here, as described above, the color identification marks MK1 to MK are used.
4 (hereinafter collectively referred to as “mark MK”) is set to be longer than the length of the ink sheet 150 wound by the slack winding operation.

【0142】この各マークMKは、光を遮蔽しかつ反射
しないような材料で形成されており、インクシートセン
サS4(反射型フォトセンサ)によってフィルムの透明
部分とマークMKの不透明部分とを区別できるように構
成される。このインクシートセンサS4の周辺部の詳細
を図31に示すが、インクシートセンサS4のインクシ
ート150を間に挾んで反対側には、センサからの光を
反射するような反射板Rが対向するように配設されてい
る。
Each of the marks MK is formed of a material that shields and does not reflect light, and the ink sheet sensor S4 (reflective photo sensor) can distinguish the transparent portion of the film from the opaque portion of the mark MK. It is configured as follows. FIG. 31 shows the details of the peripheral portion of the ink sheet sensor S4. A reflector R for reflecting light from the sensor is opposed to the opposite side of the ink sheet sensor S4 with the ink sheet 150 interposed therebetween. It is arranged as follows.

【0143】したがって、センサS4と反射板Rの間に
マークMKの無い部分では、センサS4の発光部からの
照射光がインクシート150の透明部分を透過して反射
板Rにより反射され、再びインクシート150の透明部
を透過してセンサS4の受光部で受光されるためセンサ
S4はオンする。マークMKがある場合には、このマー
クMKによりセンサS4からの照射光が遮蔽されるた
め、センサS4はオフする。
Therefore, in a portion where there is no mark MK between the sensor S4 and the reflection plate R, the irradiation light from the light emitting portion of the sensor S4 passes through the transparent portion of the ink sheet 150 and is reflected by the reflection plate R, and the ink is returned again. Since the light passes through the transparent portion of the sheet 150 and is received by the light receiving portion of the sensor S4, the sensor S4 is turned on. If there is a mark MK, the irradiation light from the sensor S4 is blocked by the mark MK, so that the sensor S4 is turned off.

【0144】よって、図31に示したようにマークMK
を設ければ、イエロYの場合には、一対のセンサS4
a、S4bがマークMK1、MK2をそれぞれ検知する
ことにより、インクシートのイエロ面の頭出しをするこ
とができる。同様にしてセンサS4aがマークMK3を
検知したときがマゼンタ、センサS4bがマークMK4
を検知したときがシアンのそれぞれの先頭位置となる。
Therefore, as shown in FIG.
Is provided, in the case of yellow Y, a pair of sensors S4
By detecting the marks MK1 and MK2 by a and S4b, respectively, it is possible to locate the yellow surface of the ink sheet. Similarly, when the sensor S4a detects the mark MK3, magenta, and when the sensor S4b detects the mark MK4.
Is detected as the head position of each of cyan.

【0145】また、図示しないが、インクシート150
のエンド部分にはマークMKを形成している材料と同一
の材料が全面に塗布されており、このエンド部分をイン
クシートセンサS4で一定時間以上検知した場合に、イ
ンクシート切れと判断するように制御される。
Although not shown, the ink sheet 150
The same material as the material forming the mark MK is applied to the entire surface of the end portion, and when this end portion is detected by the ink sheet sensor S4 for a predetermined time or longer, it is determined that the ink sheet has run out. Controlled.

【0146】図32にインクシートセットのメインルー
チンのフローチャートを、図33及び図34にインクシ
ートセットの割込み処理ルーチンのフローチャートを示
す。これらのルーチンでは、インクシート150の色合
わせに加えて、インクシート150のエンド検知および
インクシートエラーの検知が行われる。さらに、プラテ
ンドラム110のホームポジション復帰およびサーマル
ヘッド140の加圧解除動作が同時に行われる。
FIG. 32 is a flowchart of the ink sheet setting main routine, and FIGS. 33 and 34 are flowcharts of the ink sheet setting interrupt processing routine. In these routines, the end detection of the ink sheet 150 and the detection of an ink sheet error are performed in addition to the color matching of the ink sheet 150. Further, the home position return of the platen drum 110 and the pressurizing operation of the thermal head 140 are simultaneously performed.

【0147】図32に示すように、まずCPU211の
タイマ用のカウンタバッファ(C−TIME)に所定値
をセットする。この値は、インクシートセンサS4がマ
ークMKを検知するまでのタイムリミットであり、カウ
ンタバッファはすでに述べたように一定時間毎にディク
リメントされる。この時間内にマークMKを検知しなか
った場合には、インクシート150に異常があると判断
してインクシートエラーとなる。このエラーは、例えば
インクシート150がジャムしたり、何らかの原因で切
断した場合や、インクモータに異常があった場合等に発
生する。
As shown in FIG. 32, first, a predetermined value is set in a timer counter buffer (C-TIME) of the CPU 211. This value is a time limit until the ink sheet sensor S4 detects the mark MK, and the counter buffer is decremented at regular intervals as described above. If the mark MK is not detected within this time, it is determined that there is an abnormality in the ink sheet 150 and an ink sheet error occurs. This error occurs, for example, when the ink sheet 150 is jammed, cut for some reason, or when there is an abnormality in the ink motor.

【0148】このカウンタバッファをセットしたら、次
にインクセットフラグ(IF1)をオンにしてインクモ
ータをスタートさせ、サーマルヘッド140の加圧解除
動作を行った後、プラテンドラム110をホームポジシ
ョン(印写開始位置:DS1)に復帰させるためにドラ
ムモータをスタートさせる。
After setting the counter buffer, the ink set flag (IF1) is turned on to start the ink motor, and after the pressurizing operation of the thermal head 140 is performed, the platen drum 110 is moved to the home position (printing). The drum motor is started to return to the start position: DS1).

【0149】そして、印写開始位置センサDS1の出力
をチェックし、プラテンドラム110が印写開始位置
(DS1)に達したらドラムモータをオフにする。プラ
テンドラム110のホームポジション復帰が終了した
ら、つぎにインクモータがストップしているかどうかを
チェックし、止まっていたらエラーバッファをチェック
してインクシートエンドエラーもしくはインクシートエ
ラーが発生しているか否かを確認し、エラーがなければ
このルーチンを抜ける。インクシートエンドの場合は排
紙処理を行い、インクシートエラーの場合にはエラーフ
ラグをセットしてルーチンを抜ける。
Then, the output of the print start position sensor DS1 is checked, and when the platen drum 110 reaches the print start position (DS1), the drum motor is turned off. After the return of the home position of the platen drum 110 is completed, it is checked whether the ink motor is stopped, and if it is stopped, the error buffer is checked to determine whether an ink sheet end error or an ink sheet error has occurred. Check, and if there are no errors, exit this routine. In the case of an ink sheet end, a paper discharging process is performed, and in the case of an ink sheet error, an error flag is set and the routine exits.

【0150】次に、プラテンドラム110のホームポジ
ション復帰動作と並行してインクシートの頭出しを行わ
せるための、インクシートセット割込み処理を図33及
び図34に基づいて説明する。この割込み処理は、先に
述べたフリーラン割込みが発生する度に行われ、インク
セットフラグIF1によりインクシートセットの実行中
かどうかを判断して、実行中ならばインクシート頭出し
動作に移る。
Next, an ink sheet set interruption process for causing the ink sheet to be searched for in parallel with the home position return operation of the platen drum 110 will be described with reference to FIGS. 33 and 34. This interruption process is performed every time the above-mentioned free-run interruption occurs. It is determined whether or not the ink sheet setting is being executed based on the ink set flag IF1, and if the ink sheet setting is being executed, the operation proceeds to the ink sheet cueing operation.

【0151】始めに、インクセットフラグIF2により
インクシート150のマークMKを検知済みかどうかの
チェックを行い、マークMKが検知済みでなければ、コ
ピーカウンタ(C−COPY)のチェックを行う。この
コピーカウンタの値が0のときはイエロ,1の時はマゼ
ンタ,2の時はシアンの印写を行うことを意味するか
ら、先に述べたように各色に応じてインクシートセンサ
S4の出力をチェックする。
First, it is checked whether or not the mark MK of the ink sheet 150 has been detected by the ink set flag IF2. If the mark MK has not been detected, the copy counter (C-COPY) is checked. Yellow when the value of the copy counter is 0, Mazets when the 1
Since the printing of cyan means printing of cyan, the output of the ink sheet sensor S4 is checked according to each color as described above.

【0152】目的の色のマークMKが検知されなけれ
ば、前述のタイマ用カウンタバッファ(C−TIME)
の値をチェックし、0でなければ(タイムオーバでなけ
れば)この割込み処理ルーチンを抜ける。次に割込みが
発生すると、再びインクセットフラグIF2のチェック
を行い、マークMKが検知されるかタイムオーバになる
まで、割込みが発生する度にこの動作を繰り返す。もし
ここでタイムオーバになったらインクシートエラーとな
り、エラーフラグをセットし、インクシートモータを停
止してインクセットルーチンを抜ける。
If the target color mark MK is not detected, the aforementioned timer counter buffer (C-TIME)
Is checked, and if it is not 0 (the time is not over), the process exits this interrupt processing routine. Next, when an interrupt occurs, the ink set flag IF2 is checked again, and this operation is repeated each time an interrupt occurs until the mark MK is detected or the time is over. If the time is over here, an ink sheet error occurs, an error flag is set, the ink sheet motor is stopped, and the ink setting routine is exited.

【0153】マークMKが検知されたならば、インクセ
ットフラグIF2をセットし(マーク検知済みを示
す)、カウンタバッファ(C−TIME)に別の値をセ
ットする。この値は、ある色のマークMKが検知されて
からこのマークMKが検知されなくなるまでのタイムリ
ミットであり、この時間をオーバするとインクシートエ
ンドもしくはインクシートエラーとなる。
When the mark MK is detected, the ink set flag IF2 is set (indicating that the mark has been detected), and another value is set in the counter buffer (C-TIME). This value is a time limit from when a mark MK of a certain color is detected to when the mark MK is not detected. If this time is exceeded, an ink sheet end or an ink sheet error occurs.

【0154】すなわち、イエロの頭出しをする際に、イ
ンクシートセンサS4a及びS4bがマークMKを検知
してから一定時間経過してもマークMKを検知したまま
の状態を示している場合には、インクシート150エン
ド部分を検知している判断しインクシートエンドとな
り、他の色の頭出しの場合にタイムオーバとなった時に
はインクシート150あるいはインクモータに異常があ
ると判断してインクシートエラーとなる。
In other words, when the yellow head is searched, if the ink sheet sensors S4a and S4b indicate that the mark MK has been detected even after a certain period of time has elapsed since the detection of the mark MK, It is determined that the end of the ink sheet 150 has been detected, and the ink sheet end is detected. When the time is over in the case of cueing of another color, it is determined that the ink sheet 150 or the ink motor is abnormal, and an ink sheet error is determined. Become.

【0155】それぞれの色に対応するマークMKが検知
状態から非検知状態になった時点でインクシート150
の色選択動作が完了し、インクモータをオフし、フラグ
IF1,IF2をクリアしてこのルーチンを抜ける。ま
た、インクシートエラーあるいはインクシートエンドエ
ラーが発生した場合には、インクモータをオフにし、エ
ラーフラグをセットしてこのルーチンを抜ける。
When the mark MK corresponding to each color changes from the detection state to the non-detection state, the ink sheet 150
Is completed, the ink motor is turned off, the flags IF1 and IF2 are cleared, and the routine exits. If an ink sheet error or an ink sheet end error has occurred, the ink motor is turned off, an error flag is set, and the routine exits.

【0156】このように、インクシートセンサS4がマ
ークMKを一旦検知してから検知しなくなるまでインク
モータを駆動することにより、確実にインクシートの色
選別動作を行わせることができる。
As described above, by driving the ink motor until the ink sheet sensor S4 once detects the mark MK and stops detecting the mark MK, the color sorting operation of the ink sheet can be reliably performed.

【0157】すなわち、従来の方法ではインクシートセ
ンサがマークMKを検知した時点で色選択動作を終了さ
せていたために、たとえばインクモータが動作不良を起
こした場合でも、インクシートセンサがマークMK上も
しくはエンドマーク上に位置していた場合には、色選別
が正常に行われたという判断がなされて誤動作の原因と
なる。しかし、前述のような制御を行うことによりこの
ような不具合を解消することができる。
That is, in the conventional method, the color selection operation is terminated when the ink sheet sensor detects the mark MK. Therefore, even if the ink motor malfunctions, for example, the ink sheet sensor can detect the mark MK. If it is located on the end mark, it is determined that the color selection has been performed normally, which causes a malfunction. However, such a problem can be solved by performing the above-described control.

【0158】また、このインクシートセットルーチンで
エラーが発生した場合には、エラーが解除されるまでは
以降の動作をおいてインクモータの駆動は行わないよう
に制御される。なお、インクシートエンドの場合には、
プラテンドラム110上に巻き付けられた受像紙Pを排
紙させるが、インクシートエラーの場合には、インクモ
ータの動作不良が原因である可能性もあり、たるんだイ
ンクシート150がプラテンドラム110に巻き付く不
具合が発生しやすくなるため、受像紙Pの排紙動作は行
わないことが望ましい。
When an error occurs in the ink sheet setting routine, the ink motor is controlled so as not to drive the ink motor until the error is cleared. In the case of the ink sheet end,
The image receiving paper P wound on the platen drum 110 is discharged. However, in the case of an ink sheet error, it is possible that the ink motor malfunctions, and the loose ink sheet 150 is wound around the platen drum 110. Therefore, it is desirable not to perform the discharging operation of the image receiving paper P because the problem of sticking is likely to occur.

【0159】さらに、インクシートセット動作を割込み
処理内で行うことにより、メインルーチンではヘッドの
加圧解除およびドラムのホームポジション復帰動作を管
理するだけでよいため、見かけ上複数の制御を同時に行
っていることになり、インクシートセット動作に要する
時間を大幅に短縮することができる。なお、単色印写モ
ードが選択されている場合は、リセット信号入力時に所
定のリセット動作に並行して次位の同一色選択動作を行
わせればよい。
Further, since the ink sheet setting operation is performed in the interrupt processing, the main routine only needs to manage the head pressure release operation and the drum home position return operation. Therefore, the time required for the ink sheet setting operation can be greatly reduced. When the single color printing mode is selected, the next same color selecting operation may be performed in parallel with a predetermined reset operation when a reset signal is input.

【0160】図35に印写動作のルーチンを示す。この
ルーチンでは、プラテンドラム110にサーマルヘッド
140を加圧接触させ、ドラムモータおよびインクモー
タをスタートさせて、ランサLED6〜8のうち印写す
る色に対応したLED対の一方を点灯させる。
FIG. 35 shows a routine of the printing operation. In this routine, the thermal head 140 is brought into pressure contact with the platen drum 110, the drum motor and the ink motor are started, and one of the lancer LEDs 6 to 8 corresponding to the color to be printed is turned on.

【0161】次に、印写開始位置センサDS1の出力を
チェックし、検知状態から非検知状態(HIGH→LO
W)に変化する点を越えて一定時間(1msec程度)経過
した後にフレームゲート信号(以下「FGATE信号」
という)をイネーブル(ロー)にする。このFGATE
信号は熱制御部230に対するプリント許可信号であ
り、熱制御部230はこの信号を受けてライン同期信号
(以下「Lsync信号」という)に同期して主走査方
向の1ライン分の画像データをサーマルヘッド140に
転送する。ドラムモータも上記ライン同期信号に同期し
て駆動され、副走査方向に画像が形成される。
Next, the output of the printing start position sensor DS1 is checked, and the detection state is changed from the detection state to the non-detection state (from HIGH to LO).
W), a frame gate signal (hereinafter referred to as an “FGATE signal”) after a certain time (about 1 msec) has passed beyond the point where the
Is enabled (low). This FGATE
The signal is a print permission signal to the heat control unit 230. The heat control unit 230 receives this signal and synchronizes one line of image data in the main scanning direction with a line synchronization signal (hereinafter, referred to as an “Lsync signal”). Transfer to head 140. The drum motor is also driven in synchronization with the line synchronization signal, and an image is formed in the sub-scanning direction.

【0162】このドラムモータの印写時の駆動パルス数
(D−CNT)は紙サイズ検知を行った際にR/Lマー
ジンとともに紙サイズに応じた設定数にセットされてお
り、タイマ割込みのドラムモータ駆動ルーチンにおいて
1パルス駆動される度に1ずつ減算される。この設定パ
ルス数(D−CNT)が0になった時点で割込み処理内
でドラムモータをストップするように制御される。
The number of drive pulses (D-CNT) at the time of printing of the drum motor is set to a set number according to the paper size together with the R / L margin when the paper size is detected. Each time one pulse is driven in the motor drive routine, the value is decremented by one. When the set pulse number (D-CNT) becomes 0, control is performed so as to stop the drum motor in the interrupt processing.

【0163】次に、ドラムモータのストップチェックお
よびリセットキー242のチェックを行う。リセットキ
ー242が押されていた場合には印写動作を中止し、ド
ラムモータ停止,FGATE信号のオフ(L→H),サ
ーマルヘッドの電源オフ,ヘッドの加圧解除等を行った
後に排紙動作に移る。
Next, a stop check of the drum motor and a check of the reset key 242 are performed. If the reset key 242 has been pressed, the printing operation is stopped, the drum motor is stopped, the FGATE signal is turned off (L → H), the power of the thermal head is turned off, the head pressure is released, and the sheet is discharged. Move on to operation .

【0164】ドラムモータがストップしていたら、副走
査方向の印写が終了した状態であるから、FGATE信
号のオフ(L→H),ヘッドの加圧解除,ランサLED対
の他方の点灯を行った後に、コピーカウンタ(C−CN
T)をインクリメントする。このコピーカウンタ(C−
CNT)をチェックして、3であったらY,M,C3色
の印写が終了したことを意味するから、次の排紙動作
移る。3に達していなかったら次の色を印写すべくイン
クセットルーチンに飛ぶ。
If the drum motor is stopped, the printing in the sub-scanning direction has been completed, so that the FGATE signal is turned off (L → H), head pressure is released, and the other of the lancer LED pair is turned on. After the copy counter (C-CN
T) is incremented. This copy counter (C-
Check the CNT), if there in 3 Y, because M, C3-color indicia copy means the completion, in the next discharging operation
Move on . If the number has not reached 3, jump to the ink setting routine to print the next color.

【0165】図36および図37により、上記の各信号
およびドラムモータの駆動パルスの関係についてさらに
詳細に説明する。Lsync信号は、前述の初期値設定
ルーチンにおいてその発生間隔が設定された時点から熱
制御部230より出力される。印写開始位置センサDS
1の出力はCPU211と熱制御部230に入力されて
おり、このセンサDS1の出力の立ち下がりエッジ(検
知状態から非検知状態に変化したときの信号)で熱制御
部230のLsync信号発生部にトリガがかけられ、
リセットされると共にドラムモータが停止する。
Referring to FIGS. 36 and 37, the relationship between the above signals and the driving pulse of the drum motor will be described in further detail. The Lsync signal is output from the heat control unit 230 from the time when the generation interval is set in the above-described initial value setting routine. Printing start position sensor DS
1 is input to the CPU 211 and the heat control unit 230, and is output to the Lsync signal generation unit of the heat control unit 230 at the falling edge of the output of the sensor DS1 (signal when the state changes from the detection state to the non-detection state). Triggered,
Reset and the drum motor stop.

【0166】またCPU211から出力されたFGAT
E信号はフリップフロップ回路素子のデータ入力端子に
接続され、クロック端子にはLsync信号が入力され
るため、FGATE信号はLsync信号に同期してイ
ネーブル(L)になる。したがって、図36に示すとお
り、印写開始位置センサDS1の出力がオフ(L)にな
った後、次に発生するLsync信号に同期してFGA
TE信号がイネーブル(L)、すなわち印写開始状態に
なり、プラテンドラム110が駆動されることにより常
に受像紙の同じ位置から印写が開始されるため、各色間
での色ずれが発生しない印写が可能となる。
FGAT output from CPU 211
Since the E signal is connected to the data input terminal of the flip-flop circuit element and the Lsync signal is input to the clock terminal, the FGATE signal is enabled (L) in synchronization with the Lsync signal. Therefore, as shown in FIG. 36, after the output of the printing start position sensor DS1 is turned off (L), the FGA is synchronized with the next generated Lsync signal.
Since the TE signal is enabled (L), that is, the printing is started, and the platen drum 110 is driven, printing is always started from the same position on the image receiving paper. Photography becomes possible.

【0167】また、割込み処理の項で述べたように、L
sync信号はCPU211の外部割込み端子に入力さ
れており、この外部割込み処理により、ドラムモータは
1ライン分のステップ数だけ駆動するように制御され
る。さらに詳しく説明すると、印写動作を開始してプラ
テンドラム110が駆動され、印写開始センサDS1の
出力がローになった時点でドラムモータの駆動が停止さ
れ、Lsync信号による外部割込みがイネーブルされ
る。
As described in the section on interrupt processing, L
The sync signal is input to an external interrupt terminal of the CPU 211, and the external interrupt process controls the drum motor to be driven by the number of steps of one line. More specifically, the printing operation is started to drive the platen drum 110, and when the output of the printing start sensor DS1 becomes low, the driving of the drum motor is stopped and the external interrupt by the Lsync signal is enabled. .

【0168】次のLsync信号により外部割込みがか
かると、外部割込み処理ルーチンでは印写動作中か否か
を判断した後、印写動作中のときはドラムモータを駆動
するためのタイマをセットする。次にこのタイマにより
タイマ割込みがかかった時は、ドラムモータ駆動ルーチ
ンに制御が引き渡される。このルーチンでは所定のステ
ップ数だけドラムモータを駆動させ、その後はLsyn
c信号による外部割込みが発生するまでドラムモータは
停止した状態となる。
When an external interrupt is generated by the next Lsync signal, the external interrupt processing routine determines whether or not a printing operation is being performed, and then sets a timer for driving the drum motor during the printing operation. Next, when a timer interrupt occurs by this timer , control is transferred to a drum motor driving routine. In this routine, the drum motor is driven by a predetermined number of steps.
The drum motor is stopped until an external interrupt is generated by the signal c.

【0169】このように、印写開始位置センサDS1の
立ち下がりエッジでLsync信号をリセットし、この
Lsync信号に同期させてFGATE信号の出力を行
うことにより、印写開始位置センサDS1の立ち下がり
エッジを基準として印写開始位置を常に一定に保つこと
ができ、3色の印写開始位置を正確に合致させることが
できる。さらに、Lsync信号に同期させてドラムの
1ライン分の駆動を行うことにより、3色の副走査方向
の色ずれの発生を防ぐことができる。
As described above, the Lsync signal is reset at the falling edge of the printing start position sensor DS1 and the FGATE signal is output in synchronization with the Lsync signal, whereby the falling edge of the printing start position sensor DS1 is output. , The printing start position can always be kept constant, and the printing start positions of the three colors can be accurately matched. Further, by driving one line of the drum in synchronization with the Lsync signal, it is possible to prevent the occurrence of color misregistration of the three colors in the sub-scanning direction.

【0170】図38にこれまで述べてきたこのプリント
装置の全体動作のタイミングチャートを示す。
FIG. 38 is a timing chart showing the overall operation of the printing apparatus described above.

【0171】[0171]

【発明の効果】以上述べたように、この発明によるプリ
ント装置の制御方法は上述のように制御することによ
り、次に記載する効果を奏する。
As described above, the control method of the printing apparatus according to the present invention exerts the following effects by controlling as described above.

【0172】請求項1記載の制御方法によれば、リセッ
ト信号により所定のリセット動作に並行してインクシー
トの先頭色の色選択動作を行わせるようにしたので、イ
ンクシートが途中の位置で停止した場合にも、次の印写
動作に先立って色選択動作が行われ、次の印写時に余分
なインクシートの巻き上げ動作を行う必要がなく、速や
かな印写動作が可能となってプリント装置の操作性及び
生産性を大幅に向上させることができる。
According to the control method of the first aspect, since the color selection operation of the leading color of the ink sheet is performed in parallel with the predetermined reset operation by the reset signal, the ink sheet stops at an intermediate position. Also in this case, the color selection operation is performed prior to the next printing operation, and it is not necessary to wind up an extra ink sheet at the time of the next printing operation. Operability and productivity can be greatly improved.

【0173】請求項2の制御方法によれば、インクシー
トに設けた色識別マークのインクシート巻き取り方向の
長さをインクシートのたるみ取り長さより長く設定し、
印字開始に先立ってインクシートのたるみを巻き取るよ
うにしたので、インクシートのたるみ取りを行っても色
識別マークがインクシートセンサの検出領域から外れな
いようにすることが可能になり、検出ミスによるインク
シートの無駄な消費を防止することができる。
According to the control method of the second aspect, the length of the color identification mark provided on the ink sheet in the ink sheet winding direction is set to be longer than the slack removing length of the ink sheet.
Since the slack of the ink sheet is wound up before printing starts, it is possible to prevent the color identification mark from coming out of the detection area of the ink sheet sensor even if the slack of the ink sheet is removed, and a detection error Waste of the ink sheet due to the above can be prevented.

【0174】請求項3の制御方法によれば、エラーの原
因を取り除く際に上部ユニットの開閉により自動的にリ
セット信号が発生し、上部ユニットの閉状態でエラーの
除去動作を行う場合には、操作部からの信号入力や上位
機器からの信号入力によりリセット信号を発生させるこ
とができるので、エラー処理の操作性を著しく向上させ
ることが可能になる。
According to the control method of claim 3, when the cause of the error is removed, a reset signal is automatically generated by opening and closing the upper unit, and when the error removing operation is performed with the upper unit closed, Since a reset signal can be generated by a signal input from an operation unit or a signal input from a higher-level device, operability in error processing can be significantly improved.

【0175】請求項4の制御方法によれば、操作部のリ
セット信号入力手段、または上記機器からのリセット信
号検知手段によりセット動作を行わせる際に、上部ユニ
ットが閉状態の時にのみリセット信号が有効となるよう
にしたので、上部ユニットが開状態のままでエラーのチ
ェック動作や解除動作を行ってその閉動作によりサーマ
ルヘッド等を破損させるおそれがなくなり、プリント装
置の信頼性を向上させることができる。
According to the control method of the fourth aspect, when the reset operation is performed by the reset signal input means of the operation unit or the reset signal detection means from the device, the reset signal is output only when the upper unit is in the closed state. Since it is made effective, there is no danger that the thermal head or the like will be damaged by performing an error checking operation or a releasing operation while the upper unit is in the open state and the closing operation will be performed, thereby improving the reliability of the printing apparatus. it can.

【0176】請求項5の制御方法によれば、上部ユニッ
トの開閉状態検知手段が開状態を検知することによりリ
セット信号を発生させ、開状態から閉状態に変化した時
にリセット信号が有効となるようにしたので、上部ユニ
ットの開閉動作のみで自動的にリセット信号が発生して
操作性が向上すると共に、上部ユニットが開状態の時に
はリセット信号が有効とならないので、誤操作による信
頼性低下の恐れもなくなる。
According to the control method of claim 5, the reset signal is generated by the open / closed state detecting means of the upper unit detecting the open state, and the reset signal becomes valid when the state changes from the open state to the closed state. The reset signal is automatically generated only by opening and closing the upper unit to improve operability, and the reset signal is not valid when the upper unit is open. Disappears.

【0177】請求項6の制御方法によれば、上部ユニッ
トの開閉動作により発生するリセット信号が、上部ユニ
ット開閉検知手段による閉状態検知から所定時間閉状態
が継続した後に有効となるようにしたので、上部ユニッ
トの閉動作が不完全であったり、閉状態検知手段にノイ
ズが入力された場合等にはエラーチェックやエラー解除
が行われないようにして誤動作を防止することができ
る。
According to the control method of the sixth aspect, the reset signal generated by the opening / closing operation of the upper unit is made valid after the closed state has been maintained for a predetermined time from the detection of the closed state by the upper unit open / close detecting means. In the case where the closing operation of the upper unit is incomplete or noise is input to the closed state detecting means, error checking and error cancellation are not performed, thereby preventing malfunction.

【0178】請求項7の制御方法によれば、プリント装
置の制御部にその操作部や外部装置からリセット信号が
入力された際に、プリント装置が印字動作やインクシー
トの色選択動作を行っている場合には直ちに印写動作を
中断して所定のリセット動作を行い、給排紙動作を行っ
ている場合には給排紙動作が完了した後に所定のリセッ
ト動作を行うようにしたので、プリント装置を速やかに
印写可能状態に復帰させることができ、同時に給排紙途
中の受像紙が紙搬送路上で紙づまりを起したり、受像紙
除去のために操作者の手を煩わせる等の不具合を未然に
解消することができる。
According to the control method of the seventh aspect, when a reset signal is input to the control unit of the printing apparatus from the operation unit or an external device, the printing apparatus performs a printing operation or an ink sheet color selection operation. If the printing operation is interrupted, the printing operation is immediately interrupted and a predetermined reset operation is performed.If the paper feeding and discharging operation is performed, the predetermined reset operation is performed after the paper feeding and discharging operation is completed. The device can be quickly returned to the printable state, and at the same time, the paper receiving and discharging paper jams on the paper transport path, and the operator has to work to remove the paper. Can be solved beforehand.

【0179】請求項8の制御方法によれば、色選択セン
サが色識別マークを検知してから所定時間経過後もそれ
を検知し続けた場合に、一対の色選択センサが共に検知
している時にはインクシートエンドと判断し、一方のみ
が検知している時にはインクシートエラーと判断するよ
うにしたので、インクーシートエラーとインシートエン
ドとを容易に判断することが可能になり、その結果イン
クシートに過大な張力が作用して切断する恐れがなくな
る。
According to the control method of the eighth aspect, when the color selection sensor continues to detect the color identification mark even after the elapse of a predetermined time from the detection of the color identification mark, the pair of color selection sensors detect both. Sometimes, it is determined that the ink sheet is at the end, and when only one is detected, it is determined that the ink sheet is at an error. Therefore, it is possible to easily determine the ink sheet error and the in-sheet end, and as a result, the ink sheet There is no danger of cutting due to excessive tension acting on the sheet.

【0180】請求項9の制御方法によれば、前項の制御
方法でインクシートエンドと判断された場合には、プラ
テンドラムに巻き付けられている受像紙を排紙させ、イ
ンクシートエラーと判断された場合には、上記受像紙の
排紙を行わせないようにしたので、インクシートがたる
んだ状態にあるインクシートエラー時に、インクシート
がプラテンドラムに巻き付いたり切断されたりする等の
不都合がなくなる。
According to the control method of the ninth aspect, when it is determined that the ink sheet is exhausted by the control method of the preceding paragraph, the image receiving paper wound around the platen drum is discharged, and it is determined that an ink sheet error has occurred. In this case, since the discharge of the image receiving paper is not performed, the inconvenience such as the ink sheet being wound around the platen drum or being cut when an ink sheet error occurs when the ink sheet is slack is eliminated.

【0181】請求項10の制御方法によれば、単色印写
モードが設けられたプリント装置で単色印写モード選択
時に、リセット信号による所定のリセット動作に並行し
て次位の同一色選択動作を行わせるようにしたので、こ
の場合にも次の印写時に余分なインクシートの巻き上げ
動作が不要になり、プリント装置の操作性,生産性を大
幅に向上させることが可能になる。
According to the control method of the tenth aspect, when the printing apparatus provided with the single color printing mode selects the single color printing mode, the next same color selecting operation is performed in parallel with the predetermined reset operation by the reset signal. In this case, the extra ink sheet winding operation is not required at the next printing, and the operability and productivity of the printing apparatus can be greatly improved.

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

【図1】この発明によるリセット信号入力時のプリント
装置の制御方法の概要を示す説明図である。
FIG. 1 is an explanatory diagram showing an outline of a control method of a printing apparatus when a reset signal is input according to the present invention.

【図2】この発明による制御方法を実施するプリント装
置の一例を示す機構部の概略構成図である。
FIG. 2 is a schematic configuration diagram of a mechanism section showing an example of a printing apparatus that performs a control method according to the present invention.

【図3】同じくその制御部の構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a configuration of the control unit.

【図4】図3におけるシステムコントローラ210の回
路構成を示すブロック図である。
FIG. 4 is a block diagram showing a circuit configuration of a system controller 210 in FIG.

【図5】図2に示したプリント装置内の各センサの配置
状態を示す説明図である。
FIG. 5 is an explanatory diagram illustrating an arrangement state of each sensor in the printing apparatus illustrated in FIG. 2;

【図6】図2に示したプリント装置の操作部を示す説明
図である。
FIG. 6 is an explanatory diagram illustrating an operation unit of the printing apparatus illustrated in FIG. 2;

【図7】図4に示したCPU211によるパワーオン時
の動作を示すフロー図である。
FIG. 7 is a flowchart showing an operation at power-on by CPU 211 shown in FIG. 4;

【図8】同じくその初期値設定ルーチンを示すフロー図
である。
FIG. 8 is a flowchart showing the initial value setting routine.

【図9】同じくその抵抗値補正ルーチンのフロー図であ
る。
FIG. 9 is a flowchart of the resistance value correction routine.

【図10】同じくそのメカニカルイニシャライズルーチ
ンのフロー図である。
FIG. 10 is a flowchart of the mechanical initialization routine.

【図11】同じくその排紙チェックルーチンのフロー図
である。
FIG. 11 is a flowchart of the paper ejection check routine.

【図12】同じくそのメインループルーチンのフロー図
である。
FIG. 12 is a flowchart of the main loop routine.

【図13】同じくそのインクカセットチェックルーチン
のフロー図である。
FIG. 13 is a flowchart of the ink cassette check routine.

【図14】同じくその用紙サイズチェックルーチンのフ
ロー図である。
FIG. 14 is a flowchart of the paper size check routine.

【図15】同じくそのオンラインチェックルーチンのフ
ロー図である。
FIG. 15 is a flowchart of the online check routine.

【図16】同じくそのエラー処理ルーチンのフロー図で
ある。
FIG. 16 is a flowchart of the error processing routine.

【図17】同じくそのプリント動作ルーチンのフロー図
である。
FIG. 17 is a flowchart of the print operation routine.

【図18】同じくその給紙動作ルーチンのフロー図であ
る。
FIG. 18 is a flowchart of the sheet feeding operation routine.

【図19】その給紙動作ルーチンの続きを示すフロー図
である。
FIG. 19 is a flowchart showing a continuation of the sheet feeding operation routine.

【図20】さらにその給紙動作ルーチンの続きを示すフ
ロー図である。
FIG. 20 is a flowchart showing the continuation of the paper feed operation routine.

【図21】図18〜図20による給紙動作ルーチンの説
明に供する説明図である。
FIG. 21 is an explanatory diagram for explaining a sheet feeding operation routine shown in FIGS. 18 to 20;

【図22】図4に示したCPU211による排紙動作ル
ーチンのフロー図である。
FIG. 22 is a flowchart of a paper discharge operation routine by a CPU 211 shown in FIG. 4;

【図23】図2に示したプリント装置のプラテンドラム
の平面図である。
FIG. 23 is a plan view of a platen drum of the printing apparatus shown in FIG.

【図24】同じくそのプラテンドラムの印写開始時の状
態を示す説明図である。
FIG. 24 is an explanatory diagram showing a state of the platen drum at the start of printing.

【図25】同じくそのプラテンドラムの給紙時の状態を
示す説明図である。
FIG. 25 is an explanatory diagram showing a state when the platen drum is fed.

【図26】同じくそのプラテンドラムのヘッド開放時の
状態を示す説明図である。
FIG. 26 is an explanatory view showing a state when the head of the platen drum is opened.

【図27】同じくそのプラテンドラムの排紙時の状態を
示す説明図である。
FIG. 27 is an explanatory view showing a state when the platen drum is discharged.

【図28】同じくそのプラテンドラムの動作領域を示す
説明図である。
FIG. 28 is an explanatory view showing an operation area of the platen drum.

【図29】同じくその給排紙ソレノイドの動作状態を示
す説明図である。
FIG. 29 is an explanatory view showing an operation state of the paper supply / discharge solenoid.

【図30】同じくそのインクシートの構成を示す斜視図
である。
FIG. 30 is a perspective view showing the configuration of the ink sheet.

【図31】同じくそのインクシートセットの検知部を示
す説明図である。
FIG. 31 is an explanatory view showing a detection unit of the ink sheet set.

【図32】図4に示したCPU211によるインクシー
トセットルーチンのフロー図である。
FIG. 32 is a flowchart of an ink sheet setting routine by a CPU 211 shown in FIG. 4;

【図33】同じくそのインクシート割込みルーチンのフ
ロー図である。
FIG. 33 is a flowchart of the ink sheet interruption routine.

【図34】同じくそのインクシート割込みルーチンの続
きを示すフロー図である。
FIG. 34 is a flowchart showing the continuation of the ink sheet interruption routine.

【図35】同じくその印写動作ルーチンのフロー図であ
る。
FIG. 35 is a flowchart of the printing operation routine.

【図36】同じくその印写動作開始時のタイミングチャ
ートである。
FIG. 36 is a timing chart when the printing operation is started.

【図37】同じくその印写開始動作を制御する制御部の
ブロック図である。
FIG. 37 is a block diagram of a control unit for controlling the printing start operation.

【図38】この実施例全体の動作タイミングを示すタイ
ミングチャートである。
FIG. 38 is a timing chart showing the operation timing of the entire embodiment.

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

100 プリント装置 101
上部ユニット 110 プラテンドラム 120
グリッパ 130 イジェクトピン 140
サーマルヘッド 150 インクシート 160
給紙カセット 170 手差し台 180
排紙トレイ 190 給排紙ソレノイド 200
制御部 210 システムコントローラ 211
CPU 220 画像処理部 230
熱制御部 240 操作部 242
リセットキー 250 駆動部 260
センサ部 270 スキャナ 280
インタフェース 290 外部装置 300
ヘッド抵抗測定部 MK(MK1〜MK4) 色識別マーク S1
カバーオープンセンサ S4(S4a,S4b) インクシートセンサ R 反
射板 P 受像紙
100 printing device 101
Upper unit 110 Platen drum 120
Gripper 130 Eject pin 140
Thermal head 150 Ink sheet 160
Paper cassette 170 Bypass stand 180
Discharge tray 190 Feed / discharge solenoid 200
Control unit 210 System controller 211
CPU 220 Image processing unit 230
Heat control unit 240 Operation unit 242
Reset key 250 Driver 260
Sensor unit 270 Scanner 280
Interface 290 External device 300
Head resistance measuring section MK (MK1 to MK4) Color identification mark S1
Cover open sensor S4 (S4a, S4b) Ink sheet sensor R Reflector P Image receiving paper

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI B41J 35/18 B41J 3/20 109Z 35/36 29/12 C (58)調査した分野(Int.Cl.7,DB名) B41J 2/32 - 2/325 B41J 29/13 B41J 29/38 B41J 35/16 B41J 35/18 B41J 35/36 G06F 3/12 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 identification code FI B41J 35/18 B41J 3/20 109Z 35/36 29/12 C (58) Investigated field (Int.Cl. 7 , DB name) B41J 2/32-2/325 B41J 29/13 B41J 29/38 B41J 35/16 B41J 35/18 B41J 35/36 G06F 3/12

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受像紙を巻き付けて搬送及びプリントを
行うプラテンドラムと、該プラテンドラムに受像紙を固
定させるためのグリッパと、加熱書き込み手段としての
サーマルヘッドと、複数の色のインク面が順次形成され
複数の色識別マークとインクシートエンド表示用マーク
とが設けられたインクシートと、該インクシートの色選
択動作を行うための一対のセンサとを有し、前記プラテ
ンドラムとサーマルヘッドとの間に前記受像紙とインク
シートを介在させて前記サーマルヘッドで圧接し、前記
受像紙に加熱記録することによりカラー画像を形成する
プリント装置の制御方法において、 リセット信号の検知により、印写動作の中断あるいはエ
ラー状態の解除動作を行わせると共に、所定のリセット
動作に並行してインクシートの先頭色の色選択動作を行
わせるように制御することを特徴とするプリント装置の
制御方法。
1. A platen drum on which an image receiving paper is wound to carry and print, a gripper for fixing the image receiving paper to the platen drum, a thermal head as a heating writing unit, and a plurality of color ink surfaces are sequentially arranged. An ink sheet provided with a plurality of color identification marks and an ink sheet end display mark, and a pair of sensors for performing a color selection operation of the ink sheet, wherein the platen drum and the thermal head A method of controlling a printing apparatus for forming a color image by heating and recording on the image receiving paper by pressing the image receiving paper and the ink sheet therebetween with the thermal head interposed therebetween, wherein a reset signal is detected, and a printing operation is performed. Performs the operation to cancel the interruption or the error state, and simultaneously performs the predetermined reset operation with the top color of the ink sheet. The method of the printing apparatus, characterized by controlling so as to perform color selection operation.
【請求項2】 請求項1記載のプリント装置の制御方法
において、前記インクシートに設けた色識別マークのイ
ンクシート巻き取り方向の長さをインクシートのたるみ
巻き取り長さより長く設定し、印写開始に先立って前記
色識別マークが前記一対のセンサから外れることなく前
記インクシートのたるみを巻き取るように制御すること
を特徴とするプリント装置の制御方法。
2. The printing method according to claim 1, wherein the length of the color identification mark provided on the ink sheet in the ink sheet winding direction is set to be longer than the slack winding length of the ink sheet. A method of controlling a printing apparatus, wherein the control is performed such that the slack of the ink sheet is wound up without the color identification mark coming off the pair of sensors before starting.
【請求項3】 請求項1又は2記載のプリント装置の制
御方法において、前記プリント装置に解除可能なエラー
が発生した後、前記プリント装置の操作部に設けられた
リセット信号入力手段,前記プリント装置の上部ユニッ
トの開閉状態を検知する手段,前記プリント装置に接続
された上位機器のいずれかによるリセット信号の入力を
検知することにより前記エラーのチェック動作及び解除
動作を実行させることを特徴とするプリント装置の制御
方法。
3. The printing apparatus control method according to claim 1, wherein after a resettable error occurs in the printing apparatus, reset signal input means provided in an operation unit of the printing apparatus, the printing apparatus. Means for detecting the open / closed state of the upper unit, and detecting the input of a reset signal from any of the higher-level devices connected to the printing apparatus to execute the error checking and releasing operations. How to control the device.
【請求項4】 プリント装置の操作部に設けられたリセ
ット信号入力手段または上位機器からのリセット信号を
検知してリセット動作を行わせる際に、プリント装置の
上部ユニットが閉状態の時にのみそのリセット信号が有
効となるように制御することを特徴とする請求項3記載
のプリント装置の制御方法。
4. When a reset operation is performed by detecting a reset signal from a reset signal input means provided in an operation unit of the printing apparatus or a higher-level device, the reset operation is performed only when the upper unit of the printing apparatus is in a closed state. 4. The method according to claim 3, wherein the control is performed so that the signal is valid.
【請求項5】 上部ユニットの開閉状態を検知する手段
がその開状態を検知することによりリセット信号を発生
させ、閉状態を検知することにより前記リセット信号が
有効となるように制御することを特徴とする請求項3記
載のプリント装置の制御方法。
5. The control device according to claim 1, wherein the means for detecting the open / closed state of the upper unit generates a reset signal by detecting the open state, and controls the reset signal to be valid by detecting the closed state. The method for controlling a printing apparatus according to claim 3.
【請求項6】 上部ユニットが閉状態から開状態に変化
した時に発生するリセット信号が、前記上部ユニットの
開閉状態を検知する手段が閉状態を検知してから所定時
間閉状態が継続した後に有効となるように制御すること
を特徴とする請求項5記載のプリント装置の制御方法。
6. A reset signal generated when the upper unit changes from a closed state to an open state is effective after the closed state continues for a predetermined time after the means for detecting the open / closed state of the upper unit detects the closed state. 6. The control method for a printing apparatus according to claim 5, wherein the control is performed such that:
【請求項7】 プリント装置の制御部にリセット信号が
入力された際に、前記プリント装置が印写動作あるいは
インクシートの色選択動作を行っている場合には直ちに
印写動作を中断して所定のリセット動作を行い、給排紙
動作を行っている場合にはその給排紙動作が完了した後
に所定のリセット動作を行うように制御することを特徴
とする請求項1乃至6のいずれか一項に記載のプリント
装置の制御方法。
7. When a reset signal is input to a control unit of the printing apparatus, if the printing apparatus is performing a printing operation or an ink sheet color selecting operation, the printing operation is immediately interrupted and a predetermined operation is stopped. 7. The control device according to claim 1, wherein when the sheet supply / discharge operation is performed, a predetermined reset operation is performed after the sheet supply / discharge operation is completed. The control method of a printing apparatus according to the paragraph.
【請求項8】 インクシートの色選択を行うための一対
のセンサが、色識別マークを検知してから所定時間経過
した後も前記色識別マークを検知し続けた場合、前記一
対のセンサが共に前記色識別マークを検知している時に
はインクシートエンドと判断し、一方のみが検知してい
る時にはインクシートエラーと判断するように制御する
ことを特徴とする請求項1乃至7のいずれか一項に記載
のプリント装置の制御方法。
8. When a pair of sensors for selecting a color of an ink sheet continue to detect the color identification mark even after a predetermined time has passed since the detection of the color identification mark, the pair of sensors together 8. The control method according to claim 1, wherein when the color identification mark is detected, it is determined that the ink sheet is at an end, and when only one of the color identification marks is detected, it is determined that an ink sheet error has occurred. 3. The method for controlling a printing apparatus according to claim 1.
【請求項9】 インクシートエンドと判断された場合に
は、プラテンドラムに巻き付けられた受像紙の排紙動作
を行わせ、インクシートエラーと判断された場合には前
記受像紙の排紙動作を行わせないように制御することを
特徴とする請求項8記載のプリント装置の制御方法。
9. When it is determined that the ink sheet is at the end, the discharge operation of the image receiving paper wound around the platen drum is performed, and when it is determined that the ink sheet is error, the discharge operation of the image receiving paper is performed. 9. The method according to claim 8, wherein the control is performed such that the printing is not performed.
【請求項10】 請求項1乃至9のいずれか一項に記載
のプリント装置の制御方法において、前記プリント装置
の操作部に単色印写モードを選択するように設けられた
色選択キーにより単色印写モードが選択された時、リセ
ット信号により印写動作の中断あるいはエラー状態の解
除動作を行わせると共に、所定のリセット動作に並行し
て次位の同一色選択動作を行わせるように制御すること
を特徴とするプリント装置の制御方法。
10. A printing apparatus control method according to claim 1, wherein a single color printing key is provided on an operation unit of said printing apparatus so as to select a single color printing mode. When the shooting mode is selected, control is performed so that the printing operation is interrupted or the error state is canceled by the reset signal, and the next same color selecting operation is performed in parallel with the predetermined resetting operation. A method for controlling a printing apparatus, comprising:
JP3198911A 1991-07-12 1991-07-12 Printing device control method Expired - Fee Related JP3025558B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3198911A JP3025558B2 (en) 1991-07-12 1991-07-12 Printing device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3198911A JP3025558B2 (en) 1991-07-12 1991-07-12 Printing device control method

Publications (2)

Publication Number Publication Date
JPH0516401A JPH0516401A (en) 1993-01-26
JP3025558B2 true JP3025558B2 (en) 2000-03-27

Family

ID=16399000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3198911A Expired - Fee Related JP3025558B2 (en) 1991-07-12 1991-07-12 Printing device control method

Country Status (1)

Country Link
JP (1) JP3025558B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5751312A (en) * 1996-09-04 1998-05-12 Lexmark International, Inc. Method of inhibiting a print artifact associated with a printer pause
JP3790912B2 (en) * 1997-06-23 2006-06-28 シャープ株式会社 Returning method and returning device during abnormal operation of sheet processing apparatus
JP2008290339A (en) * 2007-05-24 2008-12-04 Tohoku Ricoh Co Ltd Printing plate manufacturing apparatus, printing apparatus, and method for preventing melted coating from sticking
JP6260099B2 (en) * 2013-03-29 2018-01-17 セイコーエプソン株式会社 Printing apparatus, printing apparatus control method, and program

Also Published As

Publication number Publication date
JPH0516401A (en) 1993-01-26

Similar Documents

Publication Publication Date Title
KR0171545B1 (en) Printing system by paper lenght automatic sensing and controlling method thereof
US20100060706A1 (en) Thermal printer and method of controlling the same
KR0173344B1 (en) How to remove paper jam in the image forming apparatus
US5034780A (en) Image forming apparatus
EP0801336A2 (en) Method for processing paper jam error in image forming device
JP3025558B2 (en) Printing device control method
JP7514977B2 (en) Printer, printer control method and program
JPH07252021A (en) Sheet transport device
JP3674220B2 (en) Printer and recording paper jam processing method thereof
JP3118120B2 (en) Image forming apparatus and control method thereof
JPH11115280A (en) Printer
JPH0516434A (en) Control method of printer
JP2021109428A (en) Label printer and label printer control program
JP2877340B2 (en) Image forming device
JPS6030365A (en) Recorder
JPH07309039A (en) Printer
JP3080310B2 (en) Document processing device
JP3100135B2 (en) Recording device
JP2837918B2 (en) Recording device cutter control method
JPH0761698A (en) Sheet carrying device
JP2024033290A (en) Image formation device, system and method
JPH10157232A (en) Printer
JP2927441B2 (en) Image forming system
JPH05155068A (en) Label printer
JP3279422B2 (en) Image forming device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees