JP2000181638A - Printing system - Google Patents

Printing system

Info

Publication number
JP2000181638A
JP2000181638A JP10355627A JP35562798A JP2000181638A JP 2000181638 A JP2000181638 A JP 2000181638A JP 10355627 A JP10355627 A JP 10355627A JP 35562798 A JP35562798 A JP 35562798A JP 2000181638 A JP2000181638 A JP 2000181638A
Authority
JP
Japan
Prior art keywords
printer
printing
response
host device
completion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10355627A
Other languages
Japanese (ja)
Other versions
JP3713699B2 (en
Inventor
Kazunori Chihara
一徳 千原
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

Abstract

PROBLEM TO BE SOLVED: To provide a printing system by which a host device accurately grasps the number of printing completion sheets to notify a user of it. SOLUTION: A host divides printing data into each page, divides each page into each band and transmits each band data as a packet to a printer. Each time a packet is received, the printer returns a response to the host. Whenever printing (paper ejection) is completed in every piece of paper, the printer includes a printing completion flag in the response and returns it to the host. The host manages page sequences and the number of copies, and when a printing completion flag is included in the response from the printer, the host grasps about what copy on what page printing is completed or the number of pages and copies whose printing is not completed and displays them on the screen.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は印刷システムに関す
る。
[0001] The present invention relates to a printing system.

【0002】[0002]

【従来の技術】パーソナルコンピュータのようなホスト
装置と、ホスト装置から印刷データを受けて印刷を行う
プリンタとからなる印刷システムが知られている。通常
のプリンタは受信バッファを持っている。ホスト装置が
印刷データをプリンタへ送信し終わったとき、プリンタ
ではその印刷データは受信バッファに貯まっていて、そ
の印刷データが処理され印刷が完了するまでには更に時
間がかかる。
2. Description of the Related 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 reception buffer. When the host device finishes transmitting the print data to the printer, the printer stores the print data in the reception buffer, and it takes more time until the print data is processed and printing is completed.

【0003】[0003]

【発明が解決しようとする課題】そのため、ホスト装置
がプリンタへ送信し終わった印刷枚数と、プリンタが実
際に印刷完了(排紙)した枚数との間には、同一時点で
食違いがある。そのため、ホスト装置は、プリンタでの
印刷完了枚数(排紙枚数)を正確に把握しユーザに伝え
ることができない。また、プリンタがマルチコピー(複
数部数)印刷を行っているとき、ホスト装置は、何ペー
ジ目の何コピー目(何部数目)が印刷完了したかを正確
に把握しユーザに伝えることができない。
Therefore, there is a discrepancy at the same time between the number of printed sheets transmitted by the host apparatus to the printer and the number of sheets actually printed (discharged) by the printer. Therefore, the host device cannot accurately grasp the number of printed sheets (number of discharged sheets) by the printer and inform the user of the number. Further, when the printer is performing multi-copy (multiple copy) printing, the host device cannot accurately grasp which copy of which page (how many copies) has been printed and inform the user.

【0004】従って、本発明の目的は、ホスト装置がプ
リンタでの印刷完了枚数を正確に把握してユーザに伝え
られる印刷システムを提供することにある。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a printing system in which a host device accurately grasps the number of prints completed by a printer and informs a user of the number.

【0005】[0005]

【課題を解決するための手段】本発明の印刷システム
は、プリンタと、このプリンタに通信可能に接続されて
プリンタを制御するホスト装置とを備える。プリンタ
は、用紙各枚の印刷が完了したとき印刷完了を示す情報
を発生する情報発生手段と、ホスト装置から印刷データ
を受信しつつ、応答を時間間隔をおいて複数回にわたっ
て前記ホスト装置に返送する応答手段と、各応答を返送
するとき、印刷完了を示す情報が発生されていれば、こ
の情報を応答にセットする情報セット手段とを有する。
ホスト装置は、印刷データを作成するデータ作成手段
と、印刷データのページ数又はページ順序にかかるペー
ジ情報を管理するデータ管理手段と、印刷データをプリ
ンタへ送信するデータ送信手段と、プリンタから返送さ
れる各応答を受ける応答受信手段と、受信した応答に印
刷完了を示す情報がセットされていた場合、この印刷完
了を示す情報と、データ管理手段が管理しているページ
情報とに基づき、印刷完了したページ又は未印刷で残っ
ているページ数に関わる印刷完了状況を把握する状況把
握手段と、取得した印刷完了状況をユーザに提供するユ
ーザインタフェース手段とを有する。
A printing system according to the present invention includes a printer, and a host device communicably connected to the printer and controlling the printer. The printer has an information generating means for generating information indicating the completion of printing when each sheet of paper is completed, and returns a response to the host device a plurality of times at time intervals while receiving print data from the host device. And information setting means for setting, when returning each response, information indicating printing completion has been generated, in the response.
The host device includes: a data creating unit that creates print data; a data managing unit that manages page information relating to the number of pages or the page order of the print data; a data sending unit that sends the print data to the printer; If information indicating printing completion is set in the received response, and the information indicating printing completion is set in the received response, the printing completion is performed based on the page information managed by the data management means. There are status grasping means for grasping the printing completion status relating to the number of pages that have been printed or the number of pages remaining unprinted, and user interface means for providing the user with the acquired printing 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. Since the printer includes information in the response each time printing of each sheet is completed, the host device determines from the response whether the printer has finished printing the current page or how many pages have not been printed yet. The user can be notified of whether or not it remains, and notified to the user.

【0007】好適な実施形態では、ホスト装置は、1つ
の印刷ジョブにかかる印刷データを複数のパケットに分
割して、それら複数のパケットを順次に前記プリンタへ
送信する。プリンタは、各パケットを受信する都度に各
応答を返送する。
In a preferred embodiment, the host device divides print data for 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】好適な実施形態では、ホスト装置は、1つ
の印刷ジョブにかかる印刷データの各ページを複数のパ
ケットに分割して、それら複数のパケットを順次に前記
プリンタへ送信する。プリンタは、各パケットを受信す
る都度に各応答を返送する。
In a preferred embodiment, the host device divides each page of the print data of 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 page information relating to the number of pages or the page order of the print data, and information indicating printing completion included in the received response, and the managed page information. Based on this, the printing completion status relating to the number of pages that have been printed or the number of pages that have not been printed remains.

【0010】好適な実施形態では、ホスト装置は、印刷
データのページ数又はページ順序にかかるページ情報に
加え、各ページのコピー枚数も管理し、受信した応答に
含まれていた印刷完了を示す情報と、管理しているペー
ジ情報及びコピー枚数とに基づき、印刷完了したページ
とコピー枚目又は未印刷で残っているページ数とコピー
枚数をに関わる印刷完了状況を把握する。
In a preferred embodiment, the host device manages the number of copies of each page in addition to the page information relating to the number of pages or the page order of the print data, and information indicating the completion of printing included in the received response. Then, based on the managed page information and the number of copies, the print completion status relating to the printed page and the number of copies or the number of pages remaining unprinted and the number of copies is grasped.

【0011】本発明のシステムのホスト装置、典型的に
はコンピュータにより実施することができるが、そのた
めのコンピュータプログラムは、ディスク型ストレー
ジ、半導体メモリおよび通信ネットワークなどの各種の
媒体を通じてコンピュータにインストールまたはロード
することができる。
[0011] The host of the system of the present invention can be implemented by a computer, typically a computer, and a computer program for this can be installed or loaded into the computer through various media such as a disk storage, a semiconductor memory, and a communication network. can do.

【0012】[0012]

【発明の実施の形態】図1は、本発明の一実施形態に従
う印刷システムの全体構成を示す。
FIG. 1 shows an overall configuration of a printing system according to an embodiment of the present invention.

【0013】ホストコンピュータ1にプリンタ3が接続
されている。ホストコンピュータ1は、プリンタ1を制
御するためのプログラムモジュールとして、プリンタド
ライバ5及びプリントモニタ9を備える。
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】プリンタドライバ5は、プリンタ3の属性
設定/表示、及び、プリントモニタ5へ送るべき印刷デ
ータの生成などを行うものである。プリンタドライバ5
は、プリンタ3の属性設定/表示をするためのグラフィ
ックユーザインタフェース画面を、ホストコンピュータ
11のディスプレイに表示し、そして、マウスやキーボ
ードなどの入力装置13からのユーザ命令に応答して動
作する。プリンタドライバ5は、生成した印刷データ
を、OSがもつスプーラ7に渡す。
The printer driver 5 performs setting / display of attributes of the printer 3 and generation of print data to be sent to the print monitor 5. 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. The printer driver 5 passes the generated print data to the spooler 7 of the OS.

【0015】プリントモニタ9は、プリンタドライバ3
の生成した印刷データのスプーラ7からの入力、入力し
た印刷データを元にしたプリンタ3との通信プロトコル
に従ったパケットの作成、プリンタ3とのパケットと応
答のやり取り、及び、プリンタ3からの応答に含まれる
プリンタステータスやエラーや印刷完了などの情報に基
づくエラー/ワーニング/枚数表示などを行うものであ
る。プリントモニタ9は、エラー/ワーニング/枚数表
示を行うためのグラフィックユーザインタフェース画面
を、ディスプレイ11に表示し、そして、マウスやキー
ボードなどの入力装置13からのユーザ命令に応答して
動作する。
The print monitor 9 includes a printer driver 3
From the spooler 7, creating a packet based on the input print data in accordance with the communication protocol with the printer 3, exchanging the packet and the response with the printer 3, and responding from the printer 3. And error / warning / number of copies display based on information such as printer status, errors, and printing completion included in the printer. The print monitor 9 displays a graphic user interface screen for displaying an error / warning / number of copies on the display 11 and operates in response to a user command from an input device 13 such as a mouse or a keyboard.

【0016】プリンタ3は、例えば、電子複写方式の印
刷エンジン29を備えたページプリンタである。ホスト
コンピュータ1のプリントモニタ9とプリンタ3との間
では、所定の通信プロトコルに従って、プリントモニタ
9からプリンタ3へパケットが送られ、プリンタ3から
プリントモニタ9へそのパケットに対する応答が返され
る、という動作が繰り返される。パケットと応答は必ず
対になっている。プリンタ3に送られるパケットには、
印刷ジョブの開始やページの開始などを宣言するもの、
各ページのイメージデータを送信するものもの、プリン
タ3のステータスを問合せるものなど複数の種類があ
る。プリンタ3は、コマンドの受け取りを完了した直後
に、そのコマンドに対する応答を返信する。各応答に
は、その応答を返信可能となった時点でのプリンタ3の
ステータス情報、エラー情報及び印刷完了情報などが含
まれる。
The printer 3 is, for example, a page printer having a print engine 29 of an electronic copying system. Between the print monitor 9 of the host computer 1 and the printer 3, a packet is transmitted 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. Packets sent to the printer 3 include:
Declare the start of a print job, the start of a page, etc.
There are a plurality of types such as a type for transmitting image data of each page and a type for inquiring the status of the printer 3. Immediately after completing the reception of the command, the printer 3 returns a response to 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】各ページのイメージデータは複数のパケッ
トに分割されてプリンタ3へ送られる。一般にプリンタ
3へ送られるイメージデータには、ビットマップ展開さ
れたビットイメージや、関数で表現されたベクターイメ
ージなどの複数の種類があり、どの種類であっても本発
明は適用可能であるが、この実施形態では、説明を分か
り易くするために、ホスト側でビットマップ展開された
ビットイメージがプリンタ3へ送られるものとする。そ
して、この実施形態では、各ページのビットイメージ
が、各バンド単位のバンドデータのパケットに分割され
てプリンタ3へ送られるものとする。
The image data of each page is divided into a plurality of packets and sent to the printer 3. In general, there are a plurality of types of image data sent to the printer 3 such as a bit image developed by a bit map and a vector image expressed by a function, and the present invention is applicable to any type, In this embodiment, for the sake of simplicity of description, it is assumed that a bit image developed by a bit map on the host side is sent to the printer 3. 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】プリンタ3は、CPU21、RAM23、
DMAコントローラ25、印刷前処理回路27、印刷エ
ンジン29などを有する。プリンタ3に受信されたパケ
ットは、DMAコントローラ25によってRAM23内
の受信バッファに蓄積される。CPU21は、受信バッ
ファに書かれたパケットを順に解釈し、そのパケットに
対する応答を作成してプリントモニタ9へ返信する。各
受信パケットに含まれるバンドデータは、DMAコント
ローラ25によって印刷前処理回路27へ送られる。印
刷前処理回路27は、圧縮されているビットイメージの
伸張や、文字・図形輪郭のスムージング処理などの前処
理を行ない、前処理したビットイメージを元にパルス幅
変調されたレーザパルス信号を生成して印刷エンジン2
9へ与える。印刷エンジン29は、そのレーザパルス信
号を用いて電子写真方式により用紙上にページイメージ
を印刷する。
The printer 3 includes a CPU 21, a RAM 23,
It has a DMA controller 25, a print preprocessing circuit 27, a print engine 29, and the like. The 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 packet, and returns the response to the print monitor 9. The band data included in each received packet is sent by the DMA controller 25 to the print pre-processing circuit 27. The print pre-processing circuit 27 performs pre-processing such as expansion of the compressed bit image and smoothing processing of character / graphic outlines, and generates a pulse width modulated laser pulse signal based on the pre-processed bit image. Print engine 2
Give to 9. The print engine 29 prints a page image on paper by electrophotography using the laser pulse signal.

【0019】また、CPU21は、プリンタ3内の各部
(25、27、29など)から、現在のプリンタステー
タス(用紙残量、トナー残量、受信バッファ空き容量な
ど)、エラー発生の有無や種類、及び印刷エンジン29
が用紙の各枚毎の印刷と排紙を完了したか否かなどの通
知を随時に受けて、受けた最新の情報をRAM23のワ
ークエリアに保存する。そして、パケットに対する応答
を返信するときに、CPU21は、ワークエリア内の最
新情報に基づくプリンタステータス、エラー及び印刷完
了の情報を、その応答に入れてプリントモニタ9に返信
する。
Further, the CPU 21 sends the current printer status (the remaining amount of paper, the remaining amount of toner, the free space of the receiving buffer, etc.), the presence / absence and type of error occurrence, And print engine 29
Receives a notification as to whether or not the printing and discharging of each sheet of paper have been completed, and saves the received latest information in the work area of the RAM 23. Then, when returning a response to the packet, the CPU 21 returns the printer status, error, and information of the printing completion based on the latest information in the work area to the print monitor 9 in the response.

【0020】図2は、以上の構成の下での、印刷時にお
けるホストコンピュータ1とプリンタ3の動作流れを示
す。図3は、このときのホストコンピュータ1とプリン
タ3間のパケットと応答のやり取りの手順を示す。
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】ホストコンピュータ1において、プリンタ
ドライバ5の作成した1つの印刷ジョブにかかる印刷デ
ータがスプーラ7からプリントモニタ9に入力開始する
と、図2に示すフローにおける印刷開始となる。プリン
タモニタ9は、まず、当該印刷ジョブの印刷枚数カウン
タを0に初期設定する(S1)。続いて、プリントモニ
タ9は、入力した印刷データを構成する各ページ、及び
各ページ内の各バンドを認識して、ページの順序、各ペ
ージ内のバンドの順序及び各ページのコピー枚数(印刷
部数)を把握しつつ(S2)、その印刷データをプリン
タ3との通信プロトコルいに従ったパケット形式に変換
して、その印刷データパケットを上記把握した順序に従
ってプリンタ3へ送信する(S3)。
In the host computer 1, when the print data of one print job created by the printer driver 5 starts to be input from the spooler 7 to the print monitor 9, printing starts in the flow shown in FIG. First, the printer monitor 9 initially sets the number-of-printed-sheets counter of the print job to 0 (S1). Subsequently, the print monitor 9 recognizes each page constituting the input print data and each band within each page, and determines the order of the pages, the order of the bands within each page, and the number of copies of each page (the number of copies to be printed). ) Is grasped (S2), the print data is converted into a packet format according to the communication protocol with the printer 3, and the print data packets are transmitted to the printer 3 in the grasped order (S3).

【0022】ホストコンピュータ1からプリンタ3へ送
信される印刷データパケットの順序は、図3に示す通り
である。
The order of print data packets transmitted from the host computer 1 to the printer 3 is as shown in FIG.

【0023】最初に、ジョブ開始パケットが送られる。
ジョブ開始パケットは、印刷ジョブの開始を宣言すると
共に、そのジョブの属性(解像度、階調深さ、輪郭スム
ージング処理ON/OFF、用紙種類など)を指定す
る。次に、第1ページのページ開始パケットが送信され
る。ページ開始パケットは、ページの開始を宣言すると
共に、そのページの属性(用紙サイズ、総バンド数、バ
ンドサイズ、マージン、コピー枚数など)を指定する。
次に、そのページ内の各バンドのバンドデータパケット
がバンド順に送信される。バンドデータパケットには、
そのバンドの属性(圧縮/非圧縮、データサイズなど)
とそのバンドのビットイメージデータとが含まれてい
る。
First, a job start packet is sent.
The job start packet declares the start of a print job and specifies attributes (resolution, gradation depth, contour smoothing processing ON / OFF, paper type, etc.) of the job. Next, a 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 of each band in the page are transmitted in band order. Band data packets include:
Attributes of the band (compressed / uncompressed, data size, etc.)
And bit image data of the band.

【0024】第1ページの全てのバンドのバンドデータ
パケットが送信し終わると、第1ページのページ終了パ
ケットが送られる。ページ終了パケットは、ページの終
了を宣言する。続いて、第2ページについて、ページ開
始パケット、全バンドのバンドデータパケット、及びペ
ージ終了パケットが順に送られる。印刷ジョブ内の全ペ
ージについてこれが繰り返される。最後のページのペー
ジ終了パケットに続いて、ジョブ終了パケットが送ら
れ、これで1つの印刷ジョブの印刷データの送信が完了
する。
When transmission of the band data packets of all the bands of the first page is completed, a page end packet of the first page is transmitted. The end-of-page packet declares the end of the page. Subsequently, for the second page, a page start packet, a band data packet of all bands, and a page end packet are sequentially transmitted. This is repeated for all pages in the print job. Following the page end packet of the last page, a job end packet is sent, which completes the transmission of the print data of one print job.

【0025】再び図2を参照する。上記のような順序で
各印刷データパケットがプリンタ3へ送信される都度、
プリンタ3では、DMAコントローラ25が各印刷デー
タパケットを受信して(S11)、これをRAM23内
の受信バッファに書き込む(S12)。続いて、プリン
タ3のCPU21が、その受信バッファに書き込まれた
印刷データパケットを解釈し、そのパケットに対する応
答を作成するために、RAM23のワークエリアから最
新のプリンタステータス、エラー及び印刷完了に関する
情報を取得する(S14)。CPU21は、そのワーク
エリアからの情報の中に、用紙各枚の印刷完了(排紙完
了)を示す情報が含まれているか否かをチェックする
(S15)。この印刷完了情報は、印刷エンジン29が
用紙1枚の印刷と排紙を完了する都度に、印刷エンジン
29から発される信号に応答して、CPU21がRAM
23のワークエリアに書き込むものである。この印刷完
了情報がワークエリアからの最新情報に含まれてなけれ
ば、CPU21は、その最新情報に含まれていたプリン
タステータス情報と(エラーが発生している場合の)エ
ラー情報とを応答にセットして(S16)、その応答を
ホストコンピュータ1に返信する(S18)。一方、上
記印刷完了(排紙完了)情報が含まれていれば、CPU
21は、プリンタステータス情報や(エラーが発生して
いる場合の)エラー情報に加えて、印刷完了フラグを応
答にセットして(S17)、その応答をホストコンピュ
ータ1に返信する(18)。
Referring back to FIG. Each time each print data packet is transmitted to the printer 3 in the above order,
In the printer 3, the DMA controller 25 receives each print data packet (S11), and writes it into a 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, from the work area of the RAM 23, outputs the latest information on the printer status, error, and print completion in order to create a response to the packet. It is acquired (S14). The CPU 21 checks whether or not the information from the work area includes information indicating the completion of printing (discharge completion) of each sheet (S15). Each time the print engine 29 completes printing and discharging one sheet of paper, the CPU 21 responds to a signal issued from the print engine 29 and stores the print completion information in the RAM.
23 is written in the work area. If the print completion information is not included in the latest information from the work area, the CPU 21 sets the printer status information and the error information (if an error has occurred) included in the latest information 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
The printer 21 sets a print completion flag as a response in addition to the printer status information and error information (when an error has occurred) (S17), and returns the response to the host computer 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)。
By the above operation of the printer 3, the host computer 1 sends to the printer 3 as shown in FIG.
A response is returned from the printer 3 to the host computer 3 for each print data packet, and each response includes whether or not printing and discharging of each sheet have been completed at the time when the response is returned. Indicating the presence or absence of a print completion flag
Will be included. Each time 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 or not the print completion flag is set in the response. (S5). If the print completion flag is set, the printer monitor 9 increases the number of discharged sheets counter by one (S7), and the value of the discharged sheet counter, the page order and the copy of each page ascertained in step S2. Based on the number of sheets, it is grasped 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 sends the latest printer status and error information included in the received response, and the printed page and the number of copies (or the number of remaining pages and the number of copies) grasped in step S8 to the host. The information is displayed on the display 11 of the computer 1 (S6).

【0027】以上の動作が、全ての印刷データパケット
が送信し終わるまで繰り返される(S9)。
The above operation is repeated until all print data packets have been transmitted (S9).

【0028】以上、本発明の一実施形態を説明したが、
上記の実施形態はあくまで本発明の説明のための例示で
あり、本発明を上記実施形態にのみ限定する趣旨ではな
い。従って、本発明は、上記実施形態以外の様々な形態
でも実施することができるものである。
The embodiment of the present invention has been described above.
The above embodiment is merely an example for describing the present invention, and is not intended to limit the present invention to only the above embodiment. Therefore, the present invention can be implemented in various forms other than the above-described embodiment.

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

【図1】本発明の一実施形態の全体構成を示すブロック
図。
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention.

【図2】印刷時におけるホストコンピュータ1とプリン
タ3の動作を示すフローチャート。
FIG. 2 is a flowchart showing operations of a host computer 1 and a printer 3 during printing.

【図3】印刷時におけるホストコンピュータ1とプリン
タ3間のパケットと応答のやり取り手順を示す図。
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 ホストコンピュータ 3 ダムプリンタ 5 プリンタドライバ 7 スプーラ 9 プリントモニタ 11 ディスプレイ 13 入力装置 21 CPU 23 RAM 25 DMAコントローラ 27 印刷前処理回路 29 印刷エンジン DESCRIPTION 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 Print preprocessing circuit 29 Print engine

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 プリンタと、このプリンタに通信可能に
接続されて前記プリンタを制御するホスト装置とを備
え、 前記プリンタは、 用紙各枚の印刷が完了したとき印刷完了を示す情報を発
生する情報発生手段と、 前記ホスト装置から印刷データを受信しつつ、応答を時
間間隔をおいて複数回にわたって前記ホスト装置に返送
する応答手段と、 各応答を返送するとき、前記印刷完了を示す情報が発生
されていれば、この情報を前記応答にセットする情報セ
ット手段とを有し、 前記ホスト装置は、 前記印刷データを作成するデータ作成手段と、 前記印刷データを前記プリンタへ送信するデータ送信手
段と、 前記プリンタから返送される各応答を受ける応答受信手
段と、 受信した応答に前記印刷完了を示す情報がセットされて
いた場合、この印刷完了を示す情報に基づき、印刷完了
したページ又は未印刷で残っているページ数に関わる印
刷完了状況を把握する状況把握手段と、 取得した印刷完了状況をユーザに提供するユーザインタ
フェース手段とを有する印刷システム。
1. A printer comprising: a printer; and a host device communicably connected to the printer and controlling the printer, wherein the printer generates information indicating printing completion when printing of each sheet is completed. Generating means; response means for returning a response to the host device a plurality of times at time intervals while receiving print data from the host device; and generating information indicating the printing completion when returning each response. If so, there is provided information setting means for setting this information in the response, the host device is a data creation means for creating the print data, and a data transmission means for sending the print data to the printer. Response receiving means for receiving each response returned from the printer; and, if information indicating the printing completion is set in the received response, It has status grasping means for grasping the printing completion status relating to the number of pages that have been printed or the number of pages remaining unprinted based on the information indicating printing completion, and user interface means for providing the acquired printing completion status to the user. Printing system.
【請求項2】 前記ホスト装置の前記データ送信手段
は、1つの印刷ジョブにかかる印刷データを複数のパケ
ットに分割して、それら複数のパケットを順次に前記プ
リンタへ送信し、 前記プリンタの前記応答手段は、各パケットを受信する
都度に、各応答を返送する請求項1記載の印刷システ
ム。
2. The data transmission unit of the host device divides print data for one print job into a plurality of packets, sequentially transmits the plurality of packets to the printer, and the response of the printer 2. The printing system according to claim 1, wherein said means returns each response each time each packet is received.
【請求項3】 前記ホスト装置の前記データ送信手段
は、1つの印刷ジョブにかかる印刷データの各ページを
複数のパケットに分割する請求項2記載の印刷システ
ム。
3. The printing system according to claim 2, wherein the data transmission unit of the host device divides each page of the print data of one print job into a plurality of packets.
【請求項4】 前記ホスト装置は、前記印刷データのペ
ージ数又はページ順序にかかるページ情報を管理するデ
ータ管理手段を更に備え、 前記ホスト装置の状況把握手段は、前記応答に含まれて
いた前記印刷完了を示す情報と、前記データ管理手段が
管理している前記ページ情報とに基づき、印刷完了した
ページ又は未印刷で残っているページ数に関わる印刷完
了状況を把握する請求項1記載の印刷システム。
4. 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 includes the status information included in the response. 2. The printing method according to claim 1, wherein a printing completion status related to the number of pages that have been printed or the number of pages that have not been printed is grasped based on information indicating printing completion and the page information managed by the data management unit. system.
【請求項5】 前記ホスト装置の前記データ管理手段
は、印刷データのページ数又はページ順序にかかるペー
ジ情報に加え、各ページのコピー枚数も管理し、 前記ホスト装置の前記状況把握手段は、前記応答に含ま
れていた前記印刷完了を示す情報と、前記データ管理手
段が管理している前記ページ情報及びコピー枚数とに基
づき、印刷完了したページとコピー枚目又は未印刷で残
っているページ数とコピー枚数をに関わる印刷完了状況
を把握する、請求項4記載の印刷システム。
5. The data management unit of the host device manages the number of copies of each page in addition to the page number of the print data or the page information relating to the page order. Based on the information indicating the print completion included in the response and the page information and the number of copies managed by the data management unit, the number of pages that have been printed and the number of pages that have been copied or remain unprinted 5. The printing system according to claim 4, wherein a printing completion status relating to the number of copies and the number of copies is grasped.
【請求項6】 プリンタと、このプリンタに通信可能に
接続されて前記プリンタを制御するホスト装置とを備え
た印刷システムの動作方法において、 前記ホスト装置が前記印刷データを前記プリンタへ送信
するステップと、 前記プリンタが、前記印刷データを受信しつつ、応答を
時間間隔をおいて複数回にわたって前記ホスト装置に返
送するステップと、 前記プリンタが、用紙各枚の印刷が完了したとき印刷完
了を示す情報を発生するステップと、 前記プリンタが、各応答を返送するとき、前記印刷完了
を示す情報が発生されていれば、この情報を前記応答に
セットするステップと、 前記ホスト装置が、前記プリンタから各応答を受けるス
テップと、 前記ホスト装置が、受信した応答に前記印刷完了を示す
情報がセットされていた場合、この印刷完了を示す情報
に基づき、印刷完了したページ又は未印刷で残っている
ページ数に関わる印刷完了状況を把握するステップと、 前記ホスト装置が、取得した印刷完了状況をユーザに提
供するステップとを有する印刷システムの動作方法。
6. A method of operating a printing system comprising a printer and a host device communicably connected to the printer and controlling the printer, wherein the host device transmits the print data to the printer. A step in which the printer returns the response to the host device a plurality of times at time intervals while receiving the print data; and information indicating the completion of printing when the printer completes printing of each sheet. And when the printer returns each response, if information indicating the completion of printing has been generated, setting this information in the response; andthe host device transmits each response from the printer. Receiving the response; and determining whether the received response has the information indicating the completion of printing set in the received response. Based on the information indicating the completion of printing, the step of grasping the printing completion status related to the number of pages that have been printed or the number of pages remaining unprinted, and the host device provides the user with the obtained printing completion status, Operating method of a printing system having
【請求項7】 プリンタと、このプリンタに通信可能に
接続されて前記プリンタを制御するホスト装置とを備
え、前記プリンタが、 用紙各枚の印刷が完了したとき印刷完了を示す情報を発
生する情報発生手段と、 前記ホスト装置から印刷データを受信しつつ、応答を時
間間隔をおいて複数回にわたって前記ホスト装置に返送
する応答手段と、 各応答を返送するとき、前記印刷完了を示す情報が発生
されていれば、この情報を前記応答にセットする情報セ
ット手段とを有するような印刷システムにおける、前記
ホスト装置において、 前記印刷データを作成するデータ作成手段と、 前記印刷データを前記プリンタへ送信するデータ送信手
段と、 前記プリンタから返送される各応答を受ける応答受信手
段と、 受信した応答に前記印刷完了を示す情報がセットされて
いた場合、この印刷完了を示す情報に基づき、印刷完了
したページ又は未印刷で残っているページ数に関わる印
刷完了状況を把握する状況把握手段と、 取得した印刷完了状況をユーザに提供するユーザインタ
フェース手段とを有する印刷システムのホスト装置。
7. A printer, comprising: a printer; and a host device communicably connected to the printer and controlling the printer, wherein the printer generates information indicating completion of printing when printing of each sheet is completed. Generating means; response means for returning a response to the host device a plurality of times at time intervals while receiving print data from the host device; and generating information indicating the printing completion when returning each response. If so, the host device in the printing system having information setting means for setting this information in the response, the data creation means for creating the print data, and transmitting the print data to the printer Data transmitting means, response receiving means for receiving each response returned from the printer, and the received response indicating the completion of printing Information is set, a status grasping means for grasping the print completion status relating to the number of pages that have been printed or the number of pages remaining unprinted based on the information indicating the completion of printing, and a user A host device of a printing system, comprising:
【請求項8】 プリンタと、このプリンタに通信可能に
接続されて前記プリンタを制御するホスト装置とを備
え、前記プリンタが、 用紙各枚の印刷が完了したとき印刷完了を示す情報を発
生する情報発生手段と、 前記ホスト装置から印刷データを受信しつつ、応答を時
間間隔をおいて複数回にわたって前記ホスト装置に返送
する応答手段と、 各応答を返送するとき、前記印刷完了を示す情報が発生
されていれば、この情報を前記応答にセットする情報セ
ット手段とを有するような印刷システムにおける、前記
ホスト装置であって、 前記印刷データを作成するデータ作成手段と、 前記印刷データを前記プリンタへ送信するデータ送信手
段と、 前記プリンタから返送される各応答を受ける応答受信手
段と、 受信した応答に前記印刷完了を示す情報がセットされて
いた場合、この印刷完了を示す情報に基づき、印刷完了
したページ又は未印刷で残っているページ数に関わる印
刷完了状況を把握する状況把握手段と、 取得した印刷完了状況をユーザに提供するユーザインタ
フェース手段とを有する印刷システムのホスト装置とし
て、コンピュータを機能させるプログラムを担持したコ
ンピュータ記録媒体。
8. A printer comprising: a printer; and a host device communicably connected to the printer and controlling the printer, wherein the printer generates information indicating printing completion when printing of each sheet is completed. Generating means; response means for returning a response to the host device a plurality of times at time intervals while receiving print data from the host device; and generating information indicating the printing completion when returning each response. If so, the host device in a printing system having information setting means for setting this information in the response, the data creation means for creating the print data, and the print data to the printer Data transmitting means for transmitting, response receiving means for receiving each response returned from the printer, and the received response indicating the completion of printing Information is set, a status grasping means for grasping the print completion status relating to the number of pages that have been printed or the number of pages remaining unprinted based on the information indicating the completion of printing, and a user A computer recording medium carrying a program that causes a computer to function as a host device of a printing system having a user interface unit provided to a computer.
【請求項9】 ホスト装置に接続されるプリンタにおい
て、 用紙各枚の印刷が完了したとき印刷完了を示す情報を発
生する情報発生手段と、 前記ホスト装置から印刷データを受信しつつ、応答を時
間間隔をおいて複数回にわたって前記ホスト装置に返送
する応答手段と、 各応答を返送するとき、前記印刷完了を示す情報が発生
されていれば、この情報を前記応答にセットする情報セ
ット手段とを備えるプリンタ。
9. A printer connected to a host device, an information generating means for generating information indicating the completion of printing when printing of each sheet of paper is completed, and receiving a print data from the host device while setting a response time. Response means for returning to the host device a plurality of times at intervals; and, when returning each response, information setting means for setting the information in the response if information indicating the completion of printing has been generated. Equipped printer.
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 true JP2000181638A (en) 2000-06-30
JP3713699B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011009881A (en) * 2009-06-23 2011-01-13 Canon Inc Image forming apparatus, and control method and program therefor
US8824017B2 (en) 2012-04-16 2014-09-02 Cal-Comp Electronics & Communications Company Limited Paper detector with inducted module and printer using the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011009881A (en) * 2009-06-23 2011-01-13 Canon Inc Image forming apparatus, and control method and program therefor
US9088679B2 (en) 2009-06-23 2015-07-21 Canon Kabushiki Kaisha Image forming apparatus, and control method and program for the same
US8824017B2 (en) 2012-04-16 2014-09-02 Cal-Comp Electronics & Communications Company Limited Paper detector with inducted module and printer using the same

Also Published As

Publication number Publication date
JP3713699B2 (en) 2005-11-09

Similar Documents

Publication Publication Date Title
US20020021453A1 (en) Printing apparatus and printing system, control method, storage medium and program
JP2000172453A (en) Print system and host device of same system
US9361056B2 (en) Information processing apparatus and method for generating a conflict confirmation print job
US8294914B2 (en) Image forming apparatus and method for changing number of lines in band buffer based on memory size to be required
JPH10301736A (en) Printing system, error information managing method therefor and computer readable recording medium recorded with management control program for error information in the system
US8355144B2 (en) Apparatus and method of changing printer driver, and printing system and method using the same
JP2011237901A (en) Preview screen display control device and program
JPH11170631A (en) Image forming apparatus
JP3044939B2 (en) Page printer
JP3713699B2 (en) Printing system
JP2003323278A (en) Print program and print server
US20030011818A1 (en) Printing system and management method therefor
JP2004188865A (en) Image forming device and program
JP2000155654A (en) Printing device and printing system using the device and control method
JP3583879B2 (en) Printer control device
JP3709695B2 (en) Printing system, printer server apparatus used in printing system, printer server processing method, and recording medium on which printer server processing program is recorded
JP2004362219A (en) Printer, printer driver and utility system
JP5062750B2 (en) Image forming apparatus
KR100313869B1 (en) Apparatus for generating printing data efficiently and method thereof
US20230041908A1 (en) Image processing apparatus, non-transitory computer readable medium, and image processing method
JP2006130816A (en) Image forming device
JP2008027217A (en) Printing system with information processor and printing apparatus
JP3311969B2 (en) Discharge position control method and apparatus in printing apparatus
JP2744025B2 (en) Printing control device
JP2002236563A (en) Image information processor and print system

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