JP2820830B2 - Printer print control method - Google Patents

Printer print control method

Info

Publication number
JP2820830B2
JP2820830B2 JP10157992A JP10157992A JP2820830B2 JP 2820830 B2 JP2820830 B2 JP 2820830B2 JP 10157992 A JP10157992 A JP 10157992A JP 10157992 A JP10157992 A JP 10157992A JP 2820830 B2 JP2820830 B2 JP 2820830B2
Authority
JP
Japan
Prior art keywords
time
spacing
impact
timer
movement
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
JP10157992A
Other languages
Japanese (ja)
Other versions
JPH05270110A (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.)
SHINKO MECHATROTECH CO., LTD.
Original Assignee
SHINKO MECHATROTECH CO., LTD.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHINKO MECHATROTECH CO., LTD. filed Critical SHINKO MECHATROTECH CO., LTD.
Priority to JP10157992A priority Critical patent/JP2820830B2/en
Publication of JPH05270110A publication Critical patent/JPH05270110A/en
Application granted granted Critical
Publication of JP2820830B2 publication Critical patent/JP2820830B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、移動される印字ヘッド
により印字媒体に印字するプリンタの印字制御方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing control system for a printer for printing on a printing medium by a moving print head.

【0002】[0002]

【従来の技術】従来のプリンタの印字制御方式を、図3
及び図4を参照して説明する。図3は従来のプリンタの
印字制御方式の構成を示すブロック図、図4は従来のプ
リンタの印字制御方式による印字動作のタイムチャート
である。
2. Description of the Related Art FIG.
This will be described with reference to FIG. FIG. 3 is a block diagram showing the configuration of a print control system of a conventional printer, and FIG. 4 is a time chart of a print operation by the print control system of a conventional printer.

【0003】従来のプリンタの印字制御方法では、図3
に示すようにホストコンピュータ1がI/Oポート2を
介してCPU3に接続され、このCPU3には、RAM
6及びROM5、スペーシング用タイマ7、I/Oポー
ト12が接続してあり、また、CPU3とI/Oポート
12の間にインパクト用タイマ17が接続されている。
In a conventional print control method of a printer, FIG.
As shown in FIG. 1, a host computer 1 is connected to a CPU 3 via an I / O port 2, and this CPU 3
6, a ROM 5, a spacing timer 7, and an I / O port 12 are connected, and an impact timer 17 is connected between the CPU 3 and the I / O port 12.

【0004】前記スペーシング用タイマ7には相切替L
SI8が接続してあり、相切替LSI8にはステッピン
グモータM1が接続されたモータドライバ10が接続し
てある。そして、I/Oポート12には、マグネットド
ライバ13とモータドライバ14とが接続してあり、マ
グネットドライバ13には印字ヘッド15が、モータド
ライバ14にはフィードモータ16が、それぞれ接続し
てある。
The spacing timer 7 has a phase switch L
An SI8 is connected, and a motor driver 10 connected to a stepping motor M1 is connected to the phase switching LSI8. A magnet driver 13 and a motor driver 14 are connected to the I / O port 12. A print head 15 is connected to the magnet driver 13, and a feed motor 16 is connected to the motor driver 14.

【0005】この従来のプリンタの印字制御方法では、
プリンタがホストコンピュータ1から印字符号をI/O
ポート2を介して受信し、スペーシング移動量の計算後
に、スペーシング信号がCPU3に入力されると、CP
U3はROM5に格納されているキャリッジ移動速度条
件と印字ヘッド駆動条件を規定するデータを参照して、
当該スペーシング信号に対応するキャリッジの移動制御
の速度と、印字ヘッドの印字動作時点とを演算する。ま
た、得られた演算値に基づいてスペーシング用タイマ7
から出力するタイムパルス信号の出力時点が設定され
る。
In this conventional printing control method for a printer,
The printer inputs / outputs the print code from the host computer 1
When a spacing signal is input to the CPU 3 after receiving via the port 2 and calculating the spacing movement amount, the CP
U3 refers to data defining the carriage moving speed condition and the print head driving condition stored in the ROM 5,
The speed of the movement control of the carriage corresponding to the spacing signal and the time of the printing operation of the print head are calculated. Also, based on the obtained operation value, the spacing timer 7
The output time point of the time pulse signal output from is set.

【0006】そして、以下に、図4に基づいて説明する
ように、スペーシング割り込み処理によって、キャリッ
ジは、加速区間Aでは演算した速度に基づいて加速移動
され、等速区間Eでは演算した速度に対応した一定速度
で移動され、減速区間Dでは演算した速度に基づいて減
速移動される。さらに、等速区間では、印字データが入
力されている場合は、インパクト割り込み処理によっ
て、所定時間毎に印字ヘッド15が駆動されて印字動作
が行われる。
As will be described below with reference to FIG. 4, the carriage is accelerated by the spacing interruption processing based on the calculated speed in the acceleration section A, and moves to the calculated speed in the constant speed section E. It is moved at the corresponding constant speed, and in the deceleration section D, it is decelerated based on the calculated speed. Further, in a constant speed section, when print data is input, the print head 15 is driven at predetermined time intervals by an impact interrupt process to perform a printing operation.

【0007】すなわち、加速区間A、等速区間E及び減
速区間Dを通じて、スペーシング用タイマ7からのタイ
ムパルス信号により、CPU3はスペーシング割り込み
処理を行って、相切替LSI8に処理信号を入力し、こ
の処理信号により相切替LSI8が作動してモータドラ
イバ10に駆動信号を入力し、モータドライバ10によ
ってステッピングモータ11が駆動され、ステッピング
モータ11の回転によつてキャリッジは次第に加速移動
する。
That is, through the acceleration section A, the constant velocity section E, and the deceleration section D, the CPU 3 performs a spacing interruption process by a time pulse signal from the spacing timer 7 and inputs a processing signal to the phase switching LSI 8. In response to this processing signal, the phase switching LSI 8 operates to input a drive signal to the motor driver 10, and the motor driver 10 drives the stepping motor 11, and the rotation of the stepping motor 11 causes the carriage to gradually accelerate.

【0008】また、スペ−シング加速終了時にインパク
ト用タイマを起動し、等速区間では、前記キャリッジの
移動のためのスペーシング割り込み処理に加えて、スペ
ーシング用タイマ7からのタイムパルス信号により、C
PU3はインパクト割り込み処理を行って、マグネット
ドライバ13に処理信号を入力し、この処理信号で作動
するマグネットドライバ13からの駆動信号によって、
印字ヘッド15が駆動され印字動作が行われる。この場
合、印字後に改行の必要がある場合には、モータドライ
バ14を介してフィードモータ16に駆動信号を入力し
て、用紙を一行分移動する改行動作も行われる。そし
て、これらの割り込み処理の空き時間に、次の1行分の
受信処理がCPU3によって行われる。
At the end of the spacing acceleration, the impact timer is started. In the constant speed section, in addition to the spacing interrupt processing for moving the carriage, a time pulse signal from the spacing timer 7 is used. C
The PU 3 performs an impact interrupt process, inputs a processing signal to the magnet driver 13, and receives a drive signal from the magnet driver 13 that operates according to the processing signal.
The print head 15 is driven to perform a printing operation. In this case, if a line feed is necessary after printing, a drive signal is input to the feed motor 16 via the motor driver 14 to perform a line feed operation for moving the sheet by one line. Then, the reception processing of the next one line is performed by the CPU 3 during the idle time of the interruption processing.

【0009】[0009]

【発明が解決しようとする課題】前述の従来の方法で
は、等速区間における次の1行分の受信処理が可能な時
間t3 (受信処理可能時間)は、図4に示すように、1
ドット分の処理時間Tとして割り当てられた320μs
からスペーシング割り込み処理に必要な時間t1 (50
μs)とインパクト割り込み処理に必要な時間t2 (2
00μs)の和(250μs)を差し引いた70μsと
なる。通常のプリンタでは、1行はほぼ2000ドット
であるので、前記受信処理可能時間t3 は、1行では1
40msになる。
In the conventional method described above, the time t3 (reception processing available time) during which reception processing for the next one line in the constant velocity section is possible is 1 as shown in FIG.
320 μs assigned as processing time T for dots
From the time t1 (50
μs) and the time t2 (2
00 μs), which is 70 μs obtained by subtracting the sum (250 μs). In a normal printer, one line is almost 2,000 dots.
It will be 40 ms.

【0010】このような状況下で、プリンタが高速化さ
れて、1ドット分の処理時間Tが短縮されると、これに
伴って受信処理時間t3 が減少し、次行分の受信コード
の取込に時間がかかるため、印字速度を高速化しても、
取込の待時間が必要になって、印字速度の高速化の意味
がなくなるという問題が生じていた。本発明は、前述し
たようなプリンタの印字制御の現状に鑑みてなされたも
のであり、その目的はプリンタの高速化に伴う受信処理
時間の減少を防止したプリンタの印字制御方法を提供す
ることにある。
Under these circumstances, when the speed of the printer is increased and the processing time T for one dot is reduced, the reception processing time t3 is reduced accordingly, and the reception code for the next line is obtained. It takes time to print, so even if you increase the printing speed,
There has been a problem in that a waiting time for capturing is required, and it is meaningless to increase the printing speed. SUMMARY OF THE INVENTION The present invention has been made in view of the above-described current state of print control of a printer, and an object of the present invention is to provide a print control method for a printer that prevents a reduction in a reception processing time due to an increase in the speed of the printer. is there.

【0011】[0011]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、印字符号の入力により、キャリッジの移
動速度条件を規定する設定値に基づいてスペーシング用
タイマからタイムパルス信号を出力し、そのタイムパル
ス信号に対応するスペーシング割り込み処理により前記
キャリッジの加速移動、等速移動及び減速移動を行い、
等速移動区間ではインパクト用タイマからのパルスに対
応する前記印字ヘッドによる印字のためのインパクト割
り込み処理を行い、前記各タイムパルス信号に対応する
割込み処理の空き時間に次行分の受信コードの取込を行
うプリンタの印字制御方法において、前記スペーシング
用タイマからのタイムパルス信号に基づいてディスカウ
ントするカウンタを設け、前記加速移動区間の終了時点
で、等速移動と減速移動のための残りカウント数を前記
カウンタに設定するとともに、前記等速移動区間では一
定のパルス間隔のタイムパルス信号により等速移動を継
続させて前記スペーシング割り込み処理を禁止し、か
つ、前記インパクト用タイマを起動し、そのパルスによ
って前記インパクト割り込み処理を行って印字を行わ
せ、前記インパクト割り込み処理の終了時に前記スペー
シング割り込み処理の禁止を解除するとともに、前記カ
ウンタのその時点のデータを読出して前記減速移動のた
めの制御を行うようにしたことを特徴としている。
In order to achieve the above object, according to the present invention, a time pulse signal is output from a spacing timer based on a set value which defines a carriage moving speed condition by inputting a print code. Performing an acceleration movement, a constant velocity movement and a deceleration movement of the carriage by a spacing interruption process corresponding to the time pulse signal,
In the constant speed movement section, an impact interrupt process for printing by the print head corresponding to the pulse from the impact timer is performed, and the reception code for the next line is acquired during the idle time of the interrupt process corresponding to each time pulse signal. In the printing control method for a printer, a counter is provided which counts down based on a time pulse signal from the spacing timer, and at the end of the acceleration movement section, the remaining number of counts for constant speed movement and deceleration movement While the constant speed is set in the counter, the constant speed movement is continued by a time pulse signal at a constant pulse interval in the constant speed movement section to prohibit the spacing interrupt processing, and activates the impact timer, The impact interrupt processing is performed by a pulse to perform printing, and the impact splitting is performed. With cancels the prohibition of the spacing interrupt processing at the end of the write process is characterized in that the data at the time of the counter is read and to perform control for the deceleration movement.

【0012】[0012]

【作用】上記構成により、タイムパルス信号に基づい
て、キャリッジ及び印字ヘッドの作動条件として、キャ
リッジの移動速度と印字動作時点とが演算され、その演
算値に対応してタイムパルス信号の出力時点が設定され
る。そして、このタイムパルス信号に対応して行われる
スペーシング割り込み処理により、キャリッジに対する
加速移動と減速移動とが行なわれる。この場合、加速移
動区間の終了時点で、カウンタにタイムパルス信号の残
りカウント数が設定され、加速移動区間の終了時点から
カウンタはスペ−シング用タイマのパルス入力で当該設
定カウント数をディスカウントする。そして、等速移動
区間ではスペーシング割り込み動作が禁止され、インパ
クト用タイマの出力パルスに対応して行われるインパク
ト割り込み処理により、印字ヘッドが駆動されて印字動
作が行われる。この印字動作の空き時間に前記スペーシ
ング割り込み動作の禁止により増長された時間を利用し
て次行の受信コードの取込が行われる。
According to the above construction, the moving speed of the carriage and the printing operation time are calculated as operating conditions of the carriage and the print head based on the time pulse signal, and the output time of the time pulse signal is determined in accordance with the calculated value. Is set. Then, the acceleration movement and the deceleration movement with respect to the carriage are performed by the spacing interruption processing performed in response to the time pulse signal. In this case, the remaining count number of the time pulse signal is set in the counter at the end of the acceleration movement section, and the counter discounts the set count number from the end of the acceleration movement section by the pulse input of the spacing timer. The spacing interrupt operation is prohibited in the constant speed moving section, and the print head is driven to perform the printing operation by the impact interrupt processing performed in response to the output pulse of the impact timer. The reception code of the next line is fetched using the time lengthened by the prohibition of the spacing interruption operation during the idle time of this printing operation.

【0013】[0013]

【実施例】以下、本発明の一実施例を図1及び図2を参
照して説明する。図1は実施例装置の構成を示すブロッ
ク図、図2は実施例の動作を示すタイムチャートであ
り、これらの図においてすでに説明した図3及び図4と
同一部分には同一符号を付してある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the embodiment apparatus, and FIG. 2 is a time chart showing the operation of the embodiment. In these figures, the same parts as those in FIGS. is there.

【0014】図1に示すように、実施例では、すでに図
3で説明した従来のプリンタの印字制御方法に対して、
スペ−シング用タイマ7の出力側とCPU3との間にそ
のタイマの出力するタイムパルス信号を検出してディス
カウントするカウンタ18を付加してある。実施例のそ
の他の部分の構成は、すでに図3を参照して説明した従
来のプリンタの印字制御方法と同一である。
As shown in FIG. 1, the embodiment is different from the conventional printer print control method described with reference to FIG.
A counter 18 is added between the output side of the spacing timer 7 and the CPU 3 for detecting and discounting the time pulse signal output from the timer. The configuration of the other parts of the embodiment is the same as the print control method of the conventional printer already described with reference to FIG.

【0015】次に、このような構成による動作を説明す
る。CPU3は、ホストコンピュータ1からの印字符号
をI/Oポート2を介して受信すると、受信した印字符
号に基づいて、CPU3はROM5に格納されているキ
ャリッジ移動データと印字ヘッド駆動データとを参照し
て、当該スペーシング信号に対してのキャリッジの移動
制御の速度と、印字ヘッドの印字動作時点とを演算す
る。そして、得られた演算値に基づいて図2(a)に示
すようにスペーシング用タイマ7から出力するタイムパ
ルス信号の出力時点が設定される。このタイムパルス信
号は、加速区間Aではキャリッジの移動速度を次第に上
昇させるために、時間の経過に応じてパルス間隔が次第
に狭められ、等速区間Eではキャリッジを等速度で移動
させるためにパルス間隔が一定に設定され、減速区間D
では、キャリッジの移動速度を次第に減速させるため
に、時間の経過に応じてパルス間隔が次第に広められ
る。
Next, the operation of the above configuration will be described. When the CPU 3 receives the print code from the host computer 1 via the I / O port 2, the CPU 3 refers to the carriage movement data and the print head drive data stored in the ROM 5 based on the received print code. Then, the speed of the movement control of the carriage in response to the spacing signal and the time of the printing operation of the print head are calculated. Then, based on the obtained operation value, the output time point of the time pulse signal output from the spacing timer 7 is set as shown in FIG. In this time pulse signal, the pulse interval is gradually narrowed as time passes in order to gradually increase the moving speed of the carriage in the acceleration section A, and the pulse interval is used in order to move the carriage at the same speed in the constant speed section E. Is set to be constant, and the deceleration section D
In this case, in order to gradually reduce the moving speed of the carriage, the pulse interval is gradually widened as time passes.

【0016】加速区間Aでは、スペーシング用タイマ7
からのタイムパルス信号に応じてCPU3は割り込み処
理を行って同図(b)に示すスペーシング割り込み処理
の処理信号を相切替LSI8に入力する。この処理信号
によって相切替LSI8は、モータドライバ10に駆動
信号を入力し、モータドライバ10によつてステッピン
グモータ11が駆動され、キャリッジは次第に加速され
るように移動する。
In the acceleration section A, the spacing timer 7
In response to the time pulse signal from the CPU 3, the CPU 3 performs an interrupt process and inputs a processing signal of the spacing interrupt process shown in FIG. With this processing signal, the phase switching LSI 8 inputs a drive signal to the motor driver 10, the stepping motor 11 is driven by the motor driver 10, and the carriage moves so as to be gradually accelerated.

【0017】そして、加速区間の終了時点のタイムパル
ス信号が出力されたことが、スペーシング割込処理の中
で検出されると、当該タイムパルス信号に対応するスペ
ーシング割り込み処理を禁止し、カウンタ18に残りの
タイムパルス信号数、すなわち、図2に示す例では等速
移動させるためのタイムパルスのカウント数n1と減速
移動させるためのタイムパルスのカウント数n2の和
(n1+n2)が設定される。また、加速終了時のスペ
ーシング割込処理でインパクトタイマ17を起動する。
If the output of the time pulse signal at the end of the acceleration section is detected in the spacing interrupt processing, the spacing interrupt processing corresponding to the time pulse signal is prohibited, and the counter is disabled. 2, the sum (n1 + n2) of the number of time pulse signals remaining, that is, the count number n1 of time pulses for moving at a constant speed and the count number n2 of time pulses for decelerating movement in the example shown in FIG. . Further, the impact timer 17 is started in the spacing interruption processing at the end of the acceleration.

【0018】ここで、等速区間に移行すると、CPU3
によるスペーシング割り込み処理は禁止され、カウンタ
18は設定されたカウント数n1+n2をタイムパルス
信号で自動的にディスカウントして行く。一定時間間隔
で図2(c)に示す計数信号を出力する。一方、インパ
クト用タイマ17によるタイマ出力がCPU3に入力す
ると、同図(d)に示すCPU3によるインパクト割り
込み処理が行われ、I/Oポート12を介してマグネッ
トドライバ13に処理信号が入力され、この処理信号に
基づいて、マグネットドライバ13から発せられる駆動
信号によって、印字ヘッド15が駆動され等速区間Eに
おいて印字動作が行われる。また、印字後に改行の必要
がある場合には、CPU3はI/Oポート12を介して
モータドライバ14に処理信号を入力し、この処理信号
で作動するモータドライバ14からの駆動信号によっ
て、フィードモータ16が駆動して、用紙を一行分移動
する改行動作も行われる。さらに、等速区間Eのインパ
クト割り込み処理動作以外の空き時間に、次行の受信コ
ードの取込動作が行われる。このように、等速区間で
は、スペーシング割り込み処理が禁止され、インパクト
割り込み処理のみが行われるので、CPU3の割り込み
処理に必要な動作時間が減少する。そして、インパクト
用タイマ17によるインパクト割り込み処理の終了時に
スペ−シング用タイマ7によるスペーシング割り込み処
理の禁止が解除され、かつ、その時点のカウンタ18の
デ−タを読み出し、このデ−タをスペーシングの減速ス
テップ数とする。
Here, when a transition is made to the constant speed section, the CPU 3
Is disabled, and the counter 18 automatically discounts the set count number n1 + n2 by a time pulse signal. The count signal shown in FIG. 2C is output at regular time intervals. On the other hand, when the timer output from the impact timer 17 is input to the CPU 3, an impact interrupt process is performed by the CPU 3 shown in FIG. 4D, and a processing signal is input to the magnet driver 13 via the I / O port 12. The print head 15 is driven by a drive signal emitted from the magnet driver 13 based on the processing signal, and a printing operation is performed in the constant velocity section E. If a line feed is necessary after printing, the CPU 3 inputs a processing signal to the motor driver 14 via the I / O port 12 and receives a feed signal from the motor driver 14 operated by the processing signal. A line feed operation for driving the sheet 16 to move the sheet by one line is also performed. Further, in the idle time other than the impact interrupt processing operation in the constant speed section E, the operation of receiving the reception code of the next line is performed. As described above, in the constant velocity section, the spacing interrupt processing is prohibited, and only the impact interrupt processing is performed, so that the operation time required for the interrupt processing of the CPU 3 is reduced. At the end of the impact interrupt processing by the impact timer 17, the inhibition of the spacing interrupt processing by the spacing timer 7 is released, and the data of the counter 18 at that time is read out. The number of pacing deceleration steps.

【0019】ここで減速区間Dに移行し、この時点から
CPU3は、スペーシング用タイマ7のタイムパルス信
号に基づいてスペーシング割り込み処理を再開し、スペ
−シング用タイマ7の出力信号にり、相切替LSI8が
モータドライバ10に駆動信号を入力し、モータドライ
バ10によつてステッピングモータ11が駆動され、キ
ャリッジは次第に減速されるように移動する。
At this point, the processing shifts to the deceleration section D. At this point, the CPU 3 restarts the spacing interruption processing based on the time pulse signal of the spacing timer 7, and returns to the output signal of the spacing timer 7, The phase switching LSI 8 inputs a drive signal to the motor driver 10, the stepping motor 11 is driven by the motor driver 10, and the carriage moves so as to be gradually decelerated.

【0020】このように、実施例では印字動作時の1ド
ット分の処理時間T(=320us)中の受信制限時間
t1 +t2 (=50+200us)から、スペーシング
割り込み処理に必要な時間t1 (=50us)が削減さ
れるので、受信可能時間t3は1ドット当たり、従来が
70us(=320−250)であったのに比し、本実
施例では、120us(=320−200)と増加し、
プリンタの高速化に対応して次行分の受信コードの取込
を迅速に行うことが可能になる。
As described above, in the embodiment, the reception time limit t1 + t2 (= 50 + 200 us) during the processing time T (= 320 us) for one dot during the printing operation is reduced to the time t1 (= 50 us) required for the spacing interrupt processing. ) Is reduced, the receivable time t3 per dot is increased to 120 us (= 320-200) in this embodiment, compared to 70 us (= 320-250) per dot in the past.
In response to the speeding up of the printer, it is possible to quickly take in the reception code for the next line.

【0021】[0021]

【発明の効果】以上に説明したように、本発明では、加
速移動区間の終了時点で、等速移動と減速移動のための
残りカウント数を前記カウンタに設定するとともに、等
速移動区間では一定のパルス間隔のタイムパルス信号に
より等速移動を継続させて前記スペーシング割り込み処
理を禁止し、かつ、前記インパクト用タイマを起動し、
そのパルスによって前記インパクト割り込み処理を行っ
て印字を行わせ、前記インパクト割り込み処理の終了時
に前記スペーシング割り込み処理の禁止を解除するとと
もに、前記カウンタのその時点のデータを読出して前記
減速移動のための制御を行うようにしたので、等速移動
区間での受信可能時間が増加し、プリンタの高速化に対
応して次行分の受信コードの取込を迅速に行うことが可
能になる。
As described above, according to the present invention, at the end of the acceleration movement section, the remaining counts for the constant velocity movement and the deceleration movement are set in the counter, and the constant count is kept constant in the constant velocity movement section. The constant speed movement is continued by the time pulse signal of the pulse interval to prohibit the spacing interrupt processing, and activate the impact timer,
The impact interrupt processing is performed by the pulse to perform printing, and at the end of the impact interrupt processing, the prohibition of the spacing interrupt processing is released, and the data at that time of the counter is read to execute the deceleration movement. Since the control is performed, the receivable time in the constant speed moving section is increased, and the reception code for the next line can be quickly taken in in response to the speeding up of the printer.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の一実施例の動作を示すタイムチャート
である。
FIG. 2 is a time chart showing the operation of one embodiment of the present invention.

【図3】従来のプリンタの印字制御方法の構成を示すブ
ロック図である。
FIG. 3 is a block diagram showing a configuration of a conventional print control method of a printer.

【図4】従来のプリンタの印字制御方法の動作を示すタ
イムチャートである。
FIG. 4 is a time chart showing the operation of a conventional print control method for a printer.

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

1 ホストコンピュータ 3 CPU 5 ROM 6 RAM 7 スペーシング用タイマ 8 相切替LSI 10 モータドライバ 11 ステッピングモータ 13 マグネットドライバ 14 モータドライバ 15 印字ヘッド 16 フィードモータ 17 インパクト用タイマ 18 カウンタ Reference Signs List 1 host computer 3 CPU 5 ROM 6 RAM 7 spacing timer 8 phase switching LSI 10 motor driver 11 stepping motor 13 magnet driver 14 motor driver 15 print head 16 feed motor 17 impact timer 18 counter

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印字符号の入力により、キャリッジの移
動速度条件を規定する設定値に基づいてスペーシング用
タイマからタイムパルス信号を出力し、そのタイムパル
ス信号に対応するスペーシング割り込み処理により前記
キャリッジの加速移動、等速移動及び減速移動を行い、
等速移動区間ではインパクト用タイマからのパルスに対
応する前記印字ヘッドによる印字のためのインパクト割
り込み処理を行い、前記各タイムパルス信号に対応する
割込み処理の空き時間に次行分の受信コードの取込を行
うプリンタの印字制御方法において、 前記スペーシング用タイマからのタイムパルス信号に基
づいてディスカウントするカウンタを設け、前記加速移
動区間の終了時点で、等速移動と減速移動のための残り
カウント数を前記カウンタに設定するとともに、前記等
速移動区間では一定のパルス間隔のタイムパルス信号に
より等速移動を継続させて前記スペーシング割り込み処
理を禁止し、かつ、前記インパクト用タイマを起動し、
そのパルスによって前記インパクト割り込み処理を行っ
て印字を行わせ、前記インパクト割り込み処理の終了時
に前記スペーシング割り込み処理の禁止を解除するとと
もに、前記カウンタのその時点のデータを読出して前記
減速移動のための制御を行うようにしたことを特徴とす
るプリンタの印字制御方法。
1. A time pulse signal is output from a spacing timer based on a set value defining a moving speed condition of a carriage by inputting a print code, and the carriage is interrupted by a spacing interrupt process corresponding to the time pulse signal. Acceleration, constant speed and deceleration
In the constant speed movement section, an impact interrupt process for printing by the print head corresponding to the pulse from the impact timer is performed, and the reception code for the next line is acquired during the idle time of the interrupt process corresponding to each time pulse signal. A printing control method for a printer, wherein a counter that counts down based on a time pulse signal from the spacing timer is provided, and at the end of the acceleration movement section, the remaining count number for constant speed movement and deceleration movement. While setting the counter, in the constant velocity movement section, to continue the constant velocity movement by a time pulse signal of a constant pulse interval, inhibit the spacing interrupt processing, and start the impact timer,
The impact interrupt processing is performed by the pulse to perform printing, and at the end of the impact interrupt processing, the prohibition of the spacing interrupt processing is released, and the data at that time of the counter is read to execute the deceleration movement. A printing control method for a printer, characterized by performing control.
JP10157992A 1992-03-27 1992-03-27 Printer print control method Expired - Fee Related JP2820830B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10157992A JP2820830B2 (en) 1992-03-27 1992-03-27 Printer print control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10157992A JP2820830B2 (en) 1992-03-27 1992-03-27 Printer print control method

Publications (2)

Publication Number Publication Date
JPH05270110A JPH05270110A (en) 1993-10-19
JP2820830B2 true JP2820830B2 (en) 1998-11-05

Family

ID=14304306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10157992A Expired - Fee Related JP2820830B2 (en) 1992-03-27 1992-03-27 Printer print control method

Country Status (1)

Country Link
JP (1) JP2820830B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0185048B1 (en) * 1996-06-20 1999-05-15 김광호 A step motor position control and a printer head control apparatus and method

Also Published As

Publication number Publication date
JPH05270110A (en) 1993-10-19

Similar Documents

Publication Publication Date Title
JPH0121718B2 (en)
JP2820830B2 (en) Printer print control method
JPH02137955A (en) Printer control method
JP2975141B2 (en) How to set the initial carriage position of a serial printer
US5147143A (en) Printer carriage homing mechanism
JPH02158367A (en) Printer control method
JP2652831B2 (en) Printing control method
JP2739617B2 (en) Serial dot printer
JPS6258317B2 (en)
JPH0692171B2 (en) Shuttle drive
KR950007746B1 (en) Carriage motor driving method in printer
JPS59156779A (en) Serial printer
JPH048550A (en) Serial impact printer control device
JPH04263974A (en) Printing mode selection processing system of printer
JP3096195B2 (en) Transport member drive method
JP2713683B2 (en) Printer control method
JPH0688426B2 (en) Drive device for shuttle in printer
JPS59232889A (en) Space controlling system for printer
JPH04255370A (en) Printing region enlarging apparatus of printer
JPH10109452A (en) Serial printer
JPH0144154B2 (en)
KR950005674B1 (en) Electronic typewrite operating device and method
JPS6040282A (en) Printer
JPH0531995A (en) Line feed motor control system of printer
JPS62242565A (en) Recorder

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080828

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20080828

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080828

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090828

Year of fee payment: 11

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20090828

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

Free format text: PAYMENT UNTIL: 20100828

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees