JP3037537B2 - Printing system and printing device used in the printing system - Google Patents

Printing system and printing device used in the printing system

Info

Publication number
JP3037537B2
JP3037537B2 JP5216476A JP21647693A JP3037537B2 JP 3037537 B2 JP3037537 B2 JP 3037537B2 JP 5216476 A JP5216476 A JP 5216476A JP 21647693 A JP21647693 A JP 21647693A JP 3037537 B2 JP3037537 B2 JP 3037537B2
Authority
JP
Japan
Prior art keywords
printing
printing apparatus
data
print information
drawing memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5216476A
Other languages
Japanese (ja)
Other versions
JPH0764736A (en
Inventor
隆 大野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP5216476A priority Critical patent/JP3037537B2/en
Publication of JPH0764736A publication Critical patent/JPH0764736A/en
Application granted granted Critical
Publication of JP3037537B2 publication Critical patent/JP3037537B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ホストコンピュータか
ら受信した制御言語を解析しながら印刷を行う印刷装置
とが通信可能な印刷システムおよび印刷システムに使用
する印刷装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing system capable of communicating with a printing apparatus that performs printing while analyzing a control language received from a host computer, and a printing apparatus used in the printing system.

【0002】[0002]

【従来の技術】従来の印刷システムにおいて、制御言語
の解析処理,解析データをビットマップに展開する処理
(以後、ラスタライズ処理)は印刷装置側にのみ有する
印刷システムが提案されていた。
2. Description of the Related Art In a conventional printing system, there has been proposed a printing system in which control language analysis processing and processing for developing analysis data into a bit map (hereinafter, rasterization processing) are performed only on the printing apparatus side.

【0003】また、従来この種の印刷システムにおける
印刷装置の内部処理に着目すれば、単一の処理系、例え
ば中間コードを生成しない印刷装置においては、制御言
語を解析し、そのまま描画処理を実行し、描画メモリに
展開する処理系を備えるタイプの印刷装置と、中間コー
ドを生成する印刷装置においては、制御言語を解析後、
中間コードをファイルに格納させておき、描画処理を実
行する際、該ファイルから中間コードを読み出した後、
描画処理を実行し、描画メモリに展開する処理系のみを
備えるタイプの印刷装置とが提案されている。
[0003] Focusing on the internal processing of a printing apparatus in a conventional printing system of this type, a single processing system, for example, a printing apparatus that does not generate an intermediate code, analyzes a control language and directly executes a drawing process. In a printing device of a type having a processing system for developing in a drawing memory, and in a printing device of generating an intermediate code, after analyzing a control language,
When the intermediate code is stored in a file and the drawing process is executed, after the intermediate code is read from the file,
There has been proposed a type of printing apparatus that includes only a processing system that executes a drawing process and develops the drawing memory.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
印刷システムによれば、ホストコンピュータがプリント
出力する際、印刷装置が処理中で制御コードを転送する
ことができないとき、ホストコンピュータは送信できる
まで転送待ち状態となっていた。また、印刷装置に2次
記憶装置を備えている場合においては、印刷装置が処理
中の時、2次記憶装置に制御コードを格納し、印刷装置
の処理が終了するまで2次記憶装置内の制御コードに対
する何の処理もなされないままの状態となっているた
め、その後のプリント出力までに、上記ラスタライズ処
理を行う必要があるため、その分印刷処理を完了するま
での時間が長時間となってしまう問題点があった。すな
わち、制御データを解析してラスタライズ処理可能であ
っても、先行する印刷処理が終了するまで、何等データ
処理がなされていないため、その間が無用に浪費されて
しまい、受信した制御データを解析してラスタライズを
開始するタイミングが常に前処理完了後となるように制
御されていた。
However, according to the conventional printing system, when the host computer prints out and the printing apparatus cannot process the control code and cannot transfer the control code, the host computer transfers the control code until it can be transmitted. I was waiting. When the printing apparatus is provided with a secondary storage device, when the printing apparatus is processing, the control code is stored in the secondary storage apparatus and the control code in the secondary storage apparatus is stored until the processing of the printing apparatus is completed. Since no processing is performed on the control code, it is necessary to perform the above-described rasterization processing before the subsequent print output, so that it takes a long time to complete the printing processing. There was a problem. That is, even if the control data can be analyzed and rasterized, no data processing is performed until the preceding print processing is completed, so that the time is wasted unnecessarily, and the received control data is analyzed. Therefore, the timing for starting the rasterization is always controlled after the completion of the preprocessing.

【0005】しかしながら、上記中間コードを生成しな
い印刷装置において、描画メモリの空き領域がない場
合、制御言語の解析処理は、描画メモリの空き待ち状態
となり、次の制御言語の解析処理ができなかった。
However, in a printing apparatus that does not generate the intermediate code, if there is no free space in the drawing memory, the control language analysis process is in a state of waiting for the free space in the drawing memory, and the next control language analysis process cannot be performed. .

【0006】また、中間コードを生成する印刷装置にお
いては、描画メモリが空いているにも関わらず、中間コ
ードを生成しファイルに格納するため、描画処理を実行
する際にファイルから中間コードを読み出すことにより
余分な時間がかかり、印刷スピードの高速化の障害とな
っていた。
In a printing apparatus for generating an intermediate code, the intermediate code is generated and stored in a file even though the drawing memory is available. Therefore, the intermediate code is read from the file when executing the drawing process. As a result, extra time is required, which is an obstacle to increasing the printing speed.

【0007】本発明は、上記の問題点を解消するために
なされたもので、印刷装置の状態を判別しながら転送す
る印刷情報を異なる種別で転送することにより、印刷装
置側での処理終了を待たずに、後続の印刷情報を印刷装
置側がそのまま出力できる形式のデータとして受信でき
るとともに、印刷情報の描画メモリの空き状況を判別し
て受信した制御言語を中間コードとして生成するか、ビ
ットマップデータとして生成するかを選択することによ
り、印刷装置の速度を向上できる印刷システムおよび印
刷システムに使用する印刷装置を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and transfers the print information to be transferred while discriminating the state of the printing apparatus in different types, thereby completing the processing on the printing apparatus side. Without waiting, the subsequent printing information can be received as data in a format that can be directly output by the printing apparatus, and the control language received by determining the free space of the drawing memory for the printing information can be generated as an intermediate code, or bitmap data can be generated. An object of the present invention is to provide a printing system capable of improving the speed of a printing apparatus by selecting whether to generate the printing apparatus, and a printing apparatus used in the printing system.

【0008】[0008]

【課題を解決するための手段】本発明に係る第1の印刷
システムは、情報を転送し印刷を行う印刷システムにお
いて、印刷装置の処理情報を判別する第1の判別手段
と、この第1の判別手段の判別結果に基づいて印刷装置
に対して異なる種別の印刷情報を選別して転送する転送
制御手段とを前記ホストコンピュータに設け、この転送
制御手段により転送される印刷情報の種別を判別する第
2の判別手段と、この第2の判別手段の判別結果に基づ
いて受信した印刷情報により異なるデータ処理を行うデ
ータ処理手段とを設けたものである。
A first printing system according to the present invention is a printing system for transferring information and performing printing, the first determining means for determining processing information of a printing apparatus, and the first printing means. Transfer control means for selecting and transferring different types of print information to the printing apparatus based on the determination result of the determination means is provided in the host computer, and the type of print information transferred by the transfer control means is determined. There is provided a second determining means and a data processing means for performing different data processing based on the print information received based on the result of the determination by the second determining means.

【0009】本発明に係る第2の印刷システムは、転送
制御手段は、第1の判別手段の判別結果に基づいて印刷
装置に対して所定の制御言語に基づく印刷情報または前
記所定の制御言語に基づいてビットマップ化された印刷
情報のいずれかを転送するように構成したものである。
[0009] In a second printing system according to the present invention, the transfer control means transmits print information based on a predetermined control language or the predetermined control language to the printing apparatus based on a determination result of the first determination means. It is configured to transfer any of the printing information bit-mapped based on the information.

【0010】本発明に係る第3の印刷システムは、所定
の制御言語に基づいてビットマップ化された印刷情報を
記憶する記憶手段をホストコンピュータに設けたもので
ある。
In a third printing system according to the present invention, storage means for storing printing information bit-mapped based on a predetermined control language is provided in a host computer.

【0011】本発明に係る印刷システムに使用する印刷
装置は、描画メモリに記憶されたビットマップデータに
基づいて印刷を行うプリンタエンジンと、ホストコンピ
ュータから転送される制御言語を解析する解析手段と、
この解析手段から出力される解析データに基づいてビッ
トマップデータを生成して描画メモリに格納する第1の
画像処理手段と、前記解析手段から出力される解析デー
タに基づいて中間コードを生成し、該生成された中間コ
ードに基づいて生成されるビットマップデータを前記描
画メモリに格納する第2の画像処理手段と、前記描画メ
モリの空き状況を判別して第1の画像処理手段または第
2の画像処理手段のいずれかを選択する選択手段とを有
するものである。
[0011] A printing apparatus used in the printing system according to the present invention includes a printer engine for performing printing based on bitmap data stored in a drawing memory, an analyzing means for analyzing a control language transferred from a host computer,
First image processing means for generating bitmap data based on the analysis data output from the analysis means and storing the generated bitmap data in a drawing memory; and generating an intermediate code based on the analysis data output from the analysis means; A second image processing means for storing bitmap data generated based on the generated intermediate code in the drawing memory; and a first image processing means or a second image processing means for judging an empty state of the drawing memory. Selecting means for selecting any of the image processing means.

【0012】[0012]

【作用】第1の発明においては、転送制御手段により第
1の判別手段の判別結果に基づいて選別された種別の印
刷情報を印刷装置に転送すると、第2の判別手段が転送
されてきた印刷情報の種別を判別し、該判別結果に基づ
いてデータ処理手段が受信した印刷情報により異なるデ
ータ処理を行うので、印刷装置の状態が処理中であって
も、印刷装置側でなされるべき印刷情報処理をホストコ
ンピュータ側で先行して処理することが可能となる。
In the first invention, when the transfer control means transfers the print information of the type selected based on the determination result of the first determination means to the printing apparatus, the second determination means transfers the print information transferred to the printing apparatus. Since the type of information is determined and different data processing is performed based on the print information received by the data processing means based on the determination result, even if the state of the printing apparatus is being processed, the printing information to be performed on the printing apparatus side The processing can be performed in advance by the host computer.

【0013】第2の発明においては、転送制御手段は、
第1の判別手段の判別結果に基づいて印刷装置に対して
所定の制御言語に基づく印刷情報または所定の制御言語
に基づいてビットマップ化された印刷情報のいずれかを
転送するので、印刷装置の状態が処理中であっても、印
刷装置側でなされるべきビットマップ処理をホストコン
ピュータ側で先行して行うことが可能となる。
In a second aspect, the transfer control means includes:
Since either the print information based on the predetermined control language or the print information bit-mapped based on the predetermined control language is transferred to the printing device based on the determination result of the first determination unit, the printing device Even if the status is "processing", the host computer can perform bitmap processing to be performed on the printing apparatus side in advance.

【0014】第3の発明においては、所定の制御言語に
基づいてビットマップ化された印刷情報がホストコンピ
ュータ側の記憶手段に記憶されているので、印刷装置が
待機状態となった時点で、記憶手段に蓄えられた印刷処
理可能なビットマップデータを直ぐに印刷装置に転送す
ることが可能となる。
According to the third aspect of the present invention, since the printing information bit-mapped based on the predetermined control language is stored in the storage means of the host computer, the printing information is stored when the printing apparatus enters a standby state. The printable bitmap data stored in the means can be immediately transferred to the printing apparatus.

【0015】第4の発明においては、選択手段が描画メ
モリの空き状況を判別して第1の画像処理手段または第
2の画像処理手段のいずれかを選択するので、描画メモ
リの空き状態に応じて印刷速度のより速い手段を選択し
て、可能な限り印刷処理可能なビットマップデータを描
画メモリに展開することが可能となる。
In the fourth invention, the selection means determines the availability of the drawing memory and selects either the first image processing means or the second image processing means. Thus, it is possible to select a means with a higher printing speed and develop bitmap data that can be printed as much as possible into the drawing memory.

【0016】[0016]

【実施例】【Example】

〔第1実施例〕図1は本発明の第1実施例を示す印刷シ
ステムの構成を説明するブロック図である。
[First Embodiment] FIG. 1 is a block diagram illustrating the configuration of a printing system according to a first embodiment of the present invention.

【0017】図において、1はホストコンピュータであ
り、印刷を行うための制御コードを編集する編集部1
1,編集された制御コードを解析し、ビットマップに展
開(ラスタライズ)する解析・ラスタライズ処理部1
2,ラスタライズデータを格納するハードディスク(H
D)13,印刷装置に制御コード、あるいはラスタライ
ズデータを転送する転送バッファ14等から構成されて
いる。
In the figure, reference numeral 1 denotes a host computer, which is an editing unit 1 for editing a control code for performing printing.
1. Analysis / rasterization processing unit 1 for analyzing the edited control code and developing (rasterizing) it into a bitmap
2. Hard disk for storing rasterized data (H
D) 13, a transfer buffer 14 for transferring control codes or rasterized data to the printing apparatus, and the like.

【0018】2は印刷装置であり、制御言語データ,ラ
スタライズデータを受信する受信バッファ21,受信し
たデータを判別するデータ判別部22,受信したデータ
が制御コードのとき解析,ラスタライズを行う解析処理
・ラスタライズ処理部23,ラスタライズデータをビデ
オデータに変換し、エンジンに転送するビデオデータ転
送部24,ビデオデータを受け取りプリント出力するエ
ンジン25から構成される。
Reference numeral 2 denotes a printing apparatus, a receiving buffer 21 for receiving control language data and rasterized data, a data discriminating unit 22 for discriminating the received data, and an analyzing process for analyzing and rasterizing when the received data is a control code. It comprises a rasterization processing unit 23, a video data transfer unit 24 that converts rasterized data into video data and transfers it to the engine, and an engine 25 that receives and prints out the video data.

【0019】この様に構成された印刷システムにおける
第1の発明においては、ホストコンピュータ1の判別結
果に基づいて選別された種別の印刷情報を印刷装置2に
転送すると、データ判別部22が転送されてきた印刷情
報の種別を判別し、該判別結果に基づいて解析・ラスタ
ライズ処理部23が受信した印刷情報により異なるデー
タ処理を行うので、印刷装置の状態が処理中であって
も、印刷装置側でなされるべき印刷情報処理をホストコ
ンピュータ側で先行して処理することが可能となる。
In the first aspect of the printing system configured as described above, when the printing information of the type selected based on the determination result of the host computer 1 is transferred to the printing apparatus 2, the data determining unit 22 is transferred. The analysis / rasterization processing unit 23 performs different data processing according to the received print information based on the determination result based on the type of the received print information. It is possible to process the print information to be performed by the host computer in advance.

【0020】第2の発明においては、ホストコンピュー
タ1は、印刷装置2の状態判別結果に基づいて印刷装置
2に対して所定の制御言語に基づく印刷情報または所定
の制御言語に基づいてビットマップ化された印刷情報の
いずれかを転送するので、印刷装置2の状態が処理中で
あっても、印刷装置2側でなされるべきビットマップ処
理をホストコンピュータ側で先行して行うことが可能と
なる。
In the second invention, the host computer 1 makes the printing device 2 print information based on a predetermined control language based on the result of the state determination of the printing device 2 or bitmaps the printing information based on the predetermined control language. Since any of the print information is transferred, even if the state of the printing apparatus 2 is being processed, the bit map processing to be performed by the printing apparatus 2 can be performed in advance by the host computer. .

【0021】第3の発明においては、所定の制御言語に
基づいてビットマップ化された印刷情報がホストコンピ
ュータ側のハードディスク(HD)13に記憶されてい
るので、印刷装置2が待機状態となった時点で、ハード
ディスク(HD)13に蓄えられた印刷処理可能なビッ
トマップデータを直ぐに印刷装置2に転送することが可
能となる。
In the third aspect, since the printing information bit-mapped based on the predetermined control language is stored in the hard disk (HD) 13 of the host computer, the printing apparatus 2 is in a standby state. At this point, the printable bitmap data stored in the hard disk (HD) 13 can be transferred to the printing device 2 immediately.

【0022】以下、図2に示すフローチャートを参照し
ながら本発明に係る印刷システムにおけるホストコンピ
ュータ側の処理動作について説明する。
Hereinafter, the processing operation on the host computer side in the printing system according to the present invention will be described with reference to the flowchart shown in FIG.

【0023】図2は、図1に示した印刷システムのホス
トコンピュータにおける処理手順の一例を示すフローチ
ャートである。なお、(1)〜(8)は各ステップを示
す。
FIG. 2 is a flowchart showing an example of a processing procedure in the host computer of the printing system shown in FIG. (1) to (8) indicate each step.

【0024】ホストコンピュータにおいては、アプリケ
ーションソフト等により制御コードを編集し印刷を要求
する(1)と、先ず、印刷装置2の状態を知るため印刷
装置2に状態転送要求を出力する(2)。次いで、返信
されたステータスが処理中(busy中)かどうかを判
定し(3)、処理中(busy中)の場合、制御コード
の解析およびラスタライズ処理を行い、ラスタライズデ
ータをハードディスク(HD)13に格納する(4)。
次いで、再び印刷装置2に状態転送要求を出力し
(5)、返信されたステータスが処理中(busy中)
かどうかを判定し(6)、印刷装置2が処理中でない状
態(ready状態)ならば、ハードディスク(HD)
13からラスタライズデータを転送バッファ14に読み
出し、印刷装置2に転送する(17)。
When the host computer edits the control code by application software or the like and requests printing (1), first, it outputs a status transfer request to the printing device 2 to know the status of the printing device 2 (2). Next, it is determined whether the returned status is processing (busy) (3). If the status is processing (busy), the control code is analyzed and rasterized, and the rasterized data is transferred to the hard disk (HD) 13. It is stored (4).
Next, a status transfer request is output to the printing device 2 again (5), and the returned status is processing (busy).
(6), and if the printing apparatus 2 is not processing (ready state), the hard disk (HD)
The rasterized data is read from the transfer buffer 13 to the transfer buffer 14 and transferred to the printer 2 (17).

【0025】一方、ステップ(3)の判定において、印
刷装置2が処理中でないと判定された場合には、制御コ
ードを転送バッファから印刷装置2に転送して(8)処
理を終了する。
On the other hand, if it is determined in step (3) that the printing device 2 is not in process, the control code is transferred from the transfer buffer to the printing device 2 and the process (8) is completed.

【0026】以下図3に示すフローチャートを参照しな
がら本発明に係る印刷システムにおける印刷装置側の処
理動作について説明する。
The processing operation of the printing apparatus in the printing system according to the present invention will be described below with reference to the flowchart shown in FIG.

【0027】図3は、図1に示した印刷システムの印刷
装置における処理手順の一例を示すフローチャートであ
る。なお、(1)〜(7)は各ステップを示す。
FIG. 3 is a flowchart showing an example of a processing procedure in the printing apparatus of the printing system shown in FIG. Note that (1) to (7) indicate each step.

【0028】印刷装置2においては、受信バッファ21
がデータを受信すると(1)、データ判別部22におい
て、受信データが状態転送要求かそれとも制御コードか
どうかの判別を行う(2),(4)。この判別で受信デ
ータが状態転送要求と判定された場合には、印刷装置2
の状態(ステータス)をホストコンピュータ1に送り
(3)、ステップ(1)に戻る。
In the printing apparatus 2, the reception buffer 21
Receives the data (1), the data determination unit 22 determines whether the received data is a state transfer request or a control code (2), (4). If the received data is determined to be a state transfer request in this determination, the printing device 2
Is sent to the host computer 1 (3), and the process returns to step (1).

【0029】一方、ステップ(4)の判定で、受信デー
タが制御コードと判定された場合には、解析・ラスタラ
イズ処理を行い(5)、ラスタライズデータをビデオデ
ータに変換し、エンジン25に転送する(6)。次い
で、プリント出力して(7)、ステップ(1)に戻る。
On the other hand, if it is determined in step (4) that the received data is a control code, analysis / rasterization processing is performed (5), and the rasterized data is converted to video data and transferred to the engine 25. (6). Next, print out is performed (7), and the process returns to step (1).

【0030】なお、ホスト側で解析・ラスタライズ処理
を行う場合、ラスタライズデータを圧縮して印刷装置2
に転送して、転送時間を短縮するように構成してもよ
い。
When performing analysis and rasterization processing on the host side, the rasterized data is compressed and
And the transfer time may be shortened.

【0031】また、印刷装置側で解析・ラスタライズ処
理を行う場合の処理時間と、ホスト側で解析・ラスタラ
イズ処理を行い、ラスタライズデータを転送する時間を
それぞれ予測し、これを比較し、該比較の結果プリント
出力に時間がかからない方において、解析・ラスタライ
ズ処理を行うことにより、より短い時間プリント出力す
るように構成してもよい。 〔第2実施例〕図4は本発明の第2実施例を示す印刷シ
ステムにおける印刷装置の構成を説明するブロック図で
ある。
Also, the processing time for performing the analysis / rasterization processing on the printing apparatus side and the time for performing the analysis / rasterization processing on the host side and transferring the rasterized data are predicted and compared. If the result printout does not take much time, the printout may be performed in a shorter time by performing the analysis and rasterization processing. [Second Embodiment] FIG. 4 is a block diagram illustrating the configuration of a printing apparatus in a printing system according to a second embodiment of the present invention.

【0032】図において、2は印刷装置で、該印刷装置
のタスクは、大別してタスク110,120,130か
ら構成されている。また、該タスクは、図示しないオペ
レーティングシステム(OS)によって管理され、非同
期に動作する。以下各タスクの動作について説明する。
In the figure, reference numeral 2 denotes a printing apparatus, and the tasks of the printing apparatus are roughly divided into tasks 110, 120, and 130. The task is managed by an operating system (OS) (not shown) and operates asynchronously. The operation of each task will be described below.

【0033】このように構成された印刷装置において、
制御言語解析部111が描画メモリ118の空き状況を
判別してラスタライズ部112または中間コード生成部
113のいずれかを選択するので、描画メモリ118の
空き状態に応じてより印刷速度の速い手段を選択して、
可能な限り印刷処理可能なビットマップデータを描画メ
モリ118に展開することが可能となる。本実施例で
は、タスク管理を行うOSにより、上記処理が制御され
ている。
In the printing apparatus configured as described above,
Since the control language analysis unit 111 determines the availability of the drawing memory 118 and selects either the rasterizing unit 112 or the intermediate code generation unit 113, a unit with a higher printing speed is selected according to the availability of the drawing memory 118. do it,
Bitmap data that can be printed as much as possible can be developed in the drawing memory 118. In this embodiment, the above processing is controlled by the OS that performs task management.

【0034】なお、各タスク動作は、描画メモリ118
の空き情報を示す描画メモリフラグ114(初期状態は
空き状態を示す(フラグがOFFの状態)),前に解析
されたデータが中間コード生成部113において処理中
かあるいは中間コード生成部113で処理され、中間コ
ードがファイル117に格納されているかどうかを示す
中間コードフラグ115(初期状態は中間コード生成中
でないときか、あるいは中間コードがファイルに格納さ
れていないときの状態を示す(フラグがOFFの状
態)),ファイル117に格納された中間コードを管理
するファイルテーブル116,描画メモリ118内のビ
ットマップデータを管理する描画テーブル119の情報
を、それぞれのタスクにおいて書き込み、あるいは読み
込みを行うことによって決定する。
Each task operation is performed by the drawing memory 118.
The drawing memory flag 114 indicating the empty information of the data (the initial state indicates the empty state (the flag is OFF)), the data analyzed before is being processed by the intermediate code generation unit 113 or is processed by the intermediate code generation unit 113 The intermediate code flag 115 indicates whether the intermediate code is stored in the file 117 (the initial state indicates that the intermediate code is not being generated or the intermediate code is not stored in the file (the flag is OFF). State)), by writing or reading the information of the file table 116 for managing the intermediate code stored in the file 117 and the drawing table 119 for managing the bitmap data in the drawing memory 118 in each task. decide.

【0035】先ず、タスク110には、ホストから送出
されてきた制御コードを解析する制御言語解析部11
1,描画メモリフラグ114がOFFで、かつ中間コー
ドフラグ115がOFFのとき、制御言語解析部111
で解析されたデータを描画メモリ118にビットマップ
展開し、同時に格納したアドレスを描画テーブル119
に登録するラスタライズ部112,描画メモリフラグ1
14がONであるかどうかを、あるいは中間コードフラ
グ115がONの時、制御言語解析部111で解析され
たデータを中間コードに変換する中間コード生成部11
3がある。生成された中間コードは、ファイルテーブル
116に登録後、ファイル117に格納される。
First, the task 110 includes a control language analysis unit 11 for analyzing a control code sent from the host.
1. When the drawing memory flag 114 is OFF and the intermediate code flag 115 is OFF, the control language analysis unit 111
The data analyzed in step (1) is developed into a bitmap in the drawing memory 118, and the addresses stored at the same time are stored in the drawing table 119.
Rasterizing unit 112 to be registered in the drawing memory flag 1
14 is ON, or when the intermediate code flag 115 is ON, the intermediate code generation unit 11 converts the data analyzed by the control language analysis unit 111 into an intermediate code.
There are three. After the generated intermediate code is registered in the file table 116, it is stored in the file 117.

【0036】また、タスク120には、描画メモリフラ
グ114がOFFになったとき、ファイルデータにおい
て検索を行い、最も早くファイル117に格納された中
間コードを読み出し、その中間コードの解析を行い、描
画処理によって描画メモリ118にビットマップ展開
し、ビットマップデータを格納したアドレスを描画テー
ブル119に登録する中間コード解析部121がある。
When the drawing memory flag 114 is turned off, the task 120 searches the file data, reads out the intermediate code stored in the file 117 at the earliest time, analyzes the intermediate code, and performs drawing. There is an intermediate code analyzer 121 that develops a bitmap in the drawing memory 118 by processing and registers the address where the bitmap data is stored in the drawing table 119.

【0037】さらに、タスク130には、描画メモリ1
18にあるビットマップデータをビデオデータに変換
し、ビデオデータをエンジン140に転送するビデオデ
ータ転送部131がある。なお、エンジン140は、ビ
デオデータを受け取りプリント出力する。
Further, the task 130 includes the drawing memory 1
There is a video data transfer unit 131 that converts the bitmap data at 18 into video data and transfers the video data to the engine 140. The engine 140 receives and prints out the video data.

【0038】以下、図5〜図7を参照しながら印刷装置
2における各タスク110,120,130の処理動作
について説明する。
Hereinafter, the processing operation of each of the tasks 110, 120, and 130 in the printing apparatus 2 will be described with reference to FIGS.

【0039】図5は、図4に示した印刷装置2における
タスク110の処理手順の一例を示すフローチャートで
ある。なお、(1)〜(10)は各ステップを示す。
FIG. 5 is a flowchart showing an example of the processing procedure of the task 110 in the printing apparatus 2 shown in FIG. Note that (1) to (10) indicate each step.

【0040】先ず、電源を入れた時に描画メモリフラグ
114,中間コードフラグ115をOFFする(1)。
また、ホストコンピュータから制御コードを受信する
と、制御言語解析部111において制御言語を解析する
(2)。制御言語解析部111は描画メモリフラグ11
4を見て、該フラグがON(描画メモリ118の空きが
無い状態であり、ラスタライズ処理できない)であるか
どうか、あるいは中間コードフラグ115を見て、該フ
ラグがON(前に受信したデータのラスタライズ処理が
終了していない)であるかどうかを判定し(3)、YE
Sならば中間コードフラグ115をONにして(4)、
中間コード生成部113において、解析データを中間コ
ードに変換して(5)、ファイルテーブル116に登録
してから(6)、ファイル117に格納して(7)、ス
テップ(2)に戻る。
First, when the power is turned on, the drawing memory flag 114 and the intermediate code flag 115 are turned off (1).
When the control code is received from the host computer, the control language is analyzed by the control language analysis unit 111 (2). The control language analysis unit 111 stores the drawing memory flag 11
4 to see if the flag is ON (the drawing memory 118 is full and the rasterization process cannot be performed) or if the intermediate code flag 115 is It is determined whether or not the rasterizing process has not been completed (3).
If S, the intermediate code flag 115 is turned ON (4),
The intermediate code generator 113 converts the analysis data into an intermediate code (5), registers it in the file table 116 (6), stores it in the file 117 (7), and returns to step (2).

【0041】一方、ステップ(3)の判定において、描
画メモリフラグ114,中間コードフラグ115がとも
にOFFと判定された場合には、解析データをそのまま
ラスタライズ部112においてビットマップに展開し、
描画メモリ118に格納するとともに、格納したアドレ
スを描画テーブル119に登録する(8)。次いで、描
画メモリ118に空きがあるかどうかを判定し(9)、
空きがない時は、描画メモリフラグ114をONにして
(10)、ステップ(2)に戻って、データの受信待ち
状態となる。
On the other hand, if it is determined in step (3) that both the drawing memory flag 114 and the intermediate code flag 115 are OFF, the analysis data is directly developed into a bit map by the rasterizing unit 112, and
The address is stored in the drawing memory 118 and the stored address is registered in the drawing table 119 (8). Next, it is determined whether there is a free space in the drawing memory 118 (9),
If there is no free space, the drawing memory flag 114 is turned on (10), and the process returns to step (2) to wait for data reception.

【0042】図6は、図4に示した印刷装置2における
タスク120の処理手順の一例を示すフローチャートで
ある。なお、(1)〜(10)は各ステップを示す。
FIG. 6 is a flowchart showing an example of the processing procedure of the task 120 in the printing apparatus 2 shown in FIG. Note that (1) to (10) indicate each step.

【0043】タスク120においては、常にファイルテ
ーブル116を監視して、中間コードが登録されている
かどうかを判定し(1)、NOならばステップ(1)に
戻り、YESならばさらに、描画メモリフラグ114が
ON状態かどうかを判定して(2)、YESならばステ
ップ(1)に戻り、NOならば(描画メモリフラグ11
4がOFF状態と判定された場合)、ファイル117か
ら中間コードを読み込むと同時に、ファイル117から
中間コードを消去し、さらにファイルテーブル116か
ら削除する(3)。そして、読み込まれた中間コードを
解析し、描画処理を行い、描画メモリ118にビットマ
ップに展開するとともに、格納したアドレスを描画テー
ブル119に登録する(4)。
In the task 120, the file table 116 is constantly monitored to determine whether or not an intermediate code is registered (1). If NO, the process returns to the step (1). It is determined whether or not 114 is in the ON state (2). If YES, the process returns to step (1). If NO, (drawing memory flag 11
4 is determined to be in the OFF state), the intermediate code is read from the file 117, the intermediate code is deleted from the file 117, and further deleted from the file table 116 (3). Then, the read intermediate code is analyzed, a drawing process is performed, the bitmap is developed in the drawing memory 118, and the stored address is registered in the drawing table 119 (4).

【0044】次いで、描画メモリ118に空きがあるか
どうかを判定し(5)、NOならばステップ(7)以降
に進み、YESならば描画メモリフラグ114をOFF
する(6)。すなわち、空きがない時は、描画メモリフ
ラグ114をONにする。
Next, it is determined whether or not there is a free space in the drawing memory 118 (5). If NO, the process proceeds to step (7). If YES, the drawing memory flag 114 is turned off.
(6). That is, when there is no free space, the drawing memory flag 114 is turned on.

【0045】次いで、ファイルテーブル116を見て中
間コードがファイル117に無いかどうかを判定し
(7)、NOならばステップ(1)に戻り、YESなら
ば中間コードフラグ115をOFFとして(8)、ステ
ップ(1)に戻って、再度ファイルテーブル116の監
視を開始する。
Next, it is determined whether or not the intermediate code exists in the file 117 by referring to the file table 116 (7). If NO, the process returns to the step (1). If YES, the intermediate code flag 115 is turned OFF (8). Then, the process returns to step (1), and monitoring of the file table 116 is started again.

【0046】図7は、図4に示した印刷装置2における
タスク130の処理手順の一例を示すフローチャートで
ある。なお、(1)〜(4)は各ステップを示す。
FIG. 7 is a flowchart showing an example of the processing procedure of the task 130 in the printing apparatus 2 shown in FIG. Note that (1) to (4) show each step.

【0047】タスク130においては、描画テーブル1
19を常時監視し、描画テーブル119に描画テーブル
が(ビットマップ)登録されているかどうかを判定し
(1)、NOならばステップ(1)に戻り、描画テーブ
ル119を常時監視し、YESならば描画データを格納
している描画メモリ118のアドレスを描画テーブル1
19から取得し、そのアドレスのビットマップデータを
ビデオデータに変換し、エンジン140に転送する
(2)。該転送後、描画メモリ118を解放し、描画テ
ーブル119から該アドレスを削除する。次いで、描画
メモリ118に空き領域ができるので、描画メモリフラ
グ114をOFFとする(3)。次いで、エンジン14
0からプリント出力し(4)、ステップ(1)に戻っ
て、再度描画テーブル119の監視を開始する。
In task 130, drawing table 1
19 is constantly monitored to determine whether the drawing table is registered (bitmap) in the drawing table 119 (1). If NO, the process returns to step (1), and the drawing table 119 is constantly monitored. The address of the drawing memory 118 storing the drawing data is stored in the drawing table 1
19, the bitmap data of the address is converted into video data, and transferred to the engine 140 (2). After the transfer, the drawing memory 118 is released, and the address is deleted from the drawing table 119. Next, since a free area is left in the drawing memory 118, the drawing memory flag 114 is turned off (3). Next, the engine 14
The printout is started from 0 (4), and the process returns to step (1) to start monitoring the drawing table 119 again.

【0048】なお、上記実施例では、中間コードを必ず
ファイル117に格納するため、書込み時間と読込み時
間が無駄となるので、あらかじめメモリ領域を確保し
て、メモリ領域が空いている時は、中間コードをメモリ
に格納することにより、ファイルアクセスによる処理速
度の低下を防止するように構成してもよい。
In the above embodiment, since the intermediate code is always stored in the file 117, the writing time and the reading time are wasted. Therefore, a memory area is reserved in advance, and when the memory area is empty, By storing the code in the memory, the processing speed may be prevented from lowering due to the file access.

【0049】また、処理時間のかからないデータを多く
転送する場合には、パネルによる操作で、強制的に中間
コードを生成せず、制御コード解析後、解析データをラ
スタライズするように構成してもよい。
When transferring a large amount of data that does not require a long processing time, the intermediate data may not be forcibly generated by the operation of the panel, and the analysis data may be rasterized after analyzing the control code. .

【0050】[0050]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、転送制御手段により第1の判別手段の
判別結果に基づいて選別された種別の印刷情報を印刷装
置に転送すると、第2の判別手段が転送されてきた印刷
情報の種別を判別し、該判別結果に基づいてデータ処理
手段が受信した印刷情報により異なるデータ処理を行う
ので、印刷装置の状態が処理中であっても、印刷装置側
でなされるべき印刷情報処理をホストコンピュータ側で
先行して処理することができる。
As described above, the first embodiment according to the present invention is described.
According to the invention, when the transfer control unit transfers the print information of the type selected based on the determination result of the first determination unit to the printing apparatus, the second determination unit determines the type of the transferred print information. Since the data processing means performs different data processing based on the print information received by the data processing means based on the determination result, the host computer can perform printing information processing to be performed on the printing apparatus side even when the state of the printing apparatus is being processed. Can be processed first by the side.

【0051】第2の発明によれば、転送制御手段は、第
1の判別手段の判別結果に基づいて印刷装置に対して所
定の制御言語に基づく印刷情報または所定の制御言語に
基づいてビットマップ化された印刷情報のいずれかを転
送するので、印刷装置の状態が処理中であっても、印刷
装置側でなされるべきビットマップ処理をホストコンピ
ュータ側で先行して行うことができる。
According to the second aspect of the present invention, the transfer control means controls the printing apparatus based on the determination result of the first determination means to print information based on a predetermined control language or a bit map based on a predetermined control language. Since any of the converted print information is transferred, even if the state of the printing apparatus is being processed, the bit map processing to be performed on the printing apparatus side can be performed on the host computer side in advance.

【0052】第3の発明によれば、所定の制御言語に基
づいてビットマップ化された印刷情報がホストコンピュ
ータ側の記憶手段に記憶されているので、印刷装置が待
機状態となった時点で、記憶手段に蓄えられた印刷処理
可能なビットマップデータを直ぐに印刷装置に転送する
ことができる。
According to the third aspect, the printing information bit-mapped based on the predetermined control language is stored in the storage means on the host computer side. The printable bitmap data stored in the storage means can be immediately transferred to the printing apparatus.

【0053】第4の発明によれば、選択手段が描画メモ
リの空き状況を判別して第1の画像処理手段または第2
の画像処理手段のいずれかを選択するので、描画メモリ
の空き状態に応じて印刷速度のより速い手段を選択し
て、可能な限り印刷処理可能なビットマップデータを描
画メモリに展開することができる。
According to the fourth aspect, the selecting means determines the vacant state of the drawing memory and determines whether the first image processing means or the second image processing means is free.
Of the image processing means, a means having a higher printing speed can be selected according to the available state of the drawing memory, and bitmap data that can be subjected to print processing can be developed in the drawing memory as much as possible. .

【0054】従って、印刷システムにおける印刷装置の
印刷速度を、印刷システムまたは印刷装置の資源を有効
に利用して、従来に比べて印刷処理効率を格段に向上さ
せることができるという効果を奏する。
Accordingly, the printing speed of the printing apparatus in the printing system can be effectively used, and the resources of the printing system or the printing apparatus can be effectively used, so that the printing processing efficiency can be significantly improved as compared with the related art.

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

【図1】本発明の第1実施例を示す印刷システムの構成
を説明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printing system according to a first exemplary embodiment of the present invention.

【図2】図1に示した印刷システムのホストコンピュー
タにおける処理手順の一例を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating an example of a processing procedure in a host computer of the printing system illustrated in FIG. 1;

【図3】図1に示した印刷システムの印刷装置における
処理手順の一例を示すフローチャートである。
FIG. 3 is a flowchart illustrating an example of a processing procedure in a printing apparatus of the printing system illustrated in FIG. 1;

【図4】本発明の第2実施例を示す印刷システムにおけ
る印刷装置の構成を説明するブロック図である。
FIG. 4 is a block diagram illustrating a configuration of a printing apparatus in a printing system according to a second embodiment of the present invention.

【図5】図4に示した印刷装置におけるタスクの処理手
順の一例を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of a processing procedure of a task in the printing apparatus illustrated in FIG. 4;

【図6】図4に示した印刷装置におけるタスクの処理手
順の一例を示すフローチャートである。
FIG. 6 is a flowchart illustrating an example of a processing procedure of a task in the printing apparatus illustrated in FIG. 4;

【図7】図4に示した印刷装置におけるタスクの処理手
順の一例を示すフローチャートである。
FIG. 7 is a flowchart illustrating an example of a processing procedure of a task in the printing apparatus illustrated in FIG. 4;

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

1 ホストコンピュータ 2 印刷装置 11 編集部 12 解析・ラスタライズ処理部 13 ハードディスク 14 転送バッファ 21 受信バッファ 22 データ判別部 23 解析・ラスタライズ処理部 24 ビデオデータ転送部 25 エンジン Reference Signs List 1 host computer 2 printing device 11 editing unit 12 analysis / rasterization processing unit 13 hard disk 14 transfer buffer 21 reception buffer 22 data discrimination unit 23 analysis / rasterization processing unit 24 video data transfer unit 25 engine

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印刷装置とホストコンピュータとが通信
して印刷情報を転送し印刷を行う印刷システムにおい
て、印刷装置の処理情報を判別する第1の判別手段と、
この第1の判別手段の判別結果に基づいて印刷装置に対
して異なる種別の印刷情報を選別して転送する転送制御
手段とを前記ホストコンピュータに設け、この転送制御
手段により転送される印刷情報の種別を判別する第2の
判別手段と、この第2の判別手段の判別結果に基づいて
受信した印刷情報により異なるデータ処理を行うデータ
処理手段とを設けたことを特徴とする印刷システム。
A first determining unit that determines processing information of a printing apparatus in a printing system in which a printing apparatus communicates with a host computer to transfer print information and perform printing;
Transfer control means for selecting and transferring different types of print information to the printing apparatus based on the determination result of the first determination means is provided in the host computer, and the transfer information of the print information transferred by the transfer control means is provided. A printing system comprising: a second determination unit that determines a type; and a data processing unit that performs different data processing based on print information received based on a determination result of the second determination unit.
【請求項2】 転送制御手段は、第1の判別手段の判別
結果に基づいて印刷装置に対して所定の制御言語に基づ
く印刷情報または前記所定の制御言語に基づいてビット
マップ化された印刷情報のいずれかを転送することを特
徴とする請求項1記載の印刷システム。
And a transfer control unit configured to print information based on a predetermined control language based on a result of the determination by the first determination unit or print information that is bit-mapped based on the predetermined control language. The printing system according to claim 1, wherein any one of the following is transferred.
【請求項3】 所定の制御言語に基づいてビットマップ
化された印刷情報を記憶する記憶手段をホストコンピュ
ータに設けたことを特徴とする請求項1記載の印刷シス
テム。
3. The printing system according to claim 1, wherein storage means for storing print information bit-mapped based on a predetermined control language is provided in the host computer.
【請求項4】 描画メモリに記憶されたビットマップデ
ータに基づいて印刷を行うプリンタエンジンと、ホスト
コンピュータから転送される制御言語を解析する解析手
段と、この解析手段から出力される解析データに基づい
てビットマップデータを生成して描画メモリに格納する
第1の画像処理手段と、前記解析手段から出力される解
析データに基づいて中間コードを生成し、該生成された
中間コードに基づいて生成されるビットマップデータを
前記描画メモリに格納する第2の画像処理手段と、前記
描画メモリの空き状況を判別して第1の画像処理手段ま
たは第2の画像処理手段のいずれかを選択する選択手段
とを有することを特徴する印刷システムに使用する印刷
装置。
4. A printer engine for performing printing based on bitmap data stored in a drawing memory, an analyzing means for analyzing a control language transferred from a host computer, and an analyzing means for analyzing a control language transmitted from the analyzing means. First image processing means for generating bitmap data and storing the generated bitmap data in a drawing memory; and generating an intermediate code based on the analysis data output from the analysis means, and generating the intermediate code based on the generated intermediate code. Second image processing means for storing bitmap data to be stored in the drawing memory, and selecting means for determining whether the drawing memory is free and selecting either the first image processing means or the second image processing means. And a printing apparatus for use in a printing system.
JP5216476A 1993-08-31 1993-08-31 Printing system and printing device used in the printing system Expired - Fee Related JP3037537B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5216476A JP3037537B2 (en) 1993-08-31 1993-08-31 Printing system and printing device used in the printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5216476A JP3037537B2 (en) 1993-08-31 1993-08-31 Printing system and printing device used in the printing system

Publications (2)

Publication Number Publication Date
JPH0764736A JPH0764736A (en) 1995-03-10
JP3037537B2 true JP3037537B2 (en) 2000-04-24

Family

ID=16689045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5216476A Expired - Fee Related JP3037537B2 (en) 1993-08-31 1993-08-31 Printing system and printing device used in the printing system

Country Status (1)

Country Link
JP (1) JP3037537B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5392153B2 (en) 2010-03-11 2014-01-22 コニカミノルタ株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JPH0764736A (en) 1995-03-10

Similar Documents

Publication Publication Date Title
US5371873A (en) Image data processing terminal equipment coupled to an external device allowing independent use of memory area by the external device
JP4109821B2 (en) Information processing apparatus and job processing result confirmation method
US7061654B2 (en) Image processor, image processing method and storage medium
JPH10222319A (en) Printing device and printing control method
JP2004341728A (en) Printer, printing system and cancellation method
JP3037537B2 (en) Printing system and printing device used in the printing system
JP4072286B2 (en) Output control device, control method, storage medium
JPH09107426A (en) Print controller, printer, print job processing method for print controller
JP2001243026A (en) Image forming device, system and method for transferring image data and storage medium
JP2001043052A (en) Host device, printer and printer system
JP3230516B2 (en) Printer, recording medium and printer memory management method
JP3610194B2 (en) Print control apparatus, print control method, and storage medium storing computer-readable program
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JPH09212315A (en) Network printer
JP3715765B2 (en) Band memory size determination method and recording medium
JP3046478B2 (en) Printing apparatus and printing method
JP3840002B2 (en) Information processing apparatus, print control apparatus, print control method, and storage medium storing computer-readable program
JPH11175273A (en) Image processing system, its method and storage medium
JP3174771B2 (en) Image forming device
JP2000181644A (en) Image processor, control method therefor, printer and recording medium
US20040263904A1 (en) Method and apparatus for processing print data
JP3867186B2 (en) Printing system
JP2707963B2 (en) Printing system
JP2002370409A (en) Print system, print control method, program and storage medium
JP3902854B2 (en) Data processing apparatus, data processing method, and storage medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080225

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130225

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees