JP3713699B2 - Printing system - Google Patents

Printing system Download PDF

Info

Publication number
JP3713699B2
JP3713699B2 JP35562798A JP35562798A JP3713699B2 JP 3713699 B2 JP3713699 B2 JP 3713699B2 JP 35562798 A JP35562798 A JP 35562798A JP 35562798 A JP35562798 A JP 35562798A JP 3713699 B2 JP3713699 B2 JP 3713699B2
Authority
JP
Japan
Prior art keywords
printer
printing
response
completion
host device
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.)
Expired - Fee Related
Application number
JP35562798A
Other languages
Japanese (ja)
Other versions
JP2000181638A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP35562798A priority Critical patent/JP3713699B2/en
Publication of JP2000181638A publication Critical patent/JP2000181638A/en
Application granted granted Critical
Publication of JP3713699B2 publication Critical patent/JP3713699B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は印刷システムに関する。
【0002】
【従来の技術】
パーソナルコンピュータのようなホスト装置と、ホスト装置から印刷データを受けて印刷を行うプリンタとからなる印刷システムが知られている。通常のプリンタは受信バッファを持っている。ホスト装置が印刷データをプリンタへ送信し終わったとき、プリンタではその印刷データは受信バッファに貯まっていて、その印刷データが処理され印刷が完了するまでには更に時間がかかる。
【0003】
【発明が解決しようとする課題】
そのため、ホスト装置がプリンタへ送信し終わった印刷枚数と、プリンタが実際に印刷完了(排紙)した枚数との間には、同一時点で食違いがある。そのため、ホスト装置は、プリンタでの印刷完了枚数(排紙枚数)を正確に把握しユーザに伝えることができない。また、プリンタがマルチコピー(複数部数)印刷を行っているとき、ホスト装置は、何ページ目の何コピー目(何部数目)が印刷完了したかを正確に把握しユーザに伝えることができない。
【0004】
従って、本発明の目的は、ホスト装置がプリンタでの印刷完了枚数を正確に把握してユーザに伝えられる印刷システムを提供することにある。
【0005】
【課題を解決するための手段】
本発明の印刷システムは、プリンタと、このプリンタに通信可能に接続されてプリンタを制御するホスト装置とを備える。プリンタは、用紙各枚の印刷が完了したとき印刷完了を示す情報を発生する情報発生手段と、ホスト装置から印刷データを受信しつつ、応答を時間間隔をおいて複数回にわたって前記ホスト装置に返送する応答手段と、各応答を返送するとき、印刷完了を示す情報が発生されていれば、この情報を応答にセットする情報セット手段とを有する。ホスト装置は、印刷データを作成するデータ作成手段と、印刷データのページ数又はページ順序にかかるページ情報を管理するデータ管理手段と、印刷データをプリンタへ送信するデータ送信手段と、プリンタから返送される各応答を受ける応答受信手段と、受信した応答に印刷完了を示す情報がセットされていた場合、この印刷完了を示す情報と、データ管理手段が管理しているページ情報とに基づき、印刷完了したページ又は未印刷で残っているページ数に関わる印刷完了状況を把握する状況把握手段と、取得した印刷完了状況をユーザに提供するユーザインタフェース手段とを有する。
【0006】
この印刷システムによれば、ホスト装置がプリンタへ印刷データを送っている間、プリンタから複数回にわたって応答が返される。プリンタは、用紙各枚の印刷が完了する都度にその旨の情報を応答に含ませるので、ホスト装置は、その応答から、プリンタが現在ページ目を印刷し終わったか又は何ページが印刷未完了で残っているかを把握して、ユーザに通知することができる。
【0007】
好適な実施形態では、ホスト装置は、1つの印刷ジョブにかかる印刷データを複数のパケットに分割して、それら複数のパケットを順次に前記プリンタへ送信する。プリンタは、各パケットを受信する都度に各応答を返送する。
【0008】
好適な実施形態では、ホスト装置は、1つの印刷ジョブにかかる印刷データの各ページを複数のパケットに分割して、それら複数のパケットを順次に前記プリンタへ送信する。プリンタは、各パケットを受信する都度に各応答を返送する。
【0009】
好適な実施形態では、ホスト装置は、印刷データのページ数又はページ順序にかかるページ情報を管理し、受信した応答に含まれていた印刷完了を示す情報と、管理しているページ情報とに基づき、印刷完了したページ又は未印刷で残っているページ数に関わる印刷完了状況を把握する。
【0010】
好適な実施形態では、ホスト装置は、印刷データのページ数又はページ順序にかかるページ情報に加え、各ページのコピー枚数も管理し、受信した応答に含まれていた印刷完了を示す情報と、管理しているページ情報及びコピー枚数とに基づき、印刷完了したページとコピー枚目又は未印刷で残っているページ数とコピー枚数をに関わる印刷完了状況を把握する。
【0011】
本発明のシステムのホスト装置、典型的にはコンピュータにより実施することができるが、そのためのコンピュータプログラムは、ディスク型ストレージ、半導体メモリおよび通信ネットワークなどの各種の媒体を通じてコンピュータにインストールまたはロードすることができる。
【0012】
【発明の実施の形態】
図1は、本発明の一実施形態に従う印刷システムの全体構成を示す。
【0013】
ホストコンピュータ1にプリンタ3が接続されている。ホストコンピュータ1は、プリンタ1を制御するためのプログラムモジュールとして、プリンタドライバ5及びプリントモニタ9を備える。
【0014】
プリンタドライバ5は、プリンタ3の属性設定/表示、及び、プリントモニタ5へ送るべき印刷データの生成などを行うものである。プリンタドライバ5は、プリンタ3の属性設定/表示をするためのグラフィックユーザインタフェース画面を、ホストコンピュータ11のディスプレイに表示し、そして、マウスやキーボードなどの入力装置13からのユーザ命令に応答して動作する。プリンタドライバ5は、生成した印刷データを、OSがもつスプーラ7に渡す。
【0015】
プリントモニタ9は、プリンタドライバ3の生成した印刷データのスプーラ7からの入力、入力した印刷データを元にしたプリンタ3との通信プロトコルに従ったパケットの作成、プリンタ3とのパケットと応答のやり取り、及び、プリンタ3からの応答に含まれるプリンタステータスやエラーや印刷完了などの情報に基づくエラー/ワーニング/枚数表示などを行うものである。プリントモニタ9は、エラー/ワーニング/枚数表示を行うためのグラフィックユーザインタフェース画面を、ディスプレイ11に表示し、そして、マウスやキーボードなどの入力装置13からのユーザ命令に応答して動作する。
【0016】
プリンタ3は、例えば、電子複写方式の印刷エンジン29を備えたページプリンタである。ホストコンピュータ1のプリントモニタ9とプリンタ3との間では、所定の通信プロトコルに従って、プリントモニタ9からプリンタ3へパケットが送られ、プリンタ3からプリントモニタ9へそのパケットに対する応答が返される、という動作が繰り返される。パケットと応答は必ず対になっている。プリンタ3に送られるパケットには、印刷ジョブの開始やページの開始などを宣言するもの、各ページのイメージデータを送信するものもの、プリンタ3のステータスを問合せるものなど複数の種類がある。プリンタ3は、コマンドの受け取りを完了した直後に、そのコマンドに対する応答を返信する。各応答には、その応答を返信可能となった時点でのプリンタ3のステータス情報、エラー情報及び印刷完了情報などが含まれる。
【0017】
各ページのイメージデータは複数のパケットに分割されてプリンタ3へ送られる。一般にプリンタ3へ送られるイメージデータには、ビットマップ展開されたビットイメージや、関数で表現されたベクターイメージなどの複数の種類があり、どの種類であっても本発明は適用可能であるが、この実施形態では、説明を分かり易くするために、ホスト側でビットマップ展開されたビットイメージがプリンタ3へ送られるものとする。そして、この実施形態では、各ページのビットイメージが、各バンド単位のバンドデータのパケットに分割されてプリンタ3へ送られるものとする。
【0018】
プリンタ3は、CPU21、RAM23、DMAコントローラ25、印刷前処理回路27、印刷エンジン29などを有する。プリンタ3に受信されたパケットは、DMAコントローラ25によってRAM23内の受信バッファに蓄積される。CPU21は、受信バッファに書かれたパケットを順に解釈し、そのパケットに対する応答を作成してプリントモニタ9へ返信する。各受信パケットに含まれるバンドデータは、DMAコントローラ25によって印刷前処理回路27へ送られる。印刷前処理回路27は、圧縮されているビットイメージの伸張や、文字・図形輪郭のスムージング処理などの前処理を行ない、前処理したビットイメージを元にパルス幅変調されたレーザパルス信号を生成して印刷エンジン29へ与える。印刷エンジン29は、そのレーザパルス信号を用いて電子写真方式により用紙上にページイメージを印刷する。
【0019】
また、CPU21は、プリンタ3内の各部(25、27、29など)から、現在のプリンタステータス(用紙残量、トナー残量、受信バッファ空き容量など)、エラー発生の有無や種類、及び印刷エンジン29が用紙の各枚毎の印刷と排紙を完了したか否かなどの通知を随時に受けて、受けた最新の情報をRAM23のワークエリアに保存する。そして、パケットに対する応答を返信するときに、CPU21は、ワークエリア内の最新情報に基づくプリンタステータス、エラー及び印刷完了の情報を、その応答に入れてプリントモニタ9に返信する。
【0020】
図2は、以上の構成の下での、印刷時におけるホストコンピュータ1とプリンタ3の動作流れを示す。図3は、このときのホストコンピュータ1とプリンタ3間のパケットと応答のやり取りの手順を示す。
【0021】
ホストコンピュータ1において、プリンタドライバ5の作成した1つの印刷ジョブにかかる印刷データがスプーラ7からプリントモニタ9に入力開始すると、図2に示すフローにおける印刷開始となる。プリンタモニタ9は、まず、当該印刷ジョブの印刷枚数カウンタを0に初期設定する(S1)。続いて、プリントモニタ9は、入力した印刷データを構成する各ページ、及び各ページ内の各バンドを認識して、ページの順序、各ページ内のバンドの順序及び各ページのコピー枚数(印刷部数)を把握しつつ(S2)、その印刷データをプリンタ3との通信プロトコルいに従ったパケット形式に変換して、その印刷データパケットを上記把握した順序に従ってプリンタ3へ送信する(S3)。
【0022】
ホストコンピュータ1からプリンタ3へ送信される印刷データパケットの順序は、図3に示す通りである。
【0023】
最初に、ジョブ開始パケットが送られる。ジョブ開始パケットは、印刷ジョブの開始を宣言すると共に、そのジョブの属性(解像度、階調深さ、輪郭スムージング処理ON/OFF、用紙種類など)を指定する。次に、第1ページのページ開始パケットが送信される。ページ開始パケットは、ページの開始を宣言すると共に、そのページの属性(用紙サイズ、総バンド数、バンドサイズ、マージン、コピー枚数など)を指定する。次に、そのページ内の各バンドのバンドデータパケットがバンド順に送信される。バンドデータパケットには、そのバンドの属性(圧縮/非圧縮、データサイズなど)とそのバンドのビットイメージデータとが含まれている。
【0024】
第1ページの全てのバンドのバンドデータパケットが送信し終わると、第1ページのページ終了パケットが送られる。ページ終了パケットは、ページの終了を宣言する。続いて、第2ページについて、ページ開始パケット、全バンドのバンドデータパケット、及びページ終了パケットが順に送られる。印刷ジョブ内の全ページについてこれが繰り返される。最後のページのページ終了パケットに続いて、ジョブ終了パケットが送られ、これで1つの印刷ジョブの印刷データの送信が完了する。
【0025】
再び図2を参照する。上記のような順序で各印刷データパケットがプリンタ3へ送信される都度、プリンタ3では、DMAコントローラ25が各印刷データパケットを受信して(S11)、これをRAM23内の受信バッファに書き込む(S12)。続いて、プリンタ3のCPU21が、その受信バッファに書き込まれた印刷データパケットを解釈し、そのパケットに対する応答を作成するために、RAM23のワークエリアから最新のプリンタステータス、エラー及び印刷完了に関する情報を取得する(S14)。CPU21は、そのワークエリアからの情報の中に、用紙各枚の印刷完了(排紙完了)を示す情報が含まれているか否かをチェックする(S15)。この印刷完了情報は、印刷エンジン29が用紙1枚の印刷と排紙を完了する都度に、印刷エンジン29から発される信号に応答して、CPU21がRAM23のワークエリアに書き込むものである。この印刷完了情報がワークエリアからの最新情報に含まれてなければ、CPU21は、その最新情報に含まれていたプリンタステータス情報と(エラーが発生している場合の)エラー情報とを応答にセットして(S16)、その応答をホストコンピュータ1に返信する(S18)。一方、上記印刷完了(排紙完了)情報が含まれていれば、CPU21は、プリンタステータス情報や(エラーが発生している場合の)エラー情報に加えて、印刷完了フラグを応答にセットして(S17)、その応答をホストコンピュータ1に返信する(18)。
【0026】
以上のプリンタ3の動作により、図3に示すように、ホストコンピュータ1がプリンタ3へ送る1つ1つの印刷データパケットに対して、プリンタ3からホストコンピュータ3へ応答が返され、その各応答には、その応答が返信された時点で用紙各枚の印刷と排紙が完了したか否かを示す情報(印刷完了フラグの有無)が含まれることになる。このような応答が返される都度、ホストコンピュータ1では、図2に示すように、プリントモニタ9がその応答を受信し(S4)、その応答に印刷完了フラグがセットされているか否かをチェックする(S5)。印刷完了フラグがセットされていた場合、プリンタモニタ9は、排紙枚数カウンタを1だけ増やし(S7)、その排紙枚数カウンタの値と、ステップS2で把握しているページ順序及び各ページのコピー枚数とに基づいて、何ページ目の何コピー枚目を印刷し終わったか(又は、何ページ分の何コピー枚数が未印刷で残っているか)を把握する(S8)。そして、プリントモニタ9は、受信した応答に含まれていた最新のプリンタステータスやエラーの情報、及び上記ステップS8で把握した印刷完了したページとコピー枚(又は残りページ数とコピー枚数)を、ホストコンピュータ1のディスプレイ11に表示する(S6)。
【0027】
以上の動作が、全ての印刷データパケットが送信し終わるまで繰り返される(S9)。
【0028】
以上、本発明の一実施形態を説明したが、上記の実施形態はあくまで本発明の説明のための例示であり、本発明を上記実施形態にのみ限定する趣旨ではない。従って、本発明は、上記実施形態以外の様々な形態でも実施することができるものである。
【図面の簡単な説明】
【図1】本発明の一実施形態の全体構成を示すブロック図。
【図2】印刷時におけるホストコンピュータ1とプリンタ3の動作を示すフローチャート。
【図3】印刷時におけるホストコンピュータ1とプリンタ3間のパケットと応答のやり取り手順を示す図。
【符号の説明】
1 ホストコンピュータ
3 ダムプリンタ
5 プリンタドライバ
7 スプーラ
9 プリントモニタ
11 ディスプレイ
13 入力装置
21 CPU
23 RAM
25 DMAコントローラ
27 印刷前処理回路
29 印刷エンジン
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printing system.
[0002]
[Prior art]
A printing system including a host device such as a personal computer and a printer that receives print data from the host device and performs printing is known. A normal printer has a receive buffer. When the host device finishes sending the print data to the printer, the printer stores the print data in the reception buffer, and it takes more time to process the print data and complete the printing.
[0003]
[Problems to be solved by the invention]
For this reason, there is a discrepancy at the same time between the number of printed sheets that the host device has sent to the printer and the number of printed sheets that have actually been printed (discharged) by the printer. For this reason, the host device cannot accurately grasp the number of printed sheets (number of discharged sheets) by the printer and transmit it to the user. Further, when the printer is performing multi-copy (multiple copies) printing, the host device cannot accurately know what number of pages and what number of copies (number of copies) has been printed, and cannot notify the user.
[0004]
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a printing system in which a host device can accurately grasp the number of prints completed by a printer and transmit it to a user.
[0005]
[Means for Solving the Problems]
The printing system of the present invention includes a printer and a host device that is communicably connected to the printer and controls the printer. The printer returns information to the host device over a plurality of times at time intervals while receiving print data from the host device and information generating means for generating information indicating completion of printing when printing of each sheet of paper is completed. Responding means, and information return means for setting this information in the response if information indicating completion of printing is generated when each response is returned. The host device includes data creation means for creating print data, data management means for managing page information related to the number or order of pages of the print data, data transmission means for sending print data to the printer, and returned from the printer. If the response receiving means that receives each response and information indicating completion of printing is set in the received response, the printing is completed based on the information indicating the completion of printing and the page information managed by the data management means. A status grasping means for grasping the print completion status relating to the number of pages that have been printed or not printed, and a user interface means for providing the user with the acquired print completion status.
[0006]
According to this printing system, a response is returned from the printer a plurality of times while the host device sends print data to the printer. Each time printing of each sheet of paper is completed, the printer includes information to that effect in the response. Therefore, the host device determines from the response whether the printer has finished printing the current page or how many pages have not been printed. The user can be notified of the remaining information and notified.
[0007]
In a preferred embodiment, the host device divides print data relating to one print job into a plurality of packets, and sequentially transmits the plurality of packets to the printer. The printer returns each response each time it receives each packet.
[0008]
In a preferred embodiment, the host device divides each page of print data relating to one print job into a plurality of packets, and sequentially transmits the plurality of packets to the printer. The printer returns each response each time it receives each packet.
[0009]
In a preferred embodiment, the host device manages the page information related to the number of pages or the page order of the print data, and based on the information indicating the print completion included in the received response and the managed page information. , Grasp the print completion status related to the number of pages that have been printed or the number of pages that have not been printed.
[0010]
In a preferred embodiment, the host device manages the number of copies of each page in addition to the page information related to the number of pages or the page order of the print data, information indicating the completion of printing included in the received response, and management Based on the page information and the number of copies, the print completion status related to the pages that have been printed and the number of pages that have been copied or left unprinted and the number of copies is determined.
[0011]
The host device of the system of the present invention, typically a computer, can be implemented by a computer program, which can be installed or loaded on the computer through various media such as disk storage, semiconductor memory, and communication network. it can.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows the overall configuration of a printing system according to an embodiment of the present invention.
[0013]
A printer 3 is connected to the host computer 1. The host computer 1 includes a printer driver 5 and a print monitor 9 as program modules for controlling the printer 1.
[0014]
The printer driver 5 performs attribute setting / display of the printer 3 and generation of print data to be sent to the print monitor 5. The printer driver 5 displays a graphic user interface screen for setting / displaying the attributes of the printer 3 on the display of the host computer 11 and operates in response to a user command from the input device 13 such as a mouse or a keyboard. To do. The printer driver 5 passes the generated print data to the spooler 7 included in the OS.
[0015]
The print monitor 9 inputs the print data generated by the printer driver 3 from the spooler 7, creates a packet according to the communication protocol with the printer 3 based on the input print data, and exchanges the packet and response with the printer 3. In addition, error / warning / number display based on information such as printer status, error, and printing completion included in the response from the printer 3 is performed. The print monitor 9 displays a graphic user interface screen for performing error / warning / number display on the display 11 and operates in response to a user command from the input device 13 such as a mouse or a keyboard.
[0016]
The printer 3 is, for example, a page printer provided with an electronic copying type print engine 29. Between the print monitor 9 of the host computer 1 and the printer 3, a packet is sent from the print monitor 9 to the printer 3 according to a predetermined communication protocol, and a response to the packet is returned from the printer 3 to the print monitor 9. Is repeated. Packets and responses are always paired. There are a plurality of types of packets sent to the printer 3, such as those for declaring the start of a print job and the start of a page, those for transmitting image data of each page, and those for inquiring the status of the printer 3. The printer 3 returns a response to the command immediately after completing the reception of the command. Each response includes status information, error information, print completion information, and the like of the printer 3 when the response can be returned.
[0017]
The image data of each page is divided into a plurality of packets and sent to the printer 3. In general, the image data sent to the printer 3 has a plurality of types such as a bitmap image developed as a bit map and a vector image expressed by a function, and the present invention can be applied to any type. In this embodiment, it is assumed that a bit image that is bitmap-developed on the host side is sent to the printer 3 for easy understanding. In this embodiment, it is assumed that the bit image of each page is divided into band data packets for each band and sent to the printer 3.
[0018]
The printer 3 includes a CPU 21, a RAM 23, a DMA controller 25, a pre-print processing circuit 27, a print engine 29, and the like. Packets received by the printer 3 are stored in a reception buffer in the RAM 23 by the DMA controller 25. The CPU 21 sequentially interprets the packets written in the reception buffer, creates a response to the packets, and returns the response to the print monitor 9. Band data included in each received packet is sent to the pre-printing processing circuit 27 by the DMA controller 25. The pre-printing processing circuit 27 performs pre-processing such as decompression of the compressed bit image and smoothing processing of the character / graphic outline, and generates a laser pulse signal that is pulse-width modulated based on the pre-processed bit image. To the print engine 29. The print engine 29 prints a page image on a sheet by electrophotography using the laser pulse signal.
[0019]
Further, the CPU 21 determines whether the current printer status (paper remaining amount, remaining toner amount, reception buffer free space, etc.), presence / absence or type of error, and print engine from each unit (25, 27, 29, etc.) A notification such as whether or not 29 has completed printing and discharging of each sheet of paper is received at any time, and the latest information received is stored in the work area of the RAM 23. When returning a response to the packet, the CPU 21 returns the printer status, error, and print completion information based on the latest information in the work area to the print monitor 9 in the response.
[0020]
FIG. 2 shows an operation flow of the host computer 1 and the printer 3 at the time of printing under the above configuration. FIG. 3 shows a procedure for exchanging packets and responses between the host computer 1 and the printer 3 at this time.
[0021]
When the host computer 1 starts to input print data related to one print job created by the printer driver 5 from the spooler 7 to the print monitor 9, printing starts in the flow shown in FIG. First, the printer monitor 9 initially sets a print number counter of the print job to 0 (S1). Subsequently, the print monitor 9 recognizes each page constituting the input print data and each band in each page, and the order of the pages, the order of the bands in each page, and the number of copies of each page (the number of copies). (S2), the print data is converted into a packet format according to the communication protocol with the printer 3, and the print data packet is transmitted to the printer 3 according to the grasped order (S3).
[0022]
The order of print data packets transmitted from the host computer 1 to the printer 3 is as shown in FIG.
[0023]
First, a job start packet is sent. The job start packet declares the start of the print job and specifies the attributes of the job (resolution, gradation depth, contour smoothing processing ON / OFF, paper type, etc.). Next, the page start packet of the first page is transmitted. The page start packet declares the start of the page and specifies the attributes of the page (paper size, total number of bands, band size, margin, number of copies, etc.). Next, band data packets for each band in the page are transmitted in band order. The band data packet includes attributes of the band (compression / non-compression, data size, etc.) and bit image data of the band.
[0024]
When the band data packets for all the bands on the first page have been transmitted, the page end packet for the first page is sent. The page end packet declares the end of the page. Subsequently, for the second page, a page start packet, band data packets for all bands, and a page end packet are sent in order. This is repeated for all pages in the print job. Subsequent to the page end packet of the last page, a job end packet is sent, and transmission of print data of one print job is completed.
[0025]
Refer to FIG. 2 again. Each time each print data packet is transmitted to the printer 3 in the order as described above, in the printer 3, the DMA controller 25 receives each print data packet (S11) and writes it in the reception buffer in the RAM 23 (S12). ). Subsequently, the CPU 21 of the printer 3 interprets the print data packet written in the reception buffer and generates information on the latest printer status, error, and print completion from the work area of the RAM 23 in order to create a response to the packet. Obtain (S14). The CPU 21 checks whether or not the information from the work area includes information indicating completion of printing of each sheet of paper (discharge completion) (S15). This print completion information is written in the work area of the RAM 23 by the CPU 21 in response to a signal issued from the print engine 29 every time the print engine 29 completes printing and discharging of one sheet of paper. If the print completion information is not included in the latest information from the work area, the CPU 21 sets the printer status information included in the latest information and the error information (if an error has occurred) in the response. Then, the response is returned to the host computer 1 (S18). On the other hand, if the print completion (discharge completion) information is included, the CPU 21 sets a print completion flag in the response in addition to the printer status information and error information (when an error has occurred). (S17), the response is returned to the host computer 1 (18).
[0026]
With the above operation of the printer 3, as shown in FIG. 3, a response is returned from the printer 3 to the host computer 3 for each print data packet sent from the host computer 1 to the printer 3. Includes information (whether or not there is a print completion flag) indicating whether or not printing and discharging of each sheet of paper has been completed when the response is returned. Whenever such a response is returned, in the host computer 1, as shown in FIG. 2, the print monitor 9 receives the response (S4), and checks whether a print completion flag is set in the response. (S5). If the print completion flag is set, the printer monitor 9 increments the number of discharged sheets counter by 1 (S7), the value of the number of discharged sheets counter, the page order grasped in step S2 and the copy of each page. Based on the number of copies, it is determined how many pages and how many copies have been printed (or how many pages and how many copies remain unprinted) (S8). Then, the print monitor 9 stores the latest printer status and error information included in the received response and the printed page and copy sheet (or remaining page number and copy number) grasped in step S8. It displays on the display 11 of the computer 1 (S6).
[0027]
The above operation is repeated until all print data packets have been transmitted (S9).
[0028]
Although one embodiment of the present invention has been described above, the above embodiment is merely an example for explaining the present invention, and is not intended to limit the present invention only to the above embodiment. Therefore, the present invention can be implemented in various forms other than the above-described embodiment.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention.
FIG. 2 is a flowchart showing operations of the host computer 1 and the printer 3 during printing.
FIG. 3 is a diagram showing a procedure for exchanging packets and responses between the host computer 1 and the printer 3 during printing.
[Explanation of symbols]
1 Host Computer 3 Dam Printer 5 Printer Driver 7 Spooler 9 Print Monitor 11 Display 13 Input Device 21 CPU
23 RAM
25 DMA controller 27 Pre-print processing circuit 29 Print engine

Claims (8)

プリンタと、このプリンタに通信可能に接続されて前記プリンタを制御するホスト装置とを備え、
前記プリンタは、
用紙各枚の印刷が完了したとき印刷完了を示す情報を発生する情報発生手段と、
前記ホスト装置から、1つの印刷ジョブにかかる印刷データが分割された複数のパケットを順次に受信し、各パケットを受信する都度に、各応答を前記ホスト装置に返送する応答手段と、
各応答を返送するとき、前記印刷完了を示す情報が発生されていれば、この情報を前記応答にセットする情報セット手段と
を有し、
前記ホスト装置は、
前記印刷データを作成するデータ作成手段と、
1つの印刷ジョブにかかる前記印刷データを複数のパケットに分割して、それら複数のパケットを順次に前記プリンタへ送信するデータ送信手段と、
前記プリンタから返送される各応答を受ける応答受信手段と、
受信した応答に前記印刷完了を示す情報がセットされていた場合、この印刷完了を示す情報に基づき、印刷完了したページ又は未印刷で残っているページ数に関わる印刷完了状況を把握する状況把握手段と、取得した印刷完了状況をユーザに提供するユーザインタフェース手段と
を有する、
印刷システム。
A printer and a host device communicably connected to the printer and controlling the printer;
The printer is
Information generating means for generating information indicating completion of printing when printing of each sheet of paper is completed;
Response means for sequentially receiving a plurality of packets obtained by dividing print data relating to one print job from the host device, and returning each response to the host device each time each packet is received ;
When returning each response, if information indicating completion of printing has been generated, information setting means for setting this information in the response, and
The host device is
Data creation means for creating the print data;
Data transmission means for dividing the print data relating to one print job into a plurality of packets and sequentially transmitting the plurality of packets to the printer;
Response receiving means for receiving each response returned from the printer;
When the information indicating the completion of printing is set in the received response, the status grasping means for grasping the print completion status related to the number of pages that have been printed or the number of pages that have not been printed based on the information that indicates the completion of printing And user interface means for providing the acquired print completion status to the user,
Printing system.
前記ホスト装置の前記データ送信手段は、1つの印刷ジョブにかかる印刷データの各ページを複数のパケットに分割する請求項記載の印刷システム。It said data transmission means, the printing system of claim 1, wherein dividing each page of the print data according to a single print job into a plurality of packets of the host device. 前記ホスト装置は、前記印刷データのページ数又はページ順序にかかるページ情報を管理するデータ管理手段を更に備え、前記ホスト装置の状況把握手段は、前記応答に含まれていた前記印刷完了を示す情報と、前記データ管理手段が管理している前記ページ情報とに基づき、印刷完了したページ又は未印刷で残っているページ数に関わる印刷完了状況を把握する請求項1記載の印刷システム。  The host device further includes data management means for managing page information relating to the number of pages or the page order of the print data, and the status grasping means of the host device is information indicating the completion of printing included in the response The printing system according to claim 1, wherein the printing completion status relating to the number of pages that have been printed or the number of unprinted pages is determined based on the page information managed by the data management unit. 前記ホスト装置の前記データ管理手段は、印刷データのページ数又はページ順序にかかるページ情報に加え、各ページのコピー枚数も管理し、前記ホスト装置の前記状況把握手段は、前記応答に含まれていた前記印刷完了を示す情報と、前記データ管理手段が管理している前記ページ情報及びコピー枚数とに基づき、印刷完了したページとコピー枚目又は未印刷で残っているページ数とコピー枚数関わる印刷完了状況を把握する、
請求項記載の印刷システム。
The data management means of the host device manages the number of copies of each page in addition to page information related to the number of pages or the page order of print data, and the status grasping means of the host device is included in the response. In addition, based on the information indicating the completion of printing and the page information and the number of copies managed by the data management means, it is related to the number of pages that have been printed and the number of pages that have been copied or left unprinted and the number of copies. To know the print completion status,
The printing system according to claim 3 .
プリンタと、このプリンタに通信可能に接続されて前記プリンタを制御するホスト装置とを備えた印刷システムの動作方法において、
前記ホスト装置が、1つの印刷ジョブにかかる前記印刷データを複数のパケットに分割して、それら複数のパケットを順次に前記プリンタへ送信するステップと、
前記プリンタが、各パケットを受信する都度に各応答を前記ホスト装置に返送するステップと、
前記プリンタが、用紙各枚の印刷が完了したとき印刷完了を示す情報を発生するステップと、
前記プリンタが、各応答を返送するとき、前記印刷完了を示す情報が発生されていれば、この情報を前記応答にセットするステップと、
前記ホスト装置が、前記プリンタから各応答を受けるステップと、
前記ホスト装置が、受信した応答に前記印刷完了を示す情報がセットされていた場合、この印刷完了を示す情報に基づき、印刷完了したページ又は未印刷で残っているページ数に関わる印刷完了状況を把握するステップと、
前記ホスト装置が、取得した印刷完了状況をユーザに提供するステップと
を有する印刷システムの動作方法。
In an operation method of a printing system comprising a printer and a host device that is communicably connected to the printer and controls the printer,
The host device dividing the print data for one print job into a plurality of packets and sequentially transmitting the plurality of packets to the printer;
Each time the printer receives each packet, returning each response to the host device ;
The printer generating information indicating completion of printing when printing of each sheet of paper is completed;
When the printer returns each response, if information indicating completion of printing has been generated, setting this information in the response;
The host device receiving each response from the printer;
When the host device has set information indicating the completion of printing in the received response, the print completion status relating to the number of pages that have been printed or the number of pages that have not been printed is determined based on the information indicating the completion of printing. Step to grasp,
And a step of providing the user with the acquired print completion status to the user.
プリンタと、このプリンタに通信可能に接続されて前記プリンタを制御するホスト装置とを備え、前記プリンタが、
用紙各枚の印刷が完了したとき印刷完了を示す情報を発生する情報発生手段と、
前記ホスト装置から1つの印刷ジョブにかかる印刷データが分割された複数のパケットを順次に受信し、各パケットを受信する都度に各応答を前記ホスト装置に返送する応答手段と、
各応答を返送するとき、前記印刷完了を示す情報が発生されていれば、この情報を前記応答にセットする情報セット手段と
を有するような印刷システムにおける、前記ホスト装置において、
前記印刷データを作成するデータ作成手段と、
1つの印刷ジョブにかかる前記印刷データを複数のパケットに分割して、それら複数のパケットを順次に前記プリンタへ送信するデータ送信手段と、
前記プリンタから返送される各応答を受ける応答受信手段と、
受信した応答に前記印刷完了を示す情報がセットされていた場合、この印刷完了を示す情報に基づき、印刷完了したページ又は未印刷で残っているページ数に関わる印刷完了状況を把握する状況把握手段と、取得した印刷完了状況をユーザに提供するユーザインタフェース手段と
を有する印刷システムのホスト装置。
A printer and a host device that is communicably connected to the printer and controls the printer.
Information generating means for generating information indicating completion of printing when printing of each sheet of paper is completed;
Response means for sequentially receiving a plurality of packets obtained by dividing print data relating to one print job from the host device, and returning each response to the host device each time each packet is received ;
In the host device in the printing system having information setting means for setting the information in the response if information indicating the completion of printing is generated when returning each response,
Data creation means for creating the print data;
Data transmission means for dividing the print data relating to one print job into a plurality of packets and sequentially transmitting the plurality of packets to the printer;
Response receiving means for receiving each response returned from the printer;
When the information indicating the completion of printing is set in the received response, the status grasping means for grasping the print completion status related to the number of pages that have been printed or the number of pages that have not been printed based on the information that indicates the completion of printing And a user interface means for providing the user with the acquired print completion status.
プリンタと、このプリンタに通信可能に接続されて前記プリンタを制御するホスト装置とを備え、前記プリンタが、
用紙各枚の印刷が完了したとき印刷完了を示す情報を発生する情報発生手段と、
前記ホスト装置から1つの印刷ジョブにかかる印刷データが分割された複数のパケットを順次に受信し、各パケットを受信する都度に各応答を前記ホスト装置に返送する応答手段と、
各応答を返送するとき、前記印刷完了を示す情報が発生されていれば、この情報を前記応答にセットする情報セット手段と
を有するような印刷システムにおける、前記ホスト装置であって、
前記印刷データを作成するデータ作成手段と、
1つの印刷ジョブにかかる前記印刷データを複数のパケットに分割して、それら複数のパケットを順次に前記プリンタへ送信するデータ送信手段と、
前記プリンタから返送される各応答を受ける応答受信手段と、
受信した応答に前記印刷完了を示す情報がセットされていた場合、この印刷完了を示す情報に基づき、印刷完了したページ又は未印刷で残っているページ数に関わる印刷完了状況を把握する状況把握手段と、
取得した印刷完了状況をユーザに提供するユーザインタフェース手段と
を有する印刷システムのホスト装置として、コンピュータを機能させるプログラムを担持したコンピュータ記録媒体。
A printer and a host device that is communicably connected to the printer and controls the printer.
Information generating means for generating information indicating completion of printing when printing of each sheet of paper is completed;
Response means for sequentially receiving a plurality of packets obtained by dividing print data relating to one print job from the host device, and returning each response to the host device each time each packet is received ;
If information indicating completion of printing is generated when each response is returned, the host device in the printing system having information setting means for setting this information in the response,
Data creation means for creating the print data;
Data transmission means for dividing the print data relating to one print job into a plurality of packets and sequentially transmitting the plurality of packets to the printer;
Response receiving means for receiving each response returned from the printer;
When the information indicating the completion of printing is set in the received response, the status grasping means for grasping the print completion status related to the number of pages that have been printed or the number of pages that have not been printed based on the information that indicates the completion of printing When,
A computer recording medium carrying a program for causing a computer to function as a host device of a printing system having user interface means for providing a user with the acquired print completion status.
ホスト装置に接続されるプリンタにおいて、
用紙各枚の印刷が完了したとき印刷完了を示す情報を発生する情報発生手段と、
前記ホスト装置から1つの印刷ジョブにかかる印刷データが分割された複数のパケットを順次に受信し、各パケットを受信する都度に各応答を前記ホスト装置に返送する応答手段と、
各応答を返送するとき、前記印刷完了を示す情報が発生されていれば、この情報を前記応答にセットする情報セット手段と
を備えるプリンタ。
In the printer connected to the host device,
Information generating means for generating information indicating completion of printing when printing of each sheet of paper is completed;
Response means for sequentially receiving a plurality of packets obtained by dividing print data relating to one print job from the host device, and returning each response to the host device each time each packet is received ;
A printer comprising information setting means for setting, when returning each response, information indicating completion of printing if the information indicating completion of printing has been generated.
JP35562798A 1998-12-15 1998-12-15 Printing system Expired - Fee Related JP3713699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35562798A JP3713699B2 (en) 1998-12-15 1998-12-15 Printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35562798A JP3713699B2 (en) 1998-12-15 1998-12-15 Printing system

Publications (2)

Publication Number Publication Date
JP2000181638A JP2000181638A (en) 2000-06-30
JP3713699B2 true JP3713699B2 (en) 2005-11-09

Family

ID=18444952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35562798A Expired - Fee Related JP3713699B2 (en) 1998-12-15 1998-12-15 Printing system

Country Status (1)

Country Link
JP (1) JP3713699B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5517502B2 (en) 2009-06-23 2014-06-11 キヤノン株式会社 Image forming apparatus, control method thereof, and program
TWI510381B (en) 2012-04-16 2015-12-01 Cal Comp Electronics & Comm Co Detector and printer using the same

Also Published As

Publication number Publication date
JP2000181638A (en) 2000-06-30

Similar Documents

Publication Publication Date Title
US7158243B2 (en) Printing apparatus and printing system, control method, storage medium and program
US20110102608A1 (en) Image output system including a plurality of units connected by communications with master-slave relation
EP1274005A2 (en) Print control apparatus, printing method, and print control program
JP2000172453A (en) Print system and host device of same system
US8355144B2 (en) Apparatus and method of changing printer driver, and printing system and method using the same
JP3713699B2 (en) Printing system
JP3879501B2 (en) PRINT SERVER, PRINT SYSTEM, PRINT METHOD, PRINT PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PRINT PROGRAM
US20030011818A1 (en) Printing system and management method therefor
JP4479289B2 (en) Printing control apparatus and method, data expansion apparatus
JP3583879B2 (en) Printer control device
JP2004362219A (en) Printer, printer driver and utility system
JP2004054658A (en) Printing system
JP3257902B2 (en) Printing apparatus and data transfer control method for printing apparatus
KR100313869B1 (en) Apparatus for generating printing data efficiently and method thereof
JP2002236563A (en) Image information processor and print system
JP2744025B2 (en) Printing control device
JP3004440B2 (en) Printing method and apparatus
JPH07160441A (en) Information processing method and output method
JP2004213185A (en) Print control method and print controller
JP6068090B2 (en) Image forming apparatus
JPH10211740A (en) Printer and printing system
JP2005205692A (en) Printing system, printer host computer and printer
JPH11105372A (en) Printing system and method for printing
KR20010026821A (en) Method for reprinting of document error occurred
JP2004246501A (en) Image processing device, image processing method, and program therefor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040610

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041028

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20041126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041201

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050124

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050814

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080902

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100902

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100902

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110902

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120902

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130902

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees