JPH06198970A - Printing controller - Google Patents

Printing controller

Info

Publication number
JPH06198970A
JPH06198970A JP34885792A JP34885792A JPH06198970A JP H06198970 A JPH06198970 A JP H06198970A JP 34885792 A JP34885792 A JP 34885792A JP 34885792 A JP34885792 A JP 34885792A JP H06198970 A JPH06198970 A JP H06198970A
Authority
JP
Japan
Prior art keywords
print
printing
phase switching
command signal
carriage
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.)
Granted
Application number
JP34885792A
Other languages
Japanese (ja)
Other versions
JP3050259B2 (en
Inventor
Hirotomo Tanaka
啓友 田中
Toshiaki Miyasaka
敏明 宮坂
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP34885792A priority Critical patent/JP3050259B2/en
Publication of JPH06198970A publication Critical patent/JPH06198970A/en
Application granted granted Critical
Publication of JP3050259B2 publication Critical patent/JP3050259B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To prevent generation of a slippage from a specified printing location by a method wherein a printing command signal is generated a flight time period of a print head earlier than the estimated time at which the print head passes the specified printing location. CONSTITUTION:A control part A of a printing controller controls printing process in the following steps. (step 1): phase switching up to M (n-2) is carried out and a carriage is accelerated. (step 2): the phase of a phase switching signal M (n-1) is switched, (step 3): cycle tp (n-1) corresponding to the phase switching signal M (n-1) is read out from a ROM, (step 4): a delay time td (n-1)=tp (n-1)-tfly is calculated. (step 5); M (n-1) is switched in phase to confirm the fact that the delay time td (n-1) has elapsed. Then, after a printing command signal P(n) is generated, the actions described above are repeated every time of phase switching after M (n+1) on.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はプリンタの印字制御装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control device for a printer.

【0002】[0002]

【従来の技術】コンピュータなどからの出力を印刷する
プリンタにおいて、スループット向上のために印字ヘッ
ドを搭載したキャリッジを停止状態から一定速度まで加
速している途中、あるいは一定速度から停止状態まで減
速している途中にも印字を行うものが知られている。
2. Description of the Related Art In a printer that prints output from a computer or the like, a carriage equipped with a print head is being accelerated from a stopped state to a certain speed or decelerated from the certain speed to the stopped state in order to improve throughput. It is known that printing is performed even while the user is in the middle of work.

【0003】しかし、例えばワイヤドットプリンタにお
いては、印字指令が与えられてからワイヤの先端が印字
媒体に到達してドットを形成するまでの時間(以後、フ
ライト時間と呼ぶ)にキャリッジが移動する距離がキャ
リッジの移動速度によって異なるため、キャリッジの移
動速度が変化している状態で印字動作を行なうとドット
間隔が一定にならないという問題が生じる。そこで、例
えば特開昭55−85984ではキャリッジの移動速度
に応じたディレイ時間を設定し、ディレイ時間が経過し
た後に印字指令を与えるよう補正を行ってドット間隔を
一定にしている。
However, in a wire dot printer, for example, the distance that the carriage moves in the time from when a print command is given to when the tip of the wire reaches the print medium and forms dots (hereinafter referred to as flight time). Varies depending on the moving speed of the carriage. Therefore, if the printing operation is performed while the moving speed of the carriage is changing, the dot interval will not be constant. Therefore, for example, in Japanese Patent Laid-Open No. 55-85984, a delay time is set according to the moving speed of the carriage, and a dot command is corrected after the delay time has elapsed to make a fixed dot interval.

【0004】[0004]

【発明が解決しようとする課題】しかし、キャリッジ速
度に応じたディレイ時間Td を各速度毎に予め計算して
メモリに記憶しておき、検出した速度に応じたメモリの
値を参照するか、または速度を検出した時点で上述した
計算式に従って計算を行なってディレイ時間Tdの値を
設定していた。このため、前者は多くのメモリ容量を要
する、後者は計算のための処理時間が長いため印字のス
ループットを低下させる、という問題点があった。
However, the delay time Td corresponding to the carriage speed is calculated in advance for each speed and stored in the memory, and the value of the memory corresponding to the detected speed is referred to, or When the speed is detected, the delay time Td is set by performing the calculation according to the above-described calculation formula. Therefore, the former requires a large amount of memory capacity, and the latter has a problem that the processing throughput for calculation is long and thus the printing throughput is reduced.

【0005】また、従来の補正方法はステップモータの
相切り換えのタイミングよりディレイ時間だけ遅れて印
字指令信号を発生するため相切り換えの位置が本来の印
字位置であるにもかかわらず、実際の印字位置はSmax
だけずれてしまい、さらに、往復印字した場合は往路と
復路の印字位置が2Smax だけずれるため、製造工程で
の調整が必要であるという問題点があった。
Further, in the conventional correction method, since the print command signal is generated with a delay time after the phase switching timing of the step motor, the phase switching position is the original printing position, but the actual printing position is Is Smax
There is a problem that adjustment is necessary in the manufacturing process because the printing positions of the forward path and the backward path are displaced by 2Smax when the printing is performed back and forth.

【0006】[0006]

【課題を解決するための手段】この様な課題を解決する
ために本発明の印字制御装置は、動力源により印字ヘッ
ドを移動させつつ、前記動力源の運動に同期した信号を
受けて印字指令信号を発生し、該印字信号指令を前記印
字ヘッドに与える印字制御装置において、前記印字ヘッ
ドが所定印字位置を通過する予定時刻より前記印字ヘッ
ドのフライト時間分だけ以前に前記印字指令信号を発生
し、該印字信号指令を前記印字ヘッドに与えることを特
徴とする。
In order to solve such a problem, the printing control apparatus of the present invention moves a print head by a power source and receives a signal in synchronization with the motion of the power source to issue a print command. In a print control device that generates a signal and gives the print signal command to the print head, the print command signal is generated before a flight time of the print head from a scheduled time when the print head passes a predetermined print position. The print signal command is given to the print head.

【0007】[0007]

【実施例】以下、図面に基づき本発明の実施例を詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0008】図5はキャリッジをステップモータで駆動
して加速しながら図中左から右へと移動した時のステッ
プモータの相切り換え信号であり、距離的には一定間
隔、時間(周期)的には短くなっていく。通常はこの相
切り換え信号に同期して印字指令信号を発生して印字を
行なう。
FIG. 5 shows a phase switching signal of the step motor when the carriage is moved from the left to the right in the figure while being accelerated by being driven by the step motor. Is getting shorter. Normally, a print command signal is generated in synchronization with this phase switching signal to perform printing.

【0009】図5において、最高速度Vmax で矢印の方
向に走行しながら相切り換え信号と同時に印字指令信号
を発生して印字を行なった場合、印字ドット位置D1は
相切り換え位置よりSmax だけずれる。
In FIG. 5, when printing is performed by generating a print command signal at the same time as the phase switching signal while traveling in the direction of the arrow at the maximum speed Vmax, the print dot position D1 is displaced from the phase switching position by Smax.

【0010】一方、加速中にある時点でのキャリッジ移
動速度がVである時、相切り換え信号と同時に、つまり
補正を行なわずに印字指令信号を発生して印字を行なっ
た場合、印字ドット位置D2は相切り換え位置よりSv
だけずれる。補正は、速度VのときのずれSv を最高速
度Vmax のときのずれSmax に等しくなるように速度に
応じたディレイ時間を設定し、相切り換えからディレイ
時間が経過した後に印字指令を与えることにより、速度
Vのときの印字ドット位置をD3の位置に修正して、各
印字ドット間隔を一定にするものである。
On the other hand, when the carriage moving speed is V during acceleration, the print dot position D2 is generated at the same time as the phase switching signal, that is, when the print command signal is generated without correction. Is Sv from the phase switching position
It just shifts. The correction is performed by setting a delay time according to the speed so that the deviation Sv at the speed V becomes equal to the deviation Smax at the maximum speed Vmax, and giving a print command after the delay time has elapsed from the phase switching, The print dot position at the speed V is corrected to the position of D3 to make the print dot intervals constant.

【0011】このときのディレイ時間Td の値は以下の
ように求めることができる。図5において最高速度Vma
x で走行しながら印字した場合、フライト時間Tfly の
時間だけ経過してドットが印字されるまでの距離Smax
は、 Smax=Vmax×Tfly で表される。これに対し速度Vで走行しながら印字を行
う場合は、相切り換えからディレイ時間Td が経過して
から印字指令信号を発生することによってSmaxの位置
に一致させるからTd は Td =Tfly×(Vmax−V)/V と表すことができる。
The value of the delay time Td at this time can be obtained as follows. Maximum speed Vma in Fig. 5
When printing while running at x, the distance Smax until the dots are printed after the flight time Tfly has elapsed
Is represented by Smax = Vmax × Tfly. On the other hand, when printing is performed while traveling at the speed V, the print command signal is generated after the delay time Td elapses from the phase switching so as to match the position of Smax, so Td is Td = Tfly × (Vmax− It can be expressed as V) / V.

【0012】図1は本発明が適用されるシリアルドット
プリンタの構成を示したものである。キャリッジ駆動モ
ータ1の回転運動をベルト等の牽引部材2およびプーリ
3を介して直線運動に変換することにより、印字ヘッド
4を搭載したキャリッジ5を所定速度で走行させ、印字
紙6に印字を行なう。
FIG. 1 shows the configuration of a serial dot printer to which the present invention is applied. By converting the rotary motion of the carriage drive motor 1 into a linear motion via the pulling member 2 such as a belt and the pulley 3, the carriage 5 having the print head 4 travels at a predetermined speed to print on the printing paper 6. .

【0013】本実施例において、キャリッジ駆動モータ
1はステップモータであり、相切り換え信号の周期に応
じた回転運動によりキャリッジを走行させる。図2
(a)は相切り換え信号であり加速から定速に移行する
様子を示している。加速中は相切り換え周期が時間の経
過に伴って短くなり、この一連の値は予めデータテーブ
ルとしてROM8に記憶されている。
In the present embodiment, the carriage drive motor 1 is a step motor, and causes the carriage to travel by rotational movement according to the cycle of the phase switching signal. Figure 2
(A) is a phase switching signal and shows a state in which the speed is changed from acceleration to constant speed. During acceleration, the phase switching cycle becomes shorter with the passage of time, and this series of values is stored in advance in the ROM 8 as a data table.

【0014】図3はこのような構成のキャリッジ制御装
置を制御するための制御ブロック図である。図3におい
て、符号7はプリンタの制御を行なうCPUである。符
号8はROMであり、本実施例の制御プログラムが書き
込まれている。符号9は各種データを一時的に記憶する
RAMである。
FIG. 3 is a control block diagram for controlling the carriage control device having such a configuration. In FIG. 3, reference numeral 7 is a CPU that controls the printer. Reference numeral 8 is a ROM in which the control program of this embodiment is written. Reference numeral 9 is a RAM for temporarily storing various data.

【0015】コンピュータ等のホスト装置10からの印
字データはI/F部(インターフェイス部)11を介し
てCPU7に送られる。印字指令信号はI/O部12を
介してヘッド駆動部13に送られ、これに応じてヘッド
駆動部13が印字ヘッド4を駆動して印字を行なう。キ
ャリッジ5を駆動するステップモータ1の相切り換え信
号はI/O部12を介してステップモータ駆動部14に
送られ、ステップモータ駆動部14がステップモータ1
を駆動する。
Print data from a host device 10 such as a computer is sent to the CPU 7 via an I / F unit (interface unit) 11. The print command signal is sent to the head drive unit 13 via the I / O unit 12, and in response to this, the head drive unit 13 drives the print head 4 to perform printing. The phase switching signal of the step motor 1 that drives the carriage 5 is sent to the step motor drive unit 14 via the I / O unit 12, and the step motor drive unit 14 causes the step motor 1 to operate.
To drive.

【0016】制御部A(破線部)の制御動作について図
4のフローチャートを参照しながら説明する。図2にお
いて、 (a)はステップモータ1の相切り換え信号 (b)は印字指令信号 である。なお、M(n) の相切り換え位置が印字紙上にお
ける印字領域の開始位置とする。
The control operation of the control unit A (broken line portion) will be described with reference to the flowchart of FIG. In FIG. 2, (a) is a phase switching signal of the step motor 1 and (b) is a print command signal. The phase switching position of M (n) is the start position of the printing area on the printing paper.

【0017】〔ステップ1〕M(n-2)(図示せず)まで
の相切り換えを行なってキャリッジを加速する。
[Step 1] The carriage is accelerated by switching phases up to M (n-2) (not shown).

【0018】〔ステップ2〕相切り換え信号M(n-1) の
相切り換えを行なう。
[Step 2] Phase switching of the phase switching signal M (n-1) is performed.

【0019】〔ステップ3〕相切り換え信号M(n-1) に
対応する周期tp(n-1)をROMから読み出す。
[Step 3] The period tp (n-1) corresponding to the phase switching signal M (n-1) is read from the ROM.

【0020】〔ステップ4〕ディレイ時間td(n-1)、t
d(n-1)=tp(n-1)−tflyを求める。
[Step 4] Delay time td (n-1), t
Find d (n-1) = tp (n-1) -tfly.

【0021】〔ステップ5〕M(n-1) の相切り換えを行
ない、ディレイ時間td(n-1)が経過したことを確認す
る。
[Step 5] Phase switching of M (n-1) is performed and it is confirmed that the delay time td (n-1) has elapsed.

【0022】〔ステップ6〕印字指令信号P(n) を発生
する。
[Step 6] The print command signal P (n) is generated.

【0023】以上の動作をM(n+1)以降の相切り換え毎
に繰り返して印字を行なう。
Printing is performed by repeating the above operation for each phase switching after M (n + 1).

【0024】以上により、従来のようにディレイ時間を
ROM8に記憶させたり、複雑な計算を行なう必要がな
く、ステップ4に示した極めて簡単な計算だけを行なう
だけでキャリッジの加速、減速中にも印字できる制御が
可能となる。
As described above, there is no need to store the delay time in the ROM 8 or to perform complicated calculation as in the conventional case, and even during the acceleration and deceleration of the carriage only by performing the extremely simple calculation shown in step 4. It is possible to control printing.

【0025】また、図2のステップモータ1の相切り換
え信号のタイミングはキャリッジ5が単位ステップの距
離を走行する予定時刻を表わすものでもある。本実施例
によれば、各相切り換えタイミング(つまりは単位ステ
ップ移動予定時刻)よりも常にフライト時間tfly分だ
け前に印字指令信号を発生するからP(n) の印字指令信
号に対しM(n)の時刻で印字ドットが形成されるため、
ドット間隔を一定にでき、かつ、各相切り換え位置に対
するずれが発生しない。
Further, the timing of the phase switching signal of the step motor 1 in FIG. 2 also represents the scheduled time when the carriage 5 travels a distance of a unit step. According to the present embodiment, the print command signal is always generated before the flight time tfly for each phase switching timing (that is, the unit step movement scheduled time). Therefore, M (n) for the print command signal P (n) is generated. ), The print dots are formed, so
The dot interval can be made constant, and no shift occurs with respect to each phase switching position.

【0026】なお、本発明の実施例では便宜上1回の相
切り換えにつき1回の印字指令信号を発生するものとし
て説明したが、相切り換え信号を分周、もしくは逓倍し
て印字指令信号を発生する場合はその出力に対して補正
を行なえばよい。
In the embodiment of the present invention, the print command signal is generated once for each phase switching for convenience, but the print command signal is generated by dividing or multiplying the phase switching signal. In that case, the output may be corrected.

【0027】[0027]

【発明の効果】以上のように本発明によれば、キャリッ
ジを停止状態から一定速度まで加速している途中、ある
いは一定速度から停止状態まで減速している途中にもド
ット間隔が一定な印字動作を行なうための補正をROM
容量に負担をかけず、かつ、処理時間が短いためスルー
プットにほとんど影響を及ぼすことなく行なうことがで
きる。また、所定の印字位置に対するずれが発生しない
ため、従来の往復印字時のずれ量に対する補正を必要と
せず、製造工程を簡略化できる効果も有する。
As described above, according to the present invention, the printing operation in which the dot interval is constant even when the carriage is being accelerated from the stopped state to the constant speed or being decelerated from the constant speed to the stopped state is performed. ROM for correction
Since the capacity is not burdened and the processing time is short, the throughput can be hardly affected. Further, since the deviation with respect to the predetermined printing position does not occur, there is no need for the conventional correction for the deviation amount at the time of reciprocal printing, and the manufacturing process can be simplified.

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

【図1】本発明の一実施例を示すプリンタの構成図。FIG. 1 is a configuration diagram of a printer showing an embodiment of the present invention.

【図2】本発明の一実施例のタイミングチャート。FIG. 2 is a timing chart of an embodiment of the present invention.

【図3】本発明の一実施例を示す制御ブロック図。FIG. 3 is a control block diagram showing an embodiment of the present invention.

【図4】本発明の一実施例の制御動作を説明するフロー
チャート。
FIG. 4 is a flowchart illustrating a control operation according to an embodiment of the present invention.

【図5】従来の補正方法を説明する図。FIG. 5 is a diagram illustrating a conventional correction method.

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

1 ステップモータ 2 タイミングベルト 3 プーリ 4 印字ヘッド 5 キャリッジ 6 印字紙 7 CPU 8 ROM 9 RAM 10 ホスト装置 11 I/F部 12 I/O部 13 ヘッド駆動部 14 ステップモータ駆動部 1 Step Motor 2 Timing Belt 3 Pulley 4 Print Head 5 Carriage 6 Printing Paper 7 CPU 8 ROM 9 RAM 10 Host Device 11 I / F Unit 12 I / O Unit 13 Head Drive Unit 14 Step Motor Drive Unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 動力源により印字ヘッドを移動させつ
つ、前記動力源の運動に同期した信号を受けて印字指令
信号を発生し、該印字指令信号を前記印字ヘッドに与え
る印字制御装置において、前記印字ヘッドが所定印字位
置を通過する予定時刻より前記印字ヘッドのフライト時
間分だけ以前に前記印字指令信号を発生し、前記印字指
令信号を前記印字ヘッドに与えることを特徴とする印字
制御装置。
1. A print control device for moving a print head by a power source, generating a print command signal in response to a signal synchronized with the motion of the power source, and giving the print command signal to the print head, A print control device, wherein the print command signal is generated before the scheduled time when the print head passes a predetermined print position by the flight time of the print head, and the print command signal is given to the print head.
JP34885792A 1992-12-28 1992-12-28 Printing control device Expired - Lifetime JP3050259B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34885792A JP3050259B2 (en) 1992-12-28 1992-12-28 Printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34885792A JP3050259B2 (en) 1992-12-28 1992-12-28 Printing control device

Publications (2)

Publication Number Publication Date
JPH06198970A true JPH06198970A (en) 1994-07-19
JP3050259B2 JP3050259B2 (en) 2000-06-12

Family

ID=18399857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34885792A Expired - Lifetime JP3050259B2 (en) 1992-12-28 1992-12-28 Printing control device

Country Status (1)

Country Link
JP (1) JP3050259B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002254707A (en) * 2001-02-28 2002-09-11 Naltec Inc Printer and its controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002254707A (en) * 2001-02-28 2002-09-11 Naltec Inc Printer and its controller

Also Published As

Publication number Publication date
JP3050259B2 (en) 2000-06-12

Similar Documents

Publication Publication Date Title
US5527121A (en) Printhead carriage control method and apparatus for achieving increased printer throughput
JPH11321005A (en) Serial printer
JP4093191B2 (en) Motor control device and printer
JP3053144B2 (en) Printer carriage motor controller
JPS63112182A (en) Printer device
JPH06198970A (en) Printing controller
JP2001205855A (en) Method and apparatus for printing
JP2001327194A (en) Pulse oscillation ic and motor positioning control method and device using the ic
JP2779215B2 (en) Recording control method
JPS6210835B2 (en)
JP2008055749A (en) Printer device and method of controlling the same
JPH0828996B2 (en) Drive control method for stepping motor
JP3031063B2 (en) Printing device
JPH0542743A (en) Control of spacing mechanism of printer
JPS6144073B2 (en)
JPS6258317B2 (en)
JP3063817B2 (en) Serial printer
JPH0144154B2 (en)
JPH061032A (en) Carriage control device
JP2003080774A (en) Recording method of line thermal printer and line thermal printer for use therein
JPH0798411B2 (en) Serial printer printing carrier control method
JPH01222698A (en) Printer
JPH0550690A (en) Carriage control device
JPH10109452A (en) Serial printer
JPH0825701A (en) Timing signal generator of serial printer

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000301

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080331

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090331

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090331

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110331

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120331

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120331

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130331

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130331

Year of fee payment: 13