JP3355934B2 - Printing gap control method and printer - Google Patents

Printing gap control method and printer

Info

Publication number
JP3355934B2
JP3355934B2 JP15262496A JP15262496A JP3355934B2 JP 3355934 B2 JP3355934 B2 JP 3355934B2 JP 15262496 A JP15262496 A JP 15262496A JP 15262496 A JP15262496 A JP 15262496A JP 3355934 B2 JP3355934 B2 JP 3355934B2
Authority
JP
Japan
Prior art keywords
thickness
print
gap
input
print medium
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
JP15262496A
Other languages
Japanese (ja)
Other versions
JPH10831A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP15262496A priority Critical patent/JP3355934B2/en
Publication of JPH10831A publication Critical patent/JPH10831A/en
Application granted granted Critical
Publication of JP3355934B2 publication Critical patent/JP3355934B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、大きさの異なる用
紙を複数枚重ねた改行方向に段差を有する印字媒体、及
び均一な厚さの印字媒体に印字するプリンタの印字間隙
制御方法及びプリンタに係り、特に厚さが均一な印字媒
体に印字する時に印字間隔の調整を一度で済ませて、印
字速度を高めることができる印字間隙制御方法及びプリ
ンタに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print medium having a step in a line feed direction in which a plurality of sheets of different sizes are stacked, a print gap control method and a printer for printing on a print medium having a uniform thickness. In particular, the present invention relates to a printing gap control method and a printer capable of increasing a printing speed by adjusting a printing interval only once when printing on a printing medium having a uniform thickness.

【0002】近来、大きさの異なる用紙を重ねて複写印
字する伝票のように、段差を有する印字媒体にインパク
ト印字するワイヤードット印字ヘッド等を備えたライン
プリンタが実用化されており、例えば、運送業における
宅配用伝票等の複写印字に使用されている。
2. Description of the Related Art Recently, line printers having a wire dot print head for impact printing on a printing medium having a step, such as a slip for copying and printing sheets of different sizes, have been put into practical use. It is used for copy printing of delivery slips and the like in business.

【0003】このようなプリンタでは、印字行毎に用紙
の厚さを測定して、用紙厚の変化する度にプラテンと印
字ヘッドの間隙を調整して適正印字ギャップで印字する
ようにしており、このため、印字速度が著しく低下して
いる。つまり、印字行毎に厚さを測定するため、変化点
でない印字行においてもプラテン移動動作が発生し、印
字速度が遅くなる。
In such a printer, the thickness of the paper is measured for each print line, and the gap between the platen and the print head is adjusted each time the thickness of the paper changes, and printing is performed at an appropriate print gap. For this reason, the printing speed is significantly reduced. That is, since the thickness is measured for each print line, a platen moving operation occurs even in a print line that is not a change point, and the printing speed is reduced.

【0004】これに対処するために、予め行単位で用紙
厚さを測定して、そのデータを登録しておいて、印字に
際してはその登録データを使えば、変化点だけのプラテ
ンの移動ですむので印字速度の低下程度を緩和すること
ができる。
In order to cope with this, the thickness of the paper is measured in units of lines in advance, and the data is registered. If the registered data is used for printing, the platen needs to be moved only at the changing point. Therefore, the degree of reduction in printing speed can be reduced.

【0005】また、予め厚さが均一な用紙の厚さを測定
した時に、位置によるプラテンと伝票の押圧力の変化と
センサの精度とに原因して、行毎の厚さデータにばらつ
きが生じた場合には、あたかも段差が存在するごとく認
識されて、用紙厚さの変化に応じて間隙調整動作が行わ
れる。
Further, when the thickness of a sheet having a uniform thickness is measured in advance, variations in the thickness data for each line occur due to the change in the pressing force of the platen and the slip depending on the position and the accuracy of the sensor. In this case, it is recognized as if there is a step, and the gap adjusting operation is performed according to the change in the sheet thickness.

【0006】従って、厚さが均一な用紙にもかかわらず
印字速度が極端に低下してしまう。そこで、このような
厚さが均一な用紙の場合に印字速度を高める方法が望ま
れている。
[0006] Therefore, the printing speed is extremely reduced despite the uniform thickness of the paper. Therefore, there is a demand for a method for increasing the printing speed in the case of such a sheet having a uniform thickness.

【0007】[0007]

【従来の技術】図15は運送業における宅配用伝票の印
字に使用されるラインプリンタを例示する内部側面図
で、連続伝票(以下伝票という)1aを収容し、順次供給
する給紙部2、プラテン4a及び前面にヘッドマスク50が
取り付けられた印字ヘッド5aを備えたプリンタ部3、伝
票1aの両サイドの送り孔がセットされるスプロケットベ
ルトを有する上トラクタ6a/下トラクタ6b、印字された
伝票1aを収容するスタッカ7、及び伝票1aが搬送される
搬送路8で構成されている。
2. Description of the Related Art FIG . 15 is an internal side view exemplifying a line printer used for printing a delivery slip in the transportation business. The paper feeding section 2 stores and sequentially supplies a continuous slip (hereinafter referred to as a slip) 1a. A printer unit 3 having a platen 4a and a print head 5a having a head mask 50 attached to the front surface, an upper tractor 6a / a lower tractor 6b having a sprocket belt on which feed holes on both sides of the slip 1a are set, and a printed slip. It comprises a stacker 7 for accommodating 1a and a transport path 8 for transporting the slip 1a.

【0008】上トラクタ6aはステッピングモータ(以下
モータという)M1に連結され、下トラクタ6bは図示省略
したベルト及びプーリを介して上トラクタ6aに連結さ
れ、モータM1の回転によりスプロケットベルトが駆動し
て伝票1aを矢印A方向に移送する。
The upper tractor 6a is connected to a stepping motor (hereinafter referred to as a motor) M1, the lower tractor 6b is connected to the upper tractor 6a via a belt and a pulley (not shown), and the rotation of the motor M1 drives the sprocket belt. The slip 1a is transferred in the direction of arrow A.

【0009】図16に示すように、印字ヘッド5a (図で
はヘッドマスク50を省略して示している) は、複数のワ
イヤーマグネットで構成されたヘッドで、プラテン4aに
平行に複数個 (例えば、13個) が配列してキャリア51に
取り付けられ、キャリア51にはガイドシャフト52が滑合
し、送りねじ53が螺合している。
As shown in FIG . 16 , a print head 5a (a head mask 50 is omitted in the figure) is a head composed of a plurality of wire magnets, and a plurality of print heads (for example, 13) are arranged and attached to a carrier 51, and a guide shaft 52 slides on the carrier 51, and a feed screw 53 is screwed thereon.

【0010】送りねじ53はモータM2の正逆方向回転によ
ってキャリア51を一行の複数分の1のスペースストロー
クで往復移動させ、複数の印字ヘッド5aの一斉動作で、
矢印B方向移動で伝票1aの一行に、矢印C方向移動で次
の一行に印字が行われる。
The feed screw 53 reciprocates the carrier 51 with a space stroke of a multiple of one line by the forward / reverse rotation of the motor M2.
Printing is performed on one line of the slip 1a by moving in the direction of arrow B and on the next line by moving in the direction of arrow C.

【0011】プラテン4aは、常態では印字ヘッド5aの先
端から所定距離後退しており、印字時に印字ヘッド5aに
接近して適正な印字ギャップで印字を行う。伝票1aは、
複写するために複数枚重ねられ、改行方向に「段差を有
する」用紙のものと、「厚さが均一」な用紙のものとが
用いられる。
The platen 4a is normally retracted a predetermined distance from the tip of the print head 5a, and approaches the print head 5a during printing to perform printing with an appropriate print gap. Slip 1a
A plurality of sheets are stacked for copying, and a sheet having "step" in the line feed direction and a sheet having "uniform thickness" are used.

【0012】「段差を有する」用紙の伝票1aは、図17
(a) に示すように、異なる大きさの用紙、例えば、三枚
の用紙を重ねて、一枚(1P)、二枚(2P)或いは三枚(3P)の
用紙厚さの部分がある。この伝票1aの厚さを測定して制
御部 (図示していない) へ通知される情報は、(b) に示
すようになる。
A slip 1a of a sheet having a "step" is shown in FIG.
As shown in (a), sheets of different sizes, for example, three sheets are overlapped, and there is a portion of one (1P), two (2P) or three (3P) sheet thickness. The information measured by measuring the thickness of the slip 1a and notified to the control unit (not shown) is as shown in (b).

【0013】また、プリンタ部3には、プラテン4aと印
字ヘッド5aの間にセットされる伝票1aの厚さを測定する
機構と、伝票1aとヘッドマスク50のギャップを確保する
ためのプラテン4aの位置を調整する機構とが、厚さ測定
/間隙調整機構9aとして設けられている。
The printer section 3 has a mechanism for measuring the thickness of the slip 1a set between the platen 4a and the print head 5a, and a mechanism for measuring the thickness of the slip 1a and the head mask 50 for securing a gap between the slip 1a and the head mask 50. A mechanism for adjusting the position is provided as a thickness measuring / gap adjusting mechanism 9a.

【0014】図18のプリンタ部3において、10a,10b
はカム、11は保持部材、12はセンサ、13は検出レバーを
示す。プラテン4aはスプリング40a,40b により上方に付
勢され、保持部材11の両端部に係合している。ヘッドマ
スク50は印字窓54を有し、印字ヘッド5aの前面に図示し
ていないインクリボンを介して対向して取り付けられて
いる。
In the printer unit 3 shown in FIG .
Denotes a cam, 11 denotes a holding member, 12 denotes a sensor, and 13 denotes a detection lever. The platen 4a is urged upward by springs 40a and 40b, and is engaged with both ends of the holding member 11. The head mask 50 has a print window 54, and is attached to the front of the print head 5a via an ink ribbon (not shown).

【0015】カム10a,10b が同位相で取り付けられたカ
ム軸100 はモータM3に連結され、また、モータM3及びセ
ンサ12は図示していない制御部に接続されている。カム
10a,10b の回転によるプラテン4aの変位量は、モータM3
のステップ数に比例するように構成されている。
The camshaft 100 on which the cams 10a and 10b are mounted in the same phase is connected to a motor M3, and the motor M3 and the sensor 12 are connected to a control unit (not shown). cam
The displacement of the platen 4a due to rotation of 10a, 10b is
Is configured to be proportional to the number of steps.

【0016】従って、伝票1aの厚さ測定方法は、まず、
プラテン4aとヘッドマスク50の間に伝票1aが存在しない
状態で、プラテン4aが図において下方に退避している位
置 (この位置を原点とする。) から、モータM3を駆動し
てカム10a,10b を回転し、カムフォロア101a,101b を介
して保持部材11を押し出し、これに連れてプラテン4aが
前進してヘッドマスク50の前面に押し付けられる。
Therefore, the method of measuring the thickness of the slip 1a is as follows.
In a state where the slip 1a does not exist between the platen 4a and the head mask 50, the motor M3 is driven from the position where the platen 4a is retracted downward in the figure (this position is the origin) to drive the cams 10a and 10b. Is rotated to push out the holding member 11 via the cam followers 101a and 101b, whereby the platen 4a advances and is pressed against the front surface of the head mask 50.

【0017】保持部材11が更に押し出されると、プラテ
ン4aが相対的に後退し、検出レバー13が回動して先端が
センサ12を遮蔽して、プラテン4aとヘッドマスク50の接
触が検出される。原点から検出までのモータM3のステッ
ス数Sn1 をカウントする。
When the holding member 11 is further pushed out, the platen 4a retreats relatively, the detection lever 13 rotates and the tip shields the sensor 12, and the contact between the platen 4a and the head mask 50 is detected. . The number of steps Sn1 of the motor M3 from the origin to the detection is counted.

【0018】ステッス数Sn1 は、原点からヘッドマスク
50までの距離 (一定値) をステップ数でSとし、プラテ
ン4aがヘッドマスク50に押し付けられてから、センサ12
の検出までのステップ数(一定値)をαとすると、S+
α (=Sn1)である。
The number of steps Sn1 is calculated from the origin by using a head mask.
The distance (constant value) up to 50 is defined as S in steps, and after the platen 4a is pressed against the head mask 50, the sensor 12
Assuming that the number of steps (constant value) until the detection of is α, S +
α (= Sn1).

【0019】次に伝票1aがプラテン4aとヘッドマスク50
の間に存在する状態で、上記と同様に、プラテン4aの退
避位置、即ち、原点からモータM3を駆動して保持部材11
を押し出し、プラテン4aを伝票1aを介してヘッドマスク
50の前面に押し付け、更に押し出してセンサ12によって
検出されるまでの、モータM3のステップ数Sn2 をカウン
トする。
Next, the slip 1a is composed of the platen 4a and the head mask 50.
As described above, the motor M3 is driven from the retracted position of the platen 4a,
And extrude the platen 4a through the voucher 1a through the head mask
The number of steps Sn2 of the motor M3 until it is pressed against the front surface of the motor 50 and further pushed out and detected by the sensor 12 is counted.

【0020】そこで、伝票1aの厚さ(ステップ数)をT
とすると、 Sn1 −Sn2 =(S+α) − (S−T+α)=T を演算することにより、伝票1aの厚さをステップ数で求
めることができる。
Therefore, the thickness (the number of steps) of the slip 1a is represented by T
Then, by calculating Sn1−Sn2 = (S + α) − (ST + α) = T, the thickness of the slip 1a can be obtained by the number of steps.

【0021】ステップ数をカム10a,10b の回転による保
持部材11の移動量に換算して、厚さ寸法或いは枚数単位
の1P、1.5P、2P、…とすることができる。このようにし
て、伝票1aの厚さを測定することができるので、伝票1a
を行送りする毎に測定して印字行毎の厚さデータが測定
される。
The number of steps is converted into the amount of movement of the holding member 11 due to the rotation of the cams 10a and 10b, and can be 1P, 1.5P, 2P,... In this manner, the thickness of the slip 1a can be measured.
Is measured each time the line is fed, and the thickness data for each print line is measured.

【0022】また、伝票1aに対する間隙調整方法は、ヘ
ッドマスク50と伝票1aの接触が検出されたプラテン4aの
位置から、伝票1aとヘッドマスク50の間の予め設定され
た印字ギャップgに上記αを加えたステップ数(=g+
α)だけ、モータM3の逆方向回転によってカム10a,10b
の回転を戻して調整することができる。
The method of adjusting the gap for the slip 1a is as follows. From the position of the platen 4a where the contact between the head mask 50 and the slip 1a is detected, a predetermined printing gap g between the slip 1a and the head mask 50 (= G +
α), the cams 10a, 10b
You can adjust the rotation back.

【0023】伝票1aはヘッドマスク50の間の適正な印字
ギャップgを保持して印字動作を行うためには、改行方
向に段差を有する伝票1aの厚さを、厚さ測定/間隙調整
機構9aによって印字行毎に測定して、伝票1aの厚さが変
化する度に、制御部の制御によりプラテン4aとヘッドマ
スク50の間隙の調整動作を行って印字を行う。しかし、
この方法では印字速度が著しく低下する。
In order to perform the printing operation while maintaining an appropriate print gap g between the head masks 50, the slip 1a measures the thickness of the slip 1a having a step in the line feed direction by using the thickness measuring / gap adjusting mechanism 9a. Each time the thickness of the voucher 1a changes, the control unit controls the gap between the platen 4a and the head mask 50 to perform printing. But,
In this method, the printing speed is significantly reduced.

【0024】これに対して、「厚さが均一」な伝票1a、
或いは「段差を有する」伝票1aについて、予め伝票1aの
印字行毎の厚さを測定し、そのデータをメモリに記憶し
ておいて、印字に際してはその記憶データを使ってプラ
テン4aとヘッドマスク50の間隙を調整することにより、
印字速度の低下を防ぐ方法が行われている。
On the other hand, a slip 1a having "uniform thickness"
Alternatively, for the slip 1a having a "step", the thickness of each slip of the slip 1a is measured in advance, and the data is stored in a memory, and when printing, the stored data is used for the platen 4a and the head mask 50a. By adjusting the gap between
Methods for preventing a decrease in printing speed have been implemented.

【0025】[0025]

【発明が解決しようとする課題】上記従来方法による
と、図19(a) に示すような「厚さが均一」な伝票の時
に、伝票の行単位で厚さを測定した測定値に、(b) に示
すように、ばらつきが生じる場合がある。
According to the above-mentioned conventional method, when a slip having a "uniform thickness" as shown in FIG. As shown in b), variations may occur.

【0026】この場合には、制御部は伝票の段差による
厚さ変化と認識し、厚さ変化毎にプラテンとヘッドマス
クの間隙の調整動作を行うことになるため、「厚さが均
一」な伝票であるにも係わらず、印字速度が極端に低下
するという問題点がある。
In this case, the control unit recognizes the change in thickness due to the step of the slip and adjusts the gap between the platen and the head mask every time the thickness changes. There is a problem that the printing speed is extremely reduced in spite of the slip.

【0027】伝票の「厚さが均一」であるのに、測定値
にばらつきが生じるのは、測定時にプラテンの面が必ず
しも平坦でないため、プラテンに押し付けられる伝票の
押圧力が行位置によって変化することと、センサの検出
精度によって誤差を生じるためである。
The reason why the measured values vary even though the slip is "uniform in thickness" is that the platen surface is not always flat at the time of measurement, so the pressing force of the slip pressed against the platen changes depending on the row position. And an error is caused by the detection accuracy of the sensor.

【0028】本発明は、厚さが均一な印字媒体の場合
に、印字速度を高めることができる印字間隙制御方法及
びプリンタを提供することを目的としている。
An object of the present invention is to provide a printing gap control method and a printer capable of increasing the printing speed in the case of a printing medium having a uniform thickness.

【0029】[0029]

【課題を解決するための手段】図1〜図4は本発明の原
理説明図で、図1は請求項1に対応し、図2は請求項2
に対応し、図3は請求項5に対応し、図4は請求項6に
対応している。
FIGS. 1 to 4 are explanatory diagrams of the principle of the present invention. FIG. 1 corresponds to claim 1, and FIG.
3 corresponds to claim 5 , and FIG. 4 corresponds to claim 6.
Yes, it is.

【0030】図1において、1は印字媒体、4はプラテ
ン、5はプラテン4に間隙を介して対向して平行に移動
する印字ヘッド、10はプラテン4及び印字ヘッド5の間
隙にセットされた改行方向に段差を有する印字媒体1、
或いは厚さが均一な印字媒体1の厚さに応じてプラテン
4及び印字ヘッド5の間隙を調整する間隙調整手段であ
る。
In FIG. 1, 1 is a print medium, 4 is a platen, 5 is a print head which moves in parallel with the platen 4 with a gap therebetween, and 10 is a line feed set in the gap between the platen 4 and the print head 5. Printing medium 1 having a step in the direction,
Alternatively, it is a gap adjusting means for adjusting the gap between the platen 4 and the print head 5 according to the thickness of the print medium 1 having a uniform thickness.

【0031】間隙調整手段10により調整された間隙で印
字ヘッド5によって印字媒体1に印字を行うプリンタの
印字間隙制御方法であって、測定手段9による印字媒体
1の印字行毎の厚さを測定した測定値と、入力手段17に
よる印字媒体1が改行方向に段差を有するか、均一な厚
さであるかのいずれかの入力とに基づいて、入力された
印字媒体1が段差を有する場合は、測定された印字行毎
の厚さ測定値を記憶手段162 に記憶し、入力された印字
媒体1の厚さが均一である場合で、印字行毎に測定され
た厚さが等しい測定値であれば、測定値を記憶手段162
に記憶し、入力された印字媒体1の厚さが均一であるの
に、測定された印字媒体1の印字行毎の厚さの測定値が
ばらついていたときは、複数の測定値の分布の代表値を
記憶手段162 に記憶して、記憶手段162 に記憶された印
字媒体1の厚さに応じてプラテン4及び印字ヘッド5の
間隙を調整するように構成されている。
A printing gap control method for a printer for printing on the printing medium 1 by the printing head 5 with the gap adjusted by the gap adjusting means 10, wherein the thickness of each printing line of the printing medium 1 is measured by the measuring means 9. If the input print medium 1 has a step based on the measured value obtained and the input of whether the print medium 1 has a step in the line feed direction or has a uniform thickness by the input means 17, Then, the measured thickness value for each print line is stored in the storage means 162, and when the thickness of the input print medium 1 is uniform, the measured thickness value for each print line is equal. If present, storage means 162
When the measured values of the thickness of each print line of the print medium 1 vary even though the thickness of the input print medium 1 is uniform, the distribution of the plurality of measured values is The representative value is stored in the storage means 162, and the gap between the platen 4 and the print head 5 is adjusted according to the thickness of the print medium 1 stored in the storage means 162.

【0032】従って、印字媒体1の厚さが均一であると
きに、厚さ測定値にばらつきがあっても、複数の測定値
中の代表値を用いて一度だけ間隙を調整すればよいの
で、印字速度を高めることができる。
Therefore, when the thickness of the print medium 1 is uniform, even if there are variations in the measured thickness, the gap only needs to be adjusted once using the representative value of the plurality of measured values. Printing speed can be increased.

【0033】図2において、1は印字媒体、4はプラテ
ン、5はプラテン1に間隙を介して対向して平行に移動
する印字ヘッド、10はプラテン4及び印字ヘッド5の間
隙にセットされた改行方向に段差を有する印字媒体1、
或いは厚さが均一な印字媒体1の厚さに応じてプラテン
4及び印字ヘッド5の間隙を調整する間隙調整手段であ
る。
In FIG. 2, 1 is a print medium, 4 is a platen, 5 is a print head that moves in parallel with the platen 1 with a gap therebetween, and 10 is a line feed set in the gap between the platen 4 and the print head 5. Printing medium 1 having a step in the direction,
Alternatively, it is a gap adjusting means for adjusting the gap between the platen 4 and the print head 5 according to the thickness of the print medium 1 having a uniform thickness.

【0034】間隙調整手段10により調整された間隙で印
字ヘッド5によって印字媒体1に印字を行うプリンタの
印字間隙制御方法であって、測定手段9による印字媒体
1の印字行毎の厚さを測定した測定値と、入力手段17に
よる印字媒体1が改行方向に段差を有するか、均一な厚
さであるかのいずれかの入力とに基づいて、入力された
印字媒体1が段差を有する場合は、測定された印字行毎
の厚さ測定値を記憶手段162 に記憶し、入力された印字
媒体1の厚さが均一である場合で、印字行毎に測定され
た厚さが等しい測定値であれば、測定値を記憶手段162
に記憶し、入力された印字媒体1の厚さが均一であるの
に、測定された印字媒体1の印字行毎の厚さ測定値がば
らついていたときは、報知手段17A により印字媒体1の
厚さの入力を促し、入力手段17によって入力された印字
媒体1の厚さを記憶手段162 に記憶して、記憶手段162
に記憶された印字媒体1の厚さに応じてプラテン4及び
印字ヘッド5の間隙を調整するように構成されている。
A printing gap control method for a printer for printing on the printing medium 1 by the printing head 5 with the gap adjusted by the gap adjusting means 10, wherein the thickness of each printing line of the printing medium 1 is measured by the measuring means 9. If the input print medium 1 has a step based on the measured value obtained and the input of whether the print medium 1 has a step in the line feed direction or has a uniform thickness by the input means 17, Then, the measured thickness value for each print line is stored in the storage means 162, and when the thickness of the input print medium 1 is uniform, the measured thickness value for each print line is equal. If present, storage means 162
If the measured thickness of the print medium 1 varies for each print line even though the input thickness of the print medium 1 is uniform, the notifying means 17A outputs The input of the thickness is prompted, and the thickness of the print medium 1 input by the input unit 17 is stored in the storage unit 162.
The gap between the platen 4 and the print head 5 is adjusted according to the thickness of the print medium 1 stored in the print medium 1.

【0035】従って、印字媒体1の厚さが均一であると
きに、厚さ測定値にばらつきがあっても、印字媒体1の
均一な厚さを入力することにより、一度だけ間隙を調整
すればよいので、印字速度を高めることができる。
Therefore, when the thickness of the print medium 1 is uniform, even if the measured thickness varies, it is possible to adjust the gap only once by inputting the uniform thickness of the print medium 1. Since it is good, the printing speed can be increased.

【0036】[0036]

【0037】[0037]

【0038】[0038]

【0039】図3において、1は印字媒体、4はプラテ
ン、5はプラテン4に間隙を介して対向して平行に移動
する印字ヘッド、10はプラテン4及び印字ヘッド5の間
隙にセットされた改行方向に段差を有する印字媒体1、
或いは厚さが均一な印字媒体1の厚さに応じてプラテン
4及び印字ヘッド5の間隙を調整する間隙調整手段、9
は印字媒体1の印字行毎の厚さを測定する測定手段、17
は印字媒体1が改行方向に段差を有するか、均一な厚さ
であるかのいずれかを入力する入力手段、162 は入力手
段17によって入力された印字媒体1の段差により異なる
厚さ、或いは厚さが均一な印字媒体1の厚さが記憶され
る記憶手段、154 は入力手段17によって入力された印字
媒体1が段差を有する場合は、測定手段9によって測定
された印字行毎の厚さ測定値を記憶手段162 に記憶し、
入力された印字媒体1の厚さが均一である場合で、測定
された印字行毎の厚さが等しい測定値であれば、測定し
た測定値を記憶手段162 に記憶し、入力された印字媒体
1の厚さが均一であるのに、測定された印字行毎の厚さ
の測定値がばらついていたときは、複数の測定値の分布
の代表値を記憶手段162 に記憶するように制御する測定
値制御手段である。
In FIG . 3 , 1 is a print medium, 4 is a platen, 5 is a print head that moves in parallel with the platen 4 with a gap therebetween, and 10 is a line feed set in the gap between the platen 4 and the print head 5. Printing medium 1 having a step in the direction,
Or gap adjusting means for adjusting the gap between the platen 4 and the print head 5 according to the thickness of the print medium 1 having a uniform thickness;
Measuring means for measuring the thickness of each print line of the print medium 1;
Is input means for inputting whether the print medium 1 has a step in the line feed direction or has a uniform thickness, and 162 is a thickness or thickness different depending on the step of the print medium 1 input by the input means 17. A storage unit 154 for storing the thickness of the print medium 1 having a uniform thickness, and a thickness measurement unit 154 for each print line measured by the measurement unit 9 when the print medium 1 input by the input unit 17 has a step. The value is stored in the storage means 162,
If the thickness of the input print medium 1 is uniform and the measured values are the same for each print line, the measured values are stored in the storage means 162, and the input print medium is stored. If the measured value of the thickness of each printed line varies even though the thickness of the first line is uniform, control is performed so that a representative value of a distribution of a plurality of measured values is stored in the storage unit 162. It is a measurement value control means.

【0040】間隙調整手段10により調整された間隙で印
字ヘッド5によって印字媒体1に印字を行うプリンタで
あって、記憶手段162 に記憶された印字媒体1の厚さに
応じてプラテン4及び印字ヘッド5の間隙を調整して印
字するように構成されている。
A printer for printing on the print medium 1 by the print head 5 at the gap adjusted by the gap adjusting means 10, wherein the platen 4 and the print head 4 are printed in accordance with the thickness of the print medium 1 stored in the storage means 162. The printing is performed by adjusting the gap of No. 5.

【0041】従って、印字媒体1の厚さが均一であると
きに、厚さ測定値にばらつきがあっても、複数の測定値
の分布の代表値を用いて一度だけ間隙を調整すればよい
ので、印字速度を高めることができる。
Therefore, when the thickness of the print medium 1 is uniform, even if there are variations in the measured thickness values, the gap only needs to be adjusted once using the representative value of the distribution of the plurality of measured values. And the printing speed can be increased.

【0042】請求項3、請求項7:代表値は、複数の測
定値の分布の最頻値、中央値或いは平均値である。請求項4、請求項8 :代表値は、測定値のばらつきが予
め設定された許容値の範囲内にある条件で、予め指定し
た印字行位置の測定値とする。
Claim 3, Claim 7 : The representative value is the mode, median or average of the distribution of a plurality of measured values. Claim 4 and Claim 8 : The representative value is a measured value of a print line position designated in advance under a condition that the variation of the measured value is within a range of a preset allowable value.

【0043】図4において、1は印字媒体、4はプラテ
ン、5はプラテン4に間隙を介して対向して平行に移動
する印字ヘッド、10はプラテン4及び印字ヘッド5の間
隙にセットされた改行方向に段差を有する印字媒体1、
或いは厚さが均一な印字媒体1の厚さに応じてプラテン
4及び印字ヘッド5の間隙を調整する間隙調整手段、9
は印字媒体1の印字行毎の厚さを測定する測定手段、17
は印字媒体1が改行方向に段差を有するか、均一な厚さ
であるかのいずれか、及び印字媒体1の厚さを入力する
入力手段、17A は入力手段17によって入力された印字媒
体1の厚さが均一であるのに、測定値にばらつきがある
ときに、報知して印字媒体1の厚さの入力を促す報知手
段、162 は入力手段17によって入力された印字媒体1の
段差により異なる厚さ、或いは厚さが均一な印字媒体1
の厚さが記憶される記憶手段、154Aは入力手段17によっ
て入力された印字媒体1の段差を有する場合は、測定手
段9によって測定された印字行毎の厚さ測定値を記憶手
段162 に記憶し、入力された印字媒体1の厚さが均一で
ある場合で、測定された印字媒体1の印字行毎の厚さが
等しい測定値であれば、測定値を記憶手段162 に記憶
し、入力された印字媒体1の厚さが均一であるのに、測
定された印字媒体1の印字行毎の厚さ測定値がばらつい
ていたときは、報知手段17A による報知に基づいて入力
手段17によって入力された印字媒体1の厚さを記憶手段
162 に記憶する測定値/厚さ制御手段である。
In FIG . 4 , 1 is a printing medium, 4 is a platen, 5 is a printing head that moves in parallel with the platen 4 with a gap therebetween, and 10 is a line feed set in the gap between the platen 4 and the printing head 5. Printing medium 1 having a step in the direction,
Or gap adjusting means for adjusting the gap between the platen 4 and the print head 5 according to the thickness of the print medium 1 having a uniform thickness;
Measuring means for measuring the thickness of each print line of the print medium 1;
Is input means for inputting whether the print medium 1 has a step in the line feed direction or has a uniform thickness, and inputting the thickness of the print medium 1, and 17 A is the input means of the print medium 1 input by the input means 17. Informing means for notifying when the measured values vary even though the thickness is uniform and prompting the input of the thickness of the print medium 1, and the notification means 162 varies depending on the step of the print medium 1 input by the input means 17. Printing medium 1 of uniform thickness or thickness
Means 154A stores the thickness measurement value of each print line measured by the measuring means 9 in the storage means 162 when the step of the printing medium 1 inputted by the input means 17 is provided. If the input print medium 1 has a uniform thickness, and if the measured print medium 1 has the same thickness for each print line, the measured value is stored in the storage unit 162, and the input value is stored. If the measured thickness of each print line of the print medium 1 varies even though the measured thickness of the print medium 1 is uniform, the input is performed by the input unit 17 based on the notification by the notification unit 17A. Storage means for storing the thickness of the printed printing medium 1
162 is a measured value / thickness control means.

【0044】間隙調整手段10により調整された間隙で印
字ヘッド5によって印字媒体1に印字を行うプリンタで
あって、記憶手段162 に記憶された印字媒体1の厚さに
応じてプラテン4及び印字ヘッド5の間隙を調整して印
字するように構成されている。
A printer for printing on the print medium 1 by the print head 5 at the gap adjusted by the gap adjusting means 10, wherein the platen 4 and the print head 4 are printed in accordance with the thickness of the print medium 1 stored in the storage means 162. The printing is performed by adjusting the gap of No. 5.

【0045】従って、印字媒体1の厚さが均一であると
きに、厚さ測定値にばらつきがあっても、印字媒体1の
均一な厚さを入力することにより、一度だけ間隙を調整
すればよいので、印字速度を高めることができる。
Therefore, when the thickness of the print medium 1 is uniform, even if the thickness measurement values fluctuate, the gap can be adjusted only once by inputting the uniform thickness of the print medium 1. Since it is good, the printing speed can be increased.

【0046】[0046]

【0047】[0047]

【0048】[0048]

【0049】[0049]

【発明の実施の形態】以下、従来例で説明した伝票プリ
ンタに、本発明の実施例1〜実施例4を図5〜図14
参照して説明する。全図を通じて同一符号は同一対象物
を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the slip printers described in the conventional example will be described Examples 1 to 4 of the present invention with reference to FIGS. 5 to 14. The same reference numerals indicate the same objects throughout the drawings.

【0050】1)実施例1図5〜図7 により実施例1を説明する。図5は実施例1
を示すブロック図、図6は実施例1の説明図、図7は実
施例1のフローチャートである。
[0050] 1) Example 1 5-7 Example 1 will be described. FIG. 5 shows the first embodiment .
FIG . 6 is an explanatory diagram of the first embodiment, and FIG. 7 is a flowchart of the first embodiment.

【0051】図5において、14はCPU、15はROM、
16はRAM、17aは表示操作部、18〜21は駆動回路、22
はセンサアンプを示す。CPU14は、ROM15に格納さ
れた制御プログラムに基づいて、各部を制御する。RO
M15は、印字制御部150 、媒体移送制御部151 、媒体状
態登録制御部152 、媒体厚さ測定制御部153 、測定値制
御部154a、間隙調整部155 及び表示画面制御部156 のプ
ログラムと、設定部157 及び表示画面記憶部158 を備え
ている。
In FIG . 5 , 14 is a CPU, 15 is a ROM,
16 is a RAM, 17a is a display operation unit, 18 to 21 are drive circuits, 22
Indicates a sensor amplifier. The CPU 14 controls each unit based on a control program stored in the ROM 15. RO
M15 is a program of the print control unit 150, the medium transfer control unit 151, the medium state registration control unit 152, the medium thickness measurement control unit 153, the measurement value control unit 154a, the gap adjustment unit 155, and the display screen control unit 156. And a display screen storage unit 158.

【0052】印字制御部150 は、印字情報に基づいて、
印字ヘッド5aによる印字動作 (印字ヘッド5aのドット印
字動作、及び印字ヘッド5aのスペース動作) を制御す
る。媒体移送制御部151 は、伝票1aの行単位の移送を制
御する。
[0052] The print control unit 150 is based on the print information.
The print operation by the print head 5a (the dot print operation of the print head 5a and the space operation of the print head 5a) is controlled. The medium transfer control unit 151 controls the transfer of the slip 1a on a line-by-line basis.

【0053】媒体状態登録制御部152 は、登録表示画面
が表示された表示操作部17aからの媒体状態登録モード
指示によって起動し、表示操作部17aから入力された伝
票1aの媒体状態、即ち、「厚さが均一」であるか、「段
差がある」かのいずれか、及び伝票1aのページ長、改行
ピッチ等をRAM16の登録部160 に記憶するように制御
する。
The medium state registration control unit 152 is activated by the medium state registration mode instruction from the display operation unit 17a on which the registration display screen is displayed, and the medium state of the slip 1a input from the display operation unit 17a, ie, “ Either the thickness is “uniform” or “there is a step”, and the page length and line feed pitch of the slip 1a are controlled to be stored in the registration unit 160 of the RAM 16.

【0054】媒体厚さ測定制御部153 は、表示操作部17
aから媒体状態が入力されて、図示していない入力完了
キーが押されると起動し、プリンタ部3にセットされた
伝票1aを、媒体移送制御部151 に指令して改行方向に移
動させて、厚さ測定/間隙調整機構9aを駆動させて、モ
ータM3のステップ数をカウンタ161 にカウントして行毎
の厚さを測定させる。即ち、カウンタ161 のステップ数
から従来例で説明した方法によって伝票1aの印字行毎の
厚さを求める。
The medium thickness measurement control unit 153 includes a display operation unit 17
When the input of the medium state is input from a and a not-shown input completion key is pressed, the operation is started, and the slip 1a set in the printer unit 3 is instructed to the medium transfer control unit 151 to be moved in the line feed direction. By driving the thickness measuring / gap adjusting mechanism 9a, the number of steps of the motor M3 is counted by the counter 161 to measure the thickness of each row. That is, from the number of steps of the counter 161, the thickness of each print line of the slip 1a is obtained by the method described in the conventional example.

【0055】測定値制御部154aは、図示していない演算
部を備え、媒体厚さ測定制御部153の制御により、厚さ
測定/間隙調整機構9aによって測定された厚さ測定値を
次の(1) 〜(3) のように制御する。
The measured value control unit 154a includes an arithmetic unit (not shown), and under the control of the medium thickness measurement control unit 153, converts the thickness measured value measured by the thickness measurement / gap adjusting mechanism 9a into the following ( 1) Control as shown in (3).

【0056】(1) 登録部160 に登録された「伝票1aに段
差がある」ときには、印字行毎の複数の厚さ測定値T
と、設定部157 に記憶されたギャップgと、従来例で説
明したプラテン4aの原点とヘッドマスク50の距離Sとか
ら、印字行毎のS−T−gを演算した調整値Sn3(プラテ
ン4aを原点から調整値Sn3 だけ移動させると、ギャップ
gが設定される。) をRAM16の調整値記憶部162aに記
憶する。
(1) When “the slip 1a has a step” registered in the registration unit 160, a plurality of thickness measurement values T
From the gap g stored in the setting unit 157 and the distance S between the origin of the platen 4a and the head mask 50 described in the conventional example, an adjustment value Sn3 (platen 4a Is moved from the origin by the adjustment value Sn3, the gap g is set.) Is stored in the adjustment value storage unit 162a of the RAM 16.

【0057】(2) 登録部160 に登録された伝票1aの「厚
さが均一」であって、測定された印字行毎の複数の厚さ
測定値が均一ならば、その測定値Tと、ギャップgと、
距離Sとから、S−T−gを演算した調整値Sn3 を調整
値記憶部162aに記憶する。
(2) If the thickness of the slip 1a registered in the registration unit 160 is “uniform” and a plurality of measured thicknesses for each printed line are uniform, the measured value T and Gap g,
The adjustment value Sn3 obtained by calculating STg from the distance S is stored in the adjustment value storage unit 162a.

【0058】(3) 登録部160 に登録された伝票1aの「厚
さが均一」であるが、図6(a) に示すように、測定され
た印字行毎の複数の厚さ測定値にばらつきがあるとき
は、(b) に示すように、複数の測定値中の一番多い厚さ
測定値Tを選択(その方法は測定値を複数の閾値と比較
して1P、1.5P、2P、2.5P、…の厚さ値に変換し、同じ厚
さ値の数を調べて最多のもの、即ち、測定値の最頻値を
選択する。) して、その測定値Tと、ギャップgと、距
離Sとから、S−T−gを演算した調整値Sn3 を伝票1a
の均一厚さの調整値として調整値記憶部162aに記憶す
る。
(3) The slip 1a registered in the registration section 160 is “uniform in thickness” . However, as shown in FIG. If there is a variation, select the largest thickness measurement value T among the multiple measurement values as shown in (b) (The method is to compare the measurement value with multiple threshold values, and calculate 1P, 1.5P, 2P , 2.5P,..., The number of the same thickness values is checked, and the largest one, that is, the mode of the measured value is selected.) And an adjustment value Sn3 obtained by calculating STg from the distance S and the slip 1a.
Is stored in the adjustment value storage unit 162a as the adjustment value of the uniform thickness of the image.

【0059】また、媒体状態登録モード指示が解除され
て、伝票1aに印字するときには、行毎の測定値或いは均
一値を調整値記憶部162aから読み出す。間隙調整部155
は、図示していない演算部を備え、伝票1aの最初の印字
行は、調整値記憶部162aに記憶された該当行の厚さを読
み出して、厚さ測定/間隙調整機構9aを制御して、プラ
テン4aの原点から、調整値記憶部162aに記憶された最初
の行の調整値Sn3 だけプラテン4aを前進させる。次の行
以降は、 (原点に戻さずに) 調整値記憶部162aに記憶さ
れた次の行の調整値Sn3 から印字した行の調整値Sn3 を
差し引いて、その値 (即ち、段差分) のステップ数だけ
プラテン4aを前進或いは後退 (差が+のときは前進、−
のときは後退) させる。
When printing on the slip 1a after the medium state registration mode instruction is released, the measured value or the uniform value for each line is read from the adjustment value storage unit 162a. Gap adjuster 155
Has a calculation unit (not shown), and reads the thickness of the corresponding line stored in the adjustment value storage unit 162a for the first print line of the slip 1a, and controls the thickness measurement / gap adjustment mechanism 9a. The platen 4a is advanced from the origin of the platen 4a by the adjustment value Sn3 of the first row stored in the adjustment value storage unit 162a. From the next line onward, (without returning to the origin) the adjustment value Sn3 of the printed line is subtracted from the adjustment value Sn3 of the next line stored in the adjustment value storage unit 162a, and the value (that is, the step difference) is calculated. Move the platen 4a forward or backward by the number of steps (If the difference is +, move forward,-
If it is, retreat).

【0060】表示画面制御部156 は、表示画面記憶部16
4 に記憶された表示画面を表示操作部17aに表示する。
設定部157 は、プラテン4a上の伝票1aとヘッドマスク50
のギャップg(印字に最適なギャップ)及びプラテン4a
の原点からヘッドマスク50までの距離Sが設定されてい
る。
The display screen control unit 156 includes the display screen storage unit 16
4 is displayed on the display operation unit 17a.
The setting unit 157 includes the slip 1a on the platen 4a and the head mask 50.
Gap g (optimal gap for printing) and platen 4a
The distance S from the origin to the head mask 50 is set.

【0061】表示画面記憶部158 は、印字動作に必要な
条件 (例えば、印字枚数等) の指定画面、伝票1aの状態
を登録する登録モードを指示する指示画面の初期表示画
面、登録モードにおける「厚さが均一」であるか「段差
がある」かの入力、ページ長さや改行ピッチ等を入力す
る登録表示画面等を記憶している。
The display screen storage unit 158 includes a screen for designating conditions necessary for the printing operation (for example, the number of prints), an initial display screen for an instruction screen for instructing a registration mode for registering the state of the slip 1a, and a “ A registration display screen or the like for inputting whether the thickness is “uniform” or “there is a step”, and inputting a page length, a line feed pitch, and the like is stored.

【0062】RAM16は、登録部160 、カウンタ161 及
び調整値記憶部162aを有する。登録部160 は、媒体状態
登録制御部152 の制御により、表示操作部17aから入力
された「厚さが均一である」か、「段差がある」かを記
憶すると共に、伝票1aのページ長及び改行ピッチ等を記
憶する。
The RAM 16 has a registration section 160, a counter 161 and an adjustment value storage section 162a. Under the control of the medium state registration control unit 152, the registration unit 160 stores whether “the thickness is uniform” or “there is a step” input from the display operation unit 17a, and also stores the page length and the page length of the slip 1a. The line feed pitch and the like are stored.

【0063】カウンタ161 は、媒体厚さ測定制御部153
の制御による厚さ測定時に、プラテン4aが前進してセン
サ11の出力信号がでるまでのモータM3のステップ数Sn1,
Sn2をカウントする。また、間隙調整部155 の制御によ
る間隙調整時に、最初の行でプラテン4aが原点からギャ
ップgが設定される位置まで前進する調整値Sn3 、次の
行からはプラテン4aが前進/後退するステップ数(印字
した行と次の行の段差分)をカウントする。
The counter 161 includes a medium thickness measurement control unit 153
When the thickness is measured by the control, the number of steps Sn1 of the motor M3 until the platen 4a advances and the output signal of the sensor 11 is output.
Count Sn2. When the gap is controlled by the gap adjusting unit 155, the platen 4a moves forward from the origin to the position where the gap g is set in the first row. The adjustment value Sn3, and the number of steps in which the platen 4a moves forward / backward from the next row. (Step difference between the printed line and the next line) is counted.

【0064】調整値記憶部162aは、測定値制御部154aで
演算されて送られた調整値Sn3 を記憶する。即ち、伝票
1aに「段差がある」場合には、印字行毎の調整値Sn3 、
「厚さが均一」の場合には、1つの調整値Sn3 が記憶さ
れる。
The adjustment value storage unit 162a stores the adjustment value Sn3 calculated and sent by the measurement value control unit 154a. That is, slip
If there is a "step" in 1a, the adjustment value Sn3 for each print line,
In the case of "uniform thickness", one adjustment value Sn3 is stored.

【0065】表示操作部17aは、CRT170 の前面にタ
ッチパネル171 が装着され、表示画面記憶部158 に記憶
された表示画面が表示され、タッチ動作により入力され
る。このような構成及び機能を有するので、次に図7
フローチャートにより作用を説明する。
The display operation section 17a has a touch panel 171 mounted on the front of the CRT 170, displays the display screen stored in the display screen storage section 158, and is input by a touch operation. Having such a configuration and function, the operation will be described next with reference to the flowchart of FIG .

【0066】まず、印字開始に先立って、表示操作部
17aの初期表示画面により登録モードを指定し、伝票1a
の状態、即ち、指示に基づいて表示される選択メニュー
から伝票1aの「厚さが均一」であるか「段差がある」か
のいずれかを選択し、続いて表示される入力画面により
ページ長さ、改行ピッチ等を入力する。
First, before starting printing, the display operation unit
Specify the registration mode on the initial display screen of 17a, and
State, that is, either "uniform thickness" or "stepped" of the slip 1a is selected from a selection menu displayed based on the instruction, and the page length is displayed by the input screen displayed subsequently. Then, input a line feed pitch and the like.

【0067】入力完了で完了キーをタッチすると、入
力した伝票1aの状態を登録部160 に記憶すると共に、媒
体厚さ測定制御部153 が起動する。 すると、モータM3の駆動で伝票1aをプラテン4aと印字
マスク50の間に移送し、印字行毎の厚さを測定する。
When the completion key is touched upon completion of the input, the state of the input slip 1a is stored in the registration section 160, and the medium thickness measurement control section 153 is activated. Then, the slip 1a is transferred between the platen 4a and the print mask 50 by driving the motor M3, and the thickness of each print line is measured.

【0068】測定値制御部154aの制御により、登録部
160 に「段差がある」と記憶されているときには、測定
された印字行毎の複数の厚さ測定値から調整値Sn3 を演
算して調整値記憶部162aに記憶する。
The registration unit is controlled by the measurement value control unit 154a.
If the value "160" is stored in "160", an adjustment value Sn3 is calculated from a plurality of measured thickness values for each of the printed lines and stored in the adjustment value storage unit 162a.

【0069】また、登録部160 に「厚さが均一」であ
ると記憶されており、測定された印字行毎の複数の厚さ
測定値が均一ならば、その測定値から調整値Sn3 を演算
して調整値記憶部162aに記憶する。
The registration unit 160 stores "uniform thickness". If a plurality of measured thickness values for each print line are uniform, an adjustment value Sn3 is calculated from the measured values. Then, it is stored in the adjustment value storage unit 162a.

【0070】もし、登録部160 に「厚さが均一」ある
と記憶されているが、測定された印字行毎の複数の厚さ
測定値にばらつきがあるときは、複数の測定値中の一番
多い厚さ測定値を伝票1aの均一厚さとして、その測定値
から調整値Sn3 を演算して調整値記憶部162aに記憶す
る。
If the registration unit 160 stores "thickness is uniform", but there are variations in a plurality of measured thickness values for each print line, one of the The most measured thickness value is regarded as the uniform thickness of the slip 1a, and the adjustment value Sn3 is calculated from the measured value and stored in the adjustment value storage unit 162a.

【0071】そこで、表示画面の登録モード解除キー
をタッチして登録モード指示を解除し、印字スタートキ
ーを指示すると、間隙調整部155 が起動して調整値記憶
部162aから調整値Sn3 を読み出す。
Therefore, when the registration mode release key is touched on the display screen to release the registration mode instruction and the print start key is instructed, the gap adjustment unit 155 is activated to read the adjustment value Sn3 from the adjustment value storage unit 162a.

【0072】読み出した値に基づいて、モータM3を駆
動してプラテン4aを原点から調整値Sn3 だけ前進させた
位置で停止し、最初の行の印字を行う。 伝票1aが次の行以降は、調整値記憶部162aの印字した
行の調整値Sn3 を次の行の調整値Sn3 から差し引いたス
テップ数だけプラテン4aを前進或いは後退させる。従っ
て、厚さが均一な場合は調整の必要がない。
Based on the read value, the motor M3 is driven to stop the platen 4a at a position advanced from the origin by the adjustment value Sn3, and the first line is printed. After the next line of the slip 1a, the platen 4a is moved forward or backward by the number of steps obtained by subtracting the adjustment value Sn3 of the line printed in the adjustment value storage unit 162a from the adjustment value Sn3 of the next line. Therefore, when the thickness is uniform, there is no need for adjustment.

【0073】このようにして、伝票1aの「厚さが均一」
である場合に、厚さ測定値にばらつきがあっても、その
測定値の最頻値で代表させて、一つの調整値だけを記憶
して均一厚さとして、行毎の間隙調整をしないで印字を
することができる。
As described above, the “thickness is uniform” of the slip 1a
In the case of, even if there is a variation in the thickness measurement value, only one adjustment value is stored as a uniform thickness by representing the mode value of the measurement value, and the gap adjustment for each row is not performed. Printing can be done.

【0074】2)実施例2図8〜図10 により実施例2を説明する。図8は実施例
2を示すブロック図、図9は実施例2の説明図、図10
は実施例2のフローチャートである。
[0074] 2) Example 2 8-10 a second embodiment will be described. 8 is a block diagram showing a second embodiment, FIG. 9 is an explanatory diagram of the second embodiment, and FIG.
9 is a flowchart of the second embodiment.

【0075】実施例2が実施例1と異なるのは、伝票1a
の「厚さが均一」であるのに、厚さの測定値にばらつき
がある場合に、一番多い測定値を選択した方法に代え
て、ばらつきが予め設定された許容値の範囲内であるな
らば、伝票1aの予め指定された位置の測定値を選んで、
均一な伝票1aの厚さとしたことである。
The second embodiment is different from the first embodiment in that the slip 1a
In the case where the thickness is uniform, but the measured values of thickness vary, the variation is within a range of a preset allowable value instead of the method of selecting the most measured value. Then, select the measurement value of the pre-designated position of the slip 1a,
That is, the slip 1a has a uniform thickness.

【0076】即ち、図8において、14aはCPU、15a
はROMを示す。CPU14aは、ROM15aに格納され
た制御プログラムに従って各部を制御する。ROM15a
は、実施例1で説明したROM15の測定値制御部154a及
び表示画面記憶部158 に代えて、測定値制御部154b及び
表示画面記憶部158aを有すると共に、更に許容ばらつき
設定部159 及び位置設定部23を備える。
That is, in FIG. 8 , 14a is a CPU, 15a
Indicates a ROM. The CPU 14a controls each unit according to a control program stored in the ROM 15a. ROM15a
Has a measurement value control unit 154b and a display screen storage unit 158a in place of the measurement value control unit 154a and the display screen storage unit 158 of the ROM 15 described in the first embodiment, and further has an allowable variation setting unit 159 and a position setting unit. 23.

【0077】測定値制御部154bは、媒体厚さ測定制御部
153 の制御により厚さ測定/間隙調整機構9aによって測
定した測定値を次の(1) 〜(3) のように制御する。 (1) 登録部160 に登録された伝票1aに「段差がある」と
き、及び(2) 登録部160 に登録された伝票1aの「厚さが
均一」であって測定された印字行毎の複数の厚さ測定値
が均一ならば、実施例1で説明した測定値制御部154aと
同様に制御する。
The measurement value control unit 154b is a medium thickness measurement control unit.
Under the control of 153, the measured value measured by the thickness measuring / gap adjusting mechanism 9a is controlled as in the following (1) to (3). (1) When the slip 1a registered in the registration unit 160 has a “step”, and (2) For each print line measured because the thickness of the slip 1a registered in the registration unit 160 is “uniform”. If a plurality of thickness measurement values are uniform, control is performed in the same manner as the measurement value control unit 154a described in the first embodiment.

【0078】(3) 登録部160 に登録された伝票1aの「厚
さが均一」であるが、測定された印字行毎の複数の厚さ
測定値にばらつきがあるときは、ばらつきが許容ばらつ
き設定部159 に設定された範囲内であるか、範囲を越え
ているかを判定する。
(3) When the thickness of the slip 1a registered in the registration unit 160 is “uniform”, but there are variations in a plurality of measured thickness values for each print line, the variation is an allowable variation. It is determined whether the value is within the range set in the setting unit 159 or exceeds the range.

【0079】その判定方法は、測定値を複数の閾値と比
較して、0.5P、1P、1.5P、2P、3P、…の厚さ値に変換
し、各値が許容ばらつき設定部159 に設定された許容範
囲内か或いは許容範囲を越えているかを判定し、もし、
許容範囲を越えていれば、ばらつきが大き過ぎる旨を表
示操作部17aに表示する。
In the determination method, the measured value is compared with a plurality of threshold values, converted into thickness values of 0.5P, 1P, 1.5P, 2P, 3P,..., And each value is set in the allowable variation setting unit 159. Judge whether it is within the allowable range or out of the allowable range,
If it exceeds the allowable range, the fact that the variation is too large is displayed on the display operation unit 17a.

【0080】例えば、図9(a) に示すように、伝票1aが
2Pの均一な厚さを有する場合に、(b) に示すように、2P
の伝票1aの測定値が1P〜3Pの範囲にばらついていたとす
ると、許容ばらつき設定部159 の設定値が1P〜3Pとすれ
ば、許容範囲内にあると判定する。
For example, as shown in FIG.
In the case of having a uniform thickness of 2P, as shown in (b), 2P
If the measured value of the slip 1a is in the range of 1P to 3P, if the set value of the allowable variation setting unit 159 is 1P to 3P, it is determined that the slip is within the allowable range.

【0081】ばらつきが許容範囲内にあれば、位置設定
部23に設定された行位置に対応する測定値Tを選んで、
その測定値Tと、ギャップgと、原点からヘッドマスク
50までの距離Sとから、S−T−gを演算して、調整値
Sn3 を均一厚さとして調整値記憶部162aに記憶する。
If the variation is within the allowable range, a measurement value T corresponding to the row position set in the position setting unit 23 is selected, and
From the measured value T, the gap g, and the origin, the head mask
Calculate STg from the distance S up to 50 and adjust the value
Sn3 is stored in the adjustment value storage unit 162a as a uniform thickness.

【0082】また、媒体状態登録モード指示が解除され
て、伝票1aに印字をするときに、実施例1の測定値制御
部154aと同様に調整値Sn3 を調整値記憶部162aから読み
出す。
When the medium state registration mode instruction is released and the slip 1a is printed, the adjustment value Sn3 is read from the adjustment value storage unit 162a in the same manner as the measurement value control unit 154a of the first embodiment.

【0083】表示画面記憶部158aは、実施例1で説明し
た表示画面記憶部158 の表示画面に加えて、厚さが均一
な伝票1aの測定値のばらつきが許容範囲を越えていたと
きに、その旨を表示する画面を格納している。
The display screen storage unit 158a has a function of displaying the display screen of the display screen storage unit 158 described in the first embodiment and, when the variation of the measured value of the slip 1a having a uniform thickness exceeds the allowable range. A screen for displaying that effect is stored.

【0084】許容ばらつき設定部159 は、均一な厚さの
伝票1aの印字行毎の厚さを測定した時の測定値のばらつ
きに対する、予め設定された許容範囲を格納している。
位置設定部23は、予め設定された印字行位置(例えば、
一番最初の行)が格納されている。
The permissible variation setting section 159 stores a preset permissible range for the variation in the measured value when the thickness of the slip 1a having a uniform thickness is measured for each print line.
The position setting unit 23 outputs a preset print line position (for example,
(The first row) is stored.

【0085】このような構成及び機能を有するので、次
図10のフローチャートにより作用を説明する。〜
及び〜は実施例1の図7と同様であるので、〜
を示す。
With the above configuration and function, the operation will now be described with reference to the flowchart of FIG . ~
Since and are the same as in FIG. 7 of the first embodiment,
Is shown.

【0086】測定値制御部154bの制御により、登録部
160 に「段差がある」と記憶されているときには、測定
された印字行毎の複数の厚さ測定値からギャップgを差
し引いた値をモータM3のステップ数に換算して調整値記
憶部162aに記憶する。
The registration unit is controlled by the measurement value control unit 154b.
When 160 stores `` there is a step '', the value obtained by subtracting the gap g from the plurality of measured thickness values of each measured print line is converted into the number of steps of the motor M3, and stored in the adjustment value storage unit 162a. Remember.

【0087】或いは、登録部160 に「厚さが均一」と
記憶されており、測定された印字行毎の複数の厚さ測定
値が均一ならば、その測定値Tと、ギャップgと、距離
Sとから、調整値Sn3 を演算して調整値記憶部162aに記
憶する。
Alternatively, if “thickness is uniform” is stored in the registration unit 160, and if a plurality of measured thickness values for each print line are uniform, the measured value T, the gap g, and the distance From S, the adjustment value Sn3 is calculated and stored in the adjustment value storage unit 162a.

【0088】もし、登録部160 に「厚さが均一」と記
憶されているが、測定された印字行毎の複数の厚さ測定
値にばらつきがあるときは、ばらつきが許容ばらつき設
定部157 に設定されたばらつき範囲内であれば、位置設
定部159 に設定された印字行、例えば、一番最初の行の
厚さ測定値を選んで、その測定値Tと、ギャップgと距
離Sとから調整値Sn3 を演算して、伝票1aの均一厚さと
して調整値記憶部162aに記憶する。
If “thickness is uniform” is stored in the registration unit 160, but there is a variation in a plurality of measured thickness values for each print line, the variation is stored in the allowable variation setting unit 157. If the variation is within the set variation range, the thickness measurement value of the print line set in the position setting unit 159, for example, the first line is selected, and the measurement value T, the gap g, and the distance S are determined. The adjustment value Sn3 is calculated and stored in the adjustment value storage unit 162a as the uniform thickness of the slip 1a.

【0089】もし、ばらつきが設定されたばらつき許容
範囲を越えていれば、ばらつきが大き過ぎる旨を表示操
作部17aに表示する。(このことは、再測定が必要であ
ることを示し、オペレータ操作により測定をやり直して
対処する。再測定でも同様にばらつきが大きければ、原
因排除の処置をとる。) このようにして、伝票1aの「厚さが均一」である場合
に、厚さ測定値にばらつきがあっても、そのばらつきが
許容範囲内にあれば、予め指定した行位置の測定値か
ら、一つの調整値だけを記憶して均一厚さとして行毎の
間隙調整をしないで印字をすることができる。
If the variation exceeds the set variation allowable range, a message indicating that the variation is too large is displayed on the display operation unit 17a. (This indicates that re-measurement is necessary, and measures are taken again by the operator's operation. If the re-measurement also has a large variation, take measures to eliminate the cause.) Thus, the slip 1a If “Thickness is uniform”, even if there is variation in the thickness measurement value, if the variation is within the allowable range, only one adjustment value is stored from the measurement value of the row position specified in advance. Thus, printing can be performed without adjusting the gap for each line as a uniform thickness.

【0090】3)実施例3図11 及び図12により実施例3を説明する。図11
実施例3を示すブロック図、図12は実施例3のフロー
チャートである。
[0090] 3) The third embodiment will be described by Examples 3 FIGS. FIG. 11 is a block diagram showing the third embodiment, and FIG. 12 is a flowchart of the third embodiment.

【0091】実施例3が実施例1及び実施例2と異なる
のは、伝票1aの「厚さが均一」であるのに、厚さの測定
値にばらつきがある場合に、オペレータの操作によって
均一厚さの伝票1aの厚さを入力する方法としたことであ
る。
The third embodiment is different from the first and second embodiments in that the slip 1a is “uniform in thickness”, but the measured values of the thickness are not uniform even when the thickness of the slip 1a varies. This is a method of inputting the thickness of the thickness slip 1a.

【0092】即ち、図11において、14bはCPU、15
bはROMを示す。CPU14bは、ROM15bに格納さ
れた制御プログラムに従って各部を制御する。ROM15
bは、実施例1で説明した媒体厚さ測定制御部153 、測
定値制御部154a及び表示画面記憶部158 に代えて、媒体
厚さ測定制御部153a、測定値制御部154c及び表示画面記
憶部158bを備えている。
That is, in FIG. 11 , 14b is a CPU, 15b
b indicates a ROM. The CPU 14b controls each unit according to a control program stored in the ROM 15b. ROM15
b is a medium thickness measurement control unit 153a, a measurement value control unit 154c, and a display screen storage unit instead of the medium thickness measurement control unit 153, the measurement value control unit 154a, and the display screen storage unit 158 described in the first embodiment. 158b.

【0093】媒体厚さ測定制御部153aは、登録部160 に
伝票1aに「段差がある」或いは「厚さが均一」が登録さ
れたときに起動し、厚さ測定/間隙調整機構9aを制御し
て、行毎の厚さを測定して測定値制御部154cへ送り、伝
票1aの「厚さが均一」であるのに、測定値にばらつきが
ある場合には、表示操作部17aに厚さ入力画面を表示
し、オペレータが入力した伝票1aの厚さを測定値制御部
154cへ送る。
The medium thickness measurement control section 153a is activated when the slip 1a is registered in the registration section 160 with "step" or "uniform thickness", and controls the thickness measurement / gap adjusting mechanism 9a. Then, the thickness of each row is measured and sent to the measurement value control unit 154c. If the thickness of the voucher 1a is "uniform" but the measurement values are not uniform, the display operation unit 17a displays the thickness. The input screen is displayed and the thickness of the slip 1a input by the operator is
Send to 154c.

【0094】測定値制御部154cは、「段差がある」とき
に測定されて送られた印字行毎の測定値Tと、ギャップ
gと、距離Sとから、調整値Sn3 を演算して調整値記憶
部162aに記憶するように制御し、「厚さが均一」のとき
に、ばらついた測定値の代わりにオペレータの操作で入
力された伝票1aの厚さをステップ数に変換して、その値
T1と、ギャップgと、距離Sとから、調整値Sn3 (=S
−T1−g)を演算して調整値記憶部162aに記憶するよう
に制御する。また、媒体実態登録モード指示が解除され
て、伝票に印字をするときに、実施例1の測定値制御部
154aと同様に調整値Sn3 を調整値記憶部162aから読み出
す。
The measurement value control unit 154c calculates an adjustment value Sn3 from the measurement value T for each print line, which is measured and sent when there is a level difference, the gap g, and the distance S, and calculates the adjustment value Sn3. Controlled to be stored in the storage unit 162a, and when "thickness is uniform", the thickness of the slip 1a input by the operator's operation is converted to the number of steps instead of the measured value that fluctuates, and the value is converted to the value.
And a T 1, and the gap g, the distance S, the adjustment value Sn3 (= S
−T 1 −g) is calculated and stored in the adjustment value storage unit 162a. Also, when the medium status registration mode instruction is released and the slip is printed, the measured value control unit of the first embodiment is used.
The adjustment value Sn3 is read from the adjustment value storage unit 162a in the same manner as in 154a.

【0095】表示画面記憶部158bは、実施例1で説明し
た表示画面記憶部158 と同様の表示画面に加えて、オペ
レータに厚さが均一な伝票1aの厚さ入力を促す厚さ入力
表示画面を格納している。
The display screen storage unit 158b has a thickness input display screen that prompts the operator to input the thickness of the slip 1a having a uniform thickness, in addition to the display screen similar to the display screen storage unit 158 described in the first embodiment. Is stored.

【0096】このような構成及び機能を有するので、次
図12のフローチャートにより作用を説明する。〜
及び〜は実施例1の図7と同様であるので、〜
を示す。
Having such a configuration and functions, the operation will be described next with reference to the flowchart of FIG . ~
Since and are the same as in FIG. 7 of the first embodiment,
Is shown.

【0097】登録部160 の登録が、伝票1aに「段差が
ある」場合の印字行毎の測定値、及び伝票1aの「厚さが
均一」の場合の印字行毎の測定値が均一の値のときは、
測定された印字行毎の複数の厚さ測定値Tと、ギャップ
gと、距離Sとから、調整値Sn3 を演算して調整値記憶
部162aに記憶する。
The registration unit 160 determines that the measured value for each printed line when the slip 1a has “step” and the measured value for each printed line when the slip 1a is “thick” are uniform. When
An adjustment value Sn3 is calculated from the plurality of measured thickness values T for each print line, the gap g, and the distance S, and stored in the adjustment value storage unit 162a.

【0098】また、登録部160 の登録が「厚さが均
一」であるのに、測定値にばらつきがあるときには、表
示操作部17aに、厚さ入力画面を表示し、オペレータに
厚さの入力を促す。そこで、オペレータは厚さ入力画面
の入力キーにより厚さを入力する。
If the registration of the registration unit 160 is "uniform thickness" but there is a variation in the measured values, a thickness input screen is displayed on the display / operation unit 17a to allow the operator to input the thickness. Prompt. Therefore, the operator inputs the thickness using the input keys on the thickness input screen.

【0099】入力された伝票1aの厚さをステップ数に
変換した値の厚さT1と、ギャップg、距離Sとから調整
値Sn3 を演算して調整値記憶部162aに記憶する。このよ
うにして、伝票1aの「厚さが均一」であるのに、厚さ測
定値にばらつきがある場合に、オペレータの厚さ入力に
よって、均一厚さとして印字をすることができる。
[0099] The thickness T 1 of the input value obtained by converting the thickness of the number of steps of the slip 1a, is stored in the adjustment value storage unit 162a calculates an adjustment value Sn3 from the gap g, the distance S. In this way, when the thickness of the slip 1a is "uniform" but there is a variation in the measured thickness, printing can be performed as a uniform thickness by inputting the thickness by the operator.

【0100】以上実施例1〜実施例3で説明したよう
に、伝票1aの「厚さが均一」である場合に、厚さ測定値
にばらつきがあっても、印字行毎に間隙調整をする必要
がなくなり、印字速度を高めることができる。
As described in the first to third embodiments, when the thickness of the slip 1a is “uniform”, the gap is adjusted for each print line even if the measured thickness varies. This eliminates the need and can increase the printing speed.

【0101】4)実施例4図13 及び図14により実施例4を説明する。図13
実施例4を示すブロック図、図14は実施例4のフロー
チャートである。
[0102] 4) Example 4 Figures 13 and 14 a fourth embodiment will be described. FIG. 13 is a block diagram showing a fourth embodiment, and FIG. 14 is a flowchart of the fourth embodiment.

【0102】図13において、14cはCPU、15cはR
OMを示す。CPU14cは、ROM15cに記憶された制
御プログラムに従って各部を制御する。ROM15cは、
実施例1の図5で説明したROM15の媒体厚さ測定制御
部153及び測定値制御部154aに代えて、媒体厚さ測定制
御部153b及び測定値制御部154dを備え、更に測定位置設
定部24を有する。
In FIG . 13 , 14c is a CPU, 15c is R
OM is shown. The CPU 14c controls each unit according to a control program stored in the ROM 15c. ROM15c
Instead of the medium thickness measurement control unit 153 and the measurement value control unit 154a of the ROM 15 described in FIG. 5 of the first embodiment, a medium thickness measurement control unit 153b and a measurement value control unit 154d are provided. Having.

【0103】媒体厚さ測定制御部153bは、表示操作部17
aからの入力で、伝票1aに「段差がある」ときは、実施
例1の場合と同様にして厚さ測定/間隙調整機構9aを制
御して、印字行毎の厚さを測定して測定値制御部154dへ
送る。また、伝票1aの「厚さが均一」のときは、測定位
置設定部24に設定された測定位置で伝票1aの厚さを測定
して、測定値Tを測定値制御部154dへ送る。
The medium thickness measurement control section 153b
When the slip 1a has "step" in the input from "a", the thickness measuring / gap adjusting mechanism 9a is controlled in the same manner as in the first embodiment to measure and measure the thickness of each print line. Send to value controller 154d. When the thickness of the slip 1a is “uniform”, the thickness of the slip 1a is measured at the measurement position set in the measurement position setting unit 24, and the measured value T is sent to the measured value control unit 154d.

【0104】測定値制御部154dは、「段差がある」とき
の測定されて送られた印字行毎の測定値T、或いは「厚
さが均一」のときの指定位置の測定値Tと、ギャップg
と、距離Sとから、調整値Sn3 を演算して調整値記憶部
162aに記憶するように制御する。また、媒体状態登録モ
ード指示が解除されて、伝票1aに印字をするときに、実
施例1の測定値制御部154aと同様に調整値Sn3 を調整値
記憶部162aから読み出す。
The measured value control unit 154d calculates a measured value T for each print line measured and sent when “there is a step” or a measured value T at a designated position when “the thickness is uniform”. g
From the distance S and the adjustment value Sn3, the adjustment value storage unit
162a is controlled to be stored. When the medium state registration mode instruction is released and the slip 1a is printed, the adjustment value Sn3 is read out from the adjustment value storage unit 162a in the same manner as the measurement value control unit 154a of the first embodiment.

【0105】測定位置設定部24は、伝票1aの「厚さが均
一」のときに、伝票1a上の予め指定した測定位置 (第n
行)が設定されている。このような構成及び機能を有す
るので、次に図14のフローチャートにより作用を説明
する。、及び〜は実施例1の図7の及び、
〜と同様であるので、〜を示す。
When the thickness of the slip 1a is “uniform”, the measurement position setting unit 24 sets the measurement position (n-th) specified on the slip 1a in advance.
Line) is set. Having such a configuration and function, the operation will be described next with reference to the flowchart of FIG . , And to of FIG.
Since it is the same as 〜, 〜 is shown.

【0106】媒体厚さ測定制御部153bの制御により、
登録部160 に「段差がある」と登録されているときは、
伝票1aを送り出して行毎の厚さを測定する。 印字行毎の複数の厚さ測定値Tと、ギャップgと、距
離Sとから、調整値Sn3 を演算して調整値記憶部162aに
記憶する。
Under the control of the medium thickness measurement controller 153b,
If "Regular" is registered in the registration section 160,
The slip 1a is sent out and the thickness of each line is measured. An adjustment value Sn3 is calculated from the plurality of thickness measurement values T for each print line, the gap g, and the distance S, and stored in the adjustment value storage unit 162a.

【0107】また、登録部160 に「厚さが均一」と登
録されているときは、測定位置設定部24に指定測定位
置、即ち、第n行を読み出して、送り出した伝票1aの第
n行の厚さを測定する。
When "thickness is uniform" is registered in the registration section 160, the designated measurement position, that is, the n-th line is read out to the measurement position setting section 24, and the n-th line of the sent slip 1a is read out. Measure thickness.

【0108】指定位置の測定値Tと、ギャップgと、
距離Sとから、調整値Sn3 を演算して調整値記憶部162a
に記憶する。このようにして、伝票1aの「厚さが均一」
のときは、指定した位置だけ測定することにより、印字
行毎の測定、及び印字行毎の調整がなくなり、一層印字
速度を高めることができる。
The measured value T at the designated position, the gap g,
From the distance S, an adjustment value Sn3 is calculated, and the adjustment value storage unit 162a
To memorize. In this way, the "thickness of the form 1a"
In this case, by measuring only the designated position, the measurement for each print line and the adjustment for each print line are eliminated, and the printing speed can be further increased.

【0109】上記実施例1では、均一な厚さの伝票1aの
測定値にばらつきがあるときに、複数の測定値の代表値
として、複数の測定値中の一番多い値を用いた場合を説
明したが、複数の測定値の中央値或いは平均値を使用す
る方法としても良い。
In the first embodiment, when the measured values of the slip 1a having a uniform thickness vary, the case where the largest value among the plurality of measured values is used as the representative value of the plurality of measured values is described. Although described, a method using the median or average of a plurality of measured values may be used.

【0110】また、上記実施例では、伝票1aの厚さをモ
ータM3のステップ数に換算する場合を説明したが、伝票
1aの厚さを1P、1.5P、2P、…に換算する方法としても良
い。上記実施例では、ワイヤードット式印字ヘッドを複
数配列して使用したラインプリンタの場合を説明した
が、一個のワイヤードット式印字ヘッドを使用するプリ
ンタでも良く、また、他のインパクトプリンタ、例え
ば、活字プリンタ等の場合にも同様に適用することがで
きる。
Further, in the above embodiment, the case where the thickness of the slip 1a is converted into the number of steps of the motor M3 has been described.
The thickness of 1a may be converted into 1P, 1.5P, 2P,... In the above embodiment, the case of a line printer using a plurality of wire dot type print heads is described, but a printer using a single wire dot type print head may be used, and other impact printers, for example, The same can be applied to a printer or the like.

【0111】[0111]

【発明の効果】以上説明したように本発明によれば、 均一な厚さの印字媒体の行毎の測定値にばらつきがあ
った場合は、その測定値の代表値を用いることにより、
或いは印字媒体の厚さを入力することにより、印字行毎
に印字ギャップを調整する必要がなくなり、印字速度を
高めることができる。
As described above, according to the present invention, when there is a variation in the measured values of the printing medium having a uniform thickness for each line, the representative value of the measured values is used.
Alternatively, by inputting the thickness of the printing medium, it is not necessary to adjust the printing gap for each printing line, and the printing speed can be increased.

【0112】印字媒体の厚さが均一な場合は、印字媒
体の指定した位置で厚さを測定することにより、印字行
毎に厚さを測定する必要がなく、また、印字行毎に印字
ギャップを調整する必要がなくなり、一層印字速度を高
めることができる。という効果がある。
When the thickness of the print medium is uniform, it is not necessary to measure the thickness of each print line by measuring the thickness at the designated position of the print medium. Need not be adjusted, and the printing speed can be further increased. This has the effect.

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

【図1】 本発明の請求項1に対応する原理説明図FIG. 1 is a view for explaining the principle according to claim 1 of the present invention;

【図2】 本発明の請求項2に対応する原理説明図FIG. 2 is a view for explaining the principle according to claim 2 of the present invention;

【図3】 本発明の請求項5に対応する原理説明図FIG. 3 is an explanatory view of the principle corresponding to claim 5 of the present invention.

【図4】 本発明の請求項6に対応する原理説明図FIG. 4 is a view for explaining the principle according to claim 6 of the present invention;

【図5】 本発明の実施例1を示すブロック図 FIG. 5 is a block diagram showing a first embodiment of the present invention.

【図6】 実施例1の説明図 FIG. 6 is an explanatory diagram of the first embodiment.

【図7】 実施例1のフローチャート FIG. 7 is a flowchart of the first embodiment.

【図8】 本説明の実施例2を示すブロック図 FIG. 8 is a block diagram showing a second embodiment of the present description;

【図9】 実施例2の説明図 FIG. 9 is an explanatory view of a second embodiment.

【図10】 実施例2のフローチャート FIG. 10 is a flowchart of a second embodiment.

【図11】 本発明の実施例3を示すブロック図 FIG. 11 is a block diagram showing a third embodiment of the present invention.

【図12】 実施例3のフローチャート FIG. 12 is a flowchart of a third embodiment.

【図13】 本発明の実施例4を示すブロック図 FIG. 13 is a block diagram showing a fourth embodiment of the present invention.

【図14】 実施例4のフローチャート FIG. 14 is a flowchart of a fourth embodiment.

【図15】 本発明が適用されるラインプリンタを示す
内部側面図
FIG. 15 shows a line printer to which the present invention is applied .
Internal side view

【図16】 プリンタ部を示す斜視図 FIG. 16 is a perspective view showing a printer unit.

【図17】 伝票の説明図 FIG. 17 is an explanatory diagram of a slip.

【図18】 伝票厚さ測定及び印字ギャップ調整の説明
FIG. 18 explains slip thickness measurement and print gap adjustment.
Figure

【図19】 従来方法の問題点の説明図 FIG. 19 is an explanatory diagram of a problem of the conventional method.

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

1は印字媒体、 1aは伝票、 3はプリンタ、 4,4a はプラテ
ン、 5,5a は印字ヘッド、 9は測定手段、 9aは厚さ測定/間隙調整機構、 10は間隙調整手
段、 17は入力手段、 17aは表示操作
部、 17A は報知手段、 154,154a〜154dは
測定値制御部、 162 は記憶手段、 162aは調整値記憶
1 is a print medium, 1a is a slip, 3 is a printer, 4,4a is a platen, 5,5a is a print head, 9 is a measuring means, 9a is a thickness measuring / gap adjusting mechanism, 10 is a gap adjusting means, and 17 is an input. Means, 17a is a display / operation unit, 17A is a notification unit, 154, 154a to 154d are measurement value control units, 162 is a storage unit, and 162a is an adjustment value storage unit

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プラテンと、 プラテンに間隙を介して対向して平行に移動する印字ヘ
ッドと、 プラテン及び印字ヘッドの間隙にセットされた改行方向
に段差を有する印字媒体、或いは厚さが均一な印字媒体
の厚さに応じてプラテン及び印字ヘッドの間隙を調整す
る間隙調整手段とを備え、 間隙調整手段により調整された間隙で印字ヘッドによっ
て印字媒体に印字を行うプリンタの印字間隙制御方法で
あって、 測定手段による印字媒体の印字行毎の厚さを測定した測
定値と、入力手段による印字媒体が改行方向に段差を有
するか、均一な厚さであるかのいずれかの入力とに基づ
いて、 入力手段によって入力された印字媒体が段差を有する場
合は、測定手段によって測定された印字行毎の厚さ測定
値を記憶手段に記憶し、 入力された印字媒体の厚さが均一である場合で、印字行
毎に測定された厚さが等しい測定値であれば、測定値を
記憶手段に記憶し、 入力された印字媒体の厚さが均一であるのに、測定され
た印字媒体の印字行毎の厚さの測定値がばらついていた
ときは、複数の測定値の分布の代表値を記憶手段に記憶
して、 記憶手段に記憶された印字媒体の厚さに応じてプラテン
及び印字ヘッドの間隙を調整することを特徴とする印字
間隙制御方法。
A platen; a print head moving in parallel to the platen with a gap therebetween; a print medium having a step in a line feed direction set in the gap between the platen and the print head; A gap adjusting means for adjusting the gap between the platen and the print head according to the thickness of the print medium, wherein the print head prints on the print medium with the gap adjusted by the gap adjusting means. The thickness of each print line of the print medium measured by the measurement means, and the input by the input means whether the print medium has a step in the line feed direction or has a uniform thickness. If the print medium input by the input means has a step, the thickness measurement value for each print line measured by the measurement means is stored in the storage means, and the input print medium In the case where the thickness is uniform and the measured value is equal for each print line, the measured value is stored in the storage means, and even though the input print medium thickness is uniform, If the measured value of the thickness of each print line of the print medium varies, the representative value of the distribution of the plurality of measured values is stored in the storage unit, and the thickness of the print medium stored in the storage unit is stored. Adjusting the gap between the platen and the print head in accordance with the print condition.
【請求項2】 プラテンと、 プラテンに間隙を介して対向して平行に移動する印字ヘ
ッドと、 プラテン及び印字ヘッドの間隙にセットされた改行方向
に段差を有する印字媒体、或いは厚さが均一な印字媒体
の厚さに応じてプラテン及び印字ヘッドの間隙を調整す
る間隙調整手段とを備え、 間隙調整手段により調整された間隙で印字ヘッドによっ
て印字媒体に印字を行うプリンタの印字間隙制御方法で
あって、 測定手段による印字媒体の印字行毎の厚さを測定した測
定値と、入力手段による印字媒体が改行方向に段差を有
するか、均一な厚さであるかのいずれかの入力とに基づ
いて、 入力された印字媒体が段差を有する場合は、測定手段に
よって測定された印字行毎の厚さ測定値を記憶手段に記
憶し、 入力された印字媒体の厚さが均一である場合で、印字行
毎に測定された厚さが等しい測定値であれば、測定値を
記憶手段に記憶し、 入力された印字媒体の厚さが均一であるのに、前記測定
手段によって測定された印字媒体の印字行毎の厚さ測定
値がばらついていたときは、報知手段により印字媒体の
厚さの入力を促し、 入力手段によって入力された印字媒体の厚さを前記記憶
手段に記憶して、 記憶手段に記憶された印字媒体の厚さに応じてプラテン
及び印字ヘッドの間隙を調整することを特徴とする印字
間隙制御方法。
2. A platen, a print head moving in parallel to the platen with a gap therebetween, and a print medium having a step in a line feed direction set in the gap between the platen and the print head, or a print medium having a uniform thickness. A gap adjusting means for adjusting the gap between the platen and the print head according to the thickness of the print medium, wherein the print head prints on the print medium with the gap adjusted by the gap adjusting means. The thickness of each print line of the print medium measured by the measurement means, and the input by the input means whether the print medium has a step in the line feed direction or has a uniform thickness. If the input print medium has a step, the thickness measurement value for each print line measured by the measurement means is stored in the storage means, and the thickness of the input print medium is uniform. In the case, if the thickness measured for each print line is the same measured value, the measured value is stored in the storage means, and the thickness is measured by the measuring means even though the input print medium thickness is uniform. When the thickness measurement value of each print line of the printed medium varies, the notification means prompts the input of the thickness of the print medium, and the thickness of the print medium input by the input means is stored in the storage means. Adjusting the gap between the platen and the print head according to the thickness of the print medium stored in the storage means.
【請求項3】 前記代表値は、前記複数の測定値の分布
の最頻値、中央値或いは平均値であることを特徴とする
請求項1記載の印字間隙制御方法。
3. The method according to claim 1, wherein the representative value is a distribution of the plurality of measured values.
Is the mode, median or average of
The print gap control method according to claim 1.
【請求項4】 前記代表値は、前記測定値のばらつきが
予め設定された許容値の範囲内にある条件で、予め指定
した印字行位置の測定値とすることを特徴とする請求項
1記載の印字間隙制御方法。
4. The method according to claim 1 , wherein the variation of the measured values is
Designated in advance under conditions that are within the range of preset tolerances
The measured value of the print line position obtained by
2. The printing gap control method according to 1.
【請求項5】 プラテンと、 プラテンに間隙を介して対向して平行に移動する印字ヘ
ッドと、 プラテン及び印字ヘッドの間隙にセットされた改行方向
に段差を有する印字媒体、或いは厚さが均一な印字媒体
の厚さに応じてプラテン及び印字ヘッドの間隙を調整す
る間隙調整手段とを備え、 間隙調整手段により調整された間隙で印字ヘッドによっ
て印字媒体に印字を行うプリンタであって、 印字媒体の印字行毎の厚さを測定する測定手段と、 印字媒体が均一な厚さであるか、改行方向に段差を有す
るかのいずれかを入力する入力手段と、 入力手段によって入力された印字媒体の段差により異な
る厚さ、或いは厚さが均一な印字媒体の厚さが記憶され
る記憶手段と、 入力手段によって入力された印字媒体が段差を有する場
合は、測定手段によっ て測定された印字行毎の厚さ測定
値を記憶手段に記憶し、入力された印字媒体の厚さが均
一である場合で、測定された印字行毎の厚さが等しい測
定値であれば、測定した測定値を記憶手段に記憶し、入
力された印字媒体の厚さが均一であるのに、測定された
印字行毎の厚さの測定値がばらついていたときは、複数
の測定値の分布の代表値を記憶手段に記憶するように制
御する測定値制御手段とを備え、 記憶手段に記憶された印字媒体の厚さに応じてプラテン
及び印字ヘッドの間隙を調整して印字することを特徴と
するプリンタ。
5. A printing apparatus which moves in parallel with a platen facing the platen with a gap therebetween.
Line feed direction set in the gap between the print head , platen and print head
Printing media with steps or printing media with uniform thickness
Adjust the gap between the platen and print head according to the thickness of the
Gap adjusting means, and the print head adjusts the gap adjusted by the gap adjusting means.
A printer that prints on a print medium by using a measuring means for measuring the thickness of each print line of the print medium, and the print medium has a uniform thickness or a step in the line feed direction.
Input means for inputting one of Luke, different by the step of printing medium input by the input means
The thickness of the print media that has a uniform or uniform thickness is stored.
Storage means, and when the print medium input by the input means has a step,
If the measured thickness measurement for each print line by the measuring means
The value is stored in the storage unit, and the thickness of the input print medium is evenly adjusted.
And the thickness of each printed line is equal.
If it is a fixed value, the measured value is stored in the storage
Forced print media thickness was uniform, but measured
If the measured thickness of each printed line varies,
To store the representative value of the measured value distribution in the storage means.
Control means for controlling the measured value, and a platen corresponding to the thickness of the print medium stored in the storage means.
And printing by adjusting the gap between the print heads.
Printer.
【請求項6】 プラテンと、 プラテンに間隙を介して対向して平行に移動する印字ヘ
ッドと、 プラテン及び印字ヘッドの間隙にセットされた改行方向
に段差を有する印字媒体、或いは厚さが均一な印字媒体
の厚さに応じてプラテン及び印字ヘッドの間隙を調整す
る間隙調整手段とを備え、 間隙調整手段により調整された間隙で印字ヘッドによっ
て印字媒体に印字を行うプリンタであって、 印字媒体の印字行毎の厚さを測定する測定手段と、 印字媒体が均一な厚さであるか、改行方向に段差を有す
るかのいずれか、及び印字媒体の厚さを入力する入力手
段と、 入力手段によって入力された印字媒体の厚さが均一であ
るのに、測定値にばらつきがあるときに、報知して印字
媒体の厚さの入力を促す報知手段と、 入力手段によって入力された印字媒体の段差により異な
る厚さ、或いは厚さが均一な印字媒体の厚さが記憶され
る記憶手段と、 入力手段によって入力された印字媒体の段差を有する場
合は、測定手段によって測定された印字行毎の厚さ測定
値を記憶手段に記憶し、入力された印字媒体の厚さが均
一である場合で、測定された印字媒体の印字行毎の厚さ
が等しい測定値であれば、測定値を記憶手段に記憶し、
入力された印字媒体の厚さが均一であるのに、測定され
た印字媒体の印字行毎の厚さ測定値がばらついていたと
きは、報知手段による報知に基づいて入力手段によって
入力された印字媒体の厚さを記憶手段に記憶するように
制御する測定値/厚さ制御手段とを備え、 記憶手段に記憶された印字媒体の厚さに応じてプラテン
及び印字ヘッドの間隙 を調整して印字することを特徴と
するプリンタ。
6. A printing apparatus which moves in parallel with a platen facing the platen with a gap therebetween.
Line feed direction set in the gap between the print head , platen and print head
Printing media with steps or printing media with uniform thickness
Adjust the gap between the platen and print head according to the thickness of the
Gap adjusting means, and the print head adjusts the gap adjusted by the gap adjusting means.
A printer that prints on a print medium by using a measuring means for measuring the thickness of each print line of the print medium, and the print medium has a uniform thickness or a step in the line feed direction.
Or the input method for inputting the thickness of the print medium
And the thickness of the print medium input by the input means is uniform.
However, when there is a variation in the measured value, it is notified and printed.
Notification means for prompting the input of the thickness of the medium differs from the level difference of the print medium input by the input means.
The thickness of the print media that has a uniform or uniform thickness is stored.
Storage means having a step of the print medium input by the input means.
If not, measure the thickness of each printed line measured by the measuring means.
The value is stored in the storage unit, and the thickness of the input print medium is evenly adjusted.
And the measured thickness of each print line of the print medium
If the measured values are equal, the measured values are stored in the storage means,
Even if the input print media thickness is uniform,
The thickness measurement value for each print line of the printed media
The input means based on the notification by the notification means.
To store the input print media thickness in the storage means
Control means for controlling a measured value / thickness, and a platen corresponding to the thickness of the print medium stored in the storage means.
And printing by adjusting the gap between the print heads.
Printer.
【請求項7】 前記代表値は、前記複数の測定値の分布
の最頻値、中央値或いは平均値であることを特徴とする
請求項5記載のプリンタ。
7. The distribution of the plurality of measured values, wherein the representative value is a distribution of the plurality of measured values.
Is the mode, median or average of
The printer according to claim 5.
【請求項8】 前記代表値は、前記測定値のばらつきが
予め設定された許容値の範囲内にある条件で、予め指定
した印字行位置の測定値とすることを特徴とする請求項
5記載のプリンタ。
8. The method according to claim 1, wherein the representative value is a variation in the measured value.
Designated in advance under conditions that are within the range of preset tolerances
The measured value of the print line position obtained by
5. The printer according to 5.
JP15262496A 1996-06-13 1996-06-13 Printing gap control method and printer Expired - Fee Related JP3355934B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15262496A JP3355934B2 (en) 1996-06-13 1996-06-13 Printing gap control method and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15262496A JP3355934B2 (en) 1996-06-13 1996-06-13 Printing gap control method and printer

Publications (2)

Publication Number Publication Date
JPH10831A JPH10831A (en) 1998-01-06
JP3355934B2 true JP3355934B2 (en) 2002-12-09

Family

ID=15544456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15262496A Expired - Fee Related JP3355934B2 (en) 1996-06-13 1996-06-13 Printing gap control method and printer

Country Status (1)

Country Link
JP (1) JP3355934B2 (en)

Also Published As

Publication number Publication date
JPH10831A (en) 1998-01-06

Similar Documents

Publication Publication Date Title
EP0931671B1 (en) Method for adjusting drive roller linefeed distance
US7641329B2 (en) Conveyance control device, conveyance system and image forming system
GB2203702A (en) Adapting selective printers for substrate thickness variations
JP4973000B2 (en) Image forming apparatus
EP1621358A1 (en) A Printing Apparatus
US6764157B2 (en) Image forming device correcting vertical alignments and correction method thereof
EP1598201A2 (en) A paper position correction method for a printer
EP0488406B1 (en) Printing method
EP1449670A1 (en) Printer, method for determining top edge of object to be printed, method for determining bottom edge of object to be printed, computer program, and computer system
JP3976315B2 (en) Thermal printer
JP3355934B2 (en) Printing gap control method and printer
JP4208604B2 (en) Ink jet recording apparatus and recording control method in ink jet recording apparatus
JP3027974B2 (en) Automatic platen gap adjustment device for printer
US20080080921A1 (en) Printer and method of interrupting print process at time of detecting mismatch in paper size in continuous transport mode
EP1201442B1 (en) Ink sheet type-printing apparatus
JPH0286486A (en) Automatic control of printing pressure
JP3865040B2 (en) Recording paper transport amount control device and recording paper transport amount control method
JP4479205B2 (en) Printing device capable of printing an image on a multi-page cut sheet
JP2003025656A (en) Method for correcting printing position
JP3518642B2 (en) Dot line printer
JPH04158078A (en) Serial printer
JP4348959B2 (en) Platen gap adjustment device
JP2763458B2 (en) Printer
JPH0664285A (en) Printer
JP3019124B2 (en) Automatic platen gap adjustment device for printer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020903

LAPS Cancellation because of no payment of annual fees