JP2824432B2 - How to drive a serial printer - Google Patents

How to drive a serial printer

Info

Publication number
JP2824432B2
JP2824432B2 JP40354190A JP40354190A JP2824432B2 JP 2824432 B2 JP2824432 B2 JP 2824432B2 JP 40354190 A JP40354190 A JP 40354190A JP 40354190 A JP40354190 A JP 40354190A JP 2824432 B2 JP2824432 B2 JP 2824432B2
Authority
JP
Japan
Prior art keywords
range
printing
bidirectional
printable
print head
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
JP40354190A
Other languages
Japanese (ja)
Other versions
JPH04216974A (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.)
Seiko Precision Inc
Original Assignee
Seiko Precision 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 Seiko Precision Inc filed Critical Seiko Precision Inc
Priority to JP40354190A priority Critical patent/JP2824432B2/en
Publication of JPH04216974A publication Critical patent/JPH04216974A/en
Application granted granted Critical
Publication of JP2824432B2 publication Critical patent/JP2824432B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、シリアルプリンタの駆
動方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for driving a serial printer.

【0002】[0002]

【従来の技術】従来のシリアルプリンタでは、パルスモ
ータを用いて双方向印字するのが通常である。印字ヘッ
ドが印字可能であるためには、図6に示しているよう
に、駆動パルスt0 によって安定した定速度で駆動され
ることが必要であるが、パルスモータによりこの定速度
まで立ち上げる為には、立ち上げパルスt1 ,t2 …を
供給して徐々に印字ヘッドを定速度まで加速してゆくこ
とが必要であり、また定速度駆動中の印字ヘッドを脱調
しないように停止するためには、立ち下げパルスt11,
t12…を供給して徐々に減速してゆくことが必要であ
る。そしてこの立ち上げパルスは立ち下げパルスより多
く必要である。したがって、左から右に片方向印字する
場合には、駆動パルスによる印字可能範囲aの左側に立
ち上げパルスによる助走範囲bと、右側に立ち下げパル
スによる制動範囲cとが設けてある。また双方向印字す
る場合には、印字可能範囲aの左右両側に立ち上げパル
スによる助走範囲bを設けてある。
2. Description of the Related Art In a conventional serial printer, bidirectional printing is usually performed using a pulse motor. In order for the print head to be able to print, it is necessary to be driven at a stable constant speed by the drive pulse t0 as shown in FIG. It is necessary to supply the rising pulses t1, t2,... To gradually accelerate the print head to a constant speed, and to stop the print head being driven at a constant speed so as not to lose synchronization. , Falling pulse t11,
It is necessary to supply t12 and gradually reduce the speed. The rising pulse needs more pulses than the falling pulse. Therefore, in the case of unidirectional printing from left to right, an approach range b by a rising pulse is provided on the left side of a printable range a by a driving pulse, and a braking range c by a falling pulse is provided on the right side. In the case of bidirectional printing, a run-up range b by a rising pulse is provided on both left and right sides of the printable range a.

【0003】[0003]

【発明が解決しようとする課題】上に述べたような従来
の駆動方法では、図5に示すように、片方向印字する場
合に必要な印字ヘッドの走行範囲L0 =a+b+cであ
るのに対して、双方向印字する場合に必要な印字ヘッド
の走行範囲L1 =a+2bとなるので、双方向印字は片
方向印字に比して走行範囲ΔL=b−cだけ広く必要と
なり、装置が大型化する。そこで装置を小型化する為に
走行範囲の狭い片方向印字を採用すると、印字時間が長
くかかるという問題がある。
In the conventional driving method as described above, as shown in FIG. 5, the travel range L0 of the print head required for unidirectional printing is L0 = a + b + c. Since the traveling range L1 of the print head required for bidirectional printing is L1 = a + 2b, bidirectional printing is required to be wider by the traveling range .DELTA.L = bc than unidirectional printing, and the apparatus becomes large. Therefore, if one-way printing with a narrow travel range is adopted to reduce the size of the apparatus, there is a problem that a long printing time is required.

【0004】本発明の目的は、実効印字速度をそれ程低
下させることなく装置の小型化を達成することにある。
An object of the present invention is to reduce the size of an apparatus without significantly lowering the effective printing speed.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明のシリアルプリンタの駆動方法は、印字ヘッ
ドの走行範囲をL0 に設定し、このときの片方向印字可
能範囲をa,双方向印字可能範囲をdとし、双方向印字
可能範囲dの範囲外であって片方向印字可能範囲a内の
範囲をΔLとしたとき、印字すべきデータが範囲ΔLに
含まれているときは印字方式を片方向印字に設定し、印
字すべきデータが範囲ΔLに含まれていないときは印字
方式を双方向印字に設定するものである。
In order to achieve the above object, a driving method for a serial printer according to the present invention sets a travel range of a print head to L0, and sets a unidirectional printable range at this time to a, and a When the range that can be printed is d and the range that is outside the range d of bidirectional printing and within the range a that can be printed in one direction is ΔL, printing is performed when the data to be printed is included in the range ΔL. The method is set to one-way printing, and when the data to be printed is not included in the range ΔL, the printing method is set to bidirectional printing.

【0006】[0006]

【実施例】本発明の駆動方法において、シリアルプリン
タのキャリッジの走行範囲を、図4に示すように従来の
片方向印字の場合と同じL0 に設定している。この走行
範囲L0 で左側から右側に向けて片方向印字する場合、
片方向印字可能範囲の左側に立ち上げパルスによる助走
範囲bと、右側に立ち下げパルスによる制動範囲cとが
必要であることは従来と同様である。したがって、片方
向印字可能範囲はL0 −b−c=aである。またこの走
行範囲L0 で双方向印字するには、双方向印字可能範囲
の左右両側のそれぞれに立ち上げパルスによる助走範囲
bが必要である。したがって、双方向印字可能範囲はL
0 −2b=dとなり、双方向印字可能範囲dは片方向印
字可能範囲aよりもb−c=ΔLだけ狭くなる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the driving method according to the present invention, the running range of the carriage of the serial printer is set to L0 as shown in FIG. When printing unidirectionally from the left side to the right side in this travel range L0,
It is the same as in the related art that a running range b by a rising pulse and a braking range c by a falling pulse are required on the left side of the unidirectional printable range and on the right side. Therefore, the unidirectional printable range is L0-bc = a. In addition, in order to perform bidirectional printing in this traveling range L0, a run-up range b by a rising pulse is required on each of the left and right sides of the bidirectional printing possible range. Therefore, the bidirectional printable range is L
0-2b = d, and the bidirectional printable range d is smaller than the unidirectional printable range a by bc = ΔL.

【0007】そこで本発明の駆動方法では、図1に示す
ように、印字に際して、先ず印字データが双方向印字可
能範囲dの範囲外であって片方向印字可能範囲a内の範
囲ΔLに含まれているかを判断する(ステップ1)。も
し含まれていれば、印字方式を片方向印字に設定し(ス
テップ2)、左から右へ向って印字を行なう(ステップ
3)。この印字駆動によって、従来の印字可能範囲aと
同じ範囲の印字データの印字が可能である。
Therefore, in the driving method of the present invention, as shown in FIG. 1, at the time of printing, first, print data is included in a range ΔL which is outside the range of the bidirectional printable range d and within the range of the unidirectional printable range a. Is determined (step 1). If it is included, the printing method is set to one-way printing (step 2), and printing is performed from left to right (step 3). By this printing drive, printing of print data in the same range as the conventional printable range a is possible.

【0008】また、印字データが範囲ΔLに含まれてお
らず、双方向印字可能範囲d内に納まっていれば、印字
方式を双方向印字に設定し(ステップ4)、現在位置に
近い側からの双方向での印字を行なう(ステップ3)。
この印字駆動によって印字速度を速くすることが可能と
なる。
If the print data is not included in the range ΔL and is within the bidirectional printable range d, the print method is set to bidirectional print (step 4), and the print method is set from the side closer to the current position. (Step 3).
This printing drive makes it possible to increase the printing speed.

【0009】具体的に印字する場合の動作について、図
2により説明する。◆第1行の印字をスタートするに際
して、A位置でこの第1行の印字データが範囲ΔL内に
あるかどうかが判断される。この場合には範囲ΔL内に
は無いので、双方向印字が設定され、このA位置に近い
側、すなわち第1行の左端部から右端部へ向って印字ヘ
ッドが走行して印字が行なわれる。この行の印字が終っ
て、B位置で第2行の印字データが範囲ΔL内にあるか
が判断される。この場合には範囲ΔL内にあるので片方
向印字が設定され、印字ヘッドは一旦左へ移動してか
ら、左端部から右端部へ向って第2行の印字を行なう。
第2行の印字が終ってC位置で上記と同様に第3行の印
字データを判断する。ここでは片方向印字が設定され、
左端部から右端部へ向って第3行の印字を行なう。つい
でD位置で第4行の印字データが判断されて双方向印字
が設定され、このD位置に近い側、すなわち第4行の右
端部から左端部へ向って印字が行なわれる。
The operation for printing will be described in detail with reference to FIG. When starting the printing of the first line, it is determined at position A whether or not the printing data of the first line is within the range ΔL. In this case, since it is not within the range ΔL, bidirectional printing is set, and the print head runs from the left end of the first row to the right end of the first row, and printing is performed. After printing of this line is completed, it is determined whether the print data of the second line is within the range ΔL at the position B. In this case, since it is within the range ΔL, one-way printing is set, and the print head once moves to the left, and then prints the second line from the left end to the right end.
After the printing of the second line is completed, the print data of the third line is determined at the position C in the same manner as described above. Here, unidirectional printing is set,
The third line is printed from the left end to the right end. Next, the print data of the fourth line is determined at the D position, and bidirectional printing is set, and printing is performed from the position near the D position, that is, from the right end to the left end of the fourth line.

【0010】つぎに図3は全ての行の印字データが範囲
d内にあり、範囲ΔL内には無い例であり、E位置で上
記と同様に第1行の印字データが範囲ΔL内に無いこと
から双方向印字が設定され、このE位置に近い側、すな
わち第1行の左端部から右端部へ向って印字ヘッドが走
行して印字が行なわれる。F位置では第2行の印字デー
タのが範囲ΔL内に無いことから双方向印字が設定され
て第2行の右端部から左端部へ向っての印字が行なわれ
る。以下同様にG位置での判断に基づいて第3行の左端
部から右端部へ向って印字が行なわれ、H位置での判断
に基づいて第4行の右端部から左端部へ向って印字が行
なわれ、I位置での判断に基づいて第5行の右端部から
左端部へ向って印字が行なわれ、最後にJ位置での判断
に基づいて第6行の左端部から右端部へ向って印字が行
なわれる。
Next, FIG. 3 shows an example in which the print data of all the lines are within the range d but not within the range ΔL, and the print data of the first line is not within the range ΔL at the position E as described above. Therefore, bidirectional printing is set, and the print head runs from the left end to the right end of the first row, that is, from the left end of the first row, to perform printing. At the F position, since the print data of the second line is not within the range ΔL, bidirectional printing is set, and printing is performed from the right end to the left end of the second line. Similarly, printing is performed from the left end to the right end of the third line based on the determination at the G position, and printing is performed from the right end to the left end of the fourth line based on the determination at the H position. The printing is performed from the right end to the left end of the fifth line based on the determination at the I position, and finally, from the left end to the right end of the sixth line based on the determination at the J position. Printing is performed.

【0011】なお、範囲ΔLの位置を範囲dの左側に設
けることも可能であり、この場合には、片方向印字の場
合は右から左へ印字するように設定し、双方向印字の場
合は現在位置に近い端部から印字するように設定すれば
よい。
It is also possible to provide the position of the range ΔL on the left side of the range d. In this case, it is set so that printing is performed from right to left in the case of one-way printing, and in the case of bidirectional printing. What is necessary is just to set so that it may print from the end near the current position.

【0012】このように各行毎にその印字データの範囲
を判断し、双方向印字が可能な限り双方向印字を設定す
ることによって、印字速度を向上させる。また印字デー
タが双方向印字可能な範囲からはみ出しているときのみ
片方向印字を設定することによって、印字ヘッドの走行
範囲を狭くするようにしている。
In this manner, the print speed is improved by determining the range of the print data for each line and setting bidirectional printing as much as possible. Also, the unidirectional printing is set only when the print data is out of the range in which bidirectional printing is possible, thereby narrowing the travel range of the print head.

【0013】[0013]

【発明の効果】上に述べたように本発明の駆動方法によ
れば、印字に先立って印字データの範囲を判断して片方
向印字か双方向印字かを設定するようにしているので、
印字ヘッドの走行範囲を従来の片方向印字の場合の印字
ヘッドの走行範囲以上に広くしないで、双方向印字をす
ることができ、狭い走行範囲での印字を可能にして装置
の小型化を達成でき、かつ片方向印字の場合よりも印字
時間を短縮することができる。
As described above, according to the driving method of the present invention, before printing, the range of print data is determined to set one-way printing or two-way printing.
Bidirectional printing can be performed without making the print head travel range wider than the conventional print head travel range for unidirectional printing, enabling printing in a narrow travel range and achieving a compact device. Printing time can be shortened as compared with the case of one-way printing.

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

【図1】本発明の駆動方法における印字動作時の流れ図FIG. 1 is a flowchart at the time of a printing operation in a driving method of the present invention.

【図2】印字データと印字ヘッドの動きを示す説明図FIG. 2 is an explanatory diagram showing print data and the movement of a print head.

【図3】印字データと印字ヘッドの動きを示す他の例の
説明図
FIG. 3 is an explanatory diagram of another example showing print data and movement of a print head.

【図4】本発明の駆動方法による印字ヘッドの走行距離
と走行速度との関係図
FIG. 4 is a diagram illustrating a relationship between a traveling distance and a traveling speed of a print head according to the driving method of the present invention.

【図5】従来の駆動方法による印字ヘッドの走行距離と
走行速度との関係図
FIG. 5 is a diagram illustrating a relationship between a traveling distance and a traveling speed of a print head according to a conventional driving method.

【図6】駆動モータの立ち上げパルス,駆動パルス,立
ち下げパルスに対応する印字ヘッドの走行距離と走行速
度とを説明する関係図
FIG. 6 is a relationship diagram for explaining a traveling distance and a traveling speed of a print head corresponding to a rising pulse, a driving pulse, and a falling pulse of a driving motor.

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

L0 印字ヘッドの走行範囲 a 片方向印字可能範囲 d 双方向印字可能範囲 ΔL 双方向印字可能範囲dの範囲外であって片方向印
字可能範囲aに含まれ る範囲
L0 Run range of print head a Unidirectional printable range d Bidirectional printable range ΔL Range outside bidirectional printable range d and included in unidirectional printable range a

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印字ヘッドの走行範囲をL0 に設定し、
このときの片方向印字可能範囲をa,双方向印字可能範
囲をdとし、双方向印字可能範囲dの範囲外であって片
方向印字可能範囲a内の範囲をΔLとしたとき、印字す
べきデータが上記範囲ΔLに含まれているときは印字方
式を片方向印字に設定し、印字すべきデータが上記範囲
ΔLに含まれていないときは印字方式を双方向印字に設
定することを特徴とするシリアルプリンタの駆動方法。
1. A travel range of a print head is set to L0,
At this time, the one-way printable range is set to a, the bidirectional printable range is set to d, and when the range outside the bidirectional printable range d and within the one-way printable range a is set to ΔL, printing should be performed. When the data is included in the range ΔL, the printing method is set to one-way printing, and when the data to be printed is not included in the range ΔL, the printing method is set to bidirectional printing. How to drive a serial printer.
JP40354190A 1990-12-19 1990-12-19 How to drive a serial printer Expired - Fee Related JP2824432B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40354190A JP2824432B2 (en) 1990-12-19 1990-12-19 How to drive a serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40354190A JP2824432B2 (en) 1990-12-19 1990-12-19 How to drive a serial printer

Publications (2)

Publication Number Publication Date
JPH04216974A JPH04216974A (en) 1992-08-07
JP2824432B2 true JP2824432B2 (en) 1998-11-11

Family

ID=18513273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40354190A Expired - Fee Related JP2824432B2 (en) 1990-12-19 1990-12-19 How to drive a serial printer

Country Status (1)

Country Link
JP (1) JP2824432B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4065492B2 (en) * 2001-05-15 2008-03-26 キヤノン株式会社 Inkjet printing apparatus, inkjet printing method, program, and computer-readable storage medium storing the program
JP5529704B2 (en) * 2010-10-20 2014-06-25 株式会社リコー Recording apparatus and printing method

Also Published As

Publication number Publication date
JPH04216974A (en) 1992-08-07

Similar Documents

Publication Publication Date Title
JP2824432B2 (en) How to drive a serial printer
JPH0611573B2 (en) Recording device
JPS588666A (en) Bidirectional printing system of serial dot printer
JP3458718B2 (en) Serial printer and operating method of serial printer
JPH063642U (en) Thermal printer
JP2001334717A (en) Method for controlling recording and device for recording
JPS6056552U (en) printer
JPS6056553U (en) printer
JPS6075048U (en) thermal transfer printer
JPS60141249U (en) serial printer
JPH01135674A (en) Printing control system in printer
JPS59156779A (en) Serial printer
JP2002219835A (en) Printing controlling method and apparatus therefor
JPS638912B2 (en)
JPS5943156U (en) printer
JPH04221658A (en) Drive of serial printer
JPH0463784B2 (en)
JPS6056554U (en) printer
JPH0410432B2 (en)
JPS6337959A (en) Split printing system of serial printer
JPH0531929A (en) Multi-head color printer
JPS5871184A (en) Control system for serial printer
JPH01186367A (en) Thermal transfer serial printer
JPS62201278A (en) Recording apparatus
JPS583260U (en) Carriage control device

Legal Events

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