JP2004209763A - Recorder - Google Patents

Recorder Download PDF

Info

Publication number
JP2004209763A
JP2004209763A JP2002380873A JP2002380873A JP2004209763A JP 2004209763 A JP2004209763 A JP 2004209763A JP 2002380873 A JP2002380873 A JP 2002380873A JP 2002380873 A JP2002380873 A JP 2002380873A JP 2004209763 A JP2004209763 A JP 2004209763A
Authority
JP
Japan
Prior art keywords
stop
motor
print
scan
data
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.)
Withdrawn
Application number
JP2002380873A
Other languages
Japanese (ja)
Inventor
Hiroyuki Niimura
裕之 新村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002380873A priority Critical patent/JP2004209763A/en
Publication of JP2004209763A publication Critical patent/JP2004209763A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recorder that can reduce a total recording time period by performing efficient exclusive controlling among tasks by varying a judgment of stopping in controlling of stopping of a motor according to various conditions. <P>SOLUTION: This recorder performs the recording according to data transmitted from a host device by using a recording head. The recorder comprises a means for moving and driving a carriage having the recording head mounted thereon and an analyzing means for analyzing the data. A next moving start position and a next moving stop position are calculated based on the analyzed result of the data, the stopping condition of the driving means is obtained based on the calculated positions, and then the stopping operation is performed based on the stopping condition. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、記録装置し、より詳細には記録動作におけるモータの制御に関する。
【0002】
【従来の技術】
一般に、プリンタなどのファームウェアではリアルタイムOSを用いてシステム制御部、CRモーター制御部、LFモーター制御部それぞれに対してタスクが介在しそれら資源を排他制御することで印刷の処理を行っているシステムが多い。そういったシステムの中において、DCモーターやパルスモーター等のモーター制御は、多種多様な全てのシーケンスで、目標位置、目標ステップ数を設定しモーターを駆動させ、モーターの特性でもあるダンピング等の振動がなくなり正しい位置へ完全に停止するまで資源を開放しないようにさせている。
【0003】
【発明が解決しようとする課題】
しかし、実際のシーケンスの中には正しい位置に完全に停止しなくても制御上問題ないケースが多々ある。
【0004】
例えば、あるタスク(タスク1)がCRモーターを駆動して印字する場合、別のタスク(タスク2)が印字中に別の命令によりCR制御を禁止した排他制御をおこなっているシステム構成で、タスク1がCRモーター資源を獲得してからモーターを駆動し目標位置まで移動させている間に、印刷の停止命令を受けたタスク2がCRをホームポジションに移動させようとした場合でも、タスク1のCRモーター制御の中で、CRモーターの停止制御における停止判定を満たすまではCRモーター資源を解放しないために、タスク2はタスク1がCRを完全に停止してCRモーター資源を解放してからCRをホームポジションへ移動させるようになる。しかし、実際には印刷停止命令であるために、タスク1は速やかにCRの停止判定を終えて資源を解放し、タスク2に資源を与えてあげることが望ましい。
【0005】
図7は2スキャンの印字データの左右端情報が異なった場合の従来の印字制御を示している。詳細を説明すると横軸に移動距離、縦軸に速度をとって往復印字させたときのCR移動中の処理内容を示している。また、分かりやすくするためにも減速距離と加速距離を同一にしている。
【0006】
そして、図9はこの処理に対して、横軸を時間にして2スキャンの印字で行われる処理内容を時系列で表している。
【0007】
図7、9から、これまでの処理においてはScan_2の印字データ右端位置がScan_1のCRモーター停止目標位置に対して余裕があるためにScan_1の停止位置はある程度、誤差があってもScan_2の印字に影響を与えるようなことはないにも関わらず、停止判定条件を一律にしていたため、Scan_1の停止制御では通常の停止判定条件を満たすまで(停止判定制御を行って完全に目標位置にCRが完全に停止するまで)はScan_2の印字処理に移行することができなかった。
【0008】
本発明は、以上のような状況を鑑みてなされたものであり、モーターの停止制御における停止判定を様々な状況に対して可変させられるようにし効率的なタスク間の排他制御を行い、トータルの記録時間を短縮することのできる記録装置を提供することを目的としている。
【0009】
【課題を解決するための手段】
上記目的を達成するために、本発明の記録装置は、上位装置から送られたデータに基づいて、記録ヘッドを用いて記録を行う記録装置であって、記録ヘッドを搭載したキャリッジを走査させる走査手段と、前記走査手段を駆動する駆動手段と、前記データを解析する解析手段と、前記解析手段が解析した結果に基づいて、走査開始位置と走査終了位置を算出する手段と、前記算出した位置に基づいて前記駆動手段の停止条件を求め、前記停止条件に基づいて停止処理を行う制御手段とを備える。
【0010】
【発明の実施の形態】
以下、本発明の実施形態について図面を参照しながら説明する。
【0011】
図1は、本発明の実施形態に関わる印刷装置を適用した印刷システムを示す図であり、プリンタPとパーソナルコンピュータPCとが双方向に通信が可能な所定のインタフェースを介して接続されている。
【0012】
図2は、本発明の実施形態に関わる印刷装置のシステム構成を表す図である。
【0013】
ホストインタフェース部(2−1)は、データ処理装置(以下ホスト)とインタフェースケーブルを介して接続され、主にホストからの印字データコマンド受信処理とホストからの印刷停止命令受信処理とインタフェースケーブルの接続状態監視処理を行っている。ホストインタフェース部(2−1)はホストから印刷データコマンドを受信するとデータ展開処理部(2−3)に渡す役割と、ホストからの印刷停止命令をシステム制御部(2−4)に通知する役割と、インタフェースケーブルの接続が途絶えた時にシステム制御部(2−4)に通知する役割を果たしている。
【0014】
パネルインタフェース部(2−2)は、使用者が印刷を停止したい場合にパネルオペレーションを検出する役割と使用者が印字ヘッドを交換したい場合におけるカバーの開閉の検出をする役割と検出した情報をシステム制御部(2−4)に通知する役割を果たしている。
【0015】
データ展開処理部(2−3)は、ホストインタフェース部(2−1)から通知された印刷データコマンドを解析し搭載している印字ヘッドの構成に合った形へプリントバッファにデータ展開処理を行う役割とプリントバッファに1スキャン分のデータを展開し終えたらシステム制御部(2−4)に通知する役割を果たしている。
【0016】
モーター制御部(2−5)は、CR、LF、PG、ASFそれぞれのモーター制御から構成されている。CRモーター部(2−5−1)は印字ヘッドを搭載できるCRユニットと連携し、CRモーターを制御することで印字制御を実現する役割を果たしていて、LFモーター部(2−5−2)はLFモーターを制御することで記録用紙を搬送する役割を果たしていて、PGモーター部(2−5−3)はPGモーターを制御することで印字ヘッドのメンテナンス処理を行う役割を果たしていて、ASFモーター部(2−5−4)はASFモーターを制御することで記録用紙のピックアップを自動的に行う役割を果たしている。
【0017】
システム制御部(2−4)はデータ展開処理部(2−3)、ホストインタフェース部(2−1)、パネルインタフェース部(2−2)から指令を受け、その指令に従って必要な前記モーター制御部(2−5)の資源を獲得し指令ごとに行われる処理同士が正しく動作するように排他制御している。また、印字処理でCRの開始位置、停止位置の算出処理により、CRの停止判定を決定する処理も行われる。
【0018】
図3は本発明の実施例をフローチャートに表したもので、ホストからホストインタフェース部(2−1)が印字データコマンドを受信してデータ展開処理部(2−3)でプリントバッファへ印字ヘッドに合った印字データに展開してから1スキャン印字するまでのシステム処理部(2−4)の処理フローである。
【0019】
まず、プリントバッファに1スキャン分印字データの展開が終了したかどうかを判断し、展開が終了しない場合は終了するまで待つ(3−1でNoを選択)。展開が終了した場合(3−1でYesを選択)現在の印字モードに対応したDCモーターおよびパルスモーター制御で使用するテーブル(図5)をもとに加減速距離を求めCRモーターの制御に必要な印字左右端情報をとして、CRモーター起動開始位置とCRモーター停止目標位置(P1、P2)を算出する(3−2)。また、次の次のスキャンにおける印字データに対して展開が終わり左右端情報が確定しているかを判断し(3−3)、分かっていた場合(3−3でYesを選択)現在の印字方向指定が双方向指定なのかを判断し(3−4)、印字方向が双方向の場合(3−4でYesを選択)前述同様(3−2)にCRモーター起動開始位置P3を算出する(3−5)。
【0020】
求めた次のCRモーター停止目標位置P2と次の次のスキャンにおけるCRモーター起動開始位置P3を現在のCRの位置を基準にして比較する(3−6)。その結果、次の次のCRモーター起動開始位置P3に比べて次のCRモーター停止位置P2の方が遠いと判断した場合(3−6でYesを選択)、P2とP3の距離d1を求める(3−7)。CRの停止目標位置PをP2とし、求めたd1の距離をもとに停止判定テーブル(図6)から停止誤差距離Djを求める(3−8)。
【0021】
また、(3−3)で次の次のスキャン(次々回のスキャン)における左右端情報が分からないと判断した場合(3−3でNoを選択)、CRの目標位置PをP2に設定し(3−9)停止誤差距離Djを停止判定テーブルからDis_4(最も停止判定時間が長い)に設定する(3−10)。停止位置がわからないので、最も厳しい停止精度を確保するためである。
【0022】
また、(3−4)で印字方向指定が双方向指定でないと判断した場合(3−4でNoを選択)CRの停止目標位置PをP2とし、停止判定誤差距離Djを停止判定テーブルからDis_0(最も停止判定時間が短い)に設定する(3−12)。厳しい停止精度は不要であるからである。
【0023】
また、(3−6)で次のCRモーター停止目標位置P2と次の次のスキャンにおけるCRモーター起動開始位置P3を比較した結果、P2の方が近いと判断した場合(3−6でNoを選択)CRの停止目標位置をP3に設定し(3−11)、次の次のスキャンで正しく定速印字をさせるために停止誤差距離Djを停止判定テーブルからDis_0に設定する(3−10)。
【0024】
CRの停止目標位置Pと停止判定誤差Djを求めたら、他の処理と排他制御を行うためにCRモータ資源を獲得できるまで待つ(3−13でNoを選択)。獲得ができた場合(3−13でYesを選択)前述のCRモーター目標停止位置Pと停止誤差距離DjをもとにCRモーターの割り込み処理を起動する(3−14)。
【0025】
割り込みを起動したら、割り込み処理がCRモーターを停止したと通知を受けるまで待ち(3−15でNoを選択)、割り込み処理からCRモーターを停止が完了したと通知を受けた場合(3−15でYesを選択)前記排他制御用のCRモーター資源を解放し(3−16)、再度次の1スキャン分のデータ展開処理待ちを行う(3−1)。
【0026】
以上のように、システム制御部(2−4)は、データ展開処理部(2−3)で1スキャン分印字データがプリントバッファに展開が終了してから印字に至るまで上記処理を繰り返す。
【0027】
図4では、システム制御部から上記CRモーターの割り込み処理を起動した場合の、CRモーター制御部(2−5−1)における割込み処理フローを表している。CRモーター割り込み処理が起動されると設定された目標位置に対して、現在の印字モードによるCRテーブルをもとにDCモータの制御で公知のサーボ制御を使って行う(4−1)。CRユニットが停止判定基準Djを満たすまではサーボ制御を行い(4−2でNoを選択)、上記の停止判定基準Djを満たした場合(4−2でYesを選択)、システム制御部(2−4)に対してCRモーターの停止完了通知を行う(4−3)。
【0028】
以上のように、DCモーター制御部(2−5−1)ではシステム制御部(2−4)がCRモーター目標停止位置を指定し割込み処理を起動してから、同じくシステム制御部で求めた停止判定基準を満たすまでDCモーターのサーボ制御を行う。
【0029】
図8は、上記実施例同様、印字左右端情報によって、停止判定を可変させる制御を図示した。同図は横軸をCRの移動距離、縦軸をCRの速度としScan_1はScan_2に比べて印字範囲が長い場合の印字制御を表している。また、同図はScan_1の減速領域では、Scan_1のCR停止目標位置に対してScan_2のCR起動開始位置までの距離が十分にあると判断できるために、Scan_1の減速制御における停止誤差のばらつきを±Aと緩く設定してCRを停止させる制御を表している。
【0030】
図10は図8の条件で、横軸を時間、縦軸を速度とし従来の制御で行われていた停止制御を省けた形になり、図9における停止判定時間分、早くScan_2の印字処理に移行できることが可能になったことを表している。
【0031】
図8、10からも分かるように、これまで図9のように全てのCRの停止制御において一律に同じ停止判定時間Tjかかっていたのに比べて、停止判定時間を可変にすることで、このTj時間について短縮できるようになった。
【0032】
図6は、停止条件を示すもので、停止判定の誤差の幅を示し、α1>α2>α3>α4>α5となっている。停止条件が最も緩やか(誤差範囲が最も広い)であるのがLEVEL0(レベル0)であり、停止条件が最も厳しい(誤差範囲が最も狭い)のがLEVEL4(レベル4)である。このレベルが厳しいほど、停止のための管理を厳しくする。
【0033】
例えば、1スキャン目の印字終了位置が2スキャン目の印字開始位置よりα3だけ長い場合(α3以上α4未満)は、判定レベルLevel2が求まる。この判定レベルより停止処理を距離で制御する場合には、距離Dis_2が求まる。あるいは、停止処理を時間で制御する場合には、時間T_2が求められる。
【0034】
このように、次回の走査、次々回の走査のCR起動開始位置(あるいは印字開始位置)、CR停止位置(印字終了位置)、CR(キャリッジ)の動作モード(例えば、印字モード)に応じた停止処理の管理を行うことができる。
【0035】
以上のように、本発明の実施態様の例を以下に列挙する。
【0036】
[実施態様1]
上位装置から送られたデータに基づいて、記録ヘッドを用いて記録を行う記録装置であって、記録ヘッドを搭載したキャリッジを走査させる走査手段と、前記走査手段を駆動する駆動手段と、前記データを解析する解析手段と、前記解析手段が解析した結果に基づいて、走査開始位置と走査終了位置を算出する手段と、前記算出した位置に基づいて前記駆動手段の停止条件を求め、前記停止条件に基づいて停止処理を行う制御手段とを備えることを特徴とする記録装置。
【0037】
【発明の効果】
本発明により、停止精度が求められない条件において、停止精度の条件を緩やかにすることで、停止制御時間を短縮でき、スループット向上を図ることがきる。
【図面の簡単な説明】
【図1】本発明の実施形態を示す印刷システムの図である。
【図2】本発明の実施形態を示す印刷装置のシステムブロック図である。
【図3】本発明の実施例を表す、システム制御部における処理フローである。
【図4】本発明の実施例を表す、CRモーター制御部の割込み処理フローである。
【図5】本発明の実施例を表す、各種モーターのテーブルであり、印字モードに対するモーターの制御情報が格納されている。
【図6】本発明の実施例を表す、各種モーターの停止判定テーブルで判定レベルに対する停止判定基準を表している。
【図7】従来の技術を表す、印字データ位置により停止判定が変わらない場合を図示したものである。
【図8】本発明の実施例を表す、印字データ位置により停止判定領域が可変するのを図示したものである。
【図9】従来の技術を表す、図7で時間軸を使って図示したものである。
【図10】本発明の実施例を表す、図8で時間軸を使って図示したものである。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a recording apparatus, and more particularly, to controlling a motor in a recording operation.
[0002]
[Prior art]
Generally, in a firmware of a printer or the like, a system in which a task intervenes in each of a system control unit, a CR motor control unit, and an LF motor control unit using a real-time OS and performs exclusive control of those resources to perform printing processing. Many. In such a system, motor control such as DC motor and pulse motor sets the target position and target number of steps in all kinds of various sequences, drives the motor, and eliminates vibration such as damping, which is a characteristic of the motor. They do not release resources until they are completely stopped in the correct position.
[0003]
[Problems to be solved by the invention]
However, there are many cases in an actual sequence where there is no problem in control even if it does not completely stop at a correct position.
[0004]
For example, when a certain task (task 1) drives a CR motor to perform printing, another task (task 2) performs exclusive control in which CR control is prohibited by another command during printing. While Task 1 receives the CR motor resource and then drives the motor to move to the target position, Task 2 receiving the print stop command attempts to move the CR to the home position. In the CR motor control, the task 2 does not release the CR motor resources until the stop determination in the CR motor stop control is satisfied. Therefore, the task 1 stops the CR completely by the task 1 to release the CR motor resources, and then releases the CR motor resources. To the home position. However, since it is actually a print stop instruction, it is desirable that the task 1 immediately terminates the CR stop determination, releases the resources, and gives the resources to the task 2.
[0005]
FIG. 7 shows a conventional print control in the case where left and right end information of print data of two scans is different. More specifically, the horizontal axis indicates the moving distance, and the vertical axis indicates the processing content during the CR movement when reciprocating printing is performed with the speed taken. In addition, the deceleration distance and the acceleration distance are made the same for easy understanding.
[0006]
FIG. 9 shows, in a time-series manner, the contents of processing performed by two-scan printing with the horizontal axis representing time with respect to this processing.
[0007]
From FIGS. 7 and 9, in the processing up to this point, since the right end position of the print data of Scan_2 has a margin with respect to the target position for stopping the CR motor of Scan_1, the stop position of Scan_1 can be printed to some extent even if there is an error. Although there is no influence, the stop determination condition is uniform, so in the scan control of Scan_1, the normal stop determination condition is satisfied (the stop determination control is performed and the CR completely reaches the target position). Until the printing is stopped), it is not possible to shift to the scan process of Scan_2.
[0008]
The present invention has been made in view of the above situation, and makes it possible to make the stop determination in the motor stop control variable for various situations, perform efficient exclusive control between tasks, and perform total control. It is an object of the present invention to provide a recording apparatus capable of shortening a recording time.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, a printing apparatus according to the present invention is a printing apparatus that performs printing using a print head based on data sent from a higher-level device, and scans a carriage on which a print head is mounted. Means, driving means for driving the scanning means, analysis means for analyzing the data, means for calculating a scan start position and a scan end position based on the result analyzed by the analysis means, and the calculated position Control means for determining a stop condition of the driving means based on the stop condition, and performing a stop process based on the stop condition.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0011]
FIG. 1 is a diagram showing a printing system to which a printing apparatus according to an embodiment of the present invention is applied, in which a printer P and a personal computer PC are connected via a predetermined interface capable of bidirectional communication.
[0012]
FIG. 2 is a diagram illustrating a system configuration of the printing apparatus according to the embodiment of the present invention.
[0013]
The host interface unit (2-1) is connected to a data processing device (hereinafter, host) via an interface cable, and mainly receives print data command processing from the host, print stop command reception processing from the host, and connects the interface cable. The status monitoring process is being performed. The host interface unit (2-1) transfers the print data command from the host to the data expansion processing unit (2-3) and notifies the system control unit (2-4) of a print stop command from the host. And notifies the system controller (2-4) when the connection of the interface cable is interrupted.
[0014]
The panel interface unit (2-2) has a function of detecting a panel operation when the user wants to stop printing and a function of detecting opening and closing of the cover when the user wants to replace the print head, and the system detects the detected information. It plays the role of notifying the control unit (2-4).
[0015]
The data development processing section (2-3) analyzes the print data command notified from the host interface section (2-1) and performs data development processing on the print buffer into a form suitable for the configuration of the installed print head. Its role is to notify the system control unit (2-4) when the data for one scan has been developed in the print buffer.
[0016]
The motor control section (2-5) includes motor controls for CR, LF, PG, and ASF. The CR motor unit (2-5-1) cooperates with a CR unit capable of mounting a print head and plays a role of realizing print control by controlling the CR motor. The LF motor unit (2-5-2) The PG motor unit (2-5-3) plays a role of performing print head maintenance processing by controlling the PG motor. The ASF motor unit controls the LF motor. (2-5-4) plays the role of automatically picking up the recording paper by controlling the ASF motor.
[0017]
The system control unit (2-4) receives commands from the data development processing unit (2-3), the host interface unit (2-1), and the panel interface unit (2-2), and according to the commands, necessary motor control units Exclusive control is performed so that the resources of (2-5) are acquired and the processes performed for each command operate correctly. In addition, a process for determining whether to stop the CR is performed by a process of calculating the start position and the stop position of the CR in the printing process.
[0018]
FIG. 3 is a flowchart showing an embodiment of the present invention. The host interface unit (2-1) receives a print data command from the host, and the data expansion processing unit (2-3) sends the print data command to the print buffer and sends the print data command to the print head. 9 is a processing flow of the system processing unit (2-4) from developing to combined print data to printing one scan.
[0019]
First, it is determined whether or not the development of the print data for one scan in the print buffer has been completed. If the development has not been completed, the process waits until the development is completed (No is selected in 3-1). When development is completed (Yes selected in 3-1) Acceleration / deceleration distance is obtained based on the table (Fig. 5) used for DC motor and pulse motor control corresponding to the current print mode, and necessary for CR motor control The start position of the CR motor start and the target position (P1, P2) for stopping the CR motor are calculated using the information on the right and left ends of the print (3-2). Further, it is determined whether the development of the print data in the next next scan is completed and the left and right end information is determined (3-3). If the information is known (Yes in 3-3), the current print direction is selected. It is determined whether the designation is a bidirectional designation (3-4), and if the printing direction is bidirectional (Yes in 3-4), the CR motor start position P3 is calculated in the same manner as described above (3-2) (3-2). 3-5).
[0020]
The calculated next CR motor stop target position P2 and the CR motor start start position P3 in the next next scan are compared based on the current CR position (3-6). As a result, if it is determined that the next CR motor stop position P2 is farther than the next next CR motor start position P3 (Yes in 3-6), the distance d1 between P2 and P3 is obtained ( 3-7). The stop target position P of the CR is set to P2, and the stop error distance Dj is obtained from the stop determination table (FIG. 6) based on the obtained distance d1 (3-8).
[0021]
Also, if it is determined in (3-3) that the left and right end information in the next next scan (next scan) is not known (No is selected in 3-3), the CR target position P is set to P2 ( 3-9) The stop error distance Dj is set to Dis_4 (the longest stop determination time) from the stop determination table (3-10). Since the stop position is not known, the strictest stop accuracy is to be ensured.
[0022]
If it is determined in (3-4) that the print direction is not bidirectional (No in 3-4), the stop target position P of the CR is set to P2, and the stop determination error distance Dj is set to Dis_0 from the stop determination table. (The shortest stop determination time) is set (3-12). Strict stopping accuracy is not required.
[0023]
When the next CR motor stop target position P2 is compared with the CR motor start start position P3 in the next next scan in (3-6), when it is determined that P2 is closer (No in 3-6) (Selection) The stop target position of the CR is set to P3 (3-11), and the stop error distance Dj is set to Dis_0 from the stop determination table to perform the constant speed printing in the next next scan (3-10). .
[0024]
Once the CR target stop position P and the stop determination error Dj are obtained, the process waits until a CR motor resource can be obtained to perform exclusive control with other processes (No is selected in 3-13). When the acquisition is successful (Yes in 3-13), the CR motor interrupt process is started based on the CR motor target stop position P and the stop error distance Dj (3-14).
[0025]
When the interrupt is activated, wait until the notification that the interrupt processing has stopped the CR motor is received (select No in 3-15), and when the notification that the stop of the CR motor is completed is received from the interrupt processing (in 3-15) (Yes is selected) The CR motor resource for exclusive control is released (3-16), and the data development process for the next one scan is again waited (3-1).
[0026]
As described above, the system control unit (2-4) repeats the above processing from the completion of the development of the print data for one scan to the print buffer by the data development processing unit (2-3) to the printing.
[0027]
FIG. 4 shows an interrupt processing flow in the CR motor control unit (2-5-1) when the above-described CR motor interrupt processing is started from the system control unit. When the CR motor interrupt processing is activated, the DC motor is controlled using a known servo control for the set target position based on the CR table in the current print mode (4-1). Servo control is performed until the CR unit satisfies the stop determination criterion Dj (No is selected in 4-2). When the CR unit satisfies the stop criterion Dj (Yes in 4-2), the system control unit (2) -4) is notified of CR motor stop completion (4-3).
[0028]
As described above, in the DC motor control unit (2-5-1), the system control unit (2-4) specifies the CR motor target stop position and starts the interrupt processing, and then the stop determined by the system control unit. Servo control of the DC motor is performed until the criterion is satisfied.
[0029]
FIG. 8 illustrates the control for varying the stop determination based on the print left and right end information, as in the above embodiment. In the figure, the horizontal axis represents the movement distance of CR, and the vertical axis represents the speed of CR, and Scan_1 represents print control when the print range is longer than Scan_2. Also, in the figure, in the deceleration region of Scan_1, it can be determined that the distance from the CR stop target position of Scan_1 to the CR start start position of Scan_2 is sufficient. A represents a control for setting the value A to be loose and stopping the CR.
[0030]
FIG. 10 shows a condition in which the horizontal axis represents time and the vertical axis represents speed under the conditions of FIG. 8 to omit the stop control performed in the conventional control, and the stop determination time in FIG. It indicates that it is possible to move.
[0031]
As can be seen from FIGS. 8 and 10, the stop determination time is made variable by making the stop determination time variable as compared with the case where the same stop determination time Tj has been uniformly applied to all CR stop control as shown in FIG. Tj time can be shortened.
[0032]
FIG. 6 shows a stop condition, and shows a width of an error in the stop determination, where α1>α2>α3>α4> α5. LEVEL0 (level 0) has the mildest stop condition (the widest error range), and LEVEL4 (level 4) has the strictest stop condition (the narrowest error range). The more severe this level, the more rigorous the controls for suspension.
[0033]
For example, when the print end position of the first scan is longer than the print start position of the second scan by α3 (α3 or more and less than α4), the determination level Level2 is obtained. When the stop processing is controlled by the distance based on the determination level, the distance Dis_2 is obtained. Alternatively, when the stop process is controlled by time, time T_2 is obtained.
[0034]
As described above, the stop processing according to the CR start position (or the print start position), the CR stop position (the print end position), and the CR (carriage) operation mode (for example, the print mode) of the next scan and the next scan. Can be managed.
[0035]
As described above, examples of the embodiments of the present invention are listed below.
[0036]
[Embodiment 1]
A printing apparatus that performs printing using a print head based on data sent from a higher-level device, comprising: a scanning unit that scans a carriage equipped with a print head; a driving unit that drives the scanning unit; Analyzing means for analyzing, a means for calculating a scan start position and a scan end position based on a result analyzed by the analysis means, and a stop condition for the drive means based on the calculated position, And a control unit for performing a stop process based on the recording device.
[0037]
【The invention's effect】
According to the present invention, the stop control time can be shortened and the throughput can be improved by relaxing the condition of the stop accuracy under the condition where the stop accuracy is not required.
[Brief description of the drawings]
FIG. 1 is a diagram of a printing system showing an embodiment of the present invention.
FIG. 2 is a system block diagram of a printing apparatus according to the embodiment of the present invention.
FIG. 3 is a processing flow in a system control unit, representing an embodiment of the present invention.
FIG. 4 is an interrupt processing flow of a CR motor control unit, representing an embodiment of the present invention.
FIG. 5 is a table of various motors according to the embodiment of the present invention, in which motor control information for a print mode is stored.
FIG. 6 shows a stop determination criterion for a determination level in a stop determination table of various motors, which represents an embodiment of the present invention.
FIG. 7 illustrates a conventional technique in which a stop determination does not change depending on a print data position.
FIG. 8 illustrates an example of the present invention, in which a stop determination area varies depending on a print data position.
FIG. 9 is a diagram illustrating a conventional technique, and is illustrated using a time axis in FIG. 7;
FIG. 10 illustrates an embodiment of the present invention and is illustrated in FIG. 8 using a time axis.

Claims (1)

上位装置から送られたデータに基づいて、記録ヘッドを用いて記録を行う記録装置であって、
記録ヘッドを搭載したキャリッジを走査させる走査手段と、
前記走査手段を駆動する駆動手段と、
前記データを解析する解析手段と、
前記解析手段が解析した結果に基づいて、走査開始位置と走査終了位置を算出する手段と、
前記算出した位置に基づいて前記駆動手段の停止条件を求め、前記停止条件に基づいて停止処理を行う制御手段と
を備えることを特徴とする記録装置。
A recording device that performs recording using a recording head based on data transmitted from a higher-level device,
Scanning means for scanning a carriage equipped with a recording head;
Driving means for driving the scanning means;
Analysis means for analyzing the data,
Means for calculating a scan start position and a scan end position based on the result of analysis by the analysis means,
And a control unit for obtaining a stop condition of the driving unit based on the calculated position and performing a stop process based on the stop condition.
JP2002380873A 2002-12-27 2002-12-27 Recorder Withdrawn JP2004209763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002380873A JP2004209763A (en) 2002-12-27 2002-12-27 Recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002380873A JP2004209763A (en) 2002-12-27 2002-12-27 Recorder

Publications (1)

Publication Number Publication Date
JP2004209763A true JP2004209763A (en) 2004-07-29

Family

ID=32816969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002380873A Withdrawn JP2004209763A (en) 2002-12-27 2002-12-27 Recorder

Country Status (1)

Country Link
JP (1) JP2004209763A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013208772A (en) * 2012-03-30 2013-10-10 Brother Industries Ltd Inkjet recording apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013208772A (en) * 2012-03-30 2013-10-10 Brother Industries Ltd Inkjet recording apparatus

Similar Documents

Publication Publication Date Title
CA2290719C (en) Printing system involving print preparing operation
EP0550158B1 (en) Printing apparatus and printing control method
US20030163639A1 (en) Sequential command processing mode in a disc drive using command queuing
US5930524A (en) System for selective display of peripheral I/O device status for each application program based on a list of application programs
JP2004209763A (en) Recorder
CN1452368A (en) Controlling device and method
KR101235859B1 (en) Method and apparatus for operating a printer driver corresponding to a application, method and apparatus for installing a printer driver
US6592198B2 (en) Recording apparatus with control of a recording medium conveying mechanism
US5268884A (en) Seek control method and apparatus for disk apparatus
JP2011068022A (en) Recording device, control method of recording device and program
JPH02137955A (en) Printer control method
US7538897B2 (en) Print control device having print cancel function, data processing method, computer program, and computer readable storage medium
JPH02158367A (en) Printer control method
JPS6117016B2 (en)
US7580141B2 (en) Image forming apparatus
JP2001138590A (en) Serial printer, printing system and method of driving carriage therein
JPH01311898A (en) Method of testing pulse motor for subscanning drive
JP4062564B2 (en) Image forming apparatus and image data reception control method thereof
JPH11198449A (en) Method for controlling printing of printer
JP2003076649A (en) Data processor, print control device, interface selecting method, storage medium, and program
JP4529324B2 (en) Continuous paper printer
JPS62242565A (en) Recorder
JPS63153154A (en) Shuttle drive device for printer
JP2002073539A (en) Peripheral equipment for computer, and communication control method for the same
JPH03290265A (en) Printing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307