JPH09156166A - Print controller and control method - Google Patents

Print controller and control method

Info

Publication number
JPH09156166A
JPH09156166A JP31903795A JP31903795A JPH09156166A JP H09156166 A JPH09156166 A JP H09156166A JP 31903795 A JP31903795 A JP 31903795A JP 31903795 A JP31903795 A JP 31903795A JP H09156166 A JPH09156166 A JP H09156166A
Authority
JP
Japan
Prior art keywords
band
band buffer
information
buffers
printing
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.)
Withdrawn
Application number
JP31903795A
Other languages
Japanese (ja)
Inventor
Kazuhiro Nakamura
和弘 中村
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP31903795A priority Critical patent/JPH09156166A/en
Publication of JPH09156166A publication Critical patent/JPH09156166A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To simplify the processing by containing information indicative of the availability of individual corresponding one of variable number of band butters, information indicative of the existing position of band butter, and information indicative of longitudinal shift of output position after outputting a dot pattern thereby controlling the band buffers through identical processing. SOLUTION: A setting section 4a sets control information 2b of a band buffer 2a based on the state of system, while a control section 4b controls each of variable number of band buffers 2a based on a set control information 2b and delivers the content of band butter 2a to a printer unit 3. The control information 2b prepared for each of variable number of band buffers 2a contains information 2b1 indicative the availability of individual corresponding band buffer, existing position information 2b2, and longitudinal shift information of output position 2b3. Consequently, the band butters can be controlled through identical processing regardless of the number thereof depending on the state of system and the printing operation is simplified.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、バンドバッファの
制御を行う印字制御装置及び方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control apparatus and method for controlling a band buffer.

【0002】[0002]

【従来の技術】従来、印字装置に出力すべきドットパタ
ーンを一時的に格納するために用意されるバンドバッフ
ァの個数は、固定数である場合が多かった。
2. Description of the Related Art Conventionally, the number of band buffers prepared for temporarily storing a dot pattern to be output to a printing device is often a fixed number.

【0003】[0003]

【発明が解決しようとする課題】印字速度の向上を図る
ためには、より多くのバンドバッファを取得することが
有用であるが、記憶領域の状態によってはさらに多くの
バンドバッファを取得することが可能となる場合があ
る。従来技術によると、さらにバンドバッファを確保す
ることが可能な記憶領域の状態にありながら、バンドバ
ッファを増減させることが出来なかった。
In order to improve the printing speed, it is useful to acquire more band buffers, but it is possible to acquire more band buffers depending on the state of the storage area. It may be possible. According to the conventional technique, the number of band buffers cannot be increased or decreased while the storage area is such that a band buffer can be secured further.

【0004】本発明は、上記の問題点を解決するために
なされたもので、システム状態によってバンドバッファ
の個数を可変個数として印字速度の向上を図るととも
に、これらバンドバッファの制御処理を個数によらずに
同一処理にて制御を行い処理の単純化を可能とする印字
制御装置及び方法を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems. The number of band buffers is made variable according to the system state to improve the printing speed, and the control processing of these band buffers is performed according to the number. It is an object of the present invention to provide a print control apparatus and method that can control the same process without performing the process and simplify the process.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明の印字装置は、ドットパターンの印字を可能と
する印字ヘッドを備えた印字部に出力すべきドットパタ
ーンを格納する可変個数のバンドバッファと、前記可変
個数のバンドバッファの各々を制御する制御情報を記憶
する記憶手段と、前記制御情報を設定する設定手段と、
前記設定手段により設定された制御情報に基づいて前記
可変個数のバンドバッファの各々を制御する制御手段と
を有し、前記制御情報として少なくとも前記可変個数の
バンドバッファの各々に対応するバンドバッファの使用
可否を表す情報、バンドバッファの存在位置を表す情
報、バンドバッファに一時的に格納されたドットパター
ン出力後の出力位置縦方向移動量を表す情報とを含む、
ことを特徴とする。
In order to achieve the above object, the printing apparatus of the present invention is provided with a variable number of dot patterns to be output to a printing section provided with a print head capable of printing dot patterns. A band buffer, storage means for storing control information for controlling each of the variable number of band buffers, setting means for setting the control information,
A control unit for controlling each of the variable number of band buffers based on the control information set by the setting unit, and using a band buffer corresponding to at least each of the variable number of band buffers as the control information. Including information indicating availability, information indicating the position of the band buffer, and information indicating the amount of vertical movement of the output position after the dot pattern temporarily stored in the band buffer,
It is characterized by the following.

【0006】また、本発明の印字制御方法は、ドットパ
ターンの印字を可能とする印字ヘッドを備えた印字部に
出力すべきドットパターンを格納する可変個数のバンド
バッファと、前記可変個数のバンドバッファの各々を制
御する制御情報を記憶する記憶手段とを利用し、前記制
御情報を設定する設定ステップと、前記設定ステップに
より設定された制御情報に基づいて前記可変個数のバン
ドバッファの各々を制御する制御ステップとを有し、前
記制御情報として少なくとも前記可変個数のバンドバッ
ファの各々に対応するバンドバッファの使用可否を表す
情報、バンドバッファの存在位置を表す情報、バンドバ
ッファに一時的に格納されたドットパターン出力後の出
力位置縦方向移動量を表す情報とを含む、ことを特徴と
する。
Further, the printing control method of the present invention includes a variable number of band buffers for storing dot patterns to be output to a printing section having a print head capable of printing dot patterns, and the variable number of band buffers. And a control unit for controlling each of the variable number of band buffers based on the control information set by the setting step and the control information set by the setting step. And a control step, wherein the control information is information indicating whether or not the band buffer corresponding to each of the variable number of band buffers is usable, information indicating the existence position of the band buffer, and temporarily stored in the band buffer. And the information indicating the amount of vertical movement of the output position after the dot pattern is output.

【0007】本発明に係る印字装置は、可変個数のバン
ドバッファと、該バンドバッファの各々を制御する制御
情報として少なくとも各々に対応するバンドバッファの
使用可否情報、存在位置情報、出力位置縦方向移動量情
報とを保持し、該制御情報を設定する手段と、該制御情
報に基づいてバンドバッファの各々を制御する手段とを
具備したものである。
The printing apparatus according to the present invention has a variable number of band buffers and, as control information for controlling each of the band buffers, at least availability information, presence position information, output position vertical movement of the band buffer corresponding to each band buffer. And a means for holding the quantity information and setting the control information, and a means for controlling each of the band buffers based on the control information.

【0008】(作用)以上の構成により本発明において
は、システム状態によってバンドバッファの個数を可変
個数として印字速度の向上を図るとともに、これらバン
ドバッファの制御処理を個数によらずに同一処理にて制
御を行い処理の単純化を図った印字処理を可能とする。
(Operation) According to the present invention, the number of band buffers is variable according to the system state to improve the printing speed, and the control process of these band buffers is performed by the same process regardless of the number. Enables print processing with control and simplification of processing.

【0009】[0009]

【発明の実施の形態】図1は、本発明の一実施の形態を
示す印字装置の構成を説明するブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram for explaining the configuration of a printing apparatus showing an embodiment of the present invention.

【0010】図において、設定部4aは、バンドバッフ
ァ2aの制御情報2bをシステムの状況に基づいて設定
し、制御部4bは、設定された制御情報2bに基づいて
可変個数のバンドバッファ2aの各々を制御し、プリン
タユニット3にバンドバッファ2aの内容を出力する。
可変個数のバンドバッファ2a各々に対して用意された
制御情報2bには、対応する各バンドバッファの使用可
否情報2b1、存在位置情報2b2、出力位置縦方向移
動量情報2b3を格納する。
In the figure, the setting unit 4a sets the control information 2b of the band buffer 2a based on the system status, and the control unit 4b sets each of the variable number of band buffers 2a based on the set control information 2b. To output the contents of the band buffer 2a to the printer unit 3.
The control information 2b prepared for each variable number of band buffers 2a stores availability information 2b1, presence position information 2b2, and output position vertical direction movement amount information 2b3 of the corresponding band buffer.

【0011】図2は、図1に示した印字装置のシステム
構成の一例を示すブロック図であり、図1と同一のもの
には同じ符号を付してある。
FIG. 2 is a block diagram showing an example of the system configuration of the printing apparatus shown in FIG. 1. The same parts as those in FIG. 1 are designated by the same reference numerals.

【0012】図において、1は、リードオンリーメモリ
(ROM)で、システム全体の制御をつかさどる中央処
理装置(CPU)4の制御手順等を保持する。ここに
は、設定部4a、制御部4b等の処理手順が保持され
る。2は、ランダムアクセスメモリ(RAM)で、本シ
ステムの処理に必要な情報を一時的に保持する。ここに
は、バンドバッファ2a、制御情報2b、作業領域等が
保持される。3は、インクジェットプリンタ等のシリア
ルプリンタであるプリンタユニット(PrinterU
nit)で、バンドバッファ2aに格納された情報等の
印字出力を行う。5は、PrinterUnit3に対
する記録データの供給制御を行うゲートアレイ(GA)
であり、CPU4、RAM2間のデータ転送制御も行
う。6は、各処理のタイミングを測るタイマ(RTC)
である。
In the figure, reference numeral 1 is a read only memory (ROM), which holds a control procedure of a central processing unit (CPU) 4 which controls the entire system. Here, the processing procedure of the setting unit 4a, the control unit 4b, etc. is held. A random access memory (RAM) 2 temporarily holds information necessary for the processing of this system. A band buffer 2a, control information 2b, a work area, and the like are held here. 3 is a printer unit (PrinterU) which is a serial printer such as an inkjet printer.
nit), the information stored in the band buffer 2a is printed out. Reference numeral 5 is a gate array (GA) that controls the supply of print data to the PrinterUnit 3.
Therefore, data transfer control between the CPU 4 and the RAM 2 is also performed. 6 is a timer (RTC) for measuring the timing of each processing
It is.

【0013】本発明の実施の形態における動作を説明す
ると、RAM2のバンドバッファ2aに保持されたドッ
トパターンデータが、の設定部4aによってRAM2に
設定された制御情報2bに基づいて、同じくROM1の
制御部4bによって制御されつつ、GA5とCPU4と
間で印字用の記録データに変換されて、Printer
Unit3に出力される。
To explain the operation of the embodiment of the present invention, the dot pattern data held in the band buffer 2a of the RAM 2 is also controlled by the ROM 1 based on the control information 2b set in the RAM 2 by the setting section 4a. While being controlled by the unit 4b, the data is converted into recording data for printing between the GA 5 and the CPU 4, and the Printer 5
Output to Unit3.

【0014】図3、図4、図5は、図2に示したRAM
2の内部の領域配置を説明する模式図である。
3, 4 and 5 are RAMs shown in FIG.
It is a schematic diagram explaining the area arrangement | positioning inside 2.

【0015】図3は、図1に示したRAM2内のバンド
バッファ2aの領域配置を説明する模式図である。
FIG. 3 is a schematic diagram for explaining the area arrangement of the band buffer 2a in the RAM 2 shown in FIG.

【0016】図において、バンドバッファ2aは、本実
施例において1から3領域までの可変個数が取得される
可能性を有しており、各々のバンドバッファ2aはBand
buf02a1、Bandbuf12a2、Bandbuf22a3で示さ
れ、さらに、各々のバンドバッファ2aの先頭位置、後
尾位置はそれぞれBandBuf0Head・BandBuf0Tail、BandBu
f1Head・BandBuf1Tail、BandBuf2Head・BandBuf2Tailで
示されている。
In the figure, the band buffers 2a have a possibility of acquiring a variable number of 1 to 3 areas in the present embodiment, and each band buffer 2a has a band.
buf02a1, Bandbuf12a2, and Bandbuf22a3, and the head position and tail position of each band buffer 2a are BandBuf0Head, BandBuf0Tail, and BandBu, respectively.
It is indicated by f1Head / BandBuf1Tail and BandBuf2Head / BandBuf2Tail.

【0017】図4は、図1に示したRAM2内の制御情
報2bの領域配置を説明する模式図である。
FIG. 4 is a schematic diagram for explaining the area arrangement of the control information 2b in the RAM 2 shown in FIG.

【0018】図において、制御情報2bは、全体の先頭
位置がBandBufCntlInfHeadで示され、さらに、各々のバ
ンドバッファ2aに対応した制御情報2bの先頭位置
は、領域幅BandBufCntlInfWidthに各々のバンドバッフ
ァ2aの番号BandBufNoを掛けたオフセット値“BandBuf
No*BandBufCntlInfWidth”に、前記制御情報2b全体
の先頭位置BandBufCntlInfHeadをたした、“BandBufCnt
lInfHead+BandBufNo*BandBufCntlInfWidth”で示され
る。また、各々のバンドバッファ2aに対応した制御情
報2bの内容を列記すると、対応する各バンドバッファ
の使用可否情報2b1にはビット情報として該バンドバ
ッファの使用可否情報BandBufEnableBit、該バンドバッ
ファに情報あるいはデータが既に書き込まれているか否
かを示す使用済情報BandBufUsedBitが保持され、対応す
る各バンドバッファの存在位置情報2b2には該バンド
バッファの存在アドレスBandBufNHeadが保持され、対応
する各バンドバッファの出力位置縦方向移動量情報2b
3には該バンドバッファのデータ出力後の縦方向移動量
が保持される。
In the figure, the control information 2b is indicated by BandBufCntlInfHead at the head position of the whole, and the head position of the control information 2b corresponding to each band buffer 2a is the area width BandBufCntlInfWidth and the number of each band buffer 2a. Offset value multiplied by BandBufNo “BandBuf
"BandBufCntlInfWidth" is set to the start position BandBufCntlInfHead of the entire control information 2b, and "BandBufCnt
lInfHead + BandBufNo * BandBufCntlInfWidth ”. Further, when the contents of the control information 2b corresponding to each band buffer 2a are listed, the availability information 2b1 of each corresponding band buffer is used as bit information of the band buffer availability information BandBufEnableBit. , The used information BandBufUsedBit indicating whether or not information or data has already been written in the band buffer, the existing position information 2b2 of each corresponding band buffer holds the existing address BandBufNHead of the band buffer, Output position vertical movement amount information 2b of each band buffer
3 holds the amount of vertical movement of the band buffer after data output.

【0019】図5は、図2に示したRAM2内の本発明
の実施の形態において使用される作業領域の領域配置を
説明する模式図である。
FIG. 5 is a schematic diagram for explaining the area arrangement of the work areas used in the embodiment of the present invention in the RAM 2 shown in FIG.

【0020】図において、2cは、前記バンドバッファ
の取得個数を保持する領域NoofBandBufである。2d
は、後述の処理作業時においてその時選択されているバ
ンドバッファの存在アドレスBandBufNHeadを保持する領
域BandBufHeadである。2eは、後述の処理作業時にお
いてその時選択されているバンドバッファの番号を保持
する領域CurrentBandBufNoである。
In the figure, 2c is an area NoofBandBuf for holding the number of acquired band buffers. 2d
Is an area BandBufHead that holds the existing address BandBufNHead of the band buffer that is selected at the time of processing operation described later. Reference numeral 2e is an area CurrentBandBufNo that holds the number of the band buffer selected at the time of processing work described later.

【0021】次に、図6〜図13を参照しながら本発明
に係る印字装置における処理について詳細に説明する。
Next, the processing in the printing apparatus according to the present invention will be described in detail with reference to FIGS.

【0022】図6は、電源投入時、あるいは、バンドバ
ッファの状態変化時(ヘッド交換時等)に起動されるバ
ンドバッファの初期設定処理の一例を示すフローチャー
ト図である。なお、S1〜S13は、各ステップを示
す。
FIG. 6 is a flow chart showing an example of a band buffer initial setting process which is activated when the power is turned on or when the state of the band buffer is changed (for example, when the head is replaced). Note that S1 to S13 indicate each step.

【0023】先ず、S1にて記憶領域初期設定処理を行
い、この結果に基づいてバンドバッファを何個取得する
ことが可能かの判定(S2、S4)を行う、この判定は
装置されるヘッドの種類(モノクロ、カラー)、及び、
RAMの容量に基づいて行なう。また、本実施の形態で
は基本的にはカラーヘッドの場合、1個のバンド、モノ
クロヘッドの場合、2個のバンド(モノクロヘッドのヘ
ッド幅がカラーヘッドのヘッド幅より大きいため)、R
AMの容量に応じて3個のバンドを取得するものとす
る。なお、本実施例においてはバンドバッファの番号が
0、1、2、すなわちBandBuf0、BandBuf1、BandBuf2の
順序でバンドバッファを取得すること可能であり、番号
0のBandBuf0は必ず取得されることが約束されている。
S2にてバンドバッファBandBuf0、BandBuf1、BandBuf2
の3個取得することが可能であれば、S3でNoofBandBu
fへ“3”をセットしてS7へ、一方否であれば、さら
に、S4にてバンドバッファBandBuf0、BandBuf1の2個
取得することが可能であれば、S5でNoofBandBufへ
“2”をセットしてS9へ、否であれば、BandBuf0が取
得されることは約束されているのでS6でNoofBandBuf
へ“1”をセットしてS11へ進む、戻ってS7では先
頭位置BandBuf2HeadをBandBufHeadへセットし、S8の
入力パラメータとしてCPUのレジスタAREGにバンドバッ
ファ番号2をセットする。次に、設定されたバンドバッ
ファ番号に対応するバンドバッファの設定処理として制
御情報2b等の設定処理(S8)を行う。S9では先頭
位置BandBuf1HeadをBandBufHeadへセットし、S10の
入力パラメータとしてレジスタAREGにバンドバッファ番
号1をセットする。次に、設定されたバンドバッファ番
号に対応するバンドバッファの設定処理として制御情報
2b等の設定処理(S10)を行う。S11では先頭位
置BandBuf0HeadをBandBufHeadへセットし、S12の入
力パラメータとしてレジスタAREGにバンドバッファ番号
0をセットする。次に、設定されたバンドバッファ番号
に対応するバンドバッファの設定処理として制御情報2
b等の設定処理(S12)を行う。最終的にCurrentBan
dBufNoにレジスタAREGのバンドバッファ番号0をセット
(S13)して処理を終了する。
First, in S1, a storage area initialization process is performed, and based on the result, it is determined how many band buffers can be obtained (S2, S4). This determination is made by the head of the apparatus. Type (monochrome, color), and
This is performed based on the capacity of RAM. In the present embodiment, basically, in the case of a color head, one band, in the case of a monochrome head, two bands (since the head width of the monochrome head is larger than the head width of the color head), R
It is assumed that three bands are acquired according to the capacity of AM. In the present embodiment, it is possible to acquire the band buffers in the order of band buffer numbers 0, 1, and 2, that is, BandBuf0, BandBuf1, BandBuf2, and it is guaranteed that BandBuf0 with the number 0 will be acquired. ing.
Band buffers BandBuf0, BandBuf1, BandBuf2 at S2
If it is possible to obtain 3 of the above, NoofBandBu in S3
Set "3" to f and go to S7, and if not, then if it is possible to obtain two band buffers BandBuf0 and BandBuf1 at S4, set "2" to NoofBandBuf at S5. And S9, and if not, BandBuf0 is promised to be acquired, so S6 returns NoofBandBuf.
"1" is set to, and the process proceeds to S11. Returning to S7, the head position BandBuf2Head is set to BandBufHead, and the band buffer number 2 is set in the register AREG of the CPU as an input parameter of S8. Next, a setting process of the control information 2b and the like (S8) is performed as a band buffer setting process corresponding to the set band buffer number. In S9, the head position BandBuf1Head is set in BandBufHead, and the band buffer number 1 is set in the register AREG as an input parameter in S10. Next, a setting process of the control information 2b and the like (S10) is performed as a band buffer setting process corresponding to the set band buffer number. In S11, the head position BandBuf0Head is set in BandBufHead, and the band buffer number 0 is set in the register AREG as an input parameter in S12. Next, the control information 2 is set as a band buffer setting process corresponding to the set band buffer number.
A setting process (S12) such as b is performed. Finally CurrentBan
The band buffer number 0 of the register AREG is set in dBufNo (S13), and the process is terminated.

【0024】図7は、図6に示したバンドバッファ設定
処理SetUpBandBufの一例を示すフローチャート図であ
る。なお、S14〜S15は、各ステップを示す。
FIG. 7 is a flowchart showing an example of the band buffer setting process SetUpBandBuf shown in FIG. Note that S14 to S15 indicate each step.

【0025】先ず、入力パラメータとしてレジスタAREG
にセットされたバンドバッファ番号を基に指定バンドバ
ッファに対応する制御情報2bの先頭位置をレジスタXI
XREGにセット(S14)し、求められたレジスタXIXREG
を基に各オフセット値を用いて指定バンドバッファに対
応する制御情報2bの各領域への設定(S15)とし
て、使用可否情報領域2b1((XIX)REG+_BandBufStatu
s)へ使用可とするビット情報setBandBufEnableBitをセ
ットし、図6のS7、S9、S11にて各々セットされ
たBandBufHeadをバンドバッファの存在位置情報2b2
((XIX)REG+_BandBufHead)へセットし、出力位置縦方向
移動量情報2b3((XIX)REG+_BandBufFeedAmount)へ初
期設定値として“0”をセットして処理を終了する。
First, the register AREG is used as an input parameter.
The start position of the control information 2b corresponding to the designated band buffer is set in the register XI based on the band buffer number set in
Set to XREG (S14) and find the required register XIXREG
Using each offset value based on the above, the availability information area 2b1 ((XIX) REG + _BandBufStatu) is set as the setting of each area of the control information 2b corresponding to the designated band buffer (S15).
Set the available bit information setBandBufEnableBit to (s), and set the BandBufHead set in S7, S9, and S11 of FIG. 6 to the band buffer existence position information 2b2.
((XIX) REG + _BandBufHead) is set, output position vertical direction movement amount information 2b3 ((XIX) REG + _BandBufFeedAmount) is set to "0" as an initial setting value, and the process ends.

【0026】図8は、不図示のバッファへのデータセッ
ト処理から起動される、指定されたバンドバッファへの
データの転送処理を行うバンドバッファ転送処理Transt
oDefineBandBufの一例を示すフローチャート図である。
なお、S16〜S18は、各ステップを示す。
FIG. 8 is a band buffer transfer process Transt for transferring data to a designated band buffer, which is activated from a data set process to a buffer (not shown).
It is a flowchart figure which shows an example of oDefineBandBuf.
Note that S16 to S18 indicate each step.

【0027】先ず、入力パラメータとしてセットされた
CurrentBandBufNoを基に現在のバンドバッファに対応す
る制御情報2bの先頭位置をレジスタXIXREGにセット
(S16)し、求められたレジスタXIXREGを基に各オフ
セット値を用いて、S18の入力パラメータとして現在
のバンドバッファの存在位置情報((XIX)REG+_BandBufHe
ad)の内容をBandBufHeadにセットし、使用可否情報領域
2b1((XIX)REG+_BandBufStatus)へ使用済ビット情報s
etBandBufUsedBitをセット(S17)し、バンドバッフ
ァ転送処理TranstoBandBuf(S18)を行って処理を終
了する。
First, it was set as an input parameter
The start position of the control information 2b corresponding to the current band buffer is set in the register XIXREG based on the CurrentBandBufNo (S16), and each offset value is used based on the obtained register XIXREG to input the current band as an input parameter of S18. Location information of buffer ((XIX) REG + _BandBufHe
Set the contents of ad) to BandBufHead, and use bit information s to the availability information area 2b1 ((XIX) REG + _BandBufStatus)
etBandBufUsedBit is set (S17), a band buffer transfer process TranstoBandBuf (S18) is performed, and the process ends.

【0028】図9は、不図示の実改行処理の代わりに起
動する仮改行処理VirtualLineFeedの一例を示すフロー
チャート図である。なお、S19〜S21は、各ステッ
プを示す。
FIG. 9 is a flow chart showing an example of virtual line feed VirtualLineFeed which is activated instead of the actual line feed process (not shown). Note that S19 to S21 indicate each step.

【0029】先ず、現在選択されているバンドバッファ
番号CurrentBandBufNoを基に現在のバンドバッファに対
応する制御情報2bの先頭位置をレジスタXIXREGにセッ
ト(S19)し、求められたレジスタXIXREGの値を基に
各オフセット値を用いて、入力パラメータとしてレジス
タHLREGに設定された改行量を((XIX)REG+_BandBufFeedA
mount)へセットし、使用可否情報領域2b1((XIX)REG+
_BandBufStatus)へ使用済ビット情報setBandBufUsedBit
をセット(S20)し、後述の仮印字処理(S21)を
行って処理を終了する。
First, the head position of the control information 2b corresponding to the current band buffer is set in the register XIXREG based on the currently selected band buffer number CurrentBandBufNo (S19), and based on the obtained value of the register XIXREG. Using each offset value, set the line feed amount set in the register HLREG as an input parameter to ((XIX) REG + _BandBufFeedA
mount), availability information area 2b1 ((XIX) REG +
To _BandBufStatus) Used bit information setBandBufUsedBit
Is set (S20), a temporary printing process (S21) described later is performed, and the process ends.

【0030】図10は、図9に示した仮印字処理Virtua
lPrintBandBufの一例を示すフローチャート図である。
なお、S22〜S29は、各ステップを示す。
FIG. 10 shows the temporary printing process Virtua shown in FIG.
It is a flowchart figure which shows an example of lPrintBandBuf.
Note that S22 to S29 indicate each step.

【0031】先ず、S23の入力パラメータとして現在
選択されているバンドバッファ番号CurrentBandBufNoを
レジスタAREGにセット(S22)し、S23で後述の次
バンドバッファ番号取得処理getNextBandNufNoを行い、
レジスタAREGにセットされた次バンドバッファ番号をCu
rrentBandBufNoにセット(S24)する。得られた次バ
ンドバッファ番号を基に該バンドバッファに対応する制
御情報2bの先頭位置をレジスタXIXREGにセット(S2
5)し、求められたレジスタXIXREGの値を基に各オフセ
ット値を用いて、使用可否情報領域2b1((XIX)REG+_B
andBufStatus)の使用済ビット情報BandBufUsedBitがON
か否かを調べ(S26)、ONであれば、空きバンドバッ
ファが存在しないので、後述の全バンドバッファ印字処
理PrintAllBandBuf(S27)を行い、S28へ進む、
一方S26で否であれば、次のバンドバッファが使用さ
れていないので、印字せずに得られた次バンドバッファ
番号を現在のバンドバッファ番号として該バンドバッフ
ァに対応する制御情報2bの先頭位置をレジスタXIXREG
にセット(S28)し、求められたレジスタXIXREGを基
に各オフセット値を用いて、((XIX)REG+_BandBufHead)
の内容をBandBufHeadにセット(S29)して処理を終
了する。
First, the band buffer number CurrentBandBufNo currently selected as the input parameter in S23 is set in the register AREG (S22), and the next band buffer number acquisition process getNextBandNufNo described later is performed in S23.
Cu the next band buffer number set in the register AREG
Set to rrentBandBufNo (S24). Based on the obtained next band buffer number, the start position of the control information 2b corresponding to the band buffer is set in the register XIXREG (S2
5) Then, using each offset value based on the value of the obtained register XIXREG, the availability information area 2b1 ((XIX) REG + _B
andBufStatus) used bit information BandBufUsedBit is ON
It is checked whether or not (S26), and if it is ON, since there is no empty band buffer, all band buffer printing processing PrintAllBandBuf (S27) described later is performed, and the process proceeds to S28.
On the other hand, if the result in S26 is NO, the next band buffer is not used, and the next band buffer number obtained without printing is set as the current band buffer number, and the start position of the control information 2b corresponding to the band buffer is set. Register XIXREG
(S28), and using each offset value based on the obtained register XIXREG, ((XIX) REG + _BandBufHead)
The content of is set in BandBufHead (S29), and the process ends.

【0032】図11は、図10に示した次バンドバッフ
ァ番号取得処理getNextBandBufNoの一例を示すフローチ
ャート図である。なお、S30〜S34は、各ステップ
を示す。
FIG. 11 is a flow chart showing an example of the next band buffer number acquisition process getNextBandBufNo shown in FIG. Note that S30 to S34 indicate each step.

【0033】先ず、入力パラメータとしてレジスタAREG
にセットされたバンドバッファ番号に“1”をたしてレ
ジスタAREGにセット(S30)しなおし、図6において
セットされたNoofBandBufより小さいか否かを調べ(S
31)、小さくない場合には、レジスタAREGにセットさ
れている番号が最大値を越えているので“0”にセット
(S32)しなおし、S31で小さいと判断された場合
とともにS33へ進む。S33では、得られたバンドバ
ッファ番号を基に該バンドバッファに対応する制御情報
2bの先頭位置をレジスタXIXREGにセットし、求められ
たレジスタXIXREGの値を基に各オフセット値を用いて、
使用可否情報領域2b1((XIX)REG+_BandBufStatus)の
使用可否ビット情報BandBufEnableBitがONか否かを調べ
(S34)、否であれば使用可のバンドバッファではな
いのでS30に戻って処理を続け、ONであればバンドバ
ッファの使用が許されているので処理を終了する。この
とき、レジスタAREGには求める次のバンドバッファの番
号がセットされている。
First, the register AREG is used as an input parameter.
The band buffer number set in 1 is set to "1" and set again in the register AREG (S30) to check whether it is smaller than the NoofBandBuf set in FIG. 6 (S
31) If it is not smaller, the number set in the register AREG exceeds the maximum value, so it is set back to "0" (S32), and if it is judged to be small in S31, the process proceeds to S33. In S33, the start position of the control information 2b corresponding to the band buffer is set in the register XIXREG based on the obtained band buffer number, and each offset value is used based on the obtained value of the register XIXREG,
It is checked whether the availability bit information BandBufEnableBit in the availability information area 2b1 ((XIX) REG + _BandBufStatus) is ON (S34), and if it is not, the band buffer is not usable, so the processing returns to S30 and continues. If it is ON, use of the band buffer is permitted, so the processing ends. At this time, the number of the next band buffer to be obtained is set in the register AREG.

【0034】図12は、図10に示した全バンドバッフ
ァ印字処理PrintAllBandBufの一例を示すフローチャー
ト図である。なお、S35〜S40は、各ステップを示
す。
FIG. 12 is a flowchart showing an example of the all band buffer printing process PrintAllBandBuf shown in FIG. Note that S35 to S40 indicate each step.

【0035】先ず、入力パラメータとしてセットされた
CurrentBandBufNoを基に現在のバンドバッファに対応す
る制御情報2bの先頭位置をレジスタXIXREGにセット
(S35)し、求められたレジスタXIXREGの値を基にオ
フセット値を用いて、使用可否情報領域2b1((XIX)RE
G+_BandBufStatus)の使用済ビット情報BandBufUsedBit
がONが否かを調べ(S36)、否であれば空きバンドバ
ッファであるので処理を終了する。一方、ONであれば印
字を行い空きバッファとする必要があるので、S38の
入力パラメータとして現在選択されているバンドバッフ
ァ番号CurrentBandBufNoをレジスタAREGにセット(S3
7)し、S38で後述の指定バンドバッファ印字処理Pr
intDefineBandBufを行い、S39にて前述の次バンドバ
ッファ番号取得処理getNextBandNufNoを行い、レジスタ
AREGにセットされた次バンドバッファ番号をCurrentBan
dBufNoにセット(S40)し、S35に戻って処理が続
けられる。
First, it was set as an input parameter
The head position of the control information 2b corresponding to the current band buffer is set in the register XIXREG based on the CurrentBandBufNo (S35), and the usability information area 2b1 ((( XIX) RE
G + _BandBufStatus) used bit information BandBufUsedBit
Is checked to see if it is ON (S36). On the other hand, if it is ON, it is necessary to print and make an empty buffer, so the band buffer number CurrentBandBufNo currently selected as the input parameter of S38 is set in the register AREG (S3
7) Then, in S38, the designated band buffer printing process Pr described later is performed.
intDefineBandBuf is performed, and the next band buffer number acquisition process getNextBandNufNo is performed in S39, and the register
Set the next band buffer number set in AREG to CurrentBan
It is set to dBufNo (S40), and the process returns to S35 to continue.

【0036】図13は、図12に示した指定バンドバッ
ファ印字処理PrintDefineBandBufの一例を示すフローチ
ャート図である。なお、S41〜S46は、各ステップ
を示す。
FIG. 13 is a flowchart showing an example of the designated band buffer printing process PrintDefineBandBuf shown in FIG. Note that S41 to S46 indicate each step.

【0037】先ず、入力パラメータとしてレジスタAREG
にセットされたバンドバッファ番号を基に現在のバンド
バッファに対応する制御情報2bの先頭位置をレジスタ
XIXREGにセット(S41)し、求められたレジスタXIXRE
Gの値を基にオフセット値を用いて、S43の入力パラ
メータとして((XIX)REG+_BandBufHead)の内容をBandBuf
Headにセット(S42)し、S43では、バンドバッフ
ァの実印字処理ActualPrintBandBufによって、BandBufH
eadを先頭アドレスとするバンドバッファの内容の印字
出力を行い、次に、S45の入力パラメータとして((XI
X)REG+_BandBufFeed-Amount)の内容をレジスタHLREGに
セットし、S45では、実改行処理ActualLineFeedによ
って、レジスタHLREGwを移動量とする縦位置移動を行
い、使用可否情報領域2b2((XIX)REG+_BandBufStautu
s)へバンドバッファの使用済ビット情報のリセット値re
setBandBufUsedBitを、出力位置縦方向移動量情報2b
3((XIX)REG+_BandBufFeedAmount)へ初期設定値として
“0”を各々セット(S46)して処理を終了する。
First, the register AREG is used as an input parameter.
The start position of the control information 2b corresponding to the current band buffer is registered based on the band buffer number set in
Set it to XIXREG (S41) and find the required register XIXRE
Using the offset value based on the value of G, the content of ((XIX) REG + _BandBufHead) is input to BandBuf as the input parameter of S43.
Set to Head (S42), and in S43, the actual print processing of the band buffer ActualPrintBandBuf causes BandBufH
The contents of the band buffer with ead as the start address are printed and output, and then ((XI
(X) REG + _BandBufFeed-Amount) is set in the register HLREG, and in S45, the actual line feed ActualLineFeed performs vertical position movement with the register HLREGw as the movement amount, and the availability information area 2b2 ((XIX) REG + _BandBufStautu
to s) Reset value of used bit information of band buffer re
SetBandBufUsedBit, output position vertical direction movement amount information 2b
3 ((XIX) REG + _BandBufFeedAmount) is set to "0" as an initial setting value (S46), and the process is terminated.

【0038】なお、上記実施例においては、バンドバッ
ファ最大可変個数を3として説明したが、その限りでは
なく、また、その取得順序も固定とされるものではな
い。
In the above embodiment, the maximum variable number of band buffers has been described as 3, but the invention is not limited to this and the order of acquisition is not fixed.

【0039】また、上記実施例においては、バンドバッ
ファ最小可変個数を1として説明したが、その限りでは
なく、バンドバッファが少なくとも1個取得するまで印
字処理を待機状態にするよう制御する等の手段により、
より幅広い制御を行うことが可能である。
In the above embodiment, the minimum variable number of band buffers is set to 1. However, the present invention is not limited to this, and means for controlling the print processing to wait until at least one band buffer is acquired. Due to
It is possible to perform a wider range of control.

【0040】[0040]

【発明の効果】以上説明したように、本発明によれば、
可変個数のバンドバッファと、該バンドバッファの各々
を制御する制御情報として少なくとも各々に対応するバ
ンドバッファの使用可否情報、存在位置情報、出力位置
縦方向移動量情報とを保持し、該制御情報を設定する手
段と、該制御情報に基づいてバンドバッファの各々を制
御する手段とを具備するという手段により、システム状
態によってバンドバッファの個数を可変個数として印字
速度の向上を図るとともに、これらバンドバッファの制
御処理を個数によらずに同一処理にて制御を行い処理の
単純化を図った印字処理を可能とする効果がある。
As described above, according to the present invention,
A variable number of band buffers and, as control information for controlling each of the band buffers, at least availability information of the band buffers corresponding to each, presence position information, output position vertical direction movement amount information are held, and the control information is stored. By providing a means for setting and a means for controlling each of the band buffers based on the control information, the number of band buffers is made variable according to the system state to improve the printing speed, and the band buffers The control process is controlled by the same process regardless of the number of prints, and there is an effect that the printing process that simplifies the process can be performed.

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

【図1】本発明の一実施の形態を示す印字装置の構成を
説明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printing apparatus according to an embodiment of the present invention.

【図2】図1に示した印字装置のシステム構成の一例を
示すブロック図である。
FIG. 2 is a block diagram showing an example of a system configuration of the printing apparatus shown in FIG.

【図3】図1に示したRAM2内のバンドバッファ2a
の領域配置を説明する模式図である。
FIG. 3 is a band buffer 2a in the RAM 2 shown in FIG.
3 is a schematic diagram for explaining the area arrangement of FIG.

【図4】図1に示したRAM2内の制御情報2aの領域
配置を説明する模式図である。
FIG. 4 is a schematic diagram illustrating an area arrangement of control information 2a in RAM 2 shown in FIG.

【図5】図2に示したRAM2内の本実施例において使
用される作業領域の領域配置を説明する模式図である。
5 is a schematic diagram illustrating an area arrangement of a work area used in the present embodiment in the RAM 2 shown in FIG.

【図6】電源投入時、あるいは、バンドバッファの状態
変化時に起動されるバンドバッファの初期設定処理の一
例を示すフローチャート図である。
FIG. 6 is a flowchart showing an example of a band buffer initial setting process which is activated when the power is turned on or when the state of the band buffer is changed.

【図7】図6に示したバンドバッファ設定処理SetUpBan
dBufの一例を示すフローチャート図である。
FIG. 7 is a band buffer setting process SetUpBan shown in FIG.
It is a flowchart figure which shows an example of dBuf.

【図8】バッファへのデータセット処理から起動され
る、指定されたバンドバッファへのデータの転送処理を
行うバンドバッファ転送処理TranstoDefineBandBufの一
例を示すフローチャート図である。
FIG. 8 is a flowchart diagram showing an example of a band buffer transfer process TranstoDefineBandBuf which is activated from a data set process to a buffer and which transfers a data to a specified band buffer.

【図9】実改行処理の代わりに起動する仮改行処理Virt
ualLineFeedの一例を示すフローチャート図である。
FIG. 9: Temporary line feed process Virt activated instead of actual line feed process
It is a flowchart figure which shows an example of ualLineFeed.

【図10】図9に示した仮印字処理VirtualPrintBandBu
fの一例を示すフローチャート図である。
FIG. 10 is a temporary print process VirtualPrintBandBu shown in FIG.
It is a flowchart figure which shows an example of f.

【図11】図10に示した次バンドバッファ番号取得処
理getNextBandBufNoの一例を示すフローチャート図であ
る。
11 is a flowchart showing an example of a next band buffer number acquisition process getNextBandBufNo shown in FIG.

【図12】図10に示した全バンドバッファ印字処理Pr
intAllBandBufの一例を示すフローチャート図である。
FIG. 12 is an all-band buffer printing process Pr shown in FIG.
It is a flowchart figure which shows an example of intAllBandBuf.

【図13】図12に示した指定バンドバッファ印字処理
PrintDefineBandBufの一例を示すフローチャート図であ
る。
FIG. 13 is a designated band buffer printing process shown in FIG.
It is a flowchart figure which shows an example of PrintDefineBandBuf.

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

1 リードオンリーメモリ(ROM) 2 ランダムアクセスメモリ(RAM) 2a バンドバッファ 2b 制御情報 3 プリンタユニット(PrinterUnit) 4 中央処理装置(CPU) 4a 設定部 4b 制御部 5 ゲートアレイ(GA) 6 タイマ(RTC) 1 read only memory (ROM) 2 random access memory (RAM) 2a band buffer 2b control information 3 printer unit (PrinterUnit) 4 central processing unit (CPU) 4a setting unit 4b control unit 5 gate array (GA) 6 timer (RTC)

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 ドットパターンの印字を可能とする印字
ヘッドを備えた印字部に出力すべきドットパターンを格
納する可変個数のバンドバッファと、前記可変個数のバ
ンドバッファの各々を制御する制御情報を記憶する記憶
手段と、前記制御情報を設定する設定手段と、前記設定
手段により設定された制御情報に基づいて前記可変個数
のバンドバッファの各々を制御する制御手段とを有し、
前記制御情報として少なくとも前記可変個数のバンドバ
ッファの各々に対応するバンドバッファの使用可否を表
す情報、バンドバッファの存在位置を表す情報、バンド
バッファに一時的に格納されたドットパターン出力後の
出力位置縦方向移動量を表す情報とを含む、ことを特徴
とする印字制御装置。
1. A variable number of band buffers for storing dot patterns to be output to a printing section having a print head capable of printing dot patterns, and control information for controlling each of the variable number of band buffers. Storage means for storing, setting means for setting the control information, and control means for controlling each of the variable number of band buffers based on the control information set by the setting means,
As the control information, at least the information indicating the availability of the band buffer corresponding to each of the variable number of band buffers, the information indicating the existence position of the band buffer, the output position after the dot pattern temporarily stored in the band buffer A print control device comprising: information indicating a vertical movement amount.
【請求項2】 前記バンドバッファの個数は、前記印字
部に装着されるヘッドの種類に応じて設定されることを
特徴とする請求項1記載の印字制御装置。
2. The print control device according to claim 1, wherein the number of the band buffers is set according to a type of a head mounted on the printing unit.
【請求項3】 前記ヘッドの種類は、モノクロヘッド、
及び、カラーヘッドであることを特徴とする請求項2記
載の印字制御装置。
3. The type of head is a monochrome head,
The print control device according to claim 2, wherein the print control device is a color head.
【請求項4】 前記バンドバッファにドットパターンを
展開する展開手段と、前記バンドバッファの個数分、前
記展開手段により展開した後、前記展開されたドットパ
ターンを前記印字部に印字させる手段を有することを特
徴とする請求項1記載の印字制御装置。
4. An expansion means for expanding a dot pattern on the band buffer, and a means for printing the expanded dot pattern on the printing unit after the expansion by the expansion means by the number of the band buffers. The print control device according to claim 1, wherein:
【請求項5】 前記展開手段は、前記バンドバッファの
使用可否を表す情報が使用否のバンドバッファに対する
ドットパターンの展開を行わないことを特徴とする請求
項4記載の印字制御装置。
5. The print control device according to claim 4, wherein the expansion means does not expand a dot pattern for a band buffer whose information indicating whether the band buffer is usable or not.
【請求項6】 前記バンドバッファの使用可否を表す情
報は、使用済ビット、使用可否ビットを含むことを特徴
とする請求項5記載の印字制御装置。
6. The print control apparatus according to claim 5, wherein the information indicating availability of the band buffer includes a used bit and an availability bit.
【請求項7】 前記印字部はインクジェットプリンタで
あることを特徴とする請求項1記載の印字制御装置。
7. The print control device according to claim 1, wherein the print unit is an inkjet printer.
【請求項8】 ドットパターンの印字を可能とする印字
ヘッドを備えた印字部に出力すべきドットパターンを格
納する可変個数のバンドバッファと、前記可変個数のバ
ンドバッファの各々を制御する制御情報を記憶する記憶
手段とを利用し、前記制御情報を設定する設定ステップ
と、前記設定ステップにより設定された制御情報に基づ
いて前記可変個数のバンドバッファの各々を制御する制
御ステップとを有し、前記制御情報として少なくとも前
記可変個数のバンドバッファの各々に対応するバンドバ
ッファの使用可否を表す情報、バンドバッファの存在位
置を表す情報、バンドバッファに一時的に格納されたド
ットパターン出力後の出力位置縦方向移動量を表す情報
とを含む、ことを特徴とする印字制御方法。
8. A variable number of band buffers for storing a dot pattern to be output to a printing unit having a print head capable of printing a dot pattern, and control information for controlling each of the variable number of band buffers. Using a storage means for storing, a setting step of setting the control information, and a control step of controlling each of the variable number of band buffers based on the control information set by the setting step, As control information, at least information indicating whether or not the band buffer corresponding to each of the variable number of band buffers can be used, information indicating the existence position of the band buffer, output position vertical after outputting the dot pattern temporarily stored in the band buffer. A printing control method, comprising: information indicating a direction movement amount.
【請求項9】 前記バンドバッファの個数は、前記印字
部に装着されるヘッドの種類に応じて設定されることを
特徴とする請求項8記載の印字制御方法。
9. The print control method according to claim 8, wherein the number of the band buffers is set according to the type of the head mounted on the printing unit.
【請求項10】 前記ヘッドの種類は、モノクロヘッ
ド、及び、カラーヘッドであることを特徴とする請求項
9記載の印字制御方法。
10. The print control method according to claim 9, wherein the types of the head are a monochrome head and a color head.
【請求項11】 前記バンドバッファにドットパターン
を展開する展開手段と、前記バンドバッファの個数分、
前記展開手段により展開した後、前記展開されたドット
パターンを前記印字部に印字させる手段を有することを
特徴とする請求項8記載の印字制御方法。
11. A developing means for developing a dot pattern in the band buffer, the number of the band buffers,
9. The print control method according to claim 8, further comprising means for printing the expanded dot pattern on the printing unit after the expansion by the expansion unit.
【請求項12】 前記展開手段は、前記バンドバッファ
の使用可否を表す情報が使用否のバンドバッファに対す
るドットパターンの展開を行わないことを特徴とする請
求項11記載の印字制御方法。
12. The print control method according to claim 11, wherein the expansion means does not expand a dot pattern in a band buffer whose information indicating whether the band buffer is usable or not.
【請求項13】 前記バンドバッファの使用可否を表す
情報は、使用済ビット、使用可否ビットを含むことを特
徴とする請求項12記載の印字制御方法。
13. The print control method according to claim 12, wherein the information indicating availability of the band buffer includes a used bit and an availability bit.
【請求項14】 前記印字部はインクジェットプリンタ
であることを特徴とする請求項8記載の印字制御方法。
14. The printing control method according to claim 8, wherein the printing unit is an inkjet printer.
JP31903795A 1995-12-07 1995-12-07 Print controller and control method Withdrawn JPH09156166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31903795A JPH09156166A (en) 1995-12-07 1995-12-07 Print controller and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31903795A JPH09156166A (en) 1995-12-07 1995-12-07 Print controller and control method

Publications (1)

Publication Number Publication Date
JPH09156166A true JPH09156166A (en) 1997-06-17

Family

ID=18105817

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31903795A Withdrawn JPH09156166A (en) 1995-12-07 1995-12-07 Print controller and control method

Country Status (1)

Country Link
JP (1) JPH09156166A (en)

Similar Documents

Publication Publication Date Title
US5051925A (en) Printer for converting character codes into bit images
JP2844575B2 (en) Printing equipment
US5097426A (en) Printer controlling apparatus
JPH09156166A (en) Print controller and control method
JPS6159920B2 (en)
JPS61129969A (en) Printing control device
JPS62173526A (en) Page buffer control system
JPH03114856A (en) Printer data management system
JP2962930B2 (en) Image forming apparatus and control program processing method in the apparatus
JP4389538B2 (en) Image forming apparatus
JP3128385B2 (en) Printer
JPS62212823A (en) Printer device
US7280250B2 (en) Method and apparatus for rendering large patterns in a small memory printer
US6577313B1 (en) Image data control apparatus
JPH06179270A (en) Printer
JPH082021A (en) Page printer device
JP2001010123A (en) Image processor, control method thereof and computer readable memory
JPH0247078A (en) Printer
JPH0584986A (en) Image forming device
JPH0962465A (en) Image information processor
JPS58107591A (en) Overlapping character pattern generation system
JPH071773A (en) Storage control device for down-loading data
JPH10200646A (en) Data communication equipment
JPS6349437A (en) Printing data control system
JPH051491B2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030304