JP2007223184A - Image recording apparatus and image data processing method - Google Patents
Image recording apparatus and image data processing method Download PDFInfo
- Publication number
- JP2007223184A JP2007223184A JP2006047681A JP2006047681A JP2007223184A JP 2007223184 A JP2007223184 A JP 2007223184A JP 2006047681 A JP2006047681 A JP 2006047681A JP 2006047681 A JP2006047681 A JP 2006047681A JP 2007223184 A JP2007223184 A JP 2007223184A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- rasters
- printed
- image
- ratio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、情報処理装置からの印刷指示を受けて画像記録を行う画像記録装置、および、これに関連した、情報処理装置における画像データ処理方法に関する。 The present invention relates to an image recording apparatus that records an image in response to a print instruction from the information processing apparatus, and an image data processing method in the information processing apparatus related thereto.
従来、ホストコンピュータ等の外部機器から出力される画像データを受信して記録紙等の被記録媒体に記録するプリンタ等の画像記録装置が知られている。 2. Description of the Related Art Conventionally, an image recording apparatus such as a printer that receives image data output from an external device such as a host computer and records the image data on a recording medium such as recording paper is known.
このような画像記録装置では、ホストコンピュータより送信されてくる画像データの全体量がわからないため、現在受信しているデータ、あるいは現在印刷中のデータが全画像データ量に対してどの程度の割合となっているか、あるいは例えば、後どれくらいの時間で印刷処理が終了するのか等を判別することはできなかった。 In such an image recording apparatus, since the total amount of image data transmitted from the host computer is unknown, the ratio of the currently received data or the data currently being printed to the total image data amount For example, it has not been possible to determine how long the printing process will be completed.
また、プリンタドライバ等のホストコンピュータ側のアプリケーションで、プリンタの印刷状態を監視することができるものが存在する。しかしながら、これはホスト側からネットワークを通じて監視可能なプリンタの状態に基づくもので、例えば印刷中である、エラーが発生している、等の状態を知ることが可能なだけであり、実際にプリンタ側でどの程度印刷処理が進行しているかを正確に知ることはできなかった。 In addition, there are applications on the host computer side such as a printer driver that can monitor the printing state of a printer. However, this is based on the status of the printer that can be monitored from the host side through the network. For example, it is only possible to know the status of printing, an error has occurred, etc. Therefore, it was impossible to know exactly how much the printing process was progressing.
特許文献1に開示された、画像データ先頭に全画像データ量を記述しこれを参照する方法によれば、現在受信しているデータ、あるいは現在印刷中のデータが全画像データ量に対してどの程度の割合となっているかを知ることができる。しかしながら、プリンタ等の画像記録装置においては、複数の画像構成要素間に空白部分が存在する場合や、画像の前半後半で画像構成要素が異なり、データ圧縮率が極端に変化する場合等、受信されたデータ量と、そのデータによって記録される実際の画像の量が必ずしも比例しない場合が多々ある。このため、現時点で受信されたデータ量の割合をもって、現時点で印刷済みである画像の量を正確に知ることはできず、表示部に表示されるデータ受信進捗と実際の印刷進捗が一致しないことがあった。
従って上記従来例では、外部機器であるホストコンピュータから送信される画像データに対して、プリンタ装置では、その画像データのうちのどの程度の印刷処理が終了したかを判別できず、ユーザは進行中の印刷結果を見て、印刷処理終了時刻を予想するか、印刷処理の終了を待つしかなかった。 Therefore, in the above conventional example, with respect to image data transmitted from a host computer which is an external device, the printer apparatus cannot determine how much of the image data has been printed, and the user is in progress. In view of the print result, the print processing end time must be predicted or the end of the print processing must be waited.
本発明はこのような背景においてなされたもので、外部機器からの印刷指示に係る画像データに対する印刷処理の進捗度を比較的正確にユーザに知らしめることができる画像記録装置および画像データ処理方法を提供することを目的とする。 The present invention has been made in such a background, and provides an image recording apparatus and an image data processing method that can inform a user of the progress of print processing for image data related to a print instruction from an external device relatively accurately. The purpose is to provide.
本発明による画像記録装置は、画像データとともにその単位処理量ごとの比率通知情報を受信して記憶する記憶手段と、記憶された画像データを処理して被記録媒体上に記録する記録手段と、前記画像データの印刷済み量を監視する監視手段と、現在の印刷済み量を前記比率通知情報と比較し、全画像データに対する当該印刷済み量の比率を確認する確認手段と、確認された比率に基づいて印刷進捗度を逐次更新表示する表示手段とを備えたことを特徴とする。 An image recording apparatus according to the present invention includes storage means for receiving and storing ratio notification information for each unit processing amount together with image data, recording means for processing the stored image data and recording it on a recording medium, A monitoring unit that monitors the printed amount of the image data, a confirmation unit that compares a current printed amount with the ratio notification information, and confirms a ratio of the printed amount with respect to all image data, and a confirmed ratio. And display means for sequentially updating and displaying the print progress.
「単位処理量」とは画像データ全体を、予め定めた分割数で分割した処理量であり、例えば、画像データがラスタ処理される場合のラスタ数で表すことができる。 The “unit processing amount” is a processing amount obtained by dividing the entire image data by a predetermined number of divisions, and can be represented by, for example, the number of rasters when the image data is subjected to raster processing.
「比率通知情報」は単位処理量の処理ごとに発行され、少なくとも、当該単位処理量までの処理量(実施の形態では比較ラスタ数)と画像データ全体の処理量に対する比率の情報を含む。現在の印刷済み量を前記比率通知情報と比較することにより、該当する比率がわかり、これに基づいて印刷進捗度が確認される。 “Ratio notification information” is issued for each processing of the unit processing amount, and includes at least processing amount up to the unit processing amount (the number of comparison rasters in the embodiment) and ratio information with respect to the processing amount of the entire image data. By comparing the current printed amount with the ratio notification information, the corresponding ratio is known, and the printing progress is confirmed based on this ratio.
このようにして求められた印刷進捗度は、画像記録装置の表示部に表示されるか、または、当該印刷指示を発行した外部機器へ通知されその表示部に表示される。 The degree of printing progress thus obtained is displayed on the display unit of the image recording apparatus, or is notified to the external device that has issued the print instruction and displayed on the display unit.
本発明による画像データ処理方法は、印刷対象の画像データを処理し、画像記録装置に対して印刷指示を発行する情報処理装置における画像データ処理方法であって、印刷対象の画像データについて、空白領域を除いた画像領域の総ラスタ数を算出するステップと、前記印刷対象の画像データをラスタデータに変換し、前記画像記録装置によって規定されるラスタデータ記述言語におけるラスタデータ送信コマンドワードを生成し、前記画像記録装置へ送信するステップと、生成されるラスタ数が所定数に達する毎に、その時点までの印刷済みラスタ数、および総ラスタ数に対する印刷済みラスタ数の比率を含む比率通知コマンドを生成し、前記画像記録装置へ送信するステップとを備えたことを特徴とする。 An image data processing method according to the present invention is an image data processing method in an information processing apparatus that processes image data to be printed and issues a print instruction to the image recording apparatus. Calculating the total number of rasters in the image area excluding, converting the image data to be printed into raster data, generating a raster data transmission command word in a raster data description language defined by the image recording device, Sending to the image recording device, and every time the number of rasters to be generated reaches a predetermined number, a ratio notification command including the number of printed rasters up to that point and the ratio of the number of printed rasters to the total number of rasters is generated And transmitting to the image recording apparatus.
前記所定数は、例えば、予め定めた分割数で前記総ラスタ数を除算して得られる数である。 The predetermined number is, for example, a number obtained by dividing the total raster number by a predetermined division number.
本発明によれば、外部機器から印刷指示に係る画像データとともにその単位処理量ごとの比率通知情報を画像記録装置へ送信し、画像記録装置での印刷処理時に、この比率通知情報に照らして画像データの印刷済み量を判断することにより、印刷処理と平行して印刷進捗度を比較的正確に求めることができる。また、この印刷進捗度を画像記録装置または外部装置の表示部上で視認できる。 According to the present invention, the ratio notification information for each unit processing amount is transmitted to the image recording apparatus together with the image data related to the print instruction from the external device, and the image is compared with the ratio notification information during the printing process in the image recording apparatus. By determining the printed amount of data, it is possible to obtain the printing progress relatively accurately in parallel with the printing process. Further, the degree of progress of printing can be visually recognized on the display unit of the image recording apparatus or the external apparatus.
以下、添付図面を参照して本発明の好適な実施の形態を詳細に説明する。 Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
図1は本発明の第1の実施の形態の印刷システムを示す機能ブロック図である。この印刷システムは、印刷設定コマンドおよび印刷データを出力する外部機器(情報処理装置)としてのホストコンピュータ10と、その印刷設定コマンドおよび印刷データを受信して印刷動作を実行するプリンタ装置100とにより構成される。 FIG. 1 is a functional block diagram showing a printing system according to the first embodiment of the present invention. The printing system includes a host computer 10 as an external device (information processing apparatus) that outputs a print setting command and print data, and a printer device 100 that receives the print setting command and print data and executes a printing operation. Is done.
より具体的には、ホストコンピュータ10は、通常のPCと同様、制御部11、記憶部13、プリンタインタフェース(I/F)部15、操作部17、および表示部19を含む。制御部11はCPUのような情報処理を実行するプロセッサを含み、ホストコンピュータ10の全体を制御する。記憶部13は、各種のプログラムやデータを記憶するためのデバイスとして、メモリや外部記憶装置を含む。プリンタインタフェース部15は、プリンタ装置100への印刷指示を行うための通信インタフェースを構成する。操作部17は、キーボードやポインティングデバイスを含み、ユーザの入力インタフェースを提供する部位である。表示部19は、LCDやCRT等の表示デバイスを含み、ユーザに対する表示インタフェースを提供する部位である。
More specifically, the host computer 10 includes a
本実施の形態におけるホストコンピュータ10の制御部11は、印刷データ生成開始時に、想定される全ての空白でない画像構成要素を含んだ画像長を、印刷する解像度でのラスタ数に変換し、有効画像長として記憶部13に記憶する。印刷データも記憶部13に記憶されているものとする。制御部11は、印刷データ生成処理を開始すると、生成された画像ラスタ数を計数し、前記した有効画像長に対する比率を順次算出する。この比率が所定の数値に達すると、該当するラスタデータを生成した直後にラスタデータ比率通知コマンドワードを挿入する。このコマンドワードには、コマンドパラメータとして、比較用ラスタ数、および有効画像長に対する当該ラスタデータ部分における進捗比率が記述されている。前記した所定の数値とは、例えば10%から90%までの10%刻みの数値であるが、印刷対象の画像のサイズに応じて分割数を変えるようにしてもよい。例えば、印刷する画像が極度に小さい場合等、特定の比率、例えば50%の数値のみにコマンドワードを挿入してもよいし、場合によっては全く挿入されることがなくとも構わない。
At the start of print data generation, the
プリンタ装置100では、受信制御部102が、ホストコンピュータ10から送られてくる印刷データ(コマンドワードを含む)を受信し、その受信したデータを受信バッファ103に格納する。
In the printer apparatus 100, the
コマンドワード記憶部104は、受信制御部102で受信したデータが前記ラスタ数比率コマンドワードであれば、コマンドにコマンドパラメータとして記述された比較用ラスタ数および全ラスタ数に対する比率を記憶する。コマンドワード記憶部104は、例えば配列形式のバッファ構成となっており、例えば前記した10%刻みの進捗比率をすべて保存するのに必要十分な10件のコマンドワードに関する配列要素を記憶可能な構成となっている。コマンドワード記憶部104は、各コマンドワードに対して配列構成要素400が割り当てられる構造体となっている。
If the data received by the
本実施の形態においては、各コマンドワードは、所定の処理単位毎に発行され、当該処理単位までの印刷済みラスタ数である比較用ラスタ数および全ラスタ数に対する当該処理単位までの進捗比率および当該処理単位が印刷済みか否かを示すフラグ(ON/OFF)を有する。各コマンドワード受信時、前記プリンタ内部処理の有無を示すフラグは必ずONとして記憶される。本実施の形態においては、配列バッファは添字0の配列構成要素400から使用され、添字9の配列構成要素400までを使い切った場合には、再度添字0の配列構成要素400におけるプリンタ内部処理の有無を示すフラグを参照する。このフラグが印刷済みを表す場合にはこの配列構成要素400を再度使用可能とする。印刷済みでない場合、データ解析処理を一時休止し、当該フラグが印刷済みとされるまで印刷制御部を待つ。
In this embodiment, each command word is issued for each predetermined processing unit, the number of comparison rasters that are the number of printed rasters up to the processing unit, the progress ratio to the processing unit with respect to the total number of rasters, and the It has a flag (ON / OFF) indicating whether or not the processing unit has been printed. When each command word is received, the flag indicating the presence / absence of internal processing of the printer is always stored as ON. In the present embodiment, the array buffer is used from the
データ制御部105は、受信バッファ103から受信した印刷データを読み出し、読み出した印刷データを印刷バッファ106に展開する。
The
印刷制御部107は、印刷バッファ106から読み出した印刷データに従って記録部108を制御して記録紙に印刷する。また、印刷制御部107では、データ制御部105により読み出され、記録部108で印刷処理されたラスタ数を計数する。印刷制御部107は、印刷処理されたラスタ数がインクリメントされるごとに前記コマンドワード記憶部104の各配列要素における比較用ラスタ数を参照し、コマンドワード記憶部104の配列要素中でこの値が前記印刷処理されたラスタ数を下回ったものがあれば、対応する配列要素について順次印刷内部処理の有無を示すフラグをOFFとするとともに、後述する表示制御部109に、OFFとされた配列要素内の印刷進捗比率をパラメータとする表示変更コマンドを発行する。
The
記録部108は、印刷制御部107より入力される印刷データを記録紙等の被記録媒体に印刷する。
The
表示制御部109は、表示部110へのデータ表示を制御する。この表示部110は、各種データ等を表示する、例えばLCDやCRT等のディスプレイ装置である。表示制御部109は、印刷制御部107より受信した表示変更コマンドを受信し、表示部110における印刷進捗度の表示を更新する。
The
このように、プリンタ装置100は、ホストコンピュータ10から印刷指示を受信すると、すべての画像データを受信する前に、受信済みの画像データ部分を逐次印刷処理していく。この際に、空白領域を除く実質的な画像領域のサイズおよびその各単位の境界がコマンドワード記憶部104の各コマンドワードのパラメータから判断できるので、すべての画像データを受信する前に、画像データの印刷処理の進行とともにその進捗比率を正確に確認することができる。
As described above, when receiving a print instruction from the host computer 10, the printer device 100 sequentially prints the received image data portion before receiving all the image data. At this time, since the size of the substantial image area excluding the blank area and the boundary of each unit can be determined from the parameters of each command word in the command
図2はホストコンピュータ10において計数の対象となる画像データの範囲を示した図である。本実施の形態におけるプリンタ装置100は、画像の空白領域211〜213(画像領域L1,L2で示した範囲以外の領域)については、用紙搬送を急速に行って記録処理を省略することにより印刷時間が短縮されるような制御を行うものである。
FIG. 2 is a diagram showing a range of image data to be counted in the host computer 10. The printer apparatus 100 according to the present embodiment prints the
図3は本実施の形態のホストコンピュータ10における画像データ生成処理手順を示すフローチャートである。このフローチャートの処理の実行手順を表すプログラムはホストコンピュータ10内の図示しないメモリ内に格納され、制御部を構成するCPUがこれを解釈実行することにより、この処理が実現される。このフローチャートの説明に際して図2を参照する。 FIG. 3 is a flowchart showing an image data generation processing procedure in the host computer 10 of this embodiment. A program representing the execution procedure of the processing of this flowchart is stored in a memory (not shown) in the host computer 10, and this processing is realized by the CPU constituting the control unit interpreting and executing it. Reference is made to FIG. 2 when describing this flowchart.
まずステップS21において、ホストコンピュータ10における所定のユーザインタフェースを使用して入力されたユーザからの印刷開始トリガを受信する。この時、上記ユーザインタフェースを使用して印刷設定が別途入力されている場合はその印刷設定に基づいた画像データ生成処理を行い、また入力されていない場合は所定のデフォルト印刷設定に基づいた同処理を行う。 First, in step S21, a print start trigger from a user input using a predetermined user interface in the host computer 10 is received. At this time, if print settings are separately input using the user interface, image data generation processing based on the print settings is performed. If the print settings are not input, the same processing based on predetermined default print settings is performed. I do.
次にステップS22において、出力画像サイズを算出する。例えば、図2に示した例では、ページ内に文字201と図形202を含む画像が存在する。このページ内で印刷される画像が存在する領域(空白以外の領域)の長さ(用紙搬送方向の長さ)はL1+L2=Lであり、これを印刷サイズとする。この時のサイズ単位系は、mm単位系でもよいし、inch単位系でもよい。
Next, in step S22, the output image size is calculated. For example, in the example shown in FIG. 2, an
次にステップS23において、前記した算出された印刷サイズおよび、前記した印刷設定において使用される所定の印刷解像度を用いて、画素単位系すなわち、実際に生成される画像データラインの単位系に変換された印刷サイズ(出力ラスタ数)を算出する。 Next, in step S23, the pixel unit system, that is, the unit system of the actually generated image data line is converted using the calculated print size and the predetermined print resolution used in the print setting. The print size (number of output rasters) is calculated.
次にステップS24において、画像データの生成処理を行う。画像データ生成処理は、画像を水平方向に画素単位で分割したラスタデータを単位として行われ、画像先頭のラスタデータから順に生成される。生成されたラスタデータは、プリンタ装置によって規定されるラスタデータ記述言語におけるラスタデータ送信コマンドワードに変換され、プリンタI/F部15を通じて順次プリンタ装置に送信される。
In step S24, image data generation processing is performed. The image data generation process is performed in units of raster data obtained by dividing the image in units of pixels in the horizontal direction, and is generated sequentially from the raster data at the head of the image. The generated raster data is converted into a raster data transmission command word in a raster data description language defined by the printer device, and is sequentially transmitted to the printer device through the printer I /
ステップS25においては、ステップS24で生成されたラスタデータを計数する。生成されたラスタデータ数が所定の割合すなわち、本実施の形態においては全印刷サイズ(出力ラスタ数)の10%、20%、…、90%に達した場合、ステップS26に移行する。また、これらの所定の割合に達しない場合、ステップS24〜S25を繰り返す。 In step S25, the raster data generated in step S24 is counted. When the number of generated raster data reaches a predetermined ratio, that is, 10%, 20%,..., 90% of the total print size (number of output rasters) in this embodiment, the process proceeds to step S26. If these predetermined ratios are not reached, steps S24 to S25 are repeated.
ステップS26においては、例えば後述する所定のコマンドフォーマットに基づいて、ラスタデータ比率通知コマンドワードを生成し、ラスタデータ送信コマンドワードと同様の手続きを用いてプリンタ装置に送信する。 In step S26, for example, a raster data ratio notification command word is generated based on a predetermined command format to be described later, and transmitted to the printer apparatus using the same procedure as the raster data transmission command word.
ステップS27においては、印刷データ生成処理の終了判断を行い、ステップS24〜S26を所定回数繰り返し、印刷データすべてをラスタデータ送信コマンドワードに変換すると処理終了と判断され、ステップS28に移行する。 In step S27, the end of the print data generation process is determined, and steps S24 to S26 are repeated a predetermined number of times. When all the print data is converted into a raster data transmission command word, it is determined that the process ends, and the process proceeds to step S28.
ステップS28においては、ホストコンピュータ10における所定の印刷終了処理を行い、画像データ生成処理は終了する。 In step S28, a predetermined print end process is performed in the host computer 10, and the image data generation process ends.
図4は本実施の形態におけるプリンタ装置100の受信制御部102の処理手順を示すフローチャートである。このフローチャートの処理の実行手順を表すプログラムはプリンタ装置100内の図示しないメモリ内に格納され、各種制御部を構成するCPUがこれを解釈実行することにより、この処理が実現される。後述する他のフローチャートについても同様である。
FIG. 4 is a flowchart showing a processing procedure of the
まずステップS41においては、ホストコンピュータ10から送出されてきたデータを受信し、ステップS42に移行する。 First, in step S41, data sent from the host computer 10 is received, and the process proceeds to step S42.
ステップS42においては、ステップS41において受信した画像データ中のコマンドがラスタ数比率コマンドであるか否かを判断する。ラスタ数比率コマンドであればステップS44に進み、そうでなければステップS43に移行する。 In step S42, it is determined whether or not the command in the image data received in step S41 is a raster number ratio command. If it is a raster number ratio command, the process proceeds to step S44; otherwise, the process proceeds to step S43.
ステップS43においては、受信データを受信バッファ103に記憶する等、他のコマンド種類に対応した処理を行う。
In step S43, processing corresponding to another command type, such as storing received data in the
ステップS44においては、当該処理単位までの処理済みラスタ数である比較用ラスタ数(**lines)および全ラスタ数に対する当該処理単位までの進捗比率(**%)および当該処理単位が印刷済みか否かを示すフラグ(この時点では“ON”)を、コマンドデータ記憶部104に記憶する。
In step S44, the comparison raster number (** lines), which is the number of processed rasters up to the processing unit, the progress ratio (**%) up to the processing unit with respect to the total number of rasters, and whether the processing unit has been printed. A flag indicating whether or not (“ON” at this time) is stored in the command
ステップS45においては、データ受信がすべて終了したかどうかを判断し、終了した場合には受信制御部における処理を終了する。残りのデータが存在する場合には、ステップS41に戻り、ステップS41〜S45の処理を繰り返す。 In step S45, it is determined whether or not all the data reception has been completed. If the data reception has been completed, the processing in the reception control unit is terminated. If there is remaining data, the process returns to step S41, and the processes of steps S41 to S45 are repeated.
図5は本実施の形態のプリンタ装置の印刷制御部107における処理手順を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure in the
まずステップS51において、データ制御部105によって印刷バッファ106に展開された印刷データを取り出し、記録部108に出力して印刷を行う。
First, in step S51, the print data developed in the
次にステップS52に進み、記録部108において印刷したデータ量を計数する。ここで、計数する印刷データ量は、具体的には印刷の終了した画像ラスタの数である。
In step S52, the amount of data printed in the
次にステップS53に進み、コマンドワード記憶部104に配列要素として記憶されているラスタ数進捗通知コマンドワードのうち、先頭の配列要素の印刷内部処理フラグがONであるかを判断する。ここで、ONであった場合にはステップS56に移行する。OFFであった場合にはステップS54に移行する。
In step S53, it is determined whether or not the print internal processing flag of the first array element in the raster number progress notification command word stored as an array element in the command
ステップS54においては、全ての配列要素についてチェックを終え、なおかつ全ての配列要素中の印刷内部処理フラグがOFFであったかどうかを判断する。ここで全ての配列要素について印刷内部処理フラグがOFFであった場合には、コマンドワード記憶部104の記憶によるチェックを終了したものとし、ステップS58に移行する。全ての配列要素についてのチェックが終了していない場合、ステップS55に移行する。
In step S54, it is determined whether or not all the array elements have been checked and the print internal processing flag in all the array elements is OFF. Here, if the print internal processing flag is OFF for all the array elements, it is assumed that the check by the storage in the command
ステップS55においては、コマンドワード記憶部104における現在参照している配列要素のポインタをインクリメントし、次の配列要素を参照するように変更し、ステップS53に戻る。
In step S55, the pointer of the currently referenced array element in the command
ステップS56においては、該当した配列要素パラメータについて、ラスタ数進捗コマンドワードに含まれる比較用ラスタ数と、ステップS52において計数された印刷済みラスタ数を比較し、印刷済みラスタ数が前記比較用ラスタ数と同等以上の数値に達しているかどうかを判定する。同等以上の数値に達している場合には、ステップS57に移行する。そうでない場合には、ステップS51に戻り、ステップS51〜S56の処理を繰り返す。 In step S56, for the corresponding array element parameter, the number of comparison rasters included in the raster number progress command word is compared with the number of printed rasters counted in step S52, and the number of printed rasters is the number of comparison rasters. It is judged whether the numerical value equal to or higher than is reached. If the numerical value is equal to or greater than that, the process proceeds to step S57. When that is not right, it returns to step S51 and repeats the process of step S51-S56.
ステップS57においては、表示制御部109へ、当該配列要素中の進捗比率をパラメータとして表示更新を行うための表示更新コマンドを発行するとともに、当該配列要素中の印刷内部処理の有無を示すフラグをOFFとする。
In step S57, a display update command for performing display update is issued to the
次にステップS58に進み、印刷処理が全て終了したかどうかを判定する。全ての画像データに対して印刷処理が終了した場合には、ステップS59に進む。終了していない場合には、ステップS51に戻りステップS51〜S58の処理を繰り返す。
ステップS59においては、表示制御部109へ印刷進捗値を100%とした表示更新コマンドを発行するとともに、印刷制御部107における処理を終了する。
In step S58, it is determined whether all printing processes are completed. If the printing process has been completed for all the image data, the process proceeds to step S59. If not completed, the process returns to step S51 to repeat the processes of steps S51 to S58.
In step S59, a display update command with a print progress value of 100% is issued to the
図6は、本実施の形態のプリンタ装置の表示部110の表示例を示す図である。この表示例では、プリンタ装置が現在印刷中であることを示すステータス表示エリア601、印刷時間を示す時間表示エリア602、および印刷済みデータの割合を示すグラフエリア603が表示されている。時間表示エリア602に表示される印刷時間は、当該100%の画像データを印刷するのに要すると予測される印刷時間である。この印刷時間は、100%の画像データに対応する印刷時間を当該印刷の間、表示するようにしてもよいし、進捗度の%値の増加に比例して減少表示するようにしてもよい。
FIG. 6 is a diagram illustrating a display example of the
グラフエリア603には、この例では、直線的に配列された10個のマスを示しており、この各マスの変化(ここでは白から黒への色の変化)により0%から10%刻みで100%までの進捗度を表すことができるようになっている。
In this example, the
表示制御部109においては、前記した印刷制御部107より発行される表示更新コマンドを受信し、表示部110における表示内容を変更する。
The
表示更新コマンドはコマンド本体およびパラメータより構成され、パラメータには印刷処理の印刷進捗値が含まれる。このパラメータの数値により、例えば図6に示されるグラフエリア603について、例えば20%ならば10マスのうち一端(ここでは左)から2マスを黒で表示し、20%の進捗度であることをユーザに知らしめる。
The display update command includes a command main body and parameters, and the parameters include a print progress value of the printing process. Based on the numerical value of this parameter, for example, in the
次に、本発明の第2の実施の形態について説明する。図7は本発明の第2の実施の形態に係る印刷システムを示す機能ブロック図である。このシステムのハードウェア構成は第1の実施の形態のものと実質的に同一である。第1の実施の形態と異なる点はシステムの動作であり、以下では、第1の実施の形態と同様の構成および動作については説明を省略し、主として相違点について説明する。 Next, a second embodiment of the present invention will be described. FIG. 7 is a functional block diagram showing a printing system according to the second embodiment of the present invention. The hardware configuration of this system is substantially the same as that of the first embodiment. The difference from the first embodiment is the operation of the system. In the following, description of the same configuration and operation as in the first embodiment will be omitted, and different points will be mainly described.
本実施の形態では、プリンタ装置100内で印刷制御部107から表示制御部に表示更新コマンドが発行されるのではなく、印刷制御部107からホスト送信データ制御部112に印刷進捗通知コマンドの発行命令を発行し、ホスト送信データ制御部112がインタフェースを通じてホストコンピュータ10に表示更新命令を発行する構成となっている。これにより、ホストコンピュータ10のディスプレイ装置上に、プリンタ装置にて認識された印刷処理の進捗度を直接表示することが可能となる。なお、本実施の形態では、進捗度の刻みを第1の実施の形態の10%から5%に変えている。これはホストコンピュータ10の表示部19の表示画面がより大きいことを考慮したものであるが、第1の実施の形態と同じであっても構わない。
In the present embodiment, a print update notification command is not issued from the
図7において、ホストコンピュータ10の制御部11は、5%刻みで比率通知コマンドを生成すること以外、図3に示したと同じ処理を実行する。
In FIG. 7, the
プリンタ装置100においては、コマンドワード記憶部104は、5%刻みの進捗比率をすべて保存するのに必要十分な20件のコマンドワードに関する配列構成要素405を記憶可能な構成となっている以外、第1の実施の形態と同様である。また、プリンタ装置100では、ホスト送信データ制御部112が、印刷制御部107より表示変更コマンドを受信し、これに基づいて、ホストコンピュータ10へ所定のフォーマットによる表示変更コマンドを送信する。
In the printer apparatus 100, the command
ホストコンピュータ10は、前記したホスト送信データ制御部112から送信される表示変更コマンドを受信し、表示部19において、後述する図9に示すような印刷処理の進捗度表示画面を表示する。
The host computer 10 receives the display change command transmitted from the host transmission
図8は本実施の形態のプリンタ装置の印刷制御部107における処理手順を示すフローチャートである。ホストコンピュータ10からプリンタ装置100の印刷バッファ106までに行われる処理については、第1の実施の形態において説明したものと同じであるため省略する。
FIG. 8 is a flowchart showing a processing procedure in the
図8の処理において、まず、ステップS81において、データ制御部105によって印刷バッファ106に展開された印刷データを取り出し、記録部108に出力して印刷を行う。
In the process of FIG. 8, first, in step S81, the print data developed in the
次にステップS82に進み、記録部108において印刷したデータ量を計数する。ここで、計数する印刷データ量は、具体的には印刷の終了した画像ラスタの数である。
In step S82, the amount of data printed in the
次にステップS83に進み、コマンドワード記憶部104に配列要素として記憶されているラスタ数進捗通知コマンドワードのうち、先頭の配列要素の印刷内部処理フラグがONであるかを判断する。ここで、ONであった場合にはステップS86に移行する。OFFであった場合にはステップS84に移行する。
In step S83, it is determined whether or not the print internal processing flag of the first array element of the raster number progress notification command word stored as an array element in the command
ステップS84においては、全ての配列要素についてチェックを終え、なおかつ全ての配列要素中の印刷内部処理フラグがOFFであったかどうかを判断する。ここで全ての配列要素について印刷内部処理フラグがOFFであった場合には、コマンドワード記憶部104の記憶によるチェックを終了したものとし、ステップS88に移行する。全ての配列要素についてのチェックが終了していない場合、ステップS85に移行する。
In step S84, it is determined whether all the array elements have been checked and whether the print internal processing flag in all the array elements is OFF. Here, when the print internal processing flag is OFF for all the array elements, it is assumed that the check by the storage in the command
ステップS85においては、コマンドワード記憶部104における現在参照している配列要素のポインタをインクリメントし、次の配列要素を参照するように変更し、ステップS83に戻る。
In step S85, the pointer of the currently referenced array element in the command
ステップS86においては、該当した配列要素パラメータについて、ラスタ数進捗コマンドワードに含まれる印刷済みラスタ数と、ステップS82において計数された比較用ラスタ数を比較し、印刷済みラスタ数が前記比較用ラスタ数と同等以上の数値に達しているかどうかを判定する。同等以上の数値に達している場合には、ステップS87に移行する。そうでない場合には、ステップS81に戻り、ステップS81〜S86の処理を繰り返す。 In step S86, for the corresponding array element parameter, the number of printed rasters included in the raster number progress command word is compared with the number of comparison rasters counted in step S82, and the number of printed rasters is the number of comparison rasters. It is judged whether the numerical value equal to or higher than is reached. If the numerical value is equal to or greater than that, the process proceeds to step S87. When that is not right, it returns to step S81 and repeats the process of step S81-S86.
ステップS87においては、ホスト送信データ制御部112へ、当該配列要素中の進捗比率をパラメータとした表示更新コマンドの発行命令を発行するとともに、当該配列要素中の印刷内部処理の有無を示すフラグをOFFとする。
In step S87, a display update command issuance command using the progress ratio in the array element as a parameter is issued to the host transmission
次にステップS88に進み、印刷処理が全て終了したかどうかを判定する。全ての画像データに対して印刷処理が終了した場合には、ステップS89に進む。終了していない場合には、ステップS81に戻りステップS81〜S88の処理を繰り返す。
ステップS89においては、ホスト送信データ制御部112へ印刷進捗値を100%とした表示更新コマンドの発行命令を発行するとともに、印刷制御部107における処理を終了する。
In step S88, it is determined whether all printing processes have been completed. If the printing process has been completed for all the image data, the process proceeds to step S89. If not completed, the process returns to step S81 to repeat the processes of steps S81 to S88.
In step S89, a command for issuing a display update command with a print progress value of 100% is issued to the host transmission
図9は本実施の形態のホストコンピュータ10に付随する表示部19への表示例を示す図である。この表示部19には、印刷進捗度の表示を行うウィンドウ900、印刷中であることを示すステータス表示エリア901、実際の印刷時間を示す時間表示エリア902、および印刷済みデータの割合を示すグラフエリア903が表示されている。このグラフエリア903には、100%時には20マスのグラフが表示されるようスペースが取られており、5%の印刷が終了するごとに一つのマスが表示される。
FIG. 9 is a diagram showing a display example on the
ホスト送信データ制御部112においては、前記した印刷制御部107より発行される表示更新コマンドを受信し、所定のフォーマットに従ってホストコンピュータ10への表示更新コマンドを送信する。ホストコンピュータ10はホスト送信データ制御部112より発行された表示更新コマンドを受信し、表示部19上のウィンドウ900に対して、印刷進捗度表示を更新する命令を発行する。
The host transmission
各表示更新コマンドはコマンド本体およびパラメータより構成され、パラメータには印刷処理の進捗値が含まれる。このパラメータの数値により、例えば図9に示されるグラフエリア903について、例えば40%ならば20マスのうち端から8マスを表示し、20%の進捗であることをユーザに通知する。
Each display update command is composed of a command body and parameters, and the parameters include the progress value of the printing process. Based on the numerical value of this parameter, for example, in the
以上、本発明の好適な実施の形態について説明したが、上記で言及した以外にも種々の変形、変更を行うことが可能である。例えば、上述した刻み量は複数の刻み量からユーザが選択できるようにしたり、ユーザが任意の刻み量を指定したりできるようにしてもよい。 The preferred embodiments of the present invention have been described above, but various modifications and changes other than those mentioned above can be made. For example, the above-described step amount may be selected by the user from a plurality of step amounts, or the user may specify an arbitrary step amount.
上記説明では1ページの印刷についての印刷進捗度を表示する場合について説明したが、複数ページの印刷ジョブについて、全ページに亘る印刷データ全体を100%として、印刷進捗度を表示するようにしてもよい。 In the above description, the case of displaying the print progress for one page printing has been described. However, for a multi-page print job, the print progress may be displayed with the entire print data on all pages being 100%. Good.
プリンタ装置の記録方式については特に言及しなかったが、本発明は、インクジェット記録方式、感熱記録方式、熱転写記憶方式等、ホストコンピュータから送出されるラスタ単位に分割された画像データに基づいて被記録媒体に画像を記録する任意の画像記録装置に利用することができる。 Although no particular mention was made of the recording method of the printer device, the present invention is based on image data divided into raster units sent from a host computer, such as an inkjet recording method, a thermal recording method, and a thermal transfer storage method. The present invention can be used for any image recording apparatus that records an image on a medium.
上述した第1および第2の実施の形態は同時に併用することも可能である。 The first and second embodiments described above can be used in combination.
10 ホストコンピュータ(外部機器)
11 制御部
13 記憶部
15 プリンタI/F部
17 操作部
19 表示部
100 プリンタ装置
102 受信制御部
103 受信バッファ
104 コマンドワード記憶部
105 データ制御部
106 印刷バッファ
107 印刷制御部
108 記録部
109 表示制御部
110 表示部
112 ホスト送信データ制御部
900 ウィンドウ
10 Host computer (external device)
11
Claims (10)
記憶された画像データを処理して被記録媒体上に記録する記録手段と、
前記画像データの印刷済み量を監視する監視手段と、
現在の印刷済み量を前記比率通知情報と比較し、全画像データに対する当該印刷済み量の比率を確認する確認手段と、
確認された比率に基づいて印刷進捗度を逐次更新表示する表示手段と
を備えたことを特徴とする画像記録装置。 Storage means for receiving and storing ratio notification information for each unit processing amount together with image data;
Recording means for processing the stored image data and recording it on a recording medium;
Monitoring means for monitoring the printed amount of the image data;
A confirmation means for comparing a current printed amount with the ratio notification information and confirming a ratio of the printed amount to all image data;
An image recording apparatus comprising: display means for sequentially updating and displaying the print progress based on the confirmed ratio.
前記画像データを受信して記憶する受信データ記憶手段と、
前記画像データとともに受信したラスタ比率通知コマンドワードおよびそのパラメータを記憶するコマンドワード記憶手段と、
印刷済みラスタ数を計数する計数手段と、
前記印刷済みラスタ数を前記ラスタ比率通知コマンドワードのパラメータとして記述された比較用ラスタ数と比較し、印刷進捗度を確認する確認手段と、
前記印刷進捗度を表示する表示手段と
を備えたことを特徴とする画像記録装置。 An image recording apparatus for recording an image on a recording medium based on image data divided into raster units sent from an external device,
Received data storage means for receiving and storing the image data;
Command word storage means for storing a raster ratio notification command word received together with the image data and its parameters;
Counting means for counting the number of printed rasters;
Checking means for comparing the number of printed rasters with the number of comparison rasters described as parameters of the raster ratio notification command word, and confirming the degree of printing progress;
An image recording apparatus comprising: display means for displaying the degree of printing progress.
記憶された画像データを処理して被記録媒体上に記録する記録手段と、
前記画像データの印刷済み量を監視する監視手段と、
現在の印刷済み量を前記比率通知情報と比較し、全画像データに対する当該印刷済み量の比率を確認する確認手段と、
確認された比率を前記外部機器へ通知する通信手段と
を備えたことを特徴とする画像記録装置。 Storage means for receiving and storing ratio notification information for each unit processing amount together with image data relating to a print instruction from an external device;
Recording means for processing the stored image data and recording it on a recording medium;
Monitoring means for monitoring the printed amount of the image data;
A confirmation means for comparing a current printed amount with the ratio notification information and confirming a ratio of the printed amount to all image data;
An image recording apparatus comprising: communication means for notifying the external device of the confirmed ratio.
前記画像データを受信して記憶する受信データ記憶手段と、
前記画像データとともに受信したラスタ比率通知コマンドワードおよびそのパラメータを記憶するコマンドワード記憶手段と、
印刷済みラスタ数を計数する計数手段と、
前記印刷済みラスタ数を前記ラスタ比率通知コマンドワードのパラメータとして記述された印刷済みラスタ数と比較し、印刷進捗度を確認する確認手段と、
前記印刷進捗度を表す情報を前記外部機器へ通知する通信手段と
を備えたことを特徴とする画像記録装置。 An image recording apparatus for recording an image on a recording medium based on image data divided into raster units sent from an external device,
Received data storage means for receiving and storing the image data;
Command word storage means for storing a raster ratio notification command word received together with the image data and its parameters;
Counting means for counting the number of printed rasters;
Checking means for comparing the number of printed rasters with the number of printed rasters described as a parameter of the raster ratio notification command word, and confirming the degree of printing progress;
An image recording apparatus comprising: a communication unit that notifies the external device of information representing the degree of printing progress.
印刷対象の画像データについて、空白領域を除いた画像領域の総ラスタ数を算出するステップと、
前記印刷対象の画像データをラスタデータに変換し、前記画像記録装置によって規定されるラスタデータ記述言語におけるラスタデータ送信コマンドワードを生成し、前記画像記録装置へ送信するステップと、
生成されるラスタ数が所定数に達する毎に、その時点までの印刷済みラスタ数、および総ラスタ数に対する印刷済みラスタ数の比率を含む比率通知コマンドを生成し、前記画像記録装置へ送信するステップと
を備えたことを特徴とする画像データ処理方法。 An image data processing method in an information processing apparatus that processes image data to be printed and issues a print instruction to an image recording apparatus,
For the image data to be printed, calculating the total number of rasters in the image area excluding the blank area;
Converting the image data to be printed into raster data, generating a raster data transmission command word in a raster data description language defined by the image recording device, and transmitting to the image recording device;
A step of generating a ratio notification command including the number of printed rasters up to that point and the ratio of the number of printed rasters to the total number of rasters every time the number of generated rasters reaches a predetermined number, and transmitting the command to the image recording apparatus An image data processing method comprising:
この受信した進捗度を表す情報を表示部に表示するステップと
を備えたことを特徴とする請求項8記載の画像データ処理方法。 Receiving from the image recording apparatus information indicating the degree of progress of the printing after a printing instruction to the image recording apparatus;
9. The image data processing method according to claim 8, further comprising a step of displaying the received information indicating the degree of progress on a display unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006047681A JP2007223184A (en) | 2006-02-24 | 2006-02-24 | Image recording apparatus and image data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006047681A JP2007223184A (en) | 2006-02-24 | 2006-02-24 | Image recording apparatus and image data processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007223184A true JP2007223184A (en) | 2007-09-06 |
Family
ID=38545433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006047681A Withdrawn JP2007223184A (en) | 2006-02-24 | 2006-02-24 | Image recording apparatus and image data processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007223184A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011123661A (en) * | 2009-12-10 | 2011-06-23 | Toshiba Tec Corp | Settlement system, personal identification number input device, and settlement terminal |
CN102521793A (en) * | 2011-12-01 | 2012-06-27 | 福州瑞芯微电子有限公司 | Storage control device and method for realizing saving of image storage space |
JP2014014977A (en) * | 2012-07-09 | 2014-01-30 | Canon Inc | Communication apparatus, method for controlling the communication apparatus, and program |
JP2014165585A (en) * | 2013-02-22 | 2014-09-08 | Canon Inc | Image forming apparatus and control method of the same, and program |
-
2006
- 2006-02-24 JP JP2006047681A patent/JP2007223184A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011123661A (en) * | 2009-12-10 | 2011-06-23 | Toshiba Tec Corp | Settlement system, personal identification number input device, and settlement terminal |
CN102521793A (en) * | 2011-12-01 | 2012-06-27 | 福州瑞芯微电子有限公司 | Storage control device and method for realizing saving of image storage space |
JP2014014977A (en) * | 2012-07-09 | 2014-01-30 | Canon Inc | Communication apparatus, method for controlling the communication apparatus, and program |
JP2014165585A (en) * | 2013-02-22 | 2014-09-08 | Canon Inc | Image forming apparatus and control method of the same, and program |
US9648190B2 (en) | 2013-02-22 | 2017-05-09 | Canon Kabushiki Kaisha | Image forming apparatus that performs user authentication by wireless communication, method of controlling the same, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7701603B2 (en) | Print processing apparatus, print processing method, and computer-readable medium storing print processing program | |
US8373873B2 (en) | Apparatus and method for determining execution order of private print jobs in a variable print system | |
US8300260B2 (en) | Image forming apparatus, print control method, and computer-readable recording medium storing print control program | |
JP2011039874A (en) | Information processing apparatus, information processing method, and program | |
KR100742332B1 (en) | Printing control apparatus and printing control method | |
JP6447564B2 (en) | Image forming apparatus, program, and information processing system | |
JP2007223184A (en) | Image recording apparatus and image data processing method | |
US8223360B2 (en) | Image data processing system, control apparatus, image converting program and method | |
CN108287672B (en) | Server device, recording medium, information processing system, and image forming apparatus | |
KR20080052007A (en) | System of output for multi output and method thereof | |
JP2019098580A (en) | Image forming apparatus | |
JP6877963B2 (en) | Image forming device, control method of image forming device, and program | |
JP6613871B2 (en) | Information processing apparatus, image reading apparatus, and program | |
JP3702580B2 (en) | Print control apparatus, print control system, print control method, and computer-readable recording medium on which print control program is recorded | |
JP2002278725A (en) | Printer driver | |
US8305629B2 (en) | Method and apparatus for forming image and recording medium | |
JP2009015362A (en) | Printing system, program, and storage medium | |
JP2005128715A (en) | Printing control device | |
US20130215444A1 (en) | Information processing apparatus, control method, and storage medium | |
JP4188308B2 (en) | Image processing apparatus, image processing system, and control program for image processing apparatus | |
JP4123227B2 (en) | Printing system, error information display method in printing system, printer apparatus, and printer apparatus control method | |
JP6304114B2 (en) | Information processing system | |
KR100675376B1 (en) | Host device having function to monitor print progress state and method thereof | |
JP2005189439A (en) | Printer, print system, and printer driver | |
JP2015069184A (en) | Image forming apparatus, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20090512 |