JP2002196909A - Printing system, method and printer - Google Patents

Printing system, method and printer

Info

Publication number
JP2002196909A
JP2002196909A JP2001299537A JP2001299537A JP2002196909A JP 2002196909 A JP2002196909 A JP 2002196909A JP 2001299537 A JP2001299537 A JP 2001299537A JP 2001299537 A JP2001299537 A JP 2001299537A JP 2002196909 A JP2002196909 A JP 2002196909A
Authority
JP
Japan
Prior art keywords
job
print
printer
print job
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.)
Granted
Application number
JP2001299537A
Other languages
Japanese (ja)
Other versions
JP3508752B2 (en
Inventor
Toshihiro Shima
敏博 島
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 JP2001299537A priority Critical patent/JP3508752B2/en
Publication of JP2002196909A publication Critical patent/JP2002196909A/en
Application granted granted Critical
Publication of JP3508752B2 publication Critical patent/JP3508752B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To cancel only a specific job transmitted by a host among printing jobs waiting for printing in a printer, by a command from the host. SOLUTION: When receiving a printing job from the host 2, the printer 1 produces an unique job ID in it, stores the command of the printing job in a printing cue 12 by linking the command to the job ID, and notifies the host 2 of the job ID. The host 2 stores the notified job ID and the name of the printing job in an ID table 22. In canceling the printing job from the host 2, the host 2 incorporates the job ID of the job to be cancelled, which is selected by users, with a canceling command, and transmits the canceling command to the printer 1. The printer 1 cancels only the printing jobs having the same ID numbers as those included in the canceling command within the printing cue 12.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はホストコンピュータ
からプリンタに既に送られた印刷ジョブをホストコンピ
ュータからの命令でキャンセル可能なプリンタ及び印刷
システムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a printer and a printing system capable of canceling a print job already sent from a host computer to a printer by a command from the host computer.

【0002】[0002]

【従来の技術】従来から、プリンタに既に送った印刷ジ
ョブをキャンセルすることができる例えば特開平9−6
555号に示されるような印刷システムがある。このシ
ステムでは、ホストコンピュータ(以降ホストと略称す
る)から印刷ジョブデータをプリンタに送ると、プリン
タは受け取った印刷ジョブデータを受信バッファにキュ
ーイングする。その後、ホストから緊急コマンドの一つ
であるキャンセルコマンドが到来すると、プリンタは印
刷ジョブデータの処理とは非同期に即座にキャンセルコ
マンドを処理して、受信バッファをクリアする。これに
より、受信バッファ内で印刷待ちしていた印刷ジョブが
キャンセルされる。
2. Description of the Related Art Conventionally, a print job already sent to a printer can be canceled, for example, as disclosed in Japanese Patent Laid-Open No. 9-6 / 1997.
There is a printing system as shown in US Pat. In this system, when print job data is sent from a host computer (hereinafter abbreviated as a host) to a printer, the printer queues the received print job data in a reception buffer. Thereafter, when a cancel command, which is one of emergency commands, comes from the host, the printer immediately processes the cancel command asynchronously with the processing of the print job data and clears the reception buffer. As a result, the print job waiting for printing in the reception buffer is canceled.

【0003】[0003]

【発明が解決しようとする課題】上記の従来システムで
は、プリンタに複数のホストが接続されているような場
合、或るホストからのキャンセルコマンドで、印刷待ち
している他のホストからの印刷ジョブまでもキャンセル
されてしまう虞がある。また、プリンタ内で複数の印刷
ジョブが印刷待ちしている場合、それら複数の印刷ジョ
ブを区別して個別にキャンセルすることができない。
In the conventional system described above, when a plurality of hosts are connected to a printer, a print command from another host waiting for printing is issued by a cancel command from a certain host. There is a risk of being canceled even before. Further, when a plurality of print jobs are waiting to be printed in the printer, the plurality of print jobs cannot be individually canceled and discriminated.

【0004】従って、本発明の目的は、プリンタ内で印
刷待ちしている或るホストからの印刷ジョブが、他のホ
ストからのキャンセルコマンドでキャンセルされてしま
う恐れを無くすことにある。
Accordingly, it is an object of the present invention to eliminate the possibility that a print job from a certain host waiting for printing in a printer is canceled by a cancel command from another host.

【0005】本発明の別の目的は、プリンタ内で印刷待
ちしている複数の印刷ジョブを区別して個別にキャンセ
ルできるようにすることにある。
Another object of the present invention is to enable a plurality of print jobs waiting to be printed in a printer to be distinguished and individually cancelled.

【0006】[0006]

【課題を解決するための手段】本発明に従う印刷システ
ムは、印刷ジョブを受信して印刷を行うプリンタと、こ
のプリンタに印刷ジョブ及びキャンセルコマンドを送信
することができる少なくとも1台のホスト装置とを備え
る。プリンタは、各印刷ジョブを構成するコマンド列の
先頭部分を受信した段階で、各印刷ジョブに対して前記
プリンタ内で一意のジョブIDを付与して、各印刷ジョ
ブに関連付けて各ジョブIDを記憶し、かつ、各ジョブ
IDを各印刷ジョブを送信したホスト装置に通知する。
また、プリンタは、受信した各印刷ジョブを印刷キュー
に格納する。ホスト装置は、プリンタから通知されたジ
ョブIDを保存し、そして、送信済みの或る印刷ジョブ
をキャンセルする際には、保存したジョブIDの中から
キャンセル対象の印刷ジョブのジョブIDを取得して、
このジョブIDを含んだキャンセルコマンドをプリンタ
に送信する。プリンタは、ホスト装置からキャンセルコ
マンドを受信すると、印刷キュー内の印刷ジョブのう
ち、キャンセルコマンドに含まれているジョブIDと一
致するジョブIDに関連付けられている印刷ジョブをキ
ャンセルする。
A printing system according to the present invention includes a printer for receiving and printing a print job, and at least one host device capable of transmitting a print job and a cancel command to the printer. Prepare. The printer assigns a unique job ID within the printer to each print job at the stage of receiving the head portion of the command sequence constituting each print job, and stores each job ID in association with each print job. Then, each job ID is notified to the host device that has transmitted each print job.
The printer stores each received print job in a print queue. The host device stores the job ID notified from the printer, and when canceling a certain transmitted print job, obtains the job ID of the print job to be canceled from the stored job IDs. ,
A cancel command including the job ID is transmitted to the printer. When receiving the cancel command from the host device, the printer cancels the print job associated with the job ID that matches the job ID included in the cancel command among the print jobs in the print queue.

【0007】このシステムによれば、プリンタがジョブ
単位で一意に設定したジョブIDを用いて個別にジョブ
キャンセルを行う。したがって、複数ジョブの中の特定
のジョブだけをキャンセルできるとともに、各ホスト装
置のユーザは他のホスト装置が発したジョブのジョブI
Dを知ることはできないから、誤って他のホスト装置の
ジョブをキャンセルしてしまう虞はない。
According to this system, the printer individually cancels a job using a job ID uniquely set for each job. Accordingly, not only a specific job among a plurality of jobs can be canceled, but also the user of each host device can cancel the job I of the job issued by another host device.
Since D cannot be known, there is no danger of erroneously canceling a job of another host device.

【0008】また、このシステムによれば、印刷ジョブ
を構成するコマンド列の先頭部分を受信した段階で、ジ
ョブIDを付与してホスト装置に通知するので、当該印
刷ジョブが印刷キュー内でまだ完全に印刷待ちである段
階でこれをキャンセルすることが可能になる。
Further, according to this system, a job ID is given to the host device at the stage of receiving the head portion of the command sequence constituting the print job, so that the print job is still completely in the print queue. This can be canceled at the stage where printing is waiting.

【0009】プリンタは、各印刷ジョブのジョブIDと
共に、各印刷ジョブの印刷キューでの待ち状況(例え
ば、待ち順位や待ち時間など)を示す待ち情報をホスト
装置に通知するように構成してもよい。そうすると、ホ
スト装置側で待ち状況に応じた柔軟な対応が採れるよう
になる。
The printer may be configured to notify the host apparatus of waiting information indicating a waiting state (for example, a waiting order and a waiting time) of each print job in a print queue together with the job ID of each print job. Good. Then, the host device can take flexible measures according to the waiting state.

【0010】また、ホスト装置は、ジョブキャンセルを
行う際に、保存してあるジョブIDを画面に一覧表示
し、表示したジョブIDの中からユーザが選択したジョ
ブIDをキャンセルコマンドに組み込んでプリンタに送
信するように構成することができる。或いは、ジョブI
Dと対応付けてジョブ名(例えば、印刷文書のファイル
名など)も一緒に保存しておいて、ジョブIDに代えて
又はジョブIDと共に、そのジョブ名を一覧表示し、そ
の中からユーザが選択したジョブ名に対応するジョブI
Dをキャンセルコマンドに組み込んでプリンタに送信す
るように構成するようにしてもよい。そのようにする
と、ユーザがキャンセル対象のジョブを選択することが
容易になる。
When canceling a job, the host device displays a list of saved job IDs on a screen, incorporates the job ID selected by the user from the displayed job IDs into a cancel command, and sends the job ID to the printer. It can be configured to transmit. Or job I
A job name (for example, a file name of a print document) is also stored in association with D, and a list of the job names is displayed in place of the job ID or together with the job ID, and the user selects the job name from the list. Job I corresponding to the completed job name
D may be incorporated in the cancel command and transmitted to the printer. This makes it easier for the user to select a job to be canceled.

【0011】上述したプリンタやホスト装置の機能は、
典型的にはコンピュータを用いて実現することができる
が、そのためのコンピュータプログラムは、フロッピー
(登録商標)ディスクやハードディスク等のディスク型
記録媒体、半導体メモリやカード型メモリなどの各種メ
モリ、又は通信ネットワークなどの各種のプログラム記
録媒体を通じてコンピュータに供給することができる。
The functions of the above-described printer and host device are as follows.
Typically, it can be realized using a computer, and a computer program therefor includes a disk-type recording medium such as a floppy (registered trademark) disk and a hard disk, various memories such as a semiconductor memory and a card-type memory, or a communication network. And the like, and can be supplied to a computer through various program recording media.

【0012】なお、個々のホスト装置は、典型的には1
台のパーソナルコンピュータのような1台のコンピュー
タマシンであるが、必ずしもそれだけに限られるわけで
はなく、複数台のコンピュータマシンのグループを1つ
のホスト装置とすることもできるし、或いは、プリンタ
へコマンドを送ることができるその他の装置、例えばプ
リンタサーバ、子プリンタが接続できる親プリンタ、そ
れらの組み合わせ、及びそれらとコンピュータマシンと
の組み合わせ、更には、プリンタが接続されるネットワ
ーク全体、およびそのネットワーク内の個々の物理又は
論理セグメントなどもそれぞれホスト装置となり得るも
のである。
Note that each host device typically has one
One computer machine such as one personal computer, but is not necessarily limited to it. A group of a plurality of computer machines can be one host device, or a command is sent to a printer. Other devices that can be connected, such as a printer server, a parent printer to which a child printer can connect, combinations thereof, and their combination with a computer machine, as well as the entire network to which the printer is connected and individual A physical or logical segment can also be a host device.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は本発明の印刷システムの一
実施形態を示したブロック図である。プリンタ1は印刷
ジョブのキャンセル機能を有し、ケーブル3を通してホ
ストコンピュータ(以降ホストと称する)2に接続され
ている。プリンタ1は、ホスト2から印刷ジョブを受信
し処理して印刷対象の画像データを生成する印刷処理部
11と、印刷処理部11が生成した画像データを取り込
んで、給紙トレイ14から供給される用紙にその対象画
像を印刷して排紙トレイ15に排出するプリンタエンジ
ン13と、ホスト2から受信された印刷ジョブを先入れ
先出で一旦保存する印刷キュー12を有している。ホス
ト2は例えばパーソナルコンピュータ等であって、OS
から与えられる印刷ジョブのデータをプリンタ1が理解
できる形式のデータに変換してプリンタ1に送るプリン
タドライバ21と、プリンタ1から返送されてきたジョ
ブIDを格納するIDテーブル22を有している。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the printing system of the present invention. The printer 1 has a print job canceling function, and is connected to a host computer (hereinafter referred to as a host) 2 through a cable 3. The printer 1 receives a print job from the host 2, processes the print job to generate image data to be printed, and fetches the image data generated by the print processing unit 11 and supplies the image data from the paper feed tray 14. The printer includes a printer engine 13 that prints the target image on a sheet and discharges the target image to a discharge tray 15, and a print queue 12 that temporarily stores a print job received from the host 2 on a first-in first-out basis. The host 2 is, for example, a personal computer or the like.
A printer driver 21 that converts print job data given by the printer 1 into data in a format that can be understood by the printer 1 and sends the data to the printer 1, and an ID table 22 that stores the job ID returned from the printer 1.

【0014】尚、プリンタ1にはLANやインターネッ
トなどの通信ネットワークを通して複数のホストが接続
される場合もあるが、本例では、1台のホスト2がプリ
ンタ1にケーブル3で接続された例を示している。
A plurality of hosts may be connected to the printer 1 through a communication network such as a LAN or the Internet. In this example, one host 2 is connected to the printer 1 by a cable 3. Is shown.

【0015】次に本実施の形態の動作について説明す
る。まず、ホスト2の印刷ジョブ送信動作について図2
に示したフローチャートを参照して説明する。ホスト2
のプリンタドライバ21は、OSから印刷ジョブデータ
を受けると、図2のステップ201にて、これをプリン
タ1が理解できる形式のデータ(所定言語で書かれた印
刷コマンドの列)に変換し、その印刷コマンドの列を先
頭から順次にOSを介してケーブル3を通してプリンタ
1に送り出す。
Next, the operation of this embodiment will be described. First, the print job transmission operation of the host 2 will be described with reference to FIG.
This will be described with reference to the flowchart shown in FIG. Host 2
Upon receiving the print job data from the OS, the printer driver 21 converts the print job data into data in a format understandable by the printer 1 (a sequence of print commands written in a predetermined language) in step 201 of FIG. A sequence of print commands is sequentially sent from the head to the printer 1 via the cable 3 via the OS.

【0016】プリンタ1の印刷処理部11は、この印刷
コマンド列の先頭部分を受けると、後述する図3のステ
ップ303、304に示した処理によって、その印刷ジ
ョブに対するプリンタ1内一意のID(ジョブID)を
生成し、これをケーブル3を通してホスト2に返送す
る。すると、ホスト2のプリンタドライバ21は、ステ
ップ202にて、プリンタ1から返送されたジョブID
を受け取って、このジョブIDを今送っている印刷ジョ
ブのジョブ名(例えば印刷文書のファイル名)と対応さ
せてIDテーブル22に保存する。その後、前記プリン
タドライバ21はステップ203にて、前記印刷ジョブ
の残りの印刷コマンド群をプリンタ1に送って、処理を
終了する。
When the print processing unit 11 of the printer 1 receives the head of the print command string, it executes a process shown in steps 303 and 304 in FIG. ID) and returns it to the host 2 through the cable 3. Then, the printer driver 21 of the host 2 determines in step 202 that the job ID returned from the printer 1
And stores the job ID in the ID table 22 in association with the job name of the currently transmitted print job (for example, the file name of the print document). Thereafter, the printer driver 21 sends the remaining print command group of the print job to the printer 1 in step 203, and ends the processing.

【0017】次に、プリンタ1の印刷ジョブ受付処理に
ついて図3に示したフローチャートを参照して説明す
る。プリンタ1の印刷処理部11はステップ301に
て、ホスト2から印刷ジョブが到来するのを待ち、印刷
ジョブを構成する印刷コマンド列が到来すると、ステッ
プ302に進み、受信した印刷コマンドを順次に印刷キ
ュー(受信バッファ)12に保存する。印刷処理部11
は、印刷コマンド列の先頭部分を受信し保存したところ
で、ステップ303にて、受信した印刷ジョブに対して
プリンタ1内で一意のジョブIDを決定し、このジョブ
IDを印刷キュー12内の当該印刷ジョブに論理的に関
係づけて記憶すると共に、ステップ304にて、このジ
ョブIDをケーブル3を通してホスト2に通知する。そ
の後、印刷処理部11はステップ305にて、ホスト2
から送られてくる当該印刷ジョブの残りの印刷コマンド
列を受信し、これを先に印刷キュー12に保存した印刷
コマンド列先頭部分に続けて、この印刷キュー12に保
存する。
Next, the print job receiving process of the printer 1 will be described with reference to the flowchart shown in FIG. In step 301, the print processing unit 11 of the printer 1 waits for a print job from the host 2 and, when a print command sequence constituting the print job arrives, proceeds to step 302 and sequentially prints the received print commands. The data is stored in the queue (reception buffer) 12. Print processing unit 11
Determines the unique job ID in the printer 1 for the received print job in step 303 when the first part of the print command string is received and stored, and assigns the job ID to the print queue in the print queue 12. At step 304, the job ID is notified to the host 2 through the cable 3. Thereafter, the print processing unit 11 determines in step 305 that the host 2
Receives the remaining print command strings of the print job sent from the printer, and stores the remaining print command strings in the print queue 12 following the print command string head previously stored in the print queue 12.

【0018】尚、印刷処理部11は、ホスト2から当該
印刷ジョブにかかる全ての印刷コマンドを受け取った後
に、当該印刷ジョブに対するジョブIDを決定して、こ
れをホストに通知するように構成することもできる。し
かし、当該印刷ジョブが印刷キュー12内でまだ完全に
印刷待ちである段階でこれをキャンセルできるようにす
るためには、印刷ジョブを受信したら即座に、つまり、
印刷コマンド列の先頭部分を受信した段階で、ジョブI
Dを決めてホストに通知することが望ましい。
The print processing unit 11 is configured to determine the job ID for the print job after receiving all the print commands for the print job from the host 2 and notify the host of the job ID. Can also. However, in order to be able to cancel the print job at a stage where the print job is still completely waiting for printing in the print queue 12, the print job is received immediately, that is,
When the head of the print command sequence is received, the job I
It is desirable to determine D and notify the host.

【0019】また、印刷処理部11は、上記したステッ
プ304にてジョブIDをホスト2に通知する際、この
ジョブIDを付した印刷ジョブの印刷キュー12内での
待ち順位又は待ち時間に関わる待ち情報をホスト2に送
信し、ホスト2のプリンタドライバ21はこの待ち情報
を画面に表示するように構成することもできる。そうす
ると、ユーザは自分の書類の印刷が開始されるまでの待
ち時間を把握できるので、例えば余り長く待つようなら
ジョブをキャンセルするといった柔軟な対応が採れるよ
うになる。
When the print processing unit 11 notifies the host 2 of the job ID in step 304, the print processing unit 11 waits for the print job with the job ID in the print queue 12 or the wait time related to the wait time. The information may be transmitted to the host 2, and the printer driver 21 of the host 2 may be configured to display the waiting information on a screen. Then, since the user can grasp the waiting time until the printing of his or her document is started, the user can take flexible measures such as canceling the job if the user waits too long.

【0020】さて、印刷ジョブをプリンタ1に送った
後、ホスト2のユーザがその印刷ジョブをキャンセルす
る場合には、ユーザはホスト2に対して所定のキャンセ
ル操作を行う。図4はキャンセル操作を受けるためのホ
スト2のキャンセル処理を示したフローチャートであ
る。ホスト2のプリンタドライバ21は、図2のステッ
プ202でジョブIDを受信した後、図4のステップ4
01にて、キャンセル操作待ちをし、キャンセル操作が
なされると、ステップ402に進み、IDテーブル22
から印刷ジョブ名とそれに付けられたジョブIDを読み
出してその一覧表をホスト2のディスプレイ画面(図示
せす)に表示する。この一覧表上でユーザはキャンセル
したい印刷ジョブをカーソルなどで選択する。これによ
り、プリンタドライバ21はステップ403にて、選択
されたジョブのジョブIDを取得し、ステップ404に
て、そのジョブIDを組み込んだキャンセルコマンドを
プリンタ1へ送って、処理を終了する。
When the user of the host 2 cancels the print job after sending the print job to the printer 1, the user performs a predetermined cancel operation on the host 2. FIG. 4 is a flowchart showing a cancel process of the host 2 for receiving a cancel operation. After receiving the job ID in step 202 in FIG. 2, the printer driver 21 of the host 2 executes step 4 in FIG.
In step 01, the process waits for a cancel operation. When the cancel operation is performed, the process proceeds to step 402, where
And reads the print job name and the job ID attached to the print job name from the list, and displays a list thereof on the display screen (not shown) of the host 2. On this list, the user selects a print job to be canceled with a cursor or the like. Accordingly, the printer driver 21 acquires the job ID of the selected job in step 403, sends a cancel command incorporating the job ID to the printer 1 in step 404, and ends the process.

【0021】次にキャンセルコマンドを受けたプリンタ
1の処理について図5のフローチャートを参照して説明
する。プリンタ1の印刷処理部11は、ステップ501
にて、キャンセルコマンド待ちをし、キャンセルコマン
ドを受けると、ステップ502にて、キャンセルコマン
ドに組み込まれたジョブIDと一致するジョブIDが付
けられた印刷ジョブを印刷キュー12の中から探す。こ
の結果、ステップ503にて、一致するジョブIDをも
ったキャンセル対象の印刷ジョブが見つかるとステップ
504に進み、一方、見つからないと図5の処理を終了
して印刷ジョブの処理を続行する。ステップ504に進
んだ場合、印刷処理部11はキャンセル対象の印刷ジョ
ブをキャンセルする。
Next, the processing of the printer 1 which has received the cancel command will be described with reference to the flowchart of FIG. The print processing unit 11 of the printer 1 executes Step 501
In step 502, when a cancel command is waited for and a cancel command is received, a print job having a job ID matching the job ID incorporated in the cancel command is searched from the print queue 12. As a result, if a cancel target print job having a matching job ID is found in step 503, the process proceeds to step 504. If not found, the process in FIG. 5 is terminated and the print job process is continued. When the process proceeds to step 504, the print processing unit 11 cancels the print job to be canceled.

【0022】ここで、印刷ジョブのキャンセルは、例え
ば次のような方法で行う。印刷処理部11は印刷キュー
12から印刷コマンドを受信順に読み出し、読み出した
印刷コマンドを解釈して印刷対象画像のビットマップデ
ータを作成し、これをプリンタエンジン13に渡すこと
により、印刷を実行して行く。この過程で、印刷処理部
11は、印刷キュー12に格納されている印刷コマンド
の印刷ジョブに付けられているジョブIDと、受信した
キャンセルコマンドに組み込まれていたジョブIDとを
照合し、一致した印刷ジョブについては、その印刷コマ
ンドを印刷キュー12から読み出しつつ、その印刷コマ
ンドを無視する(つまり、印刷コマンドを解釈して画像
データを生成するという通常の印刷処理は行わず、単に
印刷コマンドを読み込んで捨てるだけである)。これに
より、印刷キュー12からはキャンセル対象の印刷ジョ
ブのコマンドが吐き出されて印刷キュー12は空になる
が、その印刷ジョブの印刷はキャンセルされる。
Here, the print job is canceled by the following method, for example. The print processing unit 11 reads the print commands from the print queue 12 in the order received, interprets the read print commands to create bitmap data of the image to be printed, and passes the bitmap data to the printer engine 13 to execute printing. go. In this process, the print processing unit 11 collates the job ID assigned to the print job of the print command stored in the print queue 12 with the job ID included in the received cancel command, and finds a match. As for the print job, the print command is read from the print queue 12 and ignored (that is, the normal print processing of interpreting the print command and generating the image data is not performed, but simply reading the print command). Just throw it away). As a result, the command of the print job to be canceled is ejected from the print queue 12 and the print queue 12 becomes empty, but printing of the print job is canceled.

【0023】尚、キャンセルコマンドを受信したとき、
印刷処理部11がキャンセル対象ジョブの一部を既にビ
ットマップデータに展開済みであったり、既に用紙に印
刷を行っている最中である場合、その印刷中の部分につ
いてはそのまま印刷し、まだ印刷に入っていないビット
マップイメージは消去し、更に、印刷キュー12に残っ
ている印刷コマンドは印刷キュー12から読み出して無
視してしまうことにより、その印刷ジョブをキャンセル
する。
When a cancel command is received,
If the print processing unit 11 has already developed a part of the job to be canceled into bitmap data, or is already printing on paper, the part being printed is printed as it is, and printing is still performed. The bitmap image not included in the print queue is deleted, and the print command remaining in the print queue 12 is read out from the print queue 12 and ignored, thereby canceling the print job.

【0024】以上のように、本実施形態では、各印刷ジ
ョブに対してプリンタ1がジョブIDを付与し、これを
そのジョブを発したホスト2に知らせておき、ホスト2
から任意の印刷ジョブをキャンセルする時は、ホスト2
がジョブIDを指定してプリンタ1にキャンセルを依頼
し、プリンタ1では指定されたジョブIDをもった印刷
ジョブのみをキャンセルするようにしているる。そのた
め、プリンタ1に複数のホスト2が接続されている場
合、各ホスト2は自分の発したジョブIDしか知ること
ができず、他のホストが発した印刷ジョブのジョブID
を知ることはないので、或るホストからのキャンセルコ
マンドに他のホストからのジョブIDが含まれる可能性
は実質的にゼロであり、よって、或るホストからのキャ
ンセルコマンドで他のホストからの印刷ジョブをキャン
セルされてしまうおそれはない。
As described above, in the present embodiment, the printer 1 assigns a job ID to each print job, and notifies the host 2 that issued the job the job ID.
To cancel an arbitrary print job from the host 2,
Requests the printer 1 to cancel by designating the job ID, and the printer 1 cancels only the print job having the designated job ID. Therefore, when a plurality of hosts 2 are connected to the printer 1, each host 2 can know only the job ID issued by itself, and the job ID of the print job issued by another host
, The possibility that a cancel command from one host includes a job ID from another host is substantially zero, and therefore, a cancel command from one host causes There is no risk of canceling the print job.

【0025】また、ジョブIDは各印刷ジョブ毎にプリ
ンタ1内で一意に決定されるため、複数の印刷ジョブが
プリンタ1内で印刷待ちである場合、それらの印刷ジョ
ブには異なるジョブIDが付与されているので、各印刷
ジョブを他から区別して個別にキャンセルすることがで
きる。
Since a job ID is uniquely determined in the printer 1 for each print job, when a plurality of print jobs are waiting to be printed in the printer 1, different job IDs are assigned to those print jobs. Therefore, each print job can be canceled separately from the others.

【0026】以上、本発明の好適な実施形態を説明した
が、それらは本発明の説明のためであって、本発明の範
囲をそれら実施形態にのみ限定する趣旨ではない。本発
明は、その要旨を逸脱することなく、上記説明した実施
の形態とは具体的な構成、動作、機能、作用などにおい
て異なる他の種々の形態によっても実施することができ
る。
Although the preferred embodiments of the present invention have been described above, they are for explanation of the present invention, and are not intended to limit the scope of the present invention only to those embodiments. The present invention can be embodied in various other forms different from the above-described embodiment in specific configurations, operations, functions, functions, and the like without departing from the gist thereof.

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

【図1】本発明の印刷システムの一実施形態を示したブ
ロック図。
FIG. 1 is a block diagram showing an embodiment of a printing system according to the present invention.

【図2】ホストのプリンタドライバが行う印刷コマンド
の生成・送信処理を示したフローチャート。
FIG. 2 is a flowchart illustrating print command generation / transmission processing performed by a printer driver of a host.

【図3】プリンタが行う印刷コマンド受付処理を示した
フローチャート。
FIG. 3 is a flowchart illustrating a print command receiving process performed by the printer.

【図4】ホストのプリンタドライバが行うキャンセルコ
マンド生成・送信処理を示したフローチャート。
FIG. 4 is a flowchart illustrating cancel command generation / transmission processing performed by a printer driver of a host.

【図5】プリンタが行う印刷ジョブのキャンセル処理を
示したフローチャート。
FIG. 5 is a flowchart illustrating a print job canceling process performed by the printer.

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

1 プリンタ 2 ホスト 3 ケーブル 11 印刷処理部 12 印刷キュー 13 エンジンプリンタ 14 給紙トレイ 15 排紙トレイ 21 プリンタドライバ 22 IDテーブル DESCRIPTION OF SYMBOLS 1 Printer 2 Host 3 Cable 11 Print processing part 12 Print queue 13 Engine printer 14 Paper feed tray 15 Paper discharge tray 21 Printer driver 22 ID table

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 印刷ジョブを受信して印刷を行うプリン
タと、 前記プリンタに前記印刷ジョブ及びキャンセルコマンド
を送信することができる少なくとも1台のホスト装置と
を備え、 前記プリンタが、 各印刷ジョブを構成するコマンド列の先頭部分を受信し
た段階で、各印刷ジョブに対して前記プリンタ内で一意
のジョブIDを付与して、各印刷ジョブに関連付けて各
ジョブIDを記憶し、かつ、各ジョブIDを各印刷ジョ
ブを送信したホスト装置に通知すると共に、受信した各
印刷ジョブを印刷キューに格納するジョブ受付手段と、 前記ホスト装置から、特定のジョブIDを含んだキャン
セルコマンドを受信すると、前記印刷キュー内の印刷ジ
ョブのうち、前記特定のジョブIDと一致するジョブI
Dに関連付けられている印刷ジョブをキャンセルするキ
ャンセル手段とを有し、 前記ホスト装置が、 前記プリンタの前記ジョブ受付手段から通知された前記
ジョブIDを保存するID保存手段と、 前記プリンタに送信済みの印刷ジョブをキャンセルする
際に、前記ID保存手段からキャンセル対象の印刷ジョ
ブのジョブIDを取得して、この取得したジョブIDを
含んだキャンセルコマンドを前記プリンタに送信するキ
ャンセル要求手段とを有する印刷システム。
1. A printer that receives a print job and performs printing, and at least one host device that can transmit the print job and a cancel command to the printer, wherein the printer performs each print job. At the stage where the head portion of the command sequence to be composed is received, a unique job ID is assigned to each print job in the printer, each job ID is stored in association with each print job, and each job ID is stored. And a job receiving unit that stores the received print job in a print queue and a cancel command including a specific job ID from the host device. Job I among print jobs in the queue that matches the specific job ID
D, a cancel unit for canceling a print job associated with D, wherein the host device is an ID storage unit for storing the job ID notified from the job reception unit of the printer, and has been transmitted to the printer. And a cancel request unit for acquiring a job ID of the print job to be canceled from the ID storage unit when canceling the print job, and transmitting a cancel command including the acquired job ID to the printer. system.
【請求項2】 前記ジョブ受付手段が、前記各印刷ジョ
ブのジョブIDと共に、前記各印刷ジョブの前記印刷キ
ューでの待ち状況を示す待ち情報を、前記ホスト装置に
通知する請求項1記載の印刷システム。
2. The printing method according to claim 1, wherein the job receiving unit notifies the host device of waiting information indicating a waiting state of the printing job in the printing queue together with a job ID of the printing job. system.
【請求項3】 前記ホスト装置のキャンセル要求手段
が、前記ID保存手段に保存してある前記ジョブIDを
画面に一覧表示し、表示したジョブIDの中から選択さ
れたジョブIDを前記キャンセルコマンドに含ませる請
求項1記載の印刷システム。
3. A cancel request unit of the host device displays a list of the job IDs stored in the ID storage unit on a screen, and assigns a job ID selected from the displayed job IDs to the cancel command. The printing system according to claim 1, which is included.
【請求項4】 前記ホスト装置において、 前記ID保存手段が、前記各ジョブIDと共に前記各印
刷ジョブのジョブ名を前記各ジョブIDに対応づけて保
存し、 前記キャンセル要求手段が、前記ID保存手段に保存し
てある前記ジョブ名を画面に一覧表示し、表示したジョ
ブ名の中から選択されたジョブ名に対応付けられたジョ
ブIDを前記キャンセルコマンドに含ませる請求項1記
載の印刷システム。
4. The host device, wherein the ID storage unit stores a job name of each print job together with each job ID in association with each job ID, and wherein the cancel request unit stores the ID storage unit. 2. The printing system according to claim 1, wherein a list of the job names stored in the list is displayed on a screen, and a job ID associated with a job name selected from the displayed job names is included in the cancel command.
【請求項5】 外部から印刷ジョブとキャンセルコマン
ドとを受信できるプリンタであって、 各印刷ジョブを構成するコマンド列の先頭部分を受信し
た段階で、各印刷ジョブに対して前記プリンタ内で一意
のジョブIDを付与して、各印刷ジョブに関連付けて各
ジョブIDを記憶し、かつ、各ジョブIDを各印刷ジョ
ブを送信したホスト装置に通知すると共に、受信した各
印刷ジョブを印刷キューに格納するジョブ受付手段と、 特定のジョブIDを含んだ前記キャンセルコマンドを受
信すると、前記印刷キュー内の印刷ジョブのうち、前記
特定のジョブIDと一致するジョブIDに関連付けられ
た印刷ジョブをキャンセルするキャンセル手段とを備え
たプリンタ。
5. A printer capable of receiving a print job and a cancel command from the outside, wherein at a stage where a head portion of a command sequence constituting each print job is received, a unique print command is assigned to each print job in the printer. A job ID is assigned, each job ID is stored in association with each print job, and each job ID is notified to a host device that has transmitted each print job, and each received print job is stored in a print queue. A job accepting unit, and a canceling unit that, when receiving the cancel command including the specific job ID, cancels a print job associated with a job ID that matches the specific job ID among the print jobs in the print queue. And a printer with.
【請求項6】 外部から印刷ジョブとキャンセルコマン
ドとを受信できるプリンタ内のコンピュータを、 各印刷ジョブを構成するコマンド列の先頭部分を受信し
た段階で、各印刷ジョブに対して前記プリンタ内で一意
のジョブIDを付与して、各印刷ジョブに関連付けて各
ジョブIDを記憶し、かつ、各ジョブIDを各印刷ジョ
ブを送信したホスト装置に通知すると共に、受信した各
印刷ジョブを印刷キューに格納するジョブ受付手段と、 特定のジョブIDを含んだ前記キャンセルコマンドを受
信すると、前記印刷キュー内の印刷ジョブのうち、前記
特定のジョブIDと一致するジョブIDに関連付けられ
た印刷ジョブをキャンセルするキャンセル手段ととして
機能させるためのコンピュータプログラムを担持したコ
ンピュータ読み取り可能なプログラム記録媒体。
6. A computer in a printer, which can receive a print job and a cancel command from the outside, uniquely identifies each print job in the printer at the stage of receiving a head portion of a command sequence constituting each print job. And stores each job ID in association with each print job, notifies the host device that transmitted each print job of each job ID, and stores each received print job in a print queue. Receiving a cancel command including a specific job ID, and canceling a print job associated with a job ID matching the specific job ID among print jobs in the print queue. Computer readable carrying computer program for functioning as means Program recording medium.
【請求項7】 少なくとも1台のホスト装置から受信し
た印刷ジョブを前記ホスト装置からのキャンセルコマン
ドに応答してプリンタがキャンセルする方法であって、 各印刷ジョブを構成するコマンド列の先頭部分を受信し
た段階で、各印刷ジョブに対して前記プリンタ内で一意
のジョブIDを付与して、各印刷ジョブに関連付けて各
ジョブIDを記憶し、かつ、各ジョブIDを各印刷ジョ
ブを送信したホスト装置に通知する過程と、 受信した各印刷ジョブを印刷キューに格納する過程と、 前記ホスト装置から特定のジョブIDを含んだキャンセ
ルコマンドを受けたとき、前記印刷キュー内の印刷ジョ
ブのうち、前記特定のジョブIDと一致するジョブID
に関連付けられた印刷ジョブをキャンセルする過程と、
を有する印刷ジョブのキャンセル方法。
7. A method in which a printer cancels a print job received from at least one host device in response to a cancel command from the host device, wherein a first part of a command sequence constituting each print job is received. At this stage, a host device that assigns a unique job ID within the printer to each print job, stores each job ID in association with each print job, and transmits each job ID to each print job And storing each received print job in a print queue. Upon receiving a cancel command including a specific job ID from the host device, the print job in the print queue includes Job ID that matches the job ID of
Canceling the print job associated with the
Print job canceling method.
JP2001299537A 2001-09-28 2001-09-28 Printing system, method and printer Expired - Lifetime JP3508752B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001299537A JP3508752B2 (en) 2001-09-28 2001-09-28 Printing system, method and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001299537A JP3508752B2 (en) 2001-09-28 2001-09-28 Printing system, method and printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP31489097A Division JP3252953B2 (en) 1997-11-17 1997-11-17 Printing system, method and printer

Publications (2)

Publication Number Publication Date
JP2002196909A true JP2002196909A (en) 2002-07-12
JP3508752B2 JP3508752B2 (en) 2004-03-22

Family

ID=19120284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001299537A Expired - Lifetime JP3508752B2 (en) 2001-09-28 2001-09-28 Printing system, method and printer

Country Status (1)

Country Link
JP (1) JP3508752B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007048078A (en) * 2005-08-10 2007-02-22 Fuji Xerox Co Ltd Printing system, printer, printing processing method and program
JP2009009507A (en) * 2007-06-29 2009-01-15 Casio Electronics Co Ltd Printing system
US7847963B2 (en) 2005-03-28 2010-12-07 Fuji Xerox Co., Ltd. Printing system, image reading apparatus and controlling method of the system
US8294924B2 (en) 2005-03-22 2012-10-23 Fuji Xerox Co., Ltd. Printing system, printing method and printing apparatus
JP2014031020A (en) * 2013-10-11 2014-02-20 Casio Electronics Co Ltd Printing device
US9122976B2 (en) 2011-09-30 2015-09-01 Casio Electronics Manufacturing Co., Ltd. Printing device capable of canceling print job, printing method, and storage medium
US10470775B2 (en) 2015-10-23 2019-11-12 Hangzhou Ags Medtech Co., Ltd. Ligation device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8294924B2 (en) 2005-03-22 2012-10-23 Fuji Xerox Co., Ltd. Printing system, printing method and printing apparatus
US7847963B2 (en) 2005-03-28 2010-12-07 Fuji Xerox Co., Ltd. Printing system, image reading apparatus and controlling method of the system
JP2007048078A (en) * 2005-08-10 2007-02-22 Fuji Xerox Co Ltd Printing system, printer, printing processing method and program
JP4618042B2 (en) * 2005-08-10 2011-01-26 富士ゼロックス株式会社 Printing system, printing apparatus, printing processing method, and program
US8237954B2 (en) 2005-08-10 2012-08-07 Fuji Xerox Co., Ltd. Print system, print apparatus, print processing method, and program
JP2009009507A (en) * 2007-06-29 2009-01-15 Casio Electronics Co Ltd Printing system
US9122976B2 (en) 2011-09-30 2015-09-01 Casio Electronics Manufacturing Co., Ltd. Printing device capable of canceling print job, printing method, and storage medium
JP2014031020A (en) * 2013-10-11 2014-02-20 Casio Electronics Co Ltd Printing device
US10470775B2 (en) 2015-10-23 2019-11-12 Hangzhou Ags Medtech Co., Ltd. Ligation device

Also Published As

Publication number Publication date
JP3508752B2 (en) 2004-03-22

Similar Documents

Publication Publication Date Title
US5873659A (en) Method and apparatus for providing a printer having internal queue job management
US7324224B2 (en) Printer for managing a plurality of print job data
US20070146778A1 (en) Print system, server system, and job control method
JP4194532B2 (en) Information processing apparatus and job transfer control method
JP2001154819A (en) Device and method for controlling print and recording medium for storing print control program and print control program product
JP2006023830A (en) Output completion notification system, output controller, control program and storage medium
JP2002140184A (en) Printer, print system, recording medium and server
JPH09258931A (en) Printing controller
US20040156069A1 (en) Print control program and information processing apparatus
JP3252953B2 (en) Printing system, method and printer
JP4109821B2 (en) Information processing apparatus and job processing result confirmation method
US6676309B2 (en) Printer having function of administrating print job and method for administrating print job
JP3508752B2 (en) Printing system, method and printer
JP4869009B2 (en) Information processing apparatus and information processing method
US8270001B2 (en) Printing apparatus and canceling method
JP2006277130A (en) Client computer, printer driver creating method, printer driver retrieving method
JP2006243884A (en) Print job management device, print job management program, image forming device and image forming program
JP2004070871A (en) Network printer and data sharing printing system
JPH09107426A (en) Print controller, printer, print job processing method for print controller
JP3951114B2 (en) Computer, print server, printer and printing system using them.
JP2001260433A (en) Printer and its control method
JPH08267877A (en) Printer and controlling method therefor
JP2005349768A (en) Printing device and printing method
JP2001047706A (en) Imaging system in network environment
JP3810238B2 (en) Print job management apparatus, print job management method, and recording medium recording program

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031215

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140109

Year of fee payment: 10

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

EXPY Cancellation because of completion of term