JPS625871A - Determination of printing position in printer - Google Patents

Determination of printing position in printer

Info

Publication number
JPS625871A
JPS625871A JP14452285A JP14452285A JPS625871A JP S625871 A JPS625871 A JP S625871A JP 14452285 A JP14452285 A JP 14452285A JP 14452285 A JP14452285 A JP 14452285A JP S625871 A JPS625871 A JP S625871A
Authority
JP
Japan
Prior art keywords
circuit
output
timing
printing
sensor
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
JP14452285A
Other languages
Japanese (ja)
Inventor
Yoshinori Takahashi
芳典 高橋
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP14452285A priority Critical patent/JPS625871A/en
Publication of JPS625871A publication Critical patent/JPS625871A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To prevent an unintentional shift in printing from occurring, by a method wherein an output from a sensor is detected according to a comparison result from a comparing circuit for comparing an output from a time counting circuit with the content of a memory circuit, and a printing position is corrected. CONSTITUTION:The time counting circuit 9 for measuring the period of time from a timing pulse of an encoder output 18 to a change in the output of the sensor 4, the memory circuit 10 for storing time, the comparing circuit 11 for comparing the output of the circuit 9 with the content of the circuit 10, and a correcting circuit for correcting the printing position by detecting a shift of the sensor 4 according to the comparison result from the circuit 11 are provided. Accordingly, an unintentional shift of the first character printing position in each line can be prevented from occurring, and printing position in each line can be prevented from occurring, and printing can be constantly started at the correct position.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、片方向印字のシリアルプリンタにおける第1
文字の印字位置の決定方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is a first method for a unidirectional printing serial printer.
This invention relates to a method for determining the printing position of characters.

〔従来の技術〕[Conventional technology]

従来の技術を第2図によって説明する。図面はプリンタ
の要部斜挑図であり、図において、1は印字ヘッド、2
はこの印字ヘッド1を搭載するキャリッジ、3はこのキ
ャリッジ2等を支持するプリンタフレーム、4はキャリ
ッジ2に設けたじゃへい板5の通過により印字ヘッド1
が第1文字の印字位置にあることを検出する第1文字印
字位置の検出センサ、6はキャリッジの位置に同期して
印字タイミングを発生する印字タイミング発生用のエン
コーダである。
The conventional technique will be explained with reference to FIG. The drawing is a perspective view of the main parts of the printer, and in the figure, 1 is the print head, 2
3 is a printer frame that supports this carriage 2, etc.; 4 is a printer frame that supports the print head 1;
6 is a first character printing position detection sensor that detects that is at the first character printing position, and 6 is a print timing generation encoder that generates print timing in synchronization with the position of the carriage.

第7図は第1文字印字タイミングを決定するタイミング
チャートであシ、7は検出センサ4の出力、8はエンコ
ーダ6の出力である。
FIG. 7 is a timing chart for determining the first character printing timing, where 7 is the output of the detection sensor 4, and 8 is the output of the encoder 6.

以下に上記構成の作用を説明する。The operation of the above configuration will be explained below.

まず、第2図においてキャリッジ2を左に位置させて左
端に位置させ、その位置から右方向に移動させる。検出
センサ4が第1文字印字位置を第7図の(4)のタイミ
ングで検出すると、その直後のエンコーダ6出力による
印字タイミング(B)を第1文字印字タイミングとして
各行の印字位置を決定する。
First, in FIG. 2, the carriage 2 is positioned on the left, at the left end, and is moved rightward from that position. When the detection sensor 4 detects the first character printing position at the timing (4) in FIG. 7, the printing position of each line is determined by using the printing timing (B) immediately after that by the encoder 6 output as the first character printing timing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記の構成によると、例えば毎行第1文字位置に縦線を
印字する場合、検出センサ4にほこシ等が付着したシ、
熱によりしやへい板5が伸縮したシ、さらには熱てよっ
てプリンタフレーム3が伸縮したシして検出センサ4が
移動して検出センサ4の第1文生卵字位置の検出タイミ
ングとエンコーダ6の出力パルスの相対関係が第7図の
(C)の位置にずれる場合があシ、第1文字の印字タイ
ミングが(2)となシ、前行とエンコーダ出力1個分の
ずれが生じ、印字結果において第8図の@)に示す如く
印字ずれが生じる問題がある。
According to the above configuration, for example, when printing a vertical line at the first character position in each line, if dust or the like is attached to the detection sensor 4,
The heat expands and contracts the flexible plate 5, and furthermore, the printer frame 3 expands and contracts due to the heat, and the detection sensor 4 moves, changing the detection timing of the first position of the detection sensor 4 and the encoder 6. The relative relationship of the output pulses may shift to the position (C) in Figure 7, and the printing timing of the first character may be (2), resulting in a shift of one encoder output from the previous line, resulting in printing As a result, there is a problem in that printing misalignment occurs as shown in Figure 8 (@).

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、エンコーダ出力のタイミングパルスからセン
サ出力変化までの時間を測定する計時回路と、上記時間
を記憶する記憶回路と、上記計時回路と記憶回路を比較
する比較回路と、この比較回路の比較結果により検出セ
ンサのずれを検出して印字位置を補正する補正回路とよ
構成ることを特徴とする。
The present invention provides a clock circuit that measures the time from a timing pulse of an encoder output to a change in sensor output, a memory circuit that stores the time, a comparison circuit that compares the clock circuit and the memory circuit, and a comparison circuit that compares the comparison circuit. It is characterized by comprising a correction circuit that detects the deviation of the detection sensor based on the result and corrects the print position.

〔作 用〕[For production]

以上の回路によると、第1文生卵字位置のずれを検出セ
ンサによって印字位置を補正することにより各行の第1
文生卵字位置を合わせることができる。
According to the above circuit, by correcting the printing position using the sensor that detects the deviation in the position of the first character, the first
You can adjust the Bunsei egg position.

〔実施例〕〔Example〕

以下に本発明の実施例を図面に従って説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は回路のブロック図であシ、図において4は検出
センサ、6はエンコーダ、9はエンコーダ出力パルスか
らセンサ出力変化までの時間を測定する計時回路、10
はこの計時回路9の出力を記憶する記憶回路、11は比
較回路であシ、上記計時回路9の出力と記憶回路10の
内容の差が一定値以上になるとONする補正要求信号1
2と、計時回路9の出力よシ記憶回路10の内容の方が
大きい場合プラス方向を、逆ではマイマス方向を指令す
る補正方向信号13を出力する。
FIG. 1 is a block diagram of the circuit. In the figure, 4 is a detection sensor, 6 is an encoder, 9 is a timing circuit that measures the time from the encoder output pulse to the sensor output change, and 10
1 is a memory circuit that stores the output of the clock circuit 9; 11 is a comparison circuit; and a correction request signal 1 that turns ON when the difference between the output of the clock circuit 9 and the contents of the memory circuit 10 exceeds a certain value.
If the output of the clock circuit 9 and the content of the storage circuit 10 are larger than the output of the clock circuit 9, a correction direction signal 13 is output which instructs the plus direction, and vice versa.

14は第1文生卵字タイミング信号を発生するタイミン
グ発生回路で6D、補正要求信号12がOFFめ場合セ
ンサ出力の変化に続く第2個目のエンコーダ出力パルス
で第1文字部字タイミングを発生し、補正要求信号12
がONの場合、補正方向信号13がプラス方向の場合は
センサ出力変化に続く第3個目のエンコーダ出力パルス
で、マイナス方向の場合は第1個目のエンコーダ出力パ
ルスで第1文生卵字タイミング信号を発生する。
14 is a timing generation circuit that generates the first character part timing signal; 6D, when the correction request signal 12 is turned off, the first character part timing is generated by the second encoder output pulse following a change in the sensor output; , correction request signal 12
is ON, if the correction direction signal 13 is in the positive direction, the third encoder output pulse following the sensor output change, and if it is in the negative direction, the first encoder output pulse is the first encoder output pulse. Generate a signal.

15は第1文生卵字タイミング発生の後、エンコーダ出
力に同期してヘッド駆動信号を発生する印字制御回路、
16はヘッド駆動回路、17は印字ヘッドである。
15 is a print control circuit that generates a head drive signal in synchronization with the encoder output after the first Bunsei Oji timing occurs;
16 is a head drive circuit, and 17 is a print head.

以上の回路による印字位置の補正をタイミングチャート
を用いて説明する。
Correction of the print position by the above circuit will be explained using a timing chart.

第3図は第1行目印字時のタイミングチャートであシ、
17は検出センサ4の出力、18はエンコーダ6の出力
、12は補正要求信号、19はタイミング発生回路14
の出力で第1文学年字タイミング指令である。このタイ
ミングチャートの場合は、補正要求信号12がOFFな
のでセンサ出力17の変化に続く第2個目のエンコーダ
出力18のパルスのタイミングで第1文生卵字タイミン
グ指令19が変化して第1文生卵字がスタートする。
Figure 3 is a timing chart when printing the first line.
17 is the output of the detection sensor 4, 18 is the output of the encoder 6, 12 is a correction request signal, and 19 is the timing generation circuit 14.
The output is the 1st literature timing command. In the case of this timing chart, since the correction request signal 12 is OFF, the first Bunsei egg timing command 19 changes at the timing of the second pulse of the encoder output 18 following the change in the sensor output 17, and the first Bunsei egg timing command 19 changes. The characters start.

記憶回路10はエンコーダ出力18のパルスからセンサ
出力17の変化までの時間T1に記憶する。
The memory circuit 10 stores the time T1 from the pulse of the encoder output 18 to the change in the sensor output 17.

次に、センサ出力の変化タイミングがずれる補正が動作
する場合を説明する。
Next, a case will be described in which correction is performed in which the change timing of the sensor output is shifted.

第4図は上記第3図のタイミング関係で印字した次の行
でセンサ出力がずれた場合のタイミングチャートであシ
、17はセンサ出力、18はエンコーダ出力、12.1
3は比較回路11の出力でそれぞれ補正要求信号と補正
方向信号、19はタイミング発生回路14の出力で第1
文学年字タイミング指令である。
Figure 4 is a timing chart when the sensor output deviates in the next line printed based on the timing relationship shown in Figure 3 above, 17 is the sensor output, 18 is the encoder output, 12.1
3 is the output of the comparison circuit 11, which is a correction request signal and a correction direction signal, respectively. 19 is the output of the timing generation circuit 14, which is the first signal.
This is the literature timing directive.

第4図に示した行の印字開始時、記憶回路10の内容は
第3図に示すT1、計時回路9の出力は第4図に示すT
2であj)、T2とT1の差が大きいため補正要求信号
12はONI T2 < T I なので補正方向信号
13はマイナス方向となる。
At the start of printing the line shown in FIG. 4, the contents of the memory circuit 10 are T1 shown in FIG. 3, and the output of the timing circuit 9 is T1 shown in FIG.
2 (j), and since the difference between T2 and T1 is large, the correction request signal 12 is ONI T2 < T I, so the correction direction signal 13 is in the negative direction.

補正要求信号12を受けてタイミング発生回路14は補
正方向信号13がマイナス方向なのでセンサ出力17の
変化に続く第1個目のエンコーダ出力18のパルスに同
期して第1文字部字タイミング指令19を出力し、印字
制御回路15は印字指令出力を開始する。
In response to the correction request signal 12, the timing generation circuit 14 generates the first character part timing command 19 in synchronization with the pulse of the first encoder output 18 following the change in the sensor output 17 since the correction direction signal 13 is in the negative direction. The print control circuit 15 starts outputting a print command.

検出センサ4が逆方向にずれて補正が動作する場合を第
5図と第6図によって説明する。
The case where the detection sensor 4 is shifted in the opposite direction and the correction is performed will be explained with reference to FIGS. 5 and 6.

17は検出センサ4の出力、18はエンコーダ6の出力
、12は補正要求信号、13は補正方向信号、19は第
1文生卵字タイミング指令である。
17 is an output of the detection sensor 4, 18 is an output of the encoder 6, 12 is a correction request signal, 13 is a correction direction signal, and 19 is a first Bunsei-egg timing command.

第5図のタイミング関係で印字した次の行で第6図のタ
イミング関係になった場合記憶回路10の内容は第5図
に示すT5であシ、計時回路9の出力は第6図に示すT
Iである。
If the next line printed with the timing relationship shown in Figure 5 has the timing relationship shown in Figure 6, the contents of the memory circuit 10 will be T5 shown in Figure 5, and the output of the timing circuit 9 will be shown in Figure 6. T
It is I.

T4とT3の差は犬きぐ、Tq>T5なので補正要求信
号12はONし、補正方向信号13はプラス方向となる
。したがって第1文字部字タイミング指令19はセンサ
出力17の変化に続く第3個目のエンコーダ出力18の
パルスに同期して出力されて補正されることになる。
Since the difference between T4 and T3 is large and Tq>T5, the correction request signal 12 is turned on and the correction direction signal 13 is in the positive direction. Therefore, the first character timing command 19 is output and corrected in synchronization with the pulse of the third encoder output 18 following the change in the sensor output 17.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した本発明によると、エンコーダ出力の
タイミングパルスからセンサ出力変化までの時間を測定
する計時回路と、上記時間を記憶する記憶回路と、上記
計時回路と記憶回路を比較する比較回路と、この比較回
路の比較結果により検出センサのずれを検出して印字位
置を補正する補正回路とを設けたことにより、各行の第
1文字卵重位置のずれを無くして正しい位置から印字を
開始することができる効果を有する。
According to the present invention described in detail above, there is provided a clock circuit that measures the time from the timing pulse of the encoder output to a change in the sensor output, a memory circuit that stores the time, and a comparison circuit that compares the clock circuit and the memory circuit. By providing a correction circuit that detects the deviation of the detection sensor based on the comparison result of this comparison circuit and corrects the printing position, it is possible to eliminate the deviation of the first character weight position of each line and start printing from the correct position. It has the effect that it can.

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

第1図は本発明の実施例を示すブロック図、第2図は本
発明にがかるブリシタの斜視図、第3図は第1行目印字
時のタイミングチャート、第4図は次の行で補正を行な
う場合のタイミングチャート、第5図は第3図と逆方向
にずれた場合のタイミングチャート、第6図は次の行で
補正を行なう場合のタイミングチャート、第7図は従来
例の説明図、第8図は印字ずれの例を示す説明図である
。 4・・・検出センサ 6・・・エンコーダ 9・・・計
時回路 10・・・記憶回路 11・・・比較回路 1
2・・・補正要求信号 13・・・補正方向信号 14
・・・タイミング発生回路 15・・・印字制御回路 
1T・・・印字ヘッド
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a perspective view of a printer according to the present invention, Fig. 3 is a timing chart when printing the first line, and Fig. 4 is corrected for the next line. Fig. 5 is a timing chart when the correction is performed in the opposite direction to Fig. 3. Fig. 6 is a timing chart when correction is made in the next line. Fig. 7 is an explanatory diagram of the conventional example. , FIG. 8 is an explanatory diagram showing an example of printing misalignment. 4...Detection sensor 6...Encoder 9...Clock circuit 10...Memory circuit 11...Comparison circuit 1
2... Correction request signal 13... Correction direction signal 14
...Timing generation circuit 15...Printing control circuit
1T...Print head

Claims (1)

【特許請求の範囲】 1、片方向印字を行なうプリンタにおいて、印字位置発
生用エンコーダ出力から第1文字位置検出用センサ出力
までの時間をはかる計時回路と、 上記時間を記憶する記憶回路と、 上記計時回路の出力と記憶回路の内容を比較する比較回
路と、 この比較回路の比較結果に従い印字タイミングを補正す
る補正回路とを備え、 比較回路の結果により上記検出用センサ出力を検出して
印字位置を補正することを特徴とするプリンタにおける
印字位置決定の方法。
[Scope of Claims] 1. In a printer that performs unidirectional printing, a clock circuit that measures the time from the encoder output for print position generation to the output of the first character position detection sensor; and a memory circuit that stores the time; It is equipped with a comparison circuit that compares the output of the clock circuit and the contents of the memory circuit, and a correction circuit that corrects the print timing according to the comparison result of this comparison circuit, and detects the above detection sensor output based on the result of the comparison circuit and adjusts the print position. A method for determining a print position in a printer, characterized by correcting.
JP14452285A 1985-07-03 1985-07-03 Determination of printing position in printer Pending JPS625871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14452285A JPS625871A (en) 1985-07-03 1985-07-03 Determination of printing position in printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14452285A JPS625871A (en) 1985-07-03 1985-07-03 Determination of printing position in printer

Publications (1)

Publication Number Publication Date
JPS625871A true JPS625871A (en) 1987-01-12

Family

ID=15364292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14452285A Pending JPS625871A (en) 1985-07-03 1985-07-03 Determination of printing position in printer

Country Status (1)

Country Link
JP (1) JPS625871A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991019612A1 (en) * 1990-06-15 1991-12-26 Seiko Epson Corporation Method of and device for controlling printing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991019612A1 (en) * 1990-06-15 1991-12-26 Seiko Epson Corporation Method of and device for controlling printing
US5306084A (en) * 1990-06-15 1994-04-26 Seiko Epson Corporation Printing control system and the method

Similar Documents

Publication Publication Date Title
JP3667788B2 (en) Image forming apparatus
US6564710B1 (en) Apparatus for imprinting an unmarked foil
JPS625871A (en) Determination of printing position in printer
JPH04268407A (en) Position detector
JPH0528669B2 (en)
JPH1035054A (en) Paper margin adjusting method
JPS63280671A (en) Print timing control device of printer
JPS62238780A (en) Printer
JPS6316318Y2 (en)
JP2000094751A (en) Serial printer and method for operating serial printer
JPH08310689A (en) Recording device
JPS6213362A (en) Printing method in wire dot printer
JPS60183164A (en) Shuttle mechanism of printer
JP2580398B2 (en) Printer print position correction processing method
JP2005119187A (en) Image recorder
JP2646365B2 (en) Paper feed control method
JPS63246258A (en) Printing control device for dot printer
JPH0515481Y2 (en)
JPS62236255A (en) Multi-color heat transfer recorder
JPH04294177A (en) Print shear correction method of printer
JPS6232057A (en) System for driving printing wide of wide dot type printer
JP2002029078A (en) Printer
JPH0585643U (en) Printer
JPS6274664A (en) Print starting position regulator for printer
JPS63264362A (en) Printing method of wire dot type printer