JP2006123261A - Printing apparatus and printing method - Google Patents

Printing apparatus and printing method Download PDF

Info

Publication number
JP2006123261A
JP2006123261A JP2004312509A JP2004312509A JP2006123261A JP 2006123261 A JP2006123261 A JP 2006123261A JP 2004312509 A JP2004312509 A JP 2004312509A JP 2004312509 A JP2004312509 A JP 2004312509A JP 2006123261 A JP2006123261 A JP 2006123261A
Authority
JP
Japan
Prior art keywords
data
print job
connection
printing
job data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2004312509A
Other languages
Japanese (ja)
Inventor
Susumu Mikura
進 三倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Finetech Nisca Inc
Original Assignee
Canon Finetech Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Finetech Inc filed Critical Canon Finetech Inc
Priority to JP2004312509A priority Critical patent/JP2006123261A/en
Publication of JP2006123261A publication Critical patent/JP2006123261A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing apparatus capable of normally performing a printing operation without changing setting of recognition on connection of an operational panel even when one printing job data is transmitted by dividing it into a plurality of times of connections. <P>SOLUTION: A work memory 7 for storing the last line data in the printing job data when the connection is cut in the midway of receiving the printing job data, a judgement processing part 8 for judging conformity between the head line data of the printing job data received by a connection after the cut connection and the last line data, a bit map development processing part 5 performing the printing operation based on an intermediate code data formed by analyzing the printing job data received before cutting the connection and the intermediate code data formed by analyzing the printing job data received after cutting the connection when the judgement processing part judges that the conformity exists, are equipped. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、他の装置から受信した印刷ジョブデータを順次解析して印刷動作を行なう印字装置及び印字方法に関する。   The present invention relates to a printing apparatus and a printing method for performing a printing operation by sequentially analyzing print job data received from another apparatus.

一般的に使用されている印字装置において、他の装置、例えばホストコンピュータから印刷ジョブデータを受信すると、その印刷ジョブデータは、まずジョブバッファに格納される。このジョブバッファは複数のインターフェイス、例えばネットワークインターフェイスやUSB等が搭載されている印字装置でも、一つだけ用意され、複数分用意されていることはない。このため、ジョブバッファに先にデータを格納したインターフェイスがジョブバッファを占有し、他のインターフェイスがジョブバッファにデータを格納できないようにしている。   In a commonly used printing apparatus, when print job data is received from another apparatus such as a host computer, the print job data is first stored in a job buffer. Only one job buffer is prepared for a printing apparatus equipped with a plurality of interfaces, for example, a network interface and a USB, and a plurality of job buffers are not prepared. For this reason, the interface that previously stored data in the job buffer occupies the job buffer, and other interfaces are prevented from storing data in the job buffer.

また、印字装置とホストコンピュータとのコネクションが切断されると、使用しているジョブバッファが開放され、ジョブバッファへの格納待ちインターフェイスがあれば、そのインターフェイスがジョブバッファを占有し使用可能状態になる。ジョブバッファに格納された印刷ジョブデータは順次読み出され解析処理が行われる。解析後はディスプレイリストなどの中間コードに一度変換され、1ページあるいは1バンド単位でビットマップデータを作成し印刷動作を開始する。   When the connection between the printing device and the host computer is disconnected, the job buffer being used is released, and if there is an interface waiting for storage in the job buffer, that interface occupies the job buffer and becomes usable. . The print job data stored in the job buffer is sequentially read and analyzed. After the analysis, it is once converted into an intermediate code such as a display list, bitmap data is created in units of one page or one band, and a printing operation is started.

図4は、ホストコンピュータと印字装置間のコネクションで転送される印刷ジョブデータを説明するための図である。図4(a)に示すようにホストコンピュータから送信される一つの印刷ジョブデータは一つのコネクションの中に含まれることが一般的である。また、印刷ジョブデータには先頭と最後にそれぞれジョブ開始コマンドと終了コマンドが含まれている。ホストコンピュータと印字装置の間でコネクションが確率されると、ホストコンピュータはジョブ開始コマンドを含んだ印刷ジョブデータを送信しジョブ終了コマンドまでの転送を完了すると、コネクションを切断する。印字装置側はジョブ終了コマンドを受信すると、それまで受信した印刷ジョブデータを印刷して排紙処理を行ない当該印刷ジョブが終了する。また、印刷ジョブデータの転送途中でコネクションが切断されると、切断処理を行なう。   FIG. 4 is a diagram for explaining print job data transferred through a connection between the host computer and the printing apparatus. As shown in FIG. 4A, one print job data transmitted from the host computer is generally included in one connection. The print job data includes a job start command and an end command at the beginning and end, respectively. When a connection is established between the host computer and the printing apparatus, the host computer transmits print job data including a job start command, and when the transfer up to the job end command is completed, the connection is disconnected. When the printing apparatus receives a job end command, it prints the print job data received so far, performs paper discharge processing, and ends the print job. Further, when the connection is disconnected during the transfer of the print job data, a disconnection process is performed.

ホストコンピュータと印字装置間のジョブ転送において図4(b)に示すように、印刷ジョブデータの転送途中でコネクションが切断されることがある。これが発生するケースとしては、ホストコンピュータと印字装置間の通信異常発生、ユーザによる印刷ジョブの途中キャンセルなどがある。印字装置側では、このような場合は印刷ジョブの終了コマンドが認識できないため、転送途中でコネクションが切断されると、ジョブ終了コマンド受信と解釈し、それまでに受信した印刷ジョブデータの印刷後に排紙するという、いわゆるキャンセル処理が行われる。   In the job transfer between the host computer and the printing apparatus, as shown in FIG. 4B, the connection may be cut off during the transfer of the print job data. Cases in which this occurs include the occurrence of a communication error between the host computer and the printing apparatus, and cancellation of the print job by the user. Since the print device end command cannot recognize the print job end command in such a case, if the connection is cut off during transfer, it is interpreted as a job end command reception, and the print job data received so far is discarded after printing. A so-called canceling process of paper is performed.

ところが、ジョブ終了コマンド受信前のコネクション切れについては前記ケース以外に図4(c)に示すように、例えば転送する画像サイズが大きために、ホストコンピュータ側で一つの印刷ジョブデータを複数のコネクションに分けて転送するという特殊なケースも存在する。このような特殊なケースの場合、従来の印字装置ではコネクションが切断された時点で、キャンセル処理してしまう。したがって、従来の印字装置は、後に接続されたコネクションで印刷ジョブデータの続きが送られても、次のジョブ開始コマンドを探しているので、続きの印刷ジョブデータはすべて破棄され正しい印字結果を得ることができなかった。   However, for connection disconnection before receiving the job end command, as shown in FIG. 4C, in addition to the above case, for example, because the image size to be transferred is large, one print job data is transferred to a plurality of connections on the host computer side. There is also a special case of transferring separately. In such a special case, the conventional printing apparatus cancels the connection when the connection is disconnected. Therefore, the conventional printing apparatus is searching for the next job start command even if the continuation of the print job data is sent through the connection connected later, so that all the subsequent print job data is discarded and a correct print result is obtained. I couldn't.

この問題を解決するために、従来の印字装置は、操作パネル上でコネクション認識を行なうかどうかの設定を行なう機能を設けている。ここの設定を「する」とした場合、転送途中でのコネクション切れは印刷ジョブの途中終了としてキャンセルを行なう。しかし、ここの設定を「しない」とした場合、印刷ジョブデータの転送途中でコネクションが切断されてもキャンセル処理は行われず、続きの印刷ジョブデータがくるのを待つ。これにより一つの印刷ジョブデータを複数のコネクションに分けて転送するという特殊なケースにおいても正常な出力結果を得ることが可能になる。   In order to solve this problem, the conventional printing apparatus has a function of setting whether to perform connection recognition on the operation panel. When the setting here is “Yes”, the disconnection in the middle of the transfer is canceled as the end of the print job. However, if this setting is set to “No”, the cancel process is not performed even if the connection is cut off during the transfer of the print job data, and the next print job data is awaited. As a result, a normal output result can be obtained even in a special case where one print job data is divided and transferred to a plurality of connections.

特開平10−161824号公報JP-A-10-161824 特開平10−235975号公報Japanese Patent Laid-Open No. 10-235975

しかしながら、ネットワークの普及や複数インターフェイスの対応によって、複数のユーザが印字装置を共有する環境が一般的になっている。このような環境の下では、特定のユーザが一つの印刷ジョブデータを複数のコネクションで分けて転送する場合、印刷するときには、ユーザはわざわざ印字装置の操作パネルを操作しコネクション認識の設定を確認しなければならない。また、印刷終了後には、他のユーザの印刷作業に影響が出ないようコネクション認識の設定を元に戻しておく必要がある。したがって、従来の印字装置では、一つの印刷ジョブデータを複数のコネクションに分けて転送する場合、印刷作業が煩雑で手間がかかるという問題がある。   However, an environment in which a plurality of users share a printing apparatus has become common due to the spread of networks and the support of a plurality of interfaces. In such an environment, when a specific user transfers a single print job data separately over multiple connections, when printing, the user bothers to check the connection recognition settings by operating the operation panel of the printer. There must be. Also, after the printing is completed, it is necessary to restore the connection recognition setting to the original so that other users' printing operations are not affected. Therefore, in the conventional printing apparatus, there is a problem that when one print job data is divided and transferred to a plurality of connections, the printing work is complicated and troublesome.

さらに、上述したように複数のユーザが一つの印字装置を共有するため、コネクション認識の設定を「しない」にしたときは、印字装置は続きの印刷ジョブデータを待たなければならず、その間は他のインターフェイスや他のユーザからの印刷ジョブを受け付けることができなるという問題がある。   Further, as described above, since a plurality of users share a single printing device, when the connection recognition setting is set to “OFF”, the printing device must wait for subsequent print job data, There is a problem that it is not possible to accept print jobs from other interfaces or other users.

本発明は上記事情に基づいてなされたものであり、一つの印刷ジョブデータを複数回のコネクションに分けて送信しても、操作パネルのコネクション認識の設定を変更することなく、正常に印刷動作を行うことができる印字装置を提供することを目的とするものである。   The present invention has been made based on the above circumstances, and even if one print job data is transmitted in multiple connections, the printing operation can be normally performed without changing the connection recognition setting on the operation panel. It is an object of the present invention to provide a printing apparatus that can be used.

上記の目的を達成するための請求項1記載の発明は、他の装置から受信した印刷ジョブデータを順次解析し、印刷用データに変換して印字動作を行なう印字装置において、印刷ジョブデータの受信途中でコネクションが切断されたときに、前記印刷ジョブデータの内の最後の一纏りのデータを記憶する記憶手段と、前記切断されたコネクションの後のコネクションで受信した印刷ジョブデータの内の先頭の一纏りのデータと前記記憶手段に記憶している最後の一纏りのデータとの整合性を判定する判定手段と、前記判定手段が整合性ありと判定したときに、コネクションの切断前に受信した印刷ジョブデータを解析して生成した印刷用データと、コネクションの切断後に受信した続きの印刷ジョブデータを解析して生成した印刷用データとに基づいて印字動作を行なう印刷制御手段と、を具備することを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, there is provided a printing apparatus that sequentially analyzes print job data received from another apparatus, converts the print job data into print data, and performs a printing operation. Storage means for storing the last batch of data in the print job data when the connection is cut off in the middle, and the head in the print job data received in the connection after the cut connection A determination unit that determines consistency between the group of data and the last group of data stored in the storage unit, and when the determination unit determines that there is consistency, before disconnection of the connection Print data generated by analyzing the received print job data and print data generated by analyzing subsequent print job data received after the connection is disconnected Characterized by comprising a print control means for performing printing operation Zui.

上記の目的を達成するための請求項2記載の発明は、請求項1記載発明において、前記判定手段が、前記最後の一纏りのデータのヘッダ情報が持つ当該一纏りのデータのデータサイズの情報が、前記記憶手段に記憶した最後の一纏りのデータのデータサイズと前記先頭の一纏りのデータのデータサイズとを加算した値と一致したときに整合性ありと判定するものであることを特徴とする。   In order to achieve the above object, the invention according to claim 2 is the invention according to claim 1, wherein the determination means has a data size of the group of data included in the header information of the last group of data. Is determined to be consistent when the data size of the last batch of data stored in the storage means matches the value obtained by adding the data size of the first batch of data. It is characterized by being.

上記の目的を達成するための請求項3記載の発明は、請求項1又は2記載の発明において、前記一纏りのデータが、1ライン分のデータであることを特徴とする。   The invention described in claim 3 for achieving the above object is characterized in that, in the invention described in claim 1 or 2, the one set of data is data for one line.

上記の目的を達成するための請求項4記載の発明は、請求項1、2又は3記載の発明において、前記コネクションが切断された後、一定時間経過しても続きの印刷ジョブデータを受信しなかったときには、新たな印刷ジョブデータを受信可能な状態とすることを特徴とする。   According to a fourth aspect of the invention for achieving the above object, in the first, second, or third aspect of the invention, after the connection is disconnected, a continuous print job data is received even after a predetermined time has elapsed. If no print job data is received, a new print job data can be received.

上記の目的を達成するための請求項5記載の発明は、請求項4記載の発明において、前記一定時間がユーザによって設定されたジョブタイムアウト時間の設定値であることを特徴とする。   The invention according to claim 5 for achieving the above object is characterized in that, in the invention according to claim 4, the predetermined time is a set value of a job timeout time set by a user.

上記の目的を達成するための請求項6記載の発明は、請求項1、2、3、4又は5記載の発明において、前記判定手段が整合性なしと判定したときには、前記印刷制御手段は、中断後のコネクションで送られてきた印刷ジョブデータを新規の印刷ジョブデータとして印刷処理を行なうことを特徴とする。   In order to achieve the above object, the invention according to claim 6 is the invention according to claim 1, 2, 3, 4 or 5, and when the determination means determines that there is no consistency, the print control means The print job data sent through the interrupted connection is printed as new print job data.

上記の目的を達成するための請求項7記載の発明は、請求項1、2、3、4、5又は6記載の発明において、前記印刷用データが、ディスプレイリスト等の中間コード、或いはビットマップデータであることを特徴とする。   In order to achieve the above object, the invention according to claim 7 is the invention according to claim 1, 2, 3, 4, 5 or 6, wherein the print data is an intermediate code such as a display list or a bitmap. It is characterized by being data.

上記の目的を達成するための請求項8記載の発明は、他の装置から受信した印刷ジョブデータを順次解析し、印刷用データに変換して印字動作を行う印字方法において、印刷ジョブデータの受信途中でコネクションが切断されたときに、前記印刷ジョブデータの内の最後の一纏りのデータを記憶する記憶工程と、前記切断されたコネクションの後のコネクションで受信した印刷ジョブデータの内の先頭の一纏りのデータと前記記憶工程で記憶した最後の一纏りのデータとの整合性を判定する判定工程と、前記判定工程で整合性ありと判定されたときに、コネクションの切断前に受信した印刷ジョブデータを解析して生成した印刷用データとコネクションの切断後に受信した続きの印刷ジョブデータを解析して生成した印刷用データとに基づいて印字動作を行なう印刷制御工程と、を具備することを特徴とする。   In order to achieve the above object, according to an eighth aspect of the present invention, there is provided a printing method in which print job data received from another apparatus is sequentially analyzed, converted into print data, and printed. A storage step for storing the last batch of data in the print job data when the connection is cut off in the middle, and the head in the print job data received in the connection after the cut connection A determination step for determining consistency between the batch of data and the last batch of data stored in the storage step; and when the determination step determines that there is consistency, before disconnection of the connection Based on print data generated by analyzing received print job data and print data generated by analyzing subsequent print job data received after disconnection Characterized by comprising a printing control step of performing the printing operation, the.

本発明によれば他の装置からの印刷ジョブデータが転送されている途中で、他の装置と印字装置とのコネクションが切断されたときに、判定手段により、切断されたコネクションの後のコネクションで受信した印刷ジョブデータの内の先頭の一纏りのデータと記憶手段に記憶している切断前のコネクションで受信した最後の一纏りのデータとの整合性を判定し、先頭の一纏りのデータと最後の一纏りのデータとの整合性がとれているときには、コネクションの切断前に受信した印刷ジョブデータを解析して生成した印刷用データとコネクションの切断後に受信した続きの印刷ジョブデータを解析して生成した印刷用データとに基づいて印字動作を行なう。したがって、ユーザは、印字装置の操作パネルのコネクション認識を設定することなく、一つの印刷ジョブデータを複数のコネクションに分けて印字装置に転送して印刷を行なうことができる。   According to the present invention, when the connection between the other apparatus and the printing apparatus is disconnected while the print job data from the other apparatus is being transferred, the determination unit uses the connection after the disconnected connection. The consistency of the first batch of received print job data with the last batch of data received in the connection before disconnection stored in the storage means is determined, and the first batch is determined. When the data of the last is consistent with the last batch of data, the print data generated by analyzing the print job data received before the connection is disconnected and the subsequent print job received after the connection is disconnected A printing operation is performed based on the printing data generated by analyzing the data. Therefore, the user can perform printing by dividing one print job data into a plurality of connections and transferring it to the printing apparatus without setting connection recognition on the operation panel of the printing apparatus.

以下に、図面を参照して、本願に係る発明を実施するための最良の形態について説明する。図1は本発明の一実施形態である印字装置の制御ブロック図である。本実施形態の印字装置は、装置全体の制御を司るCPUと、制御用のプログラムおよび各種データを不揮発的に格納するROMと、CPUの処理に利用される作業領域やデータの一時記憶領域として利用されるRAM等を備えており、図1の実線部分はCPUとROMの制御プログラムとにより実現される機能である。また、図1の点線部分はRAM等の記憶部である。また、以下では、ホストコンピュータから印刷ジョブデータを受信して印刷を行なう場合について説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a control block diagram of a printing apparatus according to an embodiment of the present invention. The printing apparatus according to the present embodiment is used as a CPU that controls the entire apparatus, a ROM that stores a control program and various data in a nonvolatile manner, a work area used for processing of the CPU, and a temporary storage area for data. A solid line portion in FIG. 1 is a function realized by a CPU and a ROM control program. 1 is a storage unit such as a RAM. In the following, a case will be described in which print job data is received from the host computer and printing is performed.

本実施形態の印字装置は、ホストコンピュータからの印刷ジョブデータを受信する受信部1と、受信した印刷ジョブデータを一時的に格納するジョブバッファ2と、受信した印刷ジョブデータの解析や中間コードデータの生成等の制御を行う印刷ジョブ制御部(印刷制御手段)3と、印刷ジョブ制御部3によって生成された中間コードデータを一時記憶する中間コードバッファ4と、中間コードバッファ4に格納された中間コードデータを印刷可能なビットマップデータに変換する等の処理を行うビットマップ展開処理部5と、実際に印字を行う印刷部6と、コネクションが切断されたときに最後の1ライン分のデータ(最後の一纏りのデータ)を記憶するワークメモリ(記憶手段)7と、切断されたコネクションの後のコネクションで送られてきた印刷ジョブデータと切断前の印刷ジョブデータとの整合性を判定する判定処理部(判定手段)8と、コネクションが切断されたときに既に受信した印刷ジョブデータを解析して生成した中間コードを記憶するハードディスク9とを備えている。   The printing apparatus according to the present embodiment includes a receiving unit 1 that receives print job data from a host computer, a job buffer 2 that temporarily stores received print job data, analysis of received print job data, and intermediate code data. A print job control unit (printing control means) 3 that performs control such as generation, an intermediate code buffer 4 that temporarily stores intermediate code data generated by the print job control unit 3, and an intermediate code stored in the intermediate code buffer 4 A bitmap development processing unit 5 that performs processing such as converting code data into printable bitmap data, a printing unit 6 that actually performs printing, and data for the last line when the connection is disconnected ( Sent in the work memory (storage means) 7 that stores the last batch of data) and the connection after the disconnected connection Determination processing unit (determination means) 8 for determining the consistency between the print job data received and the print job data before disconnection, and an intermediate code generated by analyzing print job data already received when the connection is disconnected Are stored in the hard disk 9.

