JPH0836473A - Printer device - Google Patents

Printer device

Info

Publication number
JPH0836473A
JPH0836473A JP6172708A JP17270894A JPH0836473A JP H0836473 A JPH0836473 A JP H0836473A JP 6172708 A JP6172708 A JP 6172708A JP 17270894 A JP17270894 A JP 17270894A JP H0836473 A JPH0836473 A JP H0836473A
Authority
JP
Japan
Prior art keywords
interface
print job
time
job
print
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
JP6172708A
Other languages
Japanese (ja)
Other versions
JP3264408B2 (en
Inventor
Takanori Masui
隆徳 益井
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP17270894A priority Critical patent/JP3264408B2/en
Publication of JPH0836473A publication Critical patent/JPH0836473A/en
Application granted granted Critical
Publication of JP3264408B2 publication Critical patent/JP3264408B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

(57)【要約】 【目的】 複数のインターフェースから平等にコネクシ
ョン開設要求を受け付けて、均一に印刷処理を実行する
プリンタ装置を提供する。 【構成】 印刷処理のタイムアウト時間をインターフェ
ースから要求される印刷ジョブ毎に設定記憶する時間設
定手段とインターフェースから要求された印刷ジョブが
タイムアウト時間後に印刷処理できなかったときこれを
拒絶する拒絶手段とインターフェースから要求された特
定の印刷ジョブに対して拒絶手段が拒絶した回数および
時間である拒絶継続回数、拒絶継続時間をそれぞれ計測
記憶する計測手段とインターフェースから要求されたそ
れぞれの印刷ジョブに対して計測手段が計測記憶した拒
絶継続回数または拒絶継続時間の大きい印刷ジョブを優
先するように印刷ジョブを実行する制御手段とを備えた
プリンタ装置。 【効果】 同じ優先順位を設定されたインターフェース
において平等にコネクション開設要求を受け入れること
ができる。
(57) [Abstract] [Purpose] To provide a printer device that uniformly receives connection opening requests from a plurality of interfaces and uniformly executes print processing. A time setting means for setting and storing a print processing time-out time for each print job requested from the interface, and a rejecting means and an interface for rejecting the print job requested from the interface when the print processing cannot be performed after the time-out time. Measuring means for measuring and storing the number of times of refusal and the duration of refusal, which is the number and time of refusal for the specific print job requested by the measuring means, and the measuring means for each print job requested from the interface. A printer apparatus comprising: a control unit that executes a print job so as to give priority to a print job having a large number of times of rejection rejection or a large rejection duration measured and stored by the printer. [Effect] Connection opening requests can be equally accepted on the interfaces to which the same priority is set.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ホストコンピュータか
ら受信した印刷データに応じて画像形成を行うプリンタ
装置に関し、特にネットワークやシリアルポート、パラ
レルポートといった複数の異なるインタフェースを有す
るプリンタ装置の印刷制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device for forming an image in accordance with print data received from a host computer, and more particularly to print control of a printer device having a plurality of different interfaces such as a network, a serial port and a parallel port. .

【0002】[0002]

【従来の技術】ホストコンピュータと通信する複数のイ
ンタフェースを備え、これらのインタフェースから要求
された印刷ジョブの競合を制御して印刷処理するプリン
タ装置が提案されている。例えば、特開平2−1133
27号公報や特開平2−225067号公報では、イン
タフェースのデータ処理の優先順位を設定記憶し、この
優先順位に従って印刷処理を行う画像形成装置あるいは
ページプリンタが開示されている。また、前記公報記載
の画像形成装置あるいはページプリンタでは、オペレー
タによる優先順位の切替えによって、特定のインタフェ
ースのデータを割り込み印刷することができる。
2. Description of the Related Art A printer apparatus has been proposed which has a plurality of interfaces for communicating with a host computer and controls the competition of print jobs requested from these interfaces to perform print processing. For example, Japanese Patent Laid-Open No. 2-1133
Japanese Patent Laid-Open No. 27-25067 and Japanese Patent Laid-Open No. 2-225067 disclose an image forming apparatus or a page printer which sets and stores the priority order of data processing of an interface and performs print processing in accordance with this priority order. Further, in the image forming apparatus or page printer described in the above publication, the data of a specific interface can be interrupt-printed by the operator switching the priority order.

【0003】インタフェースには、例えば、セントロニ
クスやRS232Cのように印刷データをハンドシェー
クでバッファ受信するもの、lpd(ラインプリンタデ
ーモン)やNetWare(ノベル社)のように印刷デ
ータがファイルデータとしてスプールされるもの、Ap
pleTalk(アップルコンピュータ社)のようにホ
ストコンピュータがプリンタ装置とコネクションを開設
して、プリンタ装置が持っているフォントなどの資源を
問い合わせながら対話的に印刷データを生成し送信して
くるものがある。印刷データがファイルデータとしてス
プールされる前記lpdやNetWareのようなイン
タフェースでは、印刷データの印刷処理の遅延が大きな
問題とならない。またセントロニクスやRS232Cの
ように印刷データをハンドシェークでバッファ受信する
インタフェースでは、受信した印刷データの印刷処理の
遅延が、ホストコンピュータのタイムアウト値よりも小
さな有限時間以内であれば遅延は問題とならない。これ
らのインタフェースにおいては遅延が問題とならないの
で、前記公報記載の画像形成装置あるいはページプリン
タの様に、インタフェースの優先順位を設定記憶し、こ
の優先順位に従ってインタフェースのデータ処理を実行
すればよい。ところが、前記AppleTalkの様に
対話的に印刷データを生成するインタフェースでは、コ
ネクションの開設後にデータ処理の実行が遅延すると、
ホストコンピュータはフォント等の資源の問い合わせ等
に対するプリンタ装置からの応答を待ち続けるので、ホ
ストコンピュータは印刷データの生成を行ってコネクシ
ョンを終了することがなかなかできない。この様に無駄
にコネクションを保持しないようにするため、コネクシ
ョンの開設は、インタフェースがホストコンピュータか
らコネクション開設要求を受けとったときデータ処理が
即時に実行可能である場合にのみ行う必要がある。 画
像形成装置あるいはページプリンタにおいて、Appl
eTalkの様な対話型のインタフェースを割り込みイ
ンタフェースとして設定し、コネクション開設後に割り
込みデータ処理を行えば即時にデータ処理を行うことが
できる。しかしながら、以上のような先行技術に記載の
画像形成装置あるいはページプリンタでは、割り込みイ
ンタフェースを1つしか設定できないために、データ処
理の即時実行が必要な対話型インタフェースを複数持つ
ことはできない。仮に割り込みインタフェースとして複
数のインタフェースを設定しても、割り込みデータ処理
が競合して、一方のデータ処理が中断されてしまう。ま
た、ホストコンピュータが、コネクションが開設される
までコネクション開設要求を一定時間間隔で送信して来
ることを利用して、コネクション開設要求を受信した場
合には印刷ジョブ要求をある優先順位で待ち行列に登録
し、データ処理の即時実行判定時間の間に実行可能にな
らなければ前記待ち行列から印刷ジョブ要求を削除して
コネクション要求を拒否することにより対応することも
できるが、同じ優先順位で印刷ジョブを待ち行列に登録
する場合、データ処理の即時実行判定時間が同じであれ
ば待ち行列登録の順序またはタイミングに応じてインタ
フェースのデータ処理成功率が不均一になってしまう。
また、データ処理の即時実行判定時間が異なる場合はこ
の判定時間に応じて、インタフェースのデータ処理成功
率すなわちコネクション開設成功率が不均一になってし
まう。
The interface, for example, such as Centronics or RS232C, which receives the print data by handshake, receives the print data as spooled file data such as lpd (line printer daemon) or NetWare (Novell). , Ap
In some cases, such as pleTalk (Apple Computer), a host computer opens a connection with a printer device and interactively generates and transmits print data while inquiring about resources such as fonts possessed by the printer device. In an interface such as lpd or NetWare in which print data is spooled as file data, delay in print processing of print data does not cause a big problem. In an interface such as Centronics or RS232C that receives print data by handshake as a buffer, the delay does not pose a problem if the delay in the print processing of the received print data is within a finite time smaller than the timeout value of the host computer. Since delay does not become a problem in these interfaces, it is sufficient to set and store the priority order of the interface and execute the data processing of the interface in accordance with this priority order like the image forming apparatus or the page printer described in the above publication. However, in the interface such as AppleTalk that interactively generates print data, if the execution of data processing is delayed after the connection is established,
Since the host computer continues to wait for a response from the printer device to the inquiry about resources such as fonts, it is difficult for the host computer to generate print data and terminate the connection. In order to prevent the connection from being unnecessarily held in this way, it is necessary to open the connection only when data processing can be executed immediately when the interface receives a connection opening request from the host computer. In an image forming apparatus or page printer, Appl
If an interactive interface such as eTalk is set as an interrupt interface and interrupt data processing is performed after the connection is established, data processing can be performed immediately. However, in the image forming apparatus or page printer described in the above-mentioned prior art, since only one interrupt interface can be set, it is impossible to have a plurality of interactive interfaces that require immediate execution of data processing. Even if a plurality of interfaces are set as the interrupt interfaces, one of the data processes is interrupted due to conflicting interrupt data processes. When the host computer receives the connection opening request, it uses the fact that the host computer sends the connection opening request at regular time intervals until the connection is opened. It is possible to respond by registering and rejecting the connection request by deleting the print job request from the queue if it cannot be executed within the immediate execution determination time of the data processing, but the print job is given the same priority. , The data processing success rate of the interface becomes non-uniform depending on the order or timing of queue registration if the immediate execution determination times of data processing are the same.
Also, if the immediate execution determination times of the data processing are different, the data processing success rate of the interface, that is, the connection establishment success rate becomes non-uniform according to this determination time.

【0004】[0004]

【発明が解決しようとする課題】本発明は上記問題点に
鑑み、対話型でデータ処理の即時実行が必要となるイン
タフェースを複数持つ場合に、同じ優先順位を設定され
たこれらインタフェースにおいて平等にコネクション開
設要求を受け付けて、均一に印刷処理を実行するプリン
タ装置を提供することを目的とする。
In view of the above problem, the present invention has an equal connection among these interfaces having the same priority when there are a plurality of interfaces which require interactive execution of immediate data processing. An object of the present invention is to provide a printer device that receives an opening request and uniformly executes a printing process.

【0005】[0005]

【課題を解決するための手段】本発明は、ホスト装置と
通信を行う複数のインタフェースを備え、優先順位を設
定された前記インタフェースから要求された印刷ジョブ
を、優先順位に従って順次印刷処理するプリンタ装置に
おいて、印刷処理のタイムアウト時間Tをインタフェー
スから要求される印刷ジョブごとに設定記憶する時間設
定手段と、インタフェースから要求された印刷ジョブが
タイムアウト時間T後に印刷処理を実行できなかったと
きこれを拒絶する拒絶手段と、インタフェースから要求
された特定の印刷ジョブに対して拒絶手段が拒絶した回
数および時間である拒絶継続回数、拒絶継続時間を計測
記憶する計測手段と、インタフェースから要求されたそ
れぞれの印刷ジョブに対して計測手段が計測記憶した拒
絶継続回数または拒絶継続時間の大きい印刷ジョブを優
先するように印刷ジョブを実行する制御手段とを備えた
プリンタ装置である。また、上記の制御手段が、インタ
フェースから要求された印刷ジョブに対して前記計測手
段が計測記憶した計測値に応じて、印刷ジョブの待ち行
列の登録順序を並べかえる手段を有するプリンタ装置で
ある。さらに、上記の制御手段が、インタフェースから
要求された印刷ジョブに対して前記計測手段が計測記憶
した計測値が大きい方の印刷ジョブを待ち行列に登録
し、計測値が小さい方の印刷ジョブの登録を待ち行列か
ら削除するプリンタ装置である。
According to the present invention, there is provided a printer device having a plurality of interfaces for communicating with a host device, which sequentially prints print jobs requested from the interfaces having the priorities set. In the above, the time setting means for setting and storing the print processing time-out time T for each print job requested from the interface, and rejecting the print job requested from the interface when the print processing cannot be executed after the time-out time T Rejecting means, measuring means for measuring and storing the number of times and the number of times that the rejecting means rejected a specific print job requested from the interface, and the rejection duration, and each print job requested from the interface. Or the number of times refusal has been continued A printer and control means for executing a print job to favor large print job of absolute duration. Further, the control unit is a printer device having a unit for rearranging the registration order of the print job queue according to the measured value measured and stored by the measuring unit for the print job requested from the interface. Further, the control means registers, in the queue, a print job having a larger measured value measured and stored by the measuring means for a print job requested from the interface, and a print job having a smaller measured value is registered. Is a printer device that deletes from the queue.

【0006】[0006]

【作用】この発明によるプリンタ装置は、インタフェー
スから印刷ジョブが要求されてから時間設定記憶手段に
より設定記憶されたタイムアウト時間T後に印刷処理を
実行できなかったとき拒絶手段がこれを拒絶し、この特
定の印刷ジョブに対する拒絶回数又は拒絶継続時間を計
測手段が計測記憶して、この拒絶回数又は拒絶継続時間
の大きい方の印刷ジョブを優先するように制御手段が制
御するので、対話型でデータ処理の即時実行が必要とな
るインタフェースを複数持つ場合でも、同じ優先順位を
設定されたこれらインタフェースにおいて平等にコネク
ション開設要求を受け付けて、インタフェース間で均一
に印刷処理を実行することができる。
In the printer apparatus according to the present invention, when the print processing cannot be executed after the time-out time T set and stored by the time setting storage means after the print job is requested from the interface, the reject means rejects the print processing, and this identification is performed. The measurement means measures and stores the number of rejections or the duration of rejection for the print job of, and the control means controls to give priority to the print job with the greater number of rejections or the duration of rejection. Even if there are a plurality of interfaces that require immediate execution, it is possible to equally receive connection opening requests at these interfaces to which the same priority is set, and perform print processing uniformly among the interfaces.

【0007】[0007]

【実施例】以下、本発明の実施例を図面を用いて具体的
に説明する。図1は、この発明のプリンタ装置の構成を
示すブロック図である。ホストコンピュータ23〜27
はインタフェース2〜4を介してプリンタ装置と通信を
行う。インタフェースに対応して、印刷ジョブ管理部5
〜7がインタフェースの通信データを印刷ジョブ単位で
管理し、優先順位設定部8〜10がこの印刷ジョブ毎に
優先順位を設定する。また時間設定部11〜13により
印刷ジョブ毎の拒絶判定タイムアウト時間Tを設定す
る。計測部14〜16は、インタフェースが要求した印
刷ジョブが継続して拒絶された回数又は時間を計測す
る。インタフェースから印刷ジョブが要求されると制御
部18が、設定された優先順位に従って受付順に待ち行
列19にジョブ要求を登録する。タイマ部17は、ジョ
ブ要求が待ち行列19に登録されてからタイマにより時
間計測を行い、拒絶判定タイムアウト時間Tになってタ
イマが作動した場合はこれを制御部18に伝える。制御
部18は、計測部14〜16が計測した拒絶継続回数ま
たは拒絶継続時間に応じて待ち行列19のジョブ登録の
順序の変更あるいは削除を行う。またタイマ部が時間の
計測を作動したジョブが、印刷処理実行されずに待ち行
列部19に残っていた場合は、制御部18がこのジョブ
を拒絶して待ち行列部19から取り除き、拒絶したこと
を計測部14〜16に通知する。印刷処理制御部20
は、印刷処理が実行可能となった時、待ち行列部19に
登録されているジョブ要求を先頭から取り出し、データ
を解読して画像を生成するデコーダ21と、その画像形
成を行う印字部22を制御して、このジョブの印刷処理
を実行する。
Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the printer device of the present invention. Host computers 23-27
Communicates with the printer device via interfaces 2-4. The print job management unit 5 corresponding to the interface
7 to 7 manage the communication data of the interface for each print job, and the priority order setting units 8 to 10 set the priority order for each print job. Further, the time setting units 11 to 13 set the rejection judgment timeout time T for each print job. The measuring units 14 to 16 measure the number of times or the time when the print job requested by the interface is continuously rejected. When a print job is requested from the interface, the control unit 18 registers the job request in the queue 19 in the order of reception according to the set priority. The timer unit 17 measures the time by the timer after the job request is registered in the queue 19, and notifies the control unit 18 of the rejection judgment timeout time T when the timer operates. The control unit 18 changes or deletes the order of job registration in the queue 19 according to the number of refusal continuations or the refusal continuation time measured by the measurement units 14 to 16. Further, if the job for which the timer unit has activated the time measurement remains in the queue unit 19 without the print processing being executed, the control unit 18 rejects the job, removes it from the queue unit 19, and rejects it. To the measurement units 14 to 16. Print processing control unit 20
When a print process becomes executable, a decoder 21 that takes out a job request registered in the queue unit 19 from the beginning, decodes the data to generate an image, and a printing unit 22 that forms the image is provided. It controls to execute the print processing of this job.

【0008】次に、インタフェース2〜4のジョブ要求
の動作について説明する。各インタフェース2〜4にお
いては、通信プロトコルによって印刷ジョブの単位が異
なっている。例えばインタフェースがRS−232Cや
セントロニクスの場合は、ファイルとして印刷ジョブが
区切られていないので、ホストコンピュータから最初に
データを受信してからある単位時間データが受信されな
いことをタイムアウトとして検知し、タイムアウトされ
るまで受信したデータを印刷ジョブと扱う。またインタ
フェースがlpdやNetWareの場合は、データフ
ァイルが1つの印刷ジョブの単位になっている。インタ
フェースがAppleTalkの場合は、コネクション
の開設からコネクションの終了までが印刷ジョブ単位で
ある。印刷ジョブ管理部5〜7が、ジョブの始め及びジ
ョブの終わりを検知して、インタフェースに受信したデ
ータをジョブ単位に分けて管理する。例えばRS−23
2Cやセントロニクスでは最初の1バイトのデータを受
信したときにジョブ要求を行う。またlpd、NetW
are、AppleTalkでは、プロトコルで規制さ
れたジョブ要求データを受信した場合にジョブ要求を行
う。
Next, a job request operation of the interfaces 2 to 4 will be described. In each of the interfaces 2 to 4, the unit of print job differs depending on the communication protocol. For example, if the interface is RS-232C or Centronics, the print jobs are not divided as files, so it is detected that a unit time of data has not been received after the first reception of data from the host computer, and it is timed out. The received data is treated as a print job. When the interface is lpd or NetWare, the data file is a unit of one print job. When the interface is AppleTalk, the process from the opening of the connection to the end of the connection is in print job units. The print job management units 5 to 7 detect the start of the job and the end of the job, and manage the data received by the interface in units of jobs. For example RS-23
In 2C and Centronics, a job request is made when the first 1-byte data is received. See also lpd, NetW
The are and AppleTalk request a job when job request data regulated by the protocol is received.

【0009】また、図2は、本発明のプリンタ装置のハ
ードの構成の一例を説明する図である。ホストコンピュ
ータ23〜27に接続された機能の異なるインタフェー
ス2〜4を有しており、CPU31は、制御手段が格納
されたROM32の指示に基づき、プリンタ装置1を制
御する装置であり、RAM33は、CPUの動作用のメ
モリ、待ち行列部用のメモリ等を構成している。操作部
34は、プリンタ装置1に対して各種の設定、指示を行
う部分である。タイマ35は、印刷ジョブが要求されて
から待ち行列に登録されるまでの時間を計測する機能を
有し、デコーダ21は、印刷処理が実行可能となったと
きに、送られてきた印刷データから画像を形成する装置
であり、印字部22は印刷処理を実行する装置である。
FIG. 2 is a diagram for explaining an example of the hardware configuration of the printer device of the present invention. It has interfaces 2 to 4 with different functions connected to the host computers 23 to 27, the CPU 31 is a device for controlling the printer device 1 based on the instruction of the ROM 32 in which the control means is stored, and the RAM 33 is It constitutes a memory for the operation of the CPU, a memory for the queue, and the like. The operation unit 34 is a unit for performing various settings and instructions to the printer device 1. The timer 35 has a function of measuring the time from when a print job is requested until it is registered in the queue, and the decoder 21 determines from the print data sent when the print processing becomes executable. The printing unit 22 is a device that forms an image, and is a device that executes a printing process.

【0010】ジョブ要求は、図3に示すようなデータを
伴って、待ち行列を制御する制御部18にメッセージが
送られる。図中、メッセージID100はメッセージの
内容を識別するためのものであり、この場合、ジョブ要
求のメッセージ識別番号である。また、インタフェース
識別番号101は、ジョブ要求を行ったインタフェース
の識別番号を示す。また、インタフェースジョブ識別番
号102は、各インタフェースが要求したジョブを区別
するためのインタフェース固有のジョブ識別番号であ
り、制御部18からジョブが拒絶された場合、そのジョ
ブ要求拒絶メッセージ内のインタフェースジョブ識別番
号102をもとに、インタフェースはインタフェース内
のジョブ管理を行う。
The job request is accompanied by data as shown in FIG. 3, and a message is sent to the control unit 18 which controls the queue. In the figure, the message ID 100 is for identifying the content of the message, and in this case, it is the message identification number of the job request. Also, the interface identification number 101 indicates the identification number of the interface that has issued the job request. Further, the interface job identification number 102 is an interface-specific job identification number for distinguishing the job requested by each interface, and when the job is rejected by the control unit 18, the interface job identification number in the job request rejection message. Based on the number 102, the interface manages jobs within the interface.

【0011】優先順位103は、優先順位設定部8〜1
0により設定されたジョブの優先順位である。優先順位
設定部8〜10は、インタフェース2〜4のプロトコル
によってホストから優先順位が設定されてきた場合はそ
の優先順位をそのジョブに設定するが、それ以外の場合
はインタフェース2〜4に予め設定されている優先順位
をそのジョブに設定する。タイムアウト時間104は、
時間設定部11〜13により設定されたジョブの拒絶判
定のためのタイムアウト時間であり、秒単位で指定す
る。ここにおいて、値が0秒の場合は無限時間として定
義されており、たとえばlpdやNetWareにおい
ては値が0秒に設定される。またRS232Cやセント
ロニクスにおいては、値が0秒もしくはホストコンピュ
ータのタイムアウト時間に対応した値が設定される。ま
たインタフェースがAppleTalkの場合2秒に設
定される。拒絶継続パラメータ105には、計測部14
〜16が計測記憶しているインタフェースにおけるジョ
ブ要求の継続拒絶回数または継続拒絶時間がセットされ
る。
The priority order 103 is the priority order setting section 8-1.
The job priority is set by 0. The priority order setting units 8-10 set the priority order for the job when the priority order is set by the host according to the protocol of the interfaces 2-4, but otherwise set it in the interfaces 2-4 in advance. The assigned priority to the job. The timeout time 104 is
It is a time-out time for job rejection determination set by the time setting units 11 to 13, and is specified in seconds. Here, when the value is 0 seconds, it is defined as infinite time. For example, in lpd and NetWare, the value is set to 0 seconds. In the RS232C and Centronics, the value is set to 0 second or a value corresponding to the timeout time of the host computer. When the interface is AppleTalk, it is set to 2 seconds. The rejection continuation parameter 105 includes the measurement unit 14
The number of times of continuous refusal of job requests or the continuous refusal time is set in the interfaces that are measured and stored by 16 to 16.

【0012】次に、制御部18の動作を図4のフローチ
ャートに従って説明する。制御部18は、S1において
メッセージ受信待ち状態にありメッセージを受信すると
S2に進む。S2は受信したメッセージのメッセージI
Dからそれがジョブ要求メッセージであることを識別す
る。S2にて受信メッセージがジョブ要求メッセージで
あることが判明すると、S3にてジョブ要求メッセージ
のタイムアウト時間104の値が0であるかどうかを調
べる。タイムアウト時間104の値0は無限時間を示す
ので値0の場合は、タイマ部17のタイマを起動せずに
S6に進みそのジョブ要求を待ち行列部19に登録す
る。タイムアウト時間104が値0でない場合、S4に
進みタイマ部17のタイマをタイムアウト時間104の
値で起動する。このとき、起動されたタイマ部17のタ
イマの識別番号がタイマ部から返されるのでこのタイマ
IDを獲得する。タイマID=0は、起動タイマが無い
ことを意味しており、前記S3にてタイムアウト時間1
04が値が0であった場合は、タイマID=0となる。
S6では、ジョブ要求を待ち行列部19に登録する。こ
のとき、制御部18は、登録するジョブ要求に対してジ
ョブ管理番号を登録順に計測するように割り振る。
Next, the operation of the control unit 18 will be described with reference to the flowchart of FIG. The control unit 18 is in a message reception waiting state in S1, and if a message is received, the process proceeds to S2. S2 is the message I of the received message
Identify from D that it is a job request message. When it is determined that the received message is the job request message in S2, it is checked in S3 whether the value of the timeout time 104 of the job request message is 0. Since the value 0 of the timeout time 104 indicates an infinite time, if the value is 0, the timer of the timer unit 17 is not started and the process proceeds to S6 to register the job request in the queue unit 19. If the timeout time 104 is not 0, the process proceeds to S4 and the timer of the timer unit 17 is started with the value of the timeout time 104. At this time, since the identification number of the timer of the activated timer unit 17 is returned from the timer unit, this timer ID is acquired. Timer ID = 0 means that there is no start-up timer, and the timeout time 1 is set in S3.
When the value of 04 is 0, the timer ID = 0.
In S6, the job request is registered in the queue unit 19. At this time, the control unit 18 allocates the job management numbers to the registration job requests so as to measure the registration order.

【0013】ジョブ要求は、図5に示すように優先順位
の値(1〜15)が小さい順に、待ち行列部19に登録
される。待ち行列のジョブ要求登録モデルを図5に示
す。ここで、受付時間はジョブ要求を登録した時刻であ
りプリンタ装置内の時刻である。次のS7は、同じ優先
順の待ち行列において、拒絶継続パラメータ104の値
に従って、ジョブ要求の待ち行列での登録順序を並べ換
えるステップである。例えば、待ち行列モデル300の
様にジョブ要求204が新たに登録されたる(S6)。
しかしながら、ジョブ要求204の拒絶継続パラメータ
の方がジョブ要求202のものより大きいので、待ち行
列モデル301の様に、ジョブ要求204がジョブ要求
202よりも先になるように並べ換える(S7)。また
別の動作として、S7において、拒絶継続パラメータの
小さい方を削除することもできる。この場合、新たなジ
ョブ要求204(ジョブ管理番号=4)は、同じ優先順
位であるジョブ要求202の拒絶継続パラメータよりも
大きい拒絶継続パラメータを持つので拒絶継続パラメー
タが小さい方のジョブ要求202を削除して、待ち行列
モデル302の様にすることもできる。なお、S7終了
後はS1に戻る。S8は、受信メッセージがジョブ要求
削除メッセージであるかを識別するステップであり、ジ
ョブ要求削除メッセージであればS9に、そうでなけれ
ばS1に進む。
As shown in FIG. 5, job requests are registered in the queue unit 19 in ascending order of priority values (1 to 15). The queued job request registration model is shown in FIG. Here, the reception time is the time when the job request is registered and is the time within the printer device. The next step S7 is a step of rearranging the registration order of the job request in the queue according to the value of the rejection continuation parameter 104 in the queue of the same priority order. For example, the job request 204 is newly registered like the queue model 300 (S6).
However, since the rejection continuation parameter of the job request 204 is larger than that of the job request 202, the job request 204 is rearranged so as to come before the job request 202 as in the queue model 301 (S7). As another operation, the smaller rejection continuation parameter may be deleted in S7. In this case, since the new job request 204 (job management number = 4) has a rejection continuation parameter larger than the rejection continuation parameter of the job request 202 having the same priority, the job request 202 with the smaller rejection continuation parameter is deleted. Then, the queue model 302 can be used. After S7 ends, the process returns to S1. Step S8 is a step of identifying whether the received message is a job request deletion message. If the message is a job request deletion message, the process proceeds to S9, and if not, the process proceeds to S1.

【0014】タイマ部17のタイマが動作すると、図6
に示すジョブ要求削除メッセージを制御部18に送信す
る。S9はジョブ要求削除メッセージのタイマID40
1から、そのタイマIDを持つジョブ要求を待ち行列1
9から削除する。S10では、削除したジョブ要求を発
行したインタフェースに対して、図7に示すようなジョ
ブ要求拒絶メッセージを発行する。計測部14〜16
は、このジョブ要求拒絶メッセージによって、拒絶され
たジョブ要求の拒絶継続回数または拒絶継続時間を計測
する。タイマ部17は、制御部18により起動されたタ
イマに一意的なタイマIDを割り振り、これを制御部に
返す。起動されたタイマが動作すると、図6に示す様な
ジョブ要求削除メッセージを制御部18に送信する。
When the timer of the timer section 17 is operated, as shown in FIG.
The job request deletion message shown in is transmitted to the control unit 18. S9 is the timer ID 40 of the job request deletion message
Queue 1 for job requests with that timer ID from 1
Delete from 9. In S10, a job request rejection message as shown in FIG. 7 is issued to the interface that issued the deleted job request. Measuring unit 14-16
Measures the rejection continuation frequency or rejection continuation time of the rejected job request by this job request rejection message. The timer unit 17 allocates a unique timer ID to the timer activated by the control unit 18, and returns this to the control unit. When the activated timer operates, a job request deletion message as shown in FIG. 6 is transmitted to the control unit 18.

【0015】印刷処理制御部20は、印刷ジョブの印刷
処理が可能になると、デコーダ21及び印字部22を制
御し、待ち行列部19の先頭に登録されたジョブ要求に
関するジョブの印刷処理を実行する。またこのとき、待
ち行列部19に登録されたジョブ要求のインタフェース
識別番号のインタフェースをデコーダ21に接続する。
When the print processing of the print job becomes possible, the print processing control section 20 controls the decoder 21 and the printing section 22 to execute the print processing of the job related to the job request registered at the head of the queue section 19. . At this time, the interface of the job request interface identification number registered in the queue unit 19 is connected to the decoder 21.

【0016】本発明の実施例では、ジョブ要求の拒絶継
続回数または拒絶継続時間を計測部14〜16が計測記
憶したが、プロトコルでホストコンピュータの印刷要求
待ち時間が分かる場合には、前記拒絶継続時間をこのホ
ストコンピュータの印刷要求待ち時間で代用することも
可能である。
In the embodiment of the present invention, the measuring units 14 to 16 measure and store the number of times of refusal continuation or the duration of refusal of a job request. It is also possible to substitute the print request waiting time of this host computer for the time.

【0017】[0017]

【発明の効果】このように、本発明のプリンタ装置は、
対話型でデータ処理の即時実行が必要となるインタフェ
ースを複数持つ場合でも、同じ優先順位を設定されたこ
れらインタフェースにおいて平等にコネクション開設要
求を受け付けて、インタフェース間で均一に印刷処理を
実行することができる。
As described above, the printer device of the present invention is
Even if you have multiple interfaces that require interactive execution of data processing immediately, you can receive connection opening requests evenly among those interfaces that have the same priority and execute print processing evenly between the interfaces. it can.

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

【図1】 本発明のプリンタ装置の構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of a printer device of the present invention.

【図2】 本発明のプリンタ装置のハード構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing a hardware configuration of a printer device of the present invention.

【図3】 ジョブ要求メッセージの構成を説明する図で
ある。
FIG. 3 is a diagram illustrating a configuration of a job request message.

【図4】 制御部の動作を説明するフローチャートであ
る。
FIG. 4 is a flowchart illustrating an operation of a control unit.

【図5】 待ち行列におけるジョブ要求の登録状態を説
明する図である。
FIG. 5 is a diagram illustrating a registration state of job requests in a queue.

【図6】 ジョブ要求拒絶メッセージの構成を説明する
図である。
FIG. 6 is a diagram illustrating a configuration of a job request rejection message.

【図7】 ジョブ要求拒絶メッセージの構成を説明する
図である。
FIG. 7 is a diagram illustrating a configuration of a job request rejection message.

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

1…プリンタ装置、2〜4…インタフェース、5〜7…
印10…優先順位設定部、11〜13…時間設定部、1
4〜16…計測部、17…タイマ部、18…制御部、1
9…待ち行列、20…印刷処理制御部、21…デコー
ダ、22…印字部、23〜27…ホストコンピュータ、
31…CPU、32…ROM、33…RAM、34…操
作部、35…タイマ
1 ... Printer device, 2-4 ... Interface, 5-7 ...
Mark 10 ... Priority setting part, 11-13 ... Time setting part, 1
4 to 16 ... Measuring unit, 17 ... Timer unit, 18 ... Control unit, 1
9 ... Queue, 20 ... Print processing control section, 21 ... Decoder, 22 ... Printing section, 23-27 ... Host computer,
31 ... CPU, 32 ... ROM, 33 ... RAM, 34 ... Operating unit, 35 ... Timer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ホスト装置と通信を行う複数のインタフ
ェースを備え、優先順位を設定された前記インタフェー
スから要求された印刷ジョブを、優先順位に従って順次
印刷処理するプリンタ装置において、 印刷処理のタイムアウト時間Tをインタフェースから要
求される印刷ジョブごとに設定記憶する時間設定手段
と、 インタフェースから要求された印刷ジョブがタイムアウ
ト時間T後に印刷処理を実行できなかったときこれを拒
絶する拒絶手段と、 インタフェースから要求された特定の印刷ジョブに対し
て拒絶手段が拒絶した回数および時間である拒絶継続回
数、拒絶継続時間をそれぞれ計測記憶する計測手段と、 インタフェースから要求されたそれぞれの印刷ジョブに
対して計測手段が計測記憶した拒絶継続回数または拒絶
継続時間の大きい印刷ジョブを優先するように印刷ジョ
ブを実行する制御手段と、を備えたことを特徴とするプ
リンタ装置。
1. A printer device, comprising a plurality of interfaces for communicating with a host device, wherein a print job requested from the interface set with a priority order is sequentially printed in accordance with the priority order. Is set and stored for each print job requested from the interface, rejection means for rejecting the print job requested from the interface when the print job cannot be executed after the time-out time T, and requesting from the interface. The measuring means measures and stores the number of times the rejection means rejected the specific print job and the duration of rejection, which is the time, and the duration of rejection, and the measurement means measured each print job requested from the interface. Of the number of times refusal continued Printer apparatus characterized by comprising: a control means for executing a print job to favor listening print job, the.
JP17270894A 1994-07-25 1994-07-25 Printer device Expired - Fee Related JP3264408B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17270894A JP3264408B2 (en) 1994-07-25 1994-07-25 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17270894A JP3264408B2 (en) 1994-07-25 1994-07-25 Printer device

Publications (2)

Publication Number Publication Date
JPH0836473A true JPH0836473A (en) 1996-02-06
JP3264408B2 JP3264408B2 (en) 2002-03-11

Family

ID=15946874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17270894A Expired - Fee Related JP3264408B2 (en) 1994-07-25 1994-07-25 Printer device

Country Status (1)

Country Link
JP (1) JP3264408B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012215971A (en) * 2011-03-31 2012-11-08 Canon Inc Image processor, data processing method of image processor, and program
CN104932934A (en) * 2014-03-19 2015-09-23 富士施乐株式会社 Information processing device and information processing method
CN104935766A (en) * 2014-03-20 2015-09-23 富士施乐株式会社 Control device, information processing device and system, client device and control method
JP2016005911A (en) * 2015-07-08 2016-01-14 キヤノン株式会社 Image processing apparatus, data processing method of image processing apparatus, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012215971A (en) * 2011-03-31 2012-11-08 Canon Inc Image processor, data processing method of image processor, and program
CN104932934A (en) * 2014-03-19 2015-09-23 富士施乐株式会社 Information processing device and information processing method
US9552180B2 (en) 2014-03-19 2017-01-24 Fuji Xerox Co., Ltd. Information processing device, method and non-transitory computer-readable medium for selecting communication interface on basis of number of times communication interface request rejected
CN104932934B (en) * 2014-03-19 2018-12-28 富士施乐株式会社 Information processing unit and information processing method
CN104935766A (en) * 2014-03-20 2015-09-23 富士施乐株式会社 Control device, information processing device and system, client device and control method
US20150268899A1 (en) * 2014-03-20 2015-09-24 Fuji Xerox Co., Ltd. Control apparatus, information processing apparatus, and information processing system
JP2016005911A (en) * 2015-07-08 2016-01-14 キヤノン株式会社 Image processing apparatus, data processing method of image processing apparatus, and program

Also Published As

Publication number Publication date
JP3264408B2 (en) 2002-03-11

Similar Documents

Publication Publication Date Title
CN102147718A (en) Print job management device, print job management method, and image forming device
US7973958B2 (en) Image forming apparatus conducting an interpretation operation
US20050179944A1 (en) Printing device
JP3264408B2 (en) Printer device
JPH06139031A (en) Printer controller
JP3261233B2 (en) Printing apparatus and processing method
US8072628B2 (en) Printing apparatus, network device, printing control method, and printing control program capable of transmitting print image data to printing hardware prior to registration of print job
JP4062564B2 (en) Image forming apparatus and image data reception control method thereof
JP3022104B2 (en) Printer device
JPH09190317A (en) Printing apparatus and printing method
JP3277724B2 (en) Facsimile machine
JP3017091B2 (en) Print server and its print job control method
JP3289547B2 (en) Print processing apparatus and print processing method
JPH11232060A (en) Print job management method
JP2003285507A (en) Printer
JPH08111735A (en) Fax machine
JP3608513B2 (en) Network printer apparatus and network printing method
JPH08111727A (en) Fax machine
JP2004287792A (en) Printing control device
JP4761453B2 (en) Printing apparatus and printing control method
JP2024018219A (en) image forming system
JPH10111770A (en) Printing control device
JPH02120928A (en) Printer output control system
JPH0675724A (en) Print control device
JPH0561617A (en) Print control method

Legal Events

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

Free format text: PAYMENT UNTIL: 20071228

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081228

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091228

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111228

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees