JP5062750B2 - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP5062750B2
JP5062750B2 JP2008003798A JP2008003798A JP5062750B2 JP 5062750 B2 JP5062750 B2 JP 5062750B2 JP 2008003798 A JP2008003798 A JP 2008003798A JP 2008003798 A JP2008003798 A JP 2008003798A JP 5062750 B2 JP5062750 B2 JP 5062750B2
Authority
JP
Japan
Prior art keywords
print data
buffer
interrupt
data
image forming
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.)
Active
Application number
JP2008003798A
Other languages
Japanese (ja)
Other versions
JP2008221831A (en
Inventor
一真 斎藤
健 藤田
英明 松井
大介 岡田
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 JP2008003798A priority Critical patent/JP5062750B2/en
Priority to US12/030,508 priority patent/US8643854B2/en
Publication of JP2008221831A publication Critical patent/JP2008221831A/en
Application granted granted Critical
Publication of JP5062750B2 publication Critical patent/JP5062750B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明は、画像形成装置に関し、特に、ネットワーク接続された割込印刷可能な画像形成装置に関する。 The present invention relates to an image forming equipment, particularly relates to a networked interrupt printable image forming equipment.

従来のネットワークプリンタでは、ネットワークに接続された多くのホストコンピュータ(以下、ホストと言う)で、ネットワークプリンタを共同使用している。この場合、1台のネットワークプリンタに対して、複数のホストが次々と印刷要求を行うことがある。そのとき、1つの印刷処理が終了するまで長時間を要すると、後の印刷処理を効率良く行うことができない。そこで、優先度の高い印刷要求については、印刷処理中に割込印刷を行うことによって、ユーザの待ち時間を減らす方法が採られている。割込印刷では、印刷データを一時的に退避するための退避用バッファを用意する。割込印刷の要求があると、退避用バッファに一旦印刷データを保存する。割込印刷のデータを、受信バッファに格納して印刷する。割込印刷が終った後に、退避用バッファから印刷データを読み出して、印刷を再開する。以下に、これに関連する従来技術の例を、いくつかあげる。   In a conventional network printer, a network printer is shared by many host computers (hereinafter referred to as hosts) connected to the network. In this case, a plurality of hosts may sequentially issue print requests to one network printer. At that time, if it takes a long time to complete one printing process, the subsequent printing process cannot be performed efficiently. Therefore, for a print request having a high priority, a method of reducing the waiting time of the user by performing interrupt printing during the printing process is employed. In interrupt printing, a save buffer for temporarily saving print data is prepared. When there is a request for interrupt printing, the print data is temporarily saved in the save buffer. The interrupt print data is stored in the reception buffer and printed. After interrupt printing is finished, print data is read from the save buffer and printing is resumed. Some examples of related art related to this will be given below.

特許文献1に開示された「印刷実行順位を決定するプリンタ」は、ユーザの印刷の緊急性に応じて、プリンタが自動的に印刷の順番を判断して、必要性の高いものから順に印刷するものである。ネットワーク上で複数のユーザが共通して使用するプリンタである。印刷指令を出した順に関係なく、ユーザが設定した印刷優先順位に従って印刷を実行する。また、指定した時刻に印刷することもできる。更に、割込印刷信号に応答して、優先的に印刷を実行することや、予め登録された空き時間帯に印刷を実行することもできる。   The “printer that determines the print execution order” disclosed in Patent Document 1 automatically determines the order of printing according to the urgency of printing by the user, and prints in order from the most necessary one. Is. This printer is commonly used by a plurality of users on a network. Regardless of the order in which the print commands are issued, printing is executed according to the print priority set by the user. It can also be printed at a specified time. Furthermore, it is possible to execute printing preferentially in response to an interrupt printing signal, or to execute printing in a pre-registered free time zone.

特許文献2に開示された「割込印刷装置」は、割込印刷を行うことによって、後の印刷を希望するユーザの待ち時間を減らすものである。プリンタ装置の内部には、受信バッファと画像メモリと補助記憶画像メモリと受信バッファ待避エリア等がある。割込印刷の指示があると、受信バッファに格納した印刷データを、受信バッファ待避エリアに待避させ、割込印刷処理を実行する。割込印刷を先に実行して、効率よく印刷処理を行う。受信バッファ待避エリアに待避させた印刷データは、再度画像メモリに展開されるか、直接印刷処理に使用される。   The “interrupt printing device” disclosed in Patent Document 2 reduces the waiting time of a user who desires subsequent printing by performing interrupt printing. The printer apparatus includes a reception buffer, an image memory, an auxiliary storage image memory, a reception buffer save area, and the like. When there is an instruction for interrupt printing, the print data stored in the reception buffer is saved in the reception buffer saving area, and the interrupt printing process is executed. Execute interrupt printing first to efficiently perform print processing. The print data saved in the reception buffer save area is expanded again in the image memory or directly used for print processing.

特許文献3に開示された「画像形成装置」は、通常の印刷ジョブ実行中に他の印刷を行いたい場合に、総印刷部数と割込印刷部数とを入力できるようにし、割込印刷部数を割込印刷ジョブとして実行し、総印刷部数から割込印刷部数を引いた残りの部数は、予約印刷ジョブとして予約し、現印刷ジョブ実行後に実行するものである。通常印刷ジョブ実行中に、割込モードが選択され、かつ複数部数印刷が選択されると、印刷総部数と割込印刷部数を入力する。割込部数で指定された部数の印刷は、割込処理する。総部数から割込部数を引いた部数の印刷は、割込前の印刷ジョブ終了後に実行する。
特開2000-272205号公報 特開2001-246811号公報 特開2001-320528号公報
The “image forming apparatus” disclosed in Patent Document 3 allows the user to input the total number of print copies and the number of interrupt print copies when another print is desired during execution of a normal print job. This is executed as an interrupt print job, and the remaining number of copies obtained by subtracting the number of interrupt prints from the total number of prints is reserved as a reserved print job and executed after execution of the current print job. When the interrupt mode is selected and the multiple number of copies are selected during execution of the normal print job, the total number of copies and the number of interrupt prints are input. The number of copies specified by the number of interrupts is interrupted. Printing of the number of copies obtained by subtracting the number of interrupts from the total number of copies is executed after the print job before the interrupt is completed.
JP 2000-272205 A Japanese Patent Laid-Open No. 2001-246811 JP 2001-320528

しかし、従来の割込印刷方法では、次のような問題がある。バッファの容量が十分あれば、すべての印刷要求を受信して処理できるが、バッファの容量が限られている場合は、2つ程度の印刷要求しか処理できない。割込印刷中にさらに次の印刷要求が来ると、バッファの空きがないので、受信も応答もできなくなり、ホスト側でプリンタの状態を知ることができなくなる。特に、ホストとプリンタとで双方向のやりとりが必要となるプロトコルを使って印刷する場合は、割込印刷が発生していてバッファが両方とも既に埋まっていると、プリンタ側で印刷データを受信できないため、それに含まれるコマンドを解釈できず、ホストに応答を返すことができない。そのような状態になると、プリンタ側のバッファが埋まっている間、タイムアウトするまでホスト側はずっと待ち状態になるので、ホストの操作者にプリンタがストールしているように思われる可能性がある。   However, the conventional interrupt printing method has the following problems. If the buffer capacity is sufficient, all print requests can be received and processed, but if the buffer capacity is limited, only about two print requests can be processed. If another print request is received during interrupt printing, there is no buffer space, so neither reception nor response is possible, and the host cannot know the printer status. In particular, when printing using a protocol that requires bidirectional communication between the host and the printer, the printer cannot receive print data if interrupt printing has occurred and both buffers are already full. Therefore, the command contained in it cannot be interpreted and a response cannot be returned to the host. In such a state, while the buffer on the printer side is full, the host side is in a waiting state until a time-out occurs, so it may appear to the host operator that the printer is stalled.

この点について、図8を参照しながら説明する。図8は、応答が必要ないdiprintプロトコルで送られてきた印刷データを印刷中に、応答が必要なRHPP(Ricoh Host Print Protocol)で、優先度の高い印刷の要求が来て、割込印刷が発生し、その間にRHPPで印刷の要求が来た場合の説明図である。割込印刷は、「通常」に対して「優先度高」の1段階までとする。ここで、図8のA、Bは、それぞれ一時退避用バッファ、割り込み用送受信バッファを用いた場合の動作を示す。   This point will be described with reference to FIG. FIG. 8 shows that RHPP (Ricoh Host Print Protocol) that requires a response during printing of print data sent by the diprint protocol that does not require a response. It is explanatory drawing when it generate | occur | produces and the request | requirement of printing by RHPP comes during that. Interrupt printing is limited to one level of “high priority” with respect to “normal”. Here, A and B in FIG. 8 show operations when a temporary save buffer and an interrupt transmission / reception buffer are used, respectively.

図8A、Bのいずれにおいても、割込印刷が発生しない場合は、通常用送受信バッファに順番に印刷データが格納され、受信順に印刷される。割込印刷要求が来ると、一時退避用バッファ(図8Aの場合)又は割込用送受信バッファ(図8Bの場合)に印刷データを格納し、印刷中のジョブを一旦停止し、割込印刷を行う。割込印刷をするかどうかは、印刷データのパラメータに、そのジョブの優先度を決めるパラメータがあるので、通信I/F(インタフェース)がそれを見ることで判定できる。割込印刷中にさらに印刷要求が来ると、通常用送受信バッファも、一時退避用バッファあるいは割込用送受信バッファも使用中であるので、印刷データを受信できない。そのため、コマンドの解釈もできない。双方向のやりとりが必要なプロトコルの場合、ホストはプリンタからの応答を待ち続けることになる。   8A and 8B, when interrupt printing does not occur, the print data is stored in order in the normal transmission / reception buffer and printed in the order received. When an interrupt print request is received, the print data is stored in the temporary save buffer (in the case of FIG. 8A) or the interrupt transmission / reception buffer (in the case of FIG. 8B), the job being printed is temporarily stopped, and interrupt printing is performed. Do. Whether or not to perform interrupt printing can be determined by viewing the communication I / F (interface) because there is a parameter for determining the priority of the job in the print data parameter. If a further print request is received during interrupt printing, the normal transmission / reception buffer, the temporary save buffer, or the interruption transmission / reception buffer are in use, and therefore print data cannot be received. Therefore, the command cannot be interpreted. In the case of a protocol that requires bidirectional communication, the host continues to wait for a response from the printer.

本発明の目的は、上記従来の問題を解決して、ネットワーク接続され、バッファ容量が限られた画像形成装置において、割込印刷中でも印刷要求に対する応答コマンドをホスト側に返せるようにすることである。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described conventional problems so that a response command to a print request can be returned to the host side even during interrupt printing in an image forming apparatus connected to a network and having a limited buffer capacity. .

本発明の画像形成装置は、ネットワークを介して接続された情報処理装置から印刷データを受信する手段と、受信した通常の印刷データを保持するための第1のバッファと、受信した割込印刷データを保持するための第2のバッファと、割込印刷中にデータの保持が可能な第3のバッファと、前記第1乃至第3のバッファに保持されている印刷データを解釈し、応答コマンドを作成するデータ解釈手段と、前記データ解釈手段により作成された応答コマンドを前記情報処理装置に送信する手段とを備えるとともに、前記データ解釈手段は前記第1乃至第3のバッファ毎に設けられており、前記データ解釈手段は、前記第2のバッファに保持されている割込印刷データにて指定されたポート番号、及び前記割込印刷データに基づく割込印刷中に受信され、前記第3のバッファに保持されている印刷データにて指定されたポート番号から、前記第2のバッファに保持されている割込印刷データ及び前記第3のバッファに保持されている印刷データが応答コマンドの必要な印刷データかどうか判断する手段と、前記第2のバッファに保持されている割込印刷データ及び前記第3のバッファに保持されている印刷データが応答コマンドの必要な印刷データであると判断したとき、前記割込印刷データのページ毎の排紙完了の応答コマンド及び前記割込印刷データに基づく割込印刷中に受信された印刷データに対する応答コマンドを前記第3のバッファに書き込む手段を備え、前記送信する手段は、前記第3のバッファに書き込まれた応答コマンドを前記情報処理装置に送信する画像形成装置である An image forming apparatus according to the present invention includes means for receiving print data from an information processing apparatus connected via a network, a first buffer for holding received normal print data, and received interrupt print data. a second buffer for holding a third buffer capable of holding the data during the interrupt printing, interprets the print data stored in the first to third buffer, the response command And a means for transmitting a response command created by the data interpretation means to the information processing apparatus, and the data interpretation means is provided for each of the first to third buffers. And the data interpretation means during the interrupt printing based on the port number designated by the interrupt print data held in the second buffer and the interrupt print data. The interrupt print data held in the second buffer and the print held in the third buffer from the port number designated by the print data held in the third buffer. Means for determining whether the data is print data that requires a response command; interrupt print data held in the second buffer; and print data held in the third buffer that requires a response command When it is determined that the data is data, the third buffer receives a response command for the completion of paper discharge for each page of the interrupt print data and a response command for the print data received during the interrupt print based on the interrupt print data. An image forming apparatus for transmitting the response command written in the third buffer to the information processing apparatus. A.

本発明によれば、バッファ容量が限られた画像形成装置において、応答コマンドの必要な印刷データに基づく割込印刷中に応答コマンドの必要な印刷データの印刷要求がきたときでも、印刷データを一旦受信して解釈でき、割込印刷中の印刷データのページ毎の排紙完了の応答コマンド、及び割込印刷中に受信した印刷データに対する応答コマンドをホスト側に返すことができる。 According to the present invention, have you in the image forming apparatus buffer capacity is limited, even when the print request of the print data required for the response command came in interrupt printing based on the required print data of the response command, the print data Can be received and interpreted , and a response command for paper discharge completion for each page of print data during interrupt printing and a response command for the print data received during interrupt printing can be returned to the host side .

以下、本発明を実施するための最良の形態について、図1〜図5を参照しながら詳細に説明する。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to FIGS.

[第1の実施形態]
本発明の第1の実施形態は、割込印刷中に印刷データを受信すると、応答用の送受信バッファに格納して、印刷データ中のコマンドを解析し、ホストとの間で双方向のやりとりが必要なプロトコルを使用していると判断した場合、応答コマンドをホストに送信する画像形成装置である。
[First Embodiment]
In the first embodiment of the present invention, when print data is received during interrupt printing, it is stored in a response transmission / reception buffer, a command in the print data is analyzed, and bidirectional exchange with the host is performed. When it is determined that a necessary protocol is used, the image forming apparatus transmits a response command to the host.

図1は、本発明の第1の実施形態における画像形成装置の構成を示すブロック図である。ここで、図1Aはハードウェアの構成、図1Bは機能ブロックの構成を示す。図2は、割込印刷要求の到来状況を示す図である。図3は、割込印刷中にRHPPにて印刷データを受信したときのタイミングチャートである。図4は、ホストと画像形成装置で双方向にやりとりが必要なプロトコルを使った場合の処理手順を示す流れ図である。図5は、割込印刷中にRHPPにて印刷データを受信したときの処理手順を示す流れ図である。   FIG. 1 is a block diagram showing the configuration of the image forming apparatus according to the first embodiment of the present invention. Here, FIG. 1A shows a hardware configuration, and FIG. 1B shows a functional block configuration. FIG. 2 is a diagram illustrating the arrival status of an interrupt print request. FIG. 3 is a timing chart when print data is received by RHPP during interrupt printing. FIG. 4 is a flowchart showing a processing procedure when a protocol that requires bidirectional communication between the host and the image forming apparatus is used. FIG. 5 is a flowchart showing a processing procedure when print data is received by RHPP during interrupt printing.

図1Aに示すように、画像形成装置の代表としてプリンタを例にして説明するが、コピー機や複合機などでも同様である。このプリンタ11は、操作パネル13と、コントローラ14と、エンジン15とを備えている。なお、これらのハードウェアの構成は基本的に従来の装置と同様であるので、簡単に説明する。   As shown in FIG. 1A, a printer is taken as an example of a representative image forming apparatus, but the same applies to a copier, a multifunction machine, and the like. The printer 11 includes an operation panel 13, a controller 14, and an engine 15. The hardware configuration is basically the same as that of a conventional apparatus, and will be described briefly.

操作パネル13は、ボタンやタッチパネル、機器状態表示のためのインジケータ(LEDやLCD等の表示器)、液晶などの表示部、スピーカ等、ユーザとのマンマシンインターフェース部である。   The operation panel 13 is a man-machine interface unit with a user, such as a button, a touch panel, an indicator for displaying device status (display unit such as LED or LCD), a display unit such as a liquid crystal, a speaker, and the like.

エンジン15は、コントローラ14からの画像データ及び制御信号により、レーザビームを走査して感光体上に静電潜像を形成し、現像し、また給紙部より用紙を給紙し、転写及び定着し、画像を形成する。なお、エンジン15の画像形成方法は、LED方式、インクジェット方式等、どのような方式でもよい。   The engine 15 scans a laser beam according to image data and control signals from the controller 14 to form an electrostatic latent image on the photosensitive member, develops it, and feeds paper from a paper feeding unit, and transfers and fixes it. Then, an image is formed. The image forming method of the engine 15 may be any method such as an LED method or an ink jet method.

コントローラ14は、ホスト12からの印刷データに基づいてエンジン15を制御する制御機構の総称であり、バス16と、それぞれがバス16に接続されたホストI/F(インタフェース)17、ROM(Read Only Memory)18、HDD(ハードディスク)19、パネルI/F20、CPU(Central Processing Unit)21、RAM(Random Access Memory)22、NV(Non Volatile)-RAM23、エンジンI/F24、及びオプションRAM25を備えている。   The controller 14 is a generic term for control mechanisms that control the engine 15 based on print data from the host 12, and includes a bus 16, a host I / F (interface) 17 connected to the bus 16, and a ROM (Read Only). Memory (18), HDD (hard disk) 19, panel I / F20, CPU (Central Processing Unit) 21, RAM (Random Access Memory) 22, NV (Non Volatile) -RAM23, engine I / F24, and optional RAM25 Yes.

ホストI/F17は、ホスト12からプリンタ11への印刷データ、及びプリンタ11からホスト12への応答信号などのインタフェースである。ROM18には、コントローラ14内のデータの管理や、図示されていない周辺モジュールを制御するためのプログラム、印字に用いるフォントなどが格納されている。HDD19には大容量のデータやファイルが格納される。パネルI/F20は、プリンタ11の状態、モード、フォントの切替えなどを行うための信号のインタフェースである。CPU21は、ROM22に格納されているプログラムに従って、ホスト12からの印刷データを処理する。RAM22は、CPU21が処理を行う時のワークメモリ、ホスト12からの印刷データを一時記憶するバッファ、バッファに記憶された印刷データから変換された画像データを記憶するビットマップメモリ等に使用される。NV-RAM23は、装置の電源をオフにしても保持したいデータを格納するための不揮発性メモリである。エンジンI/F24は、コントローラ14からエンジン15への制御信号、及びエンジン15からコントローラ14へのステータス信号のインタフェースである。オプションRAM25は、RAM22、NV-RAM23にそれぞれ記憶されるデータ以外のデータを記憶する拡張用のメモリである。   The host I / F 17 is an interface for print data from the host 12 to the printer 11 and a response signal from the printer 11 to the host 12. The ROM 18 stores data management in the controller 14, a program for controlling peripheral modules not shown, fonts used for printing, and the like. The HDD 19 stores a large amount of data and files. The panel I / F 20 is a signal interface for switching the state, mode, font, and the like of the printer 11. The CPU 21 processes the print data from the host 12 according to the program stored in the ROM 22. The RAM 22 is used as a work memory when the CPU 21 performs processing, a buffer that temporarily stores print data from the host 12, a bitmap memory that stores image data converted from the print data stored in the buffer, and the like. The NV-RAM 23 is a non-volatile memory for storing data that is to be retained even when the apparatus is turned off. The engine I / F 24 is an interface for a control signal from the controller 14 to the engine 15 and a status signal from the engine 15 to the controller 14. The option RAM 25 is an expansion memory that stores data other than the data stored in the RAM 22 and the NV-RAM 23, respectively.

図1Bにおいて、データ処理部1は、図1AのCPU21と、ROM18内のプログラムなどにより、全体の制御と画像形成の制御などを行う手段である。描画部2は、PDL(Page Description Language)で記述された印刷データをビットマップ形式の画像データに変換する処理(描画処理)を行う手段である。描画バッファ3は、送受信バッファ5から読み出された印刷データを一時的に保持するメモリである。データ解釈部4は、送受信バッファ5に保持されているコマンドやデータを解釈する手段である。送受信バッファ5は、印刷データや応答コマンドを一時的に保持するメモリである。通信制御部6は、ネットワークを介してホスト12と通信する手段である。LAN7は、ホスト12と接続するためのネットワークである。印刷制御部8は、エンジン15を制御する手段である。   In FIG. 1B, the data processing unit 1 is means for performing overall control, image formation control, and the like by the CPU 21 of FIG. 1A and the program in the ROM 18. The drawing unit 2 is means for performing processing (drawing processing) for converting print data described in PDL (Page Description Language) into image data in a bitmap format. The drawing buffer 3 is a memory that temporarily holds the print data read from the transmission / reception buffer 5. The data interpretation unit 4 is means for interpreting commands and data held in the transmission / reception buffer 5. The transmission / reception buffer 5 is a memory that temporarily stores print data and response commands. The communication control unit 6 is means for communicating with the host 12 via a network. The LAN 7 is a network for connecting to the host 12. The print control unit 8 is means for controlling the engine 15.

図1Bは、3つの送受信バッファ5と、それに対応する3つのデータ解釈部4を備えていることを示している。ここで、3つの送受信バッファ5は、通常印刷用の送受信バッファ、割込印刷用の送受信バッファ、及び応答用の送受信バッファである。ただし、3つの送受信バッファ5は機能的なものであり、必ずしも3つのハードウェアメモリを意味するものではない。また、割込印刷の優先レベルが複数の場合でも、複数の割込印刷用の送受信バッファ5を1つということにする。送受信用バッファ毎にデータ解釈部を設けたのは、1つのデータ解釈部が印刷データを解釈する場合よりも、設計が単純になるためである。3つのデータ解釈部4も機能的なものであり、1つの再入可能なモジュールを時分割で3つとして動作させるものでもよい。   FIG. 1B shows that three transmission / reception buffers 5 and three data interpretation units 4 corresponding thereto are provided. Here, the three transmission / reception buffers 5 are a transmission / reception buffer for normal printing, a transmission / reception buffer for interrupt printing, and a transmission / reception buffer for response. However, the three transmission / reception buffers 5 are functional and do not necessarily mean three hardware memories. Further, even when there are a plurality of priority levels for interrupt printing, a plurality of interrupt printing transmission / reception buffers 5 are provided. The reason for providing a data interpretation unit for each transmission / reception buffer is that the design is simpler than when one data interpretation unit interprets print data. The three data interpretation units 4 are also functional, and one reentrant module may be operated as three in a time division manner.

以下、ホスト12とプリンタ11とで双方向にやりとりをしながら印刷を行うプロトコルとしてRHPPを使い、ホスト12とプリンタ11とで双方向にやりとりをせずに印刷を行うプロトコルとしてdiprintを使う例について説明する。diprintは、ホスト12とプリンタ11とで双方向にやりとりをする必要のないプロトコルである。RHPPは、ホスト12とプリンタ11とで双方向にやりとりをする必要のあるプロトコルである。印刷処理をする際に、ホスト12からの印刷データ中のコマンドを解析して、ページ毎に排紙完了をホストに応答コマンドで通知しながら印刷処理を行う。応答コマンドは、排紙完了の通知以外にも、装置獲得成功や描画完了など様々な種類がある。   In the following example, RHPP is used as a protocol for printing while bidirectionally communicating between the host 12 and the printer 11, and diprint is used as a protocol for performing printing without bidirectional communication between the host 12 and the printer 11. explain. diprint is a protocol that does not require bidirectional communication between the host 12 and the printer 11. RHPP is a protocol that requires bidirectional communication between the host 12 and the printer 11. When performing the printing process, the command in the print data from the host 12 is analyzed, and the printing process is performed while notifying the host of the discharge completion for each page by a response command. There are various types of response commands, such as successful acquisition of the apparatus and completion of drawing, in addition to the notification of paper discharge completion.

プロトコルの区別は、プリンタ11が受信した印刷データにて指定されたポート番号から通信制御部6が判断する。特定のポート番号であれば、RHPPのプロトコルとして扱い、RHPPのコマンドを解釈するデータ解釈部4が、送受信バッファ5に存在する印刷データを解釈する。データ解釈部4は、RHPPで送られてきた印刷データを解釈し、応答コマンドを送受信バッファ5に書き込む。RHPPで送られてきた印刷データには、RHPPのコマンドが含まれるので、データ解釈部4と描画部2とでやりとりをする描画バッファ3には、RHPPのコマンドを抜いた印刷データを格納し、描画部2が解釈できるような印刷データとして渡す。描画部2では、その印刷データをもとに描画処理を行い、印刷制御部8を通してエンジン15に印刷を実行させる。描画部2の前にデータ解釈部4を置くことで、描画に必要ないRHPPのコマンドのデータを、描画部2が解析しなくてすむようになる。つまり、従来通りの動作でよいことになる。データ解釈部4では、応答コマンドの作成と、印刷データからRHPPのコマンドを抜いたデータを描画部2に渡す役割を担う。   The communication control unit 6 determines the protocol distinction from the port number specified in the print data received by the printer 11. If it is a specific port number, it is treated as an RHPP protocol, and the data interpretation unit 4 that interprets the RHPP command interprets the print data present in the transmission / reception buffer 5. The data interpretation unit 4 interprets the print data sent by RHPP and writes a response command in the transmission / reception buffer 5. Since the RHPP command is included in the print data sent by RHPP, the print buffer from which the RHPP command is removed is stored in the drawing buffer 3 that exchanges data between the data interpretation unit 4 and the drawing unit 2. It is passed as print data that can be interpreted by the drawing unit 2. The drawing unit 2 performs drawing processing based on the print data, and causes the engine 15 to execute printing through the print control unit 8. By placing the data interpretation unit 4 in front of the drawing unit 2, the drawing unit 2 does not have to analyze RHPP command data that is not necessary for drawing. That is, the conventional operation is sufficient. The data interpretation unit 4 plays a role of creating a response command and passing the data obtained by removing the RHPP command from the print data to the drawing unit 2.

割込印刷は、「通常」に対して「優先度高」の1段階までとする。割込印刷中の場合、これ以上割り込めないので、優先度の設定に関係なく、印刷の要求は受け付けない。ただし、RHPPの場合は、ホスト12に応答コマンドを返す必要があるので、応答用の送受信バッファ5に印刷データを格納する。その印刷データをデータ解釈部4が解釈し、ホスト12に返す応答コマンドを、応答用の送受信バッファ5に書き込み、通信制御部6を通してホスト12に応答コマンドを返す。データ解釈部4は、応答コマンドを書き込む前に、割込印刷用の送受信バッファ5をチェックし、割込印刷が終っているかどうか判定する。このとき、まだ印刷中であれば、ビジー状態を通知する応答コマンドを、応答用の送受信バッファ5に書き込む。印刷が終了しているなら、正常にコマンドを受け付けた旨の応答コマンドを、応答用の送受信バッファ5に書き込む。もし、優先度が高いのであれば、そのまま応答用の送受信バッファ5を使い、割込印刷を開始する。優先度が通常であれば、次の通信以降、通常用の送受信バッファ5に切り替えて印刷データを受信する。   Interrupt printing is limited to one level of “high priority” with respect to “normal”. When interrupt printing is in progress, no further interrupts can be made, so a print request is not accepted regardless of the priority setting. However, in the case of RHPP, since it is necessary to return a response command to the host 12, print data is stored in the response transmission / reception buffer 5. The print data is interpreted by the data interpretation unit 4, a response command to be returned to the host 12 is written in the response transmission / reception buffer 5, and the response command is returned to the host 12 through the communication control unit 6. Before writing the response command, the data interpretation unit 4 checks the interrupt printing transmission / reception buffer 5 and determines whether or not the interrupt printing is finished. At this time, if printing is still in progress, a response command for notifying the busy state is written in the response transmission / reception buffer 5. If printing has ended, a response command indicating that the command has been normally received is written in the response transmission / reception buffer 5. If the priority is high, the response transmission / reception buffer 5 is used as it is, and interrupt printing is started. If the priority is normal, the print data is received after switching to the normal transmission / reception buffer 5 after the next communication.

なお、特定の1つの送受信バッファ5が、常に通常の印刷に使われるわけではない。他の送受信バッファ5についても同様に、割込印刷用バッファや応答用バッファとして固定されているわけではない。送受信バッファ5は、空いたものから割り当てられていくので、特定の送受信バッファ5が、常に応答用のバッファになるとは限らない。状況に応じて、ある送受信バッファ5を通常用に使い、割込印刷用に他の送受信バッファ5を使い、応答用にさらに他の送受信バッファ5を使うというように、適宜切り替えて使用する。通信制御部6が、それぞれの送受信バッファ5の使用状況を見て、どの送受信バッファ5をどの役割にするかを判断する。1つのメモリを適宜分割して各バッファとして使用する場合でも、通常印刷用のバッファにほとんどを使って、割込印刷用のバッファが不足する場合があることは許されても、応答用のバッファが不足して応答できなくなることは許されないので、応答用のバッファの領域は優先的に確保しておく。このようにして、少ないバッファ用メモリを有効に利用する。   One specific transmission / reception buffer 5 is not always used for normal printing. Similarly, the other transmission / reception buffers 5 are not fixed as interrupt printing buffers or response buffers. Since the transmission / reception buffer 5 is allocated from the empty one, the specific transmission / reception buffer 5 is not always a response buffer. Depending on the situation, one transmission / reception buffer 5 is used for normal use, another transmission / reception buffer 5 is used for interrupt printing, and another transmission / reception buffer 5 is used for response. The communication control unit 6 determines the role of which transmission / reception buffer 5 is to be used by looking at the usage status of each transmission / reception buffer 5. Even when one memory is appropriately divided and used as each buffer, it is allowed to use most of the normal printing buffer and there may be a shortage of interrupt printing buffers. Since it is not allowed that a response cannot be made due to a shortage of response, a response buffer area is reserved with priority. In this way, a small buffer memory is used effectively.

次に、図2を参照しながら、割込印刷中に印刷データがきた場合の処理について説明する。図2Aに示すように、diprintプロトコルで印刷データが送られてくると、通常用の送受信バッファ5に格納される。描画部2はその印刷データを通常用の送受信バッファ5から読み出し、描画処理する。その描画処理中に、図2Bに示すように、RHPPで、優先度の高い印刷データがくると、割込用の送受信バッファ5に格納される。データ解釈部4でコマンドを解釈して、割込印刷であるので、描画バッファ3に印刷データを書き込み、描画部2で描画処理する。その間に、図2Cに示すように、RHPPで印刷データがくると、応答用の送受信バッファ5に格納し、データ解釈部4でコマンドを解釈して、応答コマンドを応答用の送受信バッファ5に書き込む。   Next, a process when print data is received during interrupt printing will be described with reference to FIG. As shown in FIG. 2A, when print data is sent by the diprint protocol, it is stored in the normal transmission / reception buffer 5. The drawing unit 2 reads the print data from the normal transmission / reception buffer 5 and performs drawing processing. During the rendering process, as shown in FIG. 2B, when high-priority print data is received by RHPP, it is stored in the interrupt transmission / reception buffer 5. Since the data interpretation unit 4 interprets the command and performs interrupt printing, the print data is written in the drawing buffer 3 and the drawing unit 2 performs drawing processing. In the meantime, as shown in FIG. 2C, when print data is received by RHPP, it is stored in the response transmission / reception buffer 5, the command is interpreted by the data interpretation unit 4, and the response command is written in the response transmission / reception buffer 5. .

次に、図3を参照しながら、割込印刷中にRHPPにて印刷データを受信したときの処理手順を説明する。通信制御部6は、(1)で印刷データを受信すると、(2)で送受信バッファ5をチェックする。2つの送受信バッファ5に印刷データが書かれているか否かをチェックし、割込印刷中かどうかを判断する。割込印刷中であれば、(3)で応答用の送受信バッファ5に、印刷データを書き込み、(4)で印刷データを受信したことを、データ解釈部4に通知する。データ解釈部4は、(5)で送受信バッファ5から印刷データを読み込み、(6)で割込印刷中か否かをチェックする。ここで割込印刷が終っていたら、通常の印刷要求または割込印刷要求の処理となり、優先度の設定に従って処理を行う。割込印刷中であれば、データ解釈部4は、(7)で応答コマンドを応答用の送受信バッファ5に書き込む。通信制御部6は、(8)でホストへ通知する。   Next, a processing procedure when print data is received by RHPP during interrupt printing will be described with reference to FIG. When the communication control unit 6 receives the print data in (1), the communication control unit 6 checks the transmission / reception buffer 5 in (2). It is checked whether print data is written in the two transmission / reception buffers 5 to determine whether interrupt printing is in progress. If interrupt printing is in progress, the print data is written in the response transmission / reception buffer 5 in (3), and the data interpretation unit 4 is notified that the print data has been received in (4). The data interpretation unit 4 reads the print data from the transmission / reception buffer 5 in (5), and checks whether interrupt printing is in progress in (6). If interrupt printing has been completed, processing for normal print request or interrupt print request is performed, and processing is performed according to the priority setting. If interrupt printing is in progress, the data interpretation unit 4 writes the response command in the response transmission / reception buffer 5 in (7). The communication control unit 6 notifies the host in (8).

次に、図4を参照しながら、全体的な処理手順を説明する。RHPPを代表とする、ホスト12とプリンタ11で双方向にやりとりする必要のあるプロトコルを使った場合の例である。ホスト12とプリンタ11での双方向のやりとりが不要なプロトコルの場合は、印刷データをプリンタ11に送信するだけでよいので、割込印刷が発生しない場合は、全て通常用の送受信バッファ5に印刷データを格納する。割込印刷は1つのジョブだけとしているので、割込印刷用の送受信バッファ5には1つのジョブしか格納しない。通常用の送受信バッファ5は、その容量がいっぱいになるまでキューイングできる。また、解析した印刷データは、基本的には保存しておく必要はないので、解析が済んだ分だけすぐに空きができるようになる。応答用の送受信バッファ5に格納された印刷データは、応答コマンドを返した後すぐに消去して応答用の送受信バッファ5を解放して、いつでも次の印刷データを受信できるようにする。すぐに解放することで、少ないバッファ用メモリでも、常に応答することができる。   Next, an overall processing procedure will be described with reference to FIG. This is an example in which a protocol typified by RHPP that requires bidirectional communication between the host 12 and the printer 11 is used. If the protocol does not require bidirectional communication between the host 12 and the printer 11, it is only necessary to send print data to the printer 11. If no interrupt printing occurs, all printing is performed in the normal transmission / reception buffer 5. Store the data. Since interrupt printing is performed for only one job, only one job is stored in the transmission / reception buffer 5 for interrupt printing. The normal transmission / reception buffer 5 can be queued until its capacity is full. In addition, the analyzed print data does not need to be saved basically, so that the analyzed print data can be vacated as soon as the analysis is completed. The print data stored in the response transmission / reception buffer 5 is erased immediately after the response command is returned to release the response transmission / reception buffer 5 so that the next print data can be received at any time. By releasing immediately, it is possible to always respond even with a small amount of buffer memory.

ステップ1で、印刷データを受信する。ステップ2で、ポート番号からプロトコルを判別する。ステップ3で、送受信バッファ5が3つとも空いているかどうか調べる。3つとも空いていれば、ステップ4で、通常用の送受信バッファ5に印刷データを格納する。1つか2つしか空いていなければ、ステップ5で、割込印刷をするかどうか調べる。割込印刷をしないのであれば、ステップ4で、通常用の送受信バッファ5に印刷データを格納する。割込印刷をするのであれば、ステップ6で、送受信バッファ5が2つ空いているかどうか調べる。2つ空いていれば、ステップ7で、割込印刷用の送受信バッファ5に印刷データを格納する。1つしか空いていなければ、ステップ8で、応答用の送受信バッファ5に印刷データを格納する。ステップス9で、印刷データを解析する。   In step 1, print data is received. In step 2, the protocol is determined from the port number. In step 3, it is checked whether all three transmission / reception buffers 5 are free. If all three are available, the print data is stored in the normal transmission / reception buffer 5 in step 4. If only one or two are free, it is checked in step 5 whether interrupt printing is to be performed. If interrupt printing is not performed, the print data is stored in the normal transmission / reception buffer 5 in step 4. If interrupt printing is to be performed, it is checked in step 6 whether two transmission / reception buffers 5 are available. If two are available, the print data is stored in the interrupt printing transmission / reception buffer 5 in step 7. If only one is available, the print data is stored in the response transmission / reception buffer 5 in step 8. In step 9, the print data is analyzed.

次に、図5を参照しながら、割込印刷中にRHPPにて印刷データを受信したときの処理手順(図4のステップ6でNoとなったときの処理の詳細)を説明する。ステップ11で、応答用の送受信バッファ5に印刷データを格納する。データ解釈部4による読込みが終ったら、印刷データが残っているかどうかを判断できるように、送受信バッファ5の印刷データを、特定の値(例えば−1)で上書きする。ステップ12で、割込印刷が終っているかどうかを調べる。割込印刷が終っていれば、ステップ13で、通常通りコマンドを受け付けた旨の応答コマンドを、応答用の送受信バッファ5に書き込む。割込印刷が終っていなければ、ステップ14で、ビジー状態である旨の応答コマンドを、応答用の送受信バッファ5に書き込む。ステップ15で、ホスト12に応答コマンドを返す。   Next, with reference to FIG. 5, a processing procedure when print data is received by RHPP during interrupt printing (details of processing when No in step 6 in FIG. 4) is described. In step 11, the print data is stored in the response transmission / reception buffer 5. After reading by the data interpretation unit 4, the print data in the transmission / reception buffer 5 is overwritten with a specific value (for example, -1) so that it can be determined whether or not the print data remains. In step 12, it is checked whether or not interrupt printing has been completed. If interrupt printing has been completed, a response command indicating that the command has been received is written in the response transmission / reception buffer 5 in step 13 as usual. If interrupt printing has not been completed, a response command indicating that it is busy is written in the response transmission / reception buffer 5 in step 14. In step 15, a response command is returned to the host 12.

上記のように、本発明の第1の実施形態では、画像形成装置を、割込印刷中に印刷データを受信すると、応答用の送受信バッファ5に格納して、印刷データ中のコマンドを解析し、RHPPを使用している場合は、応答コマンドをホスト12に送信する構成としたので、割込印刷中でもコマンドを解釈してホスト12に応答できる。   As described above, in the first embodiment of the present invention, when the image forming apparatus receives print data during interrupt printing, the print data is stored in the response transmission / reception buffer 5 and the command in the print data is analyzed. When RHPP is used, the response command is transmitted to the host 12, so that the command can be interpreted and responded to the host 12 even during interrupt printing.

[第2の実施形態]
図6は、本発明の第2の実施形態における画像形成装置のソフトウェアによる機能ブロックの構成を示す図である。この画像形成装置のハードウェアの構成は第1の実施形態と同じである。
[Second Embodiment]
FIG. 6 is a diagram showing a functional block configuration by software of the image forming apparatus according to the second embodiment of the present invention. The hardware configuration of this image forming apparatus is the same as that of the first embodiment.

図6に示すように、本実施形態の画像形成装置は、第1の実施形態の画像形成装置にデータ解析部9を付加したものである。データ解析部8は、PJL(Print Job Language)で記述されたコマンドを解析することで機器の情報を取得したり、印刷条件を設定したりする機能を持っている。   As shown in FIG. 6, the image forming apparatus according to the present embodiment is obtained by adding a data analysis unit 9 to the image forming apparatus according to the first embodiment. The data analysis unit 8 has functions for acquiring device information and setting printing conditions by analyzing commands described in PJL (Print Job Language).

図示されていないホストから印刷データがLAN7を通して通信制御部6に入力される。通信制御部6は、受信した印刷データにて指定されたポート番号から、プロトコルを判断する。特定のポート番号であれば、RHPPのプロトコルとして扱い、RHPPのコマンドを解釈するデータ解釈部4が送受信バッファ5に存在するデータを解釈する。   Print data is input to the communication control unit 6 through the LAN 7 from a host (not shown). The communication control unit 6 determines the protocol from the port number specified by the received print data. If it is a specific port number, it is treated as an RHPP protocol, and the data interpreter 4 that interprets the RHPP command interprets the data present in the transmission / reception buffer 5.

データ解釈部4は、RHPPで送られてきた印刷データを解釈し、応答のコマンドを送受信バッファ5に書き込む。RHPPで送られてきた印刷データにはRHPPのコマンドが含まれているので、データ解釈部4と、データ解析部9、描画部2との間のやりとりをする描画バッファ3にはRHPPのコマンドを抜いたデータを格納し、データ解析部9、描画部2が解釈できるような印刷データとして渡す。   The data interpretation unit 4 interprets the print data sent by RHPP and writes a response command in the transmission / reception buffer 5. Since RHPP commands are included in the print data sent by RHPP, the RHPP commands are sent to the drawing buffer 3 that exchanges data with the data interpretation unit 4, the data analysis unit 9, and the drawing unit 2. The extracted data is stored and transferred as print data that can be interpreted by the data analysis unit 9 and the drawing unit 2.

データ解析部9では、その印刷データをもとに印刷条件などを解析する。また、描画部2は、その印刷データをもとに描画を行い、印刷制御部8を通して、図示しないエンジンに印刷を実行させる。   The data analysis unit 9 analyzes printing conditions and the like based on the print data. The drawing unit 2 performs drawing based on the print data, and causes the engine (not shown) to execute printing through the print control unit 8.

前述したように、RHPPのコマンドを解析するデータ解釈部4も、PJLのコマンドを解析するデータ解析部9も同様な機能を持っている。基幹系システムなどで印刷の信頼性が求められる場合には、RHPPのようにホストとプリンタとで双方向にやりとりをし、状況を確認しながら印刷を行なうと信頼性が確保されやすくなる。一方、通常のオフィスなどでの運用では、PJLのみで十分であるため、わざわざRHPPを使うことはない。   As described above, the data interpretation unit 4 for analyzing RHPP commands and the data analysis unit 9 for analyzing PJL commands have similar functions. When printing reliability is required in a mission critical system or the like, it is easy to ensure reliability by performing bidirectional communication between the host and the printer as in RHPP and performing printing while checking the situation. On the other hand, in normal office operations, RHPP is not purposely used because only PJL is sufficient.

また、データ解釈部4とデータ解析部9とは機能が重複するため、データ解析部9の機能を無効化してデータ解釈部4のみで運用することが考えられる。この場合、重複した機能を省略できるため、無駄が省ける。データ解析部9を無効化する方法としては、データ解析部9がデータを解析した結果を書き込むためのバッファをダミーのバッファとすることで、データ解析部9の処理に大きな変更を加えることなく、データ解析部9を無効化する方法が挙げられる。図7は、この方法を示す流れ図である。   Further, since the functions of the data interpretation unit 4 and the data analysis unit 9 overlap, it is conceivable that the function of the data analysis unit 9 is invalidated and only the data interpretation unit 4 operates. In this case, since redundant functions can be omitted, waste can be eliminated. As a method of invalidating the data analysis unit 9, the buffer for writing the result of the data analysis by the data analysis unit 9 is a dummy buffer, so that the processing of the data analysis unit 9 is not significantly changed. A method of invalidating the data analysis unit 9 can be mentioned. FIG. 7 is a flowchart illustrating this method.

図7に示すように、ステップ21で、解析するためのデータを通信制御部6が受信し、ステップ22で、RHPPが有効かどうか、即ちRHPPの印刷かどうかをデータ解釈部4が判断する。有効と判断された場合、ステップ23で、データ解釈部4は、データ解析部9による解析結果を書き込むためのダミー用の領域を描画バッファ3内に確保する。次に、ステップ24で、データ解釈部4は、データ解析部9による解析結果を書き込むための送受信バッファ5をダミー用の送受信バッファに変更する。   As shown in FIG. 7, in step 21, the communication control unit 6 receives data to be analyzed. In step 22, the data interpretation unit 4 determines whether RHPP is valid, that is, whether RHPP printing is performed. If it is determined to be valid, the data interpretation unit 4 secures a dummy area in the drawing buffer 3 for writing the analysis result by the data analysis unit 9 in step 23. Next, in step 24, the data interpretation unit 4 changes the transmission / reception buffer 5 for writing the analysis result by the data analysis unit 9 to a dummy transmission / reception buffer.

ステップ25で、データ解析部9がデータを解析し、ステップ26で、解析結果をダミー用の送受信バッファに書き込む。ダミー用の送受信バッファは、実際には使われないデータを書き込むためのバッファであるため、書き込まれたデータはホストに送信されない。   In step 25, the data analysis unit 9 analyzes the data, and in step 26, writes the analysis result in the dummy transmission / reception buffer. Since the dummy transmission / reception buffer is a buffer for writing data that is not actually used, the written data is not transmitted to the host.

一方で、データ解析部9を残したままデータ解釈部4と共存させる運用方法を採ることもできる。この場合、データ解析部9のみのシステムをデータ解釈部4のシステムに置き換えようとした場合には、データ解析部9を残したままにしておくことで、データ解析部9の機能を併用しながら、段階的にRHPPのシステムの開発を行うことができるという利点がある。   On the other hand, it is possible to adopt an operation method in which the data interpretation unit 4 coexists with the data analysis unit 9 left. In this case, when the system of only the data analyzing unit 9 is to be replaced with the system of the data interpreting unit 4, the data analyzing unit 9 is left so that the function of the data analyzing unit 9 is used together. There is an advantage that the RHPP system can be developed step by step.

本発明の第1の実施形態における画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態における画像形成装置の割込印刷要求の到来状況を示す図である。6 is a diagram illustrating an arrival status of an interrupt print request of the image forming apparatus according to the first exemplary embodiment of the present invention. FIG. 本発明の第1の実施形態における画像形成装置の割込印刷中にRHPPにて印刷データを受信したときのタイミングチャートである。6 is a timing chart when print data is received by RHPP during interrupt printing of the image forming apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態における画像形成装置とホストの間で双方向のやりとりが必要なプロトコルを使った場合の処理の流れ図である。3 is a flowchart of processing when a protocol that requires bidirectional communication between the image forming apparatus and the host according to the first embodiment of the present invention is used. 本発明の第1の実施形態における画像形成装置の割込印刷中にRHPPにて印刷データを受信したときの処理の流れ図である。6 is a flowchart of processing when print data is received by RHPP during interrupt printing of the image forming apparatus according to the first embodiment of the present invention. 本発明の第2の実施形態における画像形成装置の機能ブロックの構成を示す図である。It is a figure which shows the structure of the functional block of the image forming apparatus in the 2nd Embodiment of this invention. 第2の実施形態におけるデータ解析部を無効化する方法の流れ図である。It is a flowchart of the method of invalidating the data analysis part in 2nd Embodiment. 従来の割込印刷の流れを示す図である。It is a figure which shows the flow of the conventional interruption printing.

符号の説明Explanation of symbols

1・・・データ処理部、2・・・描画部、3・・・描画バッファ、4・・・データ解釈部、5・・・送受信バッファ、6・・・通信制御部、7・・・LAN、8・・・印刷制御部、9・・・データ解析部。   DESCRIPTION OF SYMBOLS 1 ... Data processing part, 2 ... Drawing part, 3 ... Drawing buffer, 4 ... Data interpretation part, 5 ... Transmission / reception buffer, 6 ... Communication control part, 7 ... LAN , 8... Print control unit, 9... Data analysis unit.

Claims (5)

ネットワークを介して接続された情報処理装置から印刷データを受信する手段と、受信した通常の印刷データを保持するための第1のバッファと、受信した割込印刷データを保持するための第2のバッファと、割込印刷中にデータの保持が可能な第3のバッファと、前記第1乃至第3のバッファに保持されている印刷データを解釈し、応答コマンドを作成するデータ解釈手段と、前記データ解釈手段により作成された応答コマンドを前記情報処理装置に送信する手段とを備えるとともに、
前記データ解釈手段は前記第1乃至第3のバッファ毎に設けられており、
前記データ解釈手段は、前記第2のバッファに保持されている割込印刷データにて指定されたポート番号、及び前記割込印刷データに基づく割込印刷中に受信され、前記第3のバッファに保持されている印刷データにて指定されたポート番号から、前記第2のバッファに保持されている割込印刷データ及び前記第3のバッファに保持されている印刷データが応答コマンドの必要な印刷データかどうか判断する手段と、前記第2のバッファに保持されている割込印刷データ及び前記第3のバッファに保持されている印刷データが応答コマンドの必要な印刷データであると判断したとき、前記割込印刷データのページ毎の排紙完了の応答コマンド及び前記割込印刷データに基づく割込印刷中に受信された印刷データに対する応答コマンドを前記第3のバッファに書き込む手段を備え、
前記送信する手段は、前記第3のバッファに書き込まれた応答コマンドを前記情報処理装置に送信する画像形成装置。
Means for receiving print data from an information processing apparatus connected via a network, a first buffer for holding received normal print data, and a second for holding interrupt print data received a buffer, a third buffer capable of holding the data during the interrupt printing, and the first through interprets the print data stored in the third buffer, data interpretation means for creating a response command, And a means for transmitting a response command created by the data interpretation means to the information processing apparatus ,
The data interpretation means is provided for each of the first to third buffers,
The data interpretation means is received during interrupt printing based on the port number specified by the interrupt print data held in the second buffer and the interrupt print data, and is stored in the third buffer. From the port number specified by the held print data, the interrupt print data held in the second buffer and the print data held in the third buffer are print data that requires a response command. And when determining that the interrupt print data held in the second buffer and the print data held in the third buffer are print data required for a response command, A response command for the completion of paper discharge for each page of the interrupt print data and a response command for the print data received during the interrupt print based on the interrupt print data Comprising a means for writing the buffer,
The image forming apparatus that transmits the response command written in the third buffer to the information processing apparatus.
請求項1に記載の画像形成装置において、
前記応答コマンドを前記情報処理装置に送信する前に割込印刷が完了しているかどうか確認する手段を備える画像形成装置。
The image forming apparatus according to claim 1.
An image forming apparatus Ru comprising a means for confirming whether an interrupt printing is completed before sending the response command to the information processing apparatus.
請求項1に記載の画像形成装置において、
前記応答コマンドを送信した後すぐに前記第3のバッファを解放する手段を備える画像形成装置。
The image forming apparatus according to claim 1.
An image forming apparatus comprising means for releasing the third buffer immediately after transmitting the response command.
請求項1に記載の画像形成装置において、
バッファ用のメモリの空きが少なくなった場合でも前記第3のバッファを確保するように制御する手段を備える画像形成装置。
The image forming apparatus according to claim 1.
An image forming apparatus comprising: a control unit that secures the third buffer even when a buffer memory becomes small .
請求項1に記載の画像形成装置において、
割込印刷中に受信され、前記第3のバッファに保持されている印刷データを解釈した結果、応答コマンドの不要な印刷データであった場合、前記第3のバッファのうち、前記情報処理装置に送信しないダミーデータを格納するための領域に、前記応答コマンドを保持させる手段を備える画像形成装置。
The image forming apparatus according to claim 1.
If the print data received during the interrupt printing and held in the third buffer is interpreted as unnecessary print data for the response command, the information processing device of the third buffer a region for storing the dummy data is not transmitted, the image forming apparatus comprising means Ru is holding the response command.
JP2008003798A 2007-02-14 2008-01-11 Image forming apparatus Active JP5062750B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008003798A JP5062750B2 (en) 2007-02-14 2008-01-11 Image forming apparatus
US12/030,508 US8643854B2 (en) 2007-02-14 2008-02-13 Image forming apparatus and print control method used therein

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2007033631 2007-02-14
JP2007033631 2007-02-14
JP2008003798A JP5062750B2 (en) 2007-02-14 2008-01-11 Image forming apparatus

Publications (2)

Publication Number Publication Date
JP2008221831A JP2008221831A (en) 2008-09-25
JP5062750B2 true JP5062750B2 (en) 2012-10-31

Family

ID=39840972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008003798A Active JP5062750B2 (en) 2007-02-14 2008-01-11 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP5062750B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5459109B2 (en) * 2010-06-30 2014-04-02 カシオ電子工業株式会社 Printing device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3423477B2 (en) * 1995-04-28 2003-07-07 キヤノン株式会社 Printing method and system
JP3618026B2 (en) * 1996-10-08 2005-02-09 株式会社リコー Multi-user printer
JPH11134139A (en) * 1997-10-29 1999-05-21 Casio Electron Mfg Co Ltd Printing system
JP3786152B2 (en) * 1997-11-14 2006-06-14 セイコーエプソン株式会社 Printing system, printing method, and printer

Also Published As

Publication number Publication date
JP2008221831A (en) 2008-09-25

Similar Documents

Publication Publication Date Title
JP4817474B2 (en) Data processing apparatus, data processing method, and storage medium storing computer-readable program
US8159709B2 (en) Method for canceling a print job submitted to a printer
JP5839845B2 (en) Printing apparatus, printing method, and program
JP3007103B2 (en) Printing control device
JP3344268B2 (en) Printing control device
US8643854B2 (en) Image forming apparatus and print control method used therein
JPH09311770A (en) Information processor, and printer, and its print control method
JP2013154606A (en) Printing apparatus and method of controlling the same
JP2000085211A (en) Print-controlling method and printing system
JP5062750B2 (en) Image forming apparatus
JP4029656B2 (en) Print program and print server
JPH11312062A (en) Printer and printing method
JP5106058B2 (en) Printing system for judging abnormality of printing control device and restoring printing device
US9354834B2 (en) Printing with virtual printer
US9207889B2 (en) Information processing apparatus, information processing method, and storage medium
JP2816184B2 (en) Printing control device
JP3173721B2 (en) Printer and operation method thereof
JP2009276839A (en) Image forming device, image forming method and storage medium
JP3230516B2 (en) Printer, recording medium and printer memory management method
JP4058982B2 (en) Printer
JP4054544B2 (en) Information processing apparatus, information processing method, print control program, print processing apparatus, print processing method, and print processing program
JP3583879B2 (en) Printer control device
JP2013129092A (en) Image forming apparatus
JP2012162041A (en) Image forming apparatus, method of controlling the same, and program
JP2007328737A (en) Host device, data processor, and data processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120222

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: 20120801

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120802

R150 Certificate of patent or registration of utility model

Ref document number: 5062750

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150817

Year of fee payment: 3