ワークメモリ7は、ジョブ終了コマンドを受信する前にコネクションの切断が発生したときに、途中まで受信した印刷ジョブデータの内の最後の1ライン分のデータ(最後の一纏りのデータ)を一時的に記憶するものである。このワークメモリ7に記憶した1ライン分のデータは、切断されたコネクションの後のコネクションで受信した印刷ジョブデータがコネクションの切断前に受信した印刷ジョブデータの続きであるか否かを判定するときに使用する。ジョブ終了コマンドを受信する前に、コネクションが切断される場合としては、ユーザによる印刷ジョブのキャンセルや通信障害等によるキャンセルの他に、ホストコンピュータ側の事情、例えば印刷ジョブデータである画像データのサイズが大きすぎる場合に、一つの印刷ジョブデータを複数のコネクションに分けて送信する場合がある。   When the connection is disconnected before receiving the job end command, the work memory 7 temporarily stores the last line of data (the last batch of data) of the print job data received halfway. Is memorized. The data for one line stored in the work memory 7 is used to determine whether the print job data received in the connection after the disconnected connection is a continuation of the print job data received before the connection is disconnected. Used for. When the connection is disconnected before receiving the job end command, the user can cancel the print job or cancel due to a communication failure, for example, the situation on the host computer side, for example, the size of the image data that is the print job data. Is too large, one print job data may be transmitted by dividing it into a plurality of connections.

印刷ジョブ制御部3は、ジョブバッファ2に記憶された印刷ジョブデータを解析して中間コードデータを生成するとともに、コネクション切断時の制御を行う。本実施形態では、印刷ジョブデータから直接、印刷用のデータであるビットマップデータには展開しない。ビットマップデータはデータサイズが大きくて扱い難いので、一度、データサイズの小さい中間コードデータに変換している。また、印刷ジョブ制御部3が行なう解析には、印刷ジョブデータに含まれているジョブ開始コマンドやジョブ終了コマンド等のコマンドの解析が含まれる。中間コードバッファ4は、印刷ジョブ制御部3によって生成された中間コードデータを、所定量、例えば1ページ分保持する。   The print job control unit 3 analyzes the print job data stored in the job buffer 2 to generate intermediate code data, and controls when the connection is disconnected. In this embodiment, the print job data is not directly developed into bitmap data that is data for printing. Since bitmap data has a large data size and is difficult to handle, it is once converted into intermediate code data having a small data size. The analysis performed by the print job control unit 3 includes analysis of commands such as a job start command and a job end command included in the print job data. The intermediate code buffer 4 holds intermediate code data generated by the print job control unit 3 for a predetermined amount, for example, one page.

ビットマップ展開処理部5は、印刷ジョブ制御部3の指示により、中間コードバッファ4から中間コードデータを読み出して、中間コードデータを印刷可能なビットマップデータに変換し、変換したビットマップデータを1ページ分のデータ毎に、或いは1バンド分のデータ毎に印刷部6に転送する。また、ビットマップ展開処理部5は、一つの印刷ジョブデータが複数のコネクションに分けて転送されたときに、元の一つの印刷ジョブデータのビットマップデータにまとめる処理を行なう。   The bitmap development processing unit 5 reads the intermediate code data from the intermediate code buffer 4 according to an instruction from the print job control unit 3, converts the intermediate code data into printable bitmap data, and converts the converted bitmap data to 1 The data is transferred to the printing unit 6 for each page of data or for each band of data. In addition, the bitmap development processing unit 5 performs a process of collecting bitmap data of the original one print job data when one print job data is divided and transferred to a plurality of connections.

ハードディスク9は、ジョブ終了コマンドを受信する前にコネクションの切断が発生したときに、途中まで受信した印刷ジョブデータを解析して生成し、中間コードバッファ4に記憶してある中間コードデータを保存するものである。   The hard disk 9 analyzes and generates print job data received halfway when connection disconnection occurs before receiving the job end command, and stores the intermediate code data stored in the intermediate code buffer 4. Is.

判定処理部8は、印刷ジョブ制御部3から判定の依頼を受けると、ジョブバッファ2に記憶された今回のコネクションで受信した印刷ジョブデータの先頭の1ライン分のデータ(先頭の一纏りのデータ)と、ワークメモリ7に一時的に記憶したコネクション切断前の最後の1ライン分のデータ(最後の一纏りのデータ)との整合性を判定する。両方の整合性が取れたとき、すなわち、両方の印刷ジョブデータを繋げることができたときには、印刷ジョブ制御部3に解析可能なデータであることを通知する。一方、両方のデータを繋げることができないときは、その旨の信号を通知する。   When the determination processing unit 8 receives a determination request from the print job control unit 3, the data for the first line of the print job data received by the current connection stored in the job buffer 2 (a group of heads). Data) and the consistency of the last one line of data (the last batch of data) before connection disconnection temporarily stored in the work memory 7 is determined. When the consistency of both is obtained, that is, when both print job data can be connected, the print job control unit 3 is notified that the data can be analyzed. On the other hand, when both data cannot be connected, a signal to that effect is notified.

次に、判定処理部8について図2をも参照して詳述する。図2は、印刷ジョブデータの一ライン分のデータを説明するための図である。ホストコンピュータから送られる印刷ジョブデータには、多数のラインデータ(一ライン分のデータ)20の他に、印刷ジョブデータの先頭に配置されているジョブ開始コマンドや印刷ジョブデータの最後に配置されているジョブ終了コマンドが含まれている。各ラインデータ20は、ヘッダ情報21と、印字するための実際のデータ部分であるデータ本体22とを有している。ヘッダ情報21は、データ本体22が何バイトのデータであるのかを示すデータサイズ情報21aを含んでいる。   Next, the determination processing unit 8 will be described in detail with reference to FIG. FIG. 2 is a diagram for explaining data for one line of print job data. The print job data sent from the host computer includes a large number of line data (data for one line) 20, a job start command arranged at the beginning of the print job data, and an arrangement at the end of the print job data. The job end command is included. Each line data 20 has header information 21 and a data body 22 that is an actual data portion for printing. The header information 21 includes data size information 21a indicating how many bytes the data body 22 is.

印刷ジョブ制御部3は、ジョブ開始コマンドの受領により一つの印刷ジョブの開始を認識し、ジョブ終了コマンドの受領により、その一つの印刷ジョブの終了を認識する。今、例えば図2の一点鎖線Xで示す位置で、コネクションが切断されると、印刷ジョブ制御部3は、ジョブ終了コマンドを受信しない状態でコネクションが切断されたので、ユーザによるキャンセルや通信障害等によるキャンセルなのか、または一つの印刷ジョブデータを複数のコネクションに分けて送信したのかが分らない。そこで、印刷ジョブ制御部3は、ジョブ終了コマンドを受信しないでコネクションが切断されたときに、受信した最後のラインデータ20をワークメモリ7に記憶する。この場合、一点鎖線Xの位置でコネクションが切断されたので、ワークメモリ7には、最後のラインデータ20のうち、ヘッダ情報21から切断されたところまでのデータ、すなわちヘッダ情報21とデータ本体22のうちの先行部分データ22aが記憶される。本明細書では、このようにしてワークメモリ7に記憶された切断されたデータも最後のラインデータ(最後の一纏りのデータ)という。   The print job control unit 3 recognizes the start of one print job by receiving a job start command, and recognizes the end of the one print job by receiving a job end command. Now, for example, when the connection is disconnected at the position indicated by the alternate long and short dash line X in FIG. 2, the print job control unit 3 disconnects the connection without receiving the job end command. I don't know if it was canceled by, or if one print job data was sent in multiple connections. Therefore, the print job control unit 3 stores the received last line data 20 in the work memory 7 when the connection is disconnected without receiving the job end command. In this case, since the connection is disconnected at the position of the alternate long and short dash line X, the data up to the point where the header information 21 is disconnected from the last line data 20 in the work memory 7, that is, the header information 21 and the data body 22 Of the preceding part data 22a is stored. In this specification, the cut data stored in the work memory 7 in this way is also referred to as the last line data (last batch of data).

ホストコンピュータが一つの印刷ジョブデータを複数のコネクションに分けて印字装置に送るときには、次のコネクションで、図2の一点鎖線Xの部分から印刷ジョブデータの転送を始める。この場合、印刷ジョブ制御部3は、この新たなコネクションで受信した印刷ジョブデータの先頭のラインデータ、すなわち図2のデータ本体22のうちの後続部分データ22bを判定処理部9に転送して、判定を依頼する。本明細書では、この後続部分データ22bのことも先頭のラインデータ(先頭の一纏りのデータ)という。   When the host computer divides one print job data into a plurality of connections and sends it to the printing apparatus, the transfer of the print job data is started from the portion indicated by the alternate long and short dash line X in FIG. In this case, the print job control unit 3 transfers the head line data of the print job data received through this new connection, that is, the subsequent partial data 22b in the data body 22 of FIG. Request a decision. In the present specification, the subsequent partial data 22b is also referred to as head line data (a group of head data).

判定処理部8は、印刷ジョブ制御部3から送られてきた後続部分データ22bと、ワークメモリ7に記憶されているヘッダ情報21と先行部分データ22aとを照合し、整合性を判定する。この場合の整合性は、切断されたラインデータのヘッダ情報に格納されているラインデータのデータサイズ情報21aと、先行部分データ22aのデータサイズと後続部分データ22bのデータサイズとを加算した値とを比較し、両者が一致していれば、整合性ありの信号を印刷ジョブ制御部3に送る。一方、両者が一致していなければ、一致していない旨の信号を印刷ジョブ制御部3に送る。このように、本実施形態では、ジョブ終了コマンドを受信しないうちにコネクションが切断された場合、この切断により分断されたラインデータをつなぎ、ヘッダ情報が有するデータサイズ情報と実際のデータ本体のデータサイズが一致するか否かで整合性を判断する。   The determination processing unit 8 compares the subsequent partial data 22b sent from the print job control unit 3, the header information 21 stored in the work memory 7 and the previous partial data 22a, and determines consistency. The consistency in this case is the value obtained by adding the data size information 21a of the line data stored in the header information of the cut line data, the data size of the preceding partial data 22a, and the data size of the subsequent partial data 22b. If the two match, a signal having consistency is sent to the print job control unit 3. On the other hand, if they do not match, a signal indicating that they do not match is sent to the print job control unit 3. As described above, in this embodiment, when the connection is disconnected before receiving the job end command, the line data divided by this disconnection is connected, and the data size information included in the header information and the actual data size of the data body are connected. Consistency is judged by whether or not.

判定処理部8が整合性ありの信号を印刷ジョブ制御部3に送ると、印刷ジョブ制御部3は、今回のコネクション切断を、複数コネクションに分けた一つの印刷ジョブデータの転送と認識し、中断した印刷処理を再実行すべく、ビットマップ展開処理部5にコネクション切断前のデータと次のコネクションで転送されてきたデータとを用いて処理を行なうよう指示を送る。ビットマップ展開処理部5は、ハードディスク9に格納してあるコネクション切断前に受信し、解析した中間コードデータと、中間コードバッファ5に記憶されている今回のコネクションで受信し、解析した中間コードデータとを用いてビットマップデータを生成して、印刷部6に転送する。これにより中断した印刷処理が再実行される。   When the determination processing unit 8 sends a consistency signal to the print job control unit 3, the print job control unit 3 recognizes the current disconnection as transfer of one print job data divided into a plurality of connections, and interrupts it. In order to re-execute the print processing, an instruction is sent to the bitmap development processing unit 5 to perform processing using the data before disconnection and the data transferred through the next connection. The bitmap development processing unit 5 receives the analyzed intermediate code data stored in the hard disk 9 before disconnection, and the analyzed intermediate code data received in the current connection stored in the intermediate code buffer 5 and analyzed. Are used to generate bitmap data and transfer them to the printing unit 6. As a result, the interrupted printing process is re-executed.

一方、判定処理部8が一致していない旨の信号を送ると、新規の印刷ジョブとして印刷が実行される。   On the other hand, when the determination processing unit 8 sends a signal indicating that they do not match, printing is executed as a new print job.

図3は本実施形態の印字装置において印刷ジョブデータのジョブ終了コマンドを受信する前にコネクションが切断されたときのフローチャートである。受信部1がホストコンピュータから印刷ジョブデータを受信すると、受信した印刷ジョブデータはジョブバッファ2に格納される。印字装置は、受信部1により受信処理をしながら、印刷ジョブ制御部3により受信した印刷ジョブデータを順次解析する処理を行なう(S11)。   FIG. 3 is a flowchart when the connection is disconnected before receiving the job end command of the print job data in the printing apparatus of the present embodiment. When the receiving unit 1 receives print job data from the host computer, the received print job data is stored in the job buffer 2. The printing apparatus performs processing for sequentially analyzing the print job data received by the print job control unit 3 while receiving processing by the receiving unit 1 (S11).

今、印刷ジョブデータ受信中にジョブ終了コマンドを認識せずにコネクションが切断された場合、印刷ジョブ制御部3は何らかの要因で印刷ジョブデータが途中で切れたと認識する(S12)。ただし、この時点では、ユーザによるキャンセルや通信障害等によるキャンセルなのか、またはホストコンピュータが一つの印刷ジョブを複数のコネクションに分けて送信したものかは分らない。そこで、これまで受信した印刷ジョブデータを解析して生成した中間コードデータを中間コードバッファ4からハードディスク9にすべて保存・退避させる(S13)。さらに、コネクション切断直前に受信した印刷ジョブデータの最後のラインデータをワークメモリ7に保持する(S14)。   If the connection is disconnected without recognizing the job end command while receiving the print job data, the print job control unit 3 recognizes that the print job data has been cut off for some reason (S12). However, at this point in time, it is unknown whether the cancellation is due to a user or a communication failure, or whether the host computer has transmitted one print job divided into a plurality of connections. Therefore, all the intermediate code data generated by analyzing the print job data received so far is saved and saved from the intermediate code buffer 4 to the hard disk 9 (S13). Further, the last line data of the print job data received immediately before disconnection is held in the work memory 7 (S14).

上記のステップ13及び14の一時退避処理が完了すると、中間コードバッファ4やジョブバッファ2のデータをクリアし、次の印刷ジョブデータの受付可能状態とする(S15)。ステップS16で、ホストコンピュータから次の印刷ジョブデータを受信すると、印刷ジョブ制御部4は、判定処理部8に今回受信した印刷ジョブデータとコンピュータの中断前に受信した印刷ジョブデータとの整合性の判定を依頼する。判定処理部8は、ワークメモリ7上にコネクション切断直前に受信した最後のラインデータが保存されているかどうかをチェックする(S17)。ワークメモリ7に最後のラインデータが保持されていれば、判定処理部8はその最後のラインデータと新たに受信した印刷ジョブデータの先頭のラインデータとの整合性をチェックし、新たに受信した印刷ジョブデータが中断前のコネクションの印刷ジョブデータの続きかどうかを判定する(S18)。   When the temporary saving process in steps 13 and 14 is completed, the data in the intermediate code buffer 4 and the job buffer 2 are cleared, and the next print job data can be received (S15). When the next print job data is received from the host computer in step S16, the print job control unit 4 checks the consistency between the print job data received this time by the determination processing unit 8 and the print job data received before the interruption of the computer. Request a decision. The determination processing unit 8 checks whether or not the last line data received immediately before disconnection is stored on the work memory 7 (S17). If the last line data is held in the work memory 7, the determination processing unit 8 checks the consistency between the last line data and the first line data of the newly received print job data, and the newly received data It is determined whether the print job data is a continuation of the print job data of the connection before the interruption (S18).

ステップ18で、判定処理部8が続きのデータであると判定し、その結果を印刷ジョブ制御部3に通知すると、印刷ジョブ制御部3は、ビットマップ展開処理部5に再実行の指示を行なう。また、印刷ジョブ制御部3は、今回受信した印刷ジョブデータを解析して中間コードデータを生成し、生成した中間コードデータを中間コードバッファ4に記憶する。ビットマップ展開処理部5は、印刷ジョブ制御部3からの再実行の指示を受けると、ハードディスク9に記憶してある中断前のコネクションの中間コードデータを順次読み出し(S19)、また中間コードバッファ4に記憶されている今回のコネクションで受信した続きの印刷ジョブデータを解析して生成した中間コードデータを読み出して、ジョブ終了コマンドを受信する前にコネクションが切断されたときの印刷ジョブを再実行し印刷動作を開始する(S20)。この再実行の印刷処理が完了すると、印刷ジョブ制御部3はハードディスク9およびワークメモリ7に保持してあるデータをクリアして(S21)、この処理を完了する。   In step 18, when the determination processing unit 8 determines that the data is continued and notifies the result to the print job control unit 3, the print job control unit 3 instructs the bitmap development processing unit 5 to re-execute. . Also, the print job control unit 3 analyzes the print job data received this time to generate intermediate code data, and stores the generated intermediate code data in the intermediate code buffer 4. Upon receiving a re-execution instruction from the print job control unit 3, the bitmap development processing unit 5 sequentially reads the intermediate code data of the connection before interruption stored in the hard disk 9 (S19), and the intermediate code buffer 4 The intermediate print data generated by analyzing the subsequent print job data received in the current connection stored in is read, and the print job when the connection is disconnected is re-executed before the job end command is received. A printing operation is started (S20). When the re-execution printing process is completed, the print job control unit 3 clears the data held in the hard disk 9 and the work memory 7 (S21), and completes this process.

また、ステップS17の判定で、新たに印刷ジョブデータを受信したときにワークメモリ7上にデータが保存されていないとき、また、保存されていても、ステップS18の判定で、ワークメモリ7に記憶された最後のラインデータと、今回のコネクションで受信した先頭のラインデータとの整合性が取れなかったときは、ステップS22に移行して、ハードディスク9から中間コードデータを読み込むことなく、新たに受信した印刷ジョブデータに対して通常の印刷処理が行なわれる。この後、新たな印刷ジョブデータを受信して印刷処理を行なう通常の印刷処理に戻る。   Further, when it is determined in step S17 that new print job data is received and no data is stored in the work memory 7, or even if it is stored, it is stored in the work memory 7 in step S18. If the last line data received is not consistent with the first line data received in this connection, the process proceeds to step S22 to receive a new code without reading intermediate code data from the hard disk 9. Normal print processing is performed on the print job data. Thereafter, the process returns to normal printing processing in which new printing job data is received and printing processing is performed.

また、ステップS16の判定で、新たな印刷ジョブデータを受信しなかったときは、ステップS23に移行し、一定時間経過した否かを判断する。この場合の一定時間は、ユーザによって設定される、いわゆるタイムアウト時間である。ハードディスク9及びワークメモリ7にそれぞれデータが保持されている状態で新たに印刷ジョブデータを一定時間受信しなかった場合、前のコネクション切断は通信障害やユーザのオペレーションによるジョブキャンセルと判断し、ハードディスク9に保存した中間コードデータやワークメモリ7に保持した最後のラインデータをクリアして(S21)、この処理を終了し、新たな印刷ジョブデータを受信して印刷処理を行なう通常の印刷処理に戻る。   If it is determined in step S16 that no new print job data has been received, the process proceeds to step S23 to determine whether or not a predetermined time has elapsed. The fixed time in this case is a so-called timeout time set by the user. When new print job data is not received for a certain period of time while the data is held in the hard disk 9 and the work memory 7, it is determined that the previous connection disconnection is a communication failure or a job cancellation due to a user operation. The intermediate code data stored in the memory and the last line data held in the work memory 7 are cleared (S21), the process is terminated, and a new print job data is received and a normal print process is resumed. .

上記の本実施形態によれば、印刷ジョブデータの転送途中で、ホストコンピュータと印字装置間のコネクションが切断されたときに、切断時の最後のラインデータをワークメモリ7に記憶し、この最後のラインデータと中断後のコネクションで送られてくる先頭のラインデータとの整合性を判定し、整合性が取れれば中断した印刷ジョブデータの再実行を行って印刷処理を行ない、整合性が取れなければ、新たな印刷ジョブデータとして印刷処理を行なう。また、コネクションの中断後、一定時間経過しても、印刷ジョブデータを受信しないときには、コネクションの中断時に保持していた全てのデータを破棄して、新たな印刷ジョブデータを受け付けて印刷処理を行なう通常の状態に復帰する。したがって、本実施形態の印字装置は、ユーザのオペレーション或いは通信障害により印刷ジョブがキャンセルされたとき、或いは、一つの印刷ジョブデータを複数のコネクションに分けて転送してきたときにも、ユーザによるパネル操作を一切必要とせずに、印刷処理を行なうことができる。   According to the above-described embodiment, when the connection between the host computer and the printing apparatus is disconnected during the transfer of the print job data, the last line data at the time of disconnection is stored in the work memory 7, and this last data is stored. The consistency between the line data and the first line data sent in the connection after the interruption is judged, and if it is consistent, the interrupted print job data is re-executed to perform the printing process, and the consistency cannot be obtained. For example, print processing is performed as new print job data. If print job data is not received even after a certain period of time has elapsed after the connection is interrupted, all the data held when the connection is interrupted is discarded, and new print job data is received and print processing is performed. Return to normal state. Therefore, the printing apparatus according to the present embodiment allows the user to perform panel operation even when a print job is canceled due to a user operation or communication failure, or when one print job data is transferred in a plurality of connections. The printing process can be performed without any need for.

また、本実施形態によれば、ジョブ終了コマンドを受信しないでコネクションが切断されたときには、一時退避処理を行なって、中間コードバッファ4やジョブバッファ2のデータをクリアして、次の印刷ジョブデータの受付可能状態となるので、本装置をネットワークに接続して複数のユーザで共有している場合において、上記のコネクションの切断後に、新たな印刷ジョブデータが転送されたときには、この新たな印刷ジョブデータを受信して、印刷処理を行なうことができる。   Further, according to the present embodiment, when the connection is disconnected without receiving the job end command, the temporary saving process is performed to clear the data in the intermediate code buffer 4 and the job buffer 2, and the next print job data Therefore, when this device is connected to a network and shared by multiple users, when new print job data is transferred after the above connection is disconnected, this new print job Data can be received and the printing process can be performed.

尚、本発明は上記の実施形態に限定されるものではなく、その要旨の範囲内において種々の変形が可能である。例えば、上記の実施形態では、コネクションの中断時に中間コードデータをハードディスクに格納する場合について説明したが、この場合にハードディスクに格納するデータは、解析を行なった後のデータであれば、例えば、ビットマップデータであってもよい。   In addition, this invention is not limited to said embodiment, A various deformation | transformation is possible within the range of the summary. For example, in the above-described embodiment, the case where the intermediate code data is stored in the hard disk when the connection is interrupted has been described. In this case, if the data stored in the hard disk is data after analysis, for example, a bit is stored. It may be map data.

また、上記の本実施形態では、最後の一纏りのデータ及び先頭の一纏りのデータとして一つのラインデータを用いる場合について説明したが、本発明はこれに限定されるものではなく、一纏りのデータは2つ以上のラインデータであってもよい。   In the above-described embodiment, the case where one line data is used as the last group of data and the top group of data has been described. However, the present invention is not limited to this, and one line data is used. The combined data may be two or more line data.

また、本実施形態では、コネクションが切断された後、一定時間経過しても続きの印刷ジョブデータを受信しなかったときに、新たな印刷ジョブデータを受信可能な状態とし、このときの一定時間がユーザによって設定されたタイムアウト時間の設定値である場合について説明したが、この一定時間はタイムアウト時間とは別個に独立して設定できるようにしてもよい。   Further, in this embodiment, after the connection is disconnected, when no subsequent print job data is received even after a lapse of a certain time, a new print job data can be received. However, the fixed time may be set independently of the timeout time.

以上説明したように、本発明の印字装置によれば、例えばネットワーク接続された他の装置から一つの印刷ジョブデータを複数のコネクションに分けて印字装置に転送する場合でも、ユーザは印字装置の操作パネルのコネクション認識を設定せずに、複数のコネクションに分けて転送した一つの印刷ジョブデータを印字することができる。したがって、本発明は、例えばネットワークに接続されて複数のユーザに共有される印字装置に適用することができる。   As described above, according to the printing apparatus of the present invention, even when one print job data is divided into a plurality of connections and transferred to the printing apparatus from another apparatus connected to the network, the user can operate the printing apparatus. Without setting panel connection recognition, it is possible to print one print job data divided and transferred to a plurality of connections. Therefore, the present invention can be applied to, for example, a printing apparatus that is connected to a network and is shared by a plurality of users.

本発明の一実施形態である印字装置の制御ブロック図である。It is a control block diagram of the printing apparatus which is one Embodiment of this invention. 印刷ジョブデータの一ライン分のデータを説明するための図である。FIG. 6 is a diagram for explaining data for one line of print job data. 本実施形態の印字装置において印刷ジョブデータのジョブ終了コマンドを受信する前にコネクションが切断されたときのフローチャートである。10 is a flowchart when the connection is disconnected before receiving the job end command of the print job data in the printing apparatus of the present embodiment. ホストコンピュータと印字装置間のコネクションで転送される印刷ジョブデータを説明するための図である。FIG. 4 is a diagram for explaining print job data transferred through a connection between a host computer and a printing apparatus.

符号の説明Explanation of symbols

1 受信部
2 ジョブバッファ
3 印刷ジョブ制御部
4 中間コードバッファ
5 ビットマップ展開処理部
6 印刷部
7 ワークメモリ
8 判定処理部
9 ハードディスク
20 ラインデータ
21 ヘッダ情報
22 データ本体
21a データサイズ情報
22a 先行部分データ
22b 後続部分データ

DESCRIPTION OF SYMBOLS 1 Reception part 2 Job buffer 3 Print job control part 4 Intermediate code buffer 5 Bitmap expansion process part 6 Printing part 7 Work memory 8 Judgment process part 9 Hard disk 20 Line data 21 Header information 22 Data main body 21a Data size information 22a Preceding partial data 22b Subsequent partial data

Claims (8)

他の装置から受信した印刷ジョブデータを順次解析し、印刷用データに変換して印字動作を行なう印字装置において、
印刷ジョブデータの受信途中でコネクションが切断されたときに、前記印刷ジョブデータの内の最後の一纏りのデータを記憶する記憶手段と、
前記切断されたコネクションの後のコネクションで受信した印刷ジョブデータの内の先頭の一纏りのデータと前記記憶手段に記憶している最後の一纏りのデータとの整合性を判定する判定手段と、
前記判定手段が整合性ありと判定したときに、コネクションの切断前に受信した印刷ジョブデータを解析して生成した印刷用データと、コネクションの切断後に受信した続きの印刷ジョブデータを解析して生成した印刷用データとに基づいて印字動作を行なう印刷制御手段と、
を具備することを特徴とする印字装置。
In a printing device that sequentially analyzes print job data received from other devices, converts it into print data, and performs a printing operation,
Storage means for storing the last batch of data among the print job data when the connection is cut off during the reception of the print job data;
Determining means for determining consistency between the first group of print job data received in the connection after the disconnected connection and the last group of data stored in the storage unit When,
When the determination unit determines that there is consistency, the print data generated by analyzing the print job data received before disconnection of the connection and the subsequent print job data received after disconnection of the connection are generated Printing control means for performing a printing operation based on the printed data,
A printing apparatus comprising:
前記判定手段は、前記最後の一纏りのデータのヘッダ情報が持つ当該一纏りのデータのデータサイズの情報が、前記記憶手段に記憶した最後の一纏りのデータのデータサイズと前記先頭の一纏りのデータのデータサイズとを加算した値と一致したときに整合性ありと判定するものであることを特徴とする請求項1記載の印字装置。   The determination means includes the data size information of the last batch of data stored in the storage means and the data size information of the last batch of data included in the header information of the last batch of data. The printing apparatus according to claim 1, wherein the printing apparatus determines that there is consistency when the data size of a group of data matches a value obtained by adding the data sizes. 前記一纏りのデータは、1ライン分のデータであることを特徴とする請求項1又は2記載の印字装置。   The printing apparatus according to claim 1, wherein the batch of data is data for one line. 前記コネクションが切断された後、一定時間経過しても続きの印刷ジョブデータを受信しなかったときには、新たな印刷ジョブデータを受信可能な状態とすることを特徴とする請求項1、2又は3記載の印字装置。   4. A state in which new print job data can be received when subsequent print job data is not received after a lapse of a predetermined time after the connection is cut off. The printing device described. 前記一定時間はユーザによって設定されたジョブタイムアウト時間の設定値であることを特徴とする請求項4記載の印字装置。   The printing apparatus according to claim 4, wherein the predetermined time is a set value of a job timeout time set by a user. 前記判定手段が整合性なしと判定したときには、前記印刷制御手段は、中断後のコネクションで送られてきた印刷ジョブデータを新規の印刷ジョブデータとして印刷処理を行なうことを特徴とする請求項1、2、3、4又は5記載の印字装置。   2. The print control unit, when the determination unit determines that there is no consistency, performs print processing using the print job data sent through the interrupted connection as new print job data. The printing apparatus according to 2, 3, 4 or 5. 前記印刷用データは、ディスプレイリスト等の中間コード、或いはビットマップデータであることを特徴とする請求項1、2、3、4、5又は6記載の印字装置。   7. The printing apparatus according to claim 1, wherein the printing data is an intermediate code such as a display list or bitmap data. 他の装置から受信した印刷ジョブデータを順次解析し、印刷用データに変換して印字動作を行なう印字方法において、
印刷ジョブデータの受信途中でコネクションが切断されたときに、前記印刷ジョブデータの内の最後の一纏りのデータを記憶する記憶工程と、
前記切断されたコネクションの後のコネクションで受信した印刷ジョブデータの内の先頭の一纏りのデータと前記記憶工程で記憶した最後の一纏りのデータとの整合性を判定する判定工程と、
前記判定工程で整合性ありと判定されたときに、コネクションの切断前に受信した印刷ジョブデータを解析して生成した印刷用データと、コネクションの切断後に受信した続きの印刷ジョブデータを解析して生成した印刷用データとに基づいて印字動作を行なう印刷制御工程と、
を具備することを特徴とする印字方法。
In a printing method in which print job data received from other devices is sequentially analyzed, converted into print data, and a print operation is performed.
A storage step of storing the last batch of data among the print job data when the connection is cut off during the reception of the print job data;
A determination step for determining consistency between the first batch of print job data received in the connection after the disconnected connection and the last batch of data stored in the storage step;
When it is determined that there is consistency in the determination step, the print data generated by analyzing the print job data received before disconnection of the connection and the subsequent print job data received after disconnection of the connection are analyzed. A printing control process for performing a printing operation based on the generated printing data;
A printing method comprising:
JP2004312509A 2004-10-27 2004-10-27 Printing apparatus and printing method Withdrawn JP2006123261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004312509A JP2006123261A (en) 2004-10-27 2004-10-27 Printing apparatus and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004312509A JP2006123261A (en) 2004-10-27 2004-10-27 Printing apparatus and printing method

Publications (1)

Publication Number Publication Date
JP2006123261A true JP2006123261A (en) 2006-05-18

Family

ID=36718464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004312509A Withdrawn JP2006123261A (en) 2004-10-27 2004-10-27 Printing apparatus and printing method

Country Status (1)

Country Link
JP (1) JP2006123261A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013151128A (en) * 2012-01-26 2013-08-08 Seiko Epson Corp Image processing apparatus, image forming apparatus and image processing method
JP2014128898A (en) * 2012-12-28 2014-07-10 Brother Ind Ltd Printing equipment
JP2014221545A (en) * 2013-05-14 2014-11-27 株式会社リコー Image processing device, and printing job reading method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013151128A (en) * 2012-01-26 2013-08-08 Seiko Epson Corp Image processing apparatus, image forming apparatus and image processing method
JP2014128898A (en) * 2012-12-28 2014-07-10 Brother Ind Ltd Printing equipment
JP2014221545A (en) * 2013-05-14 2014-11-27 株式会社リコー Image processing device, and printing job reading method and program

Similar Documents

Publication Publication Date Title
JP5839845B2 (en) Printing apparatus, printing method, and program
JP4980776B2 (en) Image forming apparatus, program, and recording medium
US7675643B2 (en) Print controller, control method therefor and program
JP4532993B2 (en) Printing system and control method thereof, printing method, host device, and printer
JP2004341728A (en) Printer, printing system and cancellation method
US20030090713A1 (en) Print system, control method thereof, and print management apparatus and method
JP2006123261A (en) Printing apparatus and printing method
JP3134539B2 (en) Printer control device
US20040190048A1 (en) Image forming device and method
JPH1058788A (en) Printer and printing system
JP3230516B2 (en) Printer, recording medium and printer memory management method
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JPH09212318A (en) Printing controller and method for processing data in printing controller
JP4641355B2 (en) Proxy processing management system, proxy processing management device, control method, and storage medium
JP5062750B2 (en) Image forming apparatus
JPH0798638A (en) Image forming device
JPH08123639A (en) Information processing system and printer used for the same
JPH11134120A (en) Printing system
JP3840002B2 (en) Information processing apparatus, print control apparatus, print control method, and storage medium storing computer-readable program
JPH096556A (en) Printing data transfer system
JPH10143333A (en) Printer control unit
JPH09218758A (en) Image forming method and device therefor
JP2008250435A (en) Printing system, and prn file generation method in printing system
JP3774703B2 (en) Printing apparatus, control method, storage medium
JPH0664252A (en) Printing equipment having emulation mode

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080108