JP2003251894A - Printer - Google Patents

Printer

Info

Publication number
JP2003251894A
JP2003251894A JP2002058084A JP2002058084A JP2003251894A JP 2003251894 A JP2003251894 A JP 2003251894A JP 2002058084 A JP2002058084 A JP 2002058084A JP 2002058084 A JP2002058084 A JP 2002058084A JP 2003251894 A JP2003251894 A JP 2003251894A
Authority
JP
Japan
Prior art keywords
interpreter
interpreters
error
printer
host
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002058084A
Other languages
Japanese (ja)
Inventor
Satoshi Miyazaki
聡 宮崎
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002058084A priority Critical patent/JP2003251894A/en
Publication of JP2003251894A publication Critical patent/JP2003251894A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the throughput of a printer from lowering as a whole when an end of sheet error occurs and an interpreter interrupts the developing operation of an image until that error is released. <P>SOLUTION: The printer capable of operating a plurality of interpreters 11 simultaneously and having a plurality of host I/F 4 or capable of processing a plurality of network sessions simultaneously is provided with a function (a system controller 6 as a function implementing means) for normally operating only one interpreter 11 at a time and actuating a next interpreter 11 when an interpreter 11 under operation is stopped upon occurrence of any type of error thus processing subsequent print job. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のインタープ
リタを同時に動作させることができ、複数のホストI/
Fを持ち、または複数のネットワークセッションを同時
に処理することのできるプリンタ装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is capable of operating a plurality of interpreters at the same time and a plurality of host I / Os.
The present invention relates to a printer device having F or capable of simultaneously processing a plurality of network sessions.

【0002】[0002]

【従来の技術】複数のインタープリタを同時に動作させ
ることができ、複数のホストI/Fを持ち、または複数
のネットワークセッションを同時に処理することのでき
るプリンタ装置に関連して、複数のインタープリタを起
動する技術は、特開2001−150738号公報、あ
るいは特開平9−95027号公報に存在する。
2. Description of the Related Art A plurality of interpreters can be operated at the same time, a plurality of host I / Fs can be operated, or a plurality of interpreters can be started in association with a printer device capable of simultaneously processing a plurality of network sessions. The technology exists in JP 2001-150738 A or JP 9-95027 A.

【0003】[0003]

【発明が解決しようとする課題】上述したように、複数
のインタープリタを起動する技術は、特開2001−1
50738号公報、あるいは特開平9−95027号公
報に存在するが、その目的は、ジョブ内の高速化(特開
2001−150738号公報)、ジョブの出力順の変
更(特開平9−95027号公報)が代表的なものであ
り、エラー発生時のスループットの向上という観点で提
案された技術は知られていない。
As described above, the technique of activating a plurality of interpreters is disclosed in Japanese Patent Laid-Open No. 2001-1.
No. 50738 or Japanese Unexamined Patent Publication No. 9-95027, the purpose is to speed up the job (Japanese Unexamined Patent Publication No. 2001-150738) and change the output order of the job (Japanese Unexamined Patent Publication No. 9-95027). ) Is a typical one, and the technology proposed from the viewpoint of improving the throughput when an error occurs is not known.

【0004】本発明は、用紙なし等のエラーが発生して
インタープリタがそのエラーが解除されるまで画像への
展開処理を停止してしまう場合に、装置全体としてのス
ループットが低下しないようにすることを第1の目的と
する。
The present invention is to prevent the throughput of the entire apparatus from decreasing when an error such as a paper outage occurs and the interpreter stops the processing for developing an image until the error is cleared. Is the first purpose.

【0005】また本発明は、動作していないインタープ
リタに使用されているメモリを開放し、メモリ不足によ
り本来発揮できるはずの速度の低下を防ぐことを第2の
目的とする。
A second object of the present invention is to release the memory used by the interpreter that is not operating so as to prevent a decrease in speed that would otherwise be possible due to insufficient memory.

【0006】また本発明は、エラー解除時の優先順位を
設定することにより、利用状況に適した動作を可能とす
ることを第3の目的とする。
A third object of the present invention is to enable the operation suitable for the usage situation by setting the priority order at the time of error cancellation.

【0007】[0007]

【課題を解決するための手段】上記第1の目的を達成す
るために、請求項1記載の発明は、複数のインタープリ
タを同時に動作させることができ、複数のホストI/F
を持ち、または複数のネットワークセッションを同時に
処理することのできるプリンタ装置において、通常は同
時に1つのインタープリタしか動作させないが、各種エ
ラーが発生し、動作中のインタープリタが停止状態にな
ったときに、次のインタープリタを起動させ、続く印刷
ジョブの処理を実行する機能を有するプリンタ装置を最
も主要な特徴とする。
In order to achieve the first object, the invention according to claim 1 can operate a plurality of interpreters at the same time, and a plurality of host I / Fs can be operated.
In a printer device that has a printer or can process multiple network sessions at the same time, normally only one interpreter operates at the same time. However, when various errors occur and the running interpreter is stopped, The most main feature is a printer device having a function of activating the interpreter and executing the processing of the subsequent print job.

【0008】また第2の目的を達成するために、請求項
2記載の発明は、複数のインタープリタを同時に動作さ
せることができ、複数のホストI/Fを持ち、または複
数のネットワークセッションを同時に処理することので
きるプリンタ装置において、次のインタープリタを起動
したときには、停止状態のインタープリタと、当該イン
タープリタが使用している画像用、作業用のメモリをメ
ディアに退避させる機能を有するプリンタ装置を最も主
要な特徴とする。
In order to achieve the second object, the invention according to claim 2 can operate a plurality of interpreters at the same time, has a plurality of host I / Fs, or simultaneously processes a plurality of network sessions. Among the printer devices that can be used, when the next interpreter is started, the printer device having the function of saving the interpreter in the stopped state and the image memory and the working memory used by the interpreter to the medium is the most important. Characterize.

【0009】また第3の目的を達成するために、請求項
3記載の発明は、請求項1記載のプリンタ装置におい
て、動作中のインタープリタが停止状態になったとき
に、次のインタープリタを起動させ、続く印刷ジョブの
処理を実行するか否か設定する機能を有するプリンタ装
置を主要な特徴とする。
In order to achieve the third object, the invention according to claim 3 is the printer apparatus according to claim 1, wherein the next interpreter is activated when the operating interpreter is in a stopped state. The main feature is a printer device having a function of setting whether or not to execute a subsequent print job process.

【0010】[0010]

【発明の実施の形態】以下、図面により本発明の実施の
形態を詳細に説明する。図1は本発明の実施の形態に係
るプリンタ装置のソフトウェア構成図である。本プリン
タ装置において、システムソフトウェアは、エンジン制
御部1、メモリ制御部2、ディスク制御部3、ホストI
/F制御部4、パネル制御部5、システムコントローラ
6、リアルタイムOS7を備える。またアプリケーショ
ン層には複数のインタープリタ11がある。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a software configuration diagram of a printer device according to an embodiment of the present invention. In the printer device, the system software includes an engine control unit 1, a memory control unit 2, a disk control unit 3, and a host I.
The / F control unit 4, the panel control unit 5, the system controller 6, and the real-time OS 7 are provided. Further, there are a plurality of interpreters 11 in the application layer.

【0011】ホストI/F制御部4から入力された受信
データは、一旦受信バッファに格納される。システムコ
ントローラ6により起動されたインタープリタ11のプ
ロセスでは然るべきAPIを通じてホストI/F制御部
4からデータを取り出し、メモリ制御部2からアロケー
トした画像用メモリに画像展開する。画像は直接、また
は一旦ディスクに格納された後に、エンジン制御部1に
渡され、エンジンのタイミングと同期してレーザ書き込
み部へDMA転送される。以上がプリンタ装置の簡略な
動作である。
The reception data input from the host I / F control unit 4 is temporarily stored in the reception buffer. The process of the interpreter 11 started by the system controller 6 takes out the data from the host I / F control unit 4 through an appropriate API and develops the image in the image memory allocated by the memory control unit 2. The image is passed to the engine control unit 1 directly or after it is once stored in the disk, and is DMA-transferred to the laser writing unit in synchronization with the timing of the engine. The above is the simple operation of the printer device.

【0012】上記動作において、インタープリタ11は
画像の展開のみを担い、エンジンが実際にその画像を印
刷する段になってからエラーを検出する場合には、エラ
ー表示を含めてシステムコントローラ6が処理を行えば
よいため、画像の展開自体はメモリまたはディスクの容
量が許す限り滞ることはない。エラーが発生しているジ
ョブのスキップ等もディスクに展開済みの画像を格納す
る方式であれば、比較的容易に実現することができる。
In the above operation, the interpreter 11 is only responsible for developing the image, and when the engine detects an error after the stage of actually printing the image, the system controller 6 including the error display processes. The image expansion itself is not delayed as long as the capacity of the memory or disk allows. Skipping a job in which an error has occurred can be relatively easily realized by a method of storing the developed image on the disk.

【0013】ところが、基本設計思想によって、画像の
展開の段で例えば給紙トレイの状態を調べ、トレイに入
っている用紙サイズで画像を展開するとか、用紙がない
場合にはエラーを表示するなどの動作を行うインタープ
リタ11も存在する。本発明の前提として、このような
動作を行うインタープリタ11を想定している。
However, according to the basic design concept, for example, the state of the paper feed tray is checked at the stage of developing the image, the image is developed with the size of the paper contained in the tray, or an error is displayed when there is no paper. There is also an interpreter 11 that performs the above operation. As an assumption of the present invention, an interpreter 11 that performs such an operation is assumed.

【0014】給紙トレイの用紙なしが発生した場合、イ
ンタープリタ11はパネル制御部5のAPIによりエラ
ー表示を行い、動作を停止する。この状態では、給紙ト
レイに用紙が入るまでの間、装置としてほぼアイドル状
態となり、スループットの低下の要因となる。通常では
次のジョブのデータはホストI/F制御部4によりビジ
ーが返り、プリンタ装置へ入力されることはない。
When there is no paper in the paper feed tray, the interpreter 11 displays an error by the API of the panel controller 5 and stops the operation. In this state, the apparatus is in an almost idle state until paper is loaded in the paper feed tray, which causes a decrease in throughput. Normally, the data of the next job is not returned to the printer device because the host I / F control unit 4 returns busy.

【0015】ホストI/F制御部4が同時に複数セッシ
ョンを受信できるようにし、各セッション毎に別々の受
信バッファ(メモリ上でもディスク上でも構わない)を
アロケートし、セッション毎に受信バッファのアドレス
や情報をインタープリタに渡す構成を考える。
The host I / F control unit 4 is made to be able to receive a plurality of sessions at the same time, and a separate reception buffer (whether on the memory or on the disk) is allocated for each session. Consider a configuration that passes information to an interpreter.

【0016】この構成にした場合、同時に複数のインタ
ープリタ11が実行可能であるが、基本的には限られた
メモリやCPU資源の中で複数のインタープリタ11が
動作するのは、無駄なタスクスイッチングが頻発するこ
とや、給排紙の制御が複雑になることも考えると得策で
はない。
With this configuration, a plurality of interpreters 11 can be executed at the same time, but basically, a plurality of interpreters 11 operating within limited memory and CPU resources is a waste of task switching. It is not a good idea considering the frequent occurrence and complicated control of paper feeding and discharging.

【0017】しかしながら、前に述べたようなインター
プリタ11の展開が停止してしまっているような状態に
おいては、次のジョブが同一の用紙なしトレイを選択す
るとも限らないため、もう1つ別のインタープリタ11
のプロセスを起動して処理をさせれば、装置全体として
は動作する可能性が非常に高くなる。
However, in the state where the expansion of the interpreter 11 is stopped as described above, the next job does not always select the same paperless tray, so another one is not selected. Interpreter 11
If the process of (1) is started and the processing is performed, the possibility that the entire device will operate becomes extremely high.

【0018】2番目に起動したインタープリタ11もエ
ラーで停止した場合、メモリやリアルタイムOS7のプ
ロセス制御が許す限り、また次のインタープリタ11を
起動して可能な限り印刷が止まらないように動作を行
う。
When the second interpreter 11 that has been activated also stops due to an error, operation is performed so that printing is not stopped as much as possible by activating the next interpreter 11 as long as the process control of the memory or the real-time OS 7 permits.

【0019】複数のインタープリタ11を起動した場
合、インタープリタ11が動作するためのメモリの消費
は避けられない。またインタープリタ11が動作中にエ
ラーで停止している場合、画像展開用や作業用にアロケ
ートしたメモリは無駄に確保されているだけと考えられ
るため、動作中のインタープリタ11に対しては速度低
下などの悪影響を及ぼす。
When a plurality of interpreters 11 are activated, consumption of memory for operating the interpreters 11 is unavoidable. Further, when the interpreter 11 is stopped due to an error during operation, it is considered that the memory allocated for image expansion and work is reserved in vain. Have an adverse effect.

【0020】よって、この場合には無駄に確保されてい
るメモリを解放することを考えたほうがよい。インター
プリタ11が通常の方法でメモリをアロケートしている
のであれば、リアルタイムOS7の機能を用いてディス
クへスワップさせる方法もあるが、画像用に使用される
メモリはメモリ制御部2が一括してアロケートし、それ
を画像用としてインタープリタ11に渡している場合も
あるため、その部分のスワップにはメモリ制御部2の関
与が必要である。
Therefore, in this case, it is better to consider releasing the memory reserved in vain. If the interpreter 11 allocates the memory by a normal method, there is a method of swapping to the disk by using the function of the real-time OS 7. However, the memory used for the image is collectively allocated by the memory control unit 2. However, since it may be passed to the interpreter 11 for an image, the memory controller 2 needs to be involved in swapping that portion.

【0021】また、必要のないときに停止しているイン
タープリタ11へプロセスのスイッチが行われること
は、ディスクアクセスが頻発し、却ってパフォーマンス
を落とす要因となるため、エラーの要因が取り除かれた
ことをシステムコントローラ6に検知させ、システムコ
ントローラ6の判断で停止しているインタープリタ11
を起動させる必要がある。
Further, the fact that the process is switched to the interpreter 11 which is stopped when it is not necessary causes frequent access to the disk and causes a decrease in the performance, so that the cause of the error is removed. The interpreter 11 which is detected by the system controller 6 and stopped by the judgment of the system controller 6
Need to start.

【0022】以上で述べたインタープリタ11の複数起
動はエラー発生時のスキップがその主目的であるが、使
用環境、利用者の好みによっては単純にエラーが発生し
たまま停止していたほうが(順番が狂うなどの弊害があ
るため)良い場合も考えられる。そのため、エラー発生
時のジョブのスキップを行わないモードを設け、利用者
に選択させることによりその弊害を回避する。
The main purpose of the multiple startups of the interpreter 11 described above is to skip when an error occurs, but depending on the environment of use and the preference of the user, it is better to simply stop with an error (in order. There may be good cases (because of the bad effects such as going crazy). Therefore, the adverse effect is avoided by providing a mode in which the job is not skipped when an error occurs and allowing the user to select it.

【0023】図2は第1の動作例のフロー図である。ス
テップ1ないしS7で、データ受信から印刷指示までの
インタープリタ11の動作を実行する。
FIG. 2 is a flow chart of the first operation example. In steps 1 to S7, the operation of the interpreter 11 from the data reception to the print instruction is executed.

【0024】図3は第2の動作例のフロー図である。ス
テップ11ないしS16で、図に示されるシステムソフ
トウェアの動作を実行する。
FIG. 3 is a flow chart of the second operation example. In steps 11 to S16, the operation of the system software shown in the figure is executed.

【0025】図4は第3の動作例のフロー図である。ス
テップ21ないしS30で、継続するインタープリタ1
1の判断から分岐し、図示の動作を実行する。
FIG. 4 is a flow chart of the third operation example. Interpreter 1 continues in steps 21 to S30
The process branches from the judgment of 1 and executes the illustrated operation.

【0026】[0026]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、インタープリタを複数起動させることによ
り、インタープリタの設計にかかわらずジョブをスキッ
プし、スループットを向上させることができる。
As described above, according to the first aspect of the present invention, by starting a plurality of interpreters, jobs can be skipped regardless of the design of the interpreters and throughput can be improved.

【0027】請求項2記載の発明によれば、メモリ使用
効率が上がり、インタープリタが複数起動しているとき
でも、スループットの低下を抑えることができる。
According to the second aspect of the present invention, the efficiency of memory use is improved, and a decrease in throughput can be suppressed even when a plurality of interpreters are running.

【0028】請求項3記載の発明によれば、ジョブのス
キップを抑制する機能を設けることにより、利用者の便
宜を図ることができる。
According to the third aspect of the present invention, by providing the function of suppressing the skip of the job, the convenience of the user can be achieved.

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

【図1】本発明の実施の形態に係るプリンタ装置のソフ
トウェア構成図である。
FIG. 1 is a software configuration diagram of a printer device according to an embodiment of the present invention.

【図2】第1の動作例のフロー図である。FIG. 2 is a flowchart of a first operation example.

【図3】第2の動作例のフロー図である。FIG. 3 is a flowchart of a second operation example.

【図4】第3の動作例のフロー図である。FIG. 4 is a flowchart of a third operation example.

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

1 エンジン制御部 2 メモリ制御部 3 ディスク制御部 4 ホストI/F制御部 5 パネル制御部 6 システムコントローラ(機能実現手段) 7 リアルタイムOS 11 インタープリタ 1 Engine control unit 2 Memory controller 3 Disk controller 4 Host I / F control unit 5 Panel control unit 6 System Controller (Function Realization Means) 7 Real-time OS 11 interpreter

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 9/46 340 G06F 9/46 340A ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) G06F 9/46 340 G06F 9/46 340A

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のインタープリタを同時に動作させ
ることができ、複数のホストI/Fを持ち、または複数
のネットワークセッションを同時に処理することのでき
るプリンタ装置において、通常は同時に1つのインター
プリタしか動作させないが、各種エラーが発生し、動作
中のインタープリタが停止状態になったときに、次のイ
ンタープリタを起動させ、続く印刷ジョブの処理を実行
する機能を有することを特徴とするプリンタ装置。
1. A printer apparatus capable of operating a plurality of interpreters at the same time, having a plurality of host I / Fs, or capable of simultaneously processing a plurality of network sessions, normally operates only one interpreter at a time. However, when various kinds of errors occur and the interpreter in operation is in a stopped state, it has a function of activating the next interpreter and executing the processing of the subsequent print job.
【請求項2】 複数のインタープリタを同時に動作させ
ることができ、複数のホストI/Fを持ち、または複数
のネットワークセッションを同時に処理することのでき
るプリンタ装置において、次のインタープリタを起動し
たときには、停止状態のインタープリタと、当該インタ
ープリタが使用している画像用、作業用のメモリをメデ
ィアに退避させる機能を有することを特徴とするプリン
タ装置。
2. A printer apparatus capable of operating a plurality of interpreters at the same time, having a plurality of host I / Fs, or capable of processing a plurality of network sessions at the same time, is stopped when the next interpreter is activated. A printer device having a state interpreter and a function of saving the image memory and the working memory used by the interpreter to a medium.
【請求項3】 請求項1記載のプリンタ装置において、
動作中のインタープリタが停止状態になったときに、次
のインタープリタを起動させ、続く印刷ジョブの処理を
実行するか否か設定する機能を有することを特徴とする
プリンタ装置。
3. The printer device according to claim 1, wherein
A printer apparatus having a function of activating a next interpreter and setting whether or not to process a subsequent print job when the interpreter in operation is stopped.
JP2002058084A 2002-03-04 2002-03-04 Printer Pending JP2003251894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002058084A JP2003251894A (en) 2002-03-04 2002-03-04 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002058084A JP2003251894A (en) 2002-03-04 2002-03-04 Printer

Publications (1)

Publication Number Publication Date
JP2003251894A true JP2003251894A (en) 2003-09-09

Family

ID=28668145

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002058084A Pending JP2003251894A (en) 2002-03-04 2002-03-04 Printer

Country Status (1)

Country Link
JP (1) JP2003251894A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8922812B2 (en) 2010-07-13 2014-12-30 Murata Machinery, Ltd. Network printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8922812B2 (en) 2010-07-13 2014-12-30 Murata Machinery, Ltd. Network printer

Similar Documents

Publication Publication Date Title
US8159709B2 (en) Method for canceling a print job submitted to a printer
JP2010250512A (en) Information processing device, control method therefor and computer program
US20070139684A1 (en) Device for dynamically varying the priority of various processing in a printer
JP4196271B2 (en) Print data processing apparatus and data processing apparatus
JP4631978B2 (en) Printer control device and printer provided with the same
JP2003251894A (en) Printer
JP2006079393A (en) Printing system and job control method therefor
JP2003246123A (en) Printer, method for loading control program, medium having load control program recorded therein, and load control program
JP3380598B2 (en) Double-sided printing control method and printing control device
JP2010173206A (en) Printer controller
JP4046892B2 (en) Printing apparatus and paper discharge control method
JP4605003B2 (en) Image processing apparatus and image processing method
JP4642428B2 (en) Printer control apparatus and printer apparatus having the same
JP2003266901A (en) Printer
JP2004341996A (en) Task control for printing processing
JP2007080165A (en) Printer
JPH09190317A (en) Printing device and printing method
JP2003211747A (en) Imaging apparatus
JP2001331293A (en) Print server
JP2007185911A (en) Printer controller and printer
JP2014050992A (en) Memory control regarding pdl processing of image formation device
JP2005190444A (en) Memory management device
JPH11227294A (en) Apparatus having staple function
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JPH0475153A (en) Multi-reception print control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041208

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070213

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070612