JPH0577452A - Printer - Google Patents
PrinterInfo
- Publication number
- JPH0577452A JPH0577452A JP24363891A JP24363891A JPH0577452A JP H0577452 A JPH0577452 A JP H0577452A JP 24363891 A JP24363891 A JP 24363891A JP 24363891 A JP24363891 A JP 24363891A JP H0577452 A JPH0577452 A JP H0577452A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- data
- printer
- voltage
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 19
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
Abstract
(57)【要約】
【目的】 1回の印刷走査において複数の印刷手段を駆
動して印刷を行うプリンタにおいて、印刷手段駆動電源
の能力を完全に生かした印刷制御方式を行うことで、印
刷手段駆動電源の能力から得られる最大のスループット
を提供する。
【構成】 印字タイミング401により、印字データを
RAMからヘッドドライバに転送する(402)。印字
ビットと非印字ビットとを区別し(403)、すべての
データを印字し終ったかどうか判断し(409)、印字
準備する。さらに印字ヘッドに通電し(404)、印字
終了であるか判断し(405)、未終了の時、駆動電圧
を判断する(407)。その際、駆動電圧の変動によっ
て、同時駆動印字ピン数を増減する(412、41
4)。
(57) [Abstract] [Purpose] In a printer that performs printing by driving a plurality of printing units in one printing scan, by performing a printing control method that makes full use of the capability of the printing unit driving power supply, It provides the maximum throughput available from the drive power capability. [Structure] Print data is transferred from a RAM to a head driver at a print timing 401 (402). The printing bit and the non-printing bit are distinguished (403), it is judged whether or not all the data has been printed (409), and printing is prepared. Further, the print head is energized (404), it is judged whether the printing is completed (405), and when it is not completed, the drive voltage is judged (407). At that time, the number of simultaneously driven printing pins is increased or decreased depending on the fluctuation of the driving voltage (412, 41
4).
Description
【0001】[0001]
【産業上の利用分野】1回の印刷走査において、複数の
印刷手段を駆動して印刷を行うプリンタにおける印刷制
御方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control method in a printer that drives a plurality of printing means to perform printing in one print scan.
【0002】[0002]
【従来の技術】1回の印刷走査において、複数の印刷手
段を駆動して印刷を行うプリンタは、通常、印刷品質と
印刷速度を向上させるために、多くの印刷手段、例えば
インパクトプリンタの印刷ピン、インクジェットプリン
タの印刷ノズル、サーマルプリンタの発熱素子を有する
印刷ヘッドを使用する。2. Description of the Related Art In a printer that prints by driving a plurality of printing means in one printing scan, usually, in order to improve printing quality and printing speed, many printing means, for example, printing pins of an impact printer. , A print head having a print nozzle of an inkjet printer and a heating element of a thermal printer.
【0003】印刷データは、それらの印刷手段が同時に
駆動されないように選択されて送られてくるわけではな
いから、最悪の駆動状態に合わせて電源容量等の準備を
しておくか、印刷手段を駆動しきれないような状態を検
出して対処するか、どちらかの方式が採られる。Since print data is not selected and sent so that the printing means are not driven at the same time, the power source capacity or the like should be prepared in accordance with the worst driving state, or the printing means should be turned on. Either method is adopted, which is to detect and deal with a state where driving is not possible.
【0004】前者の方式では、通常電源容量を極端に大
きくしなければならないため、多くの場合、後者の方式
で対処している。この印刷手段を駆動しきれないような
状態を検出して対処する方法は数多く存在する。In the former method, the power source capacity usually has to be made extremely large, so that the latter method is often used. There are many methods for detecting and dealing with a situation where the printing means cannot be driven.
【0005】このような方式では、まず印刷手段を駆動
しきれないような状態かどうかを検出するために、印刷
手段の駆動電源電圧を印刷中に監視するか、印刷前に印
刷イメージデータを検証して駆動電源電圧降下の可能性
を予想する。In such a method, first, in order to detect whether or not the printing means cannot be driven, the driving power supply voltage of the printing means is monitored during printing, or the print image data is verified before printing. Then, the possibility of driving power supply voltage drop is predicted.
【0006】その結果、印刷中に印刷手段を駆動しきれ
ないと判断されると、印刷を一旦停止させ、残りの印刷
を印刷速度を低下させるか、同時に駆動される印刷手段
を決めて、残りの印刷を複数の印刷走査に分割するか、
印刷手段の繰り返し周波数を落として、残りの印刷を決
められた複数の印刷走査に分割するかして印刷手段の消
費電力を決まった値以下に低下させ印字を続ける。As a result, when it is determined that the printing means cannot be driven during printing, the printing is temporarily stopped, the printing speed of the remaining printing is reduced, or the printing means to be driven at the same time is determined and the remaining printing is performed. Split the printing of multiple print scans, or
The repetition frequency of the printing unit is reduced to divide the remaining printing into a plurality of predetermined print scans to reduce the power consumption of the printing unit to a predetermined value or less and continue printing.
【0007】また、印刷前に印刷イメージデータを検証
して駆動電源電圧降下の可能性を調査、その結果、印刷
中に印刷手段を駆動しきれないと予想されると、印刷手
段の消費電力の小さい、予め決められた複数の印刷走査
に、何らかの方法で分割して印刷を開始するか、印刷手
段の消費電力の小さい、予め決められた印刷速度を選択
して印刷を開始する。Further, before printing, the print image data is verified to investigate the possibility of a driving power supply voltage drop. As a result, if it is expected that the printing means cannot be driven during printing, the power consumption of the printing means will be reduced. The printing is divided into a plurality of small, predetermined print scans in some way to start printing, or a predetermined printing speed with low power consumption of the printing unit is selected and printing is started.
【0008】[0008]
【発明が解決しようとする課題】このような方式での、
印刷手段を駆動しきれないような印刷データへの対処
は、通常、効果は十分にあり、プリンタの電源小容量化
に貢献できる。SUMMARY OF THE INVENTION In such a system,
Dealing with print data that cannot drive the printing unit is usually sufficiently effective, and can contribute to a reduction in the power supply capacity of the printer.
【0009】しかし、複数の印刷手段を駆動して印刷を
行うプリンタは、さらに印刷品質と印刷速度を向上させ
るために、より多くの印刷手段を有する印刷ヘッドを使
用するようになってきた。しかも、コンピュータとその
アプリケーションの発達から、印刷データはデューティ
10%程度のテキストの印字から、高密度グラフィック
印刷まで混在しプリンタに送られるようになってきたか
ら、印刷手段を駆動していくための必要電力は、ますま
す大きく、かつ印刷データに大きく依存するようになっ
てきた。However, printers which drive a plurality of printing means to perform printing have come to use a print head having more printing means in order to further improve printing quality and printing speed. In addition, due to the development of computers and their applications, print data has come to be sent to a printer by mixing text printing with a duty of about 10% and high-density graphic printing. Therefore, it is necessary to drive printing means. Electric power has become more and more dependent on print data.
【0010】このような状態になってくると、前述の従
来技術ではまだ不十分で、印刷中に印刷手段を駆動しき
れないと判断した場合、または印刷前に印刷手段を駆動
しきれないと予想した場合、予め決められた印刷速度
や、予め決められた印刷走査数に固定して印字を開始ま
たは再開するために、印刷手段駆動電源の能力を完全に
生かしきれないと言う課題がめだってくる。In such a state, the above-mentioned conventional technique is still insufficient, and when it is judged that the printing means cannot be driven during printing, or when the printing means cannot be driven before printing. In the expected case, the problem is that the ability of the printing means driving power supply cannot be fully utilized in order to start or restart printing with a fixed printing speed or a fixed number of printing scans. ..
【0011】そこで本発明はこのような課題を解決する
もので、その目的とするところは、1回の印刷走査にお
いて複数の印刷手段を駆動して印刷を行うプリンタにお
いて、印刷手段駆動電源の能力を完全に生かした印刷制
御方式を提供することにある。Therefore, the present invention solves such a problem, and an object of the present invention is, in a printer that drives a plurality of printing means in one printing scan to perform printing, the capability of a printing means driving power supply. It is to provide a print control method that makes full use of the above.
【0012】[0012]
【課題を解決するための手段】本発明のプリンタは、駆
動される印刷手段の数の最大値を制限する機能を有し、
制限する最大値を変更可能な駆動制限手段と、印刷手段
を駆動するための電源電圧を認識することのできる駆動
電源電圧検出手段と、1回の印刷走査における印刷し残
したデータの存在と位置を検出することができる残りデ
ータ認識手段とを備えたことを特徴とする。The printer of the present invention has the function of limiting the maximum number of driven printing means,
Drive limiting means capable of changing the maximum value to be limited, drive power source voltage detecting means capable of recognizing a power source voltage for driving the printing means, and existence and position of unprinted data in one printing scan And remaining data recognition means capable of detecting
【0013】[0013]
【作用】本発明の上記の構成によれば、1回の印刷走査
において、複数の印刷手段を駆動して印刷を行うプリン
タにおいて、印刷手段駆動電源の能力から得られる最大
のスループットを実現できるのである。According to the above configuration of the present invention, in a printer that drives a plurality of printing means to perform printing in one print scan, the maximum throughput obtained from the capacity of the printing means driving power supply can be realized. is there.
【0014】[0014]
【実施例】図1は、本発明の実施例におけるプリンタの
構成を示すブロック図である。最初に、シリアルプリン
タの一般的な構成部分からデータの流れに沿って説明す
る。1 is a block diagram showing the construction of a printer in an embodiment of the present invention. First, a description will be given along with a data flow from a general configuration part of the serial printer.
【0015】ホストコンピュータに接続されたI/Fケ
ーブル(117)を通じて転送されたデータは、I/F
手段(104)によって受信され、CPUおよびその周
辺(105)によって処理された後、RAM(110)
に印字イメージとして記憶される。CPU(105)の
動作は、ROM(109)に記憶されたプログラムに従
う。文字パターンも同じくROM(109)に記憶さ
れ、必要に応じて文字コードを文字パターンに変換する
ために用いられる。ROM(109)、RAM(11
0)、および印字ヘッドドライバ(107)はバス(1
18)によってCPU(105)に結ばれ、情報交換を
行う。The data transferred through the I / F cable (117) connected to the host computer is I / F.
RAM (110) after being received by the means (104) and processed by the CPU and its surroundings (105).
Is stored as a print image in. The operation of the CPU (105) follows a program stored in the ROM (109). The character pattern is also stored in the ROM (109) and is used to convert the character code into the character pattern as needed. ROM (109), RAM (11
0), and the printhead driver (107) is connected to the bus (1
18) connected to the CPU (105) to exchange information.
【0016】RAM(110)に記憶された印字イメー
ジデータは、印字時にはキャリッジの移動に同期して順
番に読み出され、印字ヘッドドライバ(107)へ転送
され、印字タイミングになると、印字ヘッド(108)
を駆動させる。キャリッジの移動は、CPUによって制
御されたCRモータドライバ(111)を通して、CR
モータ(112)が駆動されることで行われる。同様
に、ペーパーフィードは、PFモータドライバ(11
3)を通して、PFモータ(114)が駆動されること
で行われる。The print image data stored in the RAM (110) is sequentially read in synchronization with the movement of the carriage during printing, transferred to the print head driver (107), and at the print timing, the print head (108). )
Drive. The carriage movement is controlled by the CR motor driver (111) controlled by the CPU.
This is performed by driving the motor (112). Similarly, the paper feed is the PF motor driver (11
This is performed by driving the PF motor (114) through 3).
【0017】センサ(115)は、紙の状態等を検出す
るために、オペレーションパネル(116)は、オペレ
ータへの表示や操作をさせるためにそれぞれ設けられ
る。The sensor (115) is provided to detect the state of the paper and the like, and the operation panel (116) is provided to display and operate the operator.
【0018】駆動電源(103)は、印字ヘッド(10
8)、CRモータ(112)、およびPFモータ(11
4)等を駆動するための電源で、A/Dコンバータ(1
02)および基準電圧(101)で構成される電圧監視
手段によって監視できるようになっていて、その結果は
CPU(105)に伝えられる。The drive power source (103) is connected to the print head (10).
8), CR motor (112), and PF motor (11
4) A power supply for driving the A / D converter (1
02) and the reference voltage (101) can be monitored by the voltage monitoring means, and the result is transmitted to the CPU (105).
【0019】本発明の構成上の特徴は、印字ヘッドドラ
イバ(107)が同時駆動を許可するピン数をCPU
(105)の制御によって、可変できることと、A/D
コンバータ(102)および基準電圧(101)で構成
される電圧監視手段によって、駆動電源(103)の電
圧をCPU(105)によって、監視できるように構成
している点である。The structural feature of the present invention is that the number of pins for which the print head driver (107) permits simultaneous driving is controlled by the CPU.
It can be changed by the control of (105), and A / D
This is the point that the voltage of the drive power source (103) can be monitored by the CPU (105) by the voltage monitoring means including the converter (102) and the reference voltage (101).
【0020】図2は、本発明の実施例におけるプリンタ
の駆動ピン数変更可能な24ピン印字ヘッドドライバの
構成を示すブロック図である。言いかえれば、図1にお
ける印字ヘッドドライバ(107)と印字ヘッド(10
8)の部分を、詳細に記述したブロック図である。FIG. 2 is a block diagram showing the configuration of a 24-pin print head driver capable of changing the number of drive pins of the printer according to the embodiment of the present invention. In other words, the print head driver (107) and the print head (10) in FIG.
FIG. 8 is a block diagram showing in detail the part (8).
【0021】同時駆動を許可するピン数を制御するため
に、8ビットの印字データマスクレジスタ(202)と
8ビットのANDゲート(203)が備えられている。
印字するイメージデータは、バス(201)を通じて2
4ピン分を3バイトで転送されてくる。転送された3バ
イトの印字データは、ANDゲート(203)を通って
から、印字データラッチ1〜3(204〜6)に分配さ
れラッチされる。この分配するためのラッチのタイミン
グ信号、印字データラッチクロック1〜3(207〜
9)は、CPUから与えられる印字データラッチ信号
(213)をカウントし、分配する3進カウンタ(21
6)によって行われる。An 8-bit print data mask register (202) and an 8-bit AND gate (203) are provided to control the number of pins for which simultaneous driving is permitted.
Image data to be printed is sent through the bus (201)
4 pins are transferred in 3 bytes. The transferred 3-byte print data passes through the AND gate (203) and is distributed and latched by the print data latches 1 to 3 (204 to 6). The timing signal of the latch for this distribution, the print data latch clocks 1 to 3 (207 to
9) is a ternary counter (21) for counting and distributing the print data latch signal (213) given from the CPU.
6).
【0022】ラッチされた24ピン分の印字イメージデ
ータは、印字ヘッドドライバ(210)に与えられ、C
PUによって制御されている通電イネーブル信号(21
4)のタイミングに従って印字ヘッド(108)の印字
ピンを選択的に駆動するのに用いられる。The print image data for 24 pins which has been latched is given to the print head driver (210), and C
Energization enable signal (21 controlled by PU
It is used to selectively drive the print pins of the print head (108) according to the timing of 4).
【0023】印字データマスクレジスタ(202)の内
容は、CPUが出力するバス(201)の8ビットのデ
ータをマスクデータラッチ信号(212)によってラッ
チすることで書き換えられる。印字データマスクレジス
タ(202)の出力、マスクデータ(215)と印字イ
メージデータ3バイトが、ANDゲート(203)にお
いて論理積演算をそれぞれのビットで施されるために、
印字データは印字データマスクレジスタ(202)の内
容によってマスクされ、印字される。The contents of the print data mask register (202) are rewritten by latching the 8-bit data of the bus (201) output from the CPU by the mask data latch signal (212). Since the output of the print data mask register (202), the mask data (215) and the print image data of 3 bytes are subjected to a logical product operation in each bit in the AND gate (203),
The print data is masked by the content of the print data mask register (202) and printed.
【0024】図3は、本発明の実施例におけるプリンタ
の駆動ピン数変更可能な印字ヘッドドライバの印字ピン
グループ分けと、各印字ピングループの駆動の許可、禁
止を制御する印字データマスクレジスタのビットアサイ
ンを示す図である。同様なことを、印字データマスクレ
ジスタの内容と、駆動が許可される印字ピンの関係で示
すと以下のようになる。×は禁止、○は許可されたこと
を示す。FIG. 3 is a block diagram of a print data mask register for controlling the print pin group of the print head driver capable of changing the number of drive pins of the printer according to the embodiment of the present invention, and controlling the permission and prohibition of the drive of each print pin group. It is a figure which shows an assignment. The same thing can be shown by the relationship between the contents of the print data mask register and the print pins for which driving is permitted, as follows. X indicates prohibition, and ○ indicates permission.
【0025】 印字ピン番号 マスクレジスタの内容 (hex) 00 01 03 07 0F 1F 3F 7F FF (302) 1、 9、17 × × × × × × × × ○ 2、10、18 × × × × × × × ○ ○ 3、11、19 × × × × × × ○ ○ ○ 4、12、20 × × × × × ○ ○ ○ ○ 5、13、21 × × × × ○ ○ ○ ○ ○ 6、14、22 × × × ○ ○ ○ ○ ○ ○ 7、15、23 × × ○ ○ ○ ○ ○ ○ ○ 8、16、24 × ○ ○ ○ ○ ○ ○ ○ ○ 図3からもわかるように、印字ピン番号(302)と印
字ピングループの名称(303)の関係は、 とする。また、印字データマスクレジスタの内容と、駆
動が許可される印字ピン数の関係を以下に示す。Print pin number Mask register contents (hex) 00 01 03 07 0F 1F 3F 7F FF (302) 1, 9, 17 × × × × × × × × ○ 2, 10, 18 × × × × × × × × ○ ○ 3, 11, 19 × × × × × × × ○ ○ ○ 4, 12, 20 × × × × × ○ ○ ○ ○ 5, 13, 21 × × × × ○ ○ ○ ○ ○ 6, 14, 22 × × × ○ ○ ○ ○ ○ ○ 7, 15, 23 × × ○ ○ ○ ○ ○ ○ ○ 8, 16, 24 × ○ ○ ○ ○ ○ ○ ○ ○ As can be seen from FIG. ) And the name of the print pin group (303), And The relationship between the contents of the print data mask register and the number of print pins permitted to be driven is shown below.
【0026】 マスクレジスタの内容 同時駆動許可ピン数 00h 0ピン 01h 3ピン 03h 6ピン 07h 9ピン 0Fh 12ピン 1Fh 15ピン 3Fh 18ピン 7Fh 21ピン FFh 24ピン このように、印字データマスクレジスタの内容で、印字
ヘッドの同時駆動ピン数の最大値を制限できるように構
成するのである。Contents of mask register Simultaneous drive enable pin number 00h 0 pin 01h 3 pin 03h 6 pin 07h 9 pin 0Fh 12 pin 1Fh 15 pin 3Fh 18 pin 7Fh 21 pin FFh 24 pin In this way, the contents of the print data mask register The maximum number of simultaneously driven pins of the print head can be limited.
【0027】図4は、本発明の実施例におけるプリンタ
の印字タイミングにおける動作の概要を示すフローチャ
ートである。FIG. 4 is a flow chart showing an outline of the operation at the print timing of the printer in the embodiment of the present invention.
【0028】印字タイミング(401)になると、印字
データ3バイトをRAMからヘッドドライバへ転送(4
02)する。これで、印字データは印字データマスクレ
ジスタの内容によって、制限された後、ラッチされてい
る。At the print timing (401), 3 bytes of print data are transferred from the RAM to the head driver (4
02) The print data is now latched after being limited by the contents of the print data mask register.
【0029】次に、RAM上の印字してしまうイメージ
データのビットを”0”にクリアする(403)。CP
Uは印字データマスクレジスタに書き込んだ内容を認識
している訳だから、それに従って、印字されないビット
と印字されるビットは区別することができる。ここで、
印字されるビットを選択的に”0”にクリアしておくこ
とで、現在印字している印字動作(印字パス)で、1行
のデータが全て印字しきらない時、次の印字パスで、重
複して同じドットが印字されることを防止する。Next, the bit of the image data to be printed on the RAM is cleared to "0" (403). CP
Since U recognizes the contents written in the print data mask register, it is possible to distinguish the unprinted bits and the printed bits accordingly. here,
By selectively clearing the bits to be printed to "0", when the printing operation (printing pass) that is currently printing does not print all the data on one line, the next printing pass It prevents the same dot from being printed redundantly.
【0030】印字し終わった部分を推定するための処理
(409)は、現在印字している印字パスで、1行のデ
ータが全て印字し終わったかを判断し、もしも印字し終
わっていない状態では、次の印字パスをどの位置から開
始し、どこまで印字する必要があるのかを判断するため
に行われる。The process (409) for estimating the printed portion is to judge whether or not all the data of one line has been printed in the print pass currently being printed, and if the printing is not finished yet, , It is performed to determine at which position to start the next print pass and to what extent the print needs to be performed.
【0031】印字ヘッドに通電(404)によって、印
字ヘッドの駆動が開始される。When the print head is energized (404), driving of the print head is started.
【0032】印字終了の判断(405)は、現在行って
いる印字ヘッドへの通電が、必要な印字範囲の最後の印
字位置であるかを判断し、最後の印字タイミングである
と、印字終了の処理を行わせるようにEXITする(4
06)。The judgment of the end of printing (405) is to judge whether the energization of the print head at present is at the last print position in the required print range, and if it is the last print timing, the print end is judged. EXIT to perform processing (4
06).
【0033】駆動電圧の判断(407)は、現在の駆動
電源電圧を認識し、それが十分高い電圧か、少々降下気
味か、またはその中間にあるかを判断する。その結果、
中間の電圧であれば(408)何の処理もしないが、降
下気味であれば(411)、印字データマスクレジスタ
の内容を同時駆動ピン数が少なくなる方向に変更する
(412)。この変更は、印字データマスクレジスタ
の”1”のビットの数を1つ減らすことである。逆に、
十分電圧が高い状態であれば(413)、印字データマ
スクレジスタの内容を同時駆動ピン数が多くなる方向に
変更する(414)。この変更は、印字データマスクレ
ジスタの”1”のビットの数を1つ増やすことである。The drive voltage determination (407) recognizes the current drive power supply voltage, and determines whether it is a sufficiently high voltage, a slight drop, or an intermediate value. as a result,
If the voltage is an intermediate voltage (408), no processing is performed, but if the voltage drops (411), the content of the print data mask register is changed to reduce the number of simultaneously driven pins (412). This change is to reduce the number of "1" bits in the print data mask register by one. vice versa,
If the voltage is sufficiently high (413), the contents of the print data mask register are changed to increase the number of simultaneously driven pins (414). This change is to increase the number of "1" bits in the print data mask register by one.
【0034】図5は、本発明の実施例におけるプリンタ
の印字タイミングにおける動作の詳細を示すフローチャ
ートである。特に、図4における印字し終わった部分を
推定するための処理(409)について、詳細に記述し
ている。FIG. 5 is a flow chart showing details of the operation at the print timing of the printer in the embodiment of the present invention. In particular, the processing (409) for estimating the printed portion in FIG. 4 is described in detail.
【0035】この処理は、印字データマスクレジスタで
マスクされていない印字ピンのRAM上のデータをクリ
アする処理(503)を行った後、そのRAM上のデー
タに”1”のビット、つまり印字し残したイメージデー
タが存在するかを判断する(515)から始まる。In this process, after the process (503) of clearing the data on the RAM of the print pin that is not masked by the print data mask register is performed, the data on the RAM is printed with a bit "1", that is, printed. The process starts with determining whether there is any image data left (515).
【0036】”1”のビットが存在しない場合は何もし
ないが、存在する場合は、それがその印字パスを始めて
以来、最初の印字し残しデータであるか、言い替えれば
以前にクリアしたRAMデータに”1”の印字し残しが
存在したかを判断(516)、最初の印字し残しデータ
である場合には、印字し残した最初のデータの存在位置
を示すポインタに、現在の印字位置を記憶させる(51
9)。さらに、”1”のビットが存在する場合は、それ
がその印字パスを始めて以来、最初の印字し残しデータ
であるかにかかわらず、印字し残した最後のデータの存
在位置を示すポインタに、現在の印字位置を記憶させる
(520)。これらの2つのポインタの内容から、現在
の印字パスが終了した後、印字イメージデータは全て印
字し終わったか、してないならばどの範囲なのかを判断
することができる。If the "1" bit does not exist, nothing is done, but if it does exist, it is the first unprinted data since the start of the print pass, in other words, the RAM data that was previously cleared. It is determined whether or not there is an unprinted portion of "1" (516), and if it is the first unprinted data, the current printing position is set to the pointer indicating the existence position of the first unprinted data. Remember (51
9). Furthermore, if there is a "1" bit, regardless of whether it is the first unprinted data since it started its printing pass, a pointer indicating the existence position of the last unprinted data, The current print position is stored (520). From the contents of these two pointers, it is possible to judge whether all the print image data has been printed after the end of the current print pass, or if not, what range.
【0037】図6は、本発明の実施例におけるプリンタ
の1行印字動作中の1パス目の印字において、印字ヘッ
ドの駆動電圧の変化と印字許可した印字ピングループと
の関係を示した図である。FIG. 6 is a diagram showing the relationship between the change in the drive voltage of the print head and the print pin groups for which printing is permitted in the first pass printing during the one-line printing operation of the printer according to the embodiment of the present invention. is there.
【0038】行頭から印字を開始し(602)、しばら
く全ピン(24ピン)の印字を許可して印字は進行する
が、駆動電圧(607)は降下を始め、ついにスレッシ
ホールド電圧2(614)に達する(608)。スレッ
シホールド電圧2(614)になると、駆動電圧は降下
気味であると判断、よって、印字データマスクレジスタ
の内容は、8n+1ピングループの3ピンが印字禁止に
なるように書き換えられ、印字ヘッドの消費電力を減ら
して印字を続ける。Printing is started from the beginning of the line (602), printing is allowed for all pins (24 pins) for a while, but the driving voltage (607) begins to drop and finally the threshold voltage 2 (614). ) Is reached (608). When the threshold voltage 2 (614) is reached, it is determined that the drive voltage is declining, so the contents of the print data mask register are rewritten so that 3 pins of the 8n + 1 pin group are prohibited from printing, and the print head mask Continue printing with reduced power consumption.
【0039】これによって、一時的に駆動電圧は回復し
ても、再び降下を始めスレッシホールド電圧2(61
4)に達する(609)と、駆動電圧は降下気味である
と判断、印字データマスクレジスタの内容は、さらに8
n+2ピングループの3ピンも印字禁止になるように書
き換えられ、印字ヘッドの消費電力をさらに減らして印
字を続ける。As a result, even if the drive voltage is temporarily restored, it starts to drop again and the threshold voltage 2 (61
When it reaches 4) (609), it is determined that the driving voltage is declining, and the content of the print data mask register is further 8
3 pins of the n + 2 pin group are rewritten so that printing is prohibited, and power consumption of the print head is further reduced to continue printing.
【0040】しかし印字中に駆動電圧が回復し、スレッ
シホールド電圧1(613)まで上昇すると(61
1)、駆動電圧は十分高いと判断、印字データマスクレ
ジスタの内容は、現在より1グループ多くの印字ピング
ループを印字許可する方向に書き換えられ、印字ヘッド
の消費電力を増やしより多くの印字ピンを使用して、印
字しようとする。However, when the drive voltage recovers during printing and rises to the threshold voltage 1 (613) (61
1) The drive voltage is judged to be sufficiently high, and the contents of the print data mask register are rewritten in the direction to allow printing of one more print pin group than the present, increasing the power consumption of the print head and increasing the number of print pins. Use, try to print.
【0041】この制御を継続する事で、駆動電圧電源の
能力を最大限に発揮させて、印字ピンを駆動することが
可能となる。By continuing this control, it is possible to drive the print pin by maximizing the capability of the drive voltage power supply.
【0042】1行印字における最初の印字パスの印字終
了は、1行の印字イメージデータの最後の位置となる
(605)。この印字パスで印字し終わった部分は、印
字許可した印字ピングループ(604)で示され、電圧
降下で消費電力調整のために印字許可されなかった部分
は、マスクされた印字ピングループ(603)で示され
る。The end of printing of the first print pass in the printing of one line is the last position of the print image data of one line (605). The part that has been printed by this printing pass is indicated by the print-permitted print pin group (604), and the part that is not print-permitted for power consumption adjustment due to voltage drop is masked print pin group (603). Indicated by.
【0043】ここで、印字位置ポインタ記憶エリアに残
されている、最初の印字し残しデータがある位置(61
6)と最後の印字し残しデータがある位置(617)か
ら、この印字パスでは1行の印字イメージデータの全て
が印字し終わっていないことが判断され、次の印字パス
が起動される。この説明は、図8で詳細を示す。Here, the position (61) where the first unprinted data remains in the print position pointer storage area is stored.
From 6) and the position (617) where there is the last unprinted data, it is judged that not all of the print image data of one line has been printed in this print pass, and the next print pass is activated. This description is detailed in FIG.
【0044】図7は、本発明の実施例におけるプリンタ
が1行印字動作を開始する前に、本発明の制御を行うた
めに追加して行わなければならない処理を示したフロー
チャートである。1行の印字の最初の印字パスの起動に
先だって、印字イメージがRAM上に準備でき、前行の
印字が完全に終了していると、印字が許可され(70
1)、印字開始位置、終了位置の設定(702)、印字
位置ポインタの設定(703)、印字し残しを判断する
ための印字位置ポインタ記憶エリアのクリア(70
4)、印字データマスクレジスタの設定(705)が行
われ、その後メカニズム制御等の印字起動処理に入る
(706)。FIG. 7 is a flow chart showing a process that must be additionally performed in order to perform the control of the present invention before the printer in the embodiment of the present invention starts the one-line printing operation. Prior to the activation of the first print pass for printing one line, if the print image is ready in RAM and printing of the previous line is completed, printing is permitted (70
1), the print start position and the end position are set (702), the print position pointer is set (703), and the print position pointer storage area for determining whether printing is left (70) is cleared.
4) The print data mask register is set (705), and then the print start process such as mechanism control is started (706).
【0045】この場合、印字イメージは全て印字し終わ
っていないから、印字開始位置は印字イメージの最初で
あり、印字終了位置は印字イメージの最後になる(70
2)。印字位置ポインタは印字開始位置にリセットされ
(703)、印字し残しを判断するための印字位置ポイ
ンタ記憶エリアは”0”等、印字位置ポインタ取り得な
いある決まった値に設定されれば良い(704)。印字
データマスクレジスタは、最初全ピン許可だから、FF
hに設定されなければならない(705)。In this case, the printing start position is the beginning of the printing image and the printing ending position is the end of the printing image because the printing of all printing images is not completed (70
2). The print position pointer is reset to the print start position (703), and the print position pointer storage area for determining whether printing is left may be set to a certain value such as "0" that the print position pointer cannot take (704). ). Since the print data mask register is initially enabled for all pins, FF
Must be set to h (705).
【0046】図8は、本発明の実施例におけるプリンタ
の印字動作において、次行の印字を開始する前に、本発
明の制御を行うために追加して行わなければならない処
理を示したフローチャートである。FIG. 8 is a flow chart showing a process which must be additionally performed in order to carry out the control of the present invention before starting the printing of the next line in the printing operation of the printer in the embodiment of the present invention. is there.
【0047】1行の印字の最初の印字パスの起動に先だ
って行われる処理と違う部分は、印字イメージは全て印
字し終わったかを判断する(803)ことが、処理の最
初に行われなければならないこと、印字開始位置、終了
位置は印字し残した部分を示す印字位置ポインタ記憶に
従って行われること(802、805)である。The difference from the process performed prior to the activation of the first print pass of the printing of one line is that it must be performed at the beginning of the process to determine whether all the print images have been printed (803). That is, the print start position and the print end position are performed according to the print position pointer storage indicating the unprinted portion (802, 805).
【0048】Nパス目の印字が終了した時点で(80
1)、もうその行は完全に印字し終わったかを、印字位
置ポインタ記憶エリアに残されている、最初の印字し残
しデータがある位置と、最後の印字し残しデータがある
位置から判断する。最初の印字し残しデータがある位置
と、最後の印字し残しデータがある位置が共にクリアさ
れたままで、変化していないと、RAM上の印字イメー
ジデータは全て”0”ということになり、1行の印字終
了となる(804)。When the printing of the Nth pass is completed (80
1) Whether or not the line has been completely printed is judged from the position of the first unprinted data and the position of the last unprinted data left in the print position pointer storage area. If the position where the first unprinted data remains and the position where the last unprinted data remains are both cleared and have not changed, all the print image data on the RAM will be "0". The printing of the line ends (804).
【0049】1行の印字終了でない場合、印字開始位
置、終了位置を設定して(802、805)、N+1パ
ス目の印字パスを開始する準備に入る。N+1パス目の
印字方向(CRの移動方向)が、Nパス目と同じなら
ば、印字開始位置は、Nパス目で最初の印字し残しデー
タがある位置に設定され(802)、印字終了位置は、
Nパス目で最後の印字し残しデータがある位置に設定さ
れる(802)。N+1パス目の印字方向が、Nパス目
と反対ならば、印字開始位置は、Nパス目で最後の印字
し残しデータがある位置に設定され、印字終了位置は、
Nパス目で最初の印字し残しデータがある位置に設定さ
れれば良い。When the printing of one line is not completed, the printing start position and the ending position are set (802, 805) and the preparation for starting the printing pass of the (N + 1) th pass is started. If the print direction (CR moving direction) of the N + 1th pass is the same as that of the Nth pass, the print start position is set to the position where there is the first unprinted data in the Nth pass (802) and the print end position. Is
At the N-th pass, the last unprinted data is set at a position (802). If the print direction of the (N + 1) th pass is opposite to that of the Nth pass, the print start position is set to the position where the last unprinted data exists in the Nth pass, and the print end position is
It may be set at the position where the first unprinted data exists in the Nth pass.
【0050】図9は、本発明の実施例におけるプリンタ
の1行印字動作中の2パス目の印字において、その印字
開始位置、終了位置、および印字ヘッドの駆動電圧の変
化と印字許可した印字ピングループとの関係を示した図
である。図6で説明したのと同じように、駆動電源電圧
を監視しながら、印字データマスクレジスタの内容を書
き換え、印字ヘッドの消費電力を調整しながら印字を進
める。2パス目では、印字範囲が1パス目に比較して狭
くなっている点が異なる。FIG. 9 shows the print start position, the end position, the change in the drive voltage of the print head and the print pins for which printing is permitted in the second pass printing during the one-line printing operation of the printer according to the embodiment of the present invention. It is the figure which showed the relationship with a group. In the same manner as described with reference to FIG. 6, while monitoring the driving power supply voltage, the contents of the print data mask register are rewritten and printing is performed while adjusting the power consumption of the print head. The second pass is different in that the print range is narrower than that in the first pass.
【0051】図10は、本発明の実施例におけるプリン
タの1行印字動作中の3パス目の印字において、その印
字開始位置、終了位置、および印字ヘッドの駆動電圧の
変化と印字許可した印字ピングループとの関係を示した
図である。1パス目、2パス目と同様に印字を進め、3
パス目で1行のイメージは全て印字し終わっている。FIG. 10 shows the print start position, the end position, the change in the drive voltage of the print head, and the print pin for which printing is permitted in the third pass printing during the one-line printing operation of the printer according to the embodiment of the present invention. It is the figure which showed the relationship with a group. Proceed with printing in the same way as the 1st and 2nd passes, and 3
At the pass, all the images on one line have been printed.
【0052】[0052]
【発明の効果】以上述べたように、本発明によれば、1
回の印刷走査において、複数の印刷手段を駆動して印刷
を行うプリンタにおいて、必要最低限の印刷手段駆動電
源で、必要なスループットのプリンタを提供できるとい
う効果がある。As described above, according to the present invention, 1
In a printer that performs printing by driving a plurality of printing units in one printing scan, it is possible to provide a printer with a required throughput with a minimum required printing unit driving power supply.
【図1】本発明の実施例におけるプリンタの構成を示す
ブロック図である。FIG. 1 is a block diagram showing a configuration of a printer according to an embodiment of the present invention.
【図2】本発明の実施例におけるプリンタの駆動ピン数
変更可能な印字ヘッドドライバの構成を示すブロック図
である。FIG. 2 is a block diagram showing a configuration of a print head driver capable of changing the number of drive pins of the printer according to the embodiment of the present invention.
【図3】本発明の実施例におけるプリンタの駆動ピン数
変更可能な印字ヘッドドライバの印字ピングループ分け
と、各印字ピングループの駆動の許可、禁止を制御する
印字データマスクレジスタのビットアサインを示す図で
ある。FIG. 3 shows print pin grouping of print head drivers capable of changing the number of drive pins of a printer and bit assignment of a print data mask register for controlling permission / prohibition of driving of each print pin group according to an embodiment of the present invention. It is a figure.
【図4】本発明の実施例におけるプリンタの印字タイミ
ングにおける動作の概要を示すフローチャートである。FIG. 4 is a flowchart showing an outline of an operation at a print timing of the printer in the embodiment of the present invention.
【図5】本発明の実施例におけるプリンタの印字タイミ
ングにおける動作の詳細を示すフローチャートである。FIG. 5 is a flowchart showing details of the operation at the print timing of the printer in the embodiment of the present invention.
【図6】本発明の実施例におけるプリンタの1行印字動
作中の1パス目の印字において、印字ヘッドの駆動電圧
の変化と印字許可した印字ピングループとの関係を示し
た図である。FIG. 6 is a diagram showing a relationship between a change in the drive voltage of the print head and a print pin group for which printing is permitted in the first pass printing during the one-line printing operation of the printer according to the embodiment of the present invention.
【図7】本発明の実施例におけるプリンタが1行印字動
作を開始する前に、本発明の制御を行うために追加して
行わなければならない処理を示したフローチャートであ
る。FIG. 7 is a flowchart showing a process that must be additionally performed to perform the control of the present invention before the printer according to the embodiment of the present invention starts the one-line printing operation.
【図8】本発明の実施例におけるプリンタの印字動作に
おいて、次行の印字を開始する前に、本発明の制御を行
うために追加して行わなければならない処理を示したフ
ローチャートである。FIG. 8 is a flowchart showing a process that must be additionally performed to perform control of the present invention before starting printing of the next line in the printing operation of the printer according to the embodiment of the present invention.
【図9】本発明の実施例におけるプリンタの1行印字動
作中の2パス目の印字において、その印字開始位置、終
了位置、および印字ヘッドの駆動電圧の変化と印字許可
した印字ピングループとの関係を示した図である。FIG. 9 illustrates a print start position, a print end position, a change in the drive voltage of the print head, and a print pin group for which printing is permitted in the second pass printing during the one-line printing operation of the printer according to the embodiment of the present invention. It is the figure which showed the relationship.
【図10】本発明の実施例におけるプリンタの1行印字
動作中の3パス目の印字において、その印字開始位置、
終了位置、および印字ヘッドの駆動電圧の変化と印字許
可した印字ピングループとの関係を示した図である。FIG. 10 is a print start position in the third pass printing during one-line printing operation of the printer according to the embodiment of the invention.
FIG. 6 is a diagram showing a relationship between an end position, a change in drive voltage of the print head, and a print pin group for which printing is permitted.
103 駆動電源 108 印字ヘッド 210 印字ヘッドドライバ 103 drive power supply 108 print head 210 print head driver
Claims (1)
する機能と、該最大値を変更可能にする機能とを有する
駆動制限手段と、 前記印刷手段を駆動するための電源電圧を認識する駆動
電源電圧検出手段と、 1回の印刷走査における印刷し残したデータの存在と、
該データの位置とを検出する残りデータ認識手段と、を
備えたことを特徴とするプリンタ。1. A drive limiting unit having a function of limiting the maximum value of the number of driven printing units and a function of changing the maximum value, and recognizing a power supply voltage for driving the printing unit. Drive power supply voltage detection means for performing, and the presence of unprinted data in one print scan,
A remaining data recognition means for detecting the position of the data, and a printer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24363891A JPH0577452A (en) | 1991-09-24 | 1991-09-24 | Printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24363891A JPH0577452A (en) | 1991-09-24 | 1991-09-24 | Printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0577452A true JPH0577452A (en) | 1993-03-30 |
Family
ID=17106802
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP24363891A Pending JPH0577452A (en) | 1991-09-24 | 1991-09-24 | Printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0577452A (en) |
-
1991
- 1991-09-24 JP JP24363891A patent/JPH0577452A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900003353B1 (en) | Print control apparatus | |
| JPH0577452A (en) | Printer | |
| US6209984B1 (en) | Power saving ink jet printer and controlling method thereof | |
| EP0430064B1 (en) | Serial dot matrix printer | |
| EP0634731B1 (en) | Output apparatus and method using plural data processing units | |
| JP3245270B2 (en) | Character processing apparatus and method | |
| JP2739617B2 (en) | Serial dot printer | |
| KR100268350B1 (en) | Apparatus and method for dividing document in printer | |
| JP3302146B2 (en) | Printer device and head drive circuit thereof | |
| JPS5941276A (en) | Dot-matrix type serial printer | |
| JPH0825672A (en) | Thermal head drive unit | |
| JPH0459360A (en) | Control method for overload printing in printer | |
| JP3003637B2 (en) | Printing equipment | |
| JPS6151233A (en) | Control system in printer | |
| JPS60187555A (en) | Printing method | |
| JP2791716B2 (en) | Character printing method | |
| JPS6134994B2 (en) | ||
| JPS6264564A (en) | Dot impact-type serial printer | |
| JPH09141936A (en) | Print recorder | |
| JPH0596788A (en) | Method for controlling table-driven printer to execute logical seeking for multiple pitch printing | |
| JPH09200463A (en) | Image output device | |
| JPS61193864A (en) | Dot printer control method | |
| JPH0532032A (en) | Ink ribbon feed control device in serial impact dot printer | |
| JPH07112535A (en) | Dot printer print controller | |
| JPS58167181A (en) | Controlling system for overload printing |