JPH113184A - Print controller, print control method and storage medium in which program readable by computer is stored - Google Patents

Print controller, print control method and storage medium in which program readable by computer is stored

Info

Publication number
JPH113184A
JPH113184A JP9154874A JP15487497A JPH113184A JP H113184 A JPH113184 A JP H113184A JP 9154874 A JP9154874 A JP 9154874A JP 15487497 A JP15487497 A JP 15487497A JP H113184 A JPH113184 A JP H113184A
Authority
JP
Japan
Prior art keywords
data
error
predetermined
control
control command
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
JP9154874A
Other languages
Japanese (ja)
Inventor
Kiyohiro Tsunekawa
清宏 恒川
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 JP9154874A priority Critical patent/JPH113184A/en
Publication of JPH113184A publication Critical patent/JPH113184A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the burden of error processing when a plotting object is generated and to efficiently process transferred print data by providing the printer with information capable of discriminating a data conversion processing error at a side of a printer when a data conversion processing of data to be transferred to the printer is performed and enabling the printer to select a generation processing of different kinds of plotting objects according to the information. SOLUTION: The occurrence of the error accompanied with a specified data conversion processing is judged in advance by a printer driver 213 of a host computer 200 and a control command capable of discriminating a control command to restrict the execution of the specified data conversion processing to generate the same error and other control commands is outputted to the printer 100. In addition, the plotting object of a first form to which the specified data conversion processing is performed is generated by analyzing the received control command by a plotting object generation part 203a. Consequently, the control command is efficiently generated as the plotting object of the first form.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、所定の通信媒体を
介して印刷装置と通信可能なあるいは所定の通信媒体を
介してデータ処理装置と通信可能な印刷制御装置および
印刷制御方法およびコンピュータが読み出し可能なプロ
グラムを格納した記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control apparatus, a print control method, and a computer which can communicate with a printing apparatus via a predetermined communication medium or with a data processing apparatus via a predetermined communication medium. The present invention relates to a storage medium storing a possible program.

【0002】[0002]

【従来の技術】従来、出力制御装置において、ホスト側
のプリンタドライバからページ記述言語などで記述され
た印刷コマンドを受信・解釈し、前記印刷コマンドに対
応するラスタ画像を生成してプリンタエンジンに出力す
る場合において、ビットのON/OFFによってイメー
ジ画像やフォントパターンを表現したビットマップデー
タを受信し、一旦、RAMなどの記憶手段に登録した
後、ラスタ画像を出力するための描画処理、すなわち中
間コード(以下、描画オブジェクトと呼ぶ)への変換処
理を行えるようになっている。
2. Description of the Related Art Conventionally, an output control device receives and interprets a print command described in a page description language or the like from a host-side printer driver, generates a raster image corresponding to the print command, and outputs the raster image to a printer engine. In this case, bitmap data expressing an image image or a font pattern is received by ON / OFF of a bit, and is temporarily registered in a storage device such as a RAM, and then is subjected to a drawing process for outputting a raster image, that is, an intermediate code. (Hereinafter, referred to as a drawing object).

【0003】このような画像出力装置では、RAMの使
用効率を高めるために、前記ビットマップデータに対し
て圧縮処理を施した後、前記登録処理を行い、前記圧縮
形式のビットマップデータを描画オブジェクトとして処
理できるように構成されている場合が多い。
In such an image output device, in order to increase the efficiency of use of the RAM, after performing a compression process on the bitmap data, the registration process is performed, and the bitmap data in the compression format is converted into a drawing object. It is often configured to be able to process as.

【0004】一方、ホストコンピュータ上で動作するア
プリケーションの印刷指示に従ってページ記述言語で記
述された印刷コマンドを出力するコマンド出力手段(例
えばプリンタドライバ)においては、転送処理に要する
時間を短縮することを主な目的として、圧縮形式のビッ
トマップデータのサイズをできる限り小さく抑えるよう
に圧縮処理を行い、圧縮形式のビットマップデータとし
て出力するように構成されている場合がある。
On the other hand, command output means (for example, a printer driver) for outputting a print command described in a page description language in accordance with a print instruction of an application running on a host computer mainly reduces the time required for transfer processing. As a special purpose, there is a case where the compression processing is performed so as to keep the size of the compression format bitmap data as small as possible, and the compressed bitmap data is output as the compression format bitmap data.

【0005】当然、上記の場合、接続される画像出力装
置は、上記圧縮形式の印刷コマンドを受信・解釈可能な
ように構成されているのはもちろんである。
Of course, in the above case, it is needless to say that the connected image output apparatus is configured to be able to receive and interpret the print command in the compressed format.

【0006】また、上記コマンド出力手段においては、
圧縮処理を行った後のデータサイズが圧縮前のビットマ
ップデータのサイズよりも大きくなった場合や、該圧縮
形式では表現不可能なビットマップデータを圧縮しよう
とした場合(以下、圧縮処理においてエラーが発生した
場合と説明する)には、圧縮前のビットマップデータの
まま、印刷コマンドとして出力するように構成されてい
る場合が一般的である。
In the above command output means,
When the data size after the compression process is larger than the size of the bitmap data before the compression process, or when an attempt is made to compress bitmap data that cannot be expressed by the compression format (hereinafter, error in the compression process) Is described), it is general that the bit map data before compression is output as a print command as it is.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来例では以下に説明するような問題点があった。すなわ
ち、前記コマンド出力手段において圧縮処理を行った際
に、従来例で述べたようなエラーが発生し、圧縮前のビ
ットマップデータを出力する場合であっても、前記画像
出力装置において、再度、同様の圧縮処理を実行してし
まい、描画オブジェクトの生成処理に時間がかかってし
まう場合があった。
However, the above conventional example has the following problems. That is, when the command output unit performs the compression process, an error occurs as described in the conventional example, and even when the bitmap data before compression is output, the image output device again performs In some cases, similar compression processing is performed, and it takes time to generate a drawing object.

【0008】すなわち、非圧縮/圧縮の両形式のビット
マップデータを受信して解釈可能で、かつ非圧縮形式の
ビットマップデータに対して圧縮処理を行うようにも構
成された画像出力装置では、コマンド出力手段による圧
縮時にエラーが発生したために非圧縮形式のビットマッ
プデータが入力されたのか、一度も圧縮処理を行わない
ままビットマップデータとして入力されたのかどうかが
判別できないため、再度、前記コマンド出力手段と同様
の圧縮処理を行ってしまう。
That is, in an image output apparatus capable of receiving and interpreting both non-compressed / compressed bitmap data and performing compression processing on the non-compressed bitmap data, It is not possible to determine whether uncompressed bitmap data was input due to an error during compression by the command output means, or was input as bitmap data without performing any compression processing. The same compression processing as the output means is performed.

【0009】このため、再度圧縮処理におけるエラーが
発生してしまうという問題があり、不必要な圧縮処理に
よる処理時間が増大していた。
Therefore, there is a problem that an error occurs again in the compression processing, and the processing time for unnecessary compression processing is increased.

【0010】特に、ページ記述言語を出力・解釈する画
像出力システムに対する処理要求は、近年、ますます複
雑化しており、イメージ画像以外にフォントパターンな
ど、様々なリソースがビットマップデータとして処理さ
れる場合が増加しており、上記で述べたような問題点を
解決することが求められていた。
In particular, processing requirements for an image output system that outputs and interprets a page description language have become more and more complicated in recent years, and various resources such as font patterns other than image images are processed as bitmap data. Has been increasing, and it has been demanded to solve the problems described above.

【0011】本発明は、上記の問題点を解消するために
なされたもので、本発明の目的は、印刷装置に転送すべ
きデータに所定のデータ変換処理を施す際に、データ処
理変換エラーの発生を確認して、転送すべきデータに対
する印刷装置側のデータ変換処理エラーを識別可能な情
報を印刷装置に通知し、該通知した情報に応じて種別の
異なる描画オブジェクトの生成処理を選択させることに
より、印刷装置に所定のデータ変換処理を施して制御コ
マンドを転送する際に、印刷装置側で受信する該制御コ
マンドに伴う描画オブジェクト生成に伴い同一のデータ
変換処理エラーとなってしまうことを事前に判定して、
印刷装置側における描画オブジェクト生成時のエラー処
理負担を軽減して、転送される印刷データを効率よく処
理できる印刷処理環境を自在に整備できる印刷制御装置
および印刷制御方法およびコンピュータが読み出し可能
なプログラムを格納した記憶媒体を提供することであ
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a method for converting a data to be transferred to a printing apparatus into a predetermined data conversion process. Confirming the occurrence, notifying the printing apparatus of information capable of identifying a data conversion processing error of the printing apparatus with respect to the data to be transferred, and selecting the generation processing of a drawing object of a different type according to the notified information. In this way, when performing a predetermined data conversion process to the printing apparatus and transferring the control command, the same data conversion processing error may be caused by the drawing object generation accompanying the control command received by the printing apparatus. Judge
A printing control apparatus, a printing control method, and a computer-readable program capable of reducing a load of error processing at the time of generating a drawing object on a printing apparatus and freely preparing a print processing environment capable of efficiently processing transferred print data. The purpose of the present invention is to provide a storage medium having stored therein.

【0012】[0012]

【課題を解決するための手段】本発明に係る第1の発明
は、所定の通信媒体を介して印刷装置と通信可能な印刷
制御装置であって、前記印刷装置に出力すべきデータ種
別を解析して出力データに対して所定のデータ変換処理
を行う変換手段と、前記変換手段による変換処理エラー
の発生状態を判定する判定手段と、前記判定手段の判定
結果に基づいて異なる制御コマンドを生成する生成手段
と、前記生成手段により生成される各制御コマンドを前
記印刷装置に出力する出力手段とを有するものである。
According to a first aspect of the present invention, there is provided a print control apparatus capable of communicating with a printing apparatus via a predetermined communication medium, wherein a data type to be output to the printing apparatus is analyzed. Converting means for performing predetermined data conversion processing on output data, determining means for determining an occurrence state of a conversion processing error by the converting means, and generating different control commands based on the determination result of the determining means The printing apparatus includes a generation unit and an output unit that outputs each control command generated by the generation unit to the printing apparatus.

【0013】本発明に係る第2の発明は、前記生成手段
は、前記判定手段が前記変換手段による変換処理エラー
が発生していないと判定した場合には、前記出力データ
に前記所定のデータ変換処理を実行した変換データを含
む第1の制御コマンドを生成するものである。
According to a second aspect of the present invention, when the determination means determines that no conversion processing error has occurred by the conversion means, the generation means outputs the predetermined data conversion data to the output data. This is to generate a first control command including the converted data that has been processed.

【0014】本発明に係る第3の発明は、前記生成手段
は、前記判定手段が前記変換手段による変換処理エラー
が発生していると判定した場合には、前記出力データお
よび前記変換処理エラー発生有無を示す情報が付加され
る第2の制御コマンドを生成するものである。
[0014] In a third aspect of the present invention, the generation means, when the determination means determines that a conversion processing error has occurred by the conversion means, the output data and the conversion processing error A second control command to which information indicating presence / absence is added is generated.

【0015】本発明に係る第4の発明は、前記所定のデ
ータ変換処理は、所定のビットマップデータを所定のデ
ータ形式で圧縮する処理とするものである。
According to a fourth aspect of the present invention, the predetermined data conversion processing is processing for compressing predetermined bitmap data in a predetermined data format.

