JPS63212578A - Printer - Google Patents

Printer

Info

Publication number
JPS63212578A
JPS63212578A JP4542687A JP4542687A JPS63212578A JP S63212578 A JPS63212578 A JP S63212578A JP 4542687 A JP4542687 A JP 4542687A JP 4542687 A JP4542687 A JP 4542687A JP S63212578 A JPS63212578 A JP S63212578A
Authority
JP
Japan
Prior art keywords
paper
page
counter
value
printing
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
JP4542687A
Other languages
Japanese (ja)
Inventor
Shigeo Nakamura
繁夫 中村
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP4542687A priority Critical patent/JPS63212578A/en
Publication of JPS63212578A publication Critical patent/JPS63212578A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Continuous Sheets Of Paper (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To prevent a printing position on a continuous sheet from displacing by setting the value of a counter for storing the theoretical printing position on a sheet to a reference value when indexes provided at an equal interval on the sheet with respect to the feeding direction of the continuous sheet are detected. CONSTITUTION:An encoder 41 detects the rotational angle of a motor 40 to detect the position of the row direction of a print head 28. A photocoupler 15 radiates light to an optical mark 50 bonded to the position of a sewing seam 51 of a continuous sheet 47 for reflecting the light to detect the reflected light. Since a present row C stored in a row counter 8 is set to '0' of a reference value when a detection signal of the mark 50 from the photocoupler 15 is input, the displacement of the printing position is not accumulated.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は連続用紙に印字する印字装置において機械的な
改行誤差の累積によって生じる印字位置のずれを防止し
た装置に関する。
The present invention relates to a printing device for printing on continuous paper that prevents misalignment of printing positions caused by accumulation of mechanical line feed errors.

【従来技術】[Prior art]

従来、印字装置における連続用紙の紙送り機構は、用紙
の端部に等間隔で設けられたスプロケットをスプロケッ
トホイールに係合させ、このスプロケットホイールを駆
動モータで回転させて用紙を送るようにしている。そし
て、用紙送り位置はこの駆動モータの回転角で制御する
ようにしている。
Conventionally, the paper feeding mechanism for continuous paper in printing devices involves sprockets provided at equal intervals on the edge of the paper engaging with a sprocket wheel, and this sprocket wheel is rotated by a drive motor to feed the paper. . The paper feeding position is controlled by the rotation angle of this drive motor.

【発明が解決しようとする問題点】[Problems to be solved by the invention]

ところが、スプロケットホイールと駆動モータ間には、
ギヤ等の勤カ伝達機構が介在するが、ギヤや機構部品等
の遊びのため、改行毎に駆動モータに指令される相対回
転角、即ち、指令された紙送り量と実際の用紙の送り量
との間にずれを生じる。駆動モータの相対回転角はイン
クリメンタル値として付与されるため、連続用紙の場合
には、この改行毎の紙送り量のずれが累積し、印字位置
が設計通りにならず、印字品質の低下の原因となってい
た。
However, between the sprocket wheel and the drive motor,
Although a force transmission mechanism such as a gear is involved, due to play in gears and mechanical parts, the relative rotation angle commanded to the drive motor at each line feed, that is, the commanded paper feed amount and the actual paper feed amount. This causes a discrepancy between the two. Since the relative rotation angle of the drive motor is given as an incremental value, in the case of continuous paper, this deviation in the paper feed amount for each line feed accumulates, causing the print position to not be as designed and causing a decline in print quality. It became.

【発明の目的】[Purpose of the invention]

本発明は、上記の問題点を解決するために成されたもの
であり、その目的とするところは、連続用紙上の印字位
置のずれを防止するこ止である。
The present invention has been made to solve the above-mentioned problems, and its purpose is to prevent misalignment of printing positions on continuous paper.

【問題点を解決するための手段】[Means to solve the problem]

上記問題点を解決するための発明の構成は、連続用紙を
送る紙送り機構と、用紙の送り方向の印字位置を記憶す
るカウンタと、紙送り機構の駆動量に応じて前記カウン
タの値を更新する印字位置計数手段とを有する印字装置
において、用紙の送り方向に対して等間隔に設けられた
用紙上の指標を検出する検出手段と、検出手段により前
記用紙上の指標が検出されたときは、カウンタの値を基
準値に設定する設定手段とを設けたことである。
The configuration of the invention for solving the above problems includes a paper feeding mechanism that feeds continuous paper, a counter that stores the print position in the feeding direction of the paper, and a value of the counter that is updated according to the drive amount of the paper feeding mechanism. In a printing device having a print position counting means, a detection means detects marks on the paper provided at equal intervals with respect to the paper feeding direction, and when the marks on the paper are detected by the detection means. , and setting means for setting the counter value to the reference value.

【作用】[Effect]

印字位置計数手段は、紙送り機構の駆動量、例えば駆動
モータのインクリメンタル回転角に応じてカウンタの値
を更新し、そのカウンタに記憶されている値は用紙の理
論上の印字位置となる。 検出手段は連続用紙に設けられた指標を検出する。この
指標は用紙の繰り返しの基準位置、例えば1頁の基準位
置を与える。この指標は、具体的には、ミシン目、スプ
ロケット穴の一定数毎の集合、1頁毎又は数頁毎の同一
位置に付された光学的マーク、1頁に複数部付された光
学的マークの一定数毎の集合等である。 設定手段は検出手段により用紙上の指標が検出されると
、カウンタの値を基準値に設定する。この基準値はずれ
のない理想状態において指標が検出された時の理論上°
の印字位置である。 したがって、連続用紙が送られるに連れてカウンタの値
、即ち、理論上の印字位置と実際の印字位置とに差を生
じるが、指標が検出される毎にカウンタの値は基準値に
設定されるため、理論上の印字位置と実際の印字位置が
この時点で一致される。よって、送り量の誤差が累積し
なくなるため、印字位置が正確となる。
The print position counting means updates the value of the counter according to the drive amount of the paper feeding mechanism, for example, the incremental rotation angle of the drive motor, and the value stored in the counter becomes the theoretical print position of the paper. The detection means detects an index provided on the continuous paper. This index provides a reference position for repeating a sheet of paper, for example, a reference position for one page. Specifically, this index includes a perforation, a set of sprocket holes in a certain number, an optical mark placed at the same position on each page or every few pages, and an optical mark placed in multiple parts on one page. It is a set of each fixed number of . The setting means sets the value of the counter to a reference value when the indicator on the paper is detected by the detection means. This reference value is the theoretical value when an index is detected in an ideal state with no deviation.
This is the printing position. Therefore, as the continuous paper is fed, a difference occurs between the counter value, that is, the theoretical print position and the actual print position, but the counter value is set to the reference value each time an index is detected. Therefore, the theoretical printing position and the actual printing position match at this point. Therefore, since errors in the feed amount do not accumulate, the printing position becomes accurate.

【実施例】【Example】

以下、本発明を具体的な実施例に基づいて説明する。 第2図は、プリンタの印字部の機構を示した斜視図であ
る。図に於いて、キ゛ヤリッジ26上には印字ヘッド2
8と用紙をプラテン25に沿ってターンさせる紙押え2
7とが配設されている。キャリッジ26はガイドバー4
4.45に案内されベルト46によって水平方向に移動
される。ベルト46はプリー42を介してモータ40に
よって駆動される。モータ40にはエンコーダ41が結
合しており、そのエンコーダ41はモータ40の回転角
を検出して印字ヘッド28の行方向の位置を検出する。 また、プラテン250両側には、連続用紙47のスプロ
ケット穴48走係合するスプロケットホイール49が配
設されており、そのスプロケットホイール49は紙送り
モータ12(第1図)により図示しない伝達機構を介し
て回転される。また、プラテン25の左方には、連続用
紙47のミシン目51の位置に貼付されている光を反射
する光学的マーク50に光を照射しその反射光を検出す
るフォトカップラ15がフレーム23に突設されている
。 第1図は本実施例プリンタの電気的構成を示したブロッ
クダイヤグラムである。中央処理装置1(CPU)には
印字処理プログラムを記憶したROM4と印字データや
制御データを記憶するRAM6が接続されており、RA
M6には基準値を記憶する基準値メモリ7とキャリッジ
26の用紙送り方向の理論上の印字位置を記憶する行カ
ウンタ8と理論上の頁を記憶する頁カウンタ9とが設け
られている。 また、CP U 11.: ハ各ドライバ2.10,1
1が接続されており、それらのドライバはキャリッジ移
動用のモータ40、紙送り用のモータ12、ソレノイド
13をそれぞれ駆動する。モータ12はスプロケットホ
イール49を回転させ用紙を送る。又、ソレノイド13
はインパクトワイヤを駆動してドツトパターンを用紙に
印字する。モータ40はキャリッジ26を水平方向に移
動させる。 又、フォトカップラ15は電源18から給電されており
、光学的マーク52の検出信号がCPU 1に入力して
いる。 次に本実施例プリンタの作用を第3図に示すフローチャ
ートに基づいて説明する。 まず、印字位置が第8頁の第2行目(この行数は機械的
な最小送りを、基本単位である1行としている)と指令
されると、本用紙送りプログラムが起動される。以下、
プログラムにおいて、指令された印字位置の頁を指令頁
S、印字行を指令待Pといい、行カウンタ8に記憶され
ている値を現在行C1頁カウンタ9に記憶されている値
を現頁りという。 ステップ10Gでは、現頁りと指令頁Sとが等しいか否
かが判定され、等しい場合には同頁処理として、ステッ
プ102以下が実行される。 ステップ102では、現在行Cが指令行P以上か否かが
判定される。C≧Pの場合には指令待Pが同頁の現在行
Cの前に存在するため順方向の紙送りは不可能であるの
で、処理を終了する。一方、CくPの場合には指令待P
の方が現在行Cよりも同頁で先にあるので紙送りが可能
であり、ステツー プ104へ移行して、単位角だけ紙
送りモータ12が正転駆動される。次に、ステップ10
6で、現在行Cが移動量だけ更新される。そして、ステ
ップ108で、フォトカップラ15から光学的マークの
検出信号が入力されたか否かが判定される。検出信号が
入力されていない場合には、ステップ102へ戻り上記
の処理が繰り返されて現在行Cが指令待Pに等しくなる
まで用紙送りが行われる。ステップ102で、現在行C
が指令待Pに等しいと判定されると、指令待Pまで用紙
送りが実行されたことになるので本処理が終了する。 また、用紙送り中に光学的マークが検出されるき、ステ
ップ10Bの判定がYflS 、!:なり、ステップ1
10へ移−行して、現在行Cは基準値の0に設定され、
次のステップ112で現頁りと指令頁Sとが等しい場合
には、ステップ114へ移行して処理が終了する。即ち
、現頁りと同一の指令頁Sの場合には、用紙送り中に現
在行C=指令行Pの条件が満たされなくても、その頁の
最下行まで送られることになる。この不一致は指令上の
誤りがなければ、機械的な送り誤差によって生じるもの
であるが、このような処理により誤差は次頁には波及し
ない。 一方、現頁りと指令頁Sが等しくない場合には、現頁り
と異なる頁まで用紙を送ることを意味しており、この光
学的マークが検出された状態で用紙の実際の位置は次頁
の先頭行(第0行)とみなすことができるので、ステッ
プ116へ移行して現頁りが1だけ加算され、処理はス
テップ100へ移行し、現頁りと指令頁Sとの比較が行
われる。現頁りが指令頁Sと等しくなった時は、上記し
たようにステップ102へ移行して上記の処理が実行さ
れる。 一方、ステップ100で現頁り七指令頁s2が同一でな
いと判定された場合は、ステップ102の処理を実行す
ることなくステップ104ヘジヤンプする。即ち、現頁
りが指令頁Sに未だ達していない時は現頁りの最下行、
即ち光学的マークが検出される印字位置までの用紙の送
りが実行されることにより改頁される。 このように本実施例では光学的マークが検出されるごと
に、現在行Cが基準値のOに設定されるため、印字位置
のずれが累積しない。 尚、上記実施例においては、簡単のため、改頁の位置で
光学的マークが検出されるようにしているが、必ずしも
光学的マークは改頁箇所に貼付する必要はなく、頁の先
頭行から一定の位置であればよい。 また、検出手段はミシン目を指標としたときは、ミシン
目を光学的に検出するセンサやローラを連続用紙に接触
させ、そのローラに連接されたテンジョンバーの動作を
検出する装置であってもよい。 また、スプロケット穴が一定数検出されたことで、指標
の検出としてもよい。
The present invention will be described below based on specific examples. FIG. 2 is a perspective view showing the mechanism of the printing section of the printer. In the figure, the print head 2 is mounted on the carriage 26.
8 and a paper presser 2 that turns the paper along the platen 25
7 are arranged. The carriage 26 is the guide bar 4
4.45 and moved horizontally by a belt 46. Belt 46 is driven by motor 40 via pulley 42 . An encoder 41 is coupled to the motor 40, and the encoder 41 detects the rotation angle of the motor 40 to detect the position of the print head 28 in the row direction. Furthermore, sprocket wheels 49 are disposed on both sides of the platen 250 and are engaged with the sprocket holes 48 of the continuous paper 47, and the sprocket wheels 49 are driven by the paper feed motor 12 (FIG. 1) through a transmission mechanism (not shown). rotated. Further, on the left side of the platen 25, a photocoupler 15 is mounted on the frame 23, which irradiates light onto an optical mark 50 that reflects light and detects the reflected light, which is pasted at the position of the perforation 51 of the continuous paper 47. It is installed protrudingly. FIG. 1 is a block diagram showing the electrical configuration of the printer of this embodiment. A ROM 4 that stores a print processing program and a RAM 6 that stores print data and control data are connected to the central processing unit 1 (CPU).
M6 is provided with a reference value memory 7 for storing a reference value, a line counter 8 for storing a theoretical printing position in the paper feeding direction of the carriage 26, and a page counter 9 for storing a theoretical page. Also, CPU 11. : C each driver 2.10,1
1 are connected, and these drivers drive a motor 40 for moving the carriage, a motor 12 for paper feeding, and a solenoid 13, respectively. Motor 12 rotates sprocket wheel 49 to feed the paper. Also, solenoid 13
drives the impact wire to print a dot pattern on the paper. Motor 40 moves carriage 26 horizontally. Further, the photocoupler 15 is supplied with power from the power supply 18, and the detection signal of the optical mark 52 is input to the CPU 1. Next, the operation of the printer of this embodiment will be explained based on the flowchart shown in FIG. First, when the print position is commanded to be the second line of page 8 (this number of lines uses the mechanical minimum feed as the basic unit of one line), this paper feed program is started. below,
In the program, the page at the commanded print position is called command page S, the print line is called command waiting P, the value stored in line counter 8 is called current line C1, the value stored in page counter 9 is called current page That's what it means. In step 10G, it is determined whether the current page and the command page S are equal or not. If they are equal, steps 102 and subsequent steps are executed as same page processing. In step 102, it is determined whether the current line C is greater than or equal to the command line P. If C≧P, the command-waiting P exists before the current line C on the same page, and forward paper feeding is impossible, so the process ends. On the other hand, in the case of CP, command waiting P
Since line C is ahead of current line C on the same page, paper feeding is possible, and the process moves to step 104, where the paper feeding motor 12 is driven in normal rotation by a unit angle. Next, step 10
At step 6, the current row C is updated by the amount of movement. Then, in step 108, it is determined whether an optical mark detection signal has been input from the photocoupler 15. If the detection signal is not input, the process returns to step 102 and the above process is repeated, and the paper is fed until the current line C becomes equal to the command waiting P. In step 102, the current line C
If it is determined that is equal to the command waiting P, it means that paper feeding has been executed up to the command waiting P, and this process ends. Also, when an optical mark is detected during paper feeding, the determination in step 10B is YflS,! :Nari, step 1
10, the current line C is set to the standard value 0,
If the current page and command page S are equal in the next step 112, the process moves to step 114 and the process ends. That is, in the case of the command page S that is the same as the current page, even if the condition of current line C=command line P is not satisfied during sheet feeding, the sheet will be fed to the bottom line of the page. This discrepancy would be caused by a mechanical feed error if there was no error in the command, but this kind of processing prevents the error from spreading to the next page. On the other hand, if the current page and the command page S are not equal, this means that the paper will be fed to a page different from the current page, and the actual position of the paper will be the next one when this optical mark is detected. Since it can be regarded as the first line (line 0) of the page, the process moves to step 116, where the current page is incremented by 1, and the process moves to step 100, where the current page and the command page S are compared. It will be done. When the current page becomes equal to the command page S, the process moves to step 102 and the above processing is executed as described above. On the other hand, if it is determined in step 100 that the current page and the commanded page s2 are not the same, the process jumps to step 104 without executing the process in step 102. That is, when the current page has not yet reached the command page S, the bottom line of the current page,
That is, the page is changed by feeding the paper to the printing position where the optical mark is detected. As described above, in this embodiment, the current line C is set to the reference value O every time an optical mark is detected, so that the deviation of the printing position does not accumulate. In the above embodiment, for simplicity, the optical mark is detected at the page break position, but the optical mark does not necessarily need to be pasted at the page break location, and it is detected from the first line of the page. It only needs to be in a certain position. Further, when the perforation is used as an index, the detection means is a device that brings a sensor or roller that optically detects the perforation into contact with the continuous paper and detects the operation of a tension bar connected to the roller. Good too. Furthermore, the detection of a certain number of sprocket holes may be used as an indicator detection.

【発明の効果】【Effect of the invention】

本発明の印字装置は連続用紙の送り方向に対して等間隔
に設けられた用紙上の指標を検出する検出手段と、検出
手段により指標が検出されたときは、用紙上の理論上の
印字位置を記憶するカウンタの値を基準値に設定する設
定手段とを有しているので、用紙上の一定の印字位置に
ある指標が検出されたときには、カウンタの値が基準値
に設定されるため、実際の印字位置と理論上の印字位置
の誤差が指標が検出されるごとになくなるため、誤差の
累積が防止されるので印字位置が正確となる。
The printing device of the present invention includes a detection means for detecting marks on the paper provided at equal intervals in the feeding direction of continuous paper, and when the marks are detected by the detection means, a theoretical printing position on the paper. Since the counter value is set to the reference value when an index at a certain printing position on the paper is detected, the counter value is set to the reference value. Since the error between the actual print position and the theoretical print position disappears each time the index is detected, accumulation of errors is prevented, and the print position becomes accurate.

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

第1図は本発明の具体的な一実施例に係るプリンタの電
気的構成を示したブロックダイヤグラム。 第2図はそのプリンタの機械的構成を示した機構図。第
3図はそのプリンタで使用されたCPUの処理手順を示
したフローチャートである。 23・・・・フレーム 25・・−・プラテン 26・
・・−キャリッジ 27・・・・紙押え 28°“・印
字ヘッド 44.45゛・パガイドパー 46・・・・
ベルト 47・”・連続用紙 48・・・スプロケット
穴 49・・・スブロケッホイール 50・・・光学的
マーク 51・・・ミシン目15・・・フォトカップラ
FIG. 1 is a block diagram showing the electrical configuration of a printer according to a specific embodiment of the present invention. FIG. 2 is a mechanical diagram showing the mechanical configuration of the printer. FIG. 3 is a flowchart showing the processing procedure of the CPU used in the printer. 23... Frame 25... Platen 26...
・・Carriage 27・・Paper presser 28°・Print head 44.45゛・Paper guide par 46・・・
Belt 47...Continuous paper 48...Sprocket hole 49...Subrocket wheel 50...Optical mark 51...Perforation 15...Photocoupler

Claims (4)

【特許請求の範囲】[Claims] (1)連続用紙を送る紙送り機構と、用紙の送り方向の
印字位置を記憶するカウンタと、前記紙送り機構の駆動
量に応じて前記カウンタの値を更新する印字位置計数手
段とを有する印字装置において、 前記用紙の送り方向に対して等間隔に設けられた用紙上
の指標を検出する検出手段と、 前記検出手段により前記用紙上の指標が検出されたとき
は、前記カウンタの値を基準値に設定する設定手段と を備えることを特徴とする印字装置。
(1) Printing that has a paper feeding mechanism that feeds continuous paper, a counter that stores the printing position in the feeding direction of the paper, and printing position counting means that updates the value of the counter according to the amount of drive of the paper feeding mechanism. In the apparatus, a detection means for detecting indicators on the paper provided at equal intervals with respect to the feeding direction of the paper, and when the indicators on the paper are detected by the detection means, the value of the counter is used as a reference. A printing device comprising a setting means for setting a value.
(2)前記検出手段は、前記連続用紙の端部に設けられ
た光学的マークからの反射光を検出するフォトセンサで
あることを特徴とする特許請求の範囲第1項記載の印字
装置。
(2) The printing device according to claim 1, wherein the detection means is a photosensor that detects reflected light from an optical mark provided at an end of the continuous paper.
(3)前記検出手段は、前記連続用紙のミシン目を検出
する装置であることを特徴とする特許請求の範囲第1項
記載の印字装置。
(3) The printing device according to claim 1, wherein the detection means is a device for detecting perforations in the continuous paper.
(4)前記検出手段は、前記連続用紙の端部に設けられ
た用紙送り用の穴の数を検出することを特徴とする特許
請求の範囲第1項記載の印字装置。
(4) The printing device according to claim 1, wherein the detecting means detects the number of paper feeding holes provided at an end of the continuous paper.
JP4542687A 1987-02-28 1987-02-28 Printer Pending JPS63212578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4542687A JPS63212578A (en) 1987-02-28 1987-02-28 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4542687A JPS63212578A (en) 1987-02-28 1987-02-28 Printer

Publications (1)

Publication Number Publication Date
JPS63212578A true JPS63212578A (en) 1988-09-05

Family

ID=12718956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4542687A Pending JPS63212578A (en) 1987-02-28 1987-02-28 Printer

Country Status (1)

Country Link
JP (1) JPS63212578A (en)

Similar Documents

Publication Publication Date Title
US8333467B2 (en) Image-forming device
JP5970709B2 (en) Continuous paper transport control method and printer
JP3182802B2 (en) Paper edge detection device for printer
KR920008596B1 (en) Color discrimination apparatus for color ink ribbon
JP7480596B2 (en) Image Recording Device
JPS63212578A (en) Printer
US5018888A (en) Paper tension adjusting device and method for a printer
JP3686721B2 (en) Printer paper feeding apparatus and paper feeding control method thereof
JP2006170745A (en) Encoder structure and printer structure
JP3609879B2 (en) Color printer
US4943812A (en) Thermal transfer type color recording method and apparatus therefor
JP3017356B2 (en) Method of correcting print position deviation of serial printer and serial printer
JP5834946B2 (en) Recording medium skew correction method and printer
JPH01114470A (en) Correcting method for feed amount of printing paper in printer
JPH11314421A (en) Continuous form printer
JP3423962B2 (en) Printing device gap adjustment method
JP2990900B2 (en) Printer with I / D mark reader
JPH0535311U (en) Printing headgear automatic adjustment device
JP2003025656A (en) Method for correcting printing position
JPS60161183A (en) Serial printer
JPS6131275A (en) Automatic adjusting mechanism for printing head in wire dot printer
KR100209523B1 (en) Drum feed type ink-jet printer
JPH06286255A (en) Apparatus for detecting abnormality in operation of head carriage of printer
JPH02243376A (en) Serial printer
JPH01218863A (en) Paper feed control method