JPH096552A - Printing system and printing method - Google Patents

Printing system and printing method

Info

Publication number
JPH096552A
JPH096552A JP7157495A JP15749595A JPH096552A JP H096552 A JPH096552 A JP H096552A JP 7157495 A JP7157495 A JP 7157495A JP 15749595 A JP15749595 A JP 15749595A JP H096552 A JPH096552 A JP H096552A
Authority
JP
Japan
Prior art keywords
printing
band
image data
data
expanding
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
Application number
JP7157495A
Other languages
Japanese (ja)
Inventor
Akitomo Fukui
章智 福井
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 JP7157495A priority Critical patent/JPH096552A/en
Publication of JPH096552A publication Critical patent/JPH096552A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

(57)【要約】 【目的】ホストの処理能力の向上を、印刷効率に反映さ
せる。 【構成】ホスト3010では、振り分けバンド作成手段
101によって1ページのデータをバンドに分割する。
その後、第1バンドを画像データに展開しつつ、並行し
て第2バンドをプリンタに転送する。第1バンドの展開
が終了すると、直接印刷指示手段102によって第1バ
ンドをプリンタの処理を介さずに印刷させる。プリンタ
1510では、第2バンドデータを受信するとそれを画
像データに展開し、それと並行して印刷部制御部114
の入力元をカウンタつき入力手段113に切り替えて、
ホストからの第1バンドの画像データを印刷する。プリ
ンタで展開された画像データは、この後印刷される。以
上の動作を1ページ分について繰り返せば、ホストの処
理能力を反映して印刷効率を上げられる。
(57) [Summary] [Purpose] The improvement of the processing capacity of the host is reflected in the printing efficiency. [Structure] In the host 3010, the distribution band creating means 101 divides one page of data into bands.
After that, while expanding the first band into image data, the second band is transferred to the printer in parallel. When the expansion of the first band is completed, the direct print instructing unit 102 causes the first band to be printed without the processing of the printer. Upon receiving the second band data, the printer 1510 develops the second band data into image data, and in parallel with this, the printing unit control unit 114
Switch the input source of to the input means 113 with a counter,
Print the first band image data from the host. The image data developed by the printer is printed thereafter. By repeating the above operation for one page, the printing efficiency can be improved by reflecting the processing capability of the host.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばホストコンピュ
ータに接続されるプリンタ等の印刷システム及び印刷方
法に関し、特に、1ページ目の印刷を途中で止めること
ができない印刷システム及び印刷方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing system and a printing method such as a printer connected to a host computer, and more particularly to a printing system and a printing method in which printing of a first page cannot be stopped halfway.

【0002】[0002]

【従来の技術】従来のパラレルインタフェースを利用す
るプリンタで、印刷時のページ記述形式のコマンドをペ
ージ内の画像データに展開してからその印刷を行う印刷
方法では、印刷開始入力が発生してから実際の印刷物が
出力されるまでの印刷時間の短縮にホストコンピュータ
の能力を発揮させられる部分は印刷用コマンド及びデー
タを作成する時間だけであった。したがって、印刷装置
内で印刷部への印刷画像データの作成時間は短縮できな
かった。
2. Description of the Related Art In a conventional printer using a parallel interface, a page description format command at the time of printing is expanded into image data within a page and then the printing is performed. The only part of the host computer that can make full use of the ability of the host computer to reduce the printing time until the actual printed matter is output is the time for creating the printing command and data. Therefore, it is not possible to shorten the time required to create the print image data in the printing unit in the printing apparatus.

【0003】図2は従来のプリンタ制御システムの構成
を説明するブロック図である。
FIG. 2 is a block diagram illustrating the configuration of a conventional printer control system.

【0004】図において、3000はホストコンピュー
タで、プログラム用ROM32に格納された文書処理プ
ログラム等に基づいて図形、イメージ、文字、表(表計
算等を含む)等が混在した文書処理を実行するCPU1
を備え、システムバス4に接続される各デバイスをCP
U1が総括的に制御する。また、このプログラム用RO
M32には、CPU1の制御プログラム等を記憶し、フ
ォント用ROM31には上記文書処理等を行う際に使用
するフォントデータ等を記憶し、データ用ROM33は
各種データ(例えば、各コントローラの物理アドレス)
を記憶する。2はRAMで、CPU1の主メモリ、ワー
クエリア等として機能する。5はキーボードコントロー
ラ(KBC)で、キーボード9や不図示のポインティン
グデバイスからのキー入力を制御する。6はCRTコン
トローラ(CRT)で、CRTディスプレイ10の表示
を制御する。7はディスクコントローラ(DKC)で、
ブートプログラム、種々のアプリケーション、フォント
データ、ユーザファイル、編集ファイル等を記憶するハ
ードディスク(HD)、フロッピーディスク(FD)等
の外部メモリ11とのアクセスを制御すつ。8はプリン
トコントローラ(PRTC)で、所定のインタフェース
21を介してプリンタ1500に接続されて、プリンタ
1500との通信制御処理を実行する。
In the figure, reference numeral 3000 denotes a host computer, which executes a document processing in which graphics, images, characters, tables (including spreadsheets) and the like are mixed based on a document processing program stored in the program ROM 32.
And each device connected to the system bus 4 is
U1 has overall control. Also, RO for this program
The M32 stores a control program of the CPU 1 and the like, the font ROM 31 stores font data and the like used when performing the document processing, and the data ROM 33 stores various data (for example, physical address of each controller).
Is stored. Reference numeral 2 denotes a RAM, which functions as a main memory, a work area, and the like of the CPU 1. A keyboard controller (KBC) 5 controls a key input from a keyboard 9 or a pointing device (not shown). A CRT controller (CRT) 6 controls the display on the CRT display 10. 7 is a disk controller (DKC)
It controls access to an external memory 11 such as a hard disk (HD) or a floppy disk (FD) for storing a boot program, various applications, font data, user files, edit files and the like. A print controller (PRTC) 8 is connected to the printer 1500 via a predetermined interface 21 and executes communication control processing with the printer 1500.

【0005】プリンタ1500において、12はプリン
タCPUで、プログラム用ROM131に記憶された制
御プログラム等、或いは外部メモリ14に記憶された制
御プログラム等に基づいてシステムバス15に接続され
る各種のデバイスとのアクセスを総括的に制御し、印刷
部インタフェース16を介して接続される印刷部(プリ
ンタエンジン)17に出力情報としての画像信号を出力
する。また、このプログラムROM132には、CPU
12の制御プログラム等を記憶する。フォント用ROM
131には上記出力情報を生成する際に使用するフォン
トデータ等を記憶し、データ用ROM133には、ハー
ドディスク等の外部メモリ14が無いプリンタの場合に
は、ホストコンピュータ上で利用される情報等を記憶し
ている。CPU12はホストインタフェース18を介し
てホストコンピュータとの通信処理が可能となってお
り、プリンタ内の情報をホストコンピュータ3000に
通知可能に構成されている。19はCPU12の主メモ
リ、ワークエリア等として機能するRAMで、図示しな
い増設ポートに接続されるオプションRAMによりメモ
リ容量を拡張することができるように構成されている。
なお、RAM19は、出力情報展開領域、環境データ格
納領域、NVRAM等に用いられる。前述したハードデ
ィスク(HD)、ICカード等の外部メモリ14は、デ
ィスクコントローラ(DKC)20によりアクセスを制
御される。外部メモリ14は、オプションとして接続さ
れ、フォンントデータ、エミュレーションプログラム、
フォームデータ等を記憶する。1501は操作パネルで
操作のためのスイッチおよびLED表示器が配されてい
る。また、前述した外部メモリは1個に限らず、少なく
とも1個以上備え、内蔵フォントに加えてオプションカ
ード、言語系の異なるプリンタ制御言語を解釈するプロ
グラムを格納した外部メモリを複数接続できるように構
成されていても良い。さらに、図示しないNVRAMを
有し、操作パネル1501からのプリンタモード設定情
報を記憶するようにしても良い。
In the printer 1500, reference numeral 12 denotes a printer CPU, which serves as various devices connected to the system bus 15 based on a control program or the like stored in the program ROM 131 or a control program or the like stored in the external memory 14. The access is comprehensively controlled, and an image signal as output information is output to the printing unit (printer engine) 17 connected via the printing unit interface 16. Further, this program ROM 132 has a CPU
Twelve control programs and the like are stored. ROM for font
131 stores font data and the like used when generating the output information, and the data ROM 133 stores information and the like used on the host computer in the case of a printer that does not have an external memory 14 such as a hard disk. I remember. The CPU 12 can perform communication processing with the host computer via the host interface 18, and can notify the information in the printer to the host computer 3000. Reference numeral 19 denotes a RAM that functions as a main memory, a work area, etc. of the CPU 12, and is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown).
The RAM 19 is used for an output information development area, an environment data storage area, an NVRAM, and the like. Access to the external memory 14 such as the hard disk (HD) or IC card described above is controlled by a disk controller (DKC) 20. The external memory 14 is optionally connected, and includes front data, emulation program,
Stores form data and the like. An operation panel 1501 is provided with switches for operation and an LED display. Further, the above-mentioned external memory is not limited to one, but at least one external memory is provided, and in addition to the built-in font, it is possible to connect a plurality of external memories that store programs for interpreting printer control languages with different language systems. It may be done. Further, an NVRAM (not shown) may be provided to store the printer mode setting information from the operation panel 1501.

【0006】図11に従来のプリンタで印刷するときの
ホストコンピュータ3000側の動作フローを示す。オ
ペレータによる印刷開始入力があると印刷用コマンド及
びデータの作成を行う(ステップ20)。ステップ30
でコマンド又はデータの転送を行い、ステップ40で印
刷装置側での処理を待ち、次のコマンド又はデータがあ
るかどうかをステップ50で確認し、次コマンド又はデ
ータがある場合はステップ30に戻りコマンド又はデー
タの送信を次コマンド又はデータがなくなるまで繰り返
す。次コマンド又はデータがなくなったら印刷動作終了
である。
FIG. 11 shows an operation flow of the host computer 3000 side when printing with a conventional printer. When the operator inputs a print start command, a print command and data are created (step 20). Step 30
Command or data transfer in step 40, wait for processing on the printing device side in step 40, check in step 50 whether there is the next command or data, and if there is the next command or data, return to step 30 Alternatively, the data transmission is repeated until there is no next command or data. When there is no next command or data, the printing operation is completed.

【0007】図12に従来のプリンタ1500側の印刷
動作フローを示す。
FIG. 12 shows a printing operation flow on the conventional printer 1500 side.

【0008】印刷用コマンド又はデータを受信すると
(ステップ120)、受信コマンド又はデータの処理を
開始する(ステップ130)。ステップ140でコマン
ドが印刷開始コマンドでない場合、ステップ120へ戻
り、コマンド又はデータの受信及び処理を印刷開始コマ
ンドが送られて来るまで繰り返す。印刷開始コマンドが
送られて来ると印刷部17を起動しプリンタ内の展開済
みの画像データを出力する。
When a print command or data is received (step 120), processing of the received command or data is started (step 130). If the command is not the print start command in step 140, the process returns to step 120, and the command and data reception and processing are repeated until the print start command is sent. When the print start command is sent, the printing unit 17 is activated to output the expanded image data in the printer.

【0009】今、従来の印刷方法で1つの印刷物を印刷
した場合のホストコンピュータの処理能力による印刷開
始入力から印刷終了までの時間の変化を考える。処理能
力2のホストで、図20のステップ20の時間が15、
図20のステップ30または図21のステップ120の
時間が1、図20のステップ40または図21のステッ
プ160の時間が10であり、印刷開始入力から印刷物
出力終了までの合計時間は41であったとする。ホスト
の処理時間はその処理能力に比例するとすれば、処理能
力10のホストでは能力が5倍になるため、図20のス
テップ20の時間は5分の1となって3になり、図20
のステップ30または図21のステップ120の時間が
1、図20のステップ40または図21のステップ13
0の時間が15、図21のステップ160の時間が10
であり、印刷開始入力から印刷物出力終了までの合計時
間は29となる。
Now, let us consider a change in the time from the print start input to the print end depending on the processing capacity of the host computer when one printed matter is printed by the conventional printing method. On a host with a processing capacity of 2, the time of step 20 in FIG.
The time of step 30 of FIG. 20 or step 120 of FIG. 21 is 1, the time of step 40 of FIG. 20 or step 160 of FIG. 21 is 10, and the total time from the print start input to the print output end is 41. To do. If the processing time of the host is proportional to its processing capacity, the capacity of the host having the processing capacity of 10 is quintuple, so the time of step 20 in FIG.
Of step 30 of FIG. 21 or step 120 of FIG. 21 is 1, step 40 of FIG. 20 or step 13 of FIG.
0 is 15 and step 160 in FIG. 21 is 10
Therefore, the total time from the print start input to the print output end is 29.

【0010】また、処理能力100のホストでは図20
のステップ20の時間が0.3、図20のステップ30
または図21のステップ120の時間が1、図20のス
テップ40または図21のステップ130の時間が1
5、図21のステップ160の時間が10であり、印刷
開始入力から印刷物出力終了までの合計時間は26.3
であり、印刷動作全体から見て高い処理能力が発揮され
ているとはいえない。
Further, in a host having a processing capacity of 100, FIG.
Step 20 time is 0.3, Step 30 of FIG.
Alternatively, the time of step 120 in FIG. 21 is 1, the time of step 40 in FIG. 20 or step 130 in FIG. 21 is 1
5, the time of step 160 in FIG. 21 is 10, and the total time from the print start input to the print output end is 26.3.
Therefore, it cannot be said that high processing capability is exhibited from the viewpoint of the entire printing operation.

【0011】[0011]

【発明が解決しようとする課題】以上説明した従来の印
刷システムでは、処理能力の高いホストコンピュータを
用いても、印刷動作時に印刷用画像データの作成時間の
短縮ができず、印刷処理を、ホストの性能に見合っただ
け高速化することはできなかった。
In the conventional printing system described above, even if a host computer having a high processing capability is used, the time for creating the printing image data cannot be shortened during the printing operation, and the printing process can be performed by the host. It was not possible to increase the speed by commensurate with the performance of.

【0012】本発明は上記の問題を解決するためになさ
れたもので、ホストコンピュータの高い処理能力を印刷
画像データの作成時にまで利用することで印刷開始入力
から実際の印刷物が出力されるまでの時間を短縮するこ
とを目的とする。
The present invention has been made in order to solve the above-mentioned problem, and by utilizing the high processing capacity of the host computer even at the time of creating print image data, from the start of printing to the output of the actual printed matter. The purpose is to reduce the time.

【0013】[0013]

【課題を解決するための手段】上記目的を達成する本発
明の印刷システムは以下に示す構成を備える。即ち、ホ
スト装置と印刷装置とを含み、ページ単位で印刷出力す
る印刷システムであって、1ページ分の印刷データを所
定の大きさのバンドに分割する分割手段と、前記分割手
段により分割されたバンドの1を画像データに展開する
第1展開手段と、前記第1展開手段による画像データの
展開と並行して、印刷装置にバンドの1を転送する転送
手段と、前記第1展開手段により展開された1バンド分
の画像データを、前記印刷装置から印刷出力すべく指示
する直接印刷指示手段とを有するホスト装置と、前記転
送手段により転送されたバンドを画像データに展開する
第2展開手段と、前記第2展開手段による画像データの
展開と並行して、前記直接印刷手段により印刷しようと
する画像データの印刷を制御する直接印刷制御手段と、
前記第2展開手段により展開された画像データを印刷出
力する印刷手段とを有する印刷装置とを備える。
A printing system of the present invention that achieves the above object has the following configuration. That is, a printing system that includes a host device and a printing device and prints out on a page-by-page basis, and divides print data for one page into bands of a predetermined size; First expansion means for expanding the band 1 into image data, transfer means for transferring the band 1 to the printing apparatus in parallel with the expansion of the image data by the first expansion means, and expansion by the first expansion means A host device having a direct print instruction means for instructing to print out one band of the image data thus produced from the printing device; and a second expansion means for expanding the band transferred by the transfer means into image data. A direct printing control means for controlling printing of the image data to be printed by the direct printing means in parallel with the development of the image data by the second developing means,
And a printing device that prints out the image data expanded by the second expanding device.

【0014】あるいは、ホスト装置と印刷装置とを含
み、ページ単位で印刷出力する印刷システムであって、
1ページ分の印刷データを所定の大きさのバンドに分割
する分割手段と、前記分割手段により分割されたバンド
を、ページの先頭から順に画像データに展開する第1展
開手段と、前記第1展開手段による画像データの展開と
並行して、前記第1展開手段により展開されていないバ
ンドを、ページの末尾から印刷装置に転送する転送手段
と、前記第1展開手段により展開された1バンド分の画
像データを、前記印刷装置から印刷出力すべく指示する
直接印刷指示手段とを有するホスト装置と、前記転送手
段により転送されたバンドを画像データに展開する第2
展開手段と、前記第2展開手段による画像データの展開
と並行して、前記直接印刷手段により印刷しようとする
画像データの印刷を制御する直接印刷制御手段と、前記
第2展開手段により展開された画像データを印刷出力す
る印刷手段とを有する印刷装置とを備える。
Alternatively, there is provided a printing system which includes a host device and a printing device and prints out in page units,
A dividing unit that divides print data for one page into bands of a predetermined size, a first expanding unit that expands the bands divided by the dividing unit into image data in order from the top of the page, and the first expanding unit. In parallel with the expansion of the image data by the means, transfer means for transferring the band not expanded by the first expansion means to the printing device from the end of the page, and one band expanded by the first expansion means. A host device having direct print instruction means for instructing to print out image data from the printing device; and a band for expanding the band transferred by the transfer means into image data
In parallel with the expansion means, the expansion of the image data by the second expansion means, the direct printing control means for controlling the printing of the image data to be printed by the direct printing means, and the expansion by the second expansion means. And a printing device having a printing means for printing out image data.

【0015】また、本発明の印刷方法は次のような構成
からなる。すなわち、ページ単位で印刷出力する印刷方
法であって、1ページ分の印刷データを所定の大きさの
バンドに分割する分割工程と、前記分割工程により分割
されたバンドの1を画像データに展開する第1展開工程
と、前記第1展開工程による画像データの展開と並行し
て、バンドの1を転送する転送工程と、前記第1展開工
程により展開された1バンド分の画像データの印刷出力
を行う直接印刷工程と、前記転送工程により転送された
バンドを、前記直接印刷工程による印刷出力と並行して
印刷画像データに展開する第2展開工程と、前記第2展
開工程により展開された画像データを、前記直接印刷工
程による印刷出力に続けて印刷出力する工程とを備え
る。
The printing method of the present invention has the following configuration. That is, it is a printing method that prints out in page units, and is a dividing step of dividing print data of one page into bands of a predetermined size, and one of the bands divided by the dividing step is expanded into image data. A first expansion step, a transfer step of transferring band 1 in parallel with the expansion of the image data by the first expansion step, and a printout of the image data for one band expanded by the first expansion step. A direct printing step to be performed, a second expanding step of expanding the band transferred by the transferring step into print image data in parallel with the print output by the direct printing step, and image data expanded by the second expanding step And a step of performing print output subsequent to the print output by the direct printing step.

【0016】あるいは、ページ単位で印刷出力する印刷
方法であって、1ページ分の印刷データを所定の大きさ
のバンドに分割する分割工程と、前記分割工程により分
割されたバンドをページの先頭から順に画像データに展
開する第1展開工程と、前記第1展開工程による画像デ
ータの展開と並行して、前記第1展開工程により展開さ
れていないバンドをページの末尾から順に転送する転送
工程と、前記第1展開工程により展開されたバンドの画
像データの印刷出力を行う直接印刷工程と、前記転送工
程により転送されたバンドを、前記直接印刷工程による
印刷出力と並行して印刷画像データに展開する第2展開
工程と、前記第2展開工程により展開された画像データ
を、前記直接印刷工程による印刷出力に続けて印刷出力
する工程とを備える。
Alternatively, it is a printing method of printing out in page units, and a dividing step of dividing print data for one page into bands of a predetermined size, and the bands divided by the dividing step from the top of the page. A first expanding step of sequentially expanding the image data, and a transfer step of transferring bands not expanded by the first expanding step in order from the end of the page in parallel with the expanding of the image data by the first expanding step, The direct printing step of printing out the image data of the band developed by the first developing step and the band transferred by the transfer step are expanded into print image data in parallel with the print output of the direct printing step. A second developing step, and a step of printing out the image data developed by the second developing step, following the print output by the direct printing step. .

【0017】[0017]

【作用】上記構成により、印刷開始入力があると、ホス
トコンピュータ側で印刷用コマンド及びデータを作成す
る。その後、ホストとプリンタの能力に合わせて作成さ
れたコマンド及びデータを振り分けて、バンドに分割す
る。
With the above configuration, when the print start is input, the host computer creates a print command and data. After that, the commands and data created according to the capabilities of the host and the printer are distributed and divided into bands.

【0018】このように作成されたバンドについて、ホ
ストは1つのバンドを画像データに展開し、それと並行
してそれに続くバンドをプリンタに転送する。この動作
を、2バンドおきに1ページ分の画像データをすべて処
理するまで行う。
With respect to the bands thus created, the host develops one band into image data and, in parallel with this, transfers the subsequent bands to the printer. This operation is repeated every two bands until the image data for one page is completely processed.

【0019】一方、プリンタにおいては、ホストからの
転送データを受信し、未展開のバンドを受信した場合は
それを所定のメモリに格納し、受信が終えたなら画像デ
ータへの展開を開始する。受信データがホストで展開さ
れたバンドの画像データの直接印刷指示であれば、ホス
トの転送データをそのまま印刷する。これらの処理は並
行して進む。
On the other hand, in the printer, when the transfer data from the host is received and the band which has not been expanded is received, it is stored in a predetermined memory, and when the reception is completed, expansion to image data is started. If the received data is a direct print instruction of the image data of the band expanded by the host, the transfer data of the host is printed as it is. These processes proceed in parallel.

【0020】[0020]

【実施例】図1に本発明の印刷方法を使用した実施例1
のブロック図を示す。図2で使用した番号と同じ構成要
素には同じ番号を付してある。
Embodiment 1 FIG. 1 shows an embodiment 1 using the printing method of the present invention.
The block diagram of is shown. The same components as those used in FIG. 2 are given the same numbers.

【0021】ホストコンピュータ3010の転送バンド
指示手段103はプリンタ1510に転送中のバンドま
たは転送済みのバンド番号を示す手段であり、バンド番
号を読み書きできればRAM2や外部メモリ11の様な
メモリの一部でも何でもよい。
The transfer band designating means 103 of the host computer 3010 is a means for indicating a band being transferred to the printer 1510 or a band number already transferred, and even if a part of the memory such as the RAM 2 or the external memory 11 can be read and written. Anything is fine.

【0022】なお、本実施例でいうバンドとは、1ペー
ジの画像データを、プリンタが画像を形成するシーケン
スに応じて分割したものであり、例えばラスタ走査順に
画像を形成するレーザビームプリンタなどでは、その走
査線、すなわちドット列に沿ってドット列単位で分割し
た画像データそれぞれを指すし、シリアル方式のインク
ジェットプリンタなどでは、そのヘッドが走査する方向
に沿ってヘッド幅(並列に記録するドット数)単位で分
割した画像データそれぞれを指す。
The band referred to in the present embodiment is one page of image data divided according to the sequence in which the printer forms an image. For example, in a laser beam printer that forms an image in raster scan order. , The scanning line, that is, each of the image data divided in dot row units along the dot row. In the case of a serial type inkjet printer, the head width (the number of dots to be printed in parallel is measured along the scanning direction of the head. ) Indicates each image data divided in units.

【0023】展開バンド指示手段104は、ホストコン
ピュータ内で展開しているバンドまたは展開済みのバン
ド番号を示す手段であり、バンド番号を読み書きできれ
ばRAM2や外部メモリ11のようなメモリの一部でも
何でもよい。直接印刷指示手段102は、ホストコンピ
ュータ内の展開済みデータのサイズを認識できて該デー
タの転送回数を算出することができ、プリンタ1510
に直接印刷用画像データの転送回数を通知することがで
きれば何でもよく、CPU1を動作させるプログラムで
もよい。ホスト能力記憶手段106はホストコンピュー
タ3010の印刷コマンドの展開処理能力を読み書きで
きればRAM2や外部メモリ11のようなメモリの一部
でも何でもよい。プリンタ能力記憶手段107はプリン
タ1510の印刷コマンドの展開処理能力を読み書きで
きればRAM2や外部メモリ11のようなメモリの一部
でも何でもよい。振り分けバンド作成手段101はホス
ト能力記憶手段106とプリンタ能力記憶手段107か
らの能力値から印刷用コマンド及びデータを、 (ホストバンド展開時間) ≧ (プリンタバンド転送時間) (ホストバンド直接印刷時間) ≧ (プリンタバンド展開時間) となるようにn個のバンドに区切ることができれば何で
もよく、CPU1を動作させるプログラムでもよい。な
お、ホストバンド展開時間とは、ホストがそのバンドご
とに画像を展開するのに要する時間であり、プリンタバ
ンド転送時間とは、画像データに展開する以前のバンド
をホストからプリンタに転送するのに要する時間であ
る。また、直接印刷とは、ホストからプリンタに送った
画像データを、プリンタ側の処理を経ないで直接エンジ
ンから出力させる処理をいい、ホストバンド直接印刷時
間とは、ホストからプリンタに転送されたバンドごとの
画像データを直接印刷するのに要する時間である。プリ
ンタバンド展開時間とは、プリンタにおいて、1バンド
分の未展開の画像データを展開するのに要する時間であ
る。上記不等式は、その左辺と右辺の処理を同時に開始
して並列に行い、左辺の処理が終了した時点で右辺の処
理が終了していることを保証するための条件である。こ
のようにすることで左辺と右辺の処理の同期を確認する
処理を簡略化することができるが、その処理をおこなう
ならば上記条件を満たす必要はない。また、左辺と右辺
の値が近いほど、並列処理は効率的に行えるため、両辺
の値が等しいことが望ましい。
The expansion band instructing means 104 is a means for indicating the expanded or expanded band number in the host computer. If the band number can be read and written, a part of the memory such as the RAM 2 or the external memory 11 can be used. Good. The direct print instructing unit 102 can recognize the size of the expanded data in the host computer and can calculate the number of times the data is transferred.
Anything can be used as long as it can directly notify the number of times of transfer of the printing image data, and it may be a program for operating the CPU 1. The host capacity storage means 106 may be a part of a memory such as the RAM 2 or the external memory 11 as long as it can read and write the expansion processing capacity of the print command of the host computer 3010. The printer capacity storage unit 107 may be a part of a memory such as the RAM 2 or the external memory 11 as long as it can read and write the print command expansion processing capacity of the printer 1510. The distribution band creating means 101 outputs print commands and data from the capability values from the host capacity storage means 106 and the printer capacity storage means 107, (host band expansion time) ≧ (printer band transfer time) (host band direct printing time) ≧ It may be anything as long as it can be divided into n bands so as to be (printer band development time), and may be a program for operating the CPU 1. Note that the host band expansion time is the time required for the host to expand an image for each band, and the printer band transfer time is the time for transferring the band before expanding the image data from the host to the printer. This is the time it takes. Direct printing is a process in which image data sent from the host to the printer is output directly from the engine without going through the processing on the printer side.Host band direct printing time is the band transferred from the host to the printer. This is the time required to directly print the image data for each. The printer band development time is the time required to develop undeveloped image data for one band in the printer. The above inequality is a condition for starting the processing of the left side and the right side of the same at the same time and performing them in parallel, and guaranteeing that the processing of the right side is completed when the processing of the left side is completed. By doing so, it is possible to simplify the processing for confirming the synchronization of the processing on the left side and the processing on the right side, but if the processing is performed, it is not necessary to satisfy the above conditions. Further, the closer the values on the left side and the right side are, the more efficiently parallel processing can be performed, so it is desirable that the values on both sides are equal.

【0024】最終バンド格納手段110は、振り分けバ
ンド作成手段110が区切ったバンド数を読み書きでき
ればRAM2や外部メモリ11の様なメモリ一部でも何
でもよい。
The final band storage means 110 may be a part of the memory such as the RAM 2 or the external memory 11 as long as it can read and write the number of bands divided by the distribution band creating means 110.

【0025】一方、プリンタ1510においては、直接
印刷制御手段100は、ホストコンピュータからの直接
印刷指示を認識でき、直接印刷データの転送回数をカウ
ンタ付き入力手段113からの直接印刷終了通知を認識
でき、カウンタ付き入力手段113の出力先指定がで
き、セレクタ付き印刷部制御手段114の入力先指定が
できれば何でもよく、CPU12を動作させるプログラ
ムでもよい。カウンタ付き入力手段113は、直接印刷
制御手段100からの通知で直接印刷用データの転送回
数を認識し、該データのカウントが終了したことを通知
することができ、ホストからの転送データの出力先をC
PU12とセレクタ付き印刷部制御手段114に切り替
えることができるホストインタフェースであればよく、
TTLで組まれていてもいいし、GAのようにカスタム
ICでも構わない。セレクタ付き印刷部制御手段114
は、直接印刷制御手段100の制御により印刷部17へ
出力するデータの入力先をCPU12とカウンタ付き入
力手段113とを切り替えることができればよく、TT
Lで組まれていてもいいし、GAのようにカスタムIC
でも構わない。 <ホストコンピュータの動作>次に動作を説明する。ま
ず、ホストコンピュータ3010の画像展開の処理能力
が2であった場合を説明する。図3で示すホストコンピ
ュータのメイン印刷開始入力があると印刷用コマンド及
びデータを作成する(ステップ220)。このステップ
の処理時間は15かかっている。入力されたコマンドデ
ータを、ホスト能力記憶手段106とプリンタ能力記憶
手段107に記憶されている能力値をもとに、振り分け
バンド作成手段101でバンド幅を決定する。この実施
例では5個のバンドに振り分ける(ステップ230)。
ここで振り分けれたバンド数は、ホストとプリンタの処
理能力に対し (ホストバンド展開時間) ≧ (プリンタバンド転送時間) (ホストバンド直接印刷時間) ≧ (プリンタバンド展開時間) の関係が成り立っていれば奇数バンド数でも偶数バンド
数でも構わない。
On the other hand, in the printer 1510, the direct print control means 100 can recognize the direct print instruction from the host computer, and can recognize the direct print end notification from the input means 113 with the counter for the number of direct print data transfers. Anything can be used as long as the output destination of the counter-equipped input means 113 can be designated and the input destination of the selector-equipped printing unit control means 114 can be designated. The counter-equipped input unit 113 can recognize the number of times the direct print data has been transferred by the notification from the direct print control unit 100, and notify that the count of the data has ended, and the output destination of the transfer data from the host. To C
Any host interface that can switch to the PU 12 and the printing unit control means 114 with a selector may be used.
It may be built in TTL or may be a custom IC like GA. Printing unit control means 114 with selector
Need only be able to switch the input destination of the data to be output to the printing unit 17 between the CPU 12 and the counter-equipped input unit 113 under the control of the direct print control unit 100.
It may be assembled in L or a custom IC like GA
But it doesn't matter. <Operation of Host Computer> Next, the operation will be described. First, the case where the image development processing capability of the host computer 3010 is 2 will be described. When there is a main print start input from the host computer shown in FIG. 3, a print command and data are created (step 220). The processing time of this step is 15 minutes. Based on the capability values stored in the host capability storage unit 106 and the printer capability storage unit 107, the distribution band creation unit 101 determines the bandwidth of the input command data. In this embodiment, it is divided into 5 bands (step 230).
The number of bands distributed here should have a relationship of (host band expansion time) ≥ (printer band transfer time) (host band direct printing time) ≥ (printer band expansion time) with the processing capabilities of the host and printer. For example, it may be an odd number of bands or an even number of bands.

【0026】次に、最終バンド格納手段110に最終バ
ンド番号nとしてステップ230で作成されたバンド数
5を格納し、展開バンド指示手段に展開バンド番号kと
して初期値1を代入し、転送バンド指示手段に転送バン
ド番号mの初期値として2を代入する(ステップ23
5)。すなわち、ホストは第kバンドを画像データとし
て展開しつつ第mバンドをプリンタに転送するが、プリ
ンタでは、ホストで展開した第kバンドのデータを印刷
しつつ未展開で転送された第mバンドの展開を行い、そ
のデータを第kバンドに引き続いて印刷出力するため
に、m=k+1として連続したバンドを選んでいる。な
お、ここではバンド転送動作を割込み動作とするので転
送動作をイネーブルにする(ステップ240)。割込が
発生しているときは割込み処理を行うが、割込みがない
ときはメインの動作を行う。
Next, the final band storage means 110 stores the number of bands 5 created in step 230 as the final band number n, substitutes the initial value 1 as the expanded band number k in the expanded band instructing means, and specifies the transfer band. 2 is substituted into the means as the initial value of the transfer band number m (step 23)
5). That is, the host transfers the m-th band to the printer while expanding the k-th band as image data, but the printer prints the data of the k-th band expanded by the host and transfers the unexpanded transfer of the m-th band. In order to perform expansion and print out the data following the kth band, consecutive bands are selected with m = k + 1. Since the band transfer operation is an interrupt operation here, the transfer operation is enabled (step 240). When an interrupt is generated, interrupt processing is performed, but when there is no interrupt, main operation is performed.

【0027】転送割込みをイネーブルにした後、メイン
動作として第kバンドの展開を行い(ステップ25
0)、第kバンドの展開が終了すると、直接印刷指示手
段102へ第kバンドの展開データサイズを通知する。
直接印刷指示手段102は該通知を認識すると展開バン
ドの転送回数を算出し記憶する。それが終えると、展開
バンド番号kに2を加え、1つおいたバンドの展開処理
に備える(ステップ260)。それとともに、展開した
バンドを印刷するためにプリンタ1510へ直接印刷コ
マンドを送信し(ステップ270)、展開済みバンドの
画像データ、この場合には第1バンドの画像データを転
送する(ステップ280)。この次に、展開バンド番号
kの示すバンド番号が最終バンド番号nより大きいかを
確認する(ステップ290)。
After enabling the transfer interrupt, the k-th band is expanded as the main operation (step 25).
0) When the development of the kth band is completed, the print instruction unit 102 is directly notified of the development data size of the kth band.
When the direct print instructing means 102 recognizes the notification, the direct print instructing means 102 calculates and stores the number of transfers of the expansion band. When that is finished, 2 is added to the expanded band number k to prepare for the expansion processing of the one band left (step 260). At the same time, a print command is directly transmitted to the printer 1510 to print the expanded band (step 270), and the image data of the expanded band, in this case, the image data of the first band is transferred (step 280). Next, it is confirmed whether the band number indicated by the expanded band number k is larger than the final band number n (step 290).

【0028】この場合には、展開バンド番号kには3が
入っていて、最終バンド番号nには5が入っているの
で、前記比較結果は偽となりステップ240へ戻る。こ
のように、展開バンド番号kが最終バンド番号nより大
きくなるまでステップ240から290までの動作を繰
り返す。
In this case, since the expanded band number k contains 3 and the final band number n contains 5, the comparison result is false and the process returns to step 240. In this way, the operations from steps 240 to 290 are repeated until the expanded band number k becomes larger than the final band number n.

【0029】こうしてステップ290の比較結果が真に
なったとき、つまリ展開バンド番号kが最終バンド番号
nより大きくなったとき、ホストコンピュータ側の印刷
動作が終了となる(ステップ300)。
Thus, when the comparison result in step 290 becomes true, and when the expansion band number k becomes larger than the final band number n, the printing operation on the host computer side ends (step 300).

【0030】画像データの展開と並行して行われる割込
みルーチンであるバンド転送は図4のフローで示され
る。バンド転送動作の割込み発生要因はPRTC8から
プリンタ1510側の転送可能ステータスを認識するこ
とである。
Band transfer, which is an interrupt routine performed in parallel with the development of image data, is shown in the flow chart of FIG. The interrupt generation factor of the band transfer operation is to recognize the transferable status on the printer 1510 side from the PRTC 8.

【0031】図4において、割込が発生すると転送バン
ド指示手段103に格納されている転送バンド番号mの
画像データを描画するためのコマンド又はデータを、プ
リンタ1510に転送する(ステップ360)。転送バ
ンド番号mの初期値としてはステップ235で2が設定
されているため、はじめに第2バンドの先頭の描画コマ
ンド又はデータがPRTC8からプリンタ1510へ転
送される。引き続き転送する描画コマンド又はデータが
ある場合には、そのコマンド又はデータをPRTC8に
準備し(ステップ380)、次の割込み発生を待つ(ス
テップ400)。
In FIG. 4, when an interrupt occurs, the command or data for drawing the image data of the transfer band number m stored in the transfer band instruction means 103 is transferred to the printer 1510 (step 360). Since 2 is set as the initial value of the transfer band number m in step 235, the drawing command or data at the beginning of the second band is first transferred from the PRTC 8 to the printer 1510. If there is a drawing command or data to be continuously transferred, the command or data is prepared in the PRTC 8 (step 380), and the next interrupt generation is waited (step 400).

【0032】割込が発生すると(ステップ350)、転
送すべく準備されていたコマンド又はデータをプリンタ
1510に転送する(ステップ360)。転送すべき1
バンド分のコマンド又はデータがなくなるまで上記動作
を繰り返す。
When an interrupt occurs (step 350), the command or data prepared for transfer is transferred to the printer 1510 (step 360). 1 to transfer
The above operation is repeated until there are no commands or data for the band.

【0033】転送すべきコマンド又はデータがなくなっ
たら、バンド転送割込みをディセーブルにし(ステップ
385)、転送バンド番号mに2を加えて次のバンドの
転送に備え(ステップ390)、割込みルーチンを終了
する(ステップ400)。 <プリンタの動作>次に、プリンタ1510の動作を説
明する。図5にプリンタ1510のメイン印刷動作フロ
ーチャートを示す。
When there are no commands or data to be transferred, the band transfer interrupt is disabled (step 385), 2 is added to the transfer band number m to prepare for the next band transfer (step 390), and the interrupt routine is ended. (Step 400). <Printer Operation> Next, the operation of the printer 1510 will be described. FIG. 5 shows a main printing operation flowchart of the printer 1510.

【0034】図5において、プリンタ1510はリセッ
トされた後(ステップ410)、I/Fステータスを受
信可能を示す状態にし(ステップ420)、ホストコン
ピュータ3010からの転送データの受信に備える。
In FIG. 5, after the printer 1510 has been reset (step 410), the I / F status is set to a state indicating that it is ready to receive (step 420), and the printer 1510 prepares to receive transfer data from the host computer 3010.

【0035】ホストコンピュータから転送データを受信
すると(ステップ430)、I/Fステータスを受信不
能にし(ステップ440)、前記受信済みの転送データ
を所定のメモリに格納する(ステップ450)。
When the transfer data is received from the host computer (step 430), the I / F status is disabled (step 440), and the received transfer data is stored in a predetermined memory (step 450).

【0036】受信した転送データが直接印刷指示コマン
ドでなければ(ステップ460)、I/Fステータスを
受信可能を示す状態にし(ステップ420)、次のホス
トコンピュータからの転送データの受信に備える処理を
繰り返す。例えば、描画コマンド又はデータを受信した
場合は(ステップ430)、I/Fステータスを受信不
能にし(ステップ440)、受信した転送データを所定
のメモリに格納し(ステップ450)、直接印刷コマン
ドであるかどうかを確認する(ステップ460)。直接
印刷コマンドが送られて来るまでステップ420からス
テップ460までの動作を繰り返す。該繰り返しの間に
プリンタ展開用の第m(=2)バンドの印刷コマンド又
はデータのすべてがプリンタ1510に転送される。
If the received transfer data is not a direct print instruction command (step 460), the I / F status is set to indicate that it can be received (step 420), and a process for preparing for the next transfer data reception from the host computer is performed. repeat. For example, when a drawing command or data is received (step 430), the I / F status is disabled (step 440), the received transfer data is stored in a predetermined memory (step 450), and a direct print command is issued. It is confirmed whether or not (step 460). The operations from step 420 to step 460 are repeated until the direct print command is sent. During the repetition, all the print commands or data of the m-th (= 2) th band for printer expansion are transferred to the printer 1510.

【0037】一方、受信データが直接印刷コマンドであ
れば、ホストコンピュータ3010からの転送データ直
接印刷を開始する。直接印刷指示手段102からの直接
印刷用データの転送回数を直接印刷制御手段100が確
認し、カウンタ付き入力手段113のカウンタにセット
する(ステップ470)。直接印刷制御手段100はさ
らにカウンタ付き入力手段113のホストデータの出力
先をセレクタ付き印刷部制御手段114に設定し、セレ
クタ付き印刷部制御手段114の印刷データの入力先を
カウンタ付き入力手段113に設定する(ステップ47
1)。ここではカウンタ付き入力手段113が上記の設
定を終了すると、ホストコンピュータ3010へ直接印
刷データ転送の開始をデータ入力可能を意味するI/F
ステータスをセットすることで実現する。ただし、この
方法に限定するものではなく、ホストコンピュータ側に
直接印刷開始を認識させられれば特別な信号を使用して
もいいし、特別なI/Fステータスをセットしても何で
もよい。
On the other hand, if the received data is a direct print command, transfer data direct printing from the host computer 3010 is started. The direct print control means 100 confirms the number of times the direct print data is transferred from the direct print instruction means 102, and sets it in the counter of the input means with counter 113 (step 470). The direct printing control unit 100 further sets the output destination of the host data of the counter-equipped input unit 113 to the selector-equipped printing unit control unit 114, and sets the print-data input destination of the selector-equipped printing unit control unit 114 to the counter-equipped input unit 113. Set (Step 47)
1). Here, when the input means with counter 113 finishes the above setting, the start of direct print data transfer to the host computer 3010 is an I / F meaning that data can be input.
It is realized by setting the status. However, the method is not limited to this method, and a special signal may be used as long as the host computer can directly recognize the start of printing, or a special I / F status may be set.

【0038】また、セレクタ付き印刷部制御手段114
は印刷部17が印刷中であることを確認し、印刷中であ
ればカウンタ付き入力手段113からの印刷画像データ
を印刷部へ出力する。印刷部117が印刷中でない場合
は所定の印刷起動動作を行なった後、カウンタ付き入力
手段113からの印刷用画像データを印刷部へ出力す
る。
Further, the printing section control means 114 with a selector is provided.
Confirms that the printing unit 17 is printing, and if printing is in progress, outputs the print image data from the input unit with counter 113 to the printing unit. If the printing unit 117 is not printing, a predetermined print start operation is performed, and then the printing image data from the counter-equipped input unit 113 is output to the printing unit.

【0039】今、第1バンドの直接印刷が開始されたの
で、セレクタ付き印刷部制御手段114は起動されてい
ない印刷部17を起動する。印刷部17は所定の印刷起
動方法で印刷動作を開始させ、カウンタ付き入力手段1
13からの入力データを印刷出力する。直接印刷動作が
起動すると、プリンタ1510は描画コマンド及びデー
タとして送られてきた第2バンドの画像データへの展開
を開始する。直接印刷時には、カウンタ付き入力手段1
13とセレクタ付き印刷部制御手段114にはCPU1
2からはアクセスできないが、RAM19、ROM13
1〜133、ディスクコントローラ(DKC)20とい
った描画コマンド又はデータを展開処理するのに必要な
資源は有効なので、プリンタ1510は、ホストで展開
済みのバンドの画像データを印刷している間に、未展開
のバンドの画像データへの展開を行うことができる。
Now that the direct printing of the first band has started, the printing unit control means with selector 114 activates the printing unit 17 which has not been activated. The printing unit 17 starts the printing operation by a predetermined print starting method, and the input unit with counter 1
The input data from 13 is printed out. When the direct printing operation is activated, the printer 1510 starts developing the image data of the second band sent as the drawing command and the data. Input means with counter 1 for direct printing
13 and the CPU 1 for the printing unit control means 114 with selector
2 can not access, but RAM19, ROM13
1 to 133, the disk controller (DKC) 20, and other resources necessary for expanding the drawing command or data are effective, the printer 1510 is not ready while the image data of the band that has been expanded by the host is being printed. The expansion band can be expanded to image data.

【0040】展開処理を終了すると、カウンタ付き入力
手段113からの直接印刷終了通知を待ち、該通知を認
識すると直接印刷制御手段100がカウンタ付き入力手
段113のホストデータの出力先をCPU12側に切り
替え、セレクタ付き印刷部制御手段114の印刷用デー
タの入力先をCPU12側に切り替える(ステップ47
3)。それとともに展開した第m(初めはm=2)バン
ドの画像データ出力の割込をイネーブルにして(ステッ
プ480)、ステップ420へ戻り、次のホストからの
コマンド又はデータ入力に備える。
When the expansion processing is completed, the direct printing end notification from the counter-equipped input means 113 is awaited, and when the notification is recognized, the direct printing control means 100 switches the host data output destination of the counter-equipped input means 113 to the CPU 12 side. The input destination of the printing data of the printing unit control means 114 with a selector is switched to the CPU 12 side (step 47).
3). The interruption of the image data output of the m-th band (initially m = 2) developed together with this is enabled (step 480), and the process returns to step 420 to prepare for the next command or data input from the host.

【0041】このようにして展開した画像データの出力
は割込み処理として実現される。すなわち、次にプリン
タで展開される第4バンドの描画コマンド又はデータが
プリンタに転送されている間に、上記手順で展開済みの
第2バンドの画像データの出力が割込み処理として終了
する。
The output of the image data expanded in this way is realized as an interrupt process. That is, while the drawing command or data of the fourth band to be developed by the printer next is being transferred to the printer, the output of the image data of the second band which has been developed by the above procedure ends as an interrupt process.

【0042】次に、プリンタで展開されたバンドの画像
データ出力の動作を説明する。図6にプリンタで展開し
た画像データ出力の割込み動作フローチャートを示す。
Next, the operation of outputting the image data of the band developed by the printer will be described. FIG. 6 shows a flowchart of an interrupt operation for outputting image data developed by the printer.

【0043】図6において、セレクタ付き印刷部制御手
段114から印刷部17への印刷画像データ入力要求が
あると割込みが発生する。直接印刷制御手段100によ
りセレクタ付き印刷部制御手段114の入力先はバス1
5側になっており、CPU12が展開処理をした画像デ
ータを所定のメモリ(RAM19)からセレクタ付き印
刷部制御手段114に入力する(ステップ510)。セ
レクタ付き印刷部制御手段114は入力された画像デー
タを印刷部17へ出力し、実際の印刷画像を得る。
In FIG. 6, when there is a print image data input request from the printing unit control means with selector 114 to the printing unit 17, an interrupt occurs. The input destination of the printing unit control means 114 with selector is the bus 1 by the direct print control means 100.
5, the CPU 12 inputs the image data subjected to the expansion processing from the predetermined memory (RAM 19) to the printing unit control means 114 with a selector (step 510). The printing unit control unit 114 with a selector outputs the input image data to the printing unit 17 to obtain an actual print image.

【0044】次に引き続き印刷出力すべき次データがあ
ることを確認する(ステップ520)。次データがあれ
ば次データをセットして(ステップ525)メイン動作
へもどり(ステップ540)、次の割込み要求を待つ。
次データがなければ割込をディセーブルし(ステップ5
30)、メイン動作へもどる(ステップ540)。
Next, it is confirmed that there is next data to be printed out (step 520). If there is next data, the next data is set (step 525) and the process returns to the main operation (step 540) to wait for the next interrupt request.
If there is no next data, disable the interrupt (step 5
30) and return to the main operation (step 540).

【0045】以上の割込み動作により第2バンドを印刷
出力する間に、プリンタ1510への第4バンドの印刷
用コマンド又はデータの転送が終了する。第4バンドの
描画コマンド又はデータの転送が終了するとホストから
第3バンドの直接印刷コマンドが送られ、第3バンドの
印刷が開始される。この間に第4バンドがプリンタ内で
展開される。第3バンドの直接印刷が終了すると、展開
された第4バンドが割込み処理として印刷される。さら
に、これと並行してホスト側で第5バンドの展開が行な
われる。第5バンドは最終バンドなのでプリンタには第
6バンドの転送は行なわれない。そして、第5バンドの
直接印刷が終了すると1ページの印刷が終了する。以上
で、今回の印刷用画像データの作成が終了した。
While the second band is printed out by the above interrupt operation, the transfer of the fourth band printing command or data to the printer 1510 is completed. When the transfer of the drawing command or data of the fourth band is completed, the host sends a direct printing command of the third band, and the printing of the third band is started. During this time, the fourth band is developed in the printer. When the direct printing of the third band is completed, the expanded fourth band is printed as an interrupt process. Further, in parallel with this, the host side develops the fifth band. Since the fifth band is the last band, the sixth band is not transferred to the printer. Then, when the direct printing of the fifth band is finished, the printing of one page is finished. This is the end of the creation of the print image data this time.

【0046】処理時間についてみると TIME1;ホストにおける印刷コマンド,データの作
成時間。
Regarding processing time, TIME1; print command and data creation time in the host.

【0047】TIME2;ホストにおける振り分けバン
ド作成時間。
TIME2: time for creating a distribution band in the host.

【0048】TIME3;ホストにおける第1バンドの
展開及びそれと並行する第2バンドのプリンタへの転送
時間。
TIME3: Development time of the first band in the host and transfer time to the printer of the second band in parallel with it.

【0049】TIME4;ホストからプリンタへの第1
バンドの直接印刷及びそれと並行するプリンタにおける
第2バンドの展開時間。
TIME4; first from host to printer
Direct band printing and second band deployment time in parallel printers.

【0050】TIME5;プリンタにおける第2バンド
の印刷と、ホストにおける第3バンドの展開及びそれと
並行する第4バンドのプリンタへの転送時間。
TIME5; printing time of the second band in the printer, development of the third band in the host, and transfer time to the printer in the fourth band in parallel therewith.

【0051】TIME6;ホストからプリンタへの第3
バンドの直接印刷及びそれと並行するプリンタにおける
第4バンドの展開時間。
TIME6; third from host to printer
Direct printing of the band and deployment time of the fourth band on the parallel printer.

【0052】TIME7;プリンタにおける第4バンド
の印刷と、ホストにおける第5バンドの展開時間。
TIME7; printing time of the fourth band in the printer and developing time of the fifth band in the host.

【0053】TIME8;ホストからプリンタへの第5
バンドの直接印刷時間。 以上の合計が、1ページの印刷にようする時間である。
図13に上記時間を図示した。丸数字は処理対象のバン
ド番号である。TIME4〜TIME8までの時間、す
なわち1ページの印刷に要する時間は印刷部17の性能
で決まり、ここでは10である。
TIME8; fifth from host to printer
Direct printing time of the band. The above total is the time required to print one page.
The above time is illustrated in FIG. Circled numbers are band numbers to be processed. The time from TIME4 to TIME8, that is, the time required to print one page is determined by the performance of the printing unit 17, and is 10 here.

【0054】TIME1〜TIME3は印刷が開始され
るまでの待ち時間であり、ホストの処理能力で決まる。
ここではホストの能力が2であるとすると、TIME1
が15、TIME2が10、TIME3が2.5であっ
た。したがって、全印刷時間は37.5であった。
TIME1 to TIME3 are waiting times until printing is started and are determined by the processing capability of the host.
If the host has a capacity of 2, TIME1
Was 15, TIME2 was 10, and TIME3 was 2.5. Therefore, the total printing time was 37.5.

【0055】ホストの能力が10の場合は、ホストにお
ける処理時間は2/10=1/5となって、TIME1
が3、TIME2が2、TIME3が0.5となる。し
たがって、全印刷時間は15.5である。さらに処理能
力100のホストでは、TIME1が0.3、TIME
2が0.2、TIME3が0.05となるため、全印刷
時間は10.55となる。
When the capacity of the host is 10, the processing time at the host becomes 2/10 = 1/5, and TIME1
Is 3, TIME 2 is 2, and TIME 3 is 0.5. Therefore, the total printing time is 15.5. Furthermore, in a host with a processing capacity of 100, TIME1 is 0.3, TIME
Since 2 is 0.2 and TIME3 is 0.05, the total printing time is 10.55.

【0056】以上のように、1ページを複数のバンドに
分割し、プリンタでの印刷処理と並行してホストで画像
データの展開・転送を行うことで、プリンタの性能に依
存して時間の決まるホストからプリンタへのデータ転送
を印刷出力と並行に行い、ホストの性能に依存して処理
時間の決まる部分の比率を増やしている。その結果、印
刷コマンドの作成を開始してから印刷出力を開始するま
での時間を、ホストの性能に依存して短縮することがで
きる。
As described above, one page is divided into a plurality of bands, and the image data is developed and transferred by the host in parallel with the print processing by the printer, so that the time is determined depending on the printer performance. Data transfer from the host to the printer is performed in parallel with print output, and the ratio of the part where the processing time is determined depends on the performance of the host. As a result, the time from the start of print command creation to the start of print output can be shortened depending on the performance of the host.

【0057】[0057]

【第2実施例】図7に、本発明の印刷方法を使用した第
2実施例のブロック図を示す。図1及び図2と同じブロ
ックは同じ番号で示してある。
[Second Embodiment] FIG. 7 shows a block diagram of a second embodiment using the printing method of the present invention. The same blocks as those in FIGS. 1 and 2 are indicated by the same numbers.

【0058】図7において、ホストコンピュータ302
0内の転送バンド指示手段103はプリンタ1520に
転送中のバンド又は転送済みのバンド番号を示す手段で
あり、バンド番号を読み書きできればRAM2や外部メ
モリ11のようなメモリの一部でも何でもよい。展開バ
ンド指示手段104はホストコンピュータ内で展開して
いるバンドまたは展開済みのバンド番号を示す手段であ
り、バンド番号を読み書きできればRAM2や外部メモ
リ11のようなメモリの一部でも何でもよい。直接印刷
指示手段102はホストコンピュータ内の展開済みデー
タのサイズを認識でき該データの転送回数を算出するこ
とができる、プリンタ1520に直接印刷画像データの
転送回数を通知することができれば何でもよく、CPU
1を動作させるプログラムでもよい。単純バンド作成手
段115は印刷用コマンド及びデータをn個のバンドに
区切ることができれば何でもよく、CPU1を動作させ
るプログラムでも何でもよい。
In FIG. 7, the host computer 302
The transfer band instructing means 103 in 0 is a means for indicating a band being transferred to the printer 1520 or a band number already transferred, and may be a part of a memory such as the RAM 2 or the external memory 11 as long as the band number can be read and written. The expansion band instructing means 104 is a means for indicating the expanded or expanded band number in the host computer, and may be any part of the memory such as the RAM 2 or the external memory 11 as long as the band number can be read and written. The direct print instructing unit 102 can recognize the size of the expanded data in the host computer, can calculate the transfer count of the data, and can directly notify the printer 1520 of the transfer count of the print image data.
It may be a program that operates 1. The simple band creating means 115 may be anything as long as it can divide the printing command and data into n bands, and may be any program for operating the CPU 1.

【0059】一方、プリンタ1520においては、直接
印刷制御手段100はホストコンピュータからの直接印
刷指示を認識でき、直接印刷データの転送回数をカウン
タ付き入力手段113に通知でき、カウンタ付き入力手
段113からの直接入力手段終了通知を認識でき、カウ
ンタ付き入力手段113の出力先が指定でき、セレクタ
付き印刷部制御手段114の入力指定ができれば何でも
よく、CPU12を動作させるプログラムでもよい。カ
ウンタ付き入力手段113は、直接印刷制御手段100
からの通知で直接印刷用データの転送回数を認識し、該
データの転送回数をカウントし該カウントが終了したこ
とを通知することができ、ホストからの転送データの出
力先をCPU12とセレクタ付き印刷部制御手段114
とに切り替えることができるホストインタフェースであ
ればよく、TTLで組まれていてもいいし、GAのよう
にカスタムICでも構わない。セレクタ付き印刷部制御
手段114は直接印刷部制御手段100の制御により印
刷部17へ出力するデータの入力先をCPU12とカウ
ンタ付き入力手段113とを切り替えることができれば
よく、TTLで組まれていてもいいし、GAのようにカ
スタムICでも構わない。
On the other hand, in the printer 1520, the direct print control means 100 can recognize the direct print instruction from the host computer, can notify the input means 113 with the counter of the number of times the direct print data has been transferred, and the input means 113 with the counter can output. Anything can be used as long as it can directly recognize the end notification of the input means, can specify the output destination of the input means 113 with the counter, and can specify the input of the printing section control means 114 with the selector, or a program for operating the CPU 12. The input means 113 with a counter is used for the direct print control means 100.
It is possible to directly recognize the number of times of transfer of print data by the notification from the host, count the number of times of transfer of the data, and notify that the count has ended. The output destination of the transfer data from the host is the CPU 12 and the printing with the selector. Department control means 114
Any host interface that can be switched to and may be used, and may be built in TTL or may be a custom IC such as GA. The printing unit control means 114 with a selector has only to be able to switch the input destination of the data to be output to the printing section 17 between the CPU 12 and the input means 113 with a counter under the control of the direct printing part control means 100. Okay, even a custom IC like GA is fine.

【0060】次に動作を説明する。ホストコンピュータ
3020の処理能力が2であるものとする。
Next, the operation will be described. It is assumed that the processing capacity of the host computer 3020 is 2.

【0061】まず、図8で示すホストコンピュータのメ
イン印刷動作の印刷開始入力があると、印刷用コマンド
及びデータを作成する(ステップ560)。このための
処理時間は15かかっている。該コマンド及びデータを
単純バンド作成手段115でn個(本実施例では5個)
のバンドに分け、第5バンドを転送するため、転送バン
ド指示手段103に格納される転送バンド番号mにn=
5を代入する(ステップ570)。
First, when there is a print start input for the main print operation of the host computer shown in FIG. 8, a print command and data are created (step 560). The processing time for this takes 15 minutes. The command and data are n by the simple band creating means 115 (5 in this embodiment).
To transfer the fifth band, the transfer band number m stored in the transfer band instruction means 103 is n =
5 is substituted (step 570).

【0062】ここではバンド転送動作を割込み動作とす
るので転送動作をイネーブルにする。割込が発生してい
るときは割込み処理を行うが、割込がないときはメイン
の動作を行う。メイン動作として転送動作をイネーブル
にした後、第1バンドの展開を行うため展開バンド指示
手段10に格納される展開バンド番号kに1を代入する
(ステップ580)。第1バンドの展開を行い(ステッ
プ590)、それが終了すると直接印刷指示手段102
へ第1バンドの展開領域を通知する。直接印刷指示手段
102は該通知を認識すると展開バンドの転送回数を算
出して記憶し、展開バンド番号kに1を加える(ステッ
プ600)。その後、展開バンド番号kが転送バンド番
号mより小さいことを確認する(ステップ610)。初
めは、展開バンド番号kは、初期値1に対してステップ
600で1加算されているため2であり、転送バンド番
号m=5より小さい。そのため、転送バンド番号mが展
開番号kより小さくなるのを待つ(ステップ620)。
転送バンド番号mは、割込みで処理されるバンドの転送
に伴い減算される値のため、ステップ620でのループ
中に値が変わっていく。
Since the band transfer operation is an interrupt operation here, the transfer operation is enabled. When an interrupt occurs, interrupt processing is performed, but when there is no interrupt, the main operation is performed. After enabling the transfer operation as the main operation, 1 is assigned to the expanded band number k stored in the expanded band instructing means 10 for expanding the first band (step 580). The first band is expanded (step 590), and when it is completed, the direct print instruction means 102
Notify the expansion area of the first band to. When the direct print instructing means 102 recognizes the notification, it calculates and stores the number of transfers of the expansion band, and adds 1 to the expansion band number k (step 600). Then, it is confirmed that the expanded band number k is smaller than the transfer band number m (step 610). Initially, the expanded band number k is 2 because 1 is added to the initial value 1 in step 600, and is smaller than the transfer band number m = 5. Therefore, it waits until the transfer band number m becomes smaller than the expansion number k (step 620).
Since the transfer band number m is a value that is subtracted along with the transfer of the band processed by the interrupt, the value changes during the loop at step 620.

【0063】ステップ620の条件が満たされると、バ
ンド転送をディセーブルして転送バンド番号mを1増や
し、展開バンド番号kを1減らす(ステップ590)。
この動作は展開済みバンド番号と転送済みバンド番号と
が展開バンド指示手段104と転送バンド指示手段10
3にそれぞれ格納されるよう調整するものである。ホス
トコンピュータ3020の展開能力が2と低いため、ホ
ストコンピュータ3020が5つのバンドのうち第1バ
ンドを展開している間に、プリンタ1520では第5バ
ンド、第4バンド、第3バンドが転送されて展開処理が
行なわれ、第2バンドの転送まで終了している。
When the condition of step 620 is satisfied, band transfer is disabled, the transfer band number m is increased by 1, and the expanded band number k is decreased by 1 (step 590).
In this operation, the expanded band number and the transferred band number are expanded band instruction means 104 and transfer band instruction means 10.
3 are adjusted so that they are stored respectively. Since the expansion capability of the host computer 3020 is as low as 2, while the host computer 3020 is expanding the first band of the five bands, the printer 1520 transfers the fifth band, the fourth band, and the third band. The expansion processing is performed and the transfer up to the second band is completed.

【0064】ここで、バンド転送動作について説明す
る。図9に第2実施例のホストコンピュータのバンド転
送動作を示す。バンド転送の割込み発生要因はPRTC
8からプリンタ1520側の転送可能ステータスを認識
することである。割込が発生すると転送バンド番号mの
バンドをプリンタ1520に転送する(ステップ71
0)。したがって、はじめに第5バンドの転送用第1コ
マンド又はデータがPRTC8からプリンタ1520へ
転送される。次コマンド又はデータがある場合に次転送
用コマンド又はデータをPRTC8に準備し(ステップ
725)、次の割込み発生を待つ(ステップ740)。
次の割込みが発生すると(ステップ700)、準備され
ていた次転送用コマンド又はデータをプリンタ1520
に転送する(ステップ710)。次転送用コマンド又は
データがなくなる(ステップ720)まで上記動作を繰
り返す。
Here, the band transfer operation will be described. FIG. 9 shows the band transfer operation of the host computer of the second embodiment. The band transfer interrupt factor is PRTC
8 to recognize the transferable status on the printer 1520 side. When an interrupt occurs, the band with transfer band number m is transferred to the printer 1520 (step 71).
0). Therefore, first, the first command or data for transfer in the fifth band is transferred from the PRTC 8 to the printer 1520. If there is a next command or data, the next transfer command or data is prepared in the PRTC 8 (step 725), and the next interrupt generation is waited for (step 740).
When the next interrupt occurs (step 700), the prepared next transfer command or data is sent to the printer 1520.
(Step 710). The above operation is repeated until there is no command or data for the next transfer (step 720).

【0065】次転送用コマンド又はデータがなくなった
ら、すなわち第5バンドの転送が終了したなら、第4バ
ンドを転送するために転送バンド番号m=5を1減らし
(ステップ730)、転送バンド番号mが展開バンド番
号kより大きいことを確認する(ステップ732)。こ
こでは展開バンド番号kが1で転送バンドmが4のた
め、プリンタ1520に展開処理開始を通知し(ステッ
プ734)、次の割込みを待つ(ステップ740)。転
送バンド番号mが展開バンド番号kより大きいときは前
記動作を繰り返す。前述の通り、第1バンドを展開して
いる間に第5〜第2バンドまで転送が終了しているもの
としているため、転送バンド番号mが1になったとき展
開バンド番号k(=1)と等しくなる。転送バンド番号
mが展開バンド番号kより大きくなくなったので、割込
みルーチンを終了する。
When there is no command or data for the next transfer, that is, when the transfer of the fifth band is completed, the transfer band number m = 5 is decremented by 1 to transfer the fourth band (step 730), and the transfer band number m. Is greater than the expanded band number k (step 732). Here, since the expansion band number k is 1 and the transfer band m is 4, the expansion processing start is notified to the printer 1520 (step 734) and the next interrupt is awaited (step 740). When the transfer band number m is larger than the expansion band number k, the above operation is repeated. As described above, since it is assumed that the transfer has been completed up to the fifth and second bands while the first band is being expanded, when the transfer band number m becomes 1, the expanded band number k (= 1) Is equal to Since the transfer band number m is not larger than the expansion band number k, the interrupt routine is ended.

【0066】展開バンドと転送バンドがぶつかると(ス
テップ620−Y)、メイン動作の中でバンド転送をデ
ィセーブルして(ステップ630)、バンド転送が終了
する。ここでは第2バンドまで転送して転送動作が終了
した。転送が終了するとメイン動作に戻る。
When the expansion band and the transfer band collide with each other (step 620-Y), the band transfer is disabled in the main operation (step 630), and the band transfer ends. Here, the transfer operation is completed after transferring to the second band. When the transfer is completed, it returns to the main operation.

【0067】第1バンドを展開し終わり、第2から第5
バンドまでを転送し終わると、1ページ分の印刷用画像
データのうち第1バンドがホストコンピュータ3020
に展開され、第3から第5バンドまでがプリンタ152
0に展開され、第2バンドがプリンタ1520に転送さ
れた状態になる。メイン処理では、ホストコンピュータ
3020に用意された第1バンドの展開済みデータの転
送回数を示す直接印刷指示手段102のコマンドをプリ
ンタ1520に転送する(ステップ640)。前記展開
済画像データ(第1バンド)をプリンタ1520に転送
する(ステップ650)。ステップ640の開始からプ
リンタ1520内の印刷部17が印刷用画像データから
実際の印刷物を作りはじめる。該転送が終了するとホス
ト側印刷動作が終了となる。
After expanding the first band, the second to the fifth
When the transfer up to the band is completed, the first band of the printing image data for one page is transferred to the host computer 3020.
The printers 152 are the third to fifth bands.
It is expanded to 0, and the second band is transferred to the printer 1520. In the main processing, the command of the direct print instructing means 102 indicating the number of times of transfer of the expanded data of the first band prepared in the host computer 3020 is transferred to the printer 1520 (step 640). The developed image data (first band) is transferred to the printer 1520 (step 650). From the start of step 640, the printing unit 17 in the printer 1520 starts to make an actual printed matter from the printing image data. When the transfer ends, the host side printing operation ends.

【0068】次に、プリンタ1520の動作を説明す
る。図10に第2実施例のプリンタのメイン印刷動作の
フローチャートを示す。図5のフローチャートと同じ内
容のステップは同一番号である。
Next, the operation of the printer 1520 will be described. FIG. 10 shows a flowchart of the main printing operation of the printer of the second embodiment. The steps having the same contents as those in the flowchart of FIG. 5 have the same numbers.

【0069】まず、プリンタ1520は、RESET後
(ステップ410)、I/Fステータスを受信可能を示
す状態にし(ステップ420)、ホストコンピュータ3
020からの転送データの受信に備える。転送データを
受信する(ステップ430)とI/Fステータスを受信
不能にし(ステップ440)、前記受信済みの転送デー
タを所定のメモリに格納する(ステップ450)。受信
済みの転送データが直接印刷指示コマンドでなければ
(ステップ460)、展開処理開始コマンドであること
を確認する(ステップ462)。展開処理コマンドでな
ければステップ420にもどる。展開処理コマンドがく
るまでその動作を繰り返す。
First, the printer 1520, after RESET (step 410), sets the I / F status to a state indicating that it can be received (step 420), and the host computer 3
Prepare to receive transfer data from 020. When the transfer data is received (step 430), the I / F status is disabled (step 440), and the received transfer data is stored in a predetermined memory (step 450). If the received transfer data is not the direct print instruction command (step 460), it is confirmed that it is the expansion processing start command (step 462). If it is not the expansion processing command, the process returns to step 420. The operation is repeated until the expansion processing command comes.

【0070】展開処理開始コマンドであれば格納済みコ
マンド及びデータの展開処理を行い(ステップ46
4)、ステップ420にもどる。ステップ420ではI
/Fステータスを受信可能を示す状態にし、ホストコン
ピュータからの次の転送データの受信に備える。次のコ
マンド又はデータを受信した場合は(ステップ43
0)、またI/Fステータスを受信不能にし(ステップ
440)、前記受信済みの転送データを所定のメモリに
格納し(ステップ450)、直接印刷コマンドであるか
どうかを確認する(ステップ460)。直接印刷コマン
ドでなければ、展開処理開始コマンドであることを確認
する(ステップ462)。展開処理開始コマンドでなけ
ればステップ420にもどる。展開処理コマンドがくる
まで該動作を繰り返す。展開処理開始コマンドであれば
格納済みコマンド、データの展開処理を行い(ステップ
464)、ステップ420にもどる。直接印刷コマンド
が送られて来るまでステップ420から464までの動
作を繰り返す。この繰り返しの間にプリンタ展開用のバ
ンドのうち最後に送られたバンド用のコマンド及びデー
タ以外はプリンタ内で展開され、最後に転送されたバン
ドの印刷用コマンド又はデータが格納された状態にな
る。
If it is the expansion processing start command, the expansion processing of the stored command and data is performed (step 46).
4) Return to step 420. In step 420, I
The / F status is set to a state in which it is ready to receive, and the next transfer data is received from the host computer. When the next command or data is received (step 43)
0), the I / F status is made unreceivable (step 440), the received transfer data is stored in a predetermined memory (step 450), and it is confirmed whether it is a direct print command (step 460). If it is not the direct print command, it is confirmed that it is the expansion processing start command (step 462). If it is not the expansion processing start command, the process returns to step 420. The operation is repeated until the expansion processing command comes. If the command is the expansion process start command, the stored command and data are expanded (step 464), and the process returns to step 420. The operations of steps 420 to 464 are repeated until the direct print command is sent. During this repetition, the commands and data for the band other than the band sent last among the bands for printer expansion are expanded in the printer, and the printing command or data for the last transferred band is stored. .

【0071】受信データが直接印刷コマンドであればホ
ストコンピュータからの転送データ直接印刷を開始す
る。直接印刷指示手段102からの直接印刷用データの
転送回数を直接印刷制御手段100が認識し、カウンタ
付き入力手段113のカウンタにセットする(ステップ
470)。直接印刷制御手段100はさらにカウンタ付
き入力手段113のホストデータの出力先をセレクタ付
き印刷部制御手段114に設定し、セレクタ付き印刷部
制御手段114の印刷用データの入力先をカウンタ付き
入力手段113に設定する(ステップ471)。ここで
はカウンタ付き入力手段113に上記の設定を終了する
とホストコンピュータ3020へ直接印刷データ転送の
開始をデータ入力可能を意味するI/Fステータスをセ
ットすることで実現する。ただし、この方法に限定する
ものではなく、ホストコンピュータ側に直接印刷開始を
認識させられれば特別な信号を使用してもいいし、特別
なI/Fステータスをセットしても何でもよい。セレク
タ付き印刷部制御手段114は印刷部17に対し所定の
印刷起動動作を行なった後、カウンタ付き入力手段11
3からの印刷用画像データを印刷部17へ出力する。
If the received data is a direct print command, direct transfer data printing from the host computer is started. The direct print control means 100 recognizes the number of times the direct print data has been transferred from the direct print instruction means 102, and sets it in the counter of the input means with counter 113 (step 470). The direct printing control unit 100 further sets the output destination of the host data of the counter-equipped input unit 113 to the selector-attached printing unit control unit 114, and sets the print-data input destination of the selector-attached printing unit control unit 114 to the counter-attached input unit 113. (Step 471). Here, when the above setting is completed in the counter-equipped input means 113, the start of print data transfer is directly set in the host computer 3020 by setting an I / F status which means that data can be input. However, the method is not limited to this method, and a special signal may be used as long as the host computer can directly recognize the start of printing, or a special I / F status may be set. The printing unit control means 114 with a selector performs a predetermined print starting operation on the printing unit 17, and then the input means 11 with a counter.
The printing image data from No. 3 is output to the printing unit 17.

【0072】直接印刷動作が起動すると、プリンタ15
20はプリンタ展開用バンドの展開処理を開始する。直
接印刷時には、カウンタ付き入力手段113とセレクタ
付き印刷部制御手段114にはアクセスできないが、C
PU12、RAM19、ROM13、ディスクコントロ
ーラ(DKC)20といった印刷用コマンド又はデータ
を展開処理するのに必要な資源は有効なので、プリンタ
1520はホスト展開済みデータを印刷している間に最
後に転送された格納済みのプリンタ展開用バンドの展開
を開始することができる。該展開処理を終了するとカウ
ンタ付き入力手段113からの直接印刷終了通知を待
ち、該通知を認識すると直接印刷制御手段100がカウ
ンタ付き入力手段113のホストデータの出力先をCP
U12側に切り替え、セレクタ付き印刷部制御手段11
4の印刷用データの入力先をCPU12側に切り替える
(ステップ473)。切り替えが終えた後、印刷装置内
展開済み画像データ出力の割込みをイネーブルにする
(ステップ480)。
When the direct printing operation is activated, the printer 15
20 starts the process of developing the printer developing band. At the time of direct printing, the input means 113 with a counter and the printing section control means 114 with a selector cannot be accessed.
Since the resources necessary for expanding the print command or data such as the PU 12, the RAM 19, the ROM 13 and the disk controller (DKC) 20 are valid, the printer 1520 was last transferred while printing the host expanded data. The deployment of the stored printer deployment band can be started. When the expansion processing is completed, a direct print end notification from the counter-equipped input means 113 is waited for, and when the notification is recognized, the direct print control means 100 makes the host data output destination of the counter-equipped input means 113 CP
Switching to U12 side, printing unit control means 11 with selector
The input destination of the print data of No. 4 is switched to the CPU 12 side (step 473). After the switching is completed, the interruption of the output of the developed image data in the printing device is enabled (step 480).

【0073】この後、ステップ420へ戻り、I/Fス
テータスを受信可能状態にして、次のホストからのコマ
ンド又はデータ入力に備える。次のプリンタ展開用バン
ドのコマンド又はデータが転送されている間に印刷装置
内展開済みのバンドの画像データの出力が割込み処理と
して終了する。
After that, the process returns to step 420 and the I / F status is set to the receivable state to prepare for the next command or data input from the host. While the command or data for the next printer expansion band is being transferred, the output of the image data for the expanded band in the printing device ends as an interrupt process.

【0074】次に、印刷装置内展開済み画像データ出力
の割込み動作を説明する。実施例1と動作は同じなので
図6で説明する。セレクタ付き印刷部制御手段114か
ら印刷部17への印刷画像データ入力要求があると割込
みが発生する。直接印刷制御手段100によりセレクタ
付き印刷部制御手段114の入力先はCPU12側にな
っており、CPU12が展開処理をした印刷装置内展開
済み画像データを所定のメモリ(RAM19)からセレ
クタ付き印刷部制御手段114に入力する(ステップ5
10)。セレクタ付き印刷部制御手段114は該データ
を印刷部17へ出力し実際の印刷画像を得る。次データ
があることを確認する(ステップ520)。次データが
あれば次データをセットして(ステップ525)メイン
動作へもどり(ステップ540)、次の割込み要求を待
つ。次データがなければ割込みをディセーブルし(ステ
ップ530)、メイン動作へもどる(ステップ54
0)。以上の割込み動作の間にプリンタ1520への次
ページの印刷用コマンド又はデータの転送がある場合は
そのコマンド又はデータを受け取ることができる。以上
で、今回のページの印刷動作が終了した。
Next, the interrupting operation of outputting the expanded image data in the printing apparatus will be described. Since the operation is the same as that of the first embodiment, it will be described with reference to FIG. When there is a print image data input request from the printing unit control means 114 with a selector to the printing unit 17, an interrupt occurs. The input destination of the printing unit control unit with selector 114 by the direct printing control unit 100 is the CPU 12 side, and the expanded image data in the printing device, which is processed by the CPU 12, is controlled from a predetermined memory (RAM 19) to the printing unit with selector. Input to the means 114 (step 5)
10). The printing unit control means 114 with a selector outputs the data to the printing unit 17 to obtain an actual print image. It is confirmed that the next data exists (step 520). If there is next data, the next data is set (step 525) and the process returns to the main operation (step 540) to wait for the next interrupt request. If there is no next data, disable the interrupt (step 530) and return to the main operation (step 54).
0). If a command or data for printing the next page to the printer 1520 is transferred during the above interrupt operation, the command or data can be received. This is the end of the print operation for this page.

【0075】処理時間についてみると TIME1;ホストにおける印刷コマンド、データの作
成時間。
Regarding processing time, TIME1; print command and data creation time in the host.

【0076】TIME2;ホストにおけるバンド作成時
間。
TIME2: Band creation time in the host.

【0077】TIME3;ホストにおける第1バンドの
展開処理と、それと並行するホストからプリンタへの第
2〜第5バンドの転送と、それと並行したプリンタにお
ける第3〜第5バンドの展開時間。
TIME3: expansion processing of the first band in the host, transfer of the second to fifth bands from the host to the printer in parallel therewith, and expansion time of the third to fifth bands in the printer in parallel therewith.

【0078】TIME4;第1バンドの直接印刷及びそ
れと並行するプリンタにおける第2バンドの展開処理時
間。
TIME4: Direct printing of the first band and development processing time of the second band in the printer in parallel with the direct printing.

【0079】TIME5;第2〜第5までの展開データ
印刷時間。であり、TIME4〜TIME5の時間は印
刷部の性能で決まり、ここでは10である。TIME1
〜TIME3はホストの処理能力で決まりここではホス
トの能力が2のとき、TIME1が15、TIME2が
1、TIME3が10であった。したがって、全印刷時
間は36であった。これを図解したものが図14であ
る。
TIME5: Time for printing expanded data from the second to the fifth. The time of TIME4 to TIME5 is determined by the performance of the printing unit, and is 10 here. TIME1
~ TIME3 is determined by the processing capacity of the host, and when the host capacity is 2, TIME1 is 15, TIME2 is 1, and TIME3 is 10. Therefore, the total printing time was 36. FIG. 14 illustrates this.

【0080】ホストコンピュータの処理能力が10の場
合には、TIME1が3、TIME2が0.2、TIM
E3が3、そしてTIME4+TIME5が10なので
全印刷時間は16.2であった。
When the processing capacity of the host computer is 10, TIME1 is 3, TIME2 is 0.2, and TIM is
E3 was 3 and TIME4 + TIME5 was 10, so the total printing time was 16.2.

【0081】また、ホストコンピュータの処理能力が1
00の場合には、TIME1が0.3、TIME2が
0.02、TIME3が0.3、そしてTIME4+T
IME5が10なので全印刷時間は10.62であっ
た。
The processing capacity of the host computer is 1
If 00, TIME1 is 0.3, TIME2 is 0.02, TIME3 is 0.3, and TIME4 + T.
Since IME5 was 10, the total printing time was 10.62.

【0082】このように、1ページの画像をバンドに分
割してバンドごとにホストとプリンタとで並列に処理
し、処理の速いほうが次々と新たなバンドを処理するよ
うに構成することで、どちらか一方の高速化を、処理全
体としての高速化に結び付けることができる。
As described above, by dividing the image of one page into bands and processing the bands in parallel by the host and the printer, the faster processing can process new bands one after another. It is possible to combine the speedup of either one with the speedup of the entire process.

【0083】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus.

【発明の効果】以上述べたように本発明の印刷装置及び
印刷方法によれば、ホストコンピュータの処理能力によ
り印刷開始入力から印刷用画像データの作成までにかか
る印刷時間を短縮することができる。また、1ページを
ホストコンピュータとプリンタの処理能力に合わせて適
切に分割して分散して処理すれば、ホストコンピュータ
の処理能力とプリンタの処理能力の比率に合わせて理想
的な負荷分散ができ、もっとも高速な印刷ができる。
As described above, according to the printing apparatus and the printing method of the present invention, it is possible to reduce the printing time from the input of the print start to the creation of the printing image data due to the processing capacity of the host computer. Also, if one page is appropriately divided and processed according to the processing capacities of the host computer and the printer, the load can be ideally distributed according to the ratio of the processing capacity of the host computer and the processing capacity of the printer. The fastest printing is possible.

【0084】[0084]

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

【図1】本発明の印刷方法を使用した実施例1のブロッ
ク図である。
FIG. 1 is a block diagram of a first embodiment using a printing method of the present invention.

【図2】従来のプリンタ制御システムの構成説明図であ
る。
FIG. 2 is a diagram illustrating a configuration of a conventional printer control system.

【図3】本発明の実施例1のホストコンピュータのメイ
ン印刷動作フローチャートである。
FIG. 3 is a flowchart of a main print operation of the host computer according to the first embodiment of this invention.

【図4】本発明の実施例のホストコンピュータのバンド
転送動作フローチャートである。
FIG. 4 is a band transfer operation flowchart of the host computer according to the embodiment of this invention.

【図5】本発明の実施例1のプリンタのメイン印刷動作
フローチャートである。
FIG. 5 is a main printing operation flowchart of the printer according to the first embodiment of the present invention.

【図6】本発明の実施例1のプリンタの割込み動作フロ
ーチャートである。
FIG. 6 is an interrupt operation flowchart of the printer according to the first embodiment of the present invention.

【図7】本発明の印刷方法を使用した実施例2のブロッ
ク図である。
FIG. 7 is a block diagram of a second embodiment using the printing method of the present invention.

【図8】本発明の実施例2のホストコンピュータのメイ
ン印刷動作である。
FIG. 8 is a main printing operation of the host computer according to the second embodiment of the present invention.

【図9】本発明の実施例2のホストコンピュータのバン
ド転送動作である。
FIG. 9 is a band transfer operation of the host computer according to the second embodiment of the present invention.

【図10】本発明の実施例2のプリンタのメイン印刷動
作である。
FIG. 10 is a main printing operation of the printer according to the second embodiment of the present invention.

【図11】従来の印刷方法のホストコンピュータ印刷動
作フローチャートである。
FIG. 11 is a host computer printing operation flowchart of a conventional printing method.

【図12】従来の印刷方法のプリンタの印刷動作フロー
チャートである。
FIG. 12 is a flowchart of a printing operation of a printer according to a conventional printing method.

【図13】第1実施例の処理シーケンスを図解した図で
ある。
FIG. 13 is a diagram illustrating a processing sequence of the first embodiment.

【図14】第2実施例の処理シーケンスを図解した図で
ある。
FIG. 14 is a diagram illustrating a processing sequence of a second embodiment.

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

3000 従来の方途コンピュータ 3001 ホストコンピュータ・・・不図示 3010 本発明の実施例1のホストコンピュータ 3020 本発明の実施例2のホストコンピュータ 2000 ホストコンピュータ本体 1 CPU 2 RAM 3 ROM 4 システムボイス 5 キーボードコントローラ(KBC) 6 CRTコントローラ(CRTC) 7 ディスクコントローラ(DKC) 8 プリンタコントローラ(PRTC) 9 キーボード 10 CRTディスプレイ 11 外部メモリ 12 プリンタCPU 13 ROM 14 外部メモリ 15 システムバス 16 印刷部インタフェース 17 印刷部(プリンタエンジン) 18 ホストインタフェース 19 RAM 21 インタフェース 1500 従来のプリンタ 1510 本発明の実施例1のプリンタ 1520 本発明の実施例2のプリンタ 1501 操作パネル 100 直接印刷制御手段 101 振り分けバンド作成手段 102 直接印刷指示手段 103 転送バンド指示手段 104 展開バンド指示手段 106 ホスト能力記憶手段 107 プリンタ能力記憶手段 110 最終バンド格納手段 113 カウンタ付入力手段 114 セレクタ付印刷部制御手段 3000 conventional way computer 3001 host computer (not shown) 3010 host computer according to the first embodiment of the present invention 3020 host computer according to the second embodiment of the present invention 2000 host computer main body 1 CPU 2 RAM 3 ROM 4 system voice 5 keyboard controller ( KBC) 6 CRT controller (CRTC) 7 Disk controller (DKC) 8 Printer controller (PRTC) 9 Keyboard 10 CRT display 11 External memory 12 Printer CPU 13 ROM 14 External memory 15 System bus 16 Printing unit interface 17 Printing unit (printer engine) 18 Host Interface 19 RAM 21 Interface 1500 Conventional Printer 1510 Printer 1 of Embodiment 1 of the Present Invention 15 0 Printer of Embodiment 2 of the present invention 1501 Operation panel 100 Direct printing control means 101 Sorting band creating means 102 Direct printing instructing means 103 Transfer band instructing means 104 Expansion band instructing means 106 Host capacity storing means 107 Printer capacity storing means 110 Final band Storage unit 113 Input unit with counter 114 Printing unit control unit with selector

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ホスト装置と印刷装置とを含み、ページ
単位で印刷出力する印刷システムであって、 1ページ分の印刷データを所定の大きさのバンドに分割
する分割手段と、 前記分割手段により分割されたバンドの1を画像データ
に展開する第1展開手段と、 前記第1展開手段による画像データの展開と並行して、
印刷装置にバンドの1を転送する転送手段と、 前記第1展開手段により展開された1バンド分の画像デ
ータを、前記印刷装置から印刷出力すべく指示する直接
印刷指示手段とを有するホスト装置と、 前記転送手段により転送されたバンドを画像データに展
開する第2展開手段と、 前記第2展開手段による画像データの展開と並行して、
前記直接印刷手段により印刷しようとする画像データの
印刷を制御する直接印刷制御手段と、 前記第2展開手段により展開された画像データを印刷出
力する印刷手段とを有する印刷装置と、を備えることを
特徴とする印刷システム。
1. A printing system which includes a host device and a printing device and prints out in page units, wherein a dividing unit divides print data for one page into bands of a predetermined size, and the dividing unit First expansion means for expanding one of the divided bands into image data, and in parallel with the expansion of the image data by the first expansion means,
A host device having a transfer unit for transferring band 1 to the printing device; and a direct print instruction unit for instructing to print out the image data for one band expanded by the first expansion unit from the printing device, A second expansion means for expanding the band transferred by the transfer means into image data, and in parallel with the expansion of the image data by the second expansion means,
A direct printing control means for controlling printing of image data to be printed by the direct printing means; and a printing device having a printing means for printing out the image data expanded by the second expanding means. Characteristic printing system.
【請求項2】 ホスト装置と印刷装置とを含み、ページ
単位で印刷出力する印刷システムであって、 1ページ分の印刷データを所定の大きさのバンドに分割
する分割手段と、 前記分割手段により分割されたバンドを、ページの先頭
から順に画像データに展開する第1展開手段と、 前記第1展開手段による画像データの展開と並行して、
前記第1展開手段により展開されていないバンドを、ペ
ージの末尾から印刷装置に転送する転送手段と、 前記第1展開手段により展開された1バンド分の画像デ
ータを、前記印刷装置から印刷出力すべく指示する直接
印刷指示手段とを有するホスト装置と、 前記転送手段により転送されたバンドを画像データに展
開する第2展開手段と、 前記第2展開手段による画像データの展開と並行して、
前記直接印刷手段により印刷しようとする画像データの
印刷を制御する直接印刷制御手段と、 前記第2展開手段により展開された画像データを印刷出
力する印刷手段とを有する印刷装置と、を備えることを
特徴とする印刷システム。
2. A printing system which includes a host device and a printing device and prints out in page units, wherein a dividing unit divides print data for one page into bands of a predetermined size, and the dividing unit First expanding means for expanding the divided bands into image data in order from the top of the page, and in parallel with the expanding of the image data by the first expanding means,
Transfer means for transferring the band not expanded by the first expanding means to the printing device from the end of the page, and image data for one band expanded by the first expanding means is printed out from the printing device. A host device having direct printing instruction means for instructing, a second expansion means for expanding the band transferred by the transfer means into image data, and a parallel expansion of the image data by the second expansion means,
A direct printing control means for controlling printing of image data to be printed by the direct printing means; and a printing device having a printing means for printing out the image data expanded by the second expanding means. Characteristic printing system.
【請求項3】 ページ単位で印刷出力する印刷方法であ
って、 1ページ分の印刷データを所定の大きさのバンドに分割
する分割工程と、 前記分割工程により分割されたバンドの1を画像データ
に展開する第1展開工程と、 前記第1展開工程による画像データの展開と並行して、
バンドの1を転送する転送工程と、 前記第1展開工程により展開された1バンド分の画像デ
ータの印刷出力を行う直接印刷工程と、 前記転送工程により転送されたバンドを、前記直接印刷
工程による印刷出力と並行して印刷画像データに展開す
る第2展開工程と、 前記第2展開工程により展開された画像データを、前記
直接印刷工程による印刷出力に続けて印刷出力する工程
とを備えることを特徴とする印刷方法。
3. A printing method for printing out in page units, wherein a dividing step of dividing print data for one page into bands of a predetermined size, and 1 of the bands divided by the dividing step is image data. In parallel with the first expansion step of expanding the image data in the first expansion step,
A transfer step of transferring 1 of the band, a direct printing step of printing out the image data for one band expanded by the first expanding step, and a band transferred by the transfer step by the direct printing step. A second developing step of developing the print image data in parallel with the print output, and a step of printing the image data developed by the second developing step subsequent to the print output of the direct printing step. Characteristic printing method.
【請求項4】 ページ単位で印刷出力する印刷方法であ
って、 1ページ分の印刷データを所定の大きさのバンドに分割
する分割工程と、 前記分割工程により分割されたバンドをページの先頭か
ら順に画像データに展開する第1展開工程と、 前記第1展開工程による画像データの展開と並行して、
前記第1展開工程により展開されていないバンドをペー
ジの末尾から順に転送する転送工程と、 前記第1展開工程により展開されたバンドの画像データ
の印刷出力を行う直接印刷工程と、 前記転送工程により転送されたバンドを、前記直接印刷
工程による印刷出力と並行して印刷画像データに展開す
る第2展開工程と、 前記第2展開工程により展開された画像データを、前記
直接印刷工程による印刷出力に続けて印刷出力する工程
とを備えることを特徴とする印刷方法。
4. A printing method for printing out in page units, comprising a dividing step of dividing print data for one page into bands of a predetermined size, and a band divided by the dividing step from the top of the page. A first expanding step of expanding the image data in order, and in parallel with the expanding of the image data by the first expanding step,
A transfer step of sequentially transferring the bands not expanded by the first expanding step from the end of the page; a direct printing step of printing out the image data of the bands expanded by the first expanding step; A second expansion step of expanding the transferred band into print image data in parallel with the print output of the direct printing step, and the image data expanded by the second expansion step to the print output of the direct printing step. A printing method comprising the step of continuously printing and outputting.
JP7157495A 1995-06-23 1995-06-23 Printing system and printing method Pending JPH096552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7157495A JPH096552A (en) 1995-06-23 1995-06-23 Printing system and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7157495A JPH096552A (en) 1995-06-23 1995-06-23 Printing system and printing method

Publications (1)

Publication Number Publication Date
JPH096552A true JPH096552A (en) 1997-01-10

Family

ID=15650939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7157495A Pending JPH096552A (en) 1995-06-23 1995-06-23 Printing system and printing method

Country Status (1)

Country Link
JP (1) JPH096552A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7103833B1 (en) 1998-01-12 2006-09-05 Fuji Xerox Co., Ltd. Image processing apparatus, output apparatus, image processing system and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7103833B1 (en) 1998-01-12 2006-09-05 Fuji Xerox Co., Ltd. Image processing apparatus, output apparatus, image processing system and image processing method

Similar Documents

Publication Publication Date Title
EP0870277B1 (en) Image rendering for page printers
JPH0830410A (en) Output device, preview system, and output image confirmation method
JPH0916149A (en) Character processing device, character processing method, and memory
JP3871011B2 (en) Information processing apparatus and information processing method
JP3624018B2 (en) Printing control apparatus, printing control method, and printing system
JPH10154050A (en) Print processing apparatus and method
JP2000255117A (en) Print processing apparatus and print processing method
JP3526255B2 (en) Information processing apparatus, print control method, print control system, and storage medium
JP3204136B2 (en) Image processing apparatus and compression processing method
JPH0691990A (en) Printer control method and control system thereof
JP2001096854A (en) Print processing apparatus and print processing method
JP3386039B2 (en) Printing equipment
JP3386040B2 (en) Printing equipment
JP3864535B2 (en) Print processing apparatus and print processing method
JP2785775B2 (en) Printer system
JP3281327B2 (en) Information processing apparatus and information processing method
JPH09164731A (en) Printing device and printing device data processing method
JP3559618B2 (en) Printing system, control method therefor, and print control device
JP3419450B2 (en) Pixel data processing apparatus and method
JPH091873A (en) Image development device
JPH1134410A (en) Printer driver, printer, printing system, information processing apparatus, and printing method
JP3347520B2 (en) Information processing apparatus, printer system, and print job processing method
JPH10187397A (en) Printing apparatus and printing method
JP2002132466A (en) Image output device, image output system, image processing method, and storage medium
JP2004334489A (en) Printer and printing control device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031014