【0016】本発明に係る第5の発明は、所定のビット
マップデータは、前記印刷装置に登録すべきフォントデ
ータまたはビットマップイメージデータまたはフォーム
データとするものである。
According to a fifth aspect of the present invention, the predetermined bitmap data is font data, bitmap image data, or form data to be registered in the printing apparatus.

【0017】本発明に係る第6の発明は、所定の通信媒
体を介してデータ処理装置と通信可能な印刷制御装置で
あって、前記データ処理装置から受信する種別の異なる
制御コマンドを解析して異なる形式の描画オブジェクト
を生成する第1,第2のオブジェクト生成手段と、前記
制御コマンドに所定のエラー情報が付加されているかど
うかを判定するエラー判定手段と、前記エラー判定手段
の判定結果に基づいて前記第1または第2のオブジェク
ト生成手段のいずれかを選択する制御手段とを有するも
のである。
A sixth invention according to the present invention is a printing control device capable of communicating with a data processing device via a predetermined communication medium, and analyzing a control command of a different type received from the data processing device. First and second object generating means for generating drawing objects of different formats; error determining means for determining whether predetermined error information is added to the control command; and error determining means for determining whether or not predetermined error information is added to the control command. Control means for selecting either the first or second object generation means.

【0018】本発明に係る第7の発明は、前記第1のオ
ブジェクト生成手段は、受信した制御コマンドを解析し
て所定のデータ変換処理が施される第1形式の描画オブ
ジェクトを生成するものである。
In a seventh aspect according to the present invention, the first object generating means generates a first format drawing object to which a predetermined data conversion process is performed by analyzing the received control command. is there.

【0019】本発明に係る第8の発明は、前記第2のオ
ブジェクト生成手段は、受信した制御コマンドを解析し
て所定のデータ変換処理が施されない第2形式の描画オ
ブジェクトを生成するものである。
In an eighth aspect according to the present invention, the second object generating means analyzes the received control command and generates a second format drawing object which is not subjected to a predetermined data conversion process. .

【0020】本発明に係る第9の発明は、前記制御手段
は、前記エラー判定手段により前記制御コマンドに所定
のエラー情報が付加されていないと判定した場合には前
記第1のオブジェクト生成手段を選択し、前記エラー判
定手段により前記制御コマンドに所定のエラー情報が付
加されていると判定した場合には前記第2のオブジェク
ト生成手段を選択するものである。
In a ninth aspect according to the present invention, the control means controls the first object generation means when the error determination means determines that predetermined error information is not added to the control command. If the selected error information is determined by the error determination means to have given predetermined error information to the control command, the second object generation means is selected.

【0021】本発明に係る第10の発明は、前記所定の
データ変換処理は、所定のビットマップデータを所定の
データ形式で圧縮する処理とするものである。
According to a tenth aspect of the present invention, the predetermined data conversion processing is processing for compressing predetermined bitmap data in a predetermined data format.

【0022】本発明に係る第11の発明は、前記データ
処理装置から受信した制御コマンドを解析して前記デー
タ処理装置の種別とは異なる形式でデータ変換処理が施
される第3形式の描画オブジェクトを生成する第3のオ
ブジェクト生成手段を有し、前記制御手段が前記エラー
判定手段により前記制御コマンドに所定のエラー情報が
付加されていると判定した場合には前記第2または前記
第3のオブジェクト生成手段のいずれかを選択するもの
である。
According to an eleventh aspect of the present invention, there is provided a drawing object of the third format, in which a control command received from the data processing device is analyzed and data conversion processing is performed in a format different from the type of the data processing device. And a third object generating means for generating the second object or the third object when the control means determines that predetermined error information is added to the control command by the error determining means. This selects one of the generating means.

【0023】本発明に係る第12の発明は、所定の通信
媒体を介して印刷装置と通信可能な印刷制御方法であっ
て、前記印刷装置に出力すべきデータ種別を解析して出
力データに対して所定のデータ変換処理を行う変換工程
と、該変換処理エラーの発生状態を判定する判定工程
と、該判定結果に基づいて異なる制御コマンドを生成す
る生成工程と、該生成される各制御コマンドを前記印刷
装置に出力する出力工程とを有するものである。
According to a twelfth aspect of the present invention, there is provided a printing control method capable of communicating with a printing apparatus via a predetermined communication medium. A conversion step of performing a predetermined data conversion process, a determining step of determining an occurrence state of the conversion processing error, a generating step of generating a different control command based on the determination result, and And outputting to the printing device.

【0024】本発明に係る第13の発明は、所定の通信
媒体を介して印刷装置と通信して印刷処理を制御するコ
ンピュータが読み出し可能なプログラムを格納した記憶
媒体であって、前記印刷装置に出力すべきデータ種別を
解析して出力データに対して所定のデータ変換処理を行
う変換工程と、該変換処理エラーの発生状態を判定する
判定工程と、該判定結果に基づいて異なる制御コマンド
を生成する生成工程と、該生成される各制御コマンドを
前記印刷装置に出力する出力工程とを含むコンピュータ
が読み出し可能なプログラムを記憶媒体に格納したもの
である。
A thirteenth invention according to the present invention is a storage medium storing a computer-readable program for controlling a printing process by communicating with a printing apparatus via a predetermined communication medium, wherein the printing apparatus stores the program. A conversion step of analyzing a data type to be output and performing a predetermined data conversion process on the output data; a determination step of determining an occurrence state of the conversion processing error; and generating different control commands based on the determination result And a computer-readable program including a generating step of outputting the generated control commands to the printing apparatus.

【0025】本発明に係る第14の発明は、所定の通信
媒体を介してデータ処理装置と通信可能な印刷制御方法
であって、前記データ処理装置から受信する種別の異な
る制御コマンドを解析して異なる形式の描画オブジェク
トを生成する第1,第2のオブジェクト生成工程と、前
記制御コマンドに所定のエラー情報が付加されているか
どうかを判定するエラー判定工程と、該判定結果に基づ
いて前記第1または第2のオブジェクト生成工程のいず
れかを選択する選択工程とを有するものである。
According to a fourteenth aspect of the present invention, there is provided a print control method capable of communicating with a data processing device via a predetermined communication medium. The print control method analyzes different types of control commands received from the data processing device. First and second object generating steps for generating drawing objects of different formats, an error determining step for determining whether predetermined error information is added to the control command, and the first and second object generating steps based on the determination result. Or a selection step of selecting one of the second object generation steps.

【0026】本発明に係る第15の発明は、所定の通信
媒体を介してデータ処理装置と通信して印刷処理を制御
するコンピュータが読み出し可能なプログラムを格納し
た記憶媒体であって、前記データ処理装置から受信する
種別の異なる制御コマンドを解析して異なる形式の描画
オブジェクトを生成する第1,第2のオブジェクト生成
工程と、前記制御コマンドに所定のエラー情報が付加さ
れているかどうかを判定するエラー判定工程と、該判定
結果に基づいて前記第1または第2のオブジェクト生成
工程のいずれかを選択する選択工程とを含むコンピュー
タが読み出し可能なプログラムを記憶媒体に格納したも
のである。
A fifteenth invention according to the present invention is a storage medium storing a computer-readable program for controlling a printing process by communicating with a data processing device via a predetermined communication medium, First and second object generation steps for analyzing different types of control commands received from the apparatus to generate different types of drawing objects, and for determining whether predetermined error information is added to the control commands. A computer-readable program including a determination step and a selection step of selecting one of the first and second object generation steps based on the determination result is stored in a storage medium.

【0027】[0027]

【発明の実施の形態】本実施形態の構成を説明する前
に、本発明を適用するに好適な画像処理の構成につい
て、図1を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the configuration of the present embodiment, a configuration of image processing suitable for applying the present invention will be described with reference to FIG.

【0028】図1は、本発明を適用可能な画像処理装置
の内部構造を示す断面図であり、例えば、レーザビーム
プリンタ(以下、LBP)の場合を示す。なお、本発明
を適用可能な画像処理装置はLBPに限られるものでは
なく、他のプリント方式のプリンタ装置であってもよい
ことは言うまでもない。
FIG. 1 is a sectional view showing the internal structure of an image processing apparatus to which the present invention can be applied, for example, in the case of a laser beam printer (hereinafter, LBP). Note that the image processing apparatus to which the present invention can be applied is not limited to the LBP, and it goes without saying that a printer apparatus of another printing method may be used.

【0029】図において、100はLBP本体(プリン
タ)であり、外部に接続されているホストコンピュータ
(図2の200)からページ記述言語の形式で供給され
る文字情報(文字コード等)や図形情報,定型書式デー
タ(フォームデータ)、あるいは他のマクロ命令などを
入力して記憶するとともに、それらの情報に従って対応
する文字パターンや図形パターンなどを作成し、記録媒
体である記録紙上に像を形成する。
In the figure, reference numeral 100 denotes an LBP main body (printer), which is character information (character code and the like) and graphic information supplied in a page description language format from an externally connected host computer (200 in FIG. 2). , Fixed format data (form data) or other macro instructions are input and stored, and corresponding character patterns and graphic patterns are created in accordance with the information to form an image on recording paper as a recording medium. .

【0030】112は操作パネルで、操作のためのスイ
ッチおよびLED表示器などが配されている。101は
プリンタ制御ユニットで、LBP本体100全体の制御
およびホストコンピュータから供給される文字情報など
を解析する。このプリンタ制御ユニット101は、主に
文字情報を対応する文字パターンのビデオ信号に変換し
てレーザドライバ102に出力する。
Reference numeral 112 denotes an operation panel on which switches for operation, an LED display, and the like are arranged. A printer control unit 101 controls the entire LBP main body 100 and analyzes character information and the like supplied from a host computer. The printer control unit 101 mainly converts character information into a video signal having a corresponding character pattern and outputs the video signal to the laser driver 102.

【0031】また、このLBPは不図示のデータ源(ホ
ストコンピュータ)から文字パターンやビットマップパ
ターンの登録やフォームデータなどの登録も行え、同様
に印字データに応じてビデオ信号に変換してレーザドラ
イバ102に出力する。レーザドライバ102は半導体
レーザ103を駆動するための回路であり、入力された
ビデオ信号に応じて半導体レーザ103から発射される
レーザ光104をオン/オフ切り換えする。
The LBP can also register character patterns and bitmap patterns and register form data from a data source (host computer) (not shown). Similarly, the LBP can be converted into a video signal according to print data and converted into a video signal. Output to 102. The laser driver 102 is a circuit for driving the semiconductor laser 103, and turns on / off a laser beam 104 emitted from the semiconductor laser 103 according to an input video signal.

【0032】レーザ光104は回転多面鏡105で左右
方向に振られ静電ドラム106上を走査する。これによ
り、静電ドラム106上には文字パターンの静電潜像が
形成される。この潜像は、静電ドラム106周囲の現像
ユニット107により現像された後、記録紙に転送され
る。この記録紙にはカットシートを用い、カットシート
記録紙はLBP本体100に装着した用紙カセット10
8に収納され、給紙ローラ109および搬送ローラ11
0と111により装置内に取り込まれて、静電ドラム1
06に供給される。
The laser beam 104 is swung right and left by a rotary polygon mirror 105 and scans an electrostatic drum 106. Thus, an electrostatic latent image of a character pattern is formed on the electrostatic drum 106. This latent image is developed by a developing unit 107 around the electrostatic drum 106 and then transferred to a recording sheet. A cut sheet is used for the recording paper, and the cut sheet recording paper is a paper cassette 10 mounted on the LBP body 100.
8, the paper feed roller 109 and the transport roller 11
0 and 111, the electrostatic drum 1
06.

【0033】〔第1実施形態〕図2は、本発明の第1実
施形態を示す出力制御装置を適用可能な画像出力システ
ムの基本構成を説明するブロック図であり、画像出力装
置は、例えばレーザビームプリンタの場合(図1の画像
処理装置のプリンタ制御ユニット101の内部構成)
を、またコマンド出力装置はホストコンピュータ上で動
作するプリンタドライバの場合を示している。
[First Embodiment] FIG. 2 is a block diagram for explaining a basic configuration of an image output system to which an output control device according to a first embodiment of the present invention can be applied. In the case of a beam printer (the internal configuration of the printer control unit 101 of the image processing apparatus in FIG. 1)
And the command output device is a printer driver operating on the host computer.

【0034】なお、本発明の機能が実行されるのであれ
ば、単体の機器であっても、LAN等のネットワークを
介して処理が行われるシステムであってもよい。
As long as the functions of the present invention are executed, a single device or a system in which processing is performed via a network such as a LAN may be used.

【0035】図において、プリンタ100は、所定のイ
ンタフェース208を介して外部のホストコンピュータ
200と接続されており、ホストコンピュータ200か
ら送られる印刷データに従って所定の印刷処理を実行す
るように構成されている。ホストコンピュータ200か
ら受信した該印刷データは、受信バッファ207に一時
的に蓄えられる。
In FIG. 1, the printer 100 is connected to an external host computer 200 via a predetermined interface 208, and is configured to execute a predetermined printing process according to print data sent from the host computer 200. . The print data received from the host computer 200 is temporarily stored in the reception buffer 207.

【0036】201はプリンタCPU(CPU)であ
り、読み出し専用メモリであるROM202に記憶され
た制御プログラム203に基づいてシステムバス206
に接続された各種デバイスとのアクセスを統括的に制御
し、受信バッファ207に蓄えられた前記印刷データの
解釈を行い、1ページ分の描画オブジェクトを生成し
(描画オブジェクト生成部203aが生成する)、続い
て前記描画オブジェクトを元に1ページ分(あるいは1
ページを複数のバンドに分割した1バンド分)のラスタ
イメージを生成し(描画オブジェクト描画部203bが
生成する)、印刷部I/F209を介して印刷部210
(プリンタエンジン)へ前記ラスタイメージのビットの
ON/OFFによるビデオ信号を出力する(ビデオ信号
の出力は以下、“シップする”と記す)。
Reference numeral 201 denotes a printer CPU (CPU), and a system bus 206 based on a control program 203 stored in a ROM 202 which is a read-only memory.
, And comprehensively controls access to various devices connected thereto, interprets the print data stored in the reception buffer 207, and generates a drawing object for one page (generated by the drawing object generation unit 203a). Then, one page (or 1 page) based on the drawing object
A raster image of (one band obtained by dividing a page into a plurality of bands) is generated (generated by the drawing object drawing unit 203b), and the printing unit 210 is output via the printing unit I / F 209.
A video signal is output to a (printer engine) by turning on / off the bits of the raster image (the output of the video signal is hereinafter referred to as “ship”).

【0037】そして、印刷部210は、CPU201か
ら受け取ったビデオ信号を元に記録紙211上に画像の
印刷を行う。
The printing section 210 prints an image on the recording paper 211 based on the video signal received from the CPU 201.

【0038】なお、ラスタイメージを格納するメモリと
して、1ページ分のメモリを用意せずに、ページをバン
ド状に分割した領域に相当するメモリ(少なくとも2バ
ンド分のみ)を用意する場合(以下、バンドラスタと記
す)は、前記ラスタイメージの生成とシップ動作を並行
して行うように構成されている。すなわち、描画済みの
一方のバンドラスタをシップしながら、他方のバンドラ
スタに属する描画オブジェクトを描画することで、印刷
部210へのビデオ信号出力を実現している(以下、バ
ンディングによる描画と呼ぶ)。
When a memory for storing a raster image is not prepared for one page, but a memory corresponding to an area obtained by dividing a page into bands (at least for two bands) is prepared (hereinafter, referred to as a memory). The band raster) is configured to perform the generation of the raster image and the shipping operation in parallel. That is, a video signal is output to the printing unit 210 by drawing a drawing object belonging to the other band raster while shipping one of the band rasters already drawn (hereinafter referred to as drawing by banding). .

【0039】なお、レーザビームプリンタ等の印刷部2
10は、その機構上、一定速度でビデオ信号を受信しな
ければならないため、バンディングによる描画では、1
バンドのバンドラスタのビデオ信号出力に要する時間よ
りも短い時間で、次のバンドの描画処理を完了する必要
がある。
A printing unit 2 such as a laser beam printer
10 is required to receive a video signal at a constant speed due to its mechanism.
It is necessary to complete the drawing processing of the next band in a time shorter than the time required for outputting the video signal of the band raster of the band.

【0040】また、前記制御プログラム203は、上記
の構成以外に、以下のプログラムからも構成されてい
る。すなわち、受信バッファ207内のページ記述言語
で記述された印刷データがビットマップ登録命令、ある
いはフォントパターン登録命令であった場合に、ビット
マップパターンを符号化する符号化部203c,符号化
/非符号化ビットマップデータを両形式に応じた手順で
RAM205(後述)内のビットマップ格納部205b
へ登録し、ビットマップ描画命令を受信した場合に前記
ビットマップデータを読み出すビットマップ登録/読み
出し部203e,読み出したビットマップデータが符号
化されている場合に復号化する復号化部203d,前記
ビットマップ登録命令のパラメータとして与えられるエ
ラー情報の有無と内容を調べ、その結果に従ってビット
マップ登録/読み出し部203eの処理を制御するエラ
ー確認部203fとから構成されている。
The control program 203 is composed of the following programs in addition to the above configuration. That is, when the print data described in the page description language in the reception buffer 207 is a bitmap registration command or a font pattern registration command, the coding unit 203c for coding the bitmap pattern, the coding / non-coding The bitmap data stored in the bitmap storage unit 205b in the RAM 205 (to be described later)
And a decoding unit 203d for reading out the bitmap data when the bitmap drawing command is received, a decoding unit 203d for decoding when the readout bitmap data is encoded, An error check unit 203f that checks the presence and content of error information given as a parameter of the map registration command and controls the processing of the bitmap registration / read unit 203e according to the result.

【0041】なお、描画オブジェクト生成部203aに
は、文字データ(書体,サイズ,文字コード)に対応す
るフォントパターンを生成するフォントスケーラ(不図
示)等も含まれる。
The drawing object generator 203a also includes a font scaler (not shown) for generating a font pattern corresponding to character data (font, size, character code).

【0042】また、このROM202は、制御プログラ
ム203以外に、文字出力に用いるドットフォントやス
ケーラブルフォントから構成される、フォントデータを
格納するためのメモリとしても用いられるフォントRO
M204を備えている。
In addition to the control program 203, the ROM 202 includes a font RO, which is composed of a dot font and a scalable font used for character output and is also used as a memory for storing font data.
M204 is provided.

【0043】205はRAMで、CPU201の主メモ
リ,ワークメモリ等として機能し、図示しない増設ポー
トに接続されるオプションRAMによりメモリ容量を拡
張できるように構成されている。RAM205は、前記
描画オブジェクトを格納する描画オブジェクト格納部2
05a(前記フォントメモリ204内のスケーラブルデ
ータに基づいて展開された文字パターンをキャッシュす
るフォントキャッシュ登録メモリを含む),制御プログ
ラム203によって一時的に使用されるワークメモリ2
05d,1ページをバンド状に分割したバンド領域の2
面分に相当するラスタイメージ(あるいは1ページ分の
ラスタイメージ)を格納するページメモリ205c,受
信したビットマップデータを登録・格納するビットマッ
プ格納部205bの他、印刷環境データ格納メモリ(不
図示)等に用いられる。なお、LBP本体100は図示
しない電源部から電力の供給を受けている。
Reference numeral 205 denotes a RAM, which functions as a main memory, a work memory, and the like of the CPU 201, and is configured so that the memory capacity can be expanded by an optional RAM connected to an additional port (not shown). A RAM 205 stores a drawing object storage unit 2 for storing the drawing object.
05a (including a font cache registration memory for caching character patterns developed based on the scalable data in the font memory 204), and a work memory 2 temporarily used by the control program 203.
05d, 2 of a band area obtained by dividing one page into a band
A page memory 205c for storing a raster image corresponding to a surface (or a raster image for one page), a bitmap storage unit 205b for registering and storing received bitmap data, and a printing environment data storage memory (not shown) Used for etc. The LBP main body 100 is supplied with power from a power supply (not shown).

【0044】また、上記出力制御装置を構成する要素
が、ROM202に格納されたプログラムとして供給さ
れるよう説明したが、これに限らず、フロッピーディス
クやハードディスク等の媒体によって供給され、実行前
にRAM等へロードされた後、実行されるように構成さ
れていても構わない。
Also, the components constituting the output control device have been described as being supplied as a program stored in the ROM 202. However, the present invention is not limited to this. The components are supplied by a medium such as a floppy disk or a hard disk, and are stored in a RAM before execution. It may be configured to be executed after being loaded into the file.

【0045】一方、ホストコンピュータ200上には、
アプリケーション212からの印刷指示に従って印刷コ
マンドを生成・出力するプリンタドライバ213として
コマンド出力手段が構成されている。プリンタドライバ
213は、前記符号化部203cと同様の圧縮処理を行
う符号化部,符号化時のエラー状態を調べるエラー判定
部,符号化されたビットマップデータを生成する符号化
ビットマップコマンド生成手段,符号化されないビット
マップデータを生成するビットマップコマンド生成手段
とから構成されている。
On the other hand, on the host computer 200,
Command output means is configured as a printer driver 213 that generates and outputs a print command according to a print instruction from the application 212. The printer driver 213 includes an encoding unit that performs the same compression processing as the encoding unit 203c, an error determination unit that checks an error state during encoding, and an encoded bitmap command generation unit that generates encoded bitmap data. , Bitmap command generating means for generating uncoded bitmap data.

【0046】以下、本実施形態の特徴的構成について図
2等を参照して説明する。
Hereinafter, a characteristic configuration of the present embodiment will be described with reference to FIG.

【0047】上記のように構成された所定の通信媒体を
介して印刷装置(プリンタ100)と通信可能な印刷制
御装置(ホストコンピュータ200のプリンタドライバ
213)であって、前記印刷装置に出力すべきデータ種
別を解析して出力データに対して所定のデータ変換処理
を行う変換手段(ホストコンピュータ200のプリンタ
ドライバ213による機能処理)と、前記変換手段によ
る変換処理エラーの発生状態を判定する判定手段(ホス
トコンピュータ200のプリンタドライバ213による
機能処理)と、前記判定手段の判定結果に基づいて異な
る制御コマンドを生成する生成手段(ホストコンピュー
タ200のプリンタドライバ213による機能処理)
と、前記生成手段により生成される各制御コマンドを前
記印刷装置に出力する出力手段(ホストコンピュータ2
00のプリンタドライバ213による機能処理)とを有
するので、所定のデータ変換処理に伴うエラー発生を事
前に判定して、同一のエラーを発生する所定のデータ変
換処理実行を制限すべき制御コマンドとそれ以外の制御
コマンドとを識別できる制御コマンドを印刷装置に出力
することができる。
A print control device (printer driver 213 of the host computer 200) that can communicate with the printing device (printer 100) via the predetermined communication medium configured as described above, and should output to the printing device. Conversion means (function processing by the printer driver 213 of the host computer 200) for analyzing a data type and performing predetermined data conversion processing on output data; and determination means ( Function processing by the printer driver 213 of the host computer 200) and generating means (function processing by the printer driver 213 of the host computer 200) for generating different control commands based on the determination result of the determination means
Output means (host computer 2) for outputting each control command generated by the generation means to the printing apparatus.
00, a control command for limiting the execution of a predetermined data conversion process that generates the same error by determining in advance the occurrence of an error associated with the predetermined data conversion process, It is possible to output to the printing device a control command that can be distinguished from other control commands.

【0048】さらに、前記所定のデータ変換処理は、所
定のビットマップデータを所定のデータ形式で圧縮する
処理とするので、印刷装置に転送すべきデータ量を削減
して、転送処理時間を大幅に短縮することができる。
Further, since the predetermined data conversion process is a process of compressing predetermined bitmap data in a predetermined data format, the amount of data to be transferred to the printing apparatus is reduced, and the transfer processing time is greatly reduced. Can be shortened.

【0049】また、所定のビットマップデータは、前記
印刷装置に登録すべきフォントデータまたはビットマッ
プイメージデータまたはフォームデータとするので、フ
ォントデータまたはフォームデータの転送に伴うエラー
発生を予知して、最適な形式のフォントデータまたはフ
ォームデータを効率よく転送することができる。
Since the predetermined bitmap data is font data or bitmap image data or form data to be registered in the printing apparatus, the occurrence of an error accompanying the transfer of the font data or form data is predicted, and Font data or form data can be efficiently transferred.

【0050】さらに、所定の通信媒体を介してデータ処
理装置(ホストコンピュータ200)と通信可能な印刷
制御装置であって、前記データ処理装置から受信する種
別の異なる制御コマンドを解析して異なる形式の描画オ
ブジェクトを生成する第1,第2のオブジェクト生成手
段(描画オブジェクト生成部203aが異なる描画オブ
ジェクトを生成する)と、前記制御コマンドに所定のエ
ラー情報が付加されているかどうかを判定するエラー判
定手段(エラー確認部203f)と、前記エラー判定手
段の判定結果に基づいて前記第1または第2のオブジェ
クト生成手段のいずれかを選択する制御手段(CPU2
01がROM203の制御プログラムに基づいて選択処
理する)とを有するので、所定のデータ変換処理に伴っ
てエラーとなってしまう制御コマンドとそれ以外の制御
コマンドとを識別して、オブジェクト生成処理負担を軽
減することができる。
Further, the present invention is a print control device capable of communicating with a data processing device (host computer 200) via a predetermined communication medium, and analyzes different types of control commands received from the data processing device to obtain different types of control commands. First and second object generating means for generating a drawing object (the drawing object generating unit 203a generates a different drawing object), and error determining means for determining whether predetermined error information is added to the control command (Error checking unit 203f) and control means (CPU 2) for selecting either the first or second object generation means based on the determination result of the error determination means.
01 performs a selection process based on a control program in the ROM 203), and identifies a control command that causes an error in accordance with a predetermined data conversion process and other control commands to reduce the load of the object generation process. Can be reduced.

【0051】また、描画オブジェクト生成部203a
は、受信した制御コマンドを解析して所定のデータ変換
処理が施される第1形式の描画オブジェクトを生成する
ので、所定のデータ変換処理に伴いエラーが発生しない
制御コマンドを識別して、該制御コマンドを効率よく第
1形式の描画オブジェクトとして生成することができ
る。
The drawing object generation unit 203a
Analyzes a received control command and generates a first format drawing object on which a predetermined data conversion process is performed. Therefore, the control command identifies a control command that does not cause an error in the predetermined data conversion process, and Commands can be efficiently generated as drawing objects of the first format.

【0052】さらに、描画オブジェクト生成部203a
は、受信した制御コマンドを解析して所定のデータ変換
処理が施されない第2形式の描画オブジェクトを生成す
るので、所定のデータ変換処理に伴いエラーが発生する
制御コマンドを識別して、該制御コマンドに対するデー
タ変換処理を制限して、効率よく第2形式の描画オブジ
ェクトとして生成することができる。
Further, the drawing object generation unit 203a
Analyzes a received control command and generates a second-format drawing object that is not subjected to a predetermined data conversion process. Therefore, the control command that identifies an error in the predetermined data conversion process is identified, and Can be efficiently generated as a drawing object of the second format by restricting the data conversion processing for.

【0053】また、CPU201は、前記エラー判定手
段により前記制御コマンドに所定のエラー情報が付加さ
れていないと判定した場合には前記第1のオブジェクト
生成手段として機能する描画オブジェクト生成部203
aを選択し、前記エラー判定手段により前記制御コマン
ドに所定のエラー情報が付加されていると判定した場合
には前記第2のオブジェクト生成手段として機能する描
画オブジェクト生成部203aを選択するので、所定の
データ変換処理に伴ってエラーとなってしまう制御コマ
ンドとそれ以外の制御コマンドとを識別して、適切なデ
ータ形式のオブジェクト生成手段を選択でき、オブジェ
クト生成負担を軽減できる。
When the CPU 201 determines that predetermined error information has not been added to the control command by the error determining means, the drawing object generating section 203 functioning as the first object generating means.
is selected, and when the error determination unit determines that predetermined error information is added to the control command, the drawing object generation unit 203a functioning as the second object generation unit is selected. By discriminating between control commands that cause an error in the data conversion process and other control commands, an object generation unit having an appropriate data format can be selected, and the burden of object generation can be reduced.

【0054】さらに、前記所定のデータ変換処理は、所
定のビットマップデータを所定のデータ形式で圧縮する
処理とするので、ビットマップデータ転送効率を高め、
短時間に所定のビットマップデータを転送することがで
きる。
Further, since the predetermined data conversion process is a process of compressing predetermined bitmap data in a predetermined data format, bitmap data transfer efficiency can be improved.
It is possible to transfer predetermined bitmap data in a short time.

【0055】続いて、上記構成による画像出力システム
における、ビットマップデータの処理手順を、図3,図
4に示すフローチャートを用いて以下に説明する。
Next, the processing procedure of the bitmap data in the image output system having the above configuration will be described with reference to the flowcharts shown in FIGS.

【0056】図3は、本発明に係る出力制御装置におけ
る第1のデータ処理手順の一例を示すフローチャートで
あり、ホストコンピュータ200上で動作するプリンタ
ドライバにおいて、アプリケーション212から印刷指
示があった場合の、ビットマップコマンド生成手順に対
応する。なお、(1)〜(9)は各ステップを示す。
FIG. 3 is a flowchart showing an example of a first data processing procedure in the output control apparatus according to the present invention. The printer driver operating on the host computer 200 operates when a print instruction is issued from the application 212. , Bitmap command generation procedure. Note that (1) to (9) indicate each step.

【0057】まず、アプリケーション212からの印刷
指示を調べ、イメージ描画であるかどうかを判断し
(1)、イメージ描画であると判断した場合、ページ記
述言語のコマンドコード(ビットマップ描画命令)と非
圧縮形式のビットマップデータを出力して(2)、処理
を終了する。なお、前記ビットマップ描画命令のパラメ
ータとしては、該イメージの印字位置,描画幅,高さの
他、該ビットマップデータのデータサイズなどが含まれ
ている。
First, a print instruction from the application 212 is checked to determine whether or not an image is to be drawn (1). If it is determined that the image is to be drawn, a command code (bitmap drawing command) of a page description language and a non- The bitmap data in the compression format is output (2), and the process ends. The parameters of the bitmap drawing command include the print position, drawing width, and height of the image, as well as the data size of the bitmap data.

【0058】一方、ステップ(1)で、イメージ描画で
ないと判断した場合には、該印刷指示がフォント登録指
示かどうかを判断し(3)、該印刷指示がフォント登録
指示でない、例えば該印刷指示がフォントパターンの出
力指示(印字位置移動やフォント設定,図形描画等の種
々の印刷指示)である場合は、それぞれ対応するページ
記述言語の印刷コマンドを出力して(4)、処理を終了
する。
On the other hand, if it is determined in step (1) that the print instruction is not an image drawing, it is determined whether the print instruction is a font registration instruction (3), and the print instruction is not a font registration instruction. Is a font pattern output instruction (various printing instructions such as movement of a printing position, font setting, graphic drawing, etc.), a corresponding page description language print command is output (4), and the process ends.

【0059】一方、ステップ(3)で、該印刷指示がフ
ォントパターンの登録指示であると判断された場合は、
フォントパターンの圧縮処理を行う(5)。続いて、前
記圧縮処理においてエラーが発生したかどうかを調べる
(6)。すなわち、圧縮後のデータサイズが圧縮前のビ
ットマップデータのサイズよりも大きくなった場合や、
該圧縮形式では表現不可能なビットマップデータを圧縮
しようとした場合、エラーが発生したと判断する。
On the other hand, if it is determined in step (3) that the print instruction is a font pattern registration instruction,
The font pattern is compressed (5). Subsequently, it is checked whether an error has occurred in the compression processing (6). That is, when the data size after compression becomes larger than the size of bitmap data before compression,
If an attempt is made to compress bitmap data that cannot be expressed in the compression format, it is determined that an error has occurred.

【0060】ここで、エラーが発生しなかったと判断さ
れた場合は、圧縮形式のビットマップデータを表すコマ
ンドコードと該圧縮データを出力して(7)、処理を終
了する。
If it is determined that no error has occurred, the command code representing the bitmap data in the compressed format and the compressed data are output (7), and the process ends.

【0061】一方、ステップ(6)にてエラーが発生し
たと判断された場合は、ビットマップ描画を表すページ
記述言語のコマンドコード(ビットマップ描画命令)を
出力するため、ビットマップ描画命令のパラメータとし
て、通常の幅高情報などに加えて、前記圧縮処理におけ
るエラー情報(フラグをセット)を付加し(8)、併せ
て非圧縮形式のビットマップデータを付加して(9)、
印刷コマンドとして出力して、処理を終了する。
On the other hand, if it is determined in step (6) that an error has occurred, a parameter of the bitmap drawing command is output to output a command code (bitmap drawing command) of a page description language representing bitmap drawing. In addition to normal width and height information, error information (a flag is set) in the compression processing is added (8), and bitmap data in an uncompressed format is added (9),
Output as a print command and end the process.

【0062】以下、本実施形態の特徴的構成について図
3等を参照して更に説明する。
Hereinafter, the characteristic structure of this embodiment will be further described with reference to FIG.

【0063】上記のように構成された所定の通信媒体を
介して印刷装置と通信可能な印刷制御方法であって、あ
るいは所定の通信媒体を介して印刷装置と通信して印刷
処理を制御するコンピュータが読み出し可能なプログラ
ムを格納した記憶媒体であって、前記印刷装置に出力す
べきデータ種別を解析して出力データに対して所定のデ
ータ変換処理を行う変換工程(図3のステップ(5))
と、該変換処理エラーの発生状態を判定する判定工程
(図3のステップ(6))と、該判定結果に基づいて異
なる制御コマンドを生成する生成工程(図3のステップ
(7)またはステップ(8),(9))と、該生成され
る各制御コマンドを前記印刷装置に出力する出力工程
(図3のステップ(7)またはステップ(9))とを有
するので、所定のデータ変換処理に伴うエラー発生を事
前に判定して、同一のエラーを発生する所定のデータ変
換処理実行を制限すべき制御コマンドとそれ以外の制御
コマンドとを識別できる制御コマンドを印刷装置に出力
することができる。
A printing control method capable of communicating with a printing apparatus via a predetermined communication medium configured as described above, or a computer for controlling printing processing by communicating with the printing apparatus via a predetermined communication medium Is a storage medium storing a readable program, and performs a predetermined data conversion process on output data by analyzing a data type to be output to the printing apparatus (step (5) in FIG. 3).
A determination step (step (6) in FIG. 3) for determining the occurrence state of the conversion processing error; and a generation step (step (7) or step (FIG. 3) in FIG. 3) for generating a different control command based on the determination result. 8), (9)) and an output step (step (7) or (9) in FIG. 3) for outputting the generated control commands to the printing apparatus. The occurrence of the accompanying error is determined in advance, and a control command that can identify a control command that restricts the execution of a predetermined data conversion process that generates the same error and another control command can be output to the printing apparatus.

【0064】図4は、本発明に係る出力制御装置におけ
る第2のデータ処理手順の一例を示すフローチャートで
あり、ホストコンピュータ200側のプリンタドライバ
213から送られてきた印刷命令を受信した場合の、画
像出力装置(LBP本体100)側の処理に対応する。
なお、(1)〜(15)は各ステップを示す。
FIG. 4 is a flow chart showing an example of a second data processing procedure in the output control device according to the present invention. In the case where a print command sent from the printer driver 213 of the host computer 200 is received, This corresponds to the processing on the image output device (LBP body 100) side.
In addition, (1) to (15) indicate each step.

【0065】まず、制御プログラム203は、ホストコ
ンピュータ200から送られてきた印刷データが受信バ
ッファ207内に存在するかどうかを調べ(1)、存在
しないと判断した場合は、処理を終了する。
First, the control program 203 checks whether or not the print data sent from the host computer 200 exists in the reception buffer 207 (1). If it is determined that the print data does not exist, the control program 203 ends the processing.

【0066】一方、ステップ(1)で印刷データが存在
すると判断した場合は、該印刷データの解析を行うた
め、処理中の印刷データが排紙命令(実際には、文字印
字位置移動命令等で、印字中のページ下端を越えるよう
な、排紙動作を引き起こす要因となりうる印字データを
含む)かどうかを調べ(2)、排紙命令でないと判断し
た場合には、続くステップ(3)以下で印刷データの解
析を続ける。なお、ステップ(2)においては、簡単の
ため排紙命令(フォームフィードコマンド)かどうかを
調べると説明したが、実際には、文字印字位置移動命令
等で、印字中のページ下端を越えるような、排紙動作を
引き起こす要因となりうる印字データの場合も、ステッ
プ(2)の判断がYESとなり得る。
On the other hand, if it is determined in step (1) that print data exists, the print data being processed is analyzed in order to analyze the print data. (Including print data that may cause a paper ejection operation, such as exceeding the bottom edge of the page being printed) (2). If it is determined that the command is not a paper ejection command, the following steps (3) and subsequent steps are performed. Continue analyzing print data. In step (2), it has been described that, for simplicity, it is checked whether or not the command is a paper ejection command (form feed command). Also, in the case of print data that can cause a paper discharging operation, the determination in step (2) can be YES.

【0067】上記のように、ステップ(2)で、排紙命
令でないと判断された場合は、受信した印刷データがビ
ットマップ登録コマンドであるかどうかを調べ(3)、
ビットマップ登録コマンドであると判断した場合は、コ
マンドのパラメータからエラー情報を読み出す(4)。
As described above, if it is determined in step (2) that the received print data is not a discharge command, it is checked whether the received print data is a bitmap registration command (3).
If it is determined that the command is a bitmap registration command, error information is read from the command parameter (4).

【0068】続いて、パラメータにエラー情報があるか
どうかを判断し(5)、パラメータに該エラー情報が与
えられていないと判断した場合は、パラメータに示され
たデータサイズ分だけ受信バッファよりビットマップデ
ータを読み出して圧縮処理を行い(6)、さらにこの圧
縮処理においてエラーが発生したかどうかを調べる
(7)。ここで、エラーが発生していないと判断した場
合は、圧縮形式のビットマップオブジェクトを生成し
(8)、次の印刷コマンドを解釈するために、ステップ
(1)へ戻る。
Subsequently, it is determined whether or not the parameter has error information (5). If it is determined that the error information has not been given to the parameter, the number of bits from the reception buffer corresponding to the data size indicated in the parameter is determined. The map data is read and compression processing is performed (6), and it is checked whether an error has occurred in this compression processing (7). If it is determined that no error has occurred, a bitmap object in a compression format is generated (8), and the process returns to step (1) to interpret the next print command.

【0069】一方、ステップ(7)にてエラーが発生し
たと判断した場合は、圧縮前のビットマップデータに基
づいて、非圧縮形式のビットマップオブジェクトを生成
し(10)、ステップ(8)と同様に次の印刷コマンド
を受信バッファ207より読み出すためにステップ
(1)へ戻る。
On the other hand, if it is determined in step (7) that an error has occurred, an uncompressed bitmap object is generated based on the uncompressed bitmap data (10). Similarly, the process returns to step (1) to read the next print command from the reception buffer 207.

【0070】なお、ステップ(6)においては、読み出
すべきビットマップデータのサイズをパラメータとして
受け取ったが、ビットマップデータの幅高からデータサ
イズを計算するように構成しても構わない。
In step (6), the size of the bitmap data to be read is received as a parameter, but the data size may be calculated from the width of the bitmap data.

【0071】一方、ステップ(5)において、エラー情
報が付加されていると判断された場合は、該エラー情報
の内容を調べる。該エラー情報はエラーが発生している
かどうかを判断し(9)、エラーが発生していたと判断
された場合は、非圧縮形式のビットマップデータであっ
ても、圧縮処理を行わずに、非圧縮形式のビットマップ
オブジェクトを生成して(10)、ステップ(1)へ戻
る。
On the other hand, if it is determined in step (5) that error information has been added, the contents of the error information are checked. The error information determines whether or not an error has occurred (9). If it is determined that an error has occurred, even if the bitmap data is in the non-compressed format, the bitmap data is uncompressed without performing compression processing. A compressed bitmap object is generated (10), and the process returns to step (1).

【0072】一方、ステップ(9)にてエラーは発生し
ていなかったと判断された場合は、エラー情報が付加さ
れていない場合と同様に、ステップ(6)以降の処理を
行う。そして、オブジェクトを生成し終ったら、次の印
刷コマンドを読み出すためにステップ(1)へ戻る。
On the other hand, if it is determined in step (9) that no error has occurred, the processing from step (6) is performed as in the case where no error information is added. When the object has been generated, the process returns to step (1) to read the next print command.

【0073】一方、ステップ(3)において、前記印刷
データがビットマップ登録コマンドでないと判断された
場合は、圧縮ビットマップが登録されているかどうかを
判定し(13)、YESならば圧縮データを登録して
(14)、ステップ(1)へ戻り、NOならば該印刷コ
マンドに対応する描画オブジェクト生成処理を行い(1
5)、同様に次の印刷コマンドを読み出すためにステッ
プ(1)へ戻る。
On the other hand, if it is determined in step (3) that the print data is not a bitmap registration command, it is determined whether a compressed bitmap is registered (13). If YES, the compressed data is registered. (14), and returns to step (1). If NO, a drawing object generation process corresponding to the print command is performed (1).
5) Similarly, return to step (1) to read the next print command.

【0074】すなわち、ステップ(15)において、例
えば、印刷データが文字印字命令であった場合は、まず
対応するフォントパターンがフォントキャッシュ領域に
登録済みかどうかを調べ、登録済みでなければ、印刷コ
マンドで指定された文字情報(フォント情報,サイズ,
文字コードなど)に対応するフォント情報をフォントR
OM204より読み出し、フォントスケーラにて対応す
るドットパターン(=描画オブジェクト)を生成し、印
字位置情報や幅,高さ,描画論理等のページラスタへ描
画する際に必要な情報とともに、前記フォントパターン
を描画オブジェクト格納部205aへ格納する。
That is, in step (15), for example, if the print data is a character print command, it is first checked whether or not the corresponding font pattern has been registered in the font cache area. Character information (font information, size,
Font information corresponding to the character code
The font pattern is read out from the OM 204, a corresponding dot pattern (= drawing object) is generated by a font scaler, and the font pattern is written together with information necessary for drawing on a page raster such as print position information, width, height, and drawing logic. It is stored in the drawing object storage unit 205a.

【0075】さらに、前記フォントパターンをフォント
キャッシュ領域に登録しておく。なお、前記フォントパ
ターンをフォントキャッシュ領域へ登録する際に、圧縮
処理を行ってもよい。
Further, the font pattern is registered in a font cache area. When the font pattern is registered in the font cache area, a compression process may be performed.

【0076】また、文字以外の図形データやイメージデ
ータであった場合も、同様に各印字命令に対応した中間
コードを生成する。
In the case of graphic data or image data other than characters, an intermediate code corresponding to each print command is similarly generated.

【0077】一方、ステップ(2)にて該印刷コマンド
が排紙命令(あるいは排紙命令に相当する命令)である
と判断された場合には、生成済みの描画オブジェクトを
1バンド分だけ描画オブジェクト格納部205aより読
み出し、描画オブジェクト描画部203bが順次バンド
ラスタへ描画するとともに(11)、当該描画処理と同
時に、バンドラスタをプリンタエンジンへシップする処
理を1ページ分が終了するまで繰り返し(12)、1ペ
ージ分の描画オブジェクトの描画シップが修了したら、
次ページの印刷コマンドを読み出すために、ステップ
(1)へ戻る。
On the other hand, if it is determined in step (2) that the print command is a discharge command (or a command corresponding to the discharge command), the generated drawing object is changed by one band. Reading from the storage unit 205a, the drawing object drawing unit 203b sequentially draws on the band raster (11), and at the same time as the drawing process, repeats the process of shipping the band raster to the printer engine until one page ends (12). When the drawing ship of the drawing object for one page is completed,
The process returns to step (1) to read the print command of the next page.

【0078】なお、描画オブジェクト格納部205aに
は、個々の描画オブジェクトと対応して、バンドラスタ
への描画に必要な描画情報が、各バンド単位に作成され
ている。すなわち、バンド内の印字位置(左上端からの
ビットオフセット値)、描画オブジェクトの描画高さ,
バンドラスタとの描画論理(AND/OR/上書きな
ど),対応する描画オブジェクトの先頭アドレス,描画
オブジェクトがバンド途中から描画される場合に該描画
オブジェクトを読み飛ばすオフセット量(ライン数),
次の描画情報の先頭アドレス(リンク最後はNULLと
する)等が含まれる(各情報は少なくとも指定用紙を指
定解像度で表現可能なだけのビット数があればよい)。
In the drawing object storage unit 205a, drawing information necessary for drawing on a band raster is created for each band in association with each drawing object. In other words, the print position (bit offset value from the upper left corner) within the band, the drawing height of the drawing object,
Drawing logic (AND / OR / overwrite, etc.) with the band raster, the start address of the corresponding drawing object, the offset amount (number of lines) for skipping the drawing object when the drawing object is drawn in the middle of the band,
The start address of the next drawing information (the link end is assumed to be NULL) and the like are included (each piece of information only needs to have at least the number of bits capable of expressing the designated paper at the designated resolution).

【0079】また、図4のステップ(11)において、
バンド毎に描画オブジェクトを描画する処理は、前記描
画情報を順次読み出し、各描画情報内の印字位置情報等
に従って描画オブジェクトを描画する。
In step (11) of FIG.
In the process of drawing the drawing object for each band, the drawing information is sequentially read, and the drawing object is drawn according to the print position information and the like in each drawing information.

【0080】以下、本実施形態の特徴的構成について図
4等を参照して更に説明する。
Hereinafter, the characteristic configuration of this embodiment will be further described with reference to FIG.

【0081】上記のように構成された所定の通信媒体を
介してデータ処理装置と通信可能な印刷制御方法であっ
て、あるいは所定の通信媒体を介してデータ処理装置と
通信して印刷処理を制御するコンピュータが読み出し可
能なプログラムを格納した記憶媒体であって、前記デー
タ処理装置から受信する種別の異なる制御コマンドを解
析して異なる形式の描画オブジェクトを生成する第1,
第2のオブジェクト生成工程(図4のステップ(8),
(10))と、前記制御コマンドに所定のエラー情報が
付加されているかどうかを判定するエラー判定工程(図
4のステップ(5))と、該判定結果に基づいて前記第
1または第2のオブジェクト生成工程のいずれかを選択
する選択工程(図4のステップ(7)からステップ
(8)または図4のステップ(7)からステップ(1
0))とを有するので、所定のデータ変換処理に伴って
エラーとなってしまう制御コマンドとそれ以外の制御コ
マンドとを識別して、オブジェクト生成処理負担を軽減
することができる。
A printing control method capable of communicating with a data processing device via a predetermined communication medium configured as described above, or controlling a printing process by communicating with a data processing device via a predetermined communication medium. A computer-readable storage medium storing a computer-readable program, the method comprising analyzing different types of control commands received from the data processing device to generate different types of drawing objects.
Second object generation step (step (8) in FIG. 4)
(10)), an error determining step (step (5) in FIG. 4) for determining whether predetermined error information is added to the control command, and the first or second processing based on the determination result. A selection step of selecting one of the object generation steps (step (7) to step (8) in FIG. 4 or step (7) to step (1) in FIG. 4)
0)), it is possible to identify a control command that causes an error in a predetermined data conversion process and other control commands, thereby reducing the load of the object generation process.

【0082】〔第2実施形態〕上記第1実施形態では、
エラー情報に従って、符号化を行うか否かのみを判断し
たが、該エラー情報はエラーが発生していることを示す
場合に、プリンタドライバが行った符号化手段とは異な
る種類の符号化手段によって圧縮を試みてもよい。
[Second Embodiment] In the first embodiment,
It was determined only whether or not encoding should be performed according to the error information.However, when the error information indicates that an error has occurred, a different type of encoding means than the encoding means performed by the printer driver is used. Compression may be attempted.

【0083】そのために、本実施形態では、該エラー情
報はどの種類の符号化手段によってエラーが発生したか
を示すように構成し、また画像処理手段側では、前記エ
ラー情報で示される符号化手段とは異なる手段を選択す
る。
For this purpose, in the present embodiment, the error information is configured to indicate which type of encoding means has caused the error, and the image processing means has a coding means indicated by the error information. Choose a different means.

【0084】具体的には、前記データ処理装置(ホスト
コンピュータ200)から受信した制御コマンドを解析
して前記データ処理装置の種別とは異なる形式でデータ
変換処理が施される第3形式の描画オブジェクトを生成
する第3のオブジェクト生成手段(図示しない描画オブ
ジェクト生成部を備え)を有し、CPU201がエラー
確認部203fにより前記制御コマンドに所定のエラー
情報が付加されていると判定した場合には上記第2のオ
ブジェクト生成手段または図示しない第3のオブジェク
ト生成手段のいずれかを選択するので、データ処理装置
側でのデータ変換処理では変換処理エラーとなる場合で
も、他のデータ変換処理を試みて、可能な限り少ないメ
モリ資源で転送される制御コマンドに従う描画オブジェ
クトを生成することができる。
Specifically, a control object received from the data processing device (host computer 200) is analyzed, and a third format drawing object is subjected to data conversion processing in a format different from the type of the data processing device. If the CPU 201 determines that predetermined error information has been added to the control command by the error confirmation unit 203f, the above-described processing is performed. Since either the second object generation means or the third object generation means (not shown) is selected, even if a conversion processing error occurs in the data conversion processing on the data processing device side, another data conversion processing is attempted. Generate drawing objects according to control commands transferred with as little memory resources as possible. Can.

【0085】以下、図5に示すメモリマップを参照して
本発明に係る出力制御装置を適用可能な画像出力システ
ムで読み出し可能なデータ処理プログラムの構成につい
て説明する。
The configuration of a data processing program readable by an image output system to which the output control device according to the present invention can be applied will be described below with reference to a memory map shown in FIG.

【0086】図5は、本発明に係る出力制御装置を適用
可能な画像出力システムで読み出し可能な各種データ処
理プログラムを格納する記憶媒体のメモリマップを説明
する図である。
FIG. 5 is a diagram for explaining a memory map of a storage medium for storing various data processing programs readable by an image output system to which the output control device according to the present invention can be applied.

【0087】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。
Although not shown, information for managing a group of programs stored in the storage medium, such as version information and a creator, is also stored, and information dependent on the OS or the like on the program reading side, such as a program, An icon or the like for identification display may also be stored.

【0088】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。
Further, data dependent on various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.

【0089】本実施形態における図3,図4に示す機能
が外部からインストールされるプログラムによって、ホ
ストコンピュータにより遂行されていてもよい。そし
て、その場合、CD−ROMやフラッシュメモリやFD
等の記憶媒体により、あるいはネットワークを介して外
部の記憶媒体から、プログラムを含む情報群を出力装置
に供給される場合でも本発明は適用されるものである。
The functions shown in FIGS. 3 and 4 in this embodiment may be executed by a host computer by a program installed from the outside. And in that case, CD-ROM, flash memory, FD
The present invention is applicable even when a group of information including a program is supplied to an output device from a storage medium such as the above or from an external storage medium via a network.

【0090】以上のように、前述した実施形態の機能を
実現するソフトウエアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、本発明の目的が達成されるこ
とは言うまでもない。
As described above, the storage medium storing the program code of the software for realizing the functions of the above-described embodiment is supplied to the system or the apparatus, and the computer (or CPU or MP) of the system or the apparatus is supplied.
It goes without saying that the object of the present invention is also achieved when U) reads and executes the program code stored in the storage medium.

【0091】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0092】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピーディスク,ハードディ
スク,光ディスク,光磁気ディスク,CD−ROM,C
D−R,磁気テープ,不揮発性のメモリカード,RO
M,EEPROM等を用いることができる。
Examples of a storage medium for supplying the program code include a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, and C
DR, magnetic tape, nonvolatile memory card, RO
M, EEPROM and the like can be used.

【0093】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペ
レーティングシステム)等が実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0094】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0095】上記各実施形態によれば、非圧縮/圧縮の
両形式のビットマップデータを出力する印刷制御装置
(ホスト側)と、該データを受信・解釈可能で、かつ非
圧縮形式のビットマップデータに対しては圧縮処理を行
うように構成された印刷制御装置(印刷装置側)とにお
いて、前記コマンド出力手段において圧縮処理を行わず
にビットマップデータ(登録すべきフォームデータある
いはフォントデータ等を含む)を出力した場合は、印刷
装置側において圧縮処理を行う一方、前記コマンド出力
手段において圧縮処理を行った際に、圧縮後のデータサ
イズが圧縮前のデータサイズを越えたり、該圧縮形式で
は表現不可能なビットマップデータを圧縮しようとした
といったエラーが発生し、圧縮前の形式のビットマップ
データを出力する場合は、印刷装置側において、圧縮不
可能なビットマップデータに対して、再度同様の圧縮処
理を実行することなく、描画オブジェクトの生成処理に
無駄な時間がかからずに済む。
According to each of the above embodiments, a print control device (host side) that outputs both uncompressed / compressed bitmap data, and a non-compressed bitmap that can receive and interpret the data. A bitmap data (form data or font data to be registered) is sent to the print control device (printing device side) configured to perform compression processing on the data without performing compression processing in the command output unit. When the command output unit performs compression processing, the data size after compression exceeds the data size before compression, or the compression format is not used. If an error such as an attempt to compress unrepresentable bitmap data occurs and bitmap data in the uncompressed format is output , In the printing apparatus side, against incompressible bitmap data, without performing again the same compression processing, it is not necessary to take useless time generation processing of the drawing object.

【0096】[0096]

【発明の効果】以上説明したように、本発明に係る第1
〜第3の発明によれば、所定の通信媒体を介して印刷装
置と通信可能な印刷制御装置であって、前記印刷装置に
出力すべきデータ種別を解析して出力データに対して所
定のデータ変換処理を行う変換手段と、前記変換手段に
よる変換処理エラーの発生状態を判定する判定手段と、
前記判定手段の判定結果に基づいて異なる制御コマンド
を生成する生成手段と、前記生成手段により生成される
各制御コマンドを前記印刷装置に出力する出力手段とを
有するので、所定のデータ変換処理に伴うエラー発生を
事前に判定して、同一のエラーを発生する所定のデータ
変換処理実行を制限すべき制御コマンドとそれ以外の制
御コマンドとを識別できる制御コマンドを印刷装置に出
力することができる。
As described above, the first embodiment according to the present invention is described.
According to the third aspect of the present invention, there is provided a print control device capable of communicating with a printing device via a predetermined communication medium, wherein a data type to be output to the printing device is analyzed, and a predetermined data Conversion means for performing conversion processing, and determination means for determining an occurrence state of a conversion processing error by the conversion means,
Since there are a generating unit that generates different control commands based on the determination result of the determining unit, and an output unit that outputs each control command generated by the generating unit to the printing device, By determining in advance that an error has occurred, it is possible to output to the printing apparatus a control command capable of discriminating a control command for restricting the execution of a predetermined data conversion process that generates the same error from another control command.

【0097】第4の発明によれば、前記所定のデータ変
換処理は、所定のビットマップデータを所定のデータ形
式で圧縮する処理とするので、印刷装置に転送すべきデ
ータ量を削減して、転送処理時間を大幅に短縮すること
ができる。
According to the fourth aspect, the predetermined data conversion process is a process of compressing predetermined bitmap data in a predetermined data format. Therefore, the amount of data to be transferred to the printing apparatus is reduced. Transfer processing time can be greatly reduced.

【0098】第5の発明によれば、所定のビットマップ
データは、前記印刷装置に登録すべきフォントデータま
たはビットマップイメージデータまたはフォームデータ
とするので、フォントデータまたはフォームデータの転
送に伴うエラー発生を予知して、最適な形式のフォント
データまたはフォームデータを効率よく転送することが
できる。
According to the fifth aspect, since the predetermined bitmap data is font data, bitmap image data, or form data to be registered in the printing apparatus, an error associated with the transfer of the font data or form data occurs. , And font data or form data in an optimal format can be efficiently transferred.

【0099】第6の発明によれば、所定の通信媒体を介
してデータ処理装置と通信可能な印刷制御装置であっ
て、前記データ処理装置から受信する種別の異なる制御
コマンドを解析して異なる形式の描画オブジェクトを生
成する第1,第2のオブジェクト生成手段と、前記制御
コマンドに所定のエラー情報が付加されているかどうか
を判定するエラー判定手段と、前記エラー判定手段の判
定結果に基づいて前記第1または第2のオブジェクト生
成手段のいずれかを選択する制御手段とを有するので、
所定のデータ変換処理に伴ってエラーとなってしまう制
御コマンドとそれ以外の制御コマンドとを識別して、オ
ブジェクト生成処理負担を軽減することができる。
According to the sixth aspect of the present invention, there is provided a print control device capable of communicating with a data processing device via a predetermined communication medium, the control device analyzing different types of control commands received from the data processing device, and executing a different format. First and second object generating means for generating a drawing object, error determining means for determining whether predetermined error information is added to the control command, and Control means for selecting either the first or the second object generation means,
By discriminating between a control command that causes an error with a predetermined data conversion process and other control commands, it is possible to reduce the load of the object generation process.

【0100】第7の発明によれば、前記第1のオブジェ
クト生成手段は、受信した制御コマンドを解析して所定
のデータ変換処理が施される第1形式の描画オブジェク
トを生成するので、所定のデータ変換処理に伴いエラー
が発生しない制御コマンドを識別して、該制御コマンド
を効率よく第1形式の描画オブジェクトとして生成する
ことができる。
According to the seventh aspect, the first object generating means analyzes the received control command and generates a first format drawing object to which a predetermined data conversion process is performed. By identifying a control command that does not cause an error in the data conversion process, the control command can be efficiently generated as a first format drawing object.

【0101】第8の発明によれば、前記第2のオブジェ
クト生成手段は、受信した制御コマンドを解析して所定
のデータ変換処理が施されない第2形式の描画オブジェ
クトを生成するので、所定のデータ変換処理に伴いエラ
ーが発生する制御コマンドを識別して、該制御コマンド
に対するデータ変換処理を制限して、効率よく第2形式
の描画オブジェクトとして生成することができる。
According to the eighth aspect, the second object generating means analyzes the received control command and generates the second format drawing object which is not subjected to the predetermined data conversion processing. A control command in which an error occurs during the conversion process is identified, the data conversion process for the control command is limited, and a drawing object of the second format can be efficiently generated.

【0102】第9の発明によれば、前記制御手段は、前
記エラー判定手段により前記制御コマンドに所定のエラ
ー情報が付加されていないと判定した場合には前記第1
のオブジェクト生成手段を選択し、前記エラー判定手段
により前記制御コマンドに所定のエラー情報が付加され
ていると判定した場合には前記第2のオブジェクト生成
手段を選択するので、所定のデータ変換処理に伴ってエ
ラーとなってしまう制御コマンドとそれ以外の制御コマ
ンドとを識別して、適切なデータ形式のオブジェクト生
成手段を選択でき、オブジェクト生成負担を軽減でき
る。
According to the ninth aspect, when the error determining means determines that predetermined error information is not added to the control command, the control means sets the first command to the first command.
If the error determination means determines that predetermined error information has been added to the control command, the second object generation means is selected. By discriminating between a control command that causes an error and a control command other than that, an object generation unit having an appropriate data format can be selected, and the object generation load can be reduced.

【0103】第10の発明によれば、前記所定のデータ
変換処理は、所定のビットマップデータを所定のデータ
形式で圧縮する処理とするので、ビットマップデータの
転送効率を高め、短時間に所定のビットマップデータを
転送することができる。
According to the tenth aspect, since the predetermined data conversion process is a process of compressing predetermined bitmap data in a predetermined data format, the transfer efficiency of bitmap data is increased, and the predetermined data conversion process is performed in a short time. Bitmap data can be transferred.

【0104】第11の発明によれば、前記データ処理装
置から受信した制御コマンドを解析して前記データ処理
装置の種別とは異なる形式でデータ変換処理が施される
第3形式の描画オブジェクトを生成する第3のオブジェ
クト生成手段を有し、前記制御手段が前記エラー判定手
段により前記制御コマンドに所定のエラー情報が付加さ
れていると判定した場合には前記第2または前記第3の
オブジェクト生成手段のいずれかを選択するので、デー
タ処理装置側でのデータ変換処理では変換処理エラーと
なる場合でも、他のデータ変換処理を試みて、可能な限
り少ないメモリ資源で転送される制御コマンドに従う描
画オブジェクトを生成することができる。
According to the eleventh aspect, a control command received from the data processing device is analyzed to generate a third format drawing object to be subjected to data conversion processing in a format different from the type of the data processing device. A third object generation unit that determines that predetermined error information has been added to the control command by the error determination unit. Therefore, even if a conversion processing error occurs in the data conversion processing on the data processing apparatus side, another data conversion processing is attempted, and the drawing object according to the control command transferred with the least possible memory resources is used. Can be generated.

【0105】第12,第13の発明によれば、所定の通
信媒体を介して印刷装置と通信可能な印刷制御方法であ
って、あるいは所定の通信媒体を介してデータ処理装置
と通信して印刷処理を制御するコンピュータが読み出し
可能なプログラムを格納した記憶媒体であって、前記印
刷装置に出力すべきデータ種別を解析して出力データに
対して所定のデータ変換処理を行う変換工程と、該変換
処理エラーの発生状態を判定する判定工程と、該判定結
果に基づいて異なる制御コマンドを生成する生成工程
と、該生成される各制御コマンドを前記印刷装置に出力
する出力工程とを有するので、所定のデータ変換処理に
伴うエラー発生を事前に判定して、同一のエラーを発生
する所定のデータ変換処理実行を制限すべき制御コマン
ドとそれ以外の制御コマンドとを識別できる制御コマン
ドを印刷装置に出力することができる。
According to the twelfth and thirteenth aspects, there is provided a print control method capable of communicating with a printing apparatus via a predetermined communication medium, or by communicating with a data processing apparatus via a predetermined communication medium for printing. A conversion step of analyzing a data type to be output to the printing apparatus and performing a predetermined data conversion process on output data, wherein the conversion step is a storage medium storing a computer-readable program for controlling the processing; The method includes a determination step of determining the occurrence state of a processing error, a generation step of generating a different control command based on the determination result, and an output step of outputting each generated control command to the printing apparatus. A control command that limits the execution of a predetermined data conversion process that generates the same error by determining in advance the occurrence of an error that accompanies the data conversion process, and other controls It is possible to output a control command capable of identifying and command to the printing apparatus.

【0106】第14,第15の発明によれば、所定の通
信媒体を介してデータ処理装置と通信可能な印刷制御方
法であって、前記データ処理装置から受信する種別の異
なる制御コマンドを解析して異なる形式の描画オブジェ
クトを生成する第1,第2のオブジェクト生成工程と、
前記制御コマンドに所定のエラー情報が付加されている
かどうかを判定するエラー判定工程と、該判定結果に基
づいて前記第1または第2のオブジェクト生成工程のい
ずれかを選択する選択工程とを有するので、所定のデー
タ変換処理に伴ってエラーとなってしまう制御コマンド
とそれ以外の制御コマンドとを識別して、オブジェクト
生成処理負担を軽減することができる。
According to the fourteenth and fifteenth aspects, there is provided a print control method capable of communicating with a data processing device via a predetermined communication medium, wherein a control command of a different type received from the data processing device is analyzed. First and second object generating steps of generating drawing objects of different formats by using
The method includes an error determining step of determining whether predetermined error information is added to the control command, and a selecting step of selecting one of the first and second object generating steps based on the determination result. In addition, it is possible to identify a control command that causes an error due to a predetermined data conversion process and a control command other than the control command, thereby reducing the load of the object generation process.

【0107】従って、印刷装置に所定のデータ変換処理
を施して制御コマンドを転送する際に、印刷装置側で受
信する該制御コマンドに伴う描画オブジェクト生成に伴
い同一のデータ変換処理エラーとなってしまうことを事
前に判定して、印刷装置側における描画オブジェクト生
成時のエラー処理負担を軽減して、転送される印刷デー
タを効率よく処理できる印刷処理環境を自在に整備でき
る等の効果を奏する。
Therefore, when performing a predetermined data conversion process to the printing apparatus and transferring the control command, the same data conversion processing error occurs as the drawing object generated by the control command received by the printing apparatus. This makes it possible to reduce the load of error processing at the time of generating a drawing object on the printing apparatus, and to provide a print processing environment capable of efficiently processing transferred print data.

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

【図1】本発明を適用可能な画像処理装置の内部構造を
示す断面図である。
FIG. 1 is a cross-sectional view illustrating an internal structure of an image processing apparatus to which the present invention can be applied.

【図2】本発明の第1実施形態を示す出力制御装置を適
用可能な画像出力システムの基本構成を説明するブロッ
ク図である。
FIG. 2 is a block diagram illustrating a basic configuration of an image output system to which the output control device according to the first embodiment of the present invention can be applied.

【図3】本発明に係る出力制御装置における第1のデー
タ処理手順の一例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of a first data processing procedure in the output control device according to the present invention.

【図4】本発明に係る出力制御装置における第2のデー
タ処理手順の一例を示すフローチャートである。
FIG. 4 is a flowchart illustrating an example of a second data processing procedure in the output control device according to the present invention.

【図5】本発明に係る出力制御装置を適用可能な画像出
力システムで読み出し可能な各種データ処理プログラム
を格納する記憶媒体のメモリマップを説明する図であ
る。
FIG. 5 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by an image output system to which the output control device according to the present invention can be applied.

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

100 LBP本体 200 ホストコンピュータ 201 CPU 202 ROM 203 制御プログラム 204 フォントROM 205 RAM 207 受信バッファ 210 プリンタエンジン 212 アプリケーション 213 プリンタドライバ 100 LBP main body 200 Host computer 201 CPU 202 ROM 203 Control program 204 Font ROM 205 RAM 207 Receive buffer 210 Printer engine 212 Application 213 Printer driver

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 所定の通信媒体を介して印刷装置と通信
可能な印刷制御装置であって、 前記印刷装置に出力すべきデータ種別を解析して出力デ
ータに対して所定のデータ変換処理を行う変換手段と、 前記変換手段による変換処理エラーの発生状態を判定す
る判定手段と、 前記判定手段の判定結果に基づいて異なる制御コマンド
を生成する生成手段と、 前記生成手段により生成される各制御コマンドを前記印
刷装置に出力する出力手段と、を有することを特徴とす
る印刷制御装置。
1. A printing control device capable of communicating with a printing device via a predetermined communication medium, wherein the printing control device analyzes a data type to be output to the printing device and performs a predetermined data conversion process on output data. Converting means; determining means for determining an occurrence state of a conversion processing error by the converting means; generating means for generating different control commands based on the determination result of the determining means; and each control command generated by the generating means Output means for outputting to the printing device.
【請求項2】 前記生成手段は、前記判定手段が前記変
換手段による変換処理エラーが発生していないと判定し
た場合には、前記出力データに前記所定のデータ変換処
理を実行した変換データを含む第1の制御コマンドを生
成することを特徴とする請求項1記載の印刷制御装置。
2. The output unit includes, when the determination unit determines that no conversion processing error has occurred by the conversion unit, the output data including the conversion data obtained by executing the predetermined data conversion process. The print control apparatus according to claim 1, wherein the print control apparatus generates a first control command.
【請求項3】 前記生成手段は、前記判定手段が前記変
換手段による変換処理エラーが発生していると判定した
場合には、前記出力データおよび前記変換処理エラー発
生有無を示す情報が付加される第2の制御コマンドを生
成することを特徴とする請求項1記載の印刷制御装置。
3. The output unit adds the output data and information indicating whether or not the conversion processing error has occurred when the determination unit determines that a conversion processing error has occurred by the conversion unit. The print control apparatus according to claim 1, wherein the print control apparatus generates a second control command.
【請求項4】 前記所定のデータ変換処理は、所定のビ
ットマップデータを所定のデータ形式で圧縮する処理で
あることを特徴とする請求項1記載の印刷制御装置。
4. The print control apparatus according to claim 1, wherein the predetermined data conversion processing is processing for compressing predetermined bitmap data in a predetermined data format.
【請求項5】 所定のビットマップデータは、前記印刷
装置に登録すべきフォントデータまたはビットマップイ
メージデータまたはフォームデータとすることを特徴と
する請求項4記載の印刷制御装置。
5. The printing control device according to claim 4, wherein the predetermined bitmap data is font data, bitmap image data, or form data to be registered in the printing device.
【請求項6】 所定の通信媒体を介してデータ処理装置
と通信可能な印刷制御装置であって、 前記データ処理装置から受信する種別の異なる制御コマ
ンドを解析して異なる形式の描画オブジェクトを生成す
る第1,第2のオブジェクト生成手段と、 前記制御コマンドに所定のエラー情報が付加されている
かどうかを判定するエラー判定手段と、 前記エラー判定手段の判定結果に基づいて前記第1また
は第2のオブジェクト生成手段のいずれかを選択する制
御手段と、を有することを特徴とする印刷制御装置。
6. A print control device capable of communicating with a data processing device via a predetermined communication medium, wherein the control device analyzes different types of control commands received from the data processing device and generates different types of drawing objects. First and second object generation means, error determination means for determining whether predetermined error information is added to the control command, and the first or second object generation means based on a determination result of the error determination means. And a control unit for selecting one of the object generation units.
【請求項7】 前記第1のオブジェクト生成手段は、受
信した制御コマンドを解析して所定のデータ変換処理が
施される第1形式の描画オブジェクトを生成することを
特徴とする請求項6記載の印刷制御装置。
7. The apparatus according to claim 6, wherein said first object generating means analyzes the received control command and generates a first format drawing object to which a predetermined data conversion process is performed. Print control device.
【請求項8】 前記第2のオブジェクト生成手段は、受
信した制御コマンドを解析して所定のデータ変換処理が
施されない第2形式の描画オブジェクトを生成すること
を特徴とする請求項6記載の印刷制御装置。
8. The printing method according to claim 6, wherein said second object generating means analyzes the received control command and generates a second format drawing object on which a predetermined data conversion process is not performed. Control device.
【請求項9】 前記制御手段は、前記エラー判定手段に
より前記制御コマンドに所定のエラー情報が付加されて
いないと判定した場合には前記第1のオブジェクト生成
手段を選択し、前記エラー判定手段により前記制御コマ
ンドに所定のエラー情報が付加されていると判定した場
合には前記第2のオブジェクト生成手段を選択すること
を特徴とする請求項6記載の印刷制御装置。
9. The control means selects the first object generation means when the error determination means determines that predetermined error information is not added to the control command, and the control means selects the first object generation means. 7. The print control apparatus according to claim 6, wherein when it is determined that predetermined error information is added to the control command, the second object generation unit is selected.
【請求項10】 前記所定のデータ変換処理は、所定の
ビットマップデータを所定のデータ形式で圧縮する処理
であることを特徴とする請求項7または8記載の印刷制
御装置。
10. The print control apparatus according to claim 7, wherein the predetermined data conversion processing is processing for compressing predetermined bitmap data in a predetermined data format.
【請求項11】 前記データ処理装置から受信した制御
コマンドを解析して前記データ処理装置の種別とは異な
る形式でデータ変換処理が施される第3形式の描画オブ
ジェクトを生成する第3のオブジェクト生成手段を有
し、 前記制御手段が前記エラー判定手段により前記制御コマ
ンドに所定のエラー情報が付加されていると判定した場
合には前記第2または前記第3のオブジェクト生成手段
のいずれかを選択することを特徴とする請求項6記載の
印刷制御装置。
11. A third object generation for analyzing a control command received from the data processing device and generating a third format drawing object to be subjected to data conversion processing in a format different from the type of the data processing device. Means for selecting one of the second or third object generation means when the control means determines that predetermined error information is added to the control command by the error determination means. 7. The printing control device according to claim 6, wherein:
【請求項12】 所定の通信媒体を介して印刷装置と通
信可能な印刷制御方法であって、 前記印刷装置に出力すべきデータ種別を解析して出力デ
ータに対して所定のデータ変換処理を行う変換工程と、 該変換処理エラーの発生状態を判定する判定工程と、 該判定結果に基づいて異なる制御コマンドを生成する生
成工程と、 該生成される各制御コマンドを前記印刷装置に出力する
出力工程と、を有することを特徴とする印刷制御方法。
12. A print control method capable of communicating with a printing device via a predetermined communication medium, wherein a data type to be output to the printing device is analyzed, and a predetermined data conversion process is performed on output data. A converting step; a determining step of determining an occurrence state of the conversion processing error; a generating step of generating a different control command based on the determination result; and an outputting step of outputting the generated control commands to the printing apparatus. And a print control method.
【請求項13】 所定の通信媒体を介して印刷装置と通
信して印刷処理を制御するコンピュータが読み出し可能
なプログラムを格納した記憶媒体であって、 前記印刷装置に出力すべきデータ種別を解析して出力デ
ータに対して所定のデータ変換処理を行う変換工程と、 該変換処理エラーの発生状態を判定する判定工程と、 該判定結果に基づいて異なる制御コマンドを生成する生
成工程と、 該生成される各制御コマンドを前記印刷装置に出力する
出力工程とを含むことを特徴とするコンピュータが読み
出し可能なプログラムを格納した記憶媒体。
13. A storage medium storing a computer-readable program that communicates with a printing apparatus via a predetermined communication medium to control a printing process, and analyzes a data type to be output to the printing apparatus. A conversion step of performing a predetermined data conversion process on the output data by performing a conversion process error; a determining step of determining the occurrence state of the conversion processing error; a generating step of generating a different control command based on the determination result; An output step of outputting each control command to the printing apparatus.
【請求項14】 所定の通信媒体を介してデータ処理装
置と通信可能な印刷制御方法であって、 前記データ処理装置から受信する種別の異なる制御コマ
ンドを解析して異なる形式の描画オブジェクトを生成す
る第1,第2のオブジェクト生成工程と、 前記制御コマンドに所定のエラー情報が付加されている
かどうかを判定するエラー判定工程と、 該判定結果に基づいて前記第1または第2のオブジェク
ト生成工程のいずれかを選択する選択工程と、を有する
ことを特徴とする印刷制御方法。
14. A print control method capable of communicating with a data processing device via a predetermined communication medium, wherein a different type of control command received from the data processing device is analyzed to generate a drawing object of a different format. First and second object generation steps; an error determination step of determining whether predetermined error information is added to the control command; and a first or second object generation step based on the determination result. And a selecting step of selecting any one of them.
【請求項15】 所定の通信媒体を介してデータ処理装
置と通信して印刷処理を制御するコンピュータが読み出
し可能なプログラムを格納した記憶媒体であって、 前記データ処理装置から受信する種別の異なる制御コマ
ンドを解析して異なる形式の描画オブジェクトを生成す
る第1,第2のオブジェクト生成工程と、 前記制御コマンドに所定のエラー情報が付加されている
かどうかを判定するエラー判定工程と、 該判定結果に基づいて前記第1または第2のオブジェク
ト生成工程のいずれかを選択する選択工程とを含むこと
を特徴とするコンピュータが読み出し可能なプログラム
を格納した記憶媒体。
15. A storage medium storing a computer readable program for controlling a printing process by communicating with a data processing device via a predetermined communication medium, wherein different types of control received from the data processing device are provided. First and second object generating steps of analyzing a command to generate drawing objects of different formats; an error determining step of determining whether predetermined error information is added to the control command; Selecting one of the first and second object generation steps based on the first and second object generation steps on the basis of the computer-readable program.
JP9154874A 1997-06-12 1997-06-12 Print controller, print control method and storage medium in which program readable by computer is stored Pending JPH113184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9154874A JPH113184A (en) 1997-06-12 1997-06-12 Print controller, print control method and storage medium in which program readable by computer is stored

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9154874A JPH113184A (en) 1997-06-12 1997-06-12 Print controller, print control method and storage medium in which program readable by computer is stored

Publications (1)

Publication Number Publication Date
JPH113184A true JPH113184A (en) 1999-01-06

Family

ID=15593830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9154874A Pending JPH113184A (en) 1997-06-12 1997-06-12 Print controller, print control method and storage medium in which program readable by computer is stored

Country Status (1)

Country Link
JP (1) JPH113184A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50120359U (en) * 1974-03-11 1975-10-01
CN112083900A (en) * 2020-09-21 2020-12-15 珠海奔图电子有限公司 Method and device for processing imaging abnormity and image forming device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50120359U (en) * 1974-03-11 1975-10-01
CN112083900A (en) * 2020-09-21 2020-12-15 珠海奔图电子有限公司 Method and device for processing imaging abnormity and image forming device
US11782655B2 (en) 2020-09-21 2023-10-10 Zhuhai Pantum Electronics Co., Ltd. Method and apparatus for handling image forming abnormality, image forming apparatus, and storage medium
CN112083900B (en) * 2020-09-21 2023-11-07 珠海奔图电子有限公司 Imaging abnormality processing method and device and image forming device

Similar Documents

Publication Publication Date Title
US8422046B2 (en) Print setting based reprinting
US6611347B1 (en) Print control apparatus, print control method, storage medium, and computer readable program performing a form overlay process
JPH11170655A (en) Method and apparatus for outputting image
US6348975B1 (en) Image processing apparatus, image processing method, and storage medium
JPH11198462A (en) Printer and method for image processing
JP4461361B2 (en) Drawing processing method and program, drawing command output device and image forming apparatus
JPH10278362A (en) Apparatus and method for controlling printing and printing system
JPH113184A (en) Print controller, print control method and storage medium in which program readable by computer is stored
JP2000099291A (en) Print controller, data processing method for the same and storage medium storing computer readable program
JPH11235849A (en) Image processing device, data processing method thereof, and storage medium storing program readable by computer
JP3792881B2 (en) Image processing apparatus, data processing method for image processing apparatus, and storage medium storing computer-readable program
JP3204136B2 (en) Image processing apparatus and compression processing method
JP3432205B2 (en) Information processing apparatus, data processing method, and print control system
US6281985B1 (en) Print control apparatus, print control method, and memory medium
JP2000155663A (en) Printing controller, data processing method for the printing controller and storage medium stored with computer readable program
JPH11188932A (en) Print controller, band processing method therefor and storage medium storing computer readable program
JPH09218763A (en) Printing processing system
JP2000033730A (en) Printer, control thereof and printing system
JP2002059596A (en) Data processing device, data processing system, data processing method, printing device, printing system, printing method and medium providing processing program
JPH11305962A (en) Printing processor, data processing method therefor and medium for storing computer readable program
JP2000094760A (en) Printing controller, data-processing method for the same, and recording medium storing program readable by computer
JPH11170656A (en) Method and apparatus for outputting image
JP3495877B2 (en) Printer control system, printer control device and their methods
JP2737880B2 (en) Character processing apparatus and method
JP2002127512A (en) Imaging apparatus and imaging method