JPH04310780A - Printing apparatus - Google Patents

Printing apparatus

Info

Publication number
JPH04310780A
JPH04310780A JP7609791A JP7609791A JPH04310780A JP H04310780 A JPH04310780 A JP H04310780A JP 7609791 A JP7609791 A JP 7609791A JP 7609791 A JP7609791 A JP 7609791A JP H04310780 A JPH04310780 A JP H04310780A
Authority
JP
Japan
Prior art keywords
medium
section
displacement
detection
control section
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7609791A
Other languages
Japanese (ja)
Inventor
Mitsugi Iwata
岩田 貢
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP7609791A priority Critical patent/JPH04310780A/en
Publication of JPH04310780A publication Critical patent/JPH04310780A/en
Pending legal-status Critical Current

Links

Landscapes

  • Common Mechanisms (AREA)

Abstract

PURPOSE:To properly adjust a gap without applying needless gap adjustment by a method wherein a control section gives a gap adjustment instruction only when the amount of displacement in a medium varies for a specified duration from the reference amount of displacement. CONSTITUTION:As an interruptible instruction is given by a sensor control circuit 9a to a control section 2, a judgement is made by the control section 2 by comparing the amount of displacement in a medium detected by a paper thickness sensor 9b with the reference amount of displacement and duration of the displacement stored in a base data storage section 3c. In the case where the judgement indicates the increase in the thickness of the medium, operation for setting an appropriate gap for the medium is made by turning a head gap motor 8a in reverse until the amount of displacement becomes identical with the initial amount of displacement for the medium stored in the sensor control circuit 9a. In the case where the decrease in the thickness of the medium is judged, a judgement is made to know the existence of real printing data for a column concerned. In the case of non-existence of the real printing data for the said column because it is for a space or the like, setting of the gap for the medium is restrained. When the real printing data exist, setting of an appropriate gap for the medium is made by turning the head gap motor 8a in normal rotation. Thereby appropriate gap adjustment can be made in accordance with physical properties of the media.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プリンタ装置に関し、
特に、ギャップ調整機構を有する印字機構を備えたプリ
ンタ装置において、厚さが一様でない印字媒体を使用す
る場合に好適なプリンタ装置に関するものである。
[Industrial Application Field] The present invention relates to a printer device.
In particular, the present invention relates to a printer device equipped with a printing mechanism having a gap adjustment mechanism, which is suitable for using a printing medium having an uneven thickness.

【0002】0002

【従来の技術】従来、プリンタ装置、例えば、ワイヤド
ットシリアルプリンタにおいては、適正な印字品質を得
るため、印字ヘッドとプラテンの間のギャップを自動調
整するギャップ調整機構が設けられている。このギャッ
プ調整機構は、印字動作前に、モータを駆動源として印
字ヘッドの先端を印字媒体である用紙につきあて、その
後に一定量を戻すことにより所定のギャップを設定する
機構である。このようなギャップ調整機構によるギャッ
プ調整方法は、適宜に定めた1ヶ所でギャップ測定する
ものであり、厚さが一様でない印字媒体に対しては必ず
しも適正なギャップとはならない問題がある。これらの
問題を改善するため、例えば、特開昭63−31527
6号公報に記載されているように、印字ヘッドの移動と
共に印字媒体の厚さの増加を検知し、逐次ギャップ調整
を行えるギャップ自動調整機構を備えたプリンタ装置が
提案されている。
2. Description of the Related Art Conventionally, printer devices, such as wire dot serial printers, are provided with a gap adjustment mechanism that automatically adjusts the gap between a print head and a platen in order to obtain appropriate print quality. This gap adjustment mechanism is a mechanism that sets a predetermined gap by using a motor as a driving source to bring the tip of a print head into contact with paper, which is a print medium, before a printing operation, and then returning a certain amount. The gap adjustment method using such a gap adjustment mechanism measures the gap at one appropriately determined location, and there is a problem that the gap may not always be appropriate for printing media with uneven thickness. In order to improve these problems, for example, Japanese Patent Application Laid-Open No. 63-31527
As described in Japanese Patent No. 6, a printer device has been proposed that is equipped with an automatic gap adjustment mechanism that detects an increase in the thickness of a print medium as the print head moves and can perform gap adjustment sequentially.

【0003】0003

【発明が解決しようとする課題】しかしながら、上記の
従来の技術のプリンタ装置では、印字媒体の特性やスル
ープットに対する配慮がされていないため、印字媒体(
印字用紙)の厚さが変化すると、その都度ギャップ調整
を行うことになる。このため、実質的な用紙の厚さの変
化ではない印字媒体の皺などから生ずる変化であっても
、印字媒体の厚さの変化としてギャップ調整を行い、ま
た、実際に印字するデータがなくても、印字媒体が薄く
なったことを検出するとギャップ調整が行なわれる。 このように、従来のプリンタ装置においては、印字媒体
のギャップ調整が必要以上に行われるという問題がある
。また、印字媒体の変化を検出する検出機構が常に媒体
に接触しているため、検出機構の接触部分が摩耗しやす
く、信頼性が低いという問題がある。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional printer devices, consideration is not given to the characteristics of the printing medium and the throughput.
When the thickness of the printing paper changes, the gap must be adjusted each time. For this reason, gap adjustment is performed as a change in the thickness of the print medium, even if the change is not an actual change in paper thickness, such as wrinkles in the print medium, and there is no data to actually print. Also, gap adjustment is performed when it is detected that the print medium has become thinner. As described above, in the conventional printer device, there is a problem in that the gap adjustment of the print medium is performed more than necessary. Furthermore, since the detection mechanism that detects changes in the print medium is always in contact with the medium, there is a problem that the contact portion of the detection mechanism is easily worn out, resulting in low reliability.

【0004】本発明の目的は、上記の問題点を解決し、
ギャップ調整機構を有する印字機構を備えたプリンタ装
置において、厚さが一様でない印字媒体を使用する場合
に不必要にギャップ調整を行うことなく、適切にギャッ
プ調整を行う制御部を設けたプリンタ装置を提供するこ
とにある。
[0004] The purpose of the present invention is to solve the above problems,
In a printer device equipped with a printing mechanism having a gap adjustment mechanism, the printer device is provided with a control unit that appropriately adjusts the gap without unnecessary gap adjustment when using a printing medium having an uneven thickness. Our goal is to provide the following.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
め、本発明のプリンタ装置は、印字ヘッドの移動に伴い
印字用紙の状態変化を検出する媒体状態検出部と、該媒
体状態検出部の変位量および基準変位量を比較演算し媒
体状態に応じて媒体間隔設定を指示する制御部と、該制
御部の媒体間隔設定指示により媒体および印字ヘッドの
間のギャップを設定する媒体間隔設定部とを有すること
を特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the printer device of the present invention includes a medium state detection unit that detects a change in the state of printing paper as the print head moves, and a medium state detection unit that detects changes in the state of printing paper as the print head moves. a control unit that compares and calculates the amount of displacement and a reference displacement amount and instructs to set a medium interval according to the state of the medium; and a medium interval setting unit that sets a gap between the medium and the print head based on the medium interval setting instruction of the control unit. It is characterized by having the following.

【0006】また、プリンタ装置には、更に、媒体状態
検出部の媒体表面への接触状態を制御する媒体検出駆動
制御部と、制御部での演算結果を記憶する媒体状態記憶
部と、媒体の種類を選択制御する操作部とを設けたこと
を特徴とする。
The printer device further includes a medium detection drive control section that controls the state of contact of the medium condition detection section with the surface of the medium, a medium condition storage section that stores the calculation results of the control section, and a medium condition storage section that stores the calculation results of the control section. The present invention is characterized by being provided with an operation section for selecting and controlling the type.

【作用】[Effect]

【0007】これによれば、プリンタ装置には、媒体状
態検出部と、制御部と、媒体間隔設定部とが備えられる
。媒体状態検出部は、印字媒体の状態変化の変位量を印
字ヘッドの移動に伴い測定し検出する。制御部は、媒体
状態検出部からの変位量,その変位時間,印字ヘッドの
動作特性データである基準変位量,および印字データの
有無により媒体状態に応じて媒体間隔設定部の調整設定
量を判断し制御する。制御部により制御される媒体間隔
設定部は、印字ヘッド先端と印字媒体表面までの距離を
調整し設定する。また、プリンタ装置には、更に、媒体
検出駆動制御部と、媒体状態記憶部と、操作部とが設け
られる。媒体検出駆動制御部は、媒体状態検出部を稼働
可能とするため、媒体状態検出部の媒体表面への接触状
態を制御する。媒体状態記憶部は、制御部での演算結果
の媒体間隔設定状態を記憶する。操作部は、媒体の種類
,媒体の特性,印字ヘッドの特性データである基準変位
データなどを入力し、各特性データを選択制御する。
According to this, the printer device is provided with a medium condition detection section, a control section, and a medium interval setting section. The medium state detection unit measures and detects the amount of displacement of the state of the print medium as the print head moves. The control unit determines the adjustment setting amount of the medium interval setting unit according to the medium condition based on the displacement amount from the medium condition detection unit, the displacement time, the reference displacement amount which is the operational characteristic data of the print head, and the presence or absence of print data. and control. A medium spacing setting section controlled by the control section adjusts and sets the distance between the print head tip and the print medium surface. Further, the printer device is further provided with a medium detection drive control section, a medium state storage section, and an operation section. The medium detection drive control section controls the contact state of the medium state detection section to the medium surface in order to enable the medium state detection section to operate. The medium state storage unit stores the medium interval setting state as a result of calculation by the control unit. The operation unit inputs the type of medium, characteristics of the medium, reference displacement data which is characteristic data of the print head, etc., and selects and controls each characteristic data.

【0008】媒体状態検出部は、具体的には、印字ヘッ
ドを搭載したキャリッジに実装されて、印字媒体表面に
接触し、キャリッジの移動と共に印字媒体の厚さの変化
を変位量として制御部に伝える接触センサである。制御
部は、当該媒体状態検出部から検出される変位量をもと
に、印字ヘッドの動作特性データを基にして印字ヘッド
先端と印字媒体表面までの距離調整が必要となる値を基
準値とした基準変位量とを比較演算し、その結果で媒体
が厚くなったか薄くなったかを判断する。この印字媒体
が変化した期間が所定時間以上継続した時、媒体間隔設
定部へギャップ設定指示を発すると共に、媒体変化の状
態を媒体状態記憶部に記憶するように動作する。また、
制御部が印字媒体が薄くなったことを検知した場合には
、当該印字媒体の印字部分での印字データの有無を判定
し、実際に印字するデータがない場合にギャップ設定指
示を抑止させるように動作し、媒体検出駆動部を制御す
る指示を発する。媒体間隔設定部は、制御部からの指示
により印字ヘッド先端と印字媒体表面までの距離設定を
行うよう動作する。媒体検出駆動部は、媒体状態検出部
を印字媒体表面に接触させることを抑止させるものであ
り、制御部の指示により接触・非接触とするように制御
される。なお、操作部は各種キースイッチより構成され
、スイッチの設定情報により媒体の種類,印字ヘッドの
基準変位量,媒体状態検出部からの変位量継続時間の設
定,変更を可能にするよう機能する。このように、媒体
状態検出部,媒体間隔設定部,および制御部の動作によ
り印字媒体の厚さの変化などの媒体状態に応じて最小限
のヘッドギャップ調整が行なわれる。また、更に媒体検
出駆動部,操作部,および媒体状態検出部の動作を併用
することによって、媒体の状態に応じて媒体状態検出部
の接触センサを印字媒体と接触させる期間は、必要最少
期間とすることができる。
Specifically, the medium condition detection unit is mounted on a carriage carrying a print head, contacts the surface of the print medium, and detects changes in the thickness of the print medium as the carriage moves as a displacement amount to the control unit. It is a contact sensor that conveys information. The control unit determines, based on the amount of displacement detected by the medium condition detection unit, a value that requires adjustment of the distance between the tip of the print head and the surface of the print medium as a reference value based on the operational characteristic data of the print head. A comparison calculation is made with the calculated reference displacement amount, and based on the result, it is determined whether the medium has become thicker or thinner. When the period during which the printing medium has changed continues for a predetermined time or more, it issues a gap setting instruction to the medium interval setting section and operates to store the state of the medium change in the medium state storage section. Also,
When the control unit detects that the print medium has become thin, it determines whether there is print data in the print area of the print medium and suppresses the gap setting instruction if there is no data to actually print. and issues an instruction to control the medium detection drive section. The medium spacing setting unit operates to set the distance between the print head tip and the print medium surface based on instructions from the control unit. The medium detection drive section prevents the medium state detection section from coming into contact with the surface of the print medium, and is controlled to be in contact or non-contact based on instructions from the control section. The operation section is composed of various key switches, and functions to enable setting and changing of the type of medium, the reference displacement amount of the print head, and the duration of displacement amount from the medium condition detection section based on the setting information of the switches. In this way, the minimum head gap adjustment is performed according to the medium condition such as a change in the thickness of the printing medium by the operations of the medium condition detecting section, the medium spacing setting section, and the control section. Furthermore, by using the operations of the medium detection drive section, the operation section, and the medium condition detection section in combination, the period during which the contact sensor of the medium condition detection section is brought into contact with the printing medium can be reduced to the minimum necessary period depending on the condition of the medium. can do.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面を参照して具
体的に説明する。図1は本発明の一実施例にかかるプリ
ンタ装置の要部の構成を示すブロック図である。図1に
示すプリンタ装置の構成において、インタフェース制御
部1は、制御部2と上位装置(図示せず)との間の入出
力信号の制御を行う。制御部2は、ROM(リードオン
リメモリ)4内の制御プログラムに従って、当該プリン
タ装置の各部を統括制御する。なお、ROM4は、文字
パターン発生器としても働く。メモリ3は、入力データ
を格納するワークメモリ3aと、媒体の厚さ変化データ
を格納する媒体記憶部3bと、基準変位量,変位量継続
時間,媒体検出期間のデータを記憶する基本データを記
憶する基本データ記憶部3cとから構成されている。入
出力制御部5は、印字ヘッド6,キャリッジ部7,媒体
間隔設定部8,媒体状態検出部9,媒体検出駆動部10
,紙送り部11,操作パネル部12,およびリミットス
イッチ部13との間の各部の動作制御を行う。キャリッ
ジ部7はキャリッジモータ7aとキャリッジ機構7bで
構成され、印字ヘッド6,媒体状態検出部9,媒体検出
駆動部10を搭載し、制御部2より入出力制御部5を経
由して与えられる信号に従って、左右方向に移動する。 媒体間隔設定部8は、ヘッドギャップモータ8aとヘッ
ドギャップ調整機構8bで構成され、制御部2の指示に
より、キャリッジ部7の前後方向移動を制御する。 媒体状態検出部9は、センサ制御回路9a,紙厚センサ
9b,および検出機構9cから構成されており、センサ
制御回路9aが紙厚センサ9bの出力をその一時記憶と
比較し、比較結果が異なる場合に制御部2への割込みを
かける割込み制御機能を有している。媒体検出駆動部1
0は、媒体検出モータ10aおよび駆動機構10bから
構成されており、制御部2の指示により媒体検出モータ
10aを駆動させ、媒体状態検出部(接触センサ)9の
移動を行う。紙送り部11は、紙送りモータ11aと紙
送り機構11bにより構成されており、制御部2の指示
により媒体である連続用紙や単票紙の送りを制御する。 また、操作パネル部12は、スイッチと表示器などによ
り構成され、印字ヘッド特性からヘッドギャップの設定
が必要な媒体厚の変位量である基準変位量,印字媒体厚
の変化期間である変位量継続時間,および媒体検出を1
行分行うか1ページ分行うかの選択をする媒体検出期間
,等の制御情報が、当該操作パネル部12より入力され
、入力された制御情報は基本データ記憶部3cに記憶さ
れる。なお、リミットスイッチ部13は、当該プリンタ
装置の各種の状態を検出する各種のセンサから構成され
ており、例えば、印字用紙の有無等のプリンタの状態変
化を入出力制御部5を介して制御部2へ送出する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of main parts of a printer device according to an embodiment of the present invention. In the configuration of the printer device shown in FIG. 1, an interface control section 1 controls input/output signals between the control section 2 and a host device (not shown). The control unit 2 centrally controls each unit of the printer device according to a control program in a ROM (read only memory) 4. Note that the ROM 4 also functions as a character pattern generator. The memory 3 stores a work memory 3a that stores input data, a medium storage section 3b that stores medium thickness change data, and basic data that stores data of a reference displacement amount, displacement amount duration time, and medium detection period. It consists of a basic data storage section 3c. The input/output control section 5 includes a print head 6, a carriage section 7, a medium interval setting section 8, a medium condition detection section 9, and a medium detection drive section 10.
, the paper feeding section 11, the operation panel section 12, and the limit switch section 13. The carriage section 7 is composed of a carriage motor 7a and a carriage mechanism 7b, and is equipped with a print head 6, a medium condition detection section 9, and a medium detection drive section 10, and receives signals from the control section 2 via the input/output control section 5. Follow the instructions to move left and right. The medium interval setting section 8 is composed of a head gap motor 8a and a head gap adjustment mechanism 8b, and controls the movement of the carriage section 7 in the front-back direction according to instructions from the control section 2. The medium condition detection section 9 is composed of a sensor control circuit 9a, a paper thickness sensor 9b, and a detection mechanism 9c.The sensor control circuit 9a compares the output of the paper thickness sensor 9b with its temporary memory, and if the comparison result is different. It has an interrupt control function that interrupts the control unit 2 when necessary. Medium detection drive section 1
0 is composed of a medium detection motor 10a and a drive mechanism 10b, and the medium detection motor 10a is driven by instructions from the control section 2 to move the medium state detection section (contact sensor) 9. The paper feeding section 11 is composed of a paper feeding motor 11a and a paper feeding mechanism 11b, and controls the feeding of continuous paper or cut paper as media according to instructions from the control section 2. The operation panel section 12 is composed of switches, indicators, etc., and includes a reference displacement amount, which is the displacement amount of the medium thickness that requires setting of the head gap based on the print head characteristics, and a continuous displacement amount, which is the change period of the print medium thickness. time, and medium detection to 1
Control information such as a medium detection period for selecting whether to perform the process for one line or one page is input from the operation panel unit 12, and the input control information is stored in the basic data storage unit 3c. Note that the limit switch section 13 is composed of various sensors that detect various states of the printer device, and for example, changes in the state of the printer such as the presence or absence of printing paper are detected by the control section via the input/output control section 5. Send to 2.

【0010】図2はプリンタ機構部の全体構成の概略を
示す図であり、図3は媒体状態検出部の検出機構および
媒体検出駆動部の詳細な構成を示す斜視図である。図2
および図3において、6は印字ヘッド、7bはキャリッ
ジ機構、8aはヘッドギャップモータ、9bは紙厚セン
サ、9cは検出機構、10aは媒体検出モータ、21は
プラテン、22は印字用紙、23は偏心シャフト、24
はシャフト、25はインクリボンである。また、31は
フォワードストッパ、32はリバースストッパである。
FIG. 2 is a diagram schematically showing the overall configuration of the printer mechanism section, and FIG. 3 is a perspective view showing the detailed configuration of the detection mechanism of the medium condition detection section and the medium detection drive section. Figure 2
3, 6 is a print head, 7b is a carriage mechanism, 8a is a head gap motor, 9b is a paper thickness sensor, 9c is a detection mechanism, 10a is a medium detection motor, 21 is a platen, 22 is a printing paper, 23 is an eccentric shaft, 24
is a shaft, and 25 is an ink ribbon. Further, 31 is a forward stopper, and 32 is a reverse stopper.

【0011】図2に示すように、ヘッドギャップモータ
8aは偏心シャフト23の一端に取り付けられており、
ヘッドギャップモータ8aの回転により、偏心シャフト
23が回転し、キャリッジ機構7bが前後に移動する。 これにより、印字用紙22と印字ヘッド6との間隔調整
を可能としている。また、図3に示すように、検出機構
9cはキャリッジ機構7bに搭載された媒体検出モータ
10aが回転することにより、前後に移動する。キャリ
ッジ機構7bに設けられたフォワードストッパ31とリ
バースストッパ32は、検出機構9cの移動方向の矯正
と前方向または後方向の最大移動ストッパとなっており
、規定以上の移動を抑止する。また、フォワードストッ
パ31とリバースストッパ32には、検出機構9cの浮
き上がり防止のための嵌合部が設けられており、更にフ
ォワードストッパ31は印字ヘッド6の搭載機構を兼ね
た構造となっている。紙厚センサ9bは、検出機構9c
に設けられ、キャリッジ機構7bが前後に移動する際、
印字用紙22に接触して紙厚を検出する。
As shown in FIG. 2, the head gap motor 8a is attached to one end of the eccentric shaft 23.
The rotation of the head gap motor 8a rotates the eccentric shaft 23, and the carriage mechanism 7b moves back and forth. This makes it possible to adjust the distance between the print paper 22 and the print head 6. Further, as shown in FIG. 3, the detection mechanism 9c moves back and forth as a medium detection motor 10a mounted on the carriage mechanism 7b rotates. A forward stopper 31 and a reverse stopper 32 provided on the carriage mechanism 7b function as corrections in the moving direction of the detection mechanism 9c and maximum movement stops in the forward or backward direction, and prevent movement beyond a specified limit. Further, the forward stopper 31 and the reverse stopper 32 are provided with a fitting portion to prevent the detection mechanism 9c from floating up, and the forward stopper 31 has a structure that also serves as a mounting mechanism for the print head 6. The paper thickness sensor 9b is a detection mechanism 9c.
When the carriage mechanism 7b moves back and forth,
The paper thickness is detected by contacting the printing paper 22.

【0012】次に、本実施例にかかるプリンタ装置の動
作について図1〜図3により説明する。リミットスイッ
チ部13の用紙有無情報をもとにした紙送り部11の動
作により、印字用紙22が印字開始位置まで給紙される
と、この状態の初期位置において、制御部2の指示によ
り媒体間隔設定部8のヘッドギャップモータ8aが駆動
され、ヘッドギャップ調整機構8bによりキャリッジ機
構7bが印字用紙22につき当たるまで、偏心シャフト
23を回転させる。その後、ヘッドギャップモータ8a
を所定量だけ逆回転させ、キャリッジ機構7bを戻すこ
とにより、印字ヘッド6と印字用紙22との間に適正な
間隔が得られるように媒体間隔の設定が行なわれる。
Next, the operation of the printer device according to this embodiment will be explained with reference to FIGS. 1 to 3. When the printing paper 22 is fed to the printing start position by the operation of the paper feeding unit 11 based on the paper presence/absence information of the limit switch unit 13, the media interval is The head gap motor 8a of the setting section 8 is driven, and the eccentric shaft 23 is rotated until the carriage mechanism 7b comes into contact with the printing paper 22 by the head gap adjustment mechanism 8b. After that, the head gap motor 8a
By rotating the carriage mechanism 7b backward by a predetermined amount and returning the carriage mechanism 7b, the medium interval is set so that an appropriate interval is obtained between the print head 6 and the printing paper 22.

【0013】また、制御部2は媒体検出駆動部10の媒
体検出モータ10aにも駆動指示を発するため、媒体検
出モータ10aが駆動され、検出機構9cがプラテン2
1側に移動させられる。媒体検出モータ10aは、検出
機構9cがフォワードストッパ31により移動が阻止さ
れると、駆動を停止し、紙厚センサ9bによる媒体状態
検出が可能な状態となる。この時、既に媒体間隔の設定
は終了しているため、適正な媒体間隔状態における紙厚
センサ9bの出力が、初期媒体変位量としてセンサ制御
回路9aに記憶され、更に、印字用紙における当該初期
位置の当該行情報と当該桁情報と共に媒体記憶部3bに
記憶される。
Furthermore, since the control section 2 also issues a driving instruction to the medium detection motor 10a of the medium detection drive section 10, the medium detection motor 10a is driven and the detection mechanism 9c is activated when the platen 2
Moved to side 1. When the movement of the detection mechanism 9c is prevented by the forward stopper 31, the medium detection motor 10a stops driving, and becomes in a state in which the medium state can be detected by the paper thickness sensor 9b. At this time, since the setting of the media spacing has already been completed, the output of the paper thickness sensor 9b in the proper media spacing state is stored in the sensor control circuit 9a as the initial media displacement amount, and furthermore, the initial position on the printing paper is The line information and the digit information are stored in the medium storage unit 3b.

【0014】次に、ワークメモリ3aに記憶されている
入力データをもとにキャリッジモータ7aを駆動させ、
キャリッジ機構7bを移動される。キャリッジ機構7b
の移動に伴い、紙厚センサ9bの出力値はセンサ制御回
路9bに順次入力され、センサ制御回路9aは先に記憶
した初期媒体変位量との比較を行ない、比較結果が異な
った場合に、制御部2に対し割込みを発する。制御部2
は割り込みを検知すると割込み処理により、紙厚センサ
9bの出力情報(媒体変位量)と基本データ記憶部3c
に記憶されている基準変位量および変位量継続時間とを
比較し、現在の媒体変位量が媒体間隔を再設定するのに
値するか否かを判定を行う。すなわち、現在の媒体変位
量と媒体記憶部3bに記憶されている直前の媒体変位量
との間の変位差が基準変位量以上であり、この状態が変
位量継続時間以上続いた場合に、媒体間隔再設定に値し
たと判断し、変位の状況により媒体厚増加または媒体厚
減少の判定を行う。この時、現時点での最新紙厚情報と
して当該桁情報と共に媒体記憶部3bに記憶する。
Next, the carriage motor 7a is driven based on the input data stored in the work memory 3a,
The carriage mechanism 7b is moved. Carriage mechanism 7b
As the paper thickness sensor 9b moves, the output values of the paper thickness sensor 9b are sequentially input to the sensor control circuit 9b, and the sensor control circuit 9a compares them with the previously stored initial medium displacement amount, and if the comparison results are different, the control An interrupt is issued to section 2. Control part 2
When the interrupt is detected, the output information (medium displacement amount) of the paper thickness sensor 9b and the basic data storage section 3c are processed by the interrupt processing.
The reference displacement amount and the displacement amount duration time stored in are compared to determine whether the current amount of medium displacement is worth resetting the medium interval. That is, if the displacement difference between the current medium displacement amount and the immediately previous medium displacement amount stored in the medium storage section 3b is equal to or greater than the reference displacement amount, and this state continues for the displacement amount duration time or longer, the medium It is determined that it is worth resetting the interval, and a determination is made as to whether the medium thickness should be increased or decreased depending on the displacement situation. At this time, it is stored in the medium storage unit 3b together with the relevant digit information as the latest paper thickness information at the present time.

【0015】媒体厚が増加したと判定した場合は、その
変位差に対応した分、すなわち、センサ制御回路9aに
記憶された初期媒体変位量と同一値となるまでヘッドギ
ャップモータ8aを逆回転させて、適正な媒体間隔設定
を行う。また、媒体厚の減少を判定した場合は、当該桁
での実印字データ有無判定を行い、当該桁がスペース等
の実印字データでない場合は、媒体間隔設定を抑止し、
実印字データがある場合は、ヘッドギャップモータ8a
を正回転させ適正な媒体間隔設定を行う。以上の動作を
当該行の印字が終了するまで行う。これにより、当該行
の適正な媒体間隔設定ができる。
If it is determined that the medium thickness has increased, the head gap motor 8a is rotated in the opposite direction by an amount corresponding to the displacement difference, that is, until it becomes the same value as the initial medium displacement amount stored in the sensor control circuit 9a. and set the appropriate media spacing. In addition, when it is determined that the media thickness has decreased, the presence or absence of actual print data in the relevant digit is determined, and if the relevant digit is not actual print data such as a space, the media interval setting is suppressed,
If there is actual printing data, head gap motor 8a
Rotate in the forward direction to set the appropriate media spacing. The above operations are repeated until the printing of the relevant line is completed. This makes it possible to set appropriate media spacing for the row.

【0016】また、当該行の印字終了時点で基本データ
記憶部3cに記憶されている媒体検出期間の情報により
行単位検出かページ単位検出かの判断を行い、ページ単
位検出であれば、1ページの印刷動作が終了するまで前
述の動作を繰り返し行う。そして、1行または1ページ
の媒体検出期間の終了後、媒体検出モータ10aを駆動
させて検出機構9cをリバースストッパ32まで後退さ
せ、媒体状態検出部9の動作を抑止する。これにより、
媒体状態検出部9の抑止後は媒体記憶部3bに記憶され
た媒体の変位情報(当該行,桁,媒体変位量)により適
正な媒体間隔設定が可能となる。
[0016] Also, at the end of printing of the line, it is determined whether the detection is by line or by page based on the information of the medium detection period stored in the basic data storage section 3c, and if the detection is by page, one page is detected. The above-mentioned operation is repeated until the printing operation is completed. After the medium detection period for one line or one page ends, the medium detection motor 10a is driven to move the detection mechanism 9c back to the reverse stopper 32, thereby inhibiting the operation of the medium state detection section 9. This results in
After the medium state detection unit 9 is inhibited, it becomes possible to set an appropriate medium interval based on the medium displacement information (the row, column, and amount of medium displacement) stored in the medium storage unit 3b.

【0017】ここでは、基準変位量,変位量継続時間,
および媒体検出時間の値を基本データ記憶部3cに記憶
させようにしているが、これらは、操作パネル部12ま
たはセンサ制御回路9a等のいずれかに設定できるよう
にすれば良い。また、媒体検出期間は、行単位とページ
単位の2つの検出期間としたが、更に媒体の種類により
異なる種類の各種の検出期間を設けても良い。また、検
出期間は設けず、媒体記憶部3bの記憶情報を判定し、
媒体状態を検出することによる自動判定で媒体状態検出
部9の抑止制御を行ってもよい。媒体状態検出部9の抑
止制御は、媒体検出モータ10aに限ったものではなく
、紙厚センサ9bが媒体と接触せぬ手段であれば、いか
なる方法でもよい。
[0017] Here, the reference displacement amount, displacement amount duration time,
Although the basic data storage unit 3c stores the values of the medium detection time and the medium detection time, these may be set in either the operation panel unit 12 or the sensor control circuit 9a. In addition, although the medium detection period includes two detection periods, one for each line and one for each page, various types of detection periods may be further provided depending on the type of medium. Further, the storage information of the medium storage unit 3b is determined without providing a detection period,
The inhibition control of the medium state detection unit 9 may be performed by automatic determination by detecting the medium state. The inhibition control of the medium state detection section 9 is not limited to the medium detection motor 10a, and any method may be used as long as the paper thickness sensor 9b does not come into contact with the medium.

【0018】[0018]

【発明の効果】以上説明したように、本発明のプリンタ
装置によれば、基準変位量や変位時間の設定により、印
字ヘッドの動作特性に合致し、媒体の物性に応じた適正
なギャップ調整ができる。また、無駄なギャップ制御を
抑止しているため、高速印字にも効果がある。更に、媒
体状態検出部が可動するため信頼性の向上が図かれる。 これらの基準変位量や変位時間の設定は、操作部により
各種の設定値の変更が可能なため、各種媒体の物性相違
,印字ヘッドや装置の特性相違を容易に調整し、相違を
吸収することができる。
As explained above, according to the printer device of the present invention, by setting the reference displacement amount and displacement time, it is possible to match the operating characteristics of the print head and to adjust the gap appropriately according to the physical properties of the medium. can. Furthermore, since unnecessary gap control is suppressed, it is also effective for high-speed printing. Furthermore, since the medium state detection section is movable, reliability is improved. These reference displacement amounts and displacement time settings can be changed in various settings using the operation panel, making it easy to adjust and absorb differences in the physical properties of various media and the characteristics of print heads and devices. Can be done.

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

【図1】本発明の一実施例にかかるプリンタ装置の要部
の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of main parts of a printer device according to an embodiment of the present invention.

【図2】プリンタ機構部の全体構成の概略を示す図であ
る。
FIG. 2 is a diagram schematically showing the overall configuration of a printer mechanism section.

【図3】媒体状態検出部の検出機構および媒体検出駆動
部の詳細な構成を示す斜視図である。
FIG. 3 is a perspective view showing the detailed configuration of a detection mechanism and a medium detection drive section of a medium state detection section.

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

2  制御部 3  メモリ 4  ROM 5  入出力制御取部 6  印字ヘッド 7  キャリッジ部 8  媒体間隔設定部 9  媒体状態検出部 10  媒体検出駆動部 12  操作パネル部 21  プラテン 22  印字用紙 23  偏心シャフト 24  シャフト 31  フォワードストッパ 32  リバースストッパ 2 Control section 3 Memory 4 ROM 5 Input/output control section 6 Print head 7 Carriage part 8 Media interval setting section 9 Medium condition detection section 10 Medium detection drive unit 12 Operation panel section 21 Platen 22 Printing paper 23 Eccentric shaft 24 Shaft 31 Forward stopper 32 Reverse stopper

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】  印字ヘッドの移動に伴い印字用紙の状
態変化を検出する媒体状態検出部と、該媒体状態検出部
の変位量および基準変位量を比較演算し媒体状態に応じ
て媒体間隔設定を指示する制御部と、該制御部の媒体間
隔設定指示により媒体および印字ヘッドの間のギャップ
を設定する媒体間隔設定部とを有することを特徴とする
プリンタ装置。
1. A medium condition detecting section that detects changes in the condition of printing paper as the print head moves, and a displacement amount of the medium condition detecting section and a reference displacement amount are compared and calculated to set the medium interval according to the medium condition. 1. A printer apparatus comprising: a control section for giving instructions; and a medium spacing setting section for setting a gap between a medium and a print head based on a medium spacing setting instruction from the control section.
【請求項2】  印字ヘッドおよび印字媒体表面とのギ
ャップ調整を行う媒体間隔設定部と、前記印字ヘッドの
移動により前記媒体の厚さの変化を測定する媒体状態検
出部と、該媒体状態検出部より検知した前記媒体の厚さ
の変化データおよび印字ヘッドの動作特性データにより
ギャップ調整指示を制御する制御部とを設けたことを特
徴とするプリンタ装置。
2. A medium interval setting section that adjusts the gap between the print head and the surface of the print medium, a medium condition detection section that measures changes in the thickness of the medium due to movement of the print head, and the medium condition detection section. A printer apparatus comprising: a control section that controls a gap adjustment instruction based on data on a change in the thickness of the medium detected by the method and data on operating characteristics of the print head.
【請求項3】  制御部は、所定時間の間、媒体状態検
出部の変位量が基準変位量以上となる値となった時に、
媒体間隔設定を指示することを特徴とする請求項1に記
載のプリンタ装置。
[Claim 3] The control section is configured to, for a predetermined period of time, when the amount of displacement of the medium condition detection section reaches a value equal to or greater than the reference amount of displacement,
The printer device according to claim 1, further comprising an instruction to set a medium interval.
【請求項4】  制御部は、媒体状態検出部の変位量の
変化により媒体が薄くなったことを検知した場合に、当
該制御部における印字データの有無によって媒体間隔設
定指示を制御することを特徴とする請求項1に記載のプ
リンタ装置。
4. The control section is characterized in that when it is detected that the medium has become thinner due to a change in the amount of displacement of the medium condition detection section, the control section controls a medium interval setting instruction depending on the presence or absence of print data in the control section. The printer device according to claim 1.
【請求項5】  更に、媒体状態検出部の媒体表面への
接触状態を制御する媒体検出駆動制御部と、制御部での
演算結果を記憶する媒体状態記憶部と、媒体の種類を選
択制御する操作部とを設けたことを特徴とする請求項1
に記載のプリンタ装置。
5. Further, a medium detection drive control section that controls the state of contact of the medium state detection section with the surface of the medium, a medium state storage section that stores calculation results in the control section, and selectively controls the type of the medium. Claim 1 characterized in that an operation section is provided.
The printer device described in .
【請求項6】  媒体検出の基データとなる基準変位量
,変位量継続時間,および媒体検出時間を操作部により
設定可能としたことを特徴とする請求項5に記載のプリ
ンタ装置。
6. The printer device according to claim 5, wherein a reference displacement amount, a displacement amount duration time, and a medium detection time, which are basic data for medium detection, can be set by an operation unit.
【請求項7】  媒体検出機構の移動方向矯正,移動停
止ストッパ,浮き上がり防止を兼ねた印字ヘッド固定部
を設けたキャッリッジ機構を有することを特徴とする請
求項1に記載のプリンタ装置。
7. The printer device according to claim 1, further comprising a carriage mechanism provided with a print head fixing portion that serves to correct the moving direction of the medium detection mechanism, a movement stopper, and a print head fixing portion that also serves to prevent floating.
JP7609791A 1991-04-09 1991-04-09 Printing apparatus Pending JPH04310780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7609791A JPH04310780A (en) 1991-04-09 1991-04-09 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7609791A JPH04310780A (en) 1991-04-09 1991-04-09 Printing apparatus

Publications (1)

Publication Number Publication Date
JPH04310780A true JPH04310780A (en) 1992-11-02

Family

ID=13595356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7609791A Pending JPH04310780A (en) 1991-04-09 1991-04-09 Printing apparatus

Country Status (1)

Country Link
JP (1) JPH04310780A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100444594B1 (en) * 2002-07-04 2004-08-16 삼성전자주식회사 apparatus and method for adjusting a head gap in an inkjet printer
JP2014124819A (en) * 2012-12-26 2014-07-07 Seiko Epson Corp Image recording device and image recording method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100444594B1 (en) * 2002-07-04 2004-08-16 삼성전자주식회사 apparatus and method for adjusting a head gap in an inkjet printer
JP2014124819A (en) * 2012-12-26 2014-07-07 Seiko Epson Corp Image recording device and image recording method

Similar Documents

Publication Publication Date Title
JPH04355177A (en) Gap adjusting device for printing head
JPS63112182A (en) Printer device
JP3013495B2 (en) Printer
JPH04310780A (en) Printing apparatus
JP3317331B2 (en) Platen gap automatic adjustment device
US5087134A (en) Method of and device for printer control
JPH0421482A (en) Printer with paper width detector
JPH0576431B2 (en)
US6601513B1 (en) Motor control method and apparatus, time recorder having same and impact type printing apparatus
JPH0569632A (en) Printer
JP3614920B2 (en) Printer print control device
JP2894146B2 (en) Printer
JP3131964B2 (en) Printing device
JPH11342661A (en) Label printer
JPS60201965A (en) Printer with compensation for missing of dot
JP2847906B2 (en) Printing device
JPH08310075A (en) Impact printer and its control method
JPH01238978A (en) Head gap automatic adjusting system
JP2875410B2 (en) Printer
JPH01101174A (en) Dot matrix printer
JPH07246719A (en) Printing device with impact force adjustment function
JPH06305216A (en) Device and method for controlling power source of printer
JPH03248875A (en) Automatic regulating mechanism for printing head of printer
JPH10230630A (en) Dot impact printer
JPH05122969A (en) Speed controller based on encoder signal