JP2907803B2 - Printer - Google Patents

Printer

Info

Publication number
JP2907803B2
JP2907803B2 JP35332097A JP35332097A JP2907803B2 JP 2907803 B2 JP2907803 B2 JP 2907803B2 JP 35332097 A JP35332097 A JP 35332097A JP 35332097 A JP35332097 A JP 35332097A JP 2907803 B2 JP2907803 B2 JP 2907803B2
Authority
JP
Japan
Prior art keywords
paper
printing
line
skew
sheet
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
JP35332097A
Other languages
Japanese (ja)
Other versions
JPH10157880A (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.)
PII EFU YUU KK
Original Assignee
PII EFU YUU KK
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 PII EFU YUU KK filed Critical PII EFU YUU KK
Priority to JP35332097A priority Critical patent/JP2907803B2/en
Publication of JPH10157880A publication Critical patent/JPH10157880A/en
Application granted granted Critical
Publication of JP2907803B2 publication Critical patent/JP2907803B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controlling Sheets Or Webs (AREA)
  • Registering, Tensioning, Guiding Webs, And Rollers Therefor (AREA)
  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,プリンタに関し,特
に,高スループットの実現が可能なプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer, and more particularly, to a printer capable of realizing high throughput.

【0002】プリンタに対しては,コンピュータ等の本
体装置の高速性等をいかすために,高いスループットが
要求されることがある。この高スループット化は,現実
に印字ヘッドにより印字をしている時間の短縮を図ると
いう観点からの他に,ある文書の印刷の用意を開始して
から実際に印刷された文書の完成品を手にするまでの総
合的な印刷時間の短縮としてとらえる必要がある。
2. Description of the Related Art A high throughput is sometimes required for a printer in order to take advantage of the high speed of a main unit such as a computer. This high throughput can be achieved not only from the viewpoint of shortening the time actually being printed by the print head, but also by starting preparation of printing of a certain document and then manually obtaining a completed printed document. It is necessary to consider this as a reduction in the overall printing time before the printing.

【0003】[0003]

【従来の技術】スループットを左右する要因の1つに,
プリントヘッドの過熱防止のための制御がある。即ち,
インパクト方式のドットマトリックスプリンタでは,プ
リントヘッドの方式(電磁型,圧電型)やキャリアの形
態(シングルヘッド,マルチヘッド,シャトルヘッド)
にかかわらず,プリントヘッドが過熱することを防ぐた
めにヘッド内部あるいは外部にサーマルセンサーを取り
付け,その温度情報をもとに制御を行っている。一般的
な制御方法は,限界温度を検出したならば1ライン(1
行)を複数回に分けて印字する分割印字方式である。
2. Description of the Related Art One of the factors affecting the throughput is as follows.
There is control to prevent overheating of the printhead. That is,
In the impact type dot matrix printer, the print head type (electromagnetic type, piezoelectric type) and carrier type (single head, multi head, shuttle head)
Regardless, a thermal sensor is installed inside or outside the printhead to prevent the printhead from overheating, and control is performed based on the temperature information. A general control method is to use one line (1
This is a divisional printing method in which a line is printed a plurality of times.

【0004】図20は1行を2回に分けて印字する方式
を示す。プリンタの中央処理装置(CPU)等がサーマ
ルセンサからの検出信号をリードし(S101),その
値が予め定められた限界温度を越えているか否かを調べ
る(S102)。
FIG. 20 shows a method of printing one line divided into two times. The central processing unit (CPU) or the like of the printer reads the detection signal from the thermal sensor (S101) and checks whether the value exceeds a predetermined limit temperature (S102).

【0005】越えている場合,印字のためキャリアモー
タを起動し(S103),まず1/2行について印字し
(S104),一旦キャリアモータを停止した後(S1
05),再びキャリアモータを起動し(S106),残
りの1/2行についての印字を行い(S107),この
後キャリアモータを停止する(S108)。
If it exceeds, the carrier motor is started for printing (S103), printing is performed for 1/2 line first (S104), and the carrier motor is stopped once (S1).
05), the carrier motor is started again (S106), printing is performed for the remaining half line (S107), and then the carrier motor is stopped (S108).

【0006】S102において限界温度を越えていない
場合,キャリアモータを起動し(S109),当該1行
について印字し(S110),キャリアモータを停止す
る(S111)。
If the temperature has not exceeded the limit temperature in S102, the carrier motor is started (S109), printing is performed for the one line (S110), and the carrier motor is stopped (S111).

【0007】この後,印字終了か否かを調べ(S11
2),終了でない場合,改行を行った後(S113),
S101以下をくり返す。終了の場合,処理を終了す
る。また,スループットを左右する他の要因に,罫線文
字の印刷,特にその補間印字のための制御がある。即
ち,図21に示す如く,通常の改行をくり返すのみで
は,縦罫線を印字した際に各行の間に隙間が生じてしま
い連続した罫線とは言い難いものとなる。そこで,通常
の改行の行間部分(補間部)を別に印字するための補間
印字が必要となる。
Thereafter, it is determined whether or not printing is completed (S11).
2) If it is not the end, after performing a line feed (S113),
S101 and subsequent steps are repeated. In the case of termination, the processing ends. Another factor that affects the throughput is the control for printing ruled line characters, especially for the interpolation printing. That is, as shown in FIG. 21, if a normal line break is repeated, a gap is generated between lines when a vertical ruled line is printed, and it is difficult to say that the ruled line is a continuous ruled line. Therefore, it is necessary to perform interpolation printing for separately printing the line spacing part (interpolation part) of a normal line feed.

【0008】図22は罫線文字の印字処理について示
す。まず,ある行についての通常印字を行い(S12
1),罫線文字の有無を調べる(S122)。無い場合
にはそのまま印字を終了するが,有る場合には,ヘッド
の高さ分の改行を行って印字ヘッドを補間部に位置する
ようにし(S123),補間部の印字を行う(S12
4)。これにより,例えば縦罫線のN行目の通常部はS
121で印字され,その下の補間部はS124で印字さ
れる。
FIG. 22 shows a process of printing ruled line characters. First, normal printing is performed for a certain line (S12).
1) Check for the presence or absence of ruled line characters (S122). If there is no print, the printing is terminated as it is. If there is, a line feed corresponding to the height of the head is performed to position the print head at the interpolation unit (S123), and printing by the interpolation unit is performed (S12).
4). Thus, for example, the normal portion of the Nth line of the vertical ruled line is S
It is printed at 121, and the interpolator below it is printed at S124.

【0009】更に,スループットを左右する他の要因
に,総合的な印刷時間という点から見た場合のスキュー
チェックの時間がある。即ち,図23に示す如く,従来
のプリンタは固定の用紙センサしか備えていないため,
プリンタ本体では用紙のスキュー(用紙が斜めに給紙さ
れることによる用紙の辺に対する印字方向の傾斜)を測
定できない。そこで,オペレータが介在して,図24に
示す如くにしてスキューを測定している。
Another factor that affects the throughput is the skew check time in terms of the total printing time. That is, as shown in FIG. 23, the conventional printer has only a fixed paper sensor.
The printer body cannot measure the skew of the paper (the inclination of the printing direction with respect to the side of the paper due to the paper being fed obliquely). Therefore, the skew is measured by an operator as shown in FIG.

【0010】図24において,スキュー測定のための用
紙を給紙し(S131),これに特定のスキューチェッ
クパターン(通常は横罫線)を印刷し(S132),こ
の用紙を排出させる(S133)。この用紙について,
オペレータが目視により(又は所定の測定装置を用いる
ことにより)スキューの有無,程度を判定している。
In FIG. 24, a sheet for skew measurement is fed (S131), a specific skew check pattern (usually a horizontal ruled line) is printed thereon (S132), and the sheet is discharged (S133). About this paper,
The operator visually determines (or uses a predetermined measuring device) whether or not there is a skew and the degree of the skew.

【0011】更に,スループットを左右する他の要因
に,特に連帳用紙を連帳トラクタで引っ張って使用する
場合(引張連帳の場合)の印字位置合わせの時間があ
る。即ち,この場合,図25に示す如くオペレータが印
字位置を改行SW(スイッチ)や用紙送りSWを用いて
目視で合わせている。これは,連帳トラクタに位置合わ
せの機能がないためである。
Another factor that affects the throughput is the time for printing position adjustment particularly when a continuous paper is pulled by a continuous tractor and used (in the case of a tensile continuous paper). That is, in this case, as shown in FIG. 25, the operator visually adjusts the print position using a line feed switch (switch) or a sheet feed switch. This is because the continuous tractor does not have a positioning function.

【0012】図25において,オペレータが用紙セット
SWを押すと(S141),プリンタの通路が開いて連
帳用紙を挿入できる状態となる。そこで,オペレータが
連帳用紙を挿入し連帳トラクタにかける(S142)。
この後,オペレータが改行SW及び用紙送りSWを使っ
て印字位置合わせを行い(S143),位置があったと
ころでプリンタをオンラインとし印刷待ち状態とする
(S144)。
In FIG. 25, when the operator presses the paper set switch (S141), the path of the printer is opened and the continuous paper can be inserted. Then, the operator inserts the continuous form paper and puts it on the continuous form tractor (S142).
Thereafter, the operator performs print position alignment using the line feed SW and the sheet feed SW (S143), and when there is a position, puts the printer online and waits for printing (S144).

【0013】[0013]

【発明が解決しようとする課題】図20に示した処理に
よれば,分割印字時のスループットが非常に悪化すると
いう問題があった。
According to the processing shown in FIG. 20, there is a problem that the throughput at the time of divided printing is extremely deteriorated.

【0014】例えば図20の如く1行を2回に分けると
定められている場合,その行での印字量に拘わらず,一
律に2回の分割印字が行われる。従って,たとえその行
が低デューティの(字数の少ない)行であったとしても
2回に分けて印字が行われる。このため,その行の字数
が1回で印字をしてもヘッドの温度が限界温度を越えな
い程度の字数である場合には,分割印字により(その行
に関しては)スループットが1/2に悪化してしまう。
For example, when it is determined that one line is divided into two as shown in FIG. 20, two divided printings are uniformly performed regardless of the printing amount in that line. Therefore, even if the line is a low-duty (small number of characters) line, printing is performed twice. For this reason, if the number of characters in the line is one and the number of characters does not exceed the limit temperature even when printing is performed, the throughput (for the line) is reduced to half by divided printing. Resulting in.

【0015】また,図22に示した処理によれば,罫線
文字の印字時のスループットが悪化するという問題があ
った。即ち,図22の処理によれば,罫線文字有り(S
122)の場合必ず補間部の印字(S124)が行われ
る。従って,補間部の印字のため,印字時間の合計は,
1行につき,補間部のない場合の2倍となる。
Further, according to the processing shown in FIG. 22, there is a problem that the throughput when printing ruled line characters is deteriorated. That is, according to the processing of FIG.
In the case of 122), printing of the interpolation unit (S124) is always performed. Therefore, the total printing time is
One line is twice as large as the case without the interpolation unit.

【0016】ところで,罫線文字には“─”,“└”,
“┘”,“┴”といったパターン(文字)がある。これ
らの場合には通常の印字のみで足り,下側の補間部の印
字は必要ない。これは,下側へ縦罫線が連続していない
ためである。
Incidentally, ruled line characters include "@", "@",
There are patterns (characters) such as “┘” and “┴”. In these cases, only normal printing is sufficient, and printing of the lower interpolation unit is not required. This is because the vertical ruled lines are not continuous downward.

【0017】このようなパターンの場合にも本来不要な
下側の補間部の印字(空白行を印字することになる)が
必ず行われる。これは,スループットの点から見ると,
最下行の下側でも補間印字を行う分だけスループットを
悪化させていることになる。
In the case of such a pattern as well, the printing of the lower interpolation section (which is to be done by printing a blank line) which is originally unnecessary is always performed. This is, in terms of throughput,
This means that the throughput is degraded by the amount of interpolation printing even on the lower side of the bottom line.

【0018】また,図24に示した手順によれば,オペ
レータが介在する必要があるため総合的な印刷時間の短
縮という点からスループットが悪化するという問題があ
った。
Further, according to the procedure shown in FIG. 24, there is a problem that the throughput is deteriorated from the viewpoint of shortening the total printing time since the operator needs to intervene.

【0019】即ち,プリンタに自動的なスキューチェッ
ク機能がないため,実際に印刷を行い(S132),そ
の結果を目視等により判定しなければならない(S13
4)。このため,印刷開始前のスキューチェックのため
に相当の時間を必要としていた。従って,スキューチェ
ックの時間も含めた総合的な印刷時間が長くなってしま
い,スループットを悪化させていた。
That is, since the printer does not have an automatic skew check function, printing is actually performed (S132), and the result must be visually determined (S13).
4). For this reason, a considerable amount of time is required for a skew check before starting printing. Therefore, the total printing time including the time of the skew check becomes long, and the throughput is deteriorated.

【0020】なお,この手順によれば,各ステップにオ
ペレータが介在する必要があるため,オペレータにとっ
ては大変煩わしい作業であった。また,実際に印刷をす
る必要があるため,その分の用紙が無駄になるという問
題もあった。また,目視によるため,スキューの検出も
れが発生することもあり,そのまま印刷をしてしまう場
合もあった。
According to this procedure, an operator is required to intervene in each step, which is very troublesome for the operator. In addition, there is also a problem that the printing is actually wasted, so that the paper is wasted. In addition, since the skew is missed due to visual observation, printing may be performed as it is.

【0021】更に,図25に示した手順によれば,オペ
レータが目視により印字位置合わせをする必要があるた
め,総合的な印刷時間の短縮という点からスループット
が悪化するという問題があった。
Further, according to the procedure shown in FIG. 25, since the operator needs to visually adjust the printing position, there is a problem that the throughput is deteriorated in terms of shortening the overall printing time.

【0022】即ち,連帳トラクタに位置合わせの機能が
ないため,オペレータがスイッチ操作により位置合わせ
をしなければならない(S143)。このため,印刷開
始前の位置合わせのために相当の時間を必要としてい
た。従って,この時間も含めた総合的な印刷時間が長く
なってしまい,スループットを悪化させていた。
That is, since the continuous tractor does not have a positioning function, the operator must perform positioning by operating a switch (S143). For this reason, a considerable amount of time is required for alignment before starting printing. Therefore, the total printing time including this time becomes long, and the throughput is deteriorated.

【0023】なお,この手順によれば,印字位置合わせ
をスイッチ操作で目視により行うため,オペレータにと
っては大変煩わしい作業であった。また,目視によるた
め,印字位置のズレが生じることがあり,そのまま印刷
をしてしまう場合もあった。
According to this procedure, since the printing position is adjusted visually by operating the switch, the operation is very troublesome for the operator. In addition, since the printing position is displaced due to visual observation, printing may be performed as it is.

【0024】本発明は,スループットを向上させること
の可能なプリンタを提供することを目的とする。また,
本発明は,プリンタにおいて自動的にスキューチェック
を行うことが可能なプリンタを提供することを目的とす
る。
An object of the present invention is to provide a printer capable of improving the throughput. Also,
SUMMARY OF THE INVENTION An object of the present invention is to provide a printer capable of automatically performing a skew check in the printer.

【0025】[0025]

【課題を解決するための手段】図1は本発明の原理構成
図であり,本発明によるプリンタを示す。このプリンタ
は,印字ヘッド7の温度をサーマルセンサ6で検出し,
この検出出力に基づいて前記印字ヘッド7による印字を
制御する機能を有し,このために,サーマルセンサ6の
検出出力を制御量とし,予め定められた限界温度と検出
出力との差を偏差とし,単位時間当たりの印字ドット数
を操作量とした比例制御を行う印字量処理部2を有す
る。
FIG. 1 is a block diagram showing the principle of the present invention, and shows a printer according to the present invention. In this printer, the temperature of the print head 7 is detected by the thermal sensor 6,
It has a function of controlling printing by the print head 7 based on this detection output. For this purpose, the detection output of the thermal sensor 6 is used as a control amount, and the difference between a predetermined limit temperature and the detection output is used as a deviation. And a print amount processing unit 2 that performs proportional control using the number of print dots per unit time as an operation amount.

【0026】印字量処理部2は,前記偏差を求め,この
偏差と所定の比例定数との積に所定の定数を加えて前記
操作量を求め,1行中の総印字ドット数を求め,前記操
作量及び総印字ドット数から当該行の動作時間及びキャ
リア休止時間を決定する。
The print amount processing unit 2 obtains the deviation, adds a predetermined constant to a product of the deviation and a predetermined proportional constant, obtains the operation amount, obtains the total number of print dots in one line, The operation time and the carrier pause time of the line are determined from the operation amount and the total number of print dots.

【0027】また,このプリンタは,罫線文字が存在す
る場合に補間部の印字を行う機能を有し,このために,
罫線文字のパターンに応じて補間部の印字の要否を決定
する罫線補間処理部3を有する。
Further, this printer has a function of performing printing of an interpolation unit when a ruled line character exists.
The image processing apparatus includes a ruled line interpolation processing unit 3 that determines whether or not printing by the interpolation unit is necessary according to the pattern of the ruled line characters.

【0028】罫線補間処理部3は,罫線文字のパターン
についてその縦方向の最後のドットに印字すべきデータ
が存在するかを調べ,存在する場合に補間部の印字を行
い,存在しない場合に補間部の印字を省略する。
The ruled line interpolation processing unit 3 checks whether there is data to be printed on the last dot in the vertical direction of the ruled line character pattern, and if there is, prints the interpolation unit. The printing of the copy is omitted.

【0029】また,このプリンタは,所定のモータによ
り給紙された用紙についてのスキューを自動的に求める
機能を有し,このために,用紙の位置を検出するセンサ
であって,用紙の幅方向に移動可能とされた少なくとも
1つの可動センサ15と,スキューを求めるスキュー処
理部4とを有する。
This printer has a function of automatically obtaining the skew of the paper fed by a predetermined motor. For this purpose, a sensor for detecting the position of the paper is provided. And a skew processing unit 4 for obtaining a skew.

【0030】スキュー処理部4は,可動センサ15を所
定方向に移動させて用紙の幅方向の一端において用紙を
検出させ,この検出時の所定のモータの回転角を求め,
用紙の幅方向の他端において可動センサ15又は他のセ
ンサ(14)により用紙を検出した時の所定のモータの
回転角を求め,前記2つの回転角の差からスキューを求
める。
The skew processing section 4 moves the movable sensor 15 in a predetermined direction to detect a sheet at one end in the width direction of the sheet, and obtains a predetermined motor rotation angle at the time of this detection.
At the other end in the width direction of the sheet, the rotation angle of a predetermined motor when the sheet is detected by the movable sensor 15 or another sensor (14) is obtained, and the skew is obtained from the difference between the two rotation angles.

【0031】更に,このプリンタは,連帳用紙を連帳ト
ラクタ30で引っ張って連帳用紙を搬送し印字する機能
を有し,更に,この印字の際に連帳用紙を所定位置に自
動的に位置合わせする機能を有する。
Further, the printer has a function of pulling the continuous form paper by the continuous form tractor 30 to convey and print the continuous form paper. Further, at the time of this printing, the continuous form paper is automatically placed at a predetermined position. It has the function of positioning.

【0032】このために,このプリンタは,連帳用紙の
位置を検出するセンサ34と,連帳用紙の所定位置を記
憶する不揮発性メモリ16と,連帳トラクタ30にかけ
られた連帳用紙の位置を所定位置に合わせる引張連帳位
置合せ処理部5とを有する。
For this purpose, the printer includes a sensor 34 for detecting the position of the continuous form paper, the non-volatile memory 16 for storing a predetermined position of the continuous form paper, and the position of the continuous form paper applied to the continuous form tractor 30. To a predetermined position.

【0033】引張連帳位置合せ処理部5は,最初に,セ
ンサ34の検出出力を用いて連帳用紙の所定位置を求め
てこれを不揮発性メモリ16に記憶し,次に,連帳トラ
クタ30に連帳用紙がかけられた場合に,不揮発性メモ
リ16内の所定位置に,当該連帳用紙の位置を,センサ
34の検出出力を用いて合わせる。
First, the tension continuous sheet registration processing unit 5 obtains a predetermined position of the continuous form paper using the detection output of the sensor 34 and stores it in the non-volatile memory 16. When the continuous form paper is placed on the non-volatile memory 16, the position of the continuous form paper is adjusted using the detection output of the sensor 34.

【0034】[0034]

【作用】印字量処理部2は,比例積分制御により,単位
時間あたりの印字ドット数(操作量)を,印字ヘッド7
の温度に応じて変化させる。この操作量は,キャリアの
移動速度を遅くしたりキャリアの停止時に休み時間を設
けたりすることで変化させることができる。操作量は現
在の偏差によって得られる限界温度に至らないMAXデ
ューティであるとも言える。しかがって,本発明では,
低デューティのラインでも一律分割印字に入るというこ
とはなく,操作量を単位時間当たりの印字ドット数とし
ているのでスループットの低下を防止でき,全体として
スループットを向上することができる。
The print amount processing unit 2 determines the number of print dots per unit time (operation amount) by the proportional integration control, and prints the print head 7.
Is varied according to the temperature of This operation amount can be changed by reducing the moving speed of the carrier or providing a rest time when the carrier stops. It can be said that the manipulated variable is a MAX duty that does not reach the limit temperature obtained by the current deviation. Therefore, in the present invention,
Even in the case of a low-duty line, the printing does not always enter the divisional printing, and the operation amount is set to the number of printing dots per unit time. Therefore, a decrease in throughput can be prevented, and the overall throughput can be improved.

【0035】罫線補間処理部3は,罫線文字のパターン
において,“─”,“└”等の如く縦方向の最後のドッ
トに印字データがない場合,補間部の印字を省略する。
従って,下側への補間が不要な場合にこれを省略できる
ので,この分スループットを向上でき,一方,縦罫線が
破線となってしまうことを防止できる。
The ruled line interpolation processing unit 3 omits printing by the interpolation unit when there is no print data in the last dot in the vertical direction, such as “─” or “└”, in the ruled line character pattern.
Therefore, when the interpolation to the lower side is unnecessary, this can be omitted, so that the throughput can be improved by that much, and on the other hand, the vertical ruled line can be prevented from becoming a broken line.

【0036】スキュー処理部4は,可動センサ15を用
いることにより,用紙の幅方向の一端及び他端において
当該用紙を検出することができる。そして,この検出時
のモータの回転角から検出時の用紙の位置を知り,これ
からスキューを求めることができる。
By using the movable sensor 15, the skew processing section 4 can detect the sheet at one end and the other end in the width direction of the sheet. The position of the sheet at the time of detection is known from the rotation angle of the motor at the time of this detection, and the skew can be obtained from this.

【0037】従って,スキューチェックをプリンタにお
いて自動的に行い得るので,そのための時間を大幅に短
縮でき,総合的な印刷時間という点から見てスループッ
トを向上させることができる。また,オペレータの介在
を不要にできるので,オペレータの負担を軽減できる。
また,スキューチェックのための印字を不要にできるの
で,用紙の無駄を防止できる。更に,スキューの検出も
れは生じ得ないので,スキューのあるまま印刷をしてし
まうことを防止できる。
Accordingly, since the skew check can be automatically performed in the printer, the time for the skew check can be greatly reduced, and the throughput can be improved in terms of the total printing time. In addition, since the need for operator intervention is eliminated, the burden on the operator can be reduced.
Further, since printing for skew check can be omitted, waste of paper can be prevented. Further, since no skew can be detected, it is possible to prevent printing with skew.

【0038】引張連帳位置合せ処理部5は,最初に,オ
ペレータにより連帳用紙が所定位置に位置合わせされた
時,これを不揮発性メモリ16に記憶する。そして,次
にオペレータにより連帳用紙が連帳トラクタ30にかけ
られた時,先に記憶した所定位置に当該連帳用紙の位置
を合わせる。
When the operator first aligns the continuous form paper at a predetermined position, the tension serializer registration processing unit 5 stores this in the nonvolatile memory 16. The next time the operator places the continuous form paper on the continuous form tractor 30, the position of the continuous form paper is adjusted to the previously stored predetermined position.

【0039】従って,オペレータは1度だけ位置合わせ
をするのみでよく,次回からはプリンタにおいて自動的
に位置合わせがされるので,そのための時間を大幅に短
縮でき,総合的な印刷時間という点からスループットを
向上させることができる。また,オペレータの負担も軽
減でき,位置合わせズレの発生も防止できる。
Therefore, the operator only needs to perform the positioning once, and the printer automatically performs the positioning from the next time, so that the time required for the positioning can be greatly reduced and the total printing time can be reduced. Throughput can be improved. Further, the burden on the operator can be reduced, and the occurrence of misalignment can be prevented.

【0040】[0040]

【実施例】最初に,便宜上図2を参照して,プリンタの
概略について説明する。図2において,一点鎖線は単票
の流れを示し,点線は連帳の流れを示している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, an outline of a printer will be described with reference to FIG. 2 for convenience. In FIG. 2, the dashed line indicates the flow of the cut, and the dotted line indicates the flow of the continuous form.

【0041】単票は,ホッパ22に用意され,印字ヘッ
ド7下へ給紙されて印刷された後,スタッカ29に排出
される。このプリンタは,用紙の搬送処理については,
2つの駆動系又はモータを有する。給紙用モータ12
は,ピックローラ23及びインサータローラ24を駆動
する。LF(改行)用モータ10は,プラテン25,イ
ンサータローラ27,排出ローラ28(及び連帳トラク
タ30)を駆動する。
The cut sheet is prepared in the hopper 22, fed under the print head 7, printed, and then discharged to the stacker 29. This printer uses paper transport processing.
It has two drive systems or motors. Paper feed motor 12
Drives the pick roller 23 and the inserter roller 24. The LF (line feed) motor 10 drives a platen 25, an inserter roller 27, a discharge roller 28 (and a continuous tractor 30).

【0042】単票は,給紙用モータ12により駆動され
るピックローラ23でピックアップされ,インサータロ
ーラ24へ送られる。そして,インサータローラ24に
より,印字ヘッド7下(印字ヘッド7とプラテン25と
の間)に給紙される。更に,印字ヘッド7により印字が
行われる。この時,LF用モータ10及び給紙用モータ
12によって駆動されるプラテン25及び2対のローラ
24,27に従って,単票が,印字タイミングに合わせ
て改行される。印字の終了後,単票は,一対のインサー
タローラ27を介して,一対の排出ローラ28からスタ
ッカ29へ排出される。インサータローラ27及び排出
ローラ28は,LF用モータ10によって駆動される。
The cut sheet is picked up by a pick roller 23 driven by the paper feed motor 12 and sent to an inserter roller 24. Then, the paper is fed under the print head 7 (between the print head 7 and the platen 25) by the inserter roller 24. Further, printing is performed by the print head 7. At this time, a cut line feed is started in line with the printing timing according to the platen 25 and the two pairs of rollers 24 and 27 driven by the LF motor 10 and the paper feeding motor 12. After the printing is completed, the cut sheet is discharged from the pair of discharge rollers 28 to the stacker 29 via the pair of inserter rollers 27. The inserter roller 27 and the discharge roller 28 are driven by the LF motor 10.

【0043】連帳は,例えば押込み連帳モードである場
合,LF用モータ10により駆動される連帳トラクタ3
0からインサータローラ27を通してプラテン25へ送
られる。そして,印字ヘッド7による印字の後,インサ
ータローラ24により排出される。従って,押込み連帳
モードの場合,連帳は図中矢印Aの方向へ搬送される。
この点,ホッパ22からスタッカ29へ搬送される単票
とは逆方向の動きとなる。
For example, in the case of the press-in continuous mode, the continuous form tractor 3 driven by the LF motor 10 is used.
From 0, it is sent to the platen 25 through the inserter roller 27. Then, after printing by the print head 7, the print head 7 discharges the paper by the inserter roller 24. Therefore, in the case of the press-in continuous mode, the continuous form is transported in the direction of arrow A in the figure.
At this point, the movement is in the direction opposite to the direction of the single sheet conveyed from the hopper 22 to the stacker 29.

【0044】また,引張り連帳モードである場合,連帳
は押込み連帳モードと同じ経路を逆に搬送される。即
ち,図中矢印Bの方向へ搬送される。引張り連帳モード
の場合,連帳用紙はオペレータによって連帳トラクタ3
0にかけられ,連帳トラクタ30により引っ張られるこ
とにより搬送される。
In the case of the pulling continuous mode, the continuous form is conveyed in the reverse direction along the same route as the press continuous mode. That is, it is transported in the direction of arrow B in the figure. In the case of the pulling continuous mode, the continuous form is supplied to the continuous tractor 3 by the operator.
It is transported by being multiplied by zero and pulled by the continuous tractor 30.

【0045】用紙の位置を検出するための用紙センサ3
1乃至34が図示の如き位置に設けられる。用紙センサ
31は,ピックローラ23の直後に設けられ,主にホッ
パの紙無しの検出やピックアップした単票が正しく(用
紙ジャムの発生等無しで)送られているかを検出する。
Paper sensor 3 for detecting the position of the paper
1 to 34 are provided at positions as shown. The paper sensor 31 is provided immediately after the pick roller 23, and mainly detects whether there is no paper in the hopper or whether a picked-up cut sheet is correctly sent (without occurrence of paper jam or the like).

【0046】用紙センサ32及び33は,各々,インサ
ータローラ24の直前及び直後に設けられ,単票の位置
及び連帳の位置を検出する。なお,用紙センサ33は,
図示の如く,インサータローラ24とプラテン25との
間に設けられる。
The paper sensors 32 and 33 are provided immediately before and immediately after the inserter roller 24, respectively, and detect the position of a cut sheet and the position of a continuous form. Note that the paper sensor 33 is
As shown, it is provided between the inserter roller 24 and the platen 25.

【0047】用紙センサ(トラクタセンサ)34は,連
帳トラクタ30の中間位置に設けられ,主に連帳の紙無
しの検出に用いられる。用紙センサ31乃至34は,例
えば反射型センサからなり,用紙の先端が横切るとこれ
を検出しそれまでのロウレベル信号“0”に代えてハイ
レベル信号“1”(又はロウレベル信号)を送出し,用
紙の後端が横切るとこれを検出しそれまでのハイレベル
信号に代えてロウレベル信号(又はハイレベル信号)を
送出する。
The paper sensor (tractor sensor) 34 is provided at an intermediate position of the continuous tractor 30 and is mainly used for detecting absence of paper in the continuous paper. The paper sensors 31 to 34 are, for example, reflection type sensors. When the leading edge of the paper crosses, it detects this and sends a high-level signal "1" (or a low-level signal) instead of the low-level signal "0". When the trailing edge of the sheet crosses, this is detected, and a low-level signal (or high-level signal) is transmitted instead of the high-level signal.

【0048】印字ヘッド(プリントヘッド)7の温度を
検出するためのサーマルセンサ6が,印字ヘッド7に付
着されるように設けられる。サーマルセンサ6は,例え
ばサーミスタからなる。
A thermal sensor 6 for detecting the temperature of the print head (print head) 7 is provided so as to be attached to the print head 7. The thermal sensor 6 is composed of, for example, a thermistor.

【0049】次に,図3を参照して,本実施例のプリン
タの概略について更に説明する。図3において,中央処
理装置(以下,CPU)42は,プログラムROM40
に格納された各種の処理プログラムの実行により,プリ
ンタにおける給紙,印字等の各種の処理を行う。このた
めに,CPU42は入出力回路44を介してコンピュー
タ等の本体装置17(図1参照)との間でデータの送受
信を行い,例えば給紙コマンドや印字データを受け取
る。印字データはRAM41に格納される。また,CP
U42は入出力回路44を介してコンソール18(図1
参照)からのデータを受信する。コンソール18には,
用紙セットスイッチ(SW)等各種の操作スイッチが設
けられる。
Next, the outline of the printer of this embodiment will be further described with reference to FIG. In FIG. 3, a central processing unit (hereinafter, CPU) 42 includes a program ROM 40
By executing various processing programs stored in the printer, various processes such as paper feeding and printing in the printer are performed. To this end, the CPU 42 transmits and receives data to and from the main unit 17 such as a computer (see FIG. 1) via the input / output circuit 44, and receives, for example, a paper feed command and print data. The print data is stored in the RAM 41. Also, CP
U42 is connected via the input / output circuit 44 to the console 18 (FIG. 1).
Data). On the console 18,
Various operation switches such as a paper set switch (SW) are provided.

【0050】CPU42は,給紙コマンド等を受け取る
と,タイマー43をスタートさせて所定の周期でCPU
42への割り込みを発生させ,各コマンド実行のために
必要なモータ駆動回路38を駆動する。これにより,図
示のキャリアモータ35を駆動して印字ヘッド7を搭載
したキャリアを駆動してキャリアを移動させ,また,給
紙用モータ12及びLF用モータ10を駆動して給紙や
改行を行わせる。更に,プリントヘッド駆動回路37を
駆動して印字ヘッド7を叩き必要な印字を行わせる。印
字位置や印字内容等の印字データは,RAM41に格納
されたものがCPU42によって読み出されて用いられ
る。
When the CPU 42 receives a paper feed command or the like, it starts a timer 43 and executes the CPU 43 at a predetermined cycle.
An interrupt to 42 is generated, and the motor drive circuit 38 necessary for executing each command is driven. As a result, the carrier motor 35 shown is driven to drive the carrier on which the print head 7 is mounted to move the carrier, and the paper feeding motor 12 and the LF motor 10 are driven to perform paper feeding and line feed. Let Further, the print head drive circuit 37 is driven to strike the print head 7 to perform necessary printing. As print data such as a print position and print contents, data stored in the RAM 41 is read out and used by the CPU 42.

【0051】印字ヘッド7に設けられたサーマルセンサ
6は分割抵抗と直列接続され電源電位Vccと接地電位と
の間に接続される。これにより,印字ヘッド7の温度変
化に応じてサーマルセンサ6の抵抗値の変化が電圧値の
変化として検出され,ADコンバータ36に入力され
る。CPU42は,ADコンバータでデジタル値に変換
されたサーマルセンサ6の検出出力をRAM41に格納
し,所定の処理に用いる。
The thermal sensor 6 provided on the print head 7 is connected in series with the dividing resistor, and is connected between the power supply potential Vcc and the ground potential. As a result, a change in the resistance value of the thermal sensor 6 according to a change in the temperature of the print head 7 is detected as a change in the voltage value, and is input to the AD converter 36. The CPU 42 stores the detection output of the thermal sensor 6 converted into a digital value by the AD converter in the RAM 41 and uses it in a predetermined process.

【0052】固定センサ14及び可動センサ15は,一
対となって,用紙センサ31乃至34を構成する。固定
センサ14及び可動センサ15からの信号はセンサ入力
処理回路39に入力される。CPU42は,センサ入力
処理回路39で所定の処理がされた各センサ14及び1
5の検出出力を,RAM41に格納し,所定の処理に用
いる。
The fixed sensor 14 and the movable sensor 15 form a pair and constitute paper sensors 31 to 34. Signals from the fixed sensor 14 and the movable sensor 15 are input to a sensor input processing circuit 39. The CPU 42 controls each of the sensors 14 and 1 that have been subjected to predetermined processing by the sensor input processing circuit 39.
The detection output of No. 5 is stored in the RAM 41 and used for predetermined processing.

【0053】不揮発性メモリ16は,例えばEEPRO
Mからなり,CPU42により用紙(連帳用紙)の所定
位置を示すデータが書き込まれる。なお,不揮発性メモ
リ16は磁気ディスク等の外部記憶装置であってもよ
い。
The nonvolatile memory 16 is, for example, an EEPROM.
The CPU 42 writes data indicating a predetermined position of a sheet (continuous sheet). Note that the nonvolatile memory 16 may be an external storage device such as a magnetic disk.

【0054】次に,図2及び図3を参照しつつ図1のプ
リンタについて説明する。この説明では適宜図4乃至図
19が参照される。図1において,処理装置1は,CP
U42と,プログラムROM40やデータ格納用のRA
M41等を含むメモリとからなる。処理装置1には,コ
ンソール18及び本体装置17が接続される。コンソー
ル18は,処理についての指示入力のために用いられ,
これを処理装置1へ送る。本体装置17は,プリンタ,
即ち処理装置1に対して印刷処理を依頼し,給紙コマン
ド等を送る。
Next, the printer of FIG. 1 will be described with reference to FIGS. In this description, FIGS. 4 to 19 are appropriately referred to. In FIG. 1, a processing device 1 includes a CP.
U42, a program ROM 40 and an RA for storing data.
And a memory including M41 and the like. A console 18 and a main unit 17 are connected to the processing device 1. The console 18 is used for inputting instructions for processing,
This is sent to the processing device 1. The main unit 17 is a printer,
That is, it requests the processing device 1 for a printing process and sends a paper feed command or the like.

【0055】印字制御部9は,印字ヘッド7及びCRモ
ータ8等を制御する。CRモータ8は,印字ヘッド7の
取り付けられたキャリアの駆動のためのモータである。
改行制御部11は,LF用モータ10を制御し,印字タ
イミングに合わせた改行を行う。給紙制御部13は,給
紙用モータ12を制御して給紙を行う。これらの制御
は,処理装置1からの指示に従って行われる。
The print controller 9 controls the print head 7, the CR motor 8, and the like. The CR motor 8 is a motor for driving the carrier on which the print head 7 is mounted.
The line feed control unit 11 controls the LF motor 10 and performs a line feed in accordance with print timing. The paper feed controller 13 controls the paper feed motor 12 to feed paper. These controls are performed in accordance with instructions from the processing device 1.

【0056】処理装置1はプリンタ全体の制御を行う。
例えば,本体装置17から給紙コマンドを受け取ると,
給紙制御部13を介して給紙用モータ12を駆動して,
単票を印字ヘッド7下まで給紙する。改行コマンドを受
け取ると,改行制御部11を介してLF用モータ10を
駆動して,印字位置までの改行を行う。印字コマンドを
受け取ると,印字制御部9を介してCRモータ8を駆動
してキャリアを移動させ印字ヘッド7による印字を行
う。
The processing device 1 controls the entire printer.
For example, when a paper feed command is received from the main unit 17,
By driving the paper feed motor 12 via the paper feed control unit 13,
The cut sheet is fed to a position below the print head 7. When the line feed command is received, the LF motor 10 is driven via the line feed control unit 11 to perform a line feed up to the print position. When a print command is received, the CR motor 8 is driven via the print control unit 9 to move the carrier and perform printing by the print head 7.

【0057】処理装置1は,この印字処理においてその
印字量を制御して印字ヘッド7の温度が限界温度以上と
なるのを防止し,罫線文字についての補間印字の省略を
行う。また,処理装置1は,給紙処理に先立って,スキ
ューの有無のチェックを行う。更に,処理装置1は,引
張連帳モードにおける印字処理に先立って,給紙された
連帳の位置合わせを行う。
The processor 1 controls the amount of printing in this printing process to prevent the temperature of the print head 7 from exceeding the limit temperature, and to omit interpolation printing for ruled line characters. Further, the processing device 1 checks for the presence or absence of skew prior to the sheet feeding process. Further, the processing apparatus 1 performs the alignment of the fed continuous paper prior to the printing processing in the tensile continuous paper mode.

【0058】印字量の制御は印字量処理部2が行う。印
字量処理部2は,CPU42と,プログラムROM40
上の印字量制御処理プログラムとによって実現される。
以下,図4乃至図8により,印字量処理部2の行う処理
について説明する。
The printing amount is controlled by the printing amount processing unit 2. The print amount processing unit 2 includes a CPU 42 and a program ROM 40
This is realized by the above print amount control processing program.
Hereinafter, the processing performed by the print amount processing unit 2 will be described with reference to FIGS.

【0059】印字量処理部2は,操作量(印字ドット数
/印字動作時間)Uについて,式U=Kp ・e+aによ
り制御する。ここで,Kp は比例定数,eは偏差,aは
定数である。偏差eは,e=(限界温度)−(現在の印
字ヘッド7の温度)により求まる。
The print amount processing unit 2 controls the operation amount (number of print dots / print operation time) U by the equation U = K p · e + a. Here, Kp is a proportional constant, e is a deviation, and a is a constant. The deviation e is obtained by e = (limit temperature) − (current temperature of the print head 7).

【0060】限界温度はプリンタの特性として予め定ま
る。現在の印字ヘッド7の温度は,サーマルセンサ6の
検出出力から求まる。例えば,検出出力(ADコンバー
タ36の出力)を用いて予め用意されたテーブルを検索
し,検出出力(電圧値)に対応した温度を求める。以上
により偏差eが求まる。比例定数Kp 及び定数aはプリ
ンタの特性として経験的に予め求められる。従って,操
作量Uは,サーマルセンサ6の検出出力に応じて一意に
定まる。
The limit temperature is predetermined as a characteristic of the printer. The current temperature of the print head 7 is obtained from the detection output of the thermal sensor 6. For example, a table prepared in advance is searched using the detection output (output of the AD converter 36), and a temperature corresponding to the detection output (voltage value) is obtained. Thus, the deviation e is obtained. The proportional constant Kp and the constant a are empirically obtained in advance as characteristics of the printer. Therefore, the operation amount U is uniquely determined according to the detection output of the thermal sensor 6.

【0061】操作量Uにおいて,印字ドット数(1行中
の総印字ドット数)は,RAM41上の印字データから
求まる。従って,これらから印字動作時間が求まる。印
字動作時間は,1行におけるキャリアの動作時間tと,
キャリアの休止時間tαとの和である。動作時間tはプ
リンタの性能の1つとして定められている。即ち,1行
の全ての文字を印字する時の動作時間tは予め定まって
いる。従って,これから休止時間tαが定まる。
For the operation amount U, the number of print dots (the total number of print dots in one line) is obtained from the print data on the RAM 41. Therefore, the printing operation time is obtained from these. The printing operation time is determined by the operation time t of the carrier in one line,
This is the sum with the rest time tα of the carrier. The operation time t is determined as one of the performances of the printer. That is, the operation time t when printing all the characters in one line is predetermined. Therefore, the pause time tα is determined from this.

【0062】以上の如く,印字量処理部2の行う処理
は,サーマルセンサ6の検出出力を用いて休止時間tα
を伸縮することにより,印字ヘッド7の温度を調整する
ものである。
As described above, the processing performed by the print amount processing unit 2 uses the detection output of the thermal sensor 6 to calculate the pause time tα.
The temperature of the print head 7 is adjusted by expanding / contracting.

【0063】この処理により,図4に一点鎖線で示す如
く,印字ヘッド7の温度(サーマルセンサ6の温度)は
印字時間の経過と共に限界温度に近づき,限界温度を越
えない範囲でこれに極めて近い温度を保つ。即ち,この
ような温度の時間変化となるように,操作量Uに基づき
制御される。この結果,図5に一点鎖線で示す如く,印
字行数はほぼ印字時間に比例して増加する。
As a result of this processing, the temperature of the print head 7 (the temperature of the thermal sensor 6) approaches the limit temperature as the printing time elapses, as shown by the alternate long and short dash line in FIG. Keep the temperature. That is, the temperature is controlled based on the operation amount U so that the temperature changes over time. As a result, the number of printing lines increases substantially in proportion to the printing time, as indicated by the dashed line in FIG.

【0064】なお,図4に実線で示す如く,従来は分割
印字により限界温度から回復温度まで温度が低下するの
を待つ制御が行われる結果,図5に実線で示す如く,印
字行数と印字時間との関係は比例せず,印字時間が長く
なると共に印字行数(スループット)が低下する。
In addition, as shown by the solid line in FIG. 4, conventionally, control is performed to wait for the temperature to decrease from the limit temperature to the recovery temperature by divisional printing. As a result, as shown by the solid line in FIG. The relationship with time is not proportional, and the printing time increases and the number of printing lines (throughput) decreases.

【0065】印字量の制御について,図6及び図7によ
り具体的に説明する。1文字が24ドット(縦)×24
ドット(横)である文字を1行あたり90文字印字でき
るプリンタを考える。簡単のため,印字速度は1つのみ
とする。
The control of the print amount will be specifically described with reference to FIGS. One character is 24 dots (vertical) x 24
Consider a printer that can print 90 characters per line for dots (horizontal) characters. For simplicity, only one printing speed is assumed.

【0066】更に,図6に示す如く,キャリアの加速時
間を100mS,90文字の印字時間を720mS(従
って1文字では8mS),キャリアの減速時間を100
mS,改行時間を80mSとする。従って,90文字を
全て印字する時の動作時間は1秒となる。
Further, as shown in FIG. 6, the acceleration time of the carrier is 100 mS, the printing time of 90 characters is 720 mS (accordingly, 8 mS for one character), and the deceleration time of the carrier is 100 mS.
mS, and the line feed time is 80 mS. Therefore, the operation time for printing all 90 characters is 1 second.

【0067】このようなプリンタにおいて,印字量処理
部2による処理を開始する温度(比例制御開始温度)T
p を150℃,限界温度Tmax を180℃,比例定数K
p を216,定数aを6480とする。
In such a printer, the temperature (proportional control start temperature) T at which processing by the print amount processing unit 2 is started
p is 150 ° C, limit temperature T max is 180 ° C, proportionality constant K
Let p be 216 and the constant a be 6480.

【0068】以上の条件下,図7に示す(A)又は
(B)の文字パターンを印字するものとする。(A)及
び(B)のパターンは,各々,6ドット及び3ドットの
幅の縦線を,1文字として印字するパターンである。従
って,(A)の印字量は,(B)の2倍となる。
Under the above conditions, the character pattern (A) or (B) shown in FIG. 7 is printed. The patterns (A) and (B) are patterns in which a vertical line having a width of 6 dots and 3 dots, respectively, is printed as one character. Therefore, the print amount of (A) is twice as large as (B).

【0069】前述の操作量Uの式に各定数をあてはめる
と,
When each constant is applied to the above-mentioned equation of the manipulated variable U,

【0070】[0070]

【数1】 (Equation 1)

【0071】となる。(B)のパターンについて考え
る。(B)のパターンを90文字(1行全部)印字した
ところ,現在の印字ヘッド7の温度Tが150℃となっ
たとする。これに応じて,
Is obtained. Consider the pattern (B). Assume that the current temperature T of the print head 7 becomes 150 ° C. when 90 characters (all one line) are printed in the pattern (B). In response,

【0072】[0072]

【数2】 (Equation 2)

【0073】によりtαが求まる。ここで,tα=−
0.5であるからtα=0と考えることができる。そこ
で,改行後直ちに次行が印字される。即ち,(B)のパ
ターンを90文字印字する。この結果,温度Tが180
℃となったとする。これに応じて,
## EQU1 ## thereby, tα is obtained. Here, tα = −
Since it is 0.5, it can be considered that tα = 0. Therefore, the next line is printed immediately after the line feed. That is, 90 characters are printed in the pattern of (B). As a result, the temperature T becomes 180
C. In response,

【0074】[0074]

【数3】 (Equation 3)

【0075】によりtα=0が求まる。そこで,更に改
行後直ちに次行が印字される。即ち,(B)のパターン
を90文字印字する。この結果,温度Tが190℃とな
ったとする。これに応じて,
As a result, tα = 0 is obtained. Therefore, the next line is printed immediately after the line feed. That is, 90 characters are printed in the pattern of (B). As a result, the temperature T is assumed to be 190 ° C. In response,

【0076】[0076]

【数4】 (Equation 4)

【0077】によりtα= 0.5が求まる。そこで,改行
後, 0.5秒だけキャリアを停止させ,その後当該行が印
字される。これにより, 結果として温度Tは180℃以
下とされる一方,分割印字を行う場合よりスループット
が高くされる。
As a result, tα = 0.5 is obtained. Therefore, after the line feed, the carrier is stopped for 0.5 seconds, and then the line is printed. As a result, while the temperature T is set to 180 ° C. or lower as a result, the throughput is higher than in the case of performing the divided printing.

【0078】次に,(A)のパターンについて考える。
(A)のパターンを90文字印字したところ,温度Tが
150℃となったとする。これに応じて,
Next, the pattern (A) will be considered.
Assume that the temperature T becomes 150 ° C. when 90 characters are printed on the pattern of FIG. In response,

【0079】[0079]

【数5】 (Equation 5)

【0080】によりtα=0が求まる。そこで,改行後
直ちに次行が印字される。即ち,(A)のパターンを9
0文字印字する。この結果,温度Tが180℃となった
とする。これに応じて,
As a result, tα = 0 is obtained. Therefore, the next line is printed immediately after the line feed. That is, the pattern of FIG.
Prints 0 characters. As a result, it is assumed that the temperature T becomes 180 ° C. In response,

【0081】[0081]

【数6】 (Equation 6)

【0082】によりtα=1が求まる。そこで,改行
後,1秒だけキャリアを停止させ,その後当該行が印字
される。一方,(A)のパターンを45文字だけ印字し
て,この時温度Tが180℃であったとすると,これに
応じて,
As a result, tα = 1 is obtained. Therefore, after the line feed, the carrier is stopped for one second, and then the line is printed. On the other hand, if the pattern of (A) is printed with only 45 characters and the temperature T is 180 ° C. at this time,

【0083】[0083]

【数7】 (Equation 7)

【0084】により,tα=0.36が求まる。なお,動作
時間tも印字データ(文字数)により定まる。そこで,
改行後,0.36秒だけキャリアを停止させ,その後当該行
が印字される。これにより, 結果として温度Tは180
℃以下とされる一方,分割印字を行う場合よりスループ
ットが高くされる。この場合(45文字の印字)と前述
の90文字の印字の場合との比較から,1行の字数が少
ない場合,キャリアの停止時間はより短くできるので,
スループットの改善の効果が大きい。
As a result, tα = 0.36 is obtained. The operation time t is also determined by the print data (the number of characters). Therefore,
After a line feed, the carrier is stopped for 0.36 seconds, and then the line is printed. This results in a temperature T of 180
° C or lower, but the throughput is higher than in the case of performing divided printing. From the comparison between this case (printing of 45 characters) and the printing of 90 characters described above, if the number of characters in one line is small, the carrier stop time can be shortened.
The effect of improving the throughput is great.

【0085】図8は印字量処理部2の行う印字量制御処
理フローを示す。起動されるとサーマルセンサ6の検出
出力(温度T)をリードし(S1),温度Tが比例制御
開始温度Tp 以上かを調べる(S2)。T≧Tp の場
合,偏差eを求め(S3),操作量Uを求め(S4),
印字データから1行中の総印字ドット数を求め(S
5),印字データから1行の動作時間tを求め(S
6),以上から休止時間tαを求める(S7)。
FIG. 8 is a flowchart showing a print amount control process performed by the print amount processing unit 2. When activated, the detection output (temperature T) of the thermal sensor 6 is read (S1), and it is checked whether the temperature T is equal to or higher than the proportional control start temperature Tp (S2). If T ≧ T p , the deviation e is determined (S3), the manipulated variable U is determined (S4),
Obtain the total number of print dots in one line from the print data (S
5) Obtain the operation time t for one line from the print data (S
6) The pause time tα is obtained from the above (S7).

【0086】求めた休止時間tαが“0”以上かを調べ
る(S8)。tα≧0でない場合,tα=0と設定する
(S9)。同様に,S2においてT≧Tp でない場合に
も,S9により,tα=0と設定する。
It is checked whether or not the obtained pause time tα is "0" or more (S8). If tα ≧ 0, tα = 0 is set (S9). Similarly, if T ≧ T p is not satisfied in S2, tα = 0 is set in S9.

【0087】次に,CRモータ8を起動し(S10),
定速となったところで印字データに従った印字処理を行
い(S11),CRモータ8を停止させ(S12),休
止時間tαが経過するのを待つ(S13)。tα=0で
あれば,S13は実質的に省略される。
Next, the CR motor 8 is started (S10),
When the speed becomes constant, the printing process is performed in accordance with the print data (S11), the CR motor 8 is stopped (S12), and the elapse of the pause time tα is waited (S13). If tα = 0, S13 is substantially omitted.

【0088】次に,印字終了かを調べ(S14),終了
であれば処理を終了し,終了でなければ改行を行って
(S15),S1以下をくり返す。罫線補間の制御は罫
線補間処理部3が行う。罫線補間処理部3は,CPU4
2と,プログラムROM40上の罫線補間処理プログラ
ムとによって実現される。以下,図9乃至図11によ
り,罫線補間処理部3の行う処理について説明する。
Next, it is checked whether or not printing is completed (S14). If the printing is completed, the process is terminated. If not, a line feed is performed (S15), and S1 and subsequent steps are repeated. The ruled line interpolation is controlled by the ruled line interpolation processing unit 3. The ruled line interpolation processing unit 3 includes a CPU 4
2 and a ruled line interpolation processing program on the program ROM 40. The processing performed by the ruled line interpolation processing unit 3 will be described below with reference to FIGS.

【0089】罫線補間処理部3は,RAM41上の印字
データを検索し,罫線文字の有無を調べ,有る場合には
更にそのパターンを調べ,その結果に応じて当該罫線文
字の下側への補間印字の要否を決定する。
The ruled line interpolation processing unit 3 searches the print data in the RAM 41 to check for the presence or absence of a ruled line character, and if so, further examines the pattern. Determines whether printing is required.

【0090】図9に示す如く,罫線文字が“+”の如き
文字パターン(縦方向に連続する文字パターン)である
場合,縦方向の最後のドットには必ず印字すべきデータ
が存在する。図示の場合,1文字が24ドット(縦)×
24ドット(横)であり,その縦方向の最後のドット,
即ち,24ドット目には必ず印字データが存在する。
As shown in FIG. 9, when the ruled line character is a character pattern such as "+" (a character pattern that is continuous in the vertical direction), data to be printed always exists in the last dot in the vertical direction. In the case shown, one character is 24 dots (vertical) x
24 dots (horizontal), the last dot in the vertical direction,
That is, print data always exists at the 24th dot.

【0091】一方,罫線文字が“┴”の如き文字パター
ンの場合,図示するまでもなく,縦方向の最後のドット
(24ドット目)に印字すべきデータが存在することは
あり得ない。
On the other hand, if the ruled line character is a character pattern such as "@", there is no data to be printed in the last dot (the 24th dot) in the vertical direction, needless to say.

【0092】そこで,罫線補間処理部3は,印字データ
中の罫線文字についてその縦方向の最後のドットに印字
すべきデータが存在するかを調べ,存在する場合には罫
線を連続させるため下側の補間印字を行い,存在しない
場合には下側の補間印字を省略する。
Therefore, the ruled line interpolation processing unit 3 checks whether or not there is data to be printed in the last dot in the vertical direction of the ruled line character in the print data. , And if there is no interpolation printing, the lower interpolation printing is omitted.

【0093】図9において,“+”の部分(印字部分)
のデータは“1”(ハイレベル)とされ,残りの空白部
分(印字されない部分)のデータは“0”(ロウレベ
ル)とされる。従って,この場合,24ドット目のデー
タが全て“0”(all “0”)か否かを調べることによ
り,印字すべきデータの存在を判別することができる。
In FIG. 9, "+" portion (print portion)
Is set to "1" (high level), and the remaining blank (non-printed) data is set to "0" (low level). Therefore, in this case, the existence of data to be printed can be determined by checking whether or not the data of the 24th dot is all “0” (all “0”).

【0094】本実施例では,補間印字の省略の有無に拘
らず,罫線文字が存在する場合には,通常印字の後印字
ヘッド7の高さ(図21参照)分の改行を行う。これは
以下の理由による。
In this embodiment, regardless of whether interpolation printing is omitted or not, if a ruled line character is present, a line feed corresponding to the height of the print head 7 (see FIG. 21) is performed after normal printing. This is for the following reason.

【0095】図10に示す如く,従来は補間部の印字の
有無の認識をしていないので,罫線文字の通常印字部分
の終了後における印字ヘッド7の位置は補間部分に存在
する(図中左側)。この時,文字データ“ABC”の印
字コマンドがあると,補間部に文字“ABC”が印字さ
れる。これは,例えば下つき文字として使用される。
As shown in FIG. 10, the position of the print head 7 after the end of the normal printing portion of the ruled line character exists in the interpolation portion since the presence or absence of the printing of the interpolation portion has not been conventionally recognized. ). At this time, if there is a print command of character data "ABC", the character "ABC" is printed on the interpolation unit. This is used, for example, as a subscript.

【0096】これに対して,本実施例により補間部の印
字の省略をした場合,印字ヘッド7の高さ分の改行を行
わないとすると,罫線文字の通常印字部分の終了後にお
ける印字ヘッド7の位置は通常印字部分にそのまま存在
する(図中右側)。この時,文字データ“ABC”を印
字すると,通常印字部分に文字“ABC”が印字され
る。
On the other hand, if the printing of the interpolation unit is omitted according to the present embodiment, and if a line feed for the height of the print head 7 is not performed, the print head 7 after the end of the normal printing portion of the ruled line character is obtained. Is present in the normal printing portion as it is (right side in the figure). At this time, if the character data "ABC" is printed, the character "ABC" is printed in the normal printing portion.

【0097】従って,このままでは従来のプリンタとの
互換性が保てず,ユーザの負担となる。そこで,前述の
如く,通常印字後の印字ヘッド7の高さ分の改行を必ず
行う。
Therefore, compatibility with a conventional printer cannot be maintained as it is, and this burdens the user. Therefore, as described above, a line feed corresponding to the height of the print head 7 after normal printing is always performed.

【0098】図11は罫線補間処理部3の行う罫線補間
処理フローを示す。印字データを受信すると,当該印字
行の通常印字部分の印字を行い(S21),罫線文字の
有無を調べる(S22)。
FIG. 11 shows a ruled line interpolation processing flow performed by the ruled line interpolation processing unit 3. Upon receiving the print data, the normal print portion of the print line is printed (S21), and the presence or absence of a ruled line character is checked (S22).

【0099】罫線文字が無い場合,処理を終了する。罫
線文字が有る場合,印字ヘッド7の高さ分の改行を行っ
た後(S23),補間必要フラグをクリアする(S2
4)。以上は前処理である。補間必要フラグは,罫線補
間処理部3の持つフラグであり,CPU42の所定のレ
ジスタの所定のビット(又はRAM41の所定の領域の
所定のビット)が用いられる。
If there is no ruled line character, the process ends. If there is a ruled line character, a line feed corresponding to the height of the print head 7 is performed (S23), and then the interpolation necessary flag is cleared (S2).
4). The above is the pre-processing. The interpolation necessary flag is a flag of the ruled line interpolation processing unit 3 and uses a predetermined bit of a predetermined register of the CPU 42 (or a predetermined bit of a predetermined area of the RAM 41).

【0100】次に,印字データの先頭の文字から順に罫
線文字かを調べ(S25),罫線文字である場合罫線文
字のパターンを検索し(S26),その縦方向の最後の
ドットに印字すべきデータが有るかを調べる(S2
7)。
Next, it is checked in order from the first character of the print data whether it is a ruled line character (S25). If the character is a ruled line character, a pattern of the ruled line character is searched (S26), and printing should be performed on the last dot in the vertical direction. Check whether there is data (S2
7).

【0101】印字すべきデータが有る場合,印字データ
を印字用ドットラインバッファ上の所定の領域に,当該
補間部の印字パターンを展開し(S28),補間必要フ
ラグをセットする(S29),印字用ドットラインバッ
ファとしてはRAM41の一部が用いられる。
If there is data to be printed, the print data is expanded in a predetermined area on the print dot line buffer by the print pattern of the interpolation section (S28), an interpolation necessary flag is set (S29), and printing is performed. A part of the RAM 41 is used as the dot line buffer for use.

【0102】一方,S25において当該文字が罫線文字
でないと判断された場合,S26乃至S29は省略され
る。また,S27において最後のドットに印字すべきデ
ータが無い(all “0”である)と判断された場合,S
28及びS29は省略される。従って,これらの場合,
補間必要フラグはクリアされたままである(セットされ
ない)。
On the other hand, if it is determined in S25 that the character is not a ruled line character, S26 to S29 are omitted. If it is determined in S27 that there is no data to be printed in the last dot (all "0"),
28 and S29 are omitted. Therefore, in these cases,
The interpolation required flag remains cleared (not set).

【0103】次に,当該印字行の最終文字まで検索済み
かを調べ(S30),検索済みでない場合,S25以下
をくり返す。検索済みである場合,補間必要フラグがセ
ットされているかを調べる(S31)。
Next, it is checked whether the last character of the print line has been searched (S30). If not, the process from S25 is repeated. If the search has been completed, it is checked whether the interpolation necessary flag is set (S31).

【0104】セットされている場合,補間部の印字を行
って(S32)処理を終了する。セットされていない場
合,S32を省略して処理を終了する。従って,当該印
字行に罫線文字が有っても,その全ての罫線文字におい
て最後のドットに印字すべきデータが無い場合,S32
の省略により補間部の印字を省略でき,この分スールプ
ットを向上できる。
If it is set, the interpolation section is printed (S32) and the process is terminated. If not set, S32 is omitted and the process ends. Therefore, even if there is a ruled line character in the print line, if there is no data to be printed in the last dot in all the ruled line characters, the process proceeds to S32
The printing of the interpolation unit can be omitted by omitting, and the throughput can be improved accordingly.

【0105】スキューの検出はスキュー処理部4が行
う。スキュー処理部4は,CPU42と,プログラムR
OM40上のスキュー処理プログラムとによって実現さ
れる。以下,図12乃至図16により,スキュー処理部
4の行う処理について説明する。
The skew is detected by the skew processing unit 4. The skew processing unit 4 includes a CPU 42 and a program R
This is realized by a skew processing program on the OM 40. Hereinafter, the processing performed by the skew processing unit 4 will be described with reference to FIGS.

【0106】スキュー処理部4は,固定センサ14及び
可動センサ15の検出出力によりスキューを求める。こ
のため,固定センサ14及び可動センサ15を一組とし
て,用紙センサ33(又は用紙センサ31あるいは3
2)及び用紙センサ34を構成する。前者は単票及び連
帳(引張連帳モード時)のスキューを検出するために用
いられ,後者は連帳(押込連帳モード時)のスキューを
検出するために用いられる。
The skew processing section 4 calculates the skew based on the detection outputs of the fixed sensor 14 and the movable sensor 15. For this reason, the fixed sensor 14 and the movable sensor 15 form a set, and the sheet sensor 33 (or the sheet sensor 31 or 3) is used.
2) and the paper sensor 34. The former is used to detect the skew of a single form and a continuous form (in the tensile continuous mode), and the latter is used to detect the skew of the continuous form (in the push continuous mode).

【0107】図12に示す如く,固定センサ14は用紙
の例えば左端の少し内側となる位置に固定される。可動
センサ15は,用紙の幅方向即ち印字方向(キャリアの
移動方向と平行な方向)に移動可能に設けられ,給紙の
際これに先立って予め用紙の例えば右端の少し内側とな
る位置に移動される。この移動は,例えば給紙コマンド
に対応して,スキュー処理部4が行う。
As shown in FIG. 12, the fixed sensor 14 is fixed at a position slightly inside the left end of the sheet, for example. The movable sensor 15 is provided so as to be movable in the width direction of the paper, that is, in the printing direction (a direction parallel to the moving direction of the carrier), and is moved to a position slightly inside the right end of the paper in advance before the paper is fed. Is done. This movement is performed by the skew processing unit 4 corresponding to, for example, a paper feed command.

【0108】用紙が給紙方向に給紙されその先端が固定
センサ14を横切ると,固定センサ14がこれを検出す
る。この検出時,スキュー処理部4は,その用紙の給紙
のために駆動しているモータ(例えば給紙用モータ1
2)の回転角を調べ,これをRAM41に記憶する。
When the paper is fed in the paper feeding direction and the leading end thereof crosses the fixed sensor 14, the fixed sensor 14 detects this. At the time of this detection, the skew processing unit 4 controls the motor (for example, the paper feeding motor 1) that is driven to feed the paper.
The rotation angle in 2) is checked, and this is stored in the RAM 41.

【0109】ここで,給紙用モータ12等は,パルスモ
ータ(又は直流サーボモータ)からなり,各極に印加さ
れる電圧(励磁相)を順に変化させることにより駆動さ
れる。そこで,前記検出時の励磁相を調べて検出する。
励磁相は当該モータに対応するモータ駆動回路38の状
態を調べることにより容易に求まる。
Here, the paper feeding motor 12 and the like are composed of a pulse motor (or a DC servo motor) and are driven by sequentially changing the voltage (excitation phase) applied to each pole. Therefore, the excitation phase at the time of the detection is checked and detected.
The excitation phase can be easily obtained by checking the state of the motor drive circuit 38 corresponding to the motor.

【0110】同様に,用紙が可動センサ15を横切った
時の給紙用モータ12の励磁相(回転角)もRAM41
に記憶される。なお,便宜上,用紙の左端の検出時の回
転角を左端回転角,右端の検出時の回転角を右端回転角
ということにする。
Similarly, the excitation phase (rotation angle) of the paper feed motor 12 when the paper crosses the movable sensor 15 is also determined by the RAM 41.
Is stored. For convenience, the rotation angle when detecting the left end of the sheet is referred to as the left end rotation angle, and the rotation angle when detecting the right end is referred to as the right end rotation angle.

【0111】スキュー処理部4は,RAM41上の左端
及び右端回転角の差を調べ,スキューを求める。即ち,
スキューがなければ,両者の差は“0”である。逆に,
両者の差が少しでもあれば,スキューが存在することが
判る。
The skew processing section 4 checks the difference between the left end and right end rotation angles on the RAM 41 to determine the skew. That is,
If there is no skew, the difference between them is "0". vice versa,
If there is any difference between the two, it is known that skew exists.

【0112】ここで,プリンタは1行(例えば1/6イ
ンチ)分の改行のために数十回の励磁相のインクリメン
トを行う。従って,本実施例によれば,1行の数十分の
1の精度という極めて高い精度でスキューを検出でき
る。
Here, the printer increments the excitation phase several tens of times for a line feed of one line (for example, 1/6 inch). Therefore, according to the present embodiment, the skew can be detected with extremely high accuracy of an accuracy of several tenths of one row.

【0113】更に,本実施例によれば,スキューチェッ
クパターンを印刷する必要がなく手順を短縮できる。紙
の先端を検出するだけなので印刷された紙を使用でき,
また,同じ紙を複数回使用できるので紙の節約になる。
また,同じ紙を複数回使用できるため,スキューを発生
させた紙で現象を再現させることができる。また,給紙
時にスキューを検出できるため,本体装置17にエラー
を返して業務を中断させ再度給紙することができる。
Further, according to this embodiment, it is not necessary to print a skew check pattern, and the procedure can be shortened. Since only the leading edge of the paper is detected, printed paper can be used.
Also, the same paper can be used a plurality of times, thereby saving paper.
Further, since the same paper can be used a plurality of times, the phenomenon can be reproduced on the paper on which the skew has occurred. Further, since skew can be detected at the time of paper feeding, it is possible to return an error to the main unit 17 to interrupt the job and feed the paper again.

【0114】図12の例は固定センサ14と可動センサ
15とを1組として,これらを用いてスキューを求める
例であるが,可動センサ15を1個のみ又は2個用いる
ことによっても同様にスキューを求めることができる。
The example shown in FIG. 12 is an example in which the skew is obtained by using the fixed sensor 14 and the movable sensor 15 as a set, and the skew is similarly obtained by using only one or two movable sensors 15. Can be requested.

【0115】図13は1個の可動センサ15のみを用い
たスキュー検出の例を示す。図13(A)の場合,可動
センサ15が1個のみであるので,給紙の際これに先立
って予め用紙の例えば左端の少し内側となる位置に移動
される。そして,まず,用紙がこの位置の可動センサ1
5を横切った時,左端回転角を求める。
FIG. 13 shows an example of skew detection using only one movable sensor 15. In the case of FIG. 13A, since there is only one movable sensor 15, the sheet is moved to a position slightly inside, for example, the left end of the sheet before feeding the sheet. Then, first, the sheet is moved to the movable sensor 1 at this position.
When crossing 5, calculate the left end rotation angle.

【0116】この後,可動センサ15は,給紙方向及び
印字方向に順に(又はこの逆の順で)各々所定の距離だ
け移動させ,用紙の右端の少し内側となる位置とする。
そして,用紙がこの位置の可動センサ15を横切った
時,右端回転角を求める。
Thereafter, the movable sensor 15 is sequentially moved by a predetermined distance in the paper feeding direction and the printing direction (or vice versa) to a position slightly inside the right end of the paper.
When the paper crosses the movable sensor 15 at this position, the right end rotation angle is obtained.

【0117】この場合,スキューは,例えば右端回転角
から,左端回転角及び給紙方向に可動センサ15を移動
した距離(これに相当する回転角)を差引くことによっ
て求められる。可動センサ15の給紙方向の移動距離
は,予め正確に定めることが可能であるので,スキュー
の検出に影響はない。
In this case, the skew is obtained by, for example, subtracting the left-end rotation angle and the distance moved by the movable sensor 15 in the sheet feeding direction (the corresponding rotation angle) from the right-end rotation angle. Since the moving distance of the movable sensor 15 in the paper feeding direction can be accurately determined in advance, it does not affect the skew detection.

【0118】図13(B)の場合,可動センサ15の移
動方向を図示の如く印字方向(及び給紙方向)に対して
斜めになるようにした例である。この場合,可動センサ
15の移動方向が1方向であるので,その移動のための
構成を簡単にできる。スキューの検出については図13
(A)の場合と同様である。
FIG. 13B shows an example in which the moving direction of the movable sensor 15 is oblique to the printing direction (and the paper feeding direction) as shown. In this case, since the moving direction of the movable sensor 15 is one direction, the configuration for the movement can be simplified. FIG. 13 shows skew detection.
This is the same as the case (A).

【0119】図14は用紙(単票)として特殊な形状の
用紙,例えば封筒等を給紙する場合に,各用紙の種別を
自動的に識別する例を示す。この場合,用紙の左端と中
央部(図14(A)の場合)又は左端と右端(図14
(B)の場合)において,各々,用紙の左端を検出し,
その差を求める。このため,封筒等の用紙に予め固有の
段差を設ける。従って,この差を検出することにより封
筒等用紙の種別を自動的に識別することができる。な
お,スキューの値は通常この用紙の段差に比べ十分に小
さく無視できるので,用紙の識別には影響ない。
FIG. 14 shows an example in which the type of each sheet is automatically identified when a sheet of a special shape such as an envelope is fed as a sheet (single sheet). In this case, the left end and the center of the sheet (in the case of FIG. 14A) or the left end and the right end (FIG.
(B)), the left edge of the paper is detected,
Find the difference. For this reason, a unique step is provided in advance on paper such as an envelope. Therefore, by detecting this difference, the type of paper such as an envelope can be automatically identified. Note that the value of the skew is usually sufficiently small compared to the level difference of the sheet and can be ignored, and thus does not affect the identification of the sheet.

【0120】なお,図14の例では固定センサ14と可
動センサ15を一組として用いているが,前述の如く,
可動センサ15を1個のみ又は2個用いることもでき
る。図15及び図16はスキュー処理部4の行なうスキ
ュー検出処理フローを示す。特に,図15は図12の場
合の処理フローを示し,図16は図13の場合の処理フ
ローを示す。
In the example of FIG. 14, the fixed sensor 14 and the movable sensor 15 are used as one set.
Only one or two movable sensors 15 can be used. FIGS. 15 and 16 show a skew detection processing flow performed by the skew processing unit 4. In particular, FIG. 15 shows a processing flow in the case of FIG. 12, and FIG. 16 shows a processing flow in the case of FIG.

【0121】図15において,給紙コマンドを受信する
と,可動センサ15を用紙の右端の少し内側の位置とな
るように所定の距離だけ移動した後(S41),用紙を
給紙する(S42)。
In FIG. 15, when a paper feed command is received, the movable sensor 15 is moved by a predetermined distance so as to be located slightly inside the right end of the paper (S41), and then the paper is fed (S42).

【0122】そして,用紙を固定センサ14及び可動セ
ンサ15で検出した時点で,各々給紙用モータ12の回
転角を求め(S43),2つの回転角の差からスキュー
を算出する(S44)。
When the sheet is detected by the fixed sensor 14 and the movable sensor 15, the rotation angle of the paper feed motor 12 is obtained (S43), and the skew is calculated from the difference between the two rotation angles (S44).

【0123】図16において,給紙コマンドを受信する
と,可動センサ15を用紙の左端の少し内側の位置とな
るように移動した後(S51),用紙を給紙する(S5
2)。そして,用紙を可動センサ15で検出した時の給
紙用モータ12の回転角を求め,記憶する(S53)。
この検出の後,可動センサ15を給紙方向及び印字方向
に所定の距離だけ移動し,可動センサ15を用紙の右端
の少し内側の位置となるようにし,この時の給紙方向の
移動量をRAM41上に記憶する(S54)。そして,
用紙を可動センサ15で検出した時の給紙用モータ12
の回転角を求める(S55)。
In FIG. 16, when a paper feed command is received, the movable sensor 15 is moved to a position slightly inside the left end of the paper (S51), and the paper is fed (S5).
2). Then, the rotation angle of the paper feed motor 12 when the paper is detected by the movable sensor 15 is obtained and stored (S53).
After this detection, the movable sensor 15 is moved by a predetermined distance in the paper feeding direction and the printing direction so that the movable sensor 15 is located at a position slightly inside the right end of the paper. It is stored on the RAM 41 (S54). And
Paper feed motor 12 when paper is detected by movable sensor 15
Is obtained (S55).

【0124】次に,右端回転角から左端回転角及び給紙
方向の移動量を差引いて,スキューを求める(S5
6)。なお,図14の例の場合,S44又はS56で求
めた回転角の差を用いて予め用意されたテーブル等を検
索し,最も近い値を求め,これに対応する用紙の種別を
テーブルから求めればよい。
Next, the skew is obtained by subtracting the left end rotation angle and the moving amount in the sheet feeding direction from the right end rotation angle (S5).
6). In the case of the example of FIG. 14, if a table or the like prepared in advance is searched using the difference between the rotation angles obtained in S44 or S56, the closest value is obtained, and the type of paper corresponding to this is obtained from the table. Good.

【0125】引張連帳モードにおける連帳用紙の印字の
ための位置合せは引張り連帳位置合せ処理部(以下,位
置合せ処理部)5が行なう。位置合せ処理部5は,CP
U42と,プログラムROM40上の位置合せ処理プロ
グラムとによって実現される。以下,図17乃至図19
により,位置合せ処理部5の行なう処理について説明す
る。
The alignment for printing continuous form paper in the continuous tension mode is performed by a continuous tension registration unit (hereinafter, positioning unit) 5. The alignment processing unit 5 includes a CP
This is realized by U42 and an alignment processing program on the program ROM 40. Hereinafter, FIGS. 17 to 19
The processing performed by the alignment processing unit 5 will now be described.

【0126】位置合せ処理部5は,連帳用紙の印字位置
合せを自動的に行なう。このために,オペレータによっ
て一旦,所定位置(印字第1行)に位置合せされた連帳
用紙の位置を不揮発性メモリ16に記憶する。この所定
位置は,連帳トラクタ30に設けられた用紙センサ34
の検出出力を基準として求められ記憶される。更に,自
動的な位置合せも用紙センサ34の検出出力を基準とし
て行なわれる。
The registration processing unit 5 automatically performs the printing registration of the continuous form paper. For this purpose, the position of the continuous form paper that has been once aligned with a predetermined position (the first line of printing) by the operator is stored in the nonvolatile memory 16. This predetermined position is determined by the paper sensor 34 provided on the continuous tractor 30.
Is obtained and stored with reference to the detection output of. Further, automatic positioning is also performed based on the detection output of the paper sensor 34.

【0127】この位置合せのためにコンソール18が用
いられ,各種の指示が処理装置1に対して入力される。
コンソール18には,例えば用紙セットスイッチ(S
W),位置合せSW,改行SW,用紙送りSW,位置合
せSWが設けられる。各SWを押下げることにより,所
定の指示入力が処理装置1に行なわれる。
The console 18 is used for this alignment, and various instructions are input to the processing device 1.
For example, a paper set switch (S
W), alignment SW, line feed SW, paper feed SW, and alignment SW. By depressing each SW, a predetermined instruction is input to the processing device 1.

【0128】この位置合せのためにオペレータが行なう
手順を図17に示す。コンソール18の用紙セットSW
を押すと(S61),通路が開いて連帳用紙が挿入可能
な状態となる。そこで,連帳用紙をインサータローラ2
4側から印字ヘッド7下を通して連帳トラクタ30にか
け(S62),コンソール18の改行SW及び用紙送り
SWを用いて用紙送りと改行とを行い,用紙を予め定め
られた所定位置即ち印字第1行に合せる(S63)。
FIG. 17 shows a procedure performed by the operator for this alignment. Paper set SW of console 18
When the button is pressed (S61), the passage is opened and the continuous paper can be inserted. Then, insert the continuous form paper into the inserter roller 2
The sheet is fed to the continuous tractor 30 from the side 4 under the print head 7 (S62), and the sheet feed and line feed are performed using the line feed SW and sheet feed SW of the console 18, and the sheet is adjusted to a predetermined position, that is, the first line of print. (S63).

【0129】次に,コンソール18の用紙セットSWと
位置合せSWを同時に押下げる(S64)。これに応じ
て,位置合せ処理部5がその時点の位置即ち印字第1行
の位置を図18に示す処理により不揮発性メモリ16に
記憶する。
Next, the paper setting switch and the positioning switch of the console 18 are simultaneously depressed (S64). In response, the alignment processing unit 5 stores the current position, that is, the position of the first print line, in the nonvolatile memory 16 by the processing shown in FIG.

【0130】以上により,1枚目の連帳用紙についての
印字位置合せ(S63)とその記憶(S64)とが終了
する。この後,プリンタを本体装置17との間でオンラ
イン状態とし,印刷待ち状態とする(S65)。
With the above, the printing position alignment (S63) and the storage (S64) for the first continuous paper are completed. Thereafter, the printer is brought online with the main unit 17 to be in a print waiting state (S65).

【0131】2回目の連帳用紙の印字位置合せは,S6
1と同様に用紙セットSWを押下げ(S66),S62
と同様に連帳用紙を連帳トラクタ30にかけ(S6
7),この後位置合せSWのみを押下げる(S68)。
The printing position of the second continuous paper is set in S6.
1, the paper set SW is pressed down (S66), S62
In the same manner as described above, the continuous paper is applied to the continuous tractor 30 (S6).
7) Then, only the alignment switch is pushed down (S68).

【0132】これに応じて,位置合せ処理部5が不揮発
性メモリ16に記憶した印字第1行の位置に図1の処理
により連帳用紙の位置を合せる。図18及び図19は位
置合せ処理部5の行なう引張連帳位置合せ処理フローを
示す。特に,図18はS64においてオペレータにより
設定された所定位置(印字第1行)についての記憶処理
を示し,図19はS68において行なわれる自動的な印
字位置合せ処理を示す。
In response, the alignment processing unit 5 aligns the position of the continuous form paper with the position of the first line of printing stored in the nonvolatile memory 16 by the processing of FIG. FIG. 18 and FIG. 19 show the flow of the tension continuous sheet alignment processing performed by the alignment processing unit 5. In particular, FIG. 18 shows a storage process for a predetermined position (first line of printing) set by the operator in S64, and FIG. 19 shows an automatic print alignment process performed in S68.

【0133】図18において,用紙セットSWと位置合
せSWとが同時に押下げられると,位置合せ処理部5が
起動され,記憶動作が開始される。オペレータにより正
しい印字位置に位置合せされた連帳用紙を,連帳トラク
タ30を駆動することにより,図2のA方向へ移動させ
(S71),用紙センサ34がオン(用紙がある状態)
からオフ(用紙がない状態)になったかを調べる(S7
2)。
In FIG. 18, when the sheet set SW and the positioning switch are simultaneously depressed, the positioning processing unit 5 is activated, and the storage operation is started. The continuous paper sheet aligned to the correct printing position by the operator is moved in the direction A in FIG. 2 by driving the continuous paper tractor 30 (S71), and the paper sensor 34 is turned on (the paper is present).
Is turned off (the state where there is no paper) from the printer (S7).
2).

【0134】オフになった場合,連帳トラクタ30の駆
動を開始してからオフの時点までの移動距離の値を求め
る(S73)。この距離は連帳トラクタ30を駆動する
LF用モータ10に対して印加されたパルスの数(励磁
相の変化のステップ数)として求められる。即ち,位置
合せ処理部5は,S71での連帳トラクタ30の駆動開
始のためにタイマー43をスタートさせ,オフの時点の
タイマの値を求める。これにより,オペレータが正確に
セットした第1印字行の位置が,用紙センサ34の位置
から何パルス分B方向にあったかを知ることができる。
位置合せ処理部5はこのパルス数を不揮発性メモリ16
に記憶する(S73)。
If it is turned off, the value of the moving distance from the start of driving of the serial tractor 30 to the time of turning off is obtained (S73). This distance is obtained as the number of pulses (the number of steps of the change of the excitation phase) applied to the LF motor 10 that drives the continuous tractor 30. That is, the alignment processing unit 5 starts the timer 43 for starting the driving of the continuous tractor 30 in S71, and obtains the value of the timer at the time of turning off. Thus, it is possible to know how many pulses the position of the first print line set by the operator in the B direction from the position of the paper sensor 34.
The alignment processing unit 5 stores the number of pulses in the nonvolatile memory 16.
(S73).

【0135】次に,当該連帳用紙(1枚目)への印字の
ため,これをオペレータがセットした元の位置へ戻して
(S74)処理を終了する。このために,不揮発性メモ
リ16に記憶されたパルス数の分だけ連帳トラクタ30
をB方向へ駆動する。
Next, for printing on the continuous sheet (first sheet), the sheet is returned to the original position set by the operator (S74), and the process is terminated. For this reason, the continuous tractor 30 has the number of pulses stored in the nonvolatile memory 16.
Is driven in the B direction.

【0136】S72で用紙センサ34がオフにならない
場合,タイムオーバーかを調べる(S75)。タイムオ
ーバーでない場合にはS71以下をくり返し,タイムオ
ーバーの場合にはS74を実行する。このために,タイ
ムオーバーとなった時点でのタイマ43の値が参照さ
れ,元の位置へ戻すために用いられる。
If the paper sensor 34 is not turned off in S72, it is checked whether the time is over (S75). If the time is not over, S71 and subsequent steps are repeated, and if the time is over, S74 is executed. For this reason, the value of the timer 43 at the time when the time is over is referred to and used to return to the original position.

【0137】以上により,オペレータがセットした正し
い印字位置が用紙センサ34の位置を基準として自動的
に求められ,記憶される。従って,オペレータの負担増
はないと言ってよい。,一方,1枚目の連帳用紙への印
字も正しく行なうことができる。
As described above, the correct printing position set by the operator is automatically determined based on the position of the paper sensor 34 and stored. Therefore, it can be said that there is no increase in the burden on the operator. On the other hand, printing on the first continuous paper can be performed correctly.

【0138】図19において,位置合せSWのみが押下
げられると,位置合せ処理部5が起動され,位置合せ
(設定)動作が開始される。オペレータにより連帳トラ
クタ30に適当にかけられた連帳用紙を,連帳トラクタ
30を駆動することにより,図2のA方向へ移動させ
(S81),用紙センサ34がオンからオフになったか
を調べる(S82)。
In FIG. 19, when only the positioning switch is depressed, the positioning processing unit 5 is started, and the positioning (setting) operation is started. The continuous form paper appropriately applied to the continuous form tractor 30 by the operator is moved in the direction A of FIG. 2 by driving the continuous form tractor 30 (S81), and it is checked whether the paper sensor 34 has been turned off from on. (S82).

【0139】オフになった場合,一旦連帳トラクタ30
を停止させ,今度は不揮発性メモリ16に記憶されたパ
ルス数の分だけ連帳トラクタ30をB方向へ駆動し(S
83)処理を終了する。これにより,用紙センサ34の
位置を基準として正しい印字第1行の位置に位置合せさ
れるように連帳用紙が搬送される。
When the vehicle is turned off, the continuous tractor 30
Is stopped, and then the continuous tractor 30 is driven in the B direction by the number of pulses stored in the nonvolatile memory 16 (S
83) End the process. Thereby, the continuous form paper is conveyed so as to be aligned with the position of the correct first print line based on the position of the paper sensor 34.

【0140】S82で用紙センサ34がオフにならない
場合,タイムオーバーかを調べる(S84)。タイムオ
ーバーでない場合にはS81以下をくり返し,タイムオ
ーバーの場合にはタイムオーバーとなった時点でのタイ
マ43の値が参照され,元の位置へ戻すためにこの値の
分だけ連帳トラクタ30がB方向へ駆動される(S8
5)。
If the paper sensor 34 is not turned off in S82, it is checked whether the time is over (S84). If the time is not over, the process from S81 is repeated. If the time is over, the value of the timer 43 at the time when the time is over is referred to. Driven (S8
5).

【0141】以上により,オペレータが1回目にセット
した正しい印字位置に,2回目以降では用紙センサ34
の位置を基準として自動的に位置合せされる。従って,
オペレータの負担はない。
As described above, in the correct printing position set by the operator for the first time, the paper sensor 34 is set for the second and subsequent times.
Are automatically aligned based on the position of. Therefore,
There is no operator burden.

【0142】なお,S85の後は,連帳トラクタ30に
かける連帳用紙の位置を少しA方向へずらしてリトライ
すればよい。本実施例では位置合せSWを用いている
が,これを設けることなく,どのプリンタにも設けられ
る用紙セットSWのみを用いるようにしてもよい。例え
ば,用紙セットSWが押下げられた時点で,用紙センサ
34がオフの場合通路を開く本来の動作を行うように
し,オンの場合位置合せSWに代わる機能を果す(位置
合せ動作を起動する)ようにしてもよい。
After S85, the position of the continuous form paper to be applied to the continuous form tractor 30 may be slightly shifted in the direction A to retry. In this embodiment, the alignment switch is used, but only the paper set switch provided in any printer may be used without providing the alignment switch. For example, when the paper set SW is pressed down, the original operation of opening the passage is performed when the paper sensor 34 is off, and the function instead of the alignment SW is performed when the paper sensor 34 is on (starts the alignment operation). You may do so.

【0143】不揮発性メモリ16には複数の値を記憶し
指定して用いるようにしてもよい。これにより,複数の
異なった連帳用紙(異なった第1印字行)にも対応でき
る。
A plurality of values may be stored and designated in the nonvolatile memory 16 for use. Thereby, it is possible to cope with a plurality of different continuous papers (different first print lines).

【0144】[0144]

【発明の効果】以上説明したように,本発明によれば,
プリンタに自動的なスキューチェック機能を備えること
により,スキューチェック時間を大幅に短縮し,スルー
プットを向上できると共に,オペレータのスキューチェ
ックの負担を殆どなくすことができる。
As described above, according to the present invention,
By providing the printer with an automatic skew check function, the skew check time can be significantly reduced, the throughput can be improved, and the burden of the operator on the skew check can be almost eliminated.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】プリンタの概略構成図である。FIG. 2 is a schematic configuration diagram of a printer.

【図3】プリンタの概略構成図である。FIG. 3 is a schematic configuration diagram of a printer.

【図4】本発明の効果を示す図である。FIG. 4 is a diagram showing the effect of the present invention.

【図5】本発明の効果を示す図である。FIG. 5 is a diagram showing the effect of the present invention.

【図6】実施例説明図である。FIG. 6 is an explanatory diagram of an embodiment.

【図7】実施例説明図である。FIG. 7 is an explanatory diagram of an embodiment.

【図8】印字量制御処理フローである。FIG. 8 is a printing amount control processing flow.

【図9】実施例説明図である。FIG. 9 is an explanatory diagram of an embodiment.

【図10】実施例説明図である。FIG. 10 is an explanatory diagram of an embodiment.

【図11】罫線補間処理フローである。FIG. 11 is a flowchart of ruled line interpolation processing.

【図12】実施例説明図である。FIG. 12 is an explanatory view of the embodiment.

【図13】他の実施例説明図である。FIG. 13 is an explanatory view of another embodiment.

【図14】他の実施例説明図である。FIG. 14 is an explanatory view of another embodiment.

【図15】スキュー検出処理フローである。FIG. 15 is a skew detection processing flow.

【図16】スキュー検出処理フローである。FIG. 16 is a skew detection processing flow.

【図17】引張連帳位置合せの手順を示す図である。FIG. 17 is a diagram showing a procedure for aligning a tension continuous form.

【図18】引張連帳位置合せ処理フローである。FIG. 18 is a flow chart of a registration process of a tension continuous form.

【図19】引張連帳位置合せ処理フローである。FIG. 19 is a flow chart of a registration process of a tension continuous form.

【図20】従来技術説明図である。FIG. 20 is an explanatory diagram of a conventional technology.

【図21】従来技術説明図である。FIG. 21 is an explanatory diagram of a conventional technique.

【図22】従来技術説明図である。FIG. 22 is an explanatory diagram of a conventional technique.

【図23】従来技術説明図である。FIG. 23 is an explanatory diagram of a conventional technique.

【図24】従来技術説明図である。FIG. 24 is an explanatory view of a conventional technique.

【図25】従来技術説明図である。FIG. 25 is an explanatory view of a conventional technique.

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

1 処理装置(CPU/メモリ) 2 印字量処理部 3 罫線補間処理部 4 スキュー処理部 5 引張連帳位置合せ処理部 6 サーマルセンサ 7 印字ヘッド 8 CRモータ 9 印字制御部 10 LF用モータ 11 改行制御部 12 給紙用モータ 13 給紙制御部 14 固定センサ 15 可動センサ 16 不揮発性メモリ 17 本体装置 18 コンソール DESCRIPTION OF SYMBOLS 1 Processing unit (CPU / memory) 2 Print amount processing unit 3 Ruled line interpolation processing unit 4 Skew processing unit 5 Tensile continuous registration processing unit 6 Thermal sensor 7 Print head 8 CR motor 9 Print control unit 10 LF motor 11 Line feed control Unit 12 Paper feed motor 13 Paper feed control unit 14 Fixed sensor 15 Movable sensor 16 Non-volatile memory 17 Main unit 18 Console

───────────────────────────────────────────────────── フロントページの続き (72)発明者 谷口 泰紀 石川県河北郡宇ノ気町字宇野気ヌ98番地 の2 株式会社ピーエフユー内 (72)発明者 浅井 人志 石川県河北郡宇ノ気町字宇野気ヌ98番地 の2 株式会社ピーエフユー内 (72)発明者 寺西 俊平 石川県河北郡宇ノ気町字宇野気ヌ98番地 の2 株式会社ピーエフユー内 (56)参考文献 特開 昭63−17750(JP,A) 特開 平3−253868(JP,A) 実開 昭61−193944(JP,U) (58)調査した分野(Int.Cl.6,DB名) B65H 7/08 B41J 11/42 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Yasunori Taniguchi 98-2 Unoki-nu, Unoki-cho, Kawakita-gun, Ishikawa Pref. (72) Inventor Hitoshi Asai Unoki-nu, Unoki-cho, Kawakita-gun, Ishikawa 98-2 Inside PFU Co., Ltd. (72) Inventor Shunpei Teranishi 98-2 Unoki Nu, Unoki-cho, Kawakita-gun, Ishikawa Prefecture (56) Reference JP-A-63-17750 (JP, A) Kaihei 3-253868 (JP, A) JP-A 61-193944 (JP, U) (58) Fields investigated (Int. Cl. 6 , DB name) B65H 7/08 B41J 11/42

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 磁極の励磁相を順次変化させて回転が行
われるモータを用い、当該モータにより給紙された用紙
についてのスキューを自動的に求めるプリンタであっ
て, 前記用紙の位置を検出するセンサであって,前記用紙の
幅方向に移動可能とされた少なくとも1つの可動センサ
(15)と, 前記スキューを求めるスキュー処理部(4)とを設け, 前記スキュー処理部(4)が,前記可動センサ(15)
を所定方向に移動させて前記用紙の幅方向の一端におい
て前記用紙を検出させ,この検出時の前記モータの回転
角をこの検出時の励磁相を検出して求め,前記用紙の幅
方向の他端において前記用紙を検出した時の前記モータ
の回転角をこの検出時の励磁相を検出して求め,前記2
つの回転角の差から前記スキューを求めることを特徴と
するプリンタ。
The rotation is performed by sequentially changing the excitation phase of a magnetic pole.
A printer that automatically obtains a skew for a sheet fed by the motor using a motor that is driven by the motor , wherein the sensor detects a position of the sheet, and is at least movable in a width direction of the sheet. One movable sensor (15) and a skew processing unit (4) for obtaining the skew are provided, and the skew processing unit (4) includes the movable sensor (15).
Was detected the sheet in the width direction of the one end of the sheet is moved in a predetermined direction, the rotation angle before liver over data of the detection time determined by detecting the detection time of the excitation phase, the width of the paper calculated rotation angle before liver over data upon detecting the sheet in the direction of the other end detects the excitation phase of the detection time, the 2
A printer that calculates the skew from a difference between two rotation angles.
JP35332097A 1997-12-22 1997-12-22 Printer Expired - Fee Related JP2907803B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35332097A JP2907803B2 (en) 1997-12-22 1997-12-22 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35332097A JP2907803B2 (en) 1997-12-22 1997-12-22 Printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP4232060A Division JP2763458B2 (en) 1992-08-31 1992-08-31 Printer

Publications (2)

Publication Number Publication Date
JPH10157880A JPH10157880A (en) 1998-06-16
JP2907803B2 true JP2907803B2 (en) 1999-06-21

Family

ID=18430057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35332097A Expired - Fee Related JP2907803B2 (en) 1997-12-22 1997-12-22 Printer

Country Status (1)

Country Link
JP (1) JP2907803B2 (en)

Also Published As

Publication number Publication date
JPH10157880A (en) 1998-06-16

Similar Documents

Publication Publication Date Title
US5639171A (en) Media length sensing for increased throughput efficiency of electronic printers
GB2203702A (en) Adapting selective printers for substrate thickness variations
JP2907803B2 (en) Printer
JP2941240B2 (en) Printer
JP2008006793A (en) Inkjet recording device
JP2763458B2 (en) Printer
US5002414A (en) Method of automatically inserting printing paper in an automatic paper feeder
JPH10147038A (en) Printer
JP3833156B2 (en) Recording apparatus and recording method
JP2731460B2 (en) Left and right edge position detection method for printer paper
JPS6244471A (en) Paper feed mechanism of printer
JP2807141B2 (en) Printer
JPH0390378A (en) Medium processing device
JP2003025656A (en) Method for correcting printing position
US20230202215A1 (en) Printing apparatus
JP3518642B2 (en) Dot line printer
JP2001162882A (en) Printer, its control method and information recording medium
JP2615838B2 (en) Printer automatic paper feed system
JP3483391B2 (en) Sheet feeding device and recording device
JPH08244309A (en) Printing device
JP2596242Y2 (en) Booklet printer device
JP3003411B2 (en) Ticket transfer control method in ticket issuing device
JPH10217562A (en) Paper end detection mechanism
JPH07149028A (en) Printing control device
JPH1035919A (en) Sheet feeding device and recording device

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees