JP2004237742A - Print controlling device, print controlling method, and storage medium storing a computer-readable program - Google Patents

Print controlling device, print controlling method, and storage medium storing a computer-readable program Download PDF

Info

Publication number
JP2004237742A
JP2004237742A JP2004123301A JP2004123301A JP2004237742A JP 2004237742 A JP2004237742 A JP 2004237742A JP 2004123301 A JP2004123301 A JP 2004123301A JP 2004123301 A JP2004123301 A JP 2004123301A JP 2004237742 A JP2004237742 A JP 2004237742A
Authority
JP
Japan
Prior art keywords
data
print
unit
output
analyzed
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.)
Granted
Application number
JP2004123301A
Other languages
Japanese (ja)
Other versions
JP3907636B2 (en
Inventor
Akio Sugaya
章男 菅谷
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 JP2004123301A priority Critical patent/JP3907636B2/en
Publication of JP2004237742A publication Critical patent/JP2004237742A/en
Application granted granted Critical
Publication of JP3907636B2 publication Critical patent/JP3907636B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To predict lack of the materials to be consumed by an output-awaiting print job, by calculating the data of the materials to be consumed by a print job which has been stored in a printer and awaiting output process, or by the output data which have been developed based on a print job and awaiting output. <P>SOLUTION: A print data inputted via an input unit is analyzed and converted to an image data so as to perform per-page output by a print unit. Data corresponding to a plurality of print jobs including the analyzed data are stored in RAM 1-6. Then, CPU 1-1 estimates the remaining amount of secondary consumable materials, based on the remaining amount of primary consumable materials which have been detected by a residue detection unit 1-9-A provided in a printer 1000, and the data which are stored in RAM 1-6 and correspond to a plurality print jobs. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

本発明は、プリンタにおいて記録用紙に記録を行なう際に用いられる消耗材残量の推定の仕組みに関するものである。   The present invention relates to a mechanism for estimating the remaining amount of consumables used when recording is performed on recording paper in a printer.

近年、コンピュータはLAN(ローカルエリアネットワーク)によって相互接続されており、ページプリンタなど多様な周辺機器群においてもLAN接続が可能となっている。   2. Description of the Related Art In recent years, computers have been interconnected by a LAN (local area network), and LAN connection is possible even in various peripheral devices such as a page printer.

LANは一つのユーザグループとしてコンピュータや周辺機器の共用使用,データ転送を可能としており、ファイルサーバ,プリントサーバを含むコンピュータ群により構成され、各コンピュータに搭載されるネットワークオペレーティングシステムの機能としてデータやファイルの転送,共有,プリンタの共有を行う各種プロトコルに対応している。   The LAN enables a single user group to share and use computers and peripheral devices and transfer data. The LAN is composed of a group of computers including a file server and a print server. Data and files are provided as functions of a network operating system mounted on each computer. It supports various protocols for transferring, sharing, and sharing printers.

また、各コンピュータ上で動作するユーザアプリケーションには、文書作成ソフト,表計算ソフトなど様々なものがある。それらのアプリケーションを使用して作成されたデータは、オペレーティングシステムの一機能としてプリンタドライバソフトウエアにより、プリンタ制御言語であるPDL(Printer Description Language)データに変換された後、印刷ジョブとしてプリントスプーラに一時格納され、プリンタに送出するように構成されていることが多い。   There are various user applications running on each computer, such as document creation software and spreadsheet software. Data created using these applications is converted into PDL (Printer Description Language) data, which is a printer control language, by printer driver software as a function of the operating system, and then temporarily sent to the print spooler as a print job. It is often configured to be stored and sent to a printer.

さらに、オペレーティングシステムによっては、特定のデータフォーマットに変換された印刷ファイルとしてプリントスプーラに転送された後、プリントスプーラ内でプリンタドライバソフトウエアにより、印刷ジョブを生成しプリントスプーラに再格納されることもある。   Further, depending on the operating system, a print job may be transferred to the print spooler as a print file converted into a specific data format, and then generated by the printer driver software in the print spooler and stored again in the print spooler. is there.

また、印刷ジョブはPDLデータだけで構成されるのではなく、オペレーティングシステムによっては印刷データをラスタビットマップ形式として生成することもできるようになっている場合がある。   In addition, a print job is not only composed of PDL data, but depending on the operating system, it may be possible to generate print data in a raster bitmap format.

さらに、プリンタドライバソフトウエアによって生成された印刷ジョブは、ネットワーク接続されたプリントサーバ内のプリンタスプーラに転送された後、プリンタに送信されるように構成される場合もある。   Furthermore, a print job generated by printer driver software may be configured to be transferred to a printer spooler in a print server connected to a network, and then transmitted to a printer.

このようにして生成された印刷ジョブが、プリントスプーラからプリンタに転送されると、プリンタは受信した印刷データを順次PDL解析部などにより解析し、印刷すべきラスタビットマップ画像を生成して印刷処理を行うように構成されている。   When the print job generated in this way is transferred from the print spooler to the printer, the printer sequentially analyzes the received print data by a PDL analysis unit or the like, generates a raster bitmap image to be printed, and performs print processing. It is configured to perform.

この際、印刷ジョブは、1つまたは複数の文書ファイルから生成され、1つの印刷文書を構成する単位であり、通常ジョブ開始命令とジョブ終了命令によって区切られている。また、ジョブ内のページ生成のための情報はジョブ内でのみ利用されるが、あらかじめ印刷装置内に登録格納している外字やフォームオーバレイなど格納データを利用して画像を生成する場合もある。   At this time, the print job is generated from one or a plurality of document files, and is a unit constituting one print document, and is separated by a normal job start instruction and a job end instruction. Although information for generating a page in a job is used only in the job, an image may be generated using stored data such as external characters and form overlays registered and stored in the printing apparatus in advance.

この場合、印刷ジョブの転送に先立って、コンピュータ上のアプリケーションソフトウエアとして、ダウンロードユーティリティソフトウエアを利用し、外字,フォームオーバレイなどを印刷装置内に格納しておき、印刷ジョブを生成するプリンタドライバソフトウエアが登録データを利用できるようにPDLデータを生成する。   In this case, prior to the transfer of the print job, download utility software is used as application software on the computer, and external characters, form overlays and the like are stored in the printing apparatus, and printer driver software for generating the print job is used. Generate PDL data so that the software can use the registration data.

例えば、フォームオーバレイ機能では、ホストコンピュータより転送されたフォームデータ(PDLデータ)からラスタビットマップ画像を生成した後、プリンタ内の記憶領域に格納しておき、後づけ印刷データから生成されたラスタビットマップ画像と、あらかじめ格納されたラスタビットマップ形式のフォームオーバレイ画像を読み出してビットマップメモリ上でフォームデータと後づけデータを合成して出力画像を生成するように構成されている場合もある。   For example, in the form overlay function, a raster bitmap image is generated from form data (PDL data) transferred from a host computer, stored in a storage area in a printer, and stored in a storage area in a printer. In some cases, an output image is generated by reading a map image and a form overlay image in a raster bitmap format stored in advance and synthesizing form data and retrofit data on a bitmap memory.

この際、登録されたラスタビットマップ形式のフォーム画像を格納するために大容量(A3用紙、解像度600DPIで8MBの容量となる)の格納領域が必要であるため、ハードディスク装置などを備えている場合もある。   At this time, a large capacity (8 MB capacity at A3 paper, 600 DPI resolution) storage area is required to store the registered raster bitmap format form image. There is also.

また、ネットワーク接続されたプリンタネットワークを構築するための各種機器、ネットワークに接続されたコンピュータなどを含む機器の遠隔管理を行うための通信プロトコルも標準化されており、例えば、簡易ネットワーク管理プロトコル(SNMP:Simple Network Management Protocol)などがある。これらのプロトコルを実装したネットワーク機器の場合には、ネットワーク管理ソフトウエアによりネットワーク上の遠隔地から各種機器を管理することができ、例えば、プリンタの場合には、現在のプリンタ情報(用紙やトナーなどの消耗品残量情報など)の取得,状態監視(処理中、エラー中状態など),初期化制御などを行うことができる。   Communication protocols for remotely managing various devices for constructing a network-connected printer network and devices including computers connected to the network have also been standardized. For example, a simple network management protocol (SNMP: Simple Network Management Protocol). In the case of network devices that implement these protocols, various devices can be managed from a remote location on the network by network management software. For example, in the case of a printer, the current printer information (paper, toner, etc.) , Acquisition of remaining consumables information, status monitoring (processing, error status, etc.), initialization control, and the like.

さらに、双方向の送受信が可能なパラレルインタフェースにおいては、コンピュータとプリンタ間で専用のプロトコルを用いて現在のプリンタ情報や状態情報などのやり取りができるように構成されている場合もある。
特開平7−329391号公報
Further, a parallel interface capable of bidirectional transmission / reception may be configured so that current printer information and status information can be exchanged between a computer and a printer using a dedicated protocol.
JP-A-7-329391

しかしながら上記印刷システムにおいては、コンピュータ上でプリンタ情報や状態情報などを取得するように構成されているが、現在の装着状態、すなわち記録用紙に記録する出力処理を実行した後の状態を取得するため、プリンタの受信バッファやプリントスプーラ内に格納された出力すべき印刷データの出力処理を実行すると取得したプリンタ情報の状態が変化してしまう問題点があった。   However, in the printing system, the computer is configured to acquire printer information and status information on a computer. However, in order to acquire the current mounting status, that is, the status after executing the output process of recording on the recording paper. However, when output processing of print data to be output stored in a reception buffer or a print spooler of the printer is executed, there is a problem that a state of the acquired printer information changes.

そのため、ユーザがネットワーク管理ソフトウエアにより、例えば印刷用紙や印刷用のトナーなどの消耗品情報を確認してから印刷ジョブを転送したにもかかわらず、印刷ジョブの消耗品不足エラーが発生してしまうことがあり、使い難いものとなっている。   For this reason, a print job consumable shortage error occurs even though the user transfers the print job after checking the consumables information such as the printing paper and the printing toner using the network management software. May be difficult to use.

さらに、印刷装置に転送しようとする印刷ジョブが、正常に印刷可能か否かを印刷ジョブの転送前に判断することができなかった。   Furthermore, it has not been possible to determine whether a print job to be transferred to a printing apparatus can be printed normally before transferring the print job.

さらに、上記印刷システムにおいては、プリントスプーラから送信された印刷ジョブを順次処理するように構成されているため、印刷装置内のハードディスクなどの読み出し速度の遅いストレージに登録されているデータ(たとえば、外字やフォームオーバレイ画像など)を利用した画像生成を行う場合に印刷処理が低下する欠点があった。   Further, the printing system is configured to sequentially process the print jobs transmitted from the print spooler, so that data (for example, external characters) registered in a slow-reading storage such as a hard disk in the printing apparatus. And when generating an image using a form overlay image), there is a disadvantage that the printing process is reduced.

このため読み出し時間の遅い大容量2次記憶装置などでは、読み出し時間の早いキャッシュメモリなどを利用してデータの再利用を図るように構成されている場合が多いが、1回目の読み出し時間を短縮することはできず、また、キャッシュメモリに格納しきれないデータの場合には2次記憶装置にアクセスする必要があり、それらの場合には結果的に処理速度が低下する。   For this reason, a large-capacity secondary storage device with a slow read time is often configured to reuse data by using a cache memory or the like with a fast read time, but the first read time is shortened. In the case of data that cannot be stored in the cache memory, it is necessary to access the secondary storage device, in which case the processing speed is reduced as a result.

本発明は、上記の課題を解決するためになされたもので、本発明の目的は、入力部を介して入力された印刷データを解析し、印刷部によりページ単位の出力を行なわせるべく画像化されたデータにし、解析済みのデータを含む複数の印刷ジョブに対応するデータを記憶手段に記憶し印刷装置に備えられた検知部により検知された第1消耗材残量と、記憶手段に記憶された複数の印刷ジョブに対応するデータと、に基づき第2消耗材残量を推定することができる印刷制御装置および印刷制御方法およびコンピュータが読み出し可能なプログラムを格納した記憶媒体を提供することである。   SUMMARY An advantage of some aspects of the invention is to analyze print data input via an input unit, and to generate an image so that the print unit outputs a page unit. Data corresponding to a plurality of print jobs including the analyzed data is stored in the storage unit, and the first consumable amount remaining detected by the detection unit provided in the printing apparatus is stored in the storage unit. A print control device and a print control method capable of estimating the second remaining amount of consumables based on data corresponding to a plurality of print jobs, and a storage medium storing a computer-readable program. .

本発明は、外部装置からの印刷データを入力する入力部を備え、印刷ジョブを処理する印刷制御装置であって、前記入力部を介して入力された印刷データを解析し、印刷部によりページ単位の出力を行なわせるべく画像化されたデータにする解析手段と、前記解析手段により解析済みのデータを含む複数の印刷ジョブに対応するデータを記憶する記憶手段と、印刷装置に備えられた検知部により検知された第1消耗材残量と、前記記憶手段に記憶された複数の印刷ジョブに対応するデータと、に基づき第2消耗材残量を推定する推定手段とを有することを特徴とする。   The present invention is a print control device that includes an input unit for inputting print data from an external device and processes a print job.The print control device analyzes print data input via the input unit, and prints a page unit by the print unit. Analyzing means for converting the image data into data to be output, a storage means for storing data corresponding to a plurality of print jobs including data analyzed by the analyzing means, and a detecting unit provided in the printing apparatus And estimating means for estimating the second remaining amount of consumables based on the first remaining amount of consumables detected by the method and data corresponding to a plurality of print jobs stored in the storage unit. .

本発明は、外部装置からの印刷データを入力する入力部を備え、印刷ジョブを処理する印刷制御装置における印刷制御方法であって、前記入力部を介して入力された印刷データを解析し、印刷部によりページ単位の出力を行なわせるべく画像化されたデータにする解析ステップと、前記解析ステップにより解析済みのデータを含む複数の印刷ジョブに対応するデータを記憶手段に記憶する記憶ステップと、印刷装置に備えられた検知部により検知された第1消耗材残量と、前記記憶手段に記憶された複数の印刷ジョブに対応するデータと、に基づき第2消耗材残量を推定する推定ステップとを有することを特徴とする。   The present invention relates to a print control method in a print control device that includes an input unit for inputting print data from an external device and processes a print job, and analyzes print data input via the input unit to perform printing. An analysis step of converting the image data into image data to be output by the unit in a page unit; a storage step of storing data corresponding to a plurality of print jobs including data analyzed by the analysis step in a storage unit; An estimating step of estimating a second remaining amount of consumables based on the first remaining amount of consumables detected by a detection unit provided in the apparatus and data corresponding to a plurality of print jobs stored in the storage unit. It is characterized by having.

本発明によれば、外部装置からの印刷データを入力する入力部を備え、印刷ジョブを処理する印刷制御装置において、入力部を介して入力された印刷データを解析し、印刷部によりページ単位の出力を行なわせるべく画像化されたデータにし、解析済みのデータを含む複数の印刷ジョブに対応するデータを記憶手段に記憶し印刷装置に備えられた検知部により検知された第1消耗材残量と、記憶手段に記憶された複数の印刷ジョブに対応するデータと、に基づき第2消耗材残量を推定することができるという効果を奏する。   According to the present invention, a print control device that includes an input unit for inputting print data from an external device and processes a print job analyzes print data input via the input unit, and prints the data in page units by the print unit. Data corresponding to a plurality of print jobs including analyzed data is stored in a storage unit, and the first consumable material remaining amount detected by a detection unit provided in the printing apparatus is converted into imaged data for output. And the data corresponding to the plurality of print jobs stored in the storage means, and the second remaining amount of consumables can be estimated based on the data.

次に本発明を実施するための最良の形態について図面を参照して説明する。   Next, the best mode for carrying out the present invention will be described with reference to the drawings.

本実施形態の構成を説明する前に、本実施形態を適用するに好適なレーザビームプリンタの構成について図1を参照しながら説明する。なお、本実施形態を適用するプリンタは、レーザビームプリンタに限られるものではなく、他のプリント方式のプリンタでも良いことは言うまでもない。   Before describing the configuration of the present embodiment, a configuration of a laser beam printer suitable for applying the present embodiment will be described with reference to FIG. The printer to which this embodiment is applied is not limited to a laser beam printer, and it goes without saying that a printer of another printing method may be used.

図1は、本発明を適用可能な出力装置の構成を示す断面図であり、例えばレーザビームプリンタ(LBP)の場合を示す。   FIG. 1 is a cross-sectional view showing a configuration of an output device to which the present invention can be applied, for example, a case of a laser beam printer (LBP).

図において、1000はLBP本体であり、外部に接続されているホストコンピュータから供給される印刷情報(文字コード等)や外字,フォームデータあるいはマクロ命令等を入力して記憶するとともに、それらの情報にしたがって対応する文字パターンやフォームパターン等を作成し、記録媒体である記録紙等に像を形成する。1012は操作パネルで、操作のためのスイッチおよびLED表示器等が配されている。1001はプリンタ制御ユニットで、LBP本体1000全体の制御およびホストコンピュータから供給される文字情報等を解析する等の処理、主に文字情報を対応する文字パターンのビデオ信号に変換してレーザドライバ1002に出力する処理を行う。   In the figure, reference numeral 1000 denotes an LBP main body, which inputs and stores print information (character codes, etc.), external characters, form data, macro commands, and the like supplied from an externally connected host computer, and stores the information in the information. Accordingly, a corresponding character pattern, form pattern, or the like is created, and an image is formed on a recording medium such as recording paper. Reference numeral 1012 denotes an operation panel on which switches for operation, an LED display, and the like are arranged. A printer control unit 1001 controls the entire LBP main body 1000 and performs processing such as analysis of character information and the like supplied from a host computer. Perform output processing.

レーザドライバ1002は半導体レーザ1003を駆動するための回路であり、入力されたビデオ信号に応じて半導体レーザ1003から発射されるレーザ光1004をオン・オフ切り換えする。レーザ光1004は回転多面鏡1005で左右方向に振らされて静電ドラム1006上を走査露光する。   The laser driver 1002 is a circuit for driving the semiconductor laser 1003, and switches on / off a laser beam 1004 emitted from the semiconductor laser 1003 according to an input video signal. The laser beam 1004 is oscillated in the left-right direction by the rotary polygon mirror 1005 and scans and exposes the electrostatic drum 1006.

これにより、静電ドラム1006上には文字パターンの静電潜像が形成されることになる。この潜像は、静電ドラム1006周囲に配設された現像ユニット1007により現像された後、記録紙に転写される。現像ユニット1007内には、記録紙に画像を形成するためのトナーの残量検知機構が備えられ、プリンタ制御ユニット1001により、トナー残量を検知できるようになっている。   As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 1006. This latent image is developed by a developing unit 1007 disposed around the electrostatic drum 1006, and then transferred to a recording sheet. The developing unit 1007 includes a toner remaining amount detecting mechanism for forming an image on recording paper, and the printer control unit 1001 can detect the remaining toner amount.

転写される記録紙にはカセットシートを用い、カットシート記録紙はLBP本体1000に装着した用紙カセット1008に収納され、給紙ローラ1009および搬送ローラ1010と搬送ローラ1011とにより装置内に取り込まれて、静電ドラム1006に供給される。用紙カセット1008には用紙残量検知機構が装備されており、プリンタ制御ユニット1001により用紙残量を検知できるようになっている。   A cassette sheet is used as the recording paper to be transferred, and the cut sheet recording paper is stored in a paper cassette 1008 attached to the LBP main body 1000, and is taken into the apparatus by a paper feed roller 1009, transport rollers 1010, and transport rollers 1011. Are supplied to the electrostatic drum 1006. The paper cassette 1008 is provided with a paper remaining amount detection mechanism, and the printer control unit 1001 can detect the remaining paper amount.

LBP本体1000には、図示しないカードスロットを備え、内蔵フォントに加えてオプションフォントカード,言語系(PDL)の異なる制御カード(エミュレーションカード),フォームデータやフォントデータを書き込み保持可能なメモリカードを接続できるように構成されている。   The LBP body 1000 has a card slot (not shown) and connects an optional font card, a control card (emulation card) of a different language system (PDL), and a memory card capable of writing and holding form data and font data in addition to a built-in font. It is configured to be able to.

〔第1実施形態〕
図2は、本発明の第1実施形態を示す印刷制御装置を適用可能なプリンタ制御システムの構成を説明するブロック図である。ここでは、レーザビームプリンタ(図1)を例にして説明する。なお、本発明の機能が実行されるのであれば、単体の機器であっても、複数の機器からなるシステムであっても、LAN等のネットワークを介して処理が行われるシステムであっても本発明を適用できることは言うまでもない。また、システムあるいは装置にプログラムを供給することによって実施される場合にも適用できることは言うまでもない。この場合、本発明に係るプログラムを格納した記憶媒体が、本発明を構成することになる。そして、該記憶媒体からそのプログラムをシステムあるいは装置に読み出すことによって、そのシステムあるいは装置が特定の態様で機能する。
[First Embodiment]
FIG. 2 is a block diagram illustrating the configuration of a printer control system to which the print control device according to the first embodiment of the present invention can be applied. Here, a laser beam printer (FIG. 1) will be described as an example. If the functions of the present invention are executed, the present invention is applicable to a single device, a system including a plurality of devices, and a system in which processing is performed via a network such as a LAN. It goes without saying that the invention can be applied. Needless to say, the present invention can be applied to a case where the present invention is implemented by supplying a program to a system or an apparatus. In this case, the storage medium storing the program according to the present invention constitutes the present invention. Then, by reading the program from the storage medium to a system or an apparatus, the system or the apparatus functions in a specific mode.

図において、2000はホストコンピュータで、所定のインタフェース1−10(例えば双方向インタフェース)を介してプリンタ制御ユニット1001に接続されて、LBP本体1000との通信制御処理を実行する。   In the figure, reference numeral 2000 denotes a host computer which is connected to the printer control unit 1001 via a predetermined interface 1-10 (for example, a bidirectional interface) and executes communication control processing with the LBP main body 1000.

プリンタ制御ユニット1001において、1−1はプリンタCPUで、ROM1−2のプログラム用ROMに記憶された制御プログラムに基づいてシステムバス1−4に接続される各種のデバイスとのアクセスを総括的に制御し、印刷部インタフェース1−8を介して接続される印刷部(プリンタエンジン)1−9に出力情報としての画像信号を出力する。また、残量算出部1−10は、印刷部1−9内に装備された消耗品残量検知センサによって検知される各種装着情報(用紙残量,トナー残量など)を印刷部I/F1−8を介して読み込めるようになっている。   In the printer control unit 1001, reference numeral 1-1 denotes a printer CPU, which comprehensively controls access to various devices connected to the system bus 1-4 based on a control program stored in a program ROM of the ROM 1-2. Then, it outputs an image signal as output information to a printing unit (printer engine) 1-9 connected via a printing unit interface 1-8. The remaining amount calculation unit 1-10 also prints various kinds of mounting information (paper remaining amount, toner remaining amount, etc.) detected by a consumables remaining amount detection sensor provided in the printing unit 1-9. -8.

また、このROM1−2のプログラム用ROMには、図3〜図6のフローチャートで示されるようなCPU1−1の制御プログラム,印刷部1−9へ転送されるビットマップ画像を生成する画像生成プログラム等を記憶する。   The program ROM of the ROM 1-2 includes a control program of the CPU 1-1 as shown in the flowcharts of FIGS. 3 to 6, and an image generation program for generating a bitmap image transferred to the printing unit 1-9. And so on.

ROM1−2のフォント用ROMには上記出力画像を生成する際に使用するフォントデータ(アウトラインフォントデータあるいはドットフォントデータ)等を記憶している。CPU1−1は入出力部1−5を介してホストコンピュータとの通信処理が可能に構成されている。1−6はRAMでCPU1−1の主メモリ,ワークエリア等として機能し、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。   The font ROM of the ROM 1-2 stores font data (outline font data or dot font data) used when generating the output image. The CPU 1-1 is configured to be able to perform communication processing with the host computer via the input / output unit 1-5. Reference numeral 1-6 denotes a RAM that functions as a main memory, a work area, and the like for the CPU 1-1, and is configured so that the memory capacity can be expanded by an optional RAM connected to an unillustrated expansion port.

なお、RAM1−6は、印刷すべきデータを中間コードもしくは中間ビットマップ画像として格納するページバッファメモリ,ビットマップ画像が生成されるバンドメモリ,外部メモリ1−3に記憶された外字,フォーム画像等の登録データを一時記憶するためのキャッシュメモリなどにも用いられる。   The RAM 1-6 includes a page buffer memory for storing data to be printed as an intermediate code or an intermediate bitmap image, a band memory for generating a bitmap image, an external character stored in the external memory 1-3, a form image, and the like. It is also used as a cache memory for temporarily storing registered data.

外部メモリ1−3は、メモリコントローラ(MC)1−7によりアクセスを制御されるハードディスクなどの2次記憶装置などを接続できるようになっている。この外部メモリ1−3は、ホストコンピュータ2000上の外字ファイルやフォームファイルなどから転送された登録データを記憶する登録メモリに用いられる。   The external memory 1-3 can be connected to a secondary storage device such as a hard disk whose access is controlled by a memory controller (MC) 1-7. The external memory 1-3 is used as a registration memory for storing registration data transferred from an external character file, a form file, or the like on the host computer 2000.

また、印刷すべきデータやフォームデータを中間コード化もしくは中間ビットマップ画像化して格納するページバッファメモリとしても利用される。   It is also used as a page buffer memory for storing data to be printed or form data in the form of an intermediate code or an intermediate bitmap image.

また、前述した外部メモリ1−3は1個に限らず、1個以上を備えて、内蔵フォントに加えてオプションフォントカード,言語系(PDL)の異なるプリンタ制御言語を解釈するエミュレーションプログラムを格納した外部メモリを複数接続できるように構成されていてもよい。また、外部メモリとしてハードディスクに限定するものではなく、フラッシュメモリカードを装着してもよい。さらに、図示しないNVRAMを有し、操作パネル1012からのプリンタモード設定情報を記憶するようにしてもよい。   The above-described external memory 1-3 is not limited to one, and includes one or more, and stores an emulation program for interpreting an optional font card and a printer control language of a different language system (PDL) in addition to a built-in font. The configuration may be such that a plurality of external memories can be connected. Further, the external memory is not limited to a hard disk, but may be a flash memory card. Further, an NVRAM (not shown) may be provided to store the printer mode setting information from the operation panel 1012.

一方、ホストコンピュータ2000上で動作するアプリケーションプログラム(アプリケーション)2001は、印刷すべきデータをオペレーティングシステムによって定められた形式に従ってスプールファイルをプリントスプーラ2003へ格納する。プリントスプーラ2003に印刷データの格納が終了すると、プリンタドライバプログラム(プリンタドライバ)2002が起動され、プリントスプーラ2003から印刷データを読み込み、プリンタ制御ユニット1001へ送信すべき印刷ジョブを生成する。   On the other hand, an application program (application) 2001 operating on the host computer 2000 stores a spool file in the print spooler 2003 in accordance with a format determined by the operating system for data to be printed. When the storage of the print data in the print spooler 2003 is completed, a printer driver program (printer driver) 2002 is started, the print data is read from the print spooler 2003, and a print job to be transmitted to the printer control unit 1001 is generated.

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

上記のように構成された所定の通信媒体を介して情報処理装置と通信して印刷部の印刷を制御する印刷制御装置であって、前記情報処理装置から受信する出力ジョブ情報に基づいて展開されて出力待機中となる出力データを記憶する記憶手段(RAM1−6)と、所定の消耗材の残量を検知する検知手段(残量検知部1−9−A)と、前記記憶手段に出力待機中となる出力データの印刷に伴って消費される前記消耗材の消費量を予測する予測手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して予測処理する)と、前記予測手段により予測された前記消耗材の消費量と前記検知手段が検知している前記消耗材の残量とから前記出力データの印刷中に消耗材不足が生じるかどうかを判定する判定手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して判定処理する)と、前記判定手段が前記出力データの印刷中に消耗材不足が生じると判定した場合に、前記記憶手段に記憶された各出力ジョブ情報の出力データの出力スケジュールを変更する制御手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して制御する)とを有するので、出力データの印刷中に消耗材不足が生じると判定した場合に、前記記憶手段に記憶された各出力ジョブ情報の出力データに対するスケジュール(例えば出力データの入れ替え, 出力ジョブ情報の転送取り消し等を含む)を変更して、印刷不良となる事態が発生し得ることを予測しつつ、出力待機中の出力データに最良の出力スケジュールを自動的に設定することができる。 A print control device that communicates with an information processing device via a predetermined communication medium configured as described above and controls printing of a printing unit, and is developed based on output job information received from the information processing device. Storage means (RAM 1-6) for storing output data that is in a standby state for output, a detection means (remaining amount detection unit 1-9-A) for detecting the remaining amount of a predetermined consumable material, and an output to the storage means. Estimating means for estimating the consumption amount of the consumable material consumed by printing of the output data in a standby state (the CPU 1-1 executes a control program stored in the ROM 1-2 to perform an estimating process); Judgment means (CPU1) for judging whether or not a consumable shortage occurs during the printing of the output data, based on the consumption amount of the consumable material predicted by the prediction means and the remaining amount of the consumable material detected by the detection means. -1 is RO And executing the control program stored in the storage unit 1-2). When the determination unit determines that a shortage of consumables occurs during the printing of the output data, each output stored in the storage unit is determined. Since there is a control means for changing the output schedule of the output data of the job information (the CPU 1-1 executes and controls the control program stored in the ROM 1-2), a shortage of consumables occurs during the printing of the output data. If it is determined that the print job is defective, the schedule for the output data of each output job information stored in the storage unit (including, for example, replacement of the output data and cancellation of the transfer of the output job information) is changed. The best output schedule can be automatically set for output data that is waiting for output while predicting that it can occur.

また、前記制御手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して警告処理(ホストコンピュータ2000への警告通知あるいは操作パネル1012への警告通知等を含む)する)は、前記判定手段が前記出力データの印刷中に消耗材不足が生じると判定した場合に、消耗材不足状態を予告警告するので、出力待機中の出力データの印刷実行開始前に、当該出力データの印刷に伴って消耗材不足が発生することをユーザに予告警告することができる。   Further, the control means (the CPU 1-1 executes a control program stored in the ROM 1-2 to perform a warning process (including a warning notification to the host computer 2000 or a warning notification to the operation panel 1012)) When the determination unit determines that the consumables shortage occurs during the printing of the output data, a warning of the consumables shortage state is issued. The user can be warned in advance that consumables shortage will occur.

さらに、所定の通信媒体を介して情報処理装置と通信して印刷部の印刷を制御する印刷制御装置であって、前記情報処理装置から受信して解析待ちとなる出力ジョブ情報および前記出力ジョブ情報に基づいて展開されて出力待機中の出力データを記憶する記憶手段(RAM1−6)と、所定の消耗材の残量を検知する検知手段(残量検知部1−9)と、出力待機中の前記出力データの印刷に伴い消費される所定の消耗材の消費量を予測する第1の予測手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して予測処理する)と、前記第1の予測手段により予測された前記消費量と前記検知手段により検知された前記所定の消耗材の残量とに基づいて所定の消耗材の残量を算出する算出手段(残量算出部1−10)と、前記記憶手段に記憶される前記出力ジョブ情報に基づく前記印刷部の印刷に伴い消費する所定の消耗材の消費量を予測する第2の予測手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して予測処理する)と、前記算出手段により算出された所定の消耗材の残量と前記第2の予測手段により予測された前記消費量とに基づいて前記出力ジョブ情報の印刷中に消耗材不足が生じるかどうかを判定する判定手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して判定処理する)と、前記判定手段が当該ジョブの印刷中に消耗材不足が生じると判定した場合に、前記記憶手段に記憶された各出力ジョブ情報の出力スケジュールを変更する制御手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して判定処理する)とを有するので、当該ジョブの印刷中に消耗材不足が生じると判定した場合に、前記記憶手段に記憶された各出力ジョブ情報の出力データに対するスケジュール(例えば出力データの入れ替え, 出力ジョブ情報の転送取り消し等を含む)を変更して、印刷不良となる事態が発生し得ることを予測しつつ、出力待機中の出力ジョブ情報に最良の出力スケジュールを自動的に設定することができる。   A print control device configured to communicate with the information processing device via a predetermined communication medium to control printing of a printing unit, the output job information being received from the information processing device and waiting for analysis; and the output job information. Storage means (RAM 1-6) for storing output data which is developed based on the information and is in an output standby state, a detection means (remaining amount detection section 1-9) for detecting a remaining amount of a predetermined consumable material, and an output standby state First estimating means for estimating a consumption amount of a predetermined consumable consumed by printing of the output data (the CPU 1-1 executes a control program stored in the ROM 1-2 to perform an estimating process); Calculating means for calculating a remaining amount of a predetermined consumable based on the consumption amount predicted by the first predicting unit and a remaining amount of the predetermined consumable detected by the detecting unit; 1-10) and the above description A second estimating means for estimating a consumption amount of a predetermined consumable consumed by the printing unit based on the output job information stored in the means (the CPU 1-1 executes the control program stored in the ROM 1-2); Executing the prediction process) and consuming during the printing of the output job information based on the remaining amount of the predetermined consumable material calculated by the calculation unit and the consumption amount predicted by the second prediction unit. Determination means for determining whether or not a shortage of material occurs (the CPU 1-1 executes the control program stored in the ROM 1-2 to perform the determination processing); and the determination means causes a shortage of consumable material during printing of the job. Control means for changing the output schedule of each output job information stored in the storage means (the CPU 1-1 executes the control program stored in the ROM 1-2). (Determination process), when it is determined that the consumables shortage occurs during the printing of the job, a schedule (for example, replacement of output data, output data) for the output data of each output job information stored in the storage means. (Including canceling the transfer of job information) to automatically set the best output schedule for output job information waiting for output while predicting that a printing failure may occur. .

また、制御手段は、前記判定手段が当該ジョブの印刷中に消耗材不足が生じると判定した場合に、消耗材不足状態を予告警告する警告手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して警告処理(ホストコンピュータ2000への警告通知あるいは操作パネル1012への警告通知等を含む)する)とを有するので、出力待機中の出力ジョブ情報の解析実行開始前に、当該出力ジョブ情報の印刷に伴って消耗材不足が発生することをユーザに予告警告することができる。   When the determining means determines that the consumables shortage occurs during the printing of the job, the control means warns the user of the consumables shortage state in advance. Before executing the analysis of the output job information waiting to be output, the output processing is performed before the execution of the analysis (including a warning notification to the host computer 2000 or a warning notification to the operation panel 1012) by executing the program. The user can be warned in advance that a shortage of consumables will occur with the printing of job information.

さらに、所定の通信媒体を介して情報処理装置と通信して印刷部の印刷を制御する印刷制御装置であって、アクセス速度がそれぞれ異なる第1および第2の記憶手段(外部メモリ1−3,RAM1−6)と、前記情報処理装置から受信する印刷情報に利用する所定の登録データを前記第1の記憶手段に登録する制御手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して登録処理する)と、前記印刷情報を解析して前記第1の記憶手段に記憶されたいずれかの登録データを利用する指定がなされているかどうかを検出する検出手段(CPU1−1がROM1−2に記憶された制御プログラムを実行して算出処理する)とを有し、制御手段は、前記検出手段が登録データを利用する指定がなされていることを検出した場合に、前記第1の記憶手段から指定されている登録データを前記印刷情報の解析に先立って読み出して前記第1の記憶手段よりもアクセス速度が速い前記第2の記憶手段に登録するので、登録データを記憶する記憶媒体のアクセス速度が異なる場合でも、登録データを利用する印刷情報の処理時間を短縮することができる。   Furthermore, the present invention is a print control device that communicates with an information processing device via a predetermined communication medium to control printing of a printing unit, and includes first and second storage units (external memories 1-3, 3) having different access speeds. RAM 1-6) and control means for registering predetermined registration data used for print information received from the information processing apparatus in the first storage means (CPU 1-1 executes a control program stored in ROM 1-2). Detecting means for analyzing the print information and detecting whether or not designation has been made to use any of the registered data stored in the first storage means (the CPU 1-1 has the ROM 1). -2 executes the control program stored in the control program), and the control unit detects that the use of the registered data is specified by the detection unit. The registration data specified from the first storage unit is read out before the analysis of the print information and registered in the second storage unit having an access speed faster than that of the first storage unit. Even when the access speed of the storage medium to be stored is different, the processing time of the print information using the registered data can be reduced.

また、外部メモリ1−3は、前記所定の登録データを不揮発に記憶するので、印刷頻度の高い定型データ,フォントデータ等を情報処理装置等からダウンロードするだけで、当該登録データを利用する印刷情報のデータ量を格段に減らすことができる。   Further, since the external memory 1-3 stores the predetermined registration data in a non-volatile manner, it is only necessary to download, from an information processing apparatus or the like, fixed-form data, font data, and the like, which are frequently printed, so that print information using the registration data can be obtained. Can significantly reduce the amount of data.

さらに、CPU1−1は、外部メモリ1−3から指定されている登録データを前記印刷情報の解析に先立って読み出してRAM1−6にキャッシュデータとして登録するので、登録データを利用する印刷を効率よく行うことができる。   Further, the CPU 1-1 reads out the registered data designated from the external memory 1-3 prior to the analysis of the print information and registers it as cache data in the RAM 1-6, so that printing using the registered data can be efficiently performed. It can be carried out.

また、RAM1−6は、拡張可能なランダムアクセスメモリで構成したので、使用環境に応じて登録データが増えても自在に対応することができる。また、所定の通信媒体を介して印刷装置(LBP本体1000)と通信して出力ジョブ情報を転送制御する印刷制御装置(ホストコンピュータ2000側に設けられるハードウエアおよびまたはソフトウエアを含む)であって、前記印刷装置に転送すべき複数の出力ジョブを記憶する記憶手段(プリントスプーラ2003)と、前記記憶手段に記憶されたいずれかの出力ジョブの転送後、前記印刷装置で予測演算されている所定の消耗材残量情報を取得する取得手段(プリンタドライバ2002の機能による)と、前記取得手段が取得した前記所定の消耗材残量情報を解析して前記記憶手段に記憶されている各出力ジョブの転送スケジュールを変更する制御手段(プリンタドライバ2002の機能による)とを有するので、印刷装置側の消耗材の残量を捉えて、印刷不良となってしまう虞れのあるデータ転送元にスプールされている出力ジョブ情報を印刷可能な他の印刷装置への転送あるいは印刷可能な出力ジョブ情報を先行して転送する等設定されていた印刷スケジュールを最適化することができる。   Further, since the RAM 1-6 is constituted by an expandable random access memory, it is possible to freely cope with an increase in the number of registered data according to the use environment. A print control device (including hardware and / or software provided on the host computer 2000) that communicates with a printing device (the LBP main body 1000) via a predetermined communication medium to transfer and control output job information. A storage unit (print spooler 2003) for storing a plurality of output jobs to be transferred to the printing apparatus, and a predetermined calculation which is predicted and calculated by the printing apparatus after transferring any one of the output jobs stored in the storage unit. Acquiring means (according to the function of the printer driver 2002) for acquiring the remaining consumable amount information, and analyzing the predetermined consumable amount information acquired by the acquiring means and storing each output job stored in the storage means. Control means (by the function of the printer driver 2002) for changing the transfer schedule of the printer. The output job information spooled at the data transfer source that may cause printing failure by capturing the remaining amount of the print job is transferred to another printing device capable of printing or the output job information printable is preceded. It is possible to optimize a print schedule that has been set, for example, for transfer.

図3は、本発明に係る印刷制御装置の印刷資源情報の流れを概念的に示す模式図であって、図2と同一のものには同一の符号を付してある。   FIG. 3 is a schematic diagram conceptually showing the flow of print resource information of the print control apparatus according to the present invention, and the same components as those in FIG. 2 are denoted by the same reference numerals.

図において、2004はCRTで、ホストコンピュータ2000のCPU2005がVRAM等にデータを書き込むことにより、入力されたデータあるいはプリンタ情報等をリアルタイムに表示する。なお、図中の実線で示す矢印はデータと実測される情報に対応し、破線で示す矢印は予測値情報の流れに対応する。   In the figure, a CRT 2004 displays input data or printer information in real time by writing data in a VRAM or the like by a CPU 2005 of a host computer 2000. Note that arrows shown by solid lines in the figure correspond to data and information actually measured, and arrows shown by broken lines correspond to a flow of predicted value information.

以下、ジョブ情報1〜5を処理する場合を例として説明する。   Hereinafter, a case where job information 1 to 5 are processed will be described as an example.

プリンタ制御ユニット1001には、既にジョブ情報1〜3が処理中または処理待ち状態に対応し、ジョブ情報1はRAM1−6のページバッファメモリに保持されて出力中であり、実測された出力ページ数が25頁であり、ジョブ情報2は、同様にRAM1−6のページバッファメモリに保持されて出力待ち状態に対応する。この状態において、エンジン制御部PECがエンジン(印刷部1−9)の出力毎に1頁をデクリメントし、検知した用紙残枚数が更新されてその値がメモリ上に保持されている。したがって、出力中のジョブ情報1に基づく消費残予測値は「75」枚としてメモリ上に保持され、出力待ちのジョブ情報2の実測ページ情報が「25」頁であるとすると、PDL解析済みによる現在の消費残予測値は「50」枚としてメモリ上に保持されることとなる。   The printer control unit 1001 already has the job information 1 to 3 corresponding to the processing or waiting state, the job information 1 is being held in the page buffer memory of the RAM 1-6 and being output, and the actually measured number of output pages Is 25 pages, and the job information 2 is also held in the page buffer memory of the RAM 1-6 and corresponds to the output waiting state. In this state, the engine control unit PEC decrements one page every time the engine (printing unit 1-9) outputs, updates the detected number of remaining sheets, and holds the value in the memory. Accordingly, if the remaining consumption prediction value based on the job information 1 being output is held in the memory as “75” pages, and the actually measured page information of the job information 2 waiting to be output is “25” pages, the PDL analysis is performed. The current remaining consumption prediction value is stored in the memory as “50” sheets.

そして、例えばハードディスク等で構成される受信バッファに予測されたページ情報が付加されてジョブ情報3がスプールされているとすると、ホストコンピュータ2000のプリンタドライバ2002または図示しないプリントユーティリティに対して、ジョブ情報3を出力してしまったと仮定し得る際の記録媒体の残数情報は、「25」枚であることが通知される。なお、この通知は、プリンタドライバ2002からの記録媒体残数取得要求に応えて転送されるものであってもよい。   If the job information 3 is spooled with the predicted page information added to a reception buffer constituted by a hard disk or the like, for example, the job information is sent to the printer driver 2002 of the host computer 2000 or a print utility (not shown). When it is assumed that 3 has been output, it is notified that the remaining number information of the recording medium is “25”. This notification may be transferred in response to a request for obtaining the remaining number of recording media from the printer driver 2002.

この際、プリントスプーラ2003に転送中のジョブ情報4と転送待ちのジョブ情報5がスプールされている場合、プリンタドライバ2002は、取得した最新の記録媒体残数「25」と、予測されたジョブ情報3の消費するであろう予測頁数が「20」であれば、この時点で、すなわち、残数は「5」枚となっていることを認識できる。さらに、ここで、認識された残数は「5」枚から、転送待機中の予測頁数が「25」であれば、この時点で、消費材となる記録媒体の用紙不足が「20」であることが予測される。ここで、該用紙不足をCPUがCRT2004に表示して通知したり、ネットワークを介して他のプリンタ資源の動作状況を判定して、ジョブ情報5をキャンセルして、新たなプリンタに転送すべき、ジョブ情報を作成してスプールする等、スプールしてしまったジョブ情報の転送先を指定されたプリンタ候補に代えて他のプリンタに振り分けるように制御することも可能となる。なお、該振り分けに際し、ユーザに問い合わせるメッセージをCRT2004に表示して、ユーザ指示で他のプリンタ候補へジョブ情報5を転送するように構成してもよい。また、このような事態が発生した場合のプリンタ候補の切り替えモードを用意して、自動あるいはユーザ指定で切り替えることも可能である。   At this time, if the job information 4 being transferred and the job information 5 waiting to be transferred are spooled in the print spooler 2003, the printer driver 2002 sets the acquired latest recording medium remaining number “25” and the predicted job information If the predicted number of pages that will be consumed by the number 3 is “20”, it can be recognized at this point, that is, the remaining number is “5”. Furthermore, if the number of remaining pages recognized is “5” and the predicted number of pages waiting for transfer is “25”, the shortage of the recording medium serving as a consumable material is “20” at this point. It is expected that there is. Here, the CPU should notify the shortage of the paper by displaying it on the CRT 2004, determine the operation status of other printer resources via the network, cancel the job information 5, and transfer the job information 5 to a new printer. It is also possible to control the transfer of the spooled job information to another printer instead of the designated printer candidate, such as creating and spooling the job information. At the time of the distribution, a message inquiring the user may be displayed on the CRT 2004, and the job information 5 may be transferred to another printer candidate at the instruction of the user. It is also possible to prepare a printer candidate switching mode when such a situation occurs, and to switch automatically or by user designation.

図4は、本発明に係る印刷制御装置の第1のデータ処理手順の一例を示すフローチャートであり、印刷システムの用紙残量警告処理手順に対応する。なお、(1)〜(11)は各ステップを示す。   FIG. 4 is a flowchart illustrating an example of a first data processing procedure of the print control apparatus according to the present invention, and corresponds to a paper remaining amount warning processing procedure of the printing system. In addition, (1) to (11) indicate each step.

ホストコンピュータ2000のアプリケーションプログラム2001がユーザから印刷を指示されると、生成された文書ファイルをホストコンピュータ2000上のオペレーティングシステムによって定められた形式でプリントスプーラ2003にデータ格納される(1)。   When the application program 2001 of the host computer 2000 is instructed to print by the user, the generated document file is stored in the print spooler 2003 in a format determined by the operating system of the host computer 2000 (1).

次に、プリンタドライバ2002のデータ調査部2002Aは、プリントスプーラ2003内に格納されたスプールデータを読み出して、印刷データのページ数をカウントし、消費する記録用紙の予測値を算出する(2)。この際、印刷データの論理的なページ情報ではなく、実際にLBP本体1000による記録に伴って消費される記録紙情報を調査する。   Next, the data investigation unit 2002A of the printer driver 2002 reads the spool data stored in the print spooler 2003, counts the number of pages of the print data, and calculates a predicted value of the recording paper to be consumed (2). At this time, not the logical page information of the print data, but the recording paper information actually consumed by the recording by the LBP main body 1000 is checked.

例えば、複数ページを1枚の紙に割り付けて出力する場合や、両面印刷指示がなされている場合などは、複数のページがあっても記録紙1枚の消費と算出される。   For example, when a plurality of pages are allocated to one sheet and output, or when a double-sided printing instruction is given, even if there are a plurality of pages, it is calculated that one recording sheet is consumed.

逆に、1ページであっても、コピー印刷指示がなされていれば、コピー部数分の記録紙を消費すると算出される。   Conversely, it is calculated that even if it is one page, if the copy print instruction is given, the recording paper is consumed for the number of copies.

このようにして算出された記録用紙の消費情報はプリンタドライバ2002内のデータ変換部2002Bに通知される(3)。データ変換部2002Bは、通知された消費情報をPDLデータに変換してプリンタ制御ユニット1001へ入出力部1−5を介して送信するとともに、さらにプリントスプーラ2003内のスプールデータを読み出して、印刷ジョブ(PDL形式)を生成した後、同様に送信する(4)。   The recording paper consumption information calculated in this way is notified to the data conversion unit 2002B in the printer driver 2002 (3). The data conversion unit 2002B converts the notified consumption information into PDL data, transmits the PDL data to the printer control unit 1001 via the input / output unit 1-5, reads out the spool data in the print spooler 2003, and prints the print job. After generating (PDL format), it is transmitted similarly (4).

次に、プリンタ制御ユニット1001は、プリンタドライバ2002から転送された消費情報データを入出力部1−5を介して受信し(5)、後続して入力される印刷ジョブの消費情報をRAM1−6のワーク上に読み出しておく。   Next, the printer control unit 1001 receives the consumption information data transferred from the printer driver 2002 via the input / output unit 1-5 (5), and stores the consumption information of the subsequently input print job in the RAM 1-6. Is read out on the work.

次いで、残量算出部1−10は、印刷部I/F1−8を介して印刷部1−9内の用紙残量検知部(図示しないセンサ)から現在装着されている用紙の残量を取得し、すでに受信済の印刷ジョブで現在出力待機中の出力待ちページ情報(説明は後述する)を読み出して減算することにより、新たに入力される印刷ジョブに対する印刷部1−9における記録用紙に記録すべき出力時点での残量予測値を算出する(6)。   Next, the remaining amount calculation unit 1-10 acquires the remaining amount of the currently loaded paper from a remaining paper amount detection unit (not shown) in the printing unit 1-9 via the printing unit I / F 1-8. Then, by reading and subtracting the output waiting page information (to be described later) of the print job that has already been received and is currently waiting for output, the information is recorded on the recording paper in the printing unit 1-9 for the newly input print job. The remaining amount prediction value at the output time to be calculated is calculated (6).

そして、RAM1−6に保持されている新たな印刷ジョブの消費情報と上記残量予測値とを比較して、記録用紙の残量が不足するかどうかを判断し(7)、不足しないと判断される場合には、ステップ(9)以降へ進み、不足すると判断される場合には、用紙残量不足の警告を入出力部1−5を介してホストコンピュータ2000に送信する(8)。   Then, by comparing the consumption information of the new print job held in the RAM 1-6 with the estimated remaining amount, it is determined whether or not the remaining amount of the recording paper is insufficient (7). If so, the process proceeds to step (9) and thereafter, and if it is determined that there is a shortage, a warning of insufficient paper remaining is transmitted to the host computer 2000 via the input / output unit 1-5 (8).

次に、印刷データ(印字位置を示す制御コードや文字コードなど)を読み込み、対応するPDL解析処理を実行して制御コードで指定された印字位置に対応するバンド単位に分類してRAM1−6内のページバッファに中間データを生成して格納する(9)。なお、当該格納処理は、印刷データ中の改ページ命令などのページ終了制御コードを検知するまで同一ページの中間データとして格納する。   Next, print data (a control code or a character code indicating a print position, etc.) is read, a corresponding PDL analysis process is executed, the data is classified into band units corresponding to the print position specified by the control code, and the data is stored in the RAM 1-6. The intermediate data is generated and stored in the page buffer (9). In the storage process, the print data is stored as intermediate data of the same page until a page end control code such as a page break command is detected.

次に、1ページ分の中間データを格納できたならば、RAM1−6内のページバッファに格納された中間コードをRAM1−6内のビットマップメモリにバンド単位で順次ビットマップ展開する出力ビットマップ画像生成処理を行う(10)。このようにして生成されたビットマップ画像は印刷部I/F1−8を介して、印刷部1−9に転送され処理を、1ページ分のビットマップ画像を印刷部に転送するまで繰り返す(11)。そして、1ページの印刷が終了したならば、中間コードを記憶しているページバッファメモリは解放される。   Next, if the intermediate data for one page can be stored, the output bit map is used to sequentially develop the intermediate code stored in the page buffer in the RAM 1-6 into the bit map memory in the RAM 1-6 in bit units in band units. Image generation processing is performed (10). The bitmap image thus generated is transferred to the printing unit 1-9 via the printing unit I / F 1-8, and the process is repeated until the bitmap image for one page is transferred to the printing unit (11). ). When the printing of one page is completed, the page buffer memory storing the intermediate code is released.

なお、詳細は省略するが転送された全てのページを印刷するまで、ステップ(9)〜(11)の処理を繰り返し実行する。   Although details are omitted, the processing of steps (9) to (11) is repeatedly executed until all the transferred pages are printed.

なお、上記実施形態では、新たに入力される印刷ジョブに関して残量予測値を算出して、警告処理を送信する場合について説明したが、これに限らず、例えば、図4のステップ(6)の残量予測値算出ステップにおいて、残量算出部1−10が、RAM1−6内のページバッファに格納されている中間データの出力待ちページ情報と印刷部1−9から取得した用紙残量を比較することによって消耗品の不足予測を行ってもよい。   In the above-described embodiment, the case where the remaining amount prediction value is calculated for the newly input print job and the warning process is transmitted has been described. However, the present invention is not limited to this. For example, the process of step (6) in FIG. In the remaining amount prediction value calculating step, the remaining amount calculating unit 1-10 compares the output waiting page information of the intermediate data stored in the page buffer in the RAM 1-6 with the remaining amount of paper acquired from the printing unit 1-9. By doing so, a shortage of consumables may be predicted.

また、消耗材不足が発生すると判定された場合に、ステップ(8)で警告送信ステップを実行してもよい。   If it is determined that the consumables shortage occurs, a warning transmission step may be executed in step (8).

さらに、ステップ(8)の用紙残量不足警告送信ステップにおいて、用紙残量不足が発生する場合には、ホストコンピュータへ警告を送信するとしたが、これに限らず、例えば操作パネル1012へ警告表示を実行してもよい。   Further, in the step (8) of transmitting the insufficient paper remaining amount warning, if the remaining amount of paper is insufficient, a warning is transmitted to the host computer. However, the present invention is not limited to this. For example, a warning display is displayed on the operation panel 1012. May be performed.

また、プリンタドライバ2002は警告情報を読み出せるように構成し、後続の印刷ジョブの転送を中止したり、複数の印刷装置を備えるネットワーク環境においては、他の印刷装置への転送を要求したりしてもよい。   Further, the printer driver 2002 is configured to be able to read out the warning information, and may stop the transfer of the subsequent print job, or request the transfer to another printing device in a network environment having a plurality of printing devices. May be.

以下、図5,図6に示すフローチャートを参照して、図2に示した残量算出部1−10のデータ処理について説明する。   Hereinafter, data processing of the remaining amount calculation unit 1-10 shown in FIG. 2 will be described with reference to flowcharts shown in FIGS.

図5は、図2に示した残量算出部1−10による第1のページカウント処理手順の一例を示すフローチャートであり、印刷ジョブを解析して中間ページを生成する中間ページ生成に伴うカウントアップ処理に対応する。なお、(1)〜(4)は各ステップを示す。   FIG. 5 is a flowchart illustrating an example of a first page count processing procedure performed by the remaining amount calculation unit 1-10 illustrated in FIG. 2, and counts up when an intermediate page is generated by analyzing a print job and generating an intermediate page. Corresponds to processing. (1) to (4) show each step.

中間ページ生成処理では、先ず、印刷データ(印字位置を示す制御コードや文字コードなど)を入出力部1−5を介して読み込み(1)、対応するPDL解析処理を実行し、制御コードで指定された印字位置に対応するバンド単位に分類してRAM1−6内のページバッファに中間データとして格納する(2)。この際、印刷データ中の改ページ命令などのページ終了制御コードを検知するまで同一ページの中間データとして格納する。   In the intermediate page generation process, first, print data (a control code or a character code indicating a print position, etc.) is read via the input / output unit 1-5 (1), and a corresponding PDL analysis process is executed, and designated by the control code. The print data is classified into band units corresponding to the print positions and stored as intermediate data in a page buffer in the RAM 1-6 (2). At this time, the print data is stored as intermediate data of the same page until a page end control code such as a page break command in the print data is detected.

次いで、1ページ分の中間データを格納できたならば、出力待ちページ情報を1ページ分カウントアップし(3)、入力された印刷ジョブが終了かどうかを判定し(4)、NO、すなわち、後続の印刷データがある場合には、ステップ(1)〜(3)の処理を繰り返して処理する。   Next, if the intermediate data for one page can be stored, the output waiting page information is counted up by one page (3), and it is determined whether or not the input print job is completed (4). If there is subsequent print data, the processing of steps (1) to (3) is repeated.

図6は、図2に示した残量算出部1−10による第2のページカウント処理手順の一例を示すフローチャートであり、ビットマップ生成に伴うカウントダウン処理に対応する。なお、(1)〜(5)は各ステップを示す。   FIG. 6 is a flowchart illustrating an example of a second page count processing procedure performed by the remaining amount calculation unit 1-10 illustrated in FIG. 2, and corresponds to a countdown process associated with bitmap generation. Note that (1) to (5) indicate each step.

出力制御処理では、先ず、RAM1−6内のページバッファに格納された中間コードを読込み(1)、RAM1−6内のビットマップメモリにバンド単位で順次ビットマップ展開する(2)。このようにして生成された出力すべきビットマップ画像は印刷部I/F1−8を介して印刷部1−9に転送される(3)。そして、1ページ分の出力が終了したならば、出力待ちページ情報を1ページ分デクリメントする(4)。   In the output control process, first, the intermediate code stored in the page buffer in the RAM 1-6 is read (1), and the bit map is sequentially developed in the bit map memory in the RAM 1-6 in band units (2). The bitmap image to be output thus generated is transferred to the printing unit 1-9 via the printing unit I / F 1-8 (3). When the output of one page is completed, the output waiting page information is decremented by one page (4).

次に、ページバッファ内に格納されている全ての中間ページを印刷したかどうかを判定して(5)、YESならば処理を終了し、NOならばステップ(1)〜(4)を繰り返す。   Next, it is determined whether or not all the intermediate pages stored in the page buffer have been printed (5). If YES, the process ends. If NO, steps (1) to (4) are repeated.

なお、上記実施形態では、記録用紙情報に関して残量予測および警告動作を説明したが、これに限ず、例えば残量算出部1−10は、印刷部1−9内のトナー検知部からの情報を取得できるように構成し、図5のステップ(2)でページバッファに格納される中間データのトナー消費予測値(ビットマップ画像のON/OFF画像比率などにより算出する)を取得できるように構成し、出力待ちトナー消費情報を算出できるようにしてもよい。   In the above embodiment, the remaining amount prediction and the warning operation are described with respect to the recording paper information. However, the present invention is not limited to this. Is configured to be able to acquire the estimated toner consumption value (calculated from the ON / OFF image ratio of the bitmap image) of the intermediate data stored in the page buffer in step (2) of FIG. Alternatively, output standby toner consumption information may be calculated.

なお、図5,図6に示すカウント処理はそれぞれ独立して並行処理できるように構成されている。   The counting processes shown in FIGS. 5 and 6 are configured so that they can be performed independently and in parallel.

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

上記のように構成された所定の通信媒体を介して情報処理装置と通信して印刷部の印刷を制御する印刷制御方法であって、あるいは所定の通信媒体を介して情報処理装置と通信して印刷部の印刷を制御するコンピュータが読み出し可能なプログラムを格納した記憶媒体であって、所定の消耗材の残量を検知する検知工程(図4のステップ(6))と、前記情報処理装置から受信する出力ジョブ情報に基づいて展開されて出力待機中となって記憶される出力データの印刷に伴って消費される前記消耗材の消費量を予測する予測工程(図4のステップ(6))と、該予測された前記消耗材の消費量と前記検知手段が検知している前記消耗材の残量とから前記出力データの印刷中に消耗材不足が生じるかどうかを判定する判定工程(図4のステップ(7))と、前記出力データの印刷中に消耗材不足が生じると判定した場合に、消耗材不足状態を予告警告する警告工程(図4のステップ(8))とを有するので、出力待機中の出力データの印刷実行開始前に、当該出力データの印刷に伴って消耗材不足が発生することをユーザに予告警告することができる。   A print control method for communicating with an information processing apparatus via a predetermined communication medium configured as described above to control printing of a printing unit, or for communicating with an information processing apparatus via a predetermined communication medium. A storage medium storing a computer readable program for controlling printing of a printing unit, wherein a detection step (step (6) in FIG. 4) for detecting a remaining amount of a predetermined consumable material; A prediction step of predicting a consumption amount of the consumable material consumed when printing output data that is developed based on the received output job information and stored in an output standby state (step (6) in FIG. 4). Determining whether or not a shortage of consumables occurs during printing of the output data, based on the predicted consumption amount of the consumables and the remaining amount of the consumables detected by the detection unit (FIG. Step 4 7)) and a warning step (step (8) in FIG. 4) for giving advance notice of a consumable shortage state when it is determined that a consumable shortage occurs during printing of the output data. Before starting printing of the output data, the user can be warned in advance that a shortage of consumables will occur due to the printing of the output data.

また、所定の通信媒体を介して情報処理装置(ホストコンピュータ2000)と通信して印刷部1−9の印刷を制御する印刷制御方法であって、あるいは所定の通信媒体を介して情報処理装置と通信して印刷部の印刷を制御するコンピュータが読み出し可能なプログラムを格納した記憶媒体であって、所定の消耗材の残量を検知する検知工程(図4のステップ(6))と、前記情報処理装置から受信して解析待ちとなる出力ジョブ情報および前記出力ジョブ情報に基づいて展開されて出力待機中の出力データの印刷に伴い消費される所定の消耗材の消費量を予測する第1の予測工程(図3のステップ(6))と、前記第1の予測工程により予測された前記消費量と検知された前記所定の消耗材の残量とに基づいて所定の消耗材の残量を算出する算出工程(図3のステップ(6))と、記憶される前記出力ジョブ情報に基づく前記印刷部の印刷に伴い消費する所定の消耗材の消費量を予測する第2の予測工程(図3のステップ(6))と、算出された所定の消耗材の残量と第2の予測工程により予測された前記消費量とに基づいて前記出力ジョブ情報の印刷中に消耗材不足が生じるかどうかを判定する判定工程(図4のステップ(7))と、前記判定工程が当該ジョブの印刷中に消耗材不足が生じると判定した場合に、消耗材不足状態を予告警告する警告工程(図4のステップ(8))とを有するので、出力待機中の出力ジョブ情報の解析実行開始前に、当該出力ジョブ情報の印刷に伴って消耗材不足が発生することをユーザに予告警告することができる。   A printing control method for communicating with an information processing device (host computer 2000) via a predetermined communication medium to control printing of the printing unit 1-9, or a method for communicating with the information processing device via a predetermined communication medium. A storage medium storing a computer-readable program for communicating and controlling the printing of a printing unit, wherein a detection step (step (6) in FIG. 4) for detecting a remaining amount of a predetermined consumable material; A first output job information which is received from the processing device and is to be analyzed, and a first consumption amount which is developed based on the output job information and which predicts a consumption amount of a predetermined consumable consumed when printing the output data which is waiting for output; Based on the prediction step (step (6) in FIG. 3) and the consumption amount predicted in the first prediction step and the detected remaining amount of the predetermined consumable material, the remaining amount of the predetermined consumable material is determined. Calculate A calculating step (step (6) in FIG. 3) and a second predicting step (FIG. 3) for predicting a consumption amount of a predetermined consumable consumed by the printing unit based on the stored output job information. Step (6)) determining whether a shortage of consumables occurs during printing of the output job information based on the calculated remaining amount of the predetermined consumables and the consumption amount predicted by the second prediction step. A judgment step (step (7) in FIG. 4) and a warning step (FIG. 4) for giving advance warning of a consumable shortage state when the consumable shortage occurs during the printing of the job. Since step (8)) is included, the user can be warned in advance that the shortage of consumables will occur due to the printing of the output job information before the start of the execution of the analysis of the output job information waiting for output.

〔第2実施形態〕
図7は、本発明の第2実施形態を示す印刷制御装置のデータ処理手順の一例を示すフローチャートであり、図2に示した印刷システムにおける登録データのキャッシュ処理手順に対応する。なお、(1)〜(11)は各ステップを示す。また、当該処理に先だって、LBP本体1000内の外部メモリ1−3に格納されている外字情報,フォーム情報をプリンタドライバ2002内のデータ調査部200Aが、例えば入出力部1−5を介してプリンタ制御ユニット1001から格納情報を読み出せるように構成されているものとする。さらに、ステップ(1)〜(5)はプリンタドライバ2002側の処理に対応し、(6)〜(11)はプリンタ制御ユニット1001側の処理に対応する。
[Second embodiment]
FIG. 7 is a flowchart illustrating an example of a data processing procedure of the print control apparatus according to the second embodiment of the present invention, and corresponds to a registration data caching procedure in the printing system illustrated in FIG. Note that (1) to (11) indicate each step. Prior to this processing, the external character information and form information stored in the external memory 1-3 in the LBP main body 1000 are transmitted to the printer 200 via the input / output unit 1-5. It is assumed that the configuration is such that stored information can be read from the control unit 1001. Further, steps (1) to (5) correspond to processing on the printer driver 2002 side, and steps (6) to (11) correspond to processing on the printer control unit 1001 side.

ホストコンピュータ2000のアプリケーションプログラム2001がユーザから印刷を指示されると、生成された文書ファイルをホストコンピュータ2000上のオペレーティングシステムによって定められた形式でプリントスプーラ2003にデータ格納される(1)。そして、プリンタドライバ2002のデータ調査部2002Aは、プリントスプーラ2003内に格納されたスプールデータを読み出して、プリンタ制御ユニット1001内の外部メモリ1−3に記憶されている外字データ,フォームデータなどが利用されているかを調査し(2)、検出情報をデータ変換部2002Bに通知する(3)。   When the application program 2001 of the host computer 2000 is instructed to print by the user, the generated document file is stored in the print spooler 2003 in a format determined by the operating system of the host computer 2000 (1). The data checking unit 2002A of the printer driver 2002 reads the spool data stored in the print spooler 2003, and uses the external character data, form data, and the like stored in the external memory 1-3 in the printer control unit 1001. Investigation is performed to determine whether or not the detection has been performed (2), and the detection information is notified to the data conversion unit 2002B (3).

データ変換部2002Bは、通知された外部メモリ1−3内のデータの使用情報をPDLデータ(先行キャッシュ指示命令)に変換してプリンタ制御ユニット1001へ入出力部1−5を介して送信する(4)。さらに、プリントスプーラ2003内のスプールデータを読み出して、印刷ジョブ(PDL形式)を生成した後、同様に送信される(5)。   The data conversion unit 2002B converts the notified information on the use of the data in the external memory 1-3 into PDL data (preceding cache instruction command) and transmits the PDL data to the printer control unit 1001 via the input / output unit 1-5 ( 4). Further, the spool data in the print spooler 2003 is read, a print job (PDL format) is generated, and the print job is transmitted in the same manner (5).

以後、プリンタ制御ユニット1001側の処理となり、転送された消費情報データを入出力部1−5を介して受信し(6)、先行キャッシュ指示命令が存在するかどうかを判断し(7)、NOならばステップ(9)以降へ進み、YESならば、外部メモリ1−3内に格納された登録データの中から、指示されたデータのみをRAM1−6内のキャッシュメモリ1−6−Cに読み出す(8)。   Thereafter, the process is performed on the printer control unit 1001 side, and the transferred consumption information data is received via the input / output unit 1-5 (6), and it is determined whether or not there is a preceding cache instruction command (7), NO If so, the process proceeds to step (9). If YES, only the instructed data is read from the registered data stored in the external memory 1-3 to the cache memory 1-6-C in the RAM 1-6. (8).

次に、後続の印刷データ(印字位置を示す制御コードや文字コードなど)を読み込み、対応するPDL解析処理を実行して中間データを、制御コードで指示された印字位置に対応するバンド単位に分類してRAM1−6内のページバッファ1−6−Bに生成された中間データを格納する(9)。   Next, the subsequent print data (such as a control code or a character code indicating the print position) is read, and the corresponding PDL analysis process is executed to classify the intermediate data into band units corresponding to the print position specified by the control code. Then, the generated intermediate data is stored in the page buffer 1-6-B in the RAM 1-6 (9).

この際、PDL解析処理部は、印刷ジョブ内でフォームオーバレイ実行命令や外字コード印字命令を検知すると、RAM1−6内のキャッシュメモリ1−6−Cに読み込まれている外字データ,フォームデータを読み出して中間データとしてRAM1−6内の中間ページバッファ(ページバッファ)メモリ1−6−Bに格納するように処理する。なお、当該処理は、印刷データ中の改ページ命令などのページ終了制御コードを検知するまで同一ページの中間データとして格納する。   At this time, when the PDL analysis processing unit detects a form overlay execution command or a character code printing command in the print job, the PDL analysis processing unit reads the character data and form data read in the cache memory 1-6-C in the RAM 1-6. Is stored in the intermediate page buffer (page buffer) memory 1-6-B in the RAM 1-6 as intermediate data. In this process, the print data is stored as intermediate data of the same page until a page end control code such as a page break instruction in the print data is detected.

そして、1ページ分の中間データを格納できたならば、RAM1−6内のページバッファ1−6−Bに格納された中間コードをRAM1−6内のビットマップメモリにバンド単位で順次ビットマップ展開する(10)。このようにして生成されたビットマップ画像は印刷部I/F1−8を介して、印刷部に1−9に転送されて印刷処理される(11)。   If the intermediate data for one page can be stored, the intermediate codes stored in the page buffer 1-6-B in the RAM 1-6 are sequentially bit-mapped to the bit map memory in the RAM 1-6 in band units. (10). The bitmap image generated in this way is transferred to the printing unit 1-9 via the printing unit I / F 1-8 and is subjected to print processing (11).

なお、外部メモリ1−3に格納された登録データをRAM1−6内のキャッシュメモリ1−6−Cに読み出す場合について説明したが、これに限らず、読み出し時間の遅い格納メモリから読み出し時間の早いキャッシュメモリに格納するのであれば、どのような構成でも構わない。   The case where the registered data stored in the external memory 1-3 is read to the cache memory 1-6-C in the RAM 1-6 has been described. However, the present invention is not limited to this. Any configuration may be used as long as it is stored in the cache memory.

また、キャッシュメモリ1−6−Cに読み出すべきデータは外字、フォームの登録データに限らず、装置内蔵のフォントデータ等であってもよい。   The data to be read into the cache memory 1-6-C is not limited to external characters and form registration data, but may be font data or the like built into the apparatus.

さらに、上記プリンタドライバ2002のデータ調査部2002Aは、プリントスプーラ2003に格納された印刷データを調査する場合について説明したが、スプールシステムから提供される情報、例えば、ジョブ名称や、利用ユーザ名称,ホスト名称などから特定される格納データについて先行読み出しを指示命令を送信できるように構成してもよい。   Further, a case has been described where the data investigation unit 2002A of the printer driver 2002 investigates print data stored in the print spooler 2003. However, information provided from the spool system, such as a job name, a user name, and a host A configuration may be made so that a command to instruct pre-reading of stored data specified by a name or the like can be transmitted.

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

上記のように構成された所定の通信媒体を介して情報処理装置(ホストコンピュータ2000)と通信して印刷部1−9の印刷を制御する印刷制御方法であって、あるいは所定の通信媒体を介して情報処理装置と通信して印刷部の印刷を制御するコンピュータが読み出し可能なプログラムを格納した記憶媒体であって、印刷情報を解析して第1の記憶手段(外部メモリ1−3)に記憶されるいずれかの登録データを利用する指定がなされているかどうかを検出する検出工程(図7のステップ(7))と、前記検出工程により前記登録データを利用する指定がなされていることを検出した場合に、外部メモリ1−3から指定されている登録データを前記印刷情報の解析に先立って読み出して前記第1の記憶手段よりも高速アクセス可能なRAM1−6に登録する登録工程(図7のステップ(8))とを有するので、登録データを記憶する記憶媒体のアクセス速度が異なる場合でも、登録データを利用する印刷情報の処理時間を短縮することができる。   A printing control method for communicating with the information processing apparatus (host computer 2000) via the predetermined communication medium configured as described above to control printing of the printing unit 1-9, or via a predetermined communication medium. A computer-readable storage medium storing a computer-readable program that communicates with an information processing apparatus and controls printing of a printing unit, analyzes print information, and stores the analyzed information in a first storage unit (external memory 1-3). (Step (7) in FIG. 7) for detecting whether or not any of the registered data is designated to be used, and detecting that the use of the registered data is designated by the detecting step. In this case, the registered data designated from the external memory 1-3 is read out prior to the analysis of the print information, and the RAM can be accessed faster than the first storage means. -6, the registration process (step (8) in FIG. 7), so that even if the access speed of the storage medium storing the registration data is different, the processing time of the print information using the registration data can be reduced. Can be.

以下、図8に示すメモリマップを参照して本発明に係る印刷制御装置で読み出し可能なデータ処理プログラムの構成について説明する。   Hereinafter, the configuration of a data processing program that can be read by the print control apparatus according to the present invention will be described with reference to a memory map shown in FIG.

図8は、本発明に係る印刷制御装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。 FIG. 8 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the print control device according to the present invention.

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

さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。   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.

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

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

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

プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROM,EEPROM等を用いることができる。   As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, EEPROM, etc. Can be used.

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

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

本発明を適用可能な出力装置の構成を示す断面図である。1 is a cross-sectional view illustrating a configuration of an output device to which the present invention can be applied. 本発明の第1実施形態を示す印刷制御装置を適用可能なプリンタ制御システムの構成を説明するブロック図である。FIG. 1 is a block diagram illustrating a configuration of a printer control system to which a print control device according to a first embodiment of the present invention can be applied. 本発明に係る印刷制御装置の印刷資源情報の流れを概念的に示す模式図である。FIG. 4 is a schematic diagram conceptually showing a flow of print resource information of the print control device according to the present invention. 本発明に係る印刷制御装置の第1のデータ処理手順の一例を示すフローチャートである。5 is a flowchart illustrating an example of a first data processing procedure of the print control apparatus according to the present invention. 図2に示した残量算出部による第1のページカウント処理手順の一例を示すフローチャートである。3 is a flowchart illustrating an example of a first page count processing procedure by a remaining amount calculation unit illustrated in FIG. 2. 図2に示した残量算出部による第2のページカウント処理手順の一例を示すフローチャートである。3 is a flowchart illustrating an example of a second page count processing procedure by a remaining amount calculation unit illustrated in FIG. 2. 本発明の第2実施形態を示す印刷制御装置のデータ処理手順の一例を示すフローチャートである。9 is a flowchart illustrating an example of a data processing procedure of the print control apparatus according to the second exemplary embodiment of the present invention. 本発明に係る印刷制御装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。FIG. 4 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the print control device according to the present invention.

符号の説明Explanation of reference numerals

1−1 CPU
1−2 ROM
1−9 印刷部
1−9−A 残量検知部
1−10 残量算出部
1000 LBP本体
2000 ホストコンピュータ
2002 プリンタドライバ
2002A データ調査部
2002B データ変換部
1-1 CPU
1-2 ROM
1-9 Printing Unit 1-9-A Remaining Amount Detecting Unit 1-10 Remaining Amount Calculating Unit 1000 LBP Body 2000 Host Computer 2002 Printer Driver 2002A Data Investigation Unit 2002B Data Conversion Unit

Claims (17)

外部装置からの印刷データを入力する入力部を備え、印刷ジョブを処理する印刷制御装置であって、
前記入力部を介して入力された印刷データを解析し、印刷部によりページ単位の出力を行なわせるべく画像化されたデータにする解析手段と、
前記解析手段により解析済みのデータを含む複数の印刷ジョブに対応するデータを記憶する記憶手段と、
印刷装置に備えられた検知部により検知された第1消耗材残量と、前記記憶手段に記憶された複数の印刷ジョブに対応するデータと、に基づき第2消耗材残量を推定する推定手段と、
を有することを特徴とする印刷制御装置。
A print control device including an input unit for inputting print data from an external device and processing a print job,
Analyzing means for analyzing the print data input via the input unit and converting the print data into imaged data to be output by the printing unit in page units;
Storage means for storing data corresponding to a plurality of print jobs including data analyzed by the analysis means,
Estimating means for estimating a second consumable amount based on a first consumable amount remaining detected by a detecting unit provided in the printing apparatus and data corresponding to a plurality of print jobs stored in the storage unit. When,
A print control device comprising:
前記記憶手段に記憶された前記複数の印刷ジョブに対応するデータには、前記解析手段により解析される前のデータが含まれることを特徴とする請求項1に記載の印刷制御装置。   The print control apparatus according to claim 1, wherein the data corresponding to the plurality of print jobs stored in the storage unit includes data before being analyzed by the analysis unit. 前記入力部は、前記外部装置のプリンタドライバでアプリケーションデータに基づき印刷データを生成する際に算出された消耗材の消費予測結果を入力し、前記推定手段は入力された前記消耗材の消費予測結果と、前記画像化されたデータと、に基づき前記第2消耗材残量を推定することを特徴とする請求項1又は2に記載の印刷制御装置。   The input unit inputs a consumption prediction result of the consumable material calculated when the printer driver of the external device generates print data based on the application data, and the estimating unit inputs the consumption prediction result of the consumable material. The print control apparatus according to claim 1, wherein the second control unit estimates the remaining amount of the second consumable material based on the data and the imaged data. 前記入力部を介して入力された印刷データを前記解析手段により解析し、解析済みのデータを生成したことに応じて、前記解析済みのデータをカウントアップし、前記解析済みのデータに基づく印刷出力が行なわれることに応じて消耗材残量をカウントダウンする更新手段を有し、前記推定手段は前記更新手段の更新結果に基づき前記第2消耗材残量の推定することを特徴とする請求項1乃至3の何れかに記載の印刷制御装置。   The print data input through the input unit is analyzed by the analysis unit, and in response to generating the analyzed data, the analyzed data is counted up, and a print output based on the analyzed data is generated. And updating means for counting down the remaining amount of consumables in response to the step (b), wherein the estimating means estimates the second remaining amount of consumables based on an update result of the updating means. 4. The print control device according to any one of claims 1 to 3. 前記推定手段の推定に基づく警告を出力する警告出力手段を備えることを特徴とする請求項1乃至4の何れかに記載の印刷制御装置。   The print control apparatus according to claim 1, further comprising a warning output unit that outputs a warning based on the estimation by the estimation unit. 前記解析される前のデータはページ記述言語の印刷データであり、前記画像化されたデータは前記印刷データを解析した中間データ或いはビットマップデータであることを特徴とする請求項2乃至5の何れかに記載の印刷制御装置。   6. The data according to claim 2, wherein the data before being analyzed is print data in a page description language, and the imaged data is intermediate data or bitmap data obtained by analyzing the print data. A print control device according to any one of claims 1 to 3. 前記外部装置には、消耗材不足の対象となる印刷ジョブの出力スケジュールを変更する変更部が備えられていることを特徴とする請求項1乃至6の何れかに記載の印刷制御装置。   The print control device according to claim 1, wherein the external device includes a change unit that changes an output schedule of a print job for which a consumables shortage occurs. 前記消耗材残量は用紙の残りのページ数であることを特徴とする請求項1乃至7の何れかに記載の印刷制御装置。   8. The print control apparatus according to claim 1, wherein the consumable amount is the number of remaining pages of the sheet. 外部装置からの印刷データを入力する入力部を備え、印刷ジョブを処理する印刷制御装置における印刷制御方法であって、
前記入力部を介して入力された印刷データを解析し、印刷部によりページ単位の出力を行なわせるべく画像化されたデータにする解析ステップと、
前記解析ステップにより解析済みのデータを含む複数の印刷ジョブに対応するデータを記憶手段に記憶する記憶ステップと、
印刷装置に備えられた検知部により検知された第1消耗材残量と、前記記憶手段に記憶された複数の印刷ジョブに対応するデータと、に基づき第2消耗材残量を推定する推定ステップと、
を有することを特徴とする印刷制御方法。
A print control method in a print control device that includes an input unit that inputs print data from an external device and processes a print job,
Analyzing the print data input via the input unit, and converting the print data into image data to be output by the print unit in units of pages;
A storage step of storing data corresponding to a plurality of print jobs including data analyzed by the analysis step in a storage unit;
An estimating step of estimating the second remaining amount of consumables based on the first remaining amount of consumables detected by the detection unit provided in the printing apparatus and data corresponding to a plurality of print jobs stored in the storage unit. When,
A print control method comprising:
前記記憶手段に記憶された前記複数の印刷ジョブに対応するデータには、前記解析ステップにより解析される前のデータが含まれることを特徴とする請求項9に記載の印刷制御方法。   The print control method according to claim 9, wherein the data corresponding to the plurality of print jobs stored in the storage unit includes data before being analyzed by the analysis step. 前記入力部は、前記外部装置のプリンタドライバでアプリケーションデータに基づき印刷データを生成する際に算出された消耗材の消費予測結果を入力し、前記推定ステップは入力された前記消耗材の消費予測結果と、前記画像化されたデータと、に基づき前記第2消耗材残量を推定することを特徴とする請求項9又は10に記載の印刷制御方法。   The input unit inputs a consumable consumption estimation result calculated when generating print data based on application data with a printer driver of the external device, and the estimation step includes the input consumable consumption estimation result. The print control method according to claim 9, wherein the second remaining amount of the consumable material is estimated based on the image data. 前記入力部を介して入力された印刷データを前記解析ステップにより解析し、解析済みのデータを生成したことに応じて、前記解析済みのデータをカウントアップし、前記解析済みのデータに基づく印刷出力が行なわれることに応じて消耗材残量をカウントダウンする更新ステップを有し、前記推定ステップは前記更新手段の更新結果に基づき前記第2消耗材残量の推定することを特徴とする請求項9乃至11の何れかに記載の印刷制御方法。   The print data input via the input unit is analyzed by the analysis step, and in response to generating the analyzed data, the analyzed data is counted up, and a print output based on the analyzed data is output. 10. The method according to claim 9, further comprising an updating step of counting down the remaining amount of the consumable material in response to the execution of the step, wherein the estimating step estimates the second remaining amount of the consumable material based on an update result of the updating unit. 12. The print control method according to any one of claims 1 to 11. 前記推定ステップの推定に基づく警告を出力する警告出力ステップを備えることを特徴とする請求項9乃至12の何れかに記載の印刷制御方法。   13. The print control method according to claim 9, further comprising a warning output step of outputting a warning based on the estimation in the estimation step. 前記解析される前のデータはページ記述言語の印刷データであり、前記画像化されたデータは前記印刷データを解析した中間データ或いはビットマップデータであることを特徴とする請求項10乃至13の何れかに記載の印刷制御方法。   14. The data according to claim 10, wherein the data before being analyzed is print data in a page description language, and the imaged data is intermediate data or bitmap data obtained by analyzing the print data. The printing control method according to any one of the above. 前記外部装置には、消耗材不足の対象となる印刷ジョブの出力スケジュールを変更する変更部が備えられていることを特徴とする請求項9乃至14の何れかに記載の印刷制御方法。   The print control method according to claim 9, wherein the external device includes a change unit that changes an output schedule of a print job for which a consumables shortage occurs. 前記消耗材残量は用紙の残りのページ数であることを特徴とする請求項9乃至15の何れかに記載の印刷制御方法。   16. The print control method according to claim 9, wherein the consumable amount is the number of remaining pages of a sheet. 請求項9〜16のいずれかに記載の方法を実行させるためのプログラムを格納したことを特徴とするコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for executing the method according to claim 9.
JP2004123301A 2004-04-19 2004-04-19 Print control apparatus, print control method, and storage medium storing computer-readable program Expired - Fee Related JP3907636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004123301A JP3907636B2 (en) 2004-04-19 2004-04-19 Print control apparatus, print control method, and storage medium storing computer-readable program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004123301A JP3907636B2 (en) 2004-04-19 2004-04-19 Print control apparatus, print control method, and storage medium storing computer-readable program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP12884397A Division JP3566497B2 (en) 1997-05-19 1997-05-19 Printing system, information processing apparatus, print control method, and storage medium storing computer-readable program

Publications (2)

Publication Number Publication Date
JP2004237742A true JP2004237742A (en) 2004-08-26
JP3907636B2 JP3907636B2 (en) 2007-04-18

Family

ID=32959964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004123301A Expired - Fee Related JP3907636B2 (en) 2004-04-19 2004-04-19 Print control apparatus, print control method, and storage medium storing computer-readable program

Country Status (1)

Country Link
JP (1) JP3907636B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010036581A (en) * 2008-08-01 2010-02-18 Sharp Corp Image processing apparatus and batch job processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010036581A (en) * 2008-08-01 2010-02-18 Sharp Corp Image processing apparatus and batch job processing method
US8159707B2 (en) 2008-08-01 2012-04-17 Sharp Laboratories Of America, Inc. Method and system for unified batch job processing

Also Published As

Publication number Publication date
JP3907636B2 (en) 2007-04-18

Similar Documents

Publication Publication Date Title
US8045202B2 (en) Information processing apparatus and print device control method
US8375388B2 (en) Combining print jobs when the current and the next job are generated by a specific application and each job having one copy
JP2002200825A (en) Printer, print system, control method, storage medium and program
JP4018609B2 (en) Information processing apparatus, information processing method, information processing program, and computer-readable storage medium
US20080266601A1 (en) Information processing apparatus and job management method
JP3495893B2 (en) Print control device and print control method
JP4109821B2 (en) Information processing apparatus and job processing result confirmation method
JP3639685B2 (en) Printing apparatus and printing control method
JP2009129015A (en) Image processor, information processor, image processing method, information processing method, image processing image, and information processing system
JP2006209508A (en) Print system, its control method, and print management program
JP4174476B2 (en) Data processing apparatus, data processing method, printer driver program, print control apparatus, print control method, and printing system
JP3566497B2 (en) Printing system, information processing apparatus, print control method, and storage medium storing computer-readable program
JP2000062292A (en) Printing system, control method therefor and computer- readable recording medium
JP2006277034A (en) Distributed printing controller and method for determining candidate for receiving printer
JP3907636B2 (en) Print control apparatus, print control method, and storage medium storing computer-readable program
JP2011090599A (en) Information processing apparatus and method
JP2000099291A (en) Print controller, data processing method for the same and storage medium storing computer readable program
JP4537133B2 (en) Printer, control method, program, and storage medium
JP2001270173A (en) Printing control unit, printing control method and memory medium
JP2000029642A (en) Device, method, and system for printing, device and method for information processing, and storage medium
JP3209857B2 (en) PRINTING SYSTEM, PRINTING DEVICE, DATA DISTRIBUTION DEVICE, PRINTING SYSTEM CONTROL METHOD, PRINTING DEVICE CONTROL METHOD, AND DATA DISTRIBUTION DEVICE CONTROL METHOD
JPH1097395A (en) Print controller, print control method for printer device, and storage medium stored with computer-readable program
JP2007066093A (en) Print system and printer
JP2002287942A (en) Print control device, information processor, data processing method, and storage medium
JPH11165451A (en) Output device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060606

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060807

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070116

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110126

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120126

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130126

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140126

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees