JPS6213374A - Printer-controlling system - Google Patents

Printer-controlling system

Info

Publication number
JPS6213374A
JPS6213374A JP15286285A JP15286285A JPS6213374A JP S6213374 A JPS6213374 A JP S6213374A JP 15286285 A JP15286285 A JP 15286285A JP 15286285 A JP15286285 A JP 15286285A JP S6213374 A JPS6213374 A JP S6213374A
Authority
JP
Japan
Prior art keywords
motor
printing
print
area
home position
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
JP15286285A
Other languages
Japanese (ja)
Other versions
JPH0470994B2 (en
Inventor
Satoru Nishioka
哲 西岡
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP15286285A priority Critical patent/JPS6213374A/en
Publication of JPS6213374A publication Critical patent/JPS6213374A/en
Publication of JPH0470994B2 publication Critical patent/JPH0470994B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To ensure that a printing head is located in a home position region without fail when a printing command is subsequently issued and enable a rapid printing operation, by a system wherein when driving of a motor is stopped, the distance between that position and an estimated stopping position of the motor is calculated, and it is discriminated whether or not a carrier can be stopped in a home position region. CONSTITUTION:An end of printing is recognized by a printing area discriminating circuit 161 on the basis of a signal from a CPU 11, a counter 163 is reset, is started counting by a pulse from a pulse generator 162, and when driving of the motor 131f is stopped by the CPU 11, the counter 163 stops counting. The circuit 161 supplied with the count (corresponding to the period of time (t)) obtain the difference between the period of time (t) and a prestored time interval T by calculation, and when the difference is not more than a predetermined number of pulses, it is judged that the position of the carrier at the moment of stopping the motor 131f will lie in a printing region, and a predetermined signal is outputted to the CPU 11. The CPU 11 drives the motor 131f according to the signal, and stops driving the motor 131f at the time the carrier 131a is confirmed by a sensor 132b and is fed into the home position region.

Description

【発明の詳細な説明】 〔概要〕 プリンタ制御方式であって、所定印字動作終了後印字ヘ
ッド動作用モータを停止する時、前記モータを停止する
時点でその停止位置がホームポジション領域内であるか
どうかを判定し、印字領域に突入すると判定した場合は
次のホームポジションまで継続して前記モータを動作し
て停止させることにより、次の印字コマンドによるモー
タ動作の迅速化を図ることが可能となる。
[Detailed Description of the Invention] [Summary] In a printer control system, when a print head operating motor is stopped after a predetermined printing operation is completed, the stop position is within the home position area at the time of stopping the motor. If it is determined that the printer is entering the print area, the motor is operated continuously until the next home position and then stopped, thereby making it possible to speed up the motor operation with the next print command. .

〔産業上の利用分野〕[Industrial application field]

本発明は、印字ヘッド動作用モータの動作停止時に停止
位置を判定し、常にホームポジション内で停止させるプ
リンタ制御方式に関する。
The present invention relates to a printer control method that determines the stop position when a print head operating motor stops operating and always stops the print head within the home position.

情報処理システムの発展拡大により、各種プリンタ装置
が開発され使用されている。又、従来から使用されてい
るプリンタ装置も時代の進歩と共に急速に発展し、それ
に伴い高品質、高速の印字が可能なものが望まれるよう
になった。
With the expansion and development of information processing systems, various printer devices have been developed and used. Further, printer devices that have been used in the past have rapidly developed with the advancement of the times, and with this, there has been a desire for devices that can print with high quality and high speed.

〔従来の技術と発明が解決しようとする問題点〕第4図
は従来例を説明するブロック図、第5図は従来の印字ヘ
ッド用モータの制御図、第6図はプリンタ装置の外観図
をそれぞれ示す。
[Prior art and problems to be solved by the invention] Fig. 4 is a block diagram explaining a conventional example, Fig. 5 is a control diagram of a conventional print head motor, and Fig. 6 is an external view of a printer device. Each is shown below.

第4図に示すプリンタ装置1は印字コマンドを送出して
来る上位装置2に接続されており、その内部は、 装置1内の各種動作を制御し監視する制御部11(以下
CPUII と称する)と、 CPLIII と印字部13との間にありそれぞれとの
インタフェースを取る印字ボート部12と、データを印
字するためのモータ、キャリア、プラテン等のプリンタ
機構部131とキャリア内印字ヘッドの位置を検出する
センサ132等から構成される印字部13と、 上位装置2と遺り取りするデータを一時的に格納するメ
モリ14と、 上位装置2とのインタフェースを取るインタフェース部
15等から構成されている。
The printer device 1 shown in FIG. 4 is connected to a host device 2 that sends print commands, and inside thereof includes a control unit 11 (hereinafter referred to as CPU II) that controls and monitors various operations within the device 1. , a print boat section 12 that is located between the CPL III and the print section 13 and interfaces with each, a printer mechanism section 131 such as a motor, carrier, and platen for printing data, and detects the position of the print head in the carrier. It is composed of a printing section 13 composed of a sensor 132 and the like, a memory 14 that temporarily stores data to be transferred to and from the host device 2, and an interface section 15 that provides an interface with the host device 2.

又、第6図はプリンタ装置l内の印字部13の外観図を
示す。印字部13への印字動作の指示は上位装置2から
印字コマンド(−行単位で発行される)が発行され、こ
の印字コマンドをインタフェース部15経由CPt1l
lが確認した時点で行われる。
Further, FIG. 6 shows an external view of the printing section 13 within the printer device I. As shown in FIG. In order to instruct the printing unit 13 to perform a printing operation, a print command (issued in units of - lines) is issued from the host device 2, and this print command is sent via the interface unit 15 to the CPt1l.
This will be done once confirmed by l.

このcputiからの印字動作指示により用紙131c
上に所定文字又は図形を印字へラド131dにて印字す
る。この印字ヘッド131dは第6図に示す如く、キャ
リア131aに搭載されており、このキャリア131a
はCPUIIからの指示にて駆動されたモータ131f
により矢印方向に移動し、この間に用紙131c上に印
字ヘッド131dが印字する。
The paper 131c is printed by this print operation instruction from cputi.
A predetermined character or figure is printed on the print head 131d. This print head 131d is mounted on a carrier 131a as shown in FIG.
is the motor 131f driven by instructions from the CPU II.
During this time, the print head 131d prints on the paper 131c.

キャリア131aが移動して第6図から見て右端に行く
とセンサ132aがキャリア131aに付加されている
舌片131eを確認すると、センサ132aからの信号
にてCPUIIはキャリア131aがホームポジション
領域に達したことを確認する。
When the carrier 131a moves to the right end as seen from FIG. 6, the sensor 132a confirms the tongue piece 131e attached to the carrier 131a, and a signal from the sensor 132a causes the CPU II to detect that the carrier 131a has reached the home position area. Check what you have done.

又、左端にキャリア131aが達するとセンサ132b
からの信号によりCPUIIは一行分の印字終了を確認
してキャリア131aをホームポジション領域にフィー
ドする。この時プラテン131bを回転して用紙131
cを一行分進め次の印字に備える。
Also, when the carrier 131a reaches the left end, the sensor 132b
The CPU II confirms the completion of printing for one line by the signal from the CPU II and feeds the carrier 131a to the home position area. At this time, the platen 131b is rotated so that the paper 131
Advance c by one line in preparation for the next printing.

従来、印字ヘッド131dで一行分印字する場合は第5
図(A)に示すように印字コマンドを受け、その印字コ
マンドによる印字が終了するとモータ131fの駆動を
オフにしていた。尚、−行分の印字が終了し、連続して
印字コマンドが発行され印字を開始するまでの間隔Tは
通常一定時間取られている。
Conventionally, when printing one line with the print head 131d, the fifth
As shown in Figure (A), a print command is received, and when printing according to the print command is completed, the drive of the motor 131f is turned off. It should be noted that the interval T from the end of printing of -line to the time when print commands are issued consecutively and the start of printing is usually a certain period of time.

上記第5図(A)の場合では連続印字時の処理速度が遅
くなるため第5図(B)に示すように1つの印字コマン
ドによる゛印字処理が終了した後所定時間tの間はモー
タ131fを継続駆動し、次の印字コマンド、が所定時
間を以内に発行されない場合にモータ131fの駆動を
オフにする対策が施されていた。
In the case of FIG. 5(A) above, the processing speed during continuous printing is slow, so as shown in FIG. 5(B), the motor 131f is operated for a predetermined time t after the printing process by one print command is completed. A measure has been taken to continue driving the motor 131f and turn off the drive of the motor 131f if the next print command is not issued within a predetermined time.

前記所定時間tはモータ131fの駆動をオフにした時
、その停止位置がホームポジション領域内であるように
予め調整し、CPU11内のメモリに記憶させている。
The predetermined time t is adjusted in advance so that the stop position of the motor 131f is within the home position area when the drive of the motor 131f is turned off, and is stored in the memory within the CPU 11.

通常、モータ131fの駆動をオフにした場合その回転
の慣性によりオフにした後多少動作を継続した後停止す
る。これはモータ131f駆動用電源その他の条件によ
り変動し、モータ131fの駆動をオフにした位置によ
ってはその停止位置がホームポジション領域内をオーバ
して印字領域に突入してしまうことがある。
Normally, when the drive of the motor 131f is turned off, the motor 131f continues to operate for some time and then stops due to its rotational inertia. This varies depending on the power source for driving the motor 131f and other conditions, and depending on the position where the drive of the motor 131f is turned off, the stopping position may exceed the home position area and enter the printing area.

もし、印字へラド131dが印字領域に突入した位置で
停止していた場合、次の印字コマンドが発行され印字ヘ
ッド131dによる印字を開始するまでに一旦フイード
制御を行いホームポジション領域に印字ヘッド131d
をセットしてから印字を開始するため印字動作が遅くな
ると言う問題点がある。
If the printing head 131d is stopped at the position where it enters the printing area, feed control is performed once before the next printing command is issued and the printing head 131d starts printing, and the printing head 131d returns to the home position area.
There is a problem in that the printing operation is slow because printing starts after setting the .

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示す。 FIG. 1 shows a block diagram of the principle of the present invention.

第1図の原理ブロック図は、 第4図で説明したCPUl1.印字ボート部12.印字
部13.メモリ14.インタフェース部15と、モータ
131fの駆動をオフにした時点でその位置とモータ1
31fの推定される停止位置までの距離を演算し、ホー
ムポジション領域内で停止可能かどうかを判定して、も
し停止不可能の場合はフィード制御を行い次のホームポ
ジション領域で停止するようにCPUIIに所定信号を
送出する印字エリア制御部16とから構成されている。
The principle block diagram of FIG. 1 is based on the CPU11. Print boat section 12. Printing section 13. Memory 14. When the interface section 15 and motor 131f are turned off, their positions and motor 1
The CPU II calculates the distance to the estimated stop position of 31f, determines whether it can be stopped within the home position area, and if it is not possible to stop, performs feed control to stop in the next home position area. and a print area control section 16 that sends a predetermined signal to the print area.

〔作用〕[Effect]

通常、ホームポジション領域は規定された長さを有して
いる。この所定長さを予め記憶させて置き、ホームポジ
ション領域に入った時点からモータ停止までを計数し、
その計数値からホームポジション領域の残り長さを演算
して、その結果がホームポジション領域をオーバすると
判定した場合はフィード制御を行い次のホームポジショ
ン領域で停止させる。
Typically, the home position area has a defined length. This predetermined length is memorized in advance, and the time from the time the motor enters the home position area until the motor stops is counted.
The remaining length of the home position area is calculated from the counted value, and if it is determined that the result exceeds the home position area, feed control is performed to stop at the next home position area.

この動作は印字コマンドの間に行われるため、次に印字
コマンドが発行される時には常に印字ヘッドはホームポ
ジション領域内にあり、迅速な印字動作が可能となる。
Since this operation is performed between print commands, the print head is always within the home position area when the next print command is issued, enabling quick printing operations.

〔実施例〕〔Example〕

以下本発明の要旨を第2図、第3図に示す実施例により
具体的に説明する。
The gist of the present invention will be specifically explained below with reference to embodiments shown in FIGS. 2 and 3.

第2図は本発明の詳細な説明するブロック図、第3図は
本発明によるモータ制御動作図をそれぞれ示す。尚、全
図を通じて同一符号は同一対象物を示す。
FIG. 2 is a block diagram explaining the present invention in detail, and FIG. 3 is a motor control operation diagram according to the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

第2図に示す印字エリア制御部16は、予めホームポジ
ション領域を所定数値で記憶しており、カウンタ163
からの計数値によりモータ131fの停止位置を判定す
る印字エリア判定回路161と、 所定パルスを発生するパルス発生器162と、ホームポ
ジション領域に入った時に印字エリア判定回路161か
ら送出される信号によりパルス発生器162からのパル
スを計数するカウンタ163とから構成されている。
The print area control unit 16 shown in FIG.
A print area determination circuit 161 determines the stop position of the motor 131f based on the count value from , a pulse generator 162 generates a predetermined pulse, and a pulse is generated by a signal sent from the print area determination circuit 161 when the motor 131f enters the home position area. The counter 163 counts the pulses from the generator 162.

次に、本実施例の動作を説明する。尚、本実施例ではモ
ータ131fの駆動をオフにして停止するまでのパルス
数を例えば40パルスとし、1つの印字が終了して次の
印字が起動されるまでの間隔Tを80パルスとする。
Next, the operation of this embodiment will be explained. In this embodiment, the number of pulses until the motor 131f is turned off and stopped is, for example, 40 pulses, and the interval T between the end of one printing and the start of the next printing is 80 pulses.

例えば、上位装置2からの1つの印字コマンドの発生を
確認したCPUIIはモータ131fの駆動を開始し、
それに伴いキャリア131aが第6図の左方向に移動を
開始して、センサ132aからの所定信号をCPUII
が受けると印字ヘッド131dによる印字を行い、次に
センサ132bからの所定信号をCPUIIが受けると
フィード制御して、1つの印字コマンドによる印字を終
了とする。
For example, upon confirming the generation of one print command from the host device 2, the CPU II starts driving the motor 131f.
Along with this, the carrier 131a starts moving to the left in FIG.
When the CPU II receives a predetermined signal from the sensor 132b, the print head 131d performs printing, and when the CPU II receives a predetermined signal from the sensor 132b, it performs feed control and finishes printing based on one print command.

このように、1つの印字終了を確認するとCPUl1は
モータ131fの駆動をオフとする。一方、1つの印字
終了を印字エリア判定回路161はCPUIIからの信
号により知り、この信号にてカウンタ163をリセット
してパルス発生器162からのパルスにて計数を開始し
、CPUIIがモータ131fの駆動をオフにすると、
その信号にてカウンタ163の計数も停止する。
In this way, when the completion of one printing is confirmed, the CPU11 turns off the drive of the motor 131f. On the other hand, the print area determination circuit 161 learns of the end of one printing from a signal from the CPU II, resets the counter 163 with this signal, starts counting with a pulse from the pulse generator 162, and the CPU II drives the motor 131f. When you turn off
The counter 163 also stops counting in response to this signal.

この計数値(第3図に示す時間を相当の計数値)を入力
した印字エリア判定回路161は予め記憶している間隔
Tの計数値との差を演算して求め、ぞの差が40パルス
以下であればモータ131rの停止位置が印字領域に突
入すると判定し、所定信号をCPU11に送出する。
The printing area determination circuit 161 which has input this count value (a count value corresponding to the time shown in FIG. 3) calculates the difference between the count value and the pre-stored count value of the interval T, and calculates the difference by 40 pulses. If it is below, it is determined that the stop position of the motor 131r enters the printing area, and a predetermined signal is sent to the CPU 11.

CPUIIはこの信号によりモータ131fを駆動しキ
ャリア131aがセンサ132bで確認され、ホームポ
ジション領域にフィードした時点でモータ131fの駆
動をオフとする。
The CPU II drives the motor 131f based on this signal, and when the carrier 131a is confirmed by the sensor 132b and fed into the home position area, the drive of the motor 131f is turned off.

又、演算結果が残り40パルス以上であればモータ13
1fの停止位置はホームポジション領域内にあると判定
し、モータ131fの駆動はオフのままとする。
Also, if the calculation result is 40 pulses or more remaining, the motor 13
It is determined that the stop position of 1f is within the home position area, and the drive of the motor 131f remains off.

〔発明の効果〕〔Effect of the invention〕

以上のような本発明によれば、次の印字コマンドが発行
される時点では常に印字ヘッドはホームポジション領域
内にあり、そのため迅速な印字処理動作が出来ると言う
効果がある。
According to the present invention as described above, the print head is always within the home position area at the time when the next print command is issued, and therefore, there is an advantage that a quick print processing operation can be performed.

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

第1図は本発明の原理ブロック図、 第2図は本発明の詳細な説明するブロック図、第3図は
本発明によるモータ制御動作図、第4図は従来例を説明
するブロック図、第5図は従来の印字ヘッド用モータの
制御図、第6図はプリンタ装置の外観図、 をそれぞれ示す。 図において、 1はプリンタ装置、   2は上位装置、11はCPU
、       12は印字ボート部、13は印字部、
      14はメモリ、15はインクフェース部、
16は印字エリア制御部、131aはキャリア、   
131bはプラテン、131c用祇、       1
31dは印字ヘッド、131eは舌片、      1
31fハモータ、132a、 132bはセンサ、 161は印字エリア判定回路、 162はパルス発生器、 163はカウンタ、をそれぞ
れ示す。 2水、41ニー漏喫オ板情り2おし日月するプロ・ソフ
図第2図 本発明に、l−5L−夕制稽e動作国 第3図 4見東◇116先eLoブbツ2図 第4 図
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram explaining the present invention in detail, FIG. 3 is a diagram of motor control operation according to the present invention, FIG. 4 is a block diagram explaining a conventional example, and FIG. FIG. 5 shows a control diagram of a conventional print head motor, and FIG. 6 shows an external view of a printer device. In the figure, 1 is a printer device, 2 is a host device, and 11 is a CPU.
, 12 is a printing boat part, 13 is a printing part,
14 is a memory, 15 is an ink face section,
16 is a printing area control unit, 131a is a carrier,
131b is a platen, 131c for 1
31d is a print head, 131e is a tongue piece, 1
31f motor, 132a and 132b are sensors, 161 is a print area determination circuit, 162 is a pulse generator, and 163 is a counter, respectively. 2 Wednesday, 41 Knee Escape O Board Affair 2 Oshi Sun Moon Professional Soft Figure Figure 2 Invention, l-5L-Evening Practice Figure 2 Figure 4

Claims (1)

【特許請求の範囲】 上位装置(2)からの印字コマンドを受けると印字ヘッ
ドにて所定印字領域に一行単位に所定データを印字し、
該印字が前記印字領域の両端の所定領域に達すればセン
サ(132)にて前記印字ヘッドを確認すると共に印字
動作を停止し、更に前記両端の所定領域のいずれか一方
へ前記印字ヘッドをホームポジション領域として停止さ
せて置く装置において、 前記印字ヘッドが前記ホームポジション領域で停止制御
する場合、実停止位置が前記印字領域に入った位置にな
るかどうかを判定すると共に、次の該印字コマンドまで
の所定時間を監視する印字エリア制御部(16)を設け
、 前記印字ヘッドの動作停止時所定時間、次の該印字コマ
ンド待ちをして前記印字ヘッド動作用モータを停止し、
この時の停止位置が前記ホームポジション領域内で停止
するかどうかを前記印字エリア制御部(16)で判定し
て前記印字ヘッド動作用モータの停止制御を行うことを
特徴とするプリンタ制御方式。
[Claims] Upon receiving a print command from the host device (2), the print head prints predetermined data line by line in a predetermined print area;
When the print reaches a predetermined area at both ends of the print area, a sensor (132) confirms the print head, stops the printing operation, and moves the print head to either of the predetermined areas at both ends to the home position. In a device that is stopped as an area, when the print head is controlled to stop in the home position area, it is determined whether the actual stop position is in the printing area, and the control is performed until the next printing command. A print area control unit (16) is provided to monitor a predetermined time, and when the print head stops operating, the print head operation motor is stopped by waiting for the next print command for a predetermined time;
A printer control method characterized in that the print area control unit (16) determines whether or not the stop position at this time stops within the home position area to control the stop of the print head operating motor.
JP15286285A 1985-07-11 1985-07-11 Printer-controlling system Granted JPS6213374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15286285A JPS6213374A (en) 1985-07-11 1985-07-11 Printer-controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15286285A JPS6213374A (en) 1985-07-11 1985-07-11 Printer-controlling system

Publications (2)

Publication Number Publication Date
JPS6213374A true JPS6213374A (en) 1987-01-22
JPH0470994B2 JPH0470994B2 (en) 1992-11-12

Family

ID=15549744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15286285A Granted JPS6213374A (en) 1985-07-11 1985-07-11 Printer-controlling system

Country Status (1)

Country Link
JP (1) JPS6213374A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63235824A (en) * 1987-03-24 1988-09-30 Yamatake Honeywell Co Ltd Striking point recorder
EP0341671A2 (en) * 1988-05-09 1989-11-15 Sharp Kabushiki Kaisha Bidirectional printing device
US5007751A (en) * 1987-10-16 1991-04-16 Brother Kogyo Kabushiki Kaisha Printer having carriage zeroing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63235824A (en) * 1987-03-24 1988-09-30 Yamatake Honeywell Co Ltd Striking point recorder
JPH0553211B2 (en) * 1987-03-24 1993-08-09 Yamatake Honeywell Co Ltd
US5007751A (en) * 1987-10-16 1991-04-16 Brother Kogyo Kabushiki Kaisha Printer having carriage zeroing device
EP0341671A2 (en) * 1988-05-09 1989-11-15 Sharp Kabushiki Kaisha Bidirectional printing device
EP0341671A3 (en) * 1988-05-09 1990-08-16 Sharp Kabushiki Kaisha Bidirectional printing device

Also Published As

Publication number Publication date
JPH0470994B2 (en) 1992-11-12

Similar Documents

Publication Publication Date Title
US4789259A (en) Cut sheet feed apparatus
US4277191A (en) Printer system having microprocessor control
JP3149168B2 (en) Printing device
US5431502A (en) Carriage motor controller for printer
JPS6213374A (en) Printer-controlling system
US5147143A (en) Printer carriage homing mechanism
EP0394478B1 (en) Control method of automatic sheet feeder
JPH0243733Y2 (en)
JPS60120072A (en) Printing controller
JP3038089B2 (en) Printer
JPS56108142A (en) Detection/control system for motor locking state of printer
JPS5945166A (en) Printing mode for serial printer
JPS59158281A (en) Print controller
JPS5827458A (en) Paper size detector
JPS62167062A (en) Printer
JPH04347670A (en) Label printer
JPS60174677A (en) Printing system for line printer
JPH07205485A (en) Device for setting writing position of ink jet printer
JPS646036B2 (en)
JPH01118464A (en) Printer
JPH0678012B2 (en) Print control device
JPS57166679A (en) Controlling system for pen type printer
JPH0425155B2 (en)
JPS62183369A (en) Serial printer
JPH01249474A (en) Printing output device control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees