JP2003266813A - Printer, print control method, print control program, and medium recording print control program - Google Patents

Printer, print control method, print control program, and medium recording print control program

Info

Publication number
JP2003266813A
JP2003266813A JP2002074700A JP2002074700A JP2003266813A JP 2003266813 A JP2003266813 A JP 2003266813A JP 2002074700 A JP2002074700 A JP 2002074700A JP 2002074700 A JP2002074700 A JP 2002074700A JP 2003266813 A JP2003266813 A JP 2003266813A
Authority
JP
Japan
Prior art keywords
print
print job
job data
data
cancel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2002074700A
Other languages
Japanese (ja)
Inventor
Atsushi Fujimaki
敦 藤牧
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 JP2002074700A priority Critical patent/JP2003266813A/en
Publication of JP2003266813A publication Critical patent/JP2003266813A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve such a problem that insignificant printing may be effected when a reset switch is operated. <P>SOLUTION: Print job data constituting a print job is received from a connected host computer and stored in a receiving buffer 23a (specified storage area), print data for performing printing is generated by interpreting a command in the print job data and then printing is performed on a print medium. Further, cancel status information is generated upon receiving cancel request of print job data and when the cancel status information is generated, printing up to the end point of the print job data being stored in the receiving buffer 23a is stopped. Consequently, the print job can be canceled so that insignificant printing is not performed. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、接続されたホスト
コンピュータから印刷ジョブデータを受信して印刷を実
行する印刷装置、印刷制御方法、印刷制御プログラムお
よび印刷制御プログラムを記録した媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus that receives print job data from a connected host computer and executes printing, a print control method, a print control program, and a medium recording the print control program.

【0002】[0002]

【従来の技術】従来、レーザープリンタ等の印刷装置
は、ホストコンピュータから印刷ジョブが入力されると
ページ記述言語等のコマンドを含む印刷ジョブデータを
取得して受信バッファに一時記憶させ、同印刷ジョブデ
ータ内のコマンドを解釈して印刷イメージを表現する印
刷データを生成し、同印刷データをプリントエンジンに
送出することにより印刷を実行している。図14は、レ
ーザープリンタにホストコンピュータであるパーソナル
コンピュータ(PC)を接続したときに、受信バッファ
に一時記憶される印刷ジョブデータの様子を模式的に示
している。なお、図中、印刷ジョブデータが存在する箇
所を斜線で示している。図の左側に示すように、PCが
印刷ジョブデータを順次送信していくと、レーザープリ
ンタは同印刷ジョブデータを受信して順次受信バッファ
に記憶させていく(タイミングt1)。ここで、レーザー
プリンタの操作パネルには印刷ジョブをリセットする
(消去する)ためのリセットスイッチが設けられてお
り、このリセットスイッチが操作されると受信バッファ
に記憶されている印刷ジョブデータJ1を削除するとと
もに、プリントエンジンに送出されていない印刷データ
も削除する(タイミングt2)。
2. Description of the Related Art Conventionally, when a print job is input from a host computer, a printing apparatus such as a laser printer acquires print job data including a command such as a page description language and temporarily stores it in a reception buffer. Printing is executed by interpreting commands in the data, generating print data representing a print image, and sending the print data to the print engine. FIG. 14 schematically shows a state of print job data temporarily stored in the reception buffer when a personal computer (PC) which is a host computer is connected to the laser printer. It should be noted that, in the figure, a portion where print job data exists is indicated by diagonal lines. As shown on the left side of the figure, when the PC sequentially transmits the print job data, the laser printer receives the print job data and sequentially stores the print job data in the reception buffer (timing t1). Here, a reset switch for resetting (erasing) a print job is provided on the operation panel of the laser printer, and when the reset switch is operated, the print job data J1 stored in the reception buffer is deleted. At the same time, the print data not sent to the print engine is also deleted (timing t2).

【0003】[0003]

【発明が解決しようとする課題】上述した従来の印刷装
置においては、ホストコンピュータが印刷ジョブデータ
を送信している最中にリセットスイッチが操作される
と、この段階では印刷ジョブデータのうち受信したデー
タのみ(図のJ1に相当)削除するので、残りの印刷ジ
ョブデータ(図のJ2に相当)が受信されて受信バッフ
ァに一時記憶されることになる(タイミングt3)。する
と、その後に受信した途中からの印刷ジョブデータJ2
に基づいて印刷が行われてしまう。このような場合、印
刷ジョブデータ内のコマンドが正しく解釈されないの
で、いわゆるゴミ印字といわれるような無意味な印刷が
行われてしまう。本発明は、上記課題にかんがみてなさ
れたもので、無意味な印刷が行われないように印刷ジョ
ブをキャンセルすることが可能な印刷装置、印刷制御方
法、印刷制御プログラムおよび印刷制御プログラムを記
録した媒体の提供を目的とする。
In the conventional printing apparatus described above, if the reset switch is operated while the host computer is transmitting the print job data, at this stage the print job data received is received. Since only the data (corresponding to J1 in the figure) is deleted, the remaining print job data (corresponding to J2 in the figure) is received and temporarily stored in the reception buffer (timing t3). Then, the print job data J2 from the middle received thereafter
Will be printed based on. In such a case, since the command in the print job data is not correctly interpreted, meaningless printing such as so-called dust printing is performed. The present invention has been made in view of the above problems, and recorded a printing apparatus, a print control method, a print control program, and a print control program capable of canceling a print job so that meaningless printing is not performed. The purpose is to provide a medium.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、所定の記憶領域を有し、
接続されたホストコンピュータから印刷ジョブを構成す
る印刷ジョブデータを受信して同記憶領域に記憶させる
ジョブ受信手段と、上記記憶領域に記憶される印刷ジョ
ブデータ内のコマンドを解釈して印刷を実行させるため
の印刷データを生成する印刷データ生成手段と、生成さ
れた上記印刷データを取得して印刷媒体への印刷を実行
する印刷手段と、上記印刷ジョブデータのキャンセル要
求の入力を受け付け可能であり、同キャンセル要求の入
力を受け付けたとき、上記印刷ジョブデータの処理状態
がキャンセル状態であることを意味するキャンセルステ
ータス情報を生成するステータス生成手段と、上記キャ
ンセルステータス情報が生成されたとき、上記記憶領域
に記憶される上記印刷ジョブデータの終了箇所までの印
刷を中止させる印刷中止手段とを具備する構成としてあ
る。
In order to achieve the above object, the invention according to claim 1 has a predetermined storage area,
A job receiving unit that receives print job data forming a print job from a connected host computer and stores the print job data in the storage area, and interprets a command in the print job data stored in the storage area to execute printing. Print data generating means for generating print data, a printing means for acquiring the generated print data and executing printing on a print medium, and accepting an input of a cancel request for the print job data, A status generation unit that generates cancellation status information that means that the processing status of the print job data is a cancellation status when the cancellation request is input, and the storage area when the cancellation status information is generated. A mark to stop printing up to the end of the print job data stored in It is constituted comprising a stop means.

【0005】すなわち、印刷装置はホストコンピュータ
と接続可能であり、ジョブ受信手段によってホストコン
ピュータから印刷ジョブを構成する印刷ジョブデータを
受信して所定の記憶領域に記憶させる。すると、印刷デ
ータ生成手段によって、同記憶領域に記憶される印刷ジ
ョブデータ内のコマンドが解釈され、印刷を実行させる
ための印刷データが生成される。生成された印刷データ
は印刷手段に取得され、同印刷データに基づいて印刷媒
体への印刷が実行される。
That is, the printing apparatus can be connected to a host computer, and the job receiving means receives print job data forming a print job from the host computer and stores it in a predetermined storage area. Then, the print data generation unit interprets the command in the print job data stored in the storage area, and generates print data for executing printing. The generated print data is acquired by the printing unit, and printing on the print medium is executed based on the print data.

【0006】ここで、ステータス生成手段は、印刷ジョ
ブデータのキャンセル要求の入力を受け付け可能であ
る。そして、印刷ジョブデータのキャンセル要求の入力
を受け付けたとき、印刷ジョブデータの処理状態がキャ
ンセル状態であることを意味するキャンセルステータス
情報を生成する。キャンセルステータス情報が生成され
たとき、印刷中止手段は、ジョブ受信手段の記憶領域に
記憶される印刷ジョブデータの終了箇所までの印刷を中
止させる。すると、ホストコンピュータが印刷ジョブデ
ータを送信している最中にキャンセル要求を印刷装置に
入力しても、記憶領域に記憶される印刷ジョブデータの
終了箇所までの印刷が中止されるので、無意味な印刷が
行われなくなる。従って、無意味な印刷が行われないよ
うに印刷ジョブをキャンセルすることが可能となる。
Here, the status generation means can accept the input of the cancel request of the print job data. Then, when the input of the cancel request of the print job data is accepted, the cancel status information indicating that the processing status of the print job data is the cancel status is generated. When the cancel status information is generated, the print canceling unit cancels the printing up to the end point of the print job data stored in the storage area of the job receiving unit. Then, even if the host computer inputs a cancel request to the printing device while transmitting the print job data, the printing up to the end portion of the print job data stored in the storage area is stopped, which is meaningless. Printing is not performed. Therefore, it is possible to cancel the print job so that meaningless printing is not performed.

【0007】印刷ジョブデータは印刷ジョブを実行させ
るためのコマンドを有するデータであればよく、コマン
ド解釈によってビットマップデータ等に変換される前の
データである。むろん、コマンドは様々な形式を採用可
能である。印刷ジョブデータを記憶する記憶領域には様
々なものを採用可能であり、例えば、RAMであっても
よいし、ハードディスクであってもよい。
The print job data may be any data having a command for executing a print job, and is data before being converted into bitmap data or the like by command interpretation. Of course, the command can take various forms. Various storage areas can be adopted for storing print job data, and may be, for example, a RAM or a hard disk.

【0008】上記印刷中止手段は、様々な構成により印
刷ジョブデータの終了箇所までの印刷を中止させること
ができる。その一例として、請求項2にかかる発明は、
上記印刷中止手段は、上記キャンセルステータス情報が
生成されたとき、上記記憶領域に記憶される印刷ジョブ
データ内のコマンドを当該印刷ジョブデータの終了箇所
まで解釈しながら上記印刷データ生成手段に対して同印
刷ジョブデータの終了箇所までに対応する上記印刷デー
タの生成を中止させる構成としてある。すなわち、キャ
ンセルステータス情報が生成されたとき、印刷ジョブデ
ータ内のコマンドは同印刷ジョブデータの終了箇所まで
解釈されるが、印刷データ生成手段は同印刷ジョブデー
タの終了箇所までに対応する印刷データの生成を中止す
る。従って、ホストコンピュータが印刷ジョブデータを
送信している最中にキャンセル要求を印刷装置に入力し
ても、記憶領域に記憶される印刷ジョブデータの終了箇
所までの印刷が中止される。
The print canceling means can cancel the printing up to the end position of the print job data by various configurations. As an example, the invention according to claim 2 is
When the cancel status information is generated, the print canceling unit interprets the command in the print job data stored in the storage area up to the end position of the print job data, and sends the same to the print data generating unit. The configuration is such that generation of the print data corresponding to the end portion of the print job data is stopped. That is, when the cancellation status information is generated, the command in the print job data is interpreted up to the end point of the same print job data, but the print data generation means generates the print data corresponding to the end point of the same print job data. Stop the generation. Therefore, even if the cancel request is input to the printing apparatus while the host computer is transmitting the print job data, the printing up to the end portion of the print job data stored in the storage area is stopped.

【0009】また、請求項3にかかる発明は、上記印刷
中止手段は、上記キャンセルステータス情報が生成され
たとき、上記印刷ジョブデータの終了箇所までに対応す
る上記印刷データを削除する構成としてある。すなわ
ち、キャンセルステータス情報が生成されたとき、印刷
ジョブデータの終了箇所までに対応する印刷データが削
除される。従って、ホストコンピュータが印刷ジョブデ
ータを送信している最中にキャンセル要求を印刷装置に
入力しても、記憶領域に記憶される印刷ジョブデータの
終了箇所までの印刷が中止される。
In the invention according to claim 3, the print canceling means deletes the print data corresponding to the end portion of the print job data when the cancel status information is generated. That is, when the cancel status information is generated, the print data corresponding to the end position of the print job data is deleted. Therefore, even if the cancel request is input to the printing apparatus while the host computer is transmitting the print job data, the printing up to the end portion of the print job data stored in the storage area is stopped.

【0010】上記ステータス生成手段は、上記キャンセ
ル要求について操作入力可能な操作入力手段を有し、同
操作入力手段にて同キャンセル要求の操作入力を受け付
けたときに上記キャンセルステータス情報を生成する構
成としてもよい。すなわち、ユーザは、操作入力手段に
て印刷ジョブデータのキャンセル要求を操作入力するこ
とにより、印刷ジョブをキャンセルすることができる。
ここで、上記操作入力手段は、本印刷装置の各種設定に
ついて操作入力可能な操作パネルに設けられたスイッチ
である構成としてもよい。すなわち、操作パネルのスイ
ッチを利用してキャンセルステータス情報を生成するこ
とができる。
The status generation means has operation input means capable of inputting an operation for the cancellation request, and generates the cancellation status information when the operation input means receives the operation input of the cancellation request. Good. That is, the user can cancel the print job by operating and inputting a print job data cancel request using the operation input means.
Here, the operation input unit may be a switch provided on an operation panel capable of inputting various settings of the printing apparatus. That is, the cancel status information can be generated by using the switch on the operation panel.

【0011】また、上記ステータス生成手段は、上記キ
ャンセルステータス情報を表示可能なステータス表示手
段を有し、上記操作入力手段とステータス表示手段は、
本印刷装置の各種設定について操作入力可能な同一の操
作パネルに設けられている構成としてもよい。すなわ
ち、ユーザは、印刷ジョブをキャンセルする操作を行っ
たとき、その場で同印刷ジョブがキャンセル状態になっ
たか否かをステータス表示手段にて知ることができるの
で、利便性が向上する。
The status generation means has status display means capable of displaying the cancellation status information, and the operation input means and the status display means are:
The configuration may be provided on the same operation panel on which various settings of the printing apparatus can be input. That is, when the user performs an operation of canceling a print job, the user can know on the spot whether or not the print job is in the canceled state by the status display means, which improves convenience.

【0012】むろん、ホストコンピュータから印刷ジョ
ブをキャンセルできるようにしてもよい。その一例とし
て、請求項7にかかる発明は、上記印刷ジョブデータ内
のコマンドには、上記キャンセル要求を含めることが可
能であり、上記ステータス生成手段は、上記印刷データ
生成手段にて解釈されたコマンドが上記キャンセル要求
であるとき、上記キャンセルステータス情報を生成する
構成としてある。すなわち、ホストコンピュータが印刷
ジョブデータ内にキャンセル要求のコマンドを含める
と、同印刷ジョブデータ内のコマンドが解釈されたとき
にキャンセルステータス情報が生成され、同印刷ジョブ
データの終了箇所までの印刷は中止される。
Of course, the print job may be canceled from the host computer. As an example thereof, in the invention according to claim 7, the cancel request can be included in the command in the print job data, and the status generation unit can interpret the command interpreted by the print data generation unit. Is a cancel request, the cancel status information is generated. That is, if the host computer includes a cancel request command in the print job data, cancel status information is generated when the command in the print job data is interpreted, and printing up to the end point of the print job data is canceled. To be done.

【0013】複数の印刷ジョブに基づく印刷ジョブデー
タを受信して記憶領域に記憶させる場合、キャンセルす
る印刷ジョブを選択できると好適である。そこで、請求
項8にかかる発明は、上記ジョブ受信手段は、受信した
上記印刷ジョブデータ別に異なる識別データを付与し、
当該識別データと同印刷ジョブデータとを対応付ける識
別情報を生成して上記記憶領域に記憶させ、上記ステー
タス生成手段は、複数の上記印刷ジョブデータのいずれ
かのキャンセル要求の入力を受け付け可能であり、上記
印刷中止手段は、上記記憶領域から上記識別情報を参照
して、上記ステータス生成手段にて入力が受け付けられ
た上記キャンセル要求に対応する上記印刷ジョブデータ
を特定し、特定した印刷ジョブデータの終了箇所までの
印刷を中止させる構成としてある。すなわち、印刷ジョ
ブデータには異なる識別データが付与され、識別データ
と印刷ジョブデータとを対応付ける識別情報が記憶領域
に記憶される。そして、複数の印刷ジョブデータのいず
れかのキャンセル要求が入力されると、識別情報を参照
することにより容易にキャンセル要求に対応する印刷ジ
ョブデータを特定することができ、特定した印刷ジョブ
データの終了箇所までの印刷を中止させることができ
る。
When print job data based on a plurality of print jobs is received and stored in the storage area, it is preferable that a print job to be canceled can be selected. Therefore, in the invention according to claim 8, the job receiving unit adds different identification data to each received print job data,
Identification information that associates the identification data with the print job data is generated and stored in the storage area, and the status generation unit is capable of accepting an input of a cancellation request of any of the plurality of print job data. The print canceling unit refers to the identification information from the storage area, specifies the print job data corresponding to the cancel request input by the status generating unit, and ends the specified print job data. The configuration is such that printing up to a portion is stopped. That is, different identification data is added to the print job data, and identification information that associates the identification data with the print job data is stored in the storage area. When a cancel request for any of the plurality of print job data is input, the print job data corresponding to the cancel request can be easily specified by referring to the identification information, and the specified print job data ends. It is possible to stop printing up to the location.

【0014】上記ホストコンピュータは、本印刷装置に
ネットワークを介して接続され、同印刷装置のMIB情
報を取得し、当該MIB情報に基づいて、送信した印刷
ジョブデータに対応する上記記憶領域に記憶された印刷
ジョブデータを特定可能であるとともに、特定された印
刷ジョブデータのキャンセル要求の入力を受け付けて同
特定された印刷ジョブデータのキャンセル要求を意味す
るコマンドを送信することが可能であり、上記ステータ
ス生成手段は、上記キャンセル要求を意味するコマンド
を受信可能であり、同キャンセル要求を意味するコマン
ドを受信したとき、上記特定された印刷ジョブデータの
キャンセルを意味するキャンセルステータス情報を生成
し、上記印刷中止手段は、上記特定された印刷ジョブデ
ータのキャンセルを意味するキャンセルステータス情報
が生成されたとき、同特定された印刷ジョブデータに基
づく上記印刷媒体への印刷の実行を中止させる構成とし
てもよい。
The host computer is connected to the printing apparatus via a network, acquires MIB information of the printing apparatus, and stores the MIB information in the storage area corresponding to the transmitted print job data based on the MIB information. It is possible to specify the specified print job data, receive an input of a request to cancel the specified print job data, and send a command meaning a request to cancel the specified print job data. The generation unit is capable of receiving the command indicating the cancel request, and when receiving the command indicating the cancel request, generates the cancel status information indicating the cancellation of the specified print job data and prints the print status. Canceling means cancels the specified print job data. When the cancel status information refers to is generated, it may be configured to abort the printing to the printing medium based on the print job data the identified.

【0015】すなわち、ネットワークを介して、MIB
情報から特定された印刷ジョブデータに対して印刷を実
行させないようにすることができる。ここで、MIB情
報には印刷ジョブデータを識別する情報を含ませること
ができ、同MIB情報によればホストコンピュータにて
容易にキャンセル可能な印刷ジョブデータを把握するこ
とができる。なお、印刷装置とホストコンピュータとの
接続態様は様々考えられ、例えば、USBやIEEE1
394規格に準拠した接続、パラレルポートを介した接
続等がある。
That is, the MIB is transmitted through the network.
It is possible to prevent the print job data specified from the information from being printed. Here, the MIB information can include information for identifying the print job data. According to the MIB information, the print job data that can be easily canceled by the host computer can be grasped. There are various conceivable modes of connection between the printing apparatus and the host computer, such as USB and IEEE1.
There are connections based on the 394 standard, connections via a parallel port, and the like.

【0016】ところで、上述した印刷装置は、単独で実
施される場合もあるし、ある機器に組み込まれた状態で
他の方法とともに実施されることもあるなど、発明の思
想としては各種の態様を含むものであって、適宜、変更
可能である。また、上述した印刷制御を行う際の手法
は、所定の手順に従って処理を進めていくうえで、その
根底にはその手順に発明が存在するということは当然で
ある。従って、本発明は印刷制御方法としても適用可能
であり、請求項10にかかる発明においても、基本的に
は同様の作用となる。
By the way, the above-described printing apparatus may be carried out independently, or may be carried out together with another method in a state of being incorporated in a certain device. It is included and can be changed as appropriate. In addition, it is natural that the method for performing the print control described above has an invention in the procedure at the base of the process in order to proceed the processing in accordance with a predetermined procedure. Therefore, the present invention can be applied as a print control method, and the invention according to claim 10 has basically the same operation.

【0017】本発明を実施しようとする際に、印刷装置
にて所定のプログラムを実行させる場合もある。そこ
で、印刷制御プログラムとしても適用可能であり、請求
項11にかかる発明においても、基本的には同様の作用
となる。さらに、本発明を実施しようとする際に、上記
プログラムを記録した媒体が流通し、同記録媒体からプ
ログラムを適宜コンピュータに読み込むことが考えられ
る。従って、そのプログラムを記録した媒体としても適
用可能であり、請求項12にかかる発明においても、基
本的には同様の作用となる。むろん、請求項2〜請求項
9に記載された構成を上記方法やプログラムやプログラ
ムを記録した媒体に対応させることも可能であることは
言うまでもない。ここで、上記記録媒体は、磁気記録媒
体や光磁気記録媒体であってもよいし、今後開発される
いかなる記録媒体においても全く同様に考えることがで
きる。また、一部がソフトウェアであって、一部がハー
ドウェアで実現される場合においても本発明の思想にお
いて全く異なるものではなく、一部を記録媒体上に記録
しておいて必要に応じて適宜読み込む形態のものも含ま
れる。さらに、一次複製品、二次複製品などの複製段階
については全く問う余地なく同等である。
When attempting to carry out the present invention, a printing apparatus may execute a predetermined program. Therefore, it can be applied as a print control program, and the invention according to claim 11 has basically the same operation. Further, when implementing the present invention, it is conceivable that a medium in which the above program is recorded is distributed and the program is appropriately read from the recording medium into a computer. Therefore, it can be applied as a medium in which the program is recorded, and the invention according to claim 12 basically has the same operation. Of course, it goes without saying that the configurations described in claims 2 to 9 can be applied to the method, the program, or the medium recording the program. Here, the recording medium may be a magnetic recording medium or a magneto-optical recording medium, and any recording medium developed in the future can be considered in exactly the same manner. Further, even when a part is software and a part is realized by hardware, the idea of the present invention does not differ at all, and a part of the software is recorded on a recording medium and is appropriately changed as necessary. It also includes a read form. Furthermore, the duplication stage of the primary duplication product, the secondary duplication product, and the like is absolutely the same.

【0018】[0018]

【発明の効果】以上説明したように請求項1、請求項1
0〜請求項12にかかる発明によれば、無意味な印刷が
行われないように印刷ジョブをキャンセルすることが可
能な印刷装置、印刷制御方法、印刷制御プログラムおよ
び印刷制御プログラムを記録した媒体を提供することが
できる。また、請求項2、請求項3にかかる発明によれ
ば、印刷中止手段の構成例を提供することができ、確実
に無意味な印刷が行われないように印刷ジョブをキャン
セルすることができる。さらに、請求項4、請求項5に
かかる発明によれば、印刷ジョブデータのキャンセル要
求の入力を受け付ける構成例を提供することができ、簡
易な構成にて無意味な印刷が行われないように印刷ジョ
ブをキャンセルすることができる。
As described above, claim 1 and claim 1
According to the invention of claim 0 to claim 12, a printing apparatus, a print control method, a print control program, and a medium recording the print control program, which can cancel a print job so that meaningless printing is not performed. Can be provided. Further, according to the second and third aspects of the present invention, it is possible to provide a configuration example of the print canceling means, and it is possible to reliably cancel the print job so that meaningless printing is not performed. Further, according to the inventions according to claims 4 and 5, it is possible to provide a configuration example in which the input of the cancel request of the print job data is accepted, so that meaningless printing is not performed with a simple configuration. You can cancel the print job.

【0019】さらに、請求項6にかかる発明によれば、
印刷ジョブをキャンセルする操作を行ったその場で同印
刷ジョブがキャンセル状態になったか否かを知ることが
できるので、利便性を向上させることができる。さら
に、請求項7にかかる発明によれば、ホストコンピュー
タから印刷ジョブをキャンセルすることができるので、
利便性を向上させることができる。さらに、請求項8に
かかる発明によれば、キャンセルする印刷ジョブを選択
することができるので、利便性を向上させることができ
る。さらに、請求項9にかかる発明によれば、ネットワ
ークを使用することにより所望の印刷ジョブをキャンセ
ルすることができるので、利便性を向上させることがで
きる。
Further, according to the invention of claim 6,
Since it is possible to know whether or not the print job is in the canceled state on the spot where the operation for canceling the print job is performed, it is possible to improve convenience. Further, according to the invention of claim 7, the print job can be canceled from the host computer.
It is possible to improve convenience. Further, according to the invention of claim 8, it is possible to select a print job to be canceled, so that convenience can be improved. Further, according to the invention of claim 9, a desired print job can be canceled by using the network, so that convenience can be improved.

【0020】[0020]

【発明の実施の形態】以下、下記の順序に従って本発明
の実施形態を説明する。 (1)レーザープリンタの構成: (2)本発明の各種手段の構成: (3)印刷装置が行う処理: (4)第二の実施形態: (5)第三の実施形態:
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below in the following order. (1) Configuration of laser printer: (2) Configuration of various means of the present invention: (3) Processing performed by printing device: (4) Second embodiment: (5) Third embodiment:

【0021】(1)レーザープリンタの構成:図1は、
本発明の第一の実施形態にかかる印刷装置であるレーザ
ープリンタ10の概略ハードウェア構成を示したブロッ
ク図である。本プリンタ10は、ネットワークを介して
ホストコンピュータであるパーソナルコンピュータ(P
C)100と接続可能である。むろん、ネットワークを
使用せず、一台のホストコンピュータを接続してもよ
い。PC100は、文書や画像等種々の印刷対象を印刷
ジョブとして管理しており、ネットワークを介して印刷
ジョブを構成する印刷ジョブデータを送信する。同印刷
ジョブデータを受信するレーザープリンタ10は、概
略、各種データ処理を行う制御部20、各種データを蓄
積するハードディスクドライブ(HDD)30、レーザ
ービームの照射やトナー付着等を行って印刷用紙上への
印刷を実行するプリントエンジン40、操作入力手段で
ある操作パネル50を備えている。
(1) Configuration of laser printer: FIG.
FIG. 1 is a block diagram showing a schematic hardware configuration of a laser printer 10 which is a printing device according to a first embodiment of the present invention. The printer 10 is a personal computer (P
C) 100 can be connected. Of course, one host computer may be connected without using the network. The PC 100 manages various print targets such as documents and images as print jobs, and transmits print job data forming a print job via a network. The laser printer 10 that receives the print job data roughly includes a control unit 20 that performs various data processing, a hard disk drive (HDD) 30 that stores various data, and a laser beam irradiation or toner adhesion onto a printing paper. The printer includes a print engine 40 for executing the printing of the, and an operation panel 50 which is an operation input unit.

【0022】制御部20は、印刷ジョブデータを取得
し、プリントエンジン40における印刷を実行可能な印
刷データを生成するとともに、印刷の実行順序を管理す
る等の処理を実行する。このため、制御部20は、CP
U21、メモリコントローラ22、RAM23、ROM
24、通信I/F25、ビデオI/F26、IDEI/
F27を備えている。すなわち、CPU21とRAM2
3とROM24とメモリコントローラ22とからなるプ
ログラム実行環境を備えており、ROM24に格納され
たプログラムを適宜RAM23にロードして各種プログ
ラムを実行可能である。メモリコントローラ22は、各
部21,23〜27にアクセスして、各種データの送受
信を制御する。同メモリコントローラ22は、通信I/
F25を介してPC100から印刷ジョブデータを受信
し、RAM23に記憶させる。むろん、メモリコントロ
ーラ22は、IDEI/F27にアクセスし、受信した
印刷ジョブデータをそのままの状態でHDD30にスプ
ールしてもよい。
The control unit 20 acquires print job data, generates print data that can be printed by the print engine 40, and executes processing such as managing the print execution order. Therefore, the control unit 20 controls the CP
U21, memory controller 22, RAM23, ROM
24, communication I / F 25, video I / F 26, IDEI /
Equipped with F27. That is, the CPU 21 and the RAM 2
3, a ROM 24, and a memory controller 22 are provided as a program execution environment, and various programs can be executed by appropriately loading the programs stored in the ROM 24 into the RAM 23. The memory controller 22 accesses the respective units 21, 23 to 27 and controls transmission / reception of various data. The memory controller 22 is a communication I /
The print job data is received from the PC 100 via F25 and stored in the RAM 23. Of course, the memory controller 22 may access the IDE I / F 27 and spool the received print job data in the HDD 30 as it is.

【0023】印刷ジョブデータが記憶されると、CPU
21等からなるプログラム実行環境により、印刷ジョブ
データ内のコマンドを取り込み可能となり、適宜コマン
ド解釈および印刷キューの生成等が行われる。コマンド
が解釈されると、印刷ジョブデータは印刷データに変換
される。同印刷データは、印刷用紙(印刷媒体)の各ペ
ージに印刷されるイメージのデータであり、ビットマッ
プデータを含むデータとされる。印刷データと印刷キュ
ーが生成されると、メモリコントローラ22は印刷キュ
ーに従って適宜印刷データをビデオI/F26に送出す
る。ビデオI/F26からプリントエンジン40に対し
て印刷データが送出されると、プリントエンジン40が
駆動し、同印刷データに基づいて印刷を実行する。
When the print job data is stored, the CPU
The program execution environment including 21 and the like makes it possible to take in the commands in the print job data, and interprets the commands and creates the print queue as appropriate. When the command is interpreted, the print job data is converted into print data. The print data is data of an image printed on each page of print paper (print medium), and is data including bitmap data. When the print data and the print queue are generated, the memory controller 22 appropriately sends the print data to the video I / F 26 according to the print queue. When print data is sent from the video I / F 26 to the print engine 40, the print engine 40 is driven and printing is executed based on the print data.

【0024】操作パネル50は、CPU21の制御に基
づいて本プリンタ10の各種設定について操作入力可能
となっている。図2に示すように、操作パネル50に
は、本プリンタ10の動作状態を表すステータス情報等
を表示可能な液晶ディスプレイ51、印刷ジョブデータ
のキャンセル要求について操作入力可能なキャンセルス
イッチ52、本プリンタ10の各種設定について操作入
力可能な各種操作スイッチ53、所定の動作状態につい
て点灯表示可能な各種ランプ54等が設けられている。
液晶ディスプレイ51は、入力される文字データを所定
の表示面に表示する。同キャンセルスイッチ52や各種
操作スイッチ53は押圧スイッチであり、押圧されると
所定の接点が導通することにより押圧操作が検知される
ようになっている。従って、ユーザはキャンセルスイッ
チ52を押圧操作することにより、印刷ジョブをキャン
セルする(取り消す)ことが可能となっている。なお、
キャンセルスイッチ52は、従来のリセットスイッチの
代わりに設けられたものであり、印刷ジョブデータを受
信してRAM23に記憶させている最中であっても同印
刷ジョブデータに基づく印刷を実行させないようにする
ものである。
The operation panel 50 is operable to input various settings of the printer 10 under the control of the CPU 21. As shown in FIG. 2, on the operation panel 50, a liquid crystal display 51 that can display status information and the like indicating the operating state of the printer 10, a cancel switch 52 that can be operated to input a print job data cancel request, and the printer 10 can be used. There are provided various operation switches 53 capable of inputting operations for various settings, various lamps 54 capable of lighting and displaying a predetermined operation state, and the like.
The liquid crystal display 51 displays the input character data on a predetermined display surface. The cancel switch 52 and various operation switches 53 are pressing switches, and when pressed, a predetermined contact is brought into conduction so that the pressing operation is detected. Therefore, the user can cancel (cancel) the print job by pressing the cancel switch 52. In addition,
The cancel switch 52 is provided in place of the conventional reset switch, and prevents the printing based on the print job data from being executed even while the print job data is being received and stored in the RAM 23. To do.

【0025】(2)本発明の各種手段の構成:CPU2
1等からなるプログラム実行環境は図3に示す各種モジ
ュールM1〜M7を有する印刷制御プログラムPを備え
ており、同モジュールM1〜M7は互いに連携しながら
印刷制御プログラムとしての機能を実現させる。また、
モジュールM1〜M7を記憶したROM24やHDD3
0は、本発明にいう印刷制御プログラムを記録した媒体
となる。なお、図をわかりやすくさせるため、モジュー
ル間の線を一部省略している。従って、線で結ばれてい
ないモジュール間でも各種情報の授受が可能である。む
ろん、このようなモジュール構成は一例にすぎず、様々
なモジュール構成を採用可能である。そして、同モジュ
ールM1〜M7の機能が実現されることにより、図4に
示す各種手段U1〜U5がプリンタ10に構成される。
PC100では、種々のアプリケーションプログラム
(APL)110によって種々の文書や画像を作成可能
である。APLによって印刷実行が指示されると、オペ
レーティングシステム(OS)120に組み込まれたプ
リンタドライバ121が起動され、APL110にて作
成された文書や画像を印刷させる印刷ジョブデータから
構成される印刷ジョブを生成する。OS120は、通信
I/F130を介して同印刷ジョブデータをプリンタ1
0に送信する。
(2) Configuration of various means of the present invention: CPU2
The program execution environment including 1 and the like includes a print control program P having various modules M1 to M7 shown in FIG. 3, and the modules M1 to M7 cooperate with each other to realize the function as the print control program. Also,
ROM 24 and HDD 3 storing modules M1 to M7
0 is a medium in which the print control program according to the present invention is recorded. It should be noted that some of the lines between the modules are omitted for the sake of clarity. Therefore, various types of information can be exchanged even between modules that are not connected by a line. Of course, such a module configuration is merely an example, and various module configurations can be adopted. By realizing the functions of the modules M1 to M7, the various units U1 to U5 shown in FIG.
In the PC 100, various documents and images can be created by various application programs (APL) 110. When the execution of printing is instructed by the APL, the printer driver 121 incorporated in the operating system (OS) 120 is activated to generate a print job including print job data for printing the document or image created by the APL 110. To do. The OS 120 sends the print job data to the printer 1 via the communication I / F 130.
Send to 0.

【0026】プリンタ10では、メモリコントローラ2
2が通信I/F25を介して印刷ジョブデータを受信
し、RAM23内の所定の記憶領域である受信バッファ
23aに一時的に記憶させる。この意味で、メモリコン
トローラ22を有する制御部20は、ジョブ受信手段U
1となる。印刷ジョブデータは、所定のPDL(Page D
escription Language)で記述されたコマンドが含まれ
ており、例えば図5に示すように、コマンド名とデータ
長とデータと区切りコードからなるコマンドの集合体で
ある。PDLモジュールM1は、受信バッファ23aに
一時記憶された印刷ジョブデータについて逐次コマンド
解釈を行い、印刷を実行させるための印刷データをRA
M23内に生成する。また、PDLモジュールM1は、
印刷データを構成するページ毎の印刷ページデータに対
して印刷ジョブの終わりを示す終了フラグを付する処理
も実行しており、印刷ジョブの最終ページに該当する印
刷データについては終了フラグ”1”を付し、最終ペー
ジ以外に該当する印刷ページについては終了フラグ”
0”を付するようになっている。
In the printer 10, the memory controller 2
2 receives the print job data via the communication I / F 25, and temporarily stores the print job data in the reception buffer 23a, which is a predetermined storage area in the RAM 23. In this sense, the control unit 20 having the memory controller 22 has the job receiving unit U.
It becomes 1. The print job data has a predetermined PDL (Page D
A command described in escription Language) is included, and is a set of commands including a command name, a data length, data, and a delimiter code, as shown in FIG. 5, for example. The PDL module M1 sequentially interprets the print job data temporarily stored in the reception buffer 23a and interprets the print data for executing printing as RA.
Generated in M23. In addition, the PDL module M1
A process of adding an end flag indicating the end of the print job to the print page data for each page that constitutes the print data is also executed, and the end flag “1” is set for the print data corresponding to the last page of the print job. Attached, and the end flag for print pages other than the last page ”
It is designed to be attached with 0 ".

【0027】なお、ジョブ判断モジュールM2が印刷ジ
ョブ毎に処理が開始されたか終了したかを判断するの
で、PDLモジュールM1はジョブ判断モジュールM2
が印刷ジョブの処理を開始したと判断したときに対応す
る印刷ジョブデータのコマンド解釈を開始する。そし
て、受信バッファに記憶される印刷ジョブデータ内のコ
マンドを解釈して印刷データを作成する印刷データ生成
手段U2は、モジュールM1,M2の機能により実現さ
れる。
Since the job judgment module M2 judges whether the processing is started or ended for each print job, the PDL module M1 is the job judgment module M2.
When it is determined that the print job processing is started, the command interpretation of the corresponding print job data is started. The print data generation unit U2 that interprets the command in the print job data stored in the reception buffer to create the print data is realized by the functions of the modules M1 and M2.

【0028】印刷キュー管理モジュールM3は、ジョブ
判断モジュールM2の判断結果を参照しながら印刷キュ
ーの管理を行い、印刷ジョブデータが受信された順番に
印刷が実行されるように印刷キューを生成する。ここ
で、印刷キューはカレントキューとネクストキューとか
ら構成されており、カレントキューとされている印刷デ
ータについて印刷が実行され、ネクストキューとされて
いる印刷データはカレントキューにおける印刷データの
印刷実行が完了するまで印刷実行開始を待つことにな
る。印刷キュー管理モジュールM3は、カレントキュー
における印刷データの印刷が終了したらネクストキュー
の最先に並べられている印刷ジョブの印刷データをカレ
ントキューに移動させる処理を行う。
The print queue management module M3 manages the print queue with reference to the judgment result of the job judgment module M2, and generates the print queue so that the printing is executed in the order in which the print job data is received. Here, the print queue is composed of a current queue and a next queue, printing is executed for print data that is the current queue, and print data that is the next queue is for executing print data printing in the current queue. It will wait for the start of printing until it is completed. The print queue management module M3 performs a process of moving the print data of the print job arranged at the top of the next queue to the current queue when the printing of the print data in the current queue is completed.

【0029】エンジン管理モジュールM4は、カレント
キューに印刷データが存在するか否かを印刷キュー管理
モジュールM3に問い合わせる処理を行い、印刷データ
を取得してプリントエンジン40に渡す処理を実行す
る。印刷キュー管理モジュールM3は上述したようなキ
ュー管理を実行しているので、エンジン管理モジュール
M4はカレントキューに印刷データが存在するか否かを
問い合わせて印刷データが存在したときに該当する印刷
データを取得してプリントエンジン40に渡すのみで、
印刷キューどおりの順序で印刷を実行させることができ
る。なお、エンジン管理モジュールM4が印刷データを
取得する際には、印刷データ全体を一括して読み込む必
要はなく、部分的に読み込むようにしてもよいし、印刷
データの受け渡しに利用されるバッファ領域を表すポイ
ンタの受け渡しだけであってもよい。そして、生成され
た印刷データを取得して印刷用紙への印刷を実行する印
刷手段U3は、プリントエンジン40とともに、モジュ
ールM2〜M4の機能により実現される。
The engine management module M4 performs a process of inquiring the print queue management module M3 as to whether print data exists in the current queue, acquires print data, and passes it to the print engine 40. Since the print queue management module M3 executes the queue management as described above, the engine management module M4 inquires whether or not the print data exists in the current queue, and when the print data exists, the print data corresponding to the print data exists. All you have to do is to get it and pass it to the print engine 40.
It is possible to execute printing in the order according to the print queue. When the engine management module M4 acquires the print data, it is not necessary to read the entire print data all at once, but it may be possible to read the print data partially, or to use a buffer area used for transferring the print data. It may be only the passing of the pointer to represent. Then, the printing unit U3 that acquires the generated print data and prints on the printing paper is realized by the functions of the modules M2 to M4 together with the print engine 40.

【0030】パネル管理モジュールM5は、操作入力手
段U41であるキャンセルスイッチ52や、各種操作ス
イッチ53の操作入力を受け付けて入力内容に対応する
表示データを生成し、ステータス表示手段U42である
液晶ディスプレイ51に表示させる。また、同入力内容
に対応する情報をPDL管理モジュールM6に伝える。
ここで、キャンセルスイッチ52が押圧操作されると、
印刷ジョブデータのキャンセル要求の操作入力を受け付
けたことになり、PDL管理モジュールM6は印刷ジョ
ブデータの処理状態がキャンセル状態であることを意味
するキャンセルステータス情報を生成する。このキャン
セルステータス情報は、RAM23の所定領域に設けら
れたキャンセルフラグで表され、印刷ジョブデータの処
理状態がキャンセル状態であるときにフラグ”1”とさ
れ、キャンセル状態でないときにフラグ”0”とされ
る。印刷ジョブデータのキャンセル要求の入力を受け付
け可能であり、同キャンセル要求の入力を受け付けたと
きキャンセルステータス情報を生成するステータス生成
手段U4は、操作パネル50とともに、モジュールM
5,M6の機能により実現される。
The panel management module M5 accepts the operation input of the cancel switch 52 which is the operation input means U41 and various operation switches 53 to generate display data corresponding to the input contents, and the liquid crystal display 51 which is the status display means U42. To display. Further, the information corresponding to the input contents is transmitted to the PDL management module M6.
Here, when the cancel switch 52 is pressed,
Since the operation input of the print job data cancel request has been received, the PDL management module M6 generates cancel status information indicating that the processing status of the print job data is the cancel status. The cancel status information is represented by a cancel flag provided in a predetermined area of the RAM 23, and is set to a flag "1" when the processing state of the print job data is the cancel state, and a flag "0" when the print job data is not in the cancel state. To be done. The status generation unit U4, which can accept the input of the cancellation request of the print job data and generates the cancellation status information when the input of the cancellation request is accepted, is provided with the operation panel 50 and the module M.
It is realized by the functions of M5 and M6.

【0031】むろん、キャンセルステータス情報の態様
は、様々考えられる。例えば、プリンタ10の処理状態
別に異なる値を付与してこの値を所定のステータス変数
に代入するようにする場合、印刷ジョブデータの処理状
態がキャンセル状態であるときに対応する値をステータ
ス変数に代入するようにすればよい。この場合、ステー
タス変数から読み出した値がキャンセル状態であるとき
に対応する値とされているとき、キャンセルステータス
情報が生成されていると判断することができる。MIB
情報管理モジュールM7は、モジュールM1〜M6等か
ら種々のMIB情報を取得することができ、その一つと
して印刷ジョブデータと識別データとを対応付ける識別
情報を取得するようになっている。この他、プリンタ1
0のモデル名や消耗品の量など種々の情報を取得可能と
なっている。また、PC100から通信I/F25を介
してMIB情報の取得要求が入力されると、同取得要求
に対応するMIB情報を取得してPC100に送信する
ようになっている。
Of course, various modes of the cancellation status information can be considered. For example, when a different value is assigned to each processing state of the printer 10 and this value is assigned to a predetermined status variable, the corresponding value is assigned to the status variable when the processing state of the print job data is the cancel state. You can do it. In this case, when the value read from the status variable is the value corresponding to the cancel state, it can be determined that the cancel status information is generated. MIB
The information management module M7 can acquire various kinds of MIB information from the modules M1 to M6 and the like, and as one of them, acquires the identification information that associates the print job data with the identification data. Besides this, the printer 1
Various information such as the model name of 0 and the amount of consumables can be acquired. Further, when an acquisition request for MIB information is input from the PC 100 via the communication I / F 25, the MIB information corresponding to the acquisition request is acquired and transmitted to the PC 100.

【0032】ところで、操作パネルにリセットスイッチ
が設けられていた従来のレーザープリンタでは、ホスト
コンピュータが印刷ジョブデータを送信している最中に
リセットスイッチが操作されると、図14で示したよう
に、この段階では印刷ジョブデータのうち受信したデー
タJ1のみ削除するので、残りの印刷ジョブデータJ2
が受信されて受信バッファに一時記憶され、同印刷ジョ
ブデータJ2に基づいて印刷が行われてしまう。ここ
で、図5で示したように、印刷ジョブデータはコマンド
名とその他のデータとから構成されているため、コマン
ド解釈の際にコマンド名から読み込まれない限り、印刷
ジョブデータ内のコマンドが正しく解釈されず、無意味
な印刷が行われてしまうことになる。そこで、本印刷装
置には、印刷ジョブデータの処理状態がキャンセル状態
となったときに受信バッファに記憶される印刷ジョブデ
ータの終了箇所までの印刷を中止させる印刷中止手段U
5が設けられている。
By the way, in the conventional laser printer having the reset switch on the operation panel, if the reset switch is operated while the host computer is transmitting the print job data, as shown in FIG. At this stage, since only the received data J1 of the print job data is deleted, the remaining print job data J2 is deleted.
Is received and temporarily stored in the reception buffer, and printing is performed based on the print job data J2. Here, as shown in FIG. 5, since the print job data is composed of the command name and other data, the command in the print job data is correct unless it is read from the command name when interpreting the command. Not interpreted, meaningless printing will be performed. Therefore, in the printing apparatus, the print canceling unit U that cancels the printing up to the end position of the print job data stored in the reception buffer when the processing state of the print job data becomes the canceling state.
5 are provided.

【0033】印刷ジョブデータの処理状態がキャンセル
状態になると、PDL管理モジュールM6にてキャンセ
ルステータス情報が生成される。本実施形態では、PD
LモジュールM1と印刷キュー管理モジュールM3と
が、キャンセルステータス情報が生成されたときに受信
バッファに記憶される印刷ジョブデータの終了箇所まで
の印刷を中止させる印刷中止手段U5としてプリンタ1
0を機能させるようにしている。PDLモジュールM1
では、キャンセルする印刷ジョブについての印刷ジョブ
データのいわゆる読み飛ばしを行う。すなわち、受信バ
ッファ23aに記憶される印刷ジョブデータ内のコマン
ドを当該印刷ジョブデータの終了箇所まで解釈しながら
同印刷ジョブデータの終了箇所までに対応する印刷デー
タの生成を中止する。印刷キュー管理モジュールM3で
は、同印刷ジョブデータの終了箇所までに対応する印刷
データを削除する。なお、同印刷ジョブデータの終了箇
所までの印刷を中止させるためには、PDLモジュール
M1にのみ印刷中止手段U5としてプリンタ10を機能
させるようにしてもよいし、印刷キュー管理モジュール
M3にのみ印刷中止手段U5としてプリンタ10を機能
させるようにしてもよい。
When the processing state of the print job data becomes the cancel state, the PDL management module M6 generates the cancel status information. In this embodiment, PD
The L module M1 and the print queue management module M3 function as the printer 1 as the print canceling unit U5 that cancels the printing up to the end position of the print job data stored in the reception buffer when the cancel status information is generated.
I am trying to make 0 work. PDL module M1
Then, the so-called skip of print job data of the print job to be canceled is performed. That is, while interpreting the command in the print job data stored in the reception buffer 23a up to the end point of the print job data, the generation of the print data corresponding to the end point of the print job data is stopped. The print queue management module M3 deletes the print data corresponding to the end portion of the print job data. In order to stop printing up to the end point of the same print job data, the printer 10 may function as the print stopping unit U5 only in the PDL module M1, or only the print queue management module M3 may stop printing. The printer 10 may function as the unit U5.

【0034】(3)印刷装置が行う処理:次に、本印刷
装置が行う処理を説明する。図6は、PDL管理モジュ
ールM6がプリンタ10に実現させるステータス生成処
理をフローチャートにより示している。本フローは、プ
リンタ10の電源オン時に常時行われる。ステップS1
05(以下、「ステップ」の記載を省略)では、パネル
管理モジュールM5にて操作パネルのキャンセルスイッ
チ52が押圧操作された旨の情報(例えば、所定のキャ
ンセルスイッチ操作フラグの状態)が生成されているか
否かにより、キャンセルスイッチ52が押圧操作されて
いるか否かを判断する。同情報が生成されている場合に
はS110に進み、同情報が生成されていない場合には
S110,S115をスキップする。S110では、キ
ャンセルフラグに”1”を代入(キャンセルフラグをセ
ット)する。すなわち、S110の処理は、印刷ジョブ
データのキャンセル要求の入力を受け付けたときにキャ
ンセルステータス情報を生成することになる。また、パ
ネル管理モジュールM5に対して操作パネルの液晶ディ
スプレイ51にキャンセル状態であることを表示させる
(S115)。このように、キャンセルステータス情報
を表示することも可能である。従って、ユーザは、操作
パネルにて印刷ジョブをキャンセルする操作を行ったと
き、その場で同印刷ジョブがキャンセル状態になったか
否かを液晶ディスプレイ51にて知ることができるの
で、本プリンタ10は使い勝手がよい。その後、図示し
ないフローによりその他の各種ステータス情報を生成す
る処理を行う。
(3) Processing Performed by Printing Apparatus: Next, processing performed by the printing apparatus will be described. FIG. 6 is a flowchart showing the status generation processing realized by the PDL management module M6 in the printer 10. This flow is always performed when the power of the printer 10 is turned on. Step S1
05 (hereinafter, “step” is omitted), information indicating that the cancel switch 52 of the operation panel is pressed (for example, the state of a predetermined cancel switch operation flag) is generated by the panel management module M5. Whether or not the cancel switch 52 is pressed is determined depending on whether or not the cancel switch 52 is pressed. When the same information is generated, the process proceeds to S110, and when the same information is not generated, S110 and S115 are skipped. In S110, "1" is assigned to the cancel flag (the cancel flag is set). That is, the process of S110 will generate the cancellation status information when the input of the cancellation request of the print job data is received. Further, the panel management module M5 is caused to display the cancel state on the liquid crystal display 51 of the operation panel (S115). In this way, it is possible to display the cancellation status information. Therefore, when the user performs the operation of canceling the print job on the operation panel, the user can know on the spot whether or not the print job is in the canceled state on the liquid crystal display 51. Easy to use. After that, processing for generating various other status information is performed by a flow not shown.

【0035】S120では、ジョブ判断モジュールM2
にて印刷ジョブ終了の旨の情報(例えば、所定の印刷ジ
ョブ終了フラグの状態)が生成されているか否かによ
り、印刷ジョブが終了したか否かを判断する。同情報が
生成されている場合にはS125に進み、同情報が生成
されていない場合にはS125,S130をスキップす
る。S125では、キャンセルフラグに”0”を代入
(キャンセルフラグをリセット)する。すなわち、キャ
ンセルステータス情報の生成を終了したことになる。ま
た、パネル管理モジュールM5に対して液晶ディスプレ
イ51にキャンセル状態の表示を解除させる(S13
0)。その後、本フローの開始箇所に戻り、繰り返し本
フローの処理を行う。
At S120, the job determination module M2
It is determined whether or not the print job has ended by determining whether or not information indicating that the print job has ended (for example, the state of a predetermined print job end flag) has been generated. If the same information is generated, the process proceeds to S125, and if the same information is not generated, S125 and S130 are skipped. In S125, "0" is assigned to the cancel flag (the cancel flag is reset). That is, the generation of the cancellation status information is completed. Further, the panel management module M5 is caused to cancel the display of the cancel state on the liquid crystal display 51 (S13).
0). After that, the process returns to the starting point of this flow, and the process of this flow is repeatedly performed.

【0036】図7は、上記キャンセルステータス情報を
参照しながらプリントエンジン40に印刷を実行させる
一連の印刷制御処理をフローチャートにより示してい
る。本フローの処理は、モジュールM1〜M4により実
現される。本フローも、プリンタ10の電源オン時に常
時行われる。S205では、印刷ジョブデータが受信さ
れて受信バッファ23aに記憶されているか否かを判断
する。印刷ジョブデータが受信されていないときには、
S255に進む。印刷ジョブデータが受信されていると
き、印刷ジョブデータの処理状態がキャンセル状態であ
るか否か、すなわち、キャンセルフラグが”1”である
か否かを判断する(S210)。キャンセル状態でない
場合にはS215に進み、キャンセル状態である場合に
はS240に進む。
FIG. 7 is a flowchart showing a series of print control processes for causing the print engine 40 to execute printing while referring to the cancel status information. The processing of this flow is realized by the modules M1 to M4. This flow is also always performed when the power of the printer 10 is turned on. In S205, it is determined whether the print job data is received and stored in the reception buffer 23a. If print job data has not been received,
Proceed to S255. When the print job data is received, it is determined whether the processing state of the print job data is the cancel state, that is, whether the cancel flag is "1" (S210). If it is not in the canceled state, the process proceeds to S215, and if it is in the canceled state, the process proceeds to S240.

【0037】S215では、印刷ジョブデータ内のコマ
ンドを解釈する。次に、コマンドの解釈結果に基づい
て、印刷データを生成する(S220)。その後、コマ
ンドが終了したか否かを判断する(S225)。コマン
ドが終了していなければ繰り返しS215〜S225の
処理を行い、コマンドが終了していれば印刷キューを生
成する(S230)。そして、印刷ジョブデータ内の全
コマンドが終了したか否かを判断する(S235)。こ
の判断処理は、例えば、ページ毎の印刷ページデータに
付された終了フラグが最終ページを意味する”1”であ
るか否かを判断することにより行うことができる。全コ
マンドが終了していなければS210に戻り、全コマン
ドが終了していればS255に進む。
In step S215, the command in the print job data is interpreted. Next, print data is generated based on the command interpretation result (S220). Then, it is determined whether the command is completed (S225). If the command has not ended, the processes of S215 to S225 are repeated, and if the command has ended, a print queue is generated (S230). Then, it is determined whether or not all commands in the print job data have been completed (S235). This determination process can be performed, for example, by determining whether or not the end flag attached to the print page data for each page is "1" meaning the last page. If all commands are not completed, the process returns to S210, and if all commands are completed, the process proceeds to S255.

【0038】一方、印刷ジョブデータの処理状態がキャ
ンセル状態であるときには、S240にて、S215と
同様に印刷ジョブデータ内のコマンドを解釈する。しか
し、印刷データを生成するS220に相当する処理は行
わず、コマンドが終了したか否かを判断する(S24
5)。コマンドが終了していなければ、繰り返しS24
0〜S245の処理を行う。コマンドが終了していれ
ば、印刷キューを生成するS230に相当する処理は行
わず、印刷ジョブデータ内の全コマンドが終了したか否
かを判断する(S250)。全コマンドが終了していな
ければS210に戻り、全コマンドが終了していればS
255に進む。すなわち、S205,S215〜S23
5の処理は印刷データ生成手段を構成し、S210,S
240〜S250の処理は印刷中止手段を構成する。
On the other hand, when the processing state of the print job data is the cancel state, the command in the print job data is interpreted in S240 as in S215. However, the process corresponding to S220 for generating print data is not performed, and it is determined whether the command is completed (S24).
5). If the command has not ended, repeat S24
The processing from 0 to S245 is performed. If the command is completed, the process corresponding to S230 for generating the print queue is not performed, and it is determined whether all commands in the print job data are completed (S250). If all commands have not been completed, the process returns to S210, and if all commands have been completed, S
Proceed to 255. That is, S205, S215 to S23
The process of 5 constitutes the print data generating means, and S210, S
The processing of 240 to S250 constitutes a print canceling unit.

【0039】図8の左側に示すように、PCが印刷ジョ
ブデータを順次送信していくと、プリンタは同印刷ジョ
ブデータを受信して順次受信バッファに記憶させていく
(タイミングt11 )。なお、図は受信バッファに一時記
憶される印刷ジョブデータの様子を模式的に示してお
り、印刷ジョブデータが存在する箇所を斜線で示してい
る。PCが印刷ジョブデータを送信している最中にキャ
ンセルスイッチ52が押圧操作されると、この段階では
受信バッファに記憶されている印刷ジョブデータJ11
を削除しない(タイミングt12 )。そして、残りの印刷
ジョブデータJ12も受信されて受信バッファに一時記
憶される(タイミングt13 )。すると、S240〜S2
50にて、印刷ジョブデータ内のコマンドが終了箇所ま
で解釈されながら同印刷ジョブデータの終了箇所までに
対応する印刷データの生成が中止される。従って、PC
が印刷ジョブデータを送信している最中にキャンセルス
イッチ52を押圧操作しても、印刷ジョブデータの終了
箇所までの印刷が中止されるので、無意味な印刷が行わ
れないように印刷ジョブを確実にキャンセルすることが
可能となる。
As shown on the left side of FIG. 8, when the PC sequentially transmits the print job data, the printer receives the print job data and sequentially stores them in the reception buffer (timing t11). It should be noted that the figure schematically shows the state of the print job data temporarily stored in the reception buffer, and the location where the print job data exists is shown by hatching. If the cancel switch 52 is pressed while the PC is transmitting the print job data, the print job data J11 stored in the reception buffer at this stage is pressed.
Is not deleted (timing t12). Then, the remaining print job data J12 is also received and temporarily stored in the reception buffer (timing t13). Then, S240-S2
At 50, while the command in the print job data is being interpreted to the end point, the generation of the print data corresponding to the end point of the print job data is stopped. Therefore, PC
Even if the cancel switch 52 is pressed while the print job data is being transmitted, the printing up to the end position of the print job data is stopped, so that the print job should be executed so that meaningless printing is not performed. It is possible to reliably cancel.

【0040】なお、キャンセル状態となるまでに印刷ジ
ョブデータの途中までの印刷データが生成されることが
ある。この場合、途中までの印刷データに基づく印刷を
実行するようにしてもよいが、このような印刷が無意味
となることも多い。また、印刷制御プログラムを複数の
モジュールから構成する場合、キャンセル要求が入力さ
れた印刷ジョブデータの終了箇所まで印刷データが生成
されることも想定しておくことが望ましい。そこで、本
実施形態では、S255以降の処理にて、キャンセル要
求が入力された印刷ジョブデータから生成された印刷デ
ータから印刷が実行されないようにしている。
It should be noted that print data up to the middle of the print job data may be generated before the cancel state is entered. In this case, printing may be executed based on the print data up to the middle, but such printing often becomes meaningless. Further, when the print control program is composed of a plurality of modules, it is desirable to assume that the print data is generated up to the end position of the print job data for which the cancel request is input. Therefore, in the present embodiment, in the processing from S255, printing is not executed from the print data generated from the print job data for which the cancel request is input.

【0041】印刷ジョブデータの全コマンドが終了する
と、印刷キュー管理モジュールM3により、印刷ジョブ
データの処理状態がキャンセル状態であるか否か、すな
わち、キャンセルフラグが”1”であるか否かを判断す
る(S255)。キャンセル状態でない場合にはS26
0に進み、キャンセル状態である場合にはS275に進
む。S260では、エンジン管理モジュールM4が印刷
キュー管理モジュールM3に対して印刷データが印刷キ
ューに存在するか否かを問い合わせ、印刷データが存在
しない場合にはS205に戻る。生成された印刷データ
が印刷キューに存在する場合、印刷データを取得する
(S265)。より具体的に説明すると、印刷キュー管
理モジュールM3が印刷キューを参照し、印刷キューに
存在する印刷データをエンジン管理モジュールM4に通
知する。そして、エンジン管理モジュールM4により、
通知された印刷データを印刷キューの順に取得し、プリ
ントエンジン40に送出して(S270)、S285に
進む。すると、プリントエンジン40は、印刷データを
入手し、印刷用紙への印刷を実行する。
When all commands of the print job data are completed, the print queue management module M3 determines whether the processing state of the print job data is the cancel state, that is, whether the cancel flag is "1". Yes (S255). If not in the canceled state, S26
If it is in the cancel state, the process proceeds to S275. In S260, the engine management module M4 inquires of the print queue management module M3 whether print data exists in the print queue, and if no print data exists, the process returns to S205. If the generated print data exists in the print queue, the print data is acquired (S265). More specifically, the print queue management module M3 refers to the print queue, and notifies the engine management module M4 of the print data existing in the print queue. Then, by the engine management module M4,
The notified print data is acquired in the order of the print queue, sent to the print engine 40 (S270), and the process proceeds to S285. Then, the print engine 40 obtains the print data and executes printing on the printing paper.

【0042】一方、印刷ジョブデータの処理状態がキャ
ンセル状態であるときには、S275にて、S260と
同様に印刷データが印刷キューに存在するか否かを問い
合わせる。印刷データが存在しない場合には、キャンセ
ルする印刷ジョブに対応する印刷データが無いことにな
るので、S205に戻る。印刷データが印刷キューに存
在する場合、キャンセル要求が入力された印刷ジョブデ
ータの終了箇所までに対応する印刷データを削除し(S
280)、S285に進む。すると、図8の右側で示し
たように印刷ジョブデータが受信バッファに記憶されて
同印刷ジョブデータから印刷データが生成されても、プ
リントエンジン40は、キャンセルする印刷ジョブに対
応する印刷データを入手することがないので、印刷を実
行しない。従って、PCが印刷ジョブデータを送信して
いる最中にキャンセルスイッチ52を押圧操作しても、
印刷ジョブデータの終了箇所までの印刷が中止されるの
で、無意味な印刷が行われないように印刷ジョブを確実
にキャンセルすることが可能となる。このように、S2
60〜S270の処理は印刷手段を構成し、S255,
S275〜S280の処理は印刷中止手段を構成する。
その後、S285では、ジョブ判断モジュールM2によ
り印刷ジョブの終了と判断して印刷ジョブ終了の旨の情
報を生成し、S205に戻る。そして、別の印刷ジョブ
データを受信して印刷を実行することが可能となる。
On the other hand, when the processing state of the print job data is the cancel state, in S275, it is inquired whether or not the print data exists in the print queue as in S260. If there is no print data, it means that there is no print data corresponding to the print job to be canceled, and the process returns to S205. If the print data exists in the print queue, the print data corresponding to the end of the print job data for which the cancel request is input is deleted (S
280) and the process proceeds to S285. Then, even if the print job data is stored in the reception buffer and the print data is generated from the print job data as shown on the right side of FIG. 8, the print engine 40 obtains the print data corresponding to the print job to be canceled. There is nothing to do, so printing is not executed. Therefore, even if the cancel switch 52 is pressed while the PC is transmitting the print job data,
Since the printing up to the end portion of the print job data is stopped, it is possible to reliably cancel the print job so that meaningless printing is not performed. Thus, S2
The processing of 60 to S270 constitutes a printing unit, and S255,
The processing of S275 to S280 constitutes a print canceling unit.
After that, in step S285, the job determination module M2 determines that the print job has ended, generates information indicating that the print job has ended, and returns to step S205. Then, it becomes possible to receive another print job data and execute printing.

【0043】以上説明したように、本プリンタ10は、
ホストコンピュータが印刷ジョブデータを送信している
最中にキャンセル要求が入力されても、受信バッファに
記憶される印刷ジョブデータの終了箇所までの印刷が中
止されるので、従来のように無意味な印刷を行うことが
ない。
As described above, the printer 10 is
Even if a cancel request is input while the host computer is transmitting print job data, printing up to the end point of the print job data stored in the receive buffer is stopped, so it is meaningless as before. No printing is done.

【0044】(4)第二の実施形態:本発明の印刷装置
は、様々な構成が可能である。第一の実施形態では、キ
ャンセルフラグを参照することによりキャンセル要求が
入力された印刷ジョブデータの終了箇所までの印刷を中
止させるようにしたが、キャンセルステータス情報が生
成されたときに割込処理を行って印刷を中止させるよう
にしてもよい。また、ホストコンピュータから印刷ジョ
ブデータのキャンセル要求の入力を受け付け、キャンセ
ルステータス情報を生成するようにしてもよい。ここ
で、ホストコンピュータは、印刷装置に対して割込要求
の信号とともに、印刷ジョブデータのキャンセル要求を
送信するものとする。
(4) Second Embodiment: The printing apparatus of the present invention can have various configurations. In the first embodiment, by referring to the cancel flag, the printing up to the end position of the print job data for which the cancel request is input is stopped, but when the cancel status information is generated, the interrupt process is performed. You may make it perform and stop printing. In addition, the cancel status information may be generated by receiving an input of a cancel request for print job data from the host computer. Here, it is assumed that the host computer transmits a print job data cancel request together with an interrupt request signal to the printing apparatus.

【0045】図9は、第二の実施形態にかかる印刷装置
であるレーザープリンタ10が行う一連の割込処理をフ
ローチャートにより示している。本フローは、PC10
0から割込要求が入力されたときに開始される。本実施
形態では、図5で示した印刷ジョブデータ内のコマンド
に、受信された印刷ジョブデータのキャンセル要求を意
味するコマンドを含めている。すなわち、コマンド名の
所定コードが同キャンセル要求を意味するコードとして
割り当てられている。なお、ハードウェア構成は第一の
実施形態と同じでよいため説明を省略する。割込処理を
開始すると、印刷ジョブデータが受信されているか否か
を判断する(S305)。印刷ジョブデータが受信され
ていないときには、図示しないフローによりその他の割
込処理を行っていく。
FIG. 9 is a flowchart showing a series of interrupt processes performed by the laser printer 10 which is the printing apparatus according to the second embodiment. This flow is for PC10
It is started when an interrupt request is input from 0. In the present embodiment, the command in the print job data shown in FIG. 5 includes a command meaning a request to cancel the received print job data. That is, the predetermined code of the command name is assigned as the code meaning the cancellation request. Note that the hardware configuration may be the same as that of the first embodiment, so description will be omitted. When the interrupt process is started, it is determined whether print job data has been received (S305). When print job data has not been received, other interrupt processing is performed by a flow not shown.

【0046】印刷ジョブデータが受信されているとき、
PDLモジュールM1にて印刷ジョブデータ内のコマン
ドを解釈する(S310)。その後、解釈したコマンド
が印刷ジョブデータのキャンセル要求であるか否か、す
なわち、コマンドのコードがキャンセル要求を意味する
所定コードであるか否かを判断する(S315)。解釈
したコマンドがキャンセル要求でないとき、図示しない
フローによりコマンドの解釈結果に応じたその他の割込
処理を行っていく。解釈したコマンドがキャンセル要求
であるとき、キャンセルフラグに”1”を代入(キャン
セルステータス情報を生成)する(S320)。また、
PDL管理モジュールM6に対してキャンセル状態であ
ることを表示させる要求を生成し(S325)、本フロ
ーを終了する。すると、PDL管理モジュールM6は、
パネル管理モジュールM5に対して操作パネルの液晶デ
ィスプレイ51にキャンセル状態であることを表示させ
る。
When print job data is received,
The PDL module M1 interprets the command in the print job data (S310). Then, it is determined whether the interpreted command is a print job data cancel request, that is, whether the command code is a predetermined code that means a cancel request (S315). When the interpreted command is not a cancel request, other interrupt processing according to the result of command interpretation is performed by a flow not shown. When the interpreted command is a cancel request, "1" is assigned to the cancel flag (cancel status information is generated) (S320). Also,
A request to display the cancellation status to the PDL management module M6 is generated (S325), and this flow ends. Then, the PDL management module M6
The liquid crystal display 51 of the operation panel is caused to display to the panel management module M5 that it is in the cancel state.

【0047】図10は、印刷制御処理の一部をフローチ
ャートにより示している。本フローは、第一の実施形態
のS205〜S285に加えてS405〜S415が追
加されている。なお、図示しないS205〜S280の
処理については、図7を参照して説明する。すなわち、
印刷ジョブデータが受信されているか否かを判断し、印
刷ジョブデータが受信されているときに印刷ジョブデー
タの処理状態がキャンセル状態であるか否かを判断する
(S205〜S210)。キャンセル状態でない場合に
は、印刷ジョブデータ内のコマンドを解釈し、コマンド
の解釈結果に基づいて印刷データを生成し、コマンドが
終了したか否かを判断し、コマンドが終了していれば印
刷キューを生成し、印刷ジョブデータ内の全コマンドが
終了したか否かを判断する処理を行っていく(S215
〜S235)。PC100から印刷ジョブデータのキャ
ンセル要求の割込要求が入力されていると、S210に
て印刷ジョブデータの処理状態がキャンセル状態である
と判断する。この場合、印刷ジョブデータ内のコマンド
を解釈し、印刷データを生成する処理は行わずにコマン
ドが終了したか否かを判断し、コマンドが終了していれ
ば印刷キューを生成せずに印刷ジョブデータ内の全コマ
ンドが終了したか否かを判断する処理を行っていく(S
240〜S250)。
FIG. 10 is a flowchart showing a part of the print control processing. In this flow, S405 to S415 are added in addition to S205 to S285 of the first embodiment. The processing of S205 to S280 (not shown) will be described with reference to FIG. That is,
It is determined whether or not the print job data is received, and it is determined whether or not the processing state of the print job data is the cancel state when the print job data is received (S205 to S210). If it is not in the cancel state, it interprets the command in the print job data, generates print data based on the interpretation result of the command, judges whether the command is finished, and if the command is finished, print queue Is generated and it is determined whether or not all commands in the print job data have been completed (S215).
~ S235). If an interrupt request for a print job data cancel request is input from the PC 100, it is determined in S210 that the print job data processing state is the cancel state. In this case, the command in the print job data is interpreted, it is judged whether the command is completed without performing the process of generating the print data, and if the command is completed, the print job is not generated without generating the print queue. Processing for determining whether or not all commands in the data have been completed is performed (S
240-S250).

【0048】すると、印刷ジョブデータ内のコマンドが
終了箇所まで解釈されながら同印刷ジョブデータの終了
箇所までに対応する印刷データの生成が中止される。従
って、キャンセル要求の対象とされた印刷ジョブデータ
の終了箇所までの印刷が中止される。印刷ジョブデータ
の全コマンドが終了すると、印刷キュー管理モジュール
M3により、印刷ジョブデータの処理状態がキャンセル
状態であるか否かを判断する(S255)。キャンセル
状態でない場合には、印刷データが印刷キューに存在す
るか否かを判断し、印刷キューに存在する場合には印刷
データを取得し、取得した印刷データをプリントエンジ
ン40に送出して、印刷ジョブの終了と判断する(S2
60〜S270,S285)。一方、印刷ジョブデータ
の処理状態がキャンセル状態であるとき、印刷データが
印刷キューに存在するか否かを判断し、印刷データが印
刷キューに存在する場合にはキャンセル要求が入力され
た印刷ジョブデータの終了箇所までに対応する印刷デー
タを削除して、印刷ジョブの終了と判断する(S275
〜S285)。すなわち、キャンセル要求の対象とされ
た印刷ジョブデータから印刷データが生成されても、プ
リントエンジン40は、キャンセルする印刷ジョブに対
応する印刷データを入手することがないので、印刷を実
行しない。
Then, while the command in the print job data is interpreted up to the end point, the generation of the print data corresponding to the end point of the print job data is stopped. Therefore, the printing up to the end point of the print job data for which the cancellation request is made is stopped. When all the commands of the print job data are completed, the print queue management module M3 determines whether the processing state of the print job data is the cancel state (S255). If it is not in the cancel state, it is determined whether or not the print data exists in the print queue. If the print data exists in the print queue, the print data is acquired, and the acquired print data is sent to the print engine 40 to print. It is determined that the job is completed (S2)
60-S270, S285). On the other hand, when the processing status of the print job data is the cancel status, it is determined whether the print data exists in the print queue. If the print data exists in the print queue, the cancel request is input. The print data corresponding to the end point of is deleted and it is determined that the print job is completed (S275).
~ S285). That is, even if the print data is generated from the print job data for which the cancel request is made, the print engine 40 does not obtain the print data corresponding to the print job to be canceled, and thus does not execute the printing.

【0049】本実施形態では、S285終了後、印刷ジ
ョブデータがキャンセル状態であったか否か、すなわ
ち、キャンセルフラグが”1”であるか否かを判断する
(S405)。キャンセルフラグが”1”でない場合、
受信した印刷ジョブデータはキャンセル状態となってい
なかったので、そのままS205に戻る。一方、キャン
セルフラグが”1”である場合、キャンセルフラグに”
0”を代入(キャンセルステータス情報の生成を終了)
する(S410)。また、PDL管理モジュールM6に
対してキャンセル状態の表示を解除させる要求を生成し
(S415)、S205に戻る。すると、PDL管理モ
ジュールM6は、パネル管理モジュールM5に対して液
晶ディスプレイ51にキャンセル状態の表示を解除させ
る。以上より、キャンセル要求の対象とされた印刷ジョ
ブデータの終了箇所までの印刷が中止されるので、無意
味な印刷が行われないように印刷ジョブをキャンセルす
ることが可能となる。このように、印刷ジョブデータ内
にキャンセル要求のコマンドを含めることにより、ホス
トコンピュータから印刷ジョブをキャンセルすることが
できるので、本印刷装置はさらに便利となる。なお、本
実施形態では、印刷装置は割込処理により印刷ジョブデ
ータのキャンセル要求の入力を受け付けているが、割込
処理を行わずにコマンド解釈時にて印刷ジョブデータの
キャンセル要求のコマンドが解釈されたときに受信バッ
ファに蓄積されている印刷ジョブデータの終了箇所まで
の印刷を中止させてもよい。この場合でも、既に受信バ
ッファに記憶されている印刷ジョブデータに対応する印
刷ジョブについて、無意味な印刷が行われないように印
刷ジョブをキャンセルすることができる。
In this embodiment, after S285, it is determined whether the print job data is in the cancel state, that is, whether the cancel flag is "1" (S405). If the cancel flag is not "1",
Since the received print job data is not in the canceled state, the process directly returns to S205. On the other hand, if the cancel flag is "1",
Substitute 0 "(end generation of cancellation status information)
Yes (S410). Further, a request for canceling the display of the cancel state is generated for the PDL management module M6 (S415), and the process returns to S205. Then, the PDL management module M6 causes the panel management module M5 to cancel the display of the cancel state on the liquid crystal display 51. As described above, since the printing up to the end position of the print job data for which the cancel request is made is stopped, it is possible to cancel the print job so that meaningless printing is not performed. As described above, by including the cancel request command in the print job data, the print job can be canceled from the host computer, which makes the printing apparatus more convenient. In the present embodiment, the printing apparatus accepts the input of the print job data cancel request by the interrupt process, but the command of the print job data cancel request is interpreted at the time of command interpretation without performing the interrupt process. When this happens, printing up to the end of the print job data stored in the receive buffer may be stopped. Even in this case, the print job corresponding to the print job data already stored in the reception buffer can be canceled so that meaningless printing is not performed.

【0050】(5)第三の実施形態:印刷装置にネット
ワークを介して複数のホストコンピュータを接続する場
合、別のホストコンピュータが生成した印刷ジョブデー
タが削除されないようにすることが望ましい。本レーザ
ープリンタ10は、MIB情報管理モジュールM7によ
り、各印刷ジョブを識別可能なMIB情報を管理してい
る。MIB情報管理モジュールM7は、受信した印刷ジ
ョブデータ別に異なるジョブID(識別データ)を付与
し、当該ジョブIDと同印刷ジョブデータとを対応付け
る識別情報とされるMIB情報を生成してRAM23内
の所定の記憶領域に記憶させる。そして、PC100か
らの要求に応じて同PC100に対して印刷ジョブデー
タとジョブIDとを一義的に対応づけることが可能な情
報を送信する。印刷ジョブデータとジョブIDとを一義
的に対応づけるためには、種々の構成が採用可能であ
り、例えば、各印刷ジョブについて当該印刷ジョブを生
成したユーザやドキュメント名、APL等の情報を取得
し、これらの情報とジョブIDとを対応づけてPC10
0に送出する構成とすることができる。
(5) Third Embodiment: When a plurality of host computers are connected to a printing apparatus via a network, it is desirable that print job data generated by another host computer is not deleted. The laser printer 10 uses the MIB information management module M7 to manage the MIB information that can identify each print job. The MIB information management module M7 assigns different job IDs (identification data) to the received print job data, generates MIB information serving as identification information for associating the job IDs with the print job data, and stores the predetermined MIB information in the RAM 23. To be stored in the memory area. Then, in response to a request from the PC 100, information that allows the print job data and the job ID to be uniquely associated with each other is transmitted to the PC 100. In order to uniquely associate the print job data with the job ID, various configurations can be adopted. For example, for each print job, information such as the user who generated the print job, the document name, and the APL is acquired. The PC 10 associates these information with the job ID.
It can be configured to send to 0.

【0051】PC100では、APL110の一つであ
るMIB情報管理APLによりMIB情報を取得し、デ
ィスプレイに表示することができる。図11は、MIB
情報管理APLによって印刷ジョブの管理を行うための
表示画面例であり、この画面に表示される各パラメータ
はMIB情報管理APLによってプリンタ10からMI
B情報を取得されたものである。図に示すように、PC
100は、取得したMIB情報に基づいて、画面上に各
印刷ジョブのジョブID、ジョブ名、ステータス、キャ
ンセルボタンを表示する。ジョブ名は、各印刷ジョブを
生成したユーザ名とそのドキュメント名および作成した
アプリケーションプログラム名から構成されている。ジ
ョブIDは上述のようにMIB情報管理モジュールM7
が取得しており、MIB情報としてPC100に取得さ
れる。
In the PC 100, MIB information can be acquired by the MIB information management APL which is one of the APL 110 and displayed on the display. Figure 11 shows the MIB
This is an example of a display screen for managing a print job by the information management APL, and each parameter displayed on this screen is transmitted from the printer 10 to the MI by the MIB information management APL.
B information has been acquired. As shown in the figure, PC
100 displays the job ID, job name, status, and cancel button of each print job on the screen based on the acquired MIB information. The job name is composed of the user name that created each print job, its document name, and the created application program name. The job ID is the MIB information management module M7 as described above.
Has been acquired and is acquired by the PC 100 as MIB information.

【0052】ここで、PC100は、印刷ジョブデータ
を送信した際にユーザ名をジョブ名に含めて送信してい
るので、ジョブ名に含まれるユーザ名に基づいて自らが
送信した印刷ジョブデータのジョブ名を特定し、特定し
たジョブ名に対応する箇所のみキャンセルボタンを表示
する。そして、キャンセルボタンがマウスによりクリッ
ク操作されると、対応するジョブ名に相当する印刷ジョ
ブデータのキャンセル要求を意味するコマンド(以下、
キャンセルコマンドと記載)を送信する。このとき、P
C100の利用者は、ジョブ名によって、キャンセルす
べき印刷ジョブを容易に特定することができる。すなわ
ち、PC100は、取得したMIB情報に基づいて、送
信した印刷ジョブデータに対応するプリンタの受信バッ
ファ23aに記憶された印刷ジョブデータを特定可能で
ある。そして、特定された印刷ジョブデータのキャンセ
ル要求の入力を受け付け、同特定された印刷ジョブデー
タのキャンセルコマンドを送信することが可能である。
例えば、同コマンドにキャンセル要求の対象とされた印
刷ジョブデータに対応するジョブIDを含めておくこと
により、プリンタ10にてキャンセル要求の対象とされ
た印刷ジョブデータを特定することが可能となる。な
お、PC100は、レーザープリンタ10に対して割込
要求の信号とともに、印刷ジョブデータのキャンセルコ
マンドを送信するものとする。
Here, since the PC 100 transmits the print job data by including the user name in the job name, the job of the print job data transmitted by itself based on the user name included in the job name. Name is specified, and the cancel button is displayed only at the part corresponding to the specified job name. Then, when the cancel button is clicked with the mouse, a command meaning a request to cancel the print job data corresponding to the corresponding job name (hereinafter,
Send (Cancel command and description). At this time, P
The C100 user can easily specify the print job to be canceled by the job name. That is, the PC 100 can specify the print job data stored in the reception buffer 23a of the printer corresponding to the transmitted print job data based on the acquired MIB information. Then, it is possible to receive an input of a cancel request for the specified print job data and send a cancel command for the specified print job data.
For example, by including the job ID corresponding to the print job data targeted for the cancellation request in the command, the print job data targeted for the cancellation request can be specified by the printer 10. The PC 100 transmits a print job data cancel command to the laser printer 10 together with an interrupt request signal.

【0053】図12は、上述したようなPC100がネ
ットワークを介して接続されたプリンタ10にて行われ
る一連の割込処理をフローチャートにより示している。
本フローは、PC100から割込要求が入力されたとき
に開始される。なお、ハードウェア構成は第一の実施形
態と同じでよいため説明を省略する。割込処理を開始す
ると、MIB情報管理モジュールM7により、キャンセ
ルコマンドが受信されているか否かを判断する(S50
5)。キャンセルコマンドが受信されていないときに
は、図示しないフローによりその他の割込処理を行って
いく。
FIG. 12 is a flowchart showing a series of interrupt processes performed by the printer 10 to which the above-described PC 100 is connected via the network.
This flow is started when an interrupt request is input from the PC 100. Note that the hardware configuration may be the same as that of the first embodiment, so description will be omitted. When the interrupt process is started, the MIB information management module M7 determines whether or not a cancel command has been received (S50).
5). When the cancel command is not received, other interrupt processing is performed by a flow not shown.

【0054】MIB情報管理モジュールM7がPC10
0から特定された印刷ジョブデータのキャンセルコマン
ドを受け取ると、キャンセルフラグに”1”を代入(キ
ャンセルステータス情報を生成)する(S510)。本
実施形態では、キャンセル要求の対象とされる印刷ジョ
ブデータについてのみ同印刷ジョブデータの終了箇所ま
での印刷を中止させる必要がある。そこで、MIB情報
管理モジュールM7により、MIB情報に含まれるステ
ータスの項目について、キャンセル要求の対象とされる
印刷ジョブデータに対応する情報を”cancel”
(キャンセルの意)に修正し(S515)、本フローを
終了する。このように、本フローでは、複数の印刷ジョ
ブデータのいずれかのキャンセル要求の入力を受け付け
可能であり、PC100にて特定された印刷ジョブデー
タのキャンセルコマンドを受信したとき、同特定された
印刷ジョブデータのキャンセルを意味するキャンセルス
テータス情報を生成することになる。
The MIB information management module M7 is connected to the PC 10
When the cancel command for the specified print job data is received from 0, "1" is substituted for the cancel flag (cancel status information is generated) (S510). In the present embodiment, it is necessary to stop printing up to the end point of the print job data only for the print job data that is the target of the cancel request. Therefore, the MIB information management module M7 causes the information corresponding to the print job data for which the cancellation request is made to be “cancel” for the status item included in the MIB information.
It is corrected to (intention to cancel) (S515), and this flow ends. As described above, in this flow, it is possible to accept the input of the cancel request for any of the plurality of print job data, and when the cancel command for the print job data specified by the PC 100 is received, the print job for the specified print job data is received. Cancellation status information that means cancellation of data will be generated.

【0055】図13は、印刷制御処理の一部をフローチ
ャートにより示している。本フローは、第一の実施形態
のS205〜S285に加えて605〜S635が追加
されている。なお、図示しない処理については、図7を
参照して説明する。まず、印刷ジョブデータが受信され
ているか否かを判断する(S205)。印刷ジョブデー
タが受信されていないとき、図7におけるS255に進
む。印刷ジョブデータが受信されているとき、MIB情
報管理モジュールM7にて、受信された印刷ジョブデー
タ別に異なるジョブIDを付与する(S605)。ま
た、同ジョブIDと印刷ジョブデータとを対応付けるM
IB情報を生成してRAM23に記憶させる(S61
0)。なお、MIB情報には、図11で示したジョブI
D、ジョブ名、ステータスの他、RAM23内の印刷ジ
ョブデータの開始アドレス等の情報もジョブIDと対応
して格納するようにしている。
FIG. 13 is a flowchart showing a part of the print control processing. In this flow, 605 to S635 are added to S205 to S285 of the first embodiment. The processing not shown will be described with reference to FIG. 7. First, it is determined whether print job data has been received (S205). When print job data has not been received, the process proceeds to S255 in FIG. When the print job data is received, the MIB information management module M7 gives different job IDs to the received print job data (S605). In addition, M that associates the same job ID with print job data
IB information is generated and stored in the RAM 23 (S61
0). The MIB information includes the job I shown in FIG.
In addition to D, the job name, and the status, information such as the start address of print job data in the RAM 23 is also stored in association with the job ID.

【0056】その後、キャンセル状態の印刷ジョブデー
タがあるか否か、すなわち、キャンセルフラグが”1”
であるか否かを判断する(S210)。キャンセル状態
の印刷ジョブデータがない場合には、印刷ジョブデータ
内のコマンドを解釈し、コマンドの解釈結果に基づいて
印刷データを生成し、コマンドが終了したか否かを判断
し、コマンドが終了していれば印刷キューを生成し、印
刷ジョブデータ内の全コマンドが終了したか否かを判断
する処理を行っていく(S215〜S235)。
After that, whether or not there is print job data in the canceled state, that is, the cancel flag is "1".
Or not (S210). If there is no print job data in the canceled state, interpret the command in the print job data, generate print data based on the interpretation result of the command, judge whether the command is finished, and finish the command. If so, a print queue is generated, and processing for determining whether or not all commands in the print job data have been completed is performed (S215 to S235).

【0057】PC100から印刷ジョブデータのキャン
セル要求の割込要求が入力されていると、S210にて
キャンセル状態の印刷ジョブデータがあると判断する。
この場合、RAM23に記憶されたMIB情報を参照し
て、現在処理を開始した印刷ジョブデータがキャンセル
要求の対象であるか否かを判断する(S615)。上述
したようにMIB情報にはジョブIDと印刷ジョブデー
タの開始アドレス等を対応付ける情報が格納されている
ので、S615の判断処理は、例えば現在処理を開始し
た印刷ジョブデータの開始アドレスがキャンセル要求の
コマンドに含まれるジョブIDに対応する印刷ジョブデ
ータの開始アドレスと一致するか否かを判断することに
より行うことができる。同印刷ジョブデータがキャンセ
ル要求の対象でなければ、印刷データを生成するS21
5〜S235の処理を行う。
When a print job data cancel request interrupt request is input from the PC 100, it is determined in S210 that there is print job data in a cancel state.
In this case, referring to the MIB information stored in the RAM 23, it is determined whether or not the print job data whose processing is currently started is the target of the cancel request (S615). As described above, the MIB information stores the information that associates the job ID with the start address of the print job data. Therefore, the determination process of S615 is, for example, that the start address of the print job data that has started the current process is the cancel request. This can be performed by determining whether or not the start address of the print job data corresponding to the job ID included in the command matches. If the print job data is not the target of the cancel request, print data is generated in S21.
The processing of 5 to S235 is performed.

【0058】一方、現在処理を開始した印刷ジョブデー
タがキャンセル要求の対象である場合、印刷ジョブデー
タ内のコマンドを解釈し、印刷データを生成する処理は
行わずにコマンドが終了したか否かを判断し、コマンド
が終了していれば印刷キューを生成せずに印刷ジョブデ
ータ内の全コマンドが終了したか否かを判断する処理を
行っていく(S240〜S250)。すなわち、PC1
00にて特定された印刷ジョブデータのキャンセルを意
味するキャンセルステータス情報が生成されたとき、複
数の印刷ジョブデータから入力が受け付けられたキャン
セル要求に対応する印刷ジョブデータが特定され、特定
された印刷ジョブデータの終了箇所までの印刷を中止さ
せることができる。
On the other hand, when the print job data that has started the current process is the target of the cancel request, it is determined whether the command in the print job data is interpreted and the command is terminated without performing the process of generating the print data. If it is determined that the command has been completed, a process for determining whether all commands in the print job data have been completed without generating a print queue (S240 to S250). That is, PC1
When the cancel status information, which means cancel of the print job data specified by 00, is generated, the print job data corresponding to the cancel request whose input is accepted is specified from the plurality of print job data, and the specified print is performed. Printing up to the end of job data can be stopped.

【0059】印刷ジョブデータの全コマンドが終了する
と、印刷キュー管理モジュールM3により、印刷ジョブ
データの処理状態がキャンセル状態であるか否かを判断
する(S255)。キャンセル状態でない場合には、印
刷データが印刷キューに存在するか否かを判断し、印刷
キューに存在する場合には印刷データを取得し、取得し
た印刷データをプリントエンジン40に送出して、印刷
ジョブの終了と判断する(S260〜S270,S28
5)。印刷ジョブデータの処理状態がキャンセル状態で
あるとき、RAM23に記憶されたMIB情報を参照し
て、現在処理を行った印刷ジョブデータがキャンセル要
求の対象であるか否かを判断する(S620)。本判断
処理も、MIB情報を参照して現在処理を行った印刷ジ
ョブデータの開始アドレスがキャンセル要求のコマンド
に含まれるジョブIDに対応する印刷ジョブデータの開
始アドレスと一致するか否かを判断することにより行う
ことができる。同印刷ジョブデータがキャンセル要求の
対象でなければ、印刷データをプリントエンジン40に
送出して印刷ジョブの終了と判断するS260〜S27
0,S285の処理を行う。
When all the commands of the print job data are completed, the print queue management module M3 determines whether the processing state of the print job data is the cancel state (S255). If it is not in the cancel state, it is determined whether or not the print data exists in the print queue. If the print data exists in the print queue, the print data is acquired, and the acquired print data is sent to the print engine 40 to print. It is determined that the job is completed (S260 to S270, S28).
5). When the processing state of the print job data is the cancel state, the MIB information stored in the RAM 23 is referred to, and it is determined whether or not the print job data currently processed is the target of the cancel request (S620). Also in this judgment processing, it is judged by referring to the MIB information whether or not the start address of the print job data currently processed is the same as the start address of the print job data corresponding to the job ID included in the command of the cancel request. It can be done by If the print job data is not the target of the cancel request, the print data is sent to the print engine 40 and it is determined that the print job is finished S260 to S27.
0, the process of S285 is performed.

【0060】一方、現在処理を行った印刷ジョブデータ
がキャンセル要求の対象であるとき、印刷データが印刷
キューに存在するか否かを判断し、印刷データが印刷キ
ューに存在する場合にはキャンセル要求が入力された印
刷ジョブデータの終了箇所までに対応する印刷データを
削除して、印刷ジョブの終了と判断する(S275〜S
285)。すなわち、複数の印刷ジョブデータからキャ
ンセル要求に対応する印刷ジョブデータとして特定され
た印刷ジョブデータから印刷データが生成されても、プ
リントエンジン40は印刷を実行しない。
On the other hand, when the currently processed print job data is the object of the cancel request, it is judged whether the print data exists in the print queue. If the print data exists in the print queue, the cancel request is issued. The print data corresponding to the end portion of the input print job data is deleted, and it is determined that the print job is finished (S275 to S275).
285). That is, even if the print data is generated from the print job data specified as the print job data corresponding to the cancel request from the plurality of print job data, the print engine 40 does not execute the printing.

【0061】本実施形態では、S285終了後、MIB
情報管理モジュールM7により、MIB情報から終了し
た印刷ジョブに対応する情報、例えば、ジョブID、ジ
ョブ名、ステータス、印刷ジョブデータの開始アドレス
等を削除する修正を行う(S625)。次に、印刷ジョ
ブデータがキャンセル状態であったか否か、すなわち、
キャンセルフラグが”1”であるか否かを判断する(S
630)。キャンセルフラグが”1”でない場合、受信
した印刷ジョブデータはキャンセル状態となっていなか
ったので、そのままS205に戻る。キャンセルフラグ
が”1”である場合、MIB情報を参照し、MIB情報
のステータスに”cancel”が存在するか否かを判
断する(S635)。MIB情報のステータスに”ca
ncel”が存在しない場合には、上記S205〜S2
85,S605〜S630にて印刷を中止させた印刷ジ
ョブ以外にキャンセルする印刷ジョブは存在しないの
で、キャンセルフラグに”0”を代入(キャンセルステ
ータス情報の生成を終了)し(S640)、S205に
戻る。一方、MIB情報のステータスに”cance
l”が存在する場合には、キャンセルフラグを”1”の
ままとしてキャンセルステータス情報の生成を終了せ
ず、S205に戻る。
In this embodiment, after S285 ends, the MIB
The information management module M7 corrects information corresponding to the completed print job from the MIB information, for example, the job ID, job name, status, start address of print job data, and the like (S625). Next, whether or not the print job data is in the cancel state, that is,
It is determined whether or not the cancel flag is "1" (S
630). If the cancel flag is not "1", the received print job data is not in the cancel state, and therefore the process directly returns to S205. When the cancel flag is “1”, the MIB information is referred to and it is determined whether or not “cancel” is present in the status of the MIB information (S635). The status of MIB information is "ca
ncel "does not exist, the above S205 to S2
85, since there is no print job to be canceled other than the print job whose printing has been stopped in S605 to S630, "0" is assigned to the cancel flag (end of generation of cancel status information) (S640), and the process returns to S205. . On the other hand, the status of MIB information shows "cance
If "1" exists, the cancel flag remains "1" and the generation of the cancel status information is not ended, and the process returns to S205.

【0062】このように、MIB情報を参照することに
より容易にキャンセル要求に対応する印刷ジョブデータ
を特定することができ、キャンセル要求の対象とされた
印刷ジョブデータについてのみ同印刷ジョブデータの終
了箇所までの印刷が中止されるので、無意味な印刷が行
われないように所望の印刷ジョブをキャンセルすること
が可能となる。また、ネットワークを介してホストコン
ピュータから印刷ジョブを選択してキャンセルすること
ができるので、本印刷装置は便利である。以上説明した
ように、本発明によると、種々の態様により、無意味な
印刷が行われないように印刷ジョブをキャンセルするこ
とが可能な印刷装置、印刷制御プログラムおよび印刷制
御プログラムを記録した媒体を提供することができる。
また、印刷制御方法としても適用可能である。
As described above, the print job data corresponding to the cancel request can be easily specified by referring to the MIB information, and only the print job data for which the cancel request is made ends the end portion of the print job data. Since the printing up to is canceled, it is possible to cancel the desired print job so that meaningless printing is not performed. Further, since the print job can be selected and canceled from the host computer via the network, this printing apparatus is convenient. As described above, according to the present invention, according to various aspects, a printing apparatus capable of canceling a print job so that meaningless printing is not performed, a print control program, and a medium recording the print control program are provided. Can be provided.
It can also be applied as a print control method.

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

【図1】レーザープリンタの概略ハードウェア構成を示
したブロック図である。
FIG. 1 is a block diagram showing a schematic hardware configuration of a laser printer.

【図2】操作パネルを正面から見て示す正面図である。FIG. 2 is a front view showing the operation panel as viewed from the front.

【図3】印刷制御プログラムの構成を示すブロック図で
ある。
FIG. 3 is a block diagram showing a configuration of a print control program.

【図4】印刷装置の各種手段の構成を示すブロック図で
ある。
FIG. 4 is a block diagram showing a configuration of various means of the printing apparatus.

【図5】印刷ジョブデータの構造を示す模式図である。FIG. 5 is a schematic diagram showing a structure of print job data.

【図6】ステータス生成処理を示すフローチャートであ
る。
FIG. 6 is a flowchart showing status generation processing.

【図7】印刷制御処理を示すフローチャートである。FIG. 7 is a flowchart illustrating print control processing.

【図8】受信バッファに一時記憶される印刷ジョブデー
タの様子を模式的に示す図である。
FIG. 8 is a diagram schematically showing a state of print job data temporarily stored in a reception buffer.

【図9】第二の実施形態にかかる印刷装置が行う割込処
理を示すフローチャートである。
FIG. 9 is a flowchart showing an interrupt process performed by the printing apparatus according to the second embodiment.

【図10】第二の実施形態にかかる印刷装置が行う印刷
制御処理を示すフローチャートである。
FIG. 10 is a flowchart illustrating print control processing performed by the printing apparatus according to the second embodiment.

【図11】PCにて印刷ジョブの管理を行うための表示
画面例を示す図である。
FIG. 11 is a diagram showing an example of a display screen for managing print jobs on a PC.

【図12】第三の実施形態にかかる印刷装置が行う割込
処理を示すフローチャートである。
FIG. 12 is a flowchart illustrating an interrupt process performed by the printing apparatus according to the third embodiment.

【図13】第三の実施形態にかかる印刷装置が行う印刷
制御処理を示すフローチャートである。
FIG. 13 is a flowchart illustrating print control processing performed by a printing apparatus according to a third embodiment.

【図14】従来例の印刷装置において、受信バッファに
一時記憶される印刷ジョブデータの様子を模式的に示す
図である。
FIG. 14 is a diagram schematically showing a state of print job data temporarily stored in a reception buffer in a conventional printing apparatus.

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

10…レーザープリンタ 20…制御部 21…CPU 22…メモリコントローラ 23…RAM 23a…受信バッファ 24…ROM 25…通信インターフェイス 26…ビデオインターフェイス 27…IDEインターフェイス 30…ハードディスクドライブ 40…プリントエンジン 50…操作パネル 51…液晶ディスプレイ 52…キャンセルスイッチ 100…パーソナルコンピュータ M1…PDLモジュール M2…ジョブ判断モジュール M3…印刷キュー管理モジュール M4…エンジン管理モジュール M5…パネル管理モジュール M6…PDL管理モジュール M7…MIB情報管理モジュール P…印刷制御プログラム U1…ジョブ受信手段 U2…印刷データ生成手段 U3…印刷手段 U4…ステータス生成手段 U41…操作入力手段 U42…ステータス表示手段 U5…印刷中止手段 10 ... Laser printer 20 ... Control unit 21 ... CPU 22 ... Memory controller 23 ... RAM 23a ... Receive buffer 24 ... ROM 25 ... Communication interface 26 ... Video interface 27 ... IDE interface 30 ... Hard disk drive 40 ... Print engine 50 ... Operation panel 51 ... Liquid crystal display 52 ... Cancel switch 100 ... Personal computer M1 ... PDL module M2 ... Job judgment module M3 ... Print queue management module M4 ... Engine management module M5 ... Panel management module M6 ... PDL management module M7 ... MIB information management module P ... Print control program U1 ... Job receiving means U2 ... Print data generating means U3 ... Printing means U4 ... Status generation means U41 ... Operation input means U42 ... Status display means U5 ... Print stop means

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 所定の記憶領域を有し、接続されたホス
トコンピュータから印刷ジョブを構成する印刷ジョブデ
ータを受信して同記憶領域に記憶させるジョブ受信手段
と、 上記記憶領域に記憶される印刷ジョブデータ内のコマン
ドを解釈して印刷を実行させるための印刷データを生成
する印刷データ生成手段と、 生成された上記印刷データを取得して印刷媒体への印刷
を実行する印刷手段と、 上記印刷ジョブデータのキャンセル要求の入力を受け付
け可能であり、同キャンセル要求の入力を受け付けたと
き、上記印刷ジョブデータの処理状態がキャンセル状態
であることを意味するキャンセルステータス情報を生成
するステータス生成手段と、 上記キャンセルステータス情報が生成されたとき、上記
記憶領域に記憶される上記印刷ジョブデータの終了箇所
までの印刷を中止させる印刷中止手段とを具備すること
を特徴とする印刷装置。
1. A job receiving unit having a predetermined storage area, which receives print job data constituting a print job from a connected host computer and stores the print job data in the same storage area; and printing stored in the storage area. Print data generation means for interpreting a command in the job data to generate print data for executing printing; printing means for acquiring the generated print data and executing printing on a print medium; A status generation unit capable of accepting an input of a cancel request of job data, and generating a cancel status information meaning that the processing state of the print job data is a cancel state when the input of the cancel request is accepted, When the cancellation status information is generated, the print job data stored in the storage area is stored. Printing apparatus characterized by comprising a print stop means for stopping the printing to the end portion of the motor.
【請求項2】 上記印刷中止手段は、上記キャンセルス
テータス情報が生成されたとき、上記記憶領域に記憶さ
れる印刷ジョブデータ内のコマンドを当該印刷ジョブデ
ータの終了箇所まで解釈しながら上記印刷データ生成手
段に対して同印刷ジョブデータの終了箇所までに対応す
る上記印刷データの生成を中止させることを特徴とする
請求項1に記載の印刷装置。
2. The print canceling means, when the cancel status information is generated, interprets the command in the print job data stored in the storage area up to the end position of the print job data and generates the print data. The printing apparatus according to claim 1, wherein the means is caused to stop the generation of the print data corresponding to the end point of the print job data.
【請求項3】 上記印刷中止手段は、上記キャンセルス
テータス情報が生成されたとき、上記印刷ジョブデータ
の終了箇所までに対応する上記印刷データを削除するこ
とを特徴とする請求項1または請求項2のいずれかに記
載の印刷装置。
3. The print canceling means deletes the print data corresponding to the end position of the print job data when the cancel status information is generated. The printing device according to any one of 1.
【請求項4】 上記ステータス生成手段は、上記キャン
セル要求について操作入力可能な操作入力手段を有し、
同操作入力手段にて同キャンセル要求の操作入力を受け
付けたときに上記キャンセルステータス情報を生成する
ことを特徴とする請求項1〜請求項3のいずれかに記載
の印刷装置。
4. The status generation means has an operation input means capable of inputting an operation for the cancel request,
The printing apparatus according to any one of claims 1 to 3, wherein the cancellation status information is generated when the operation input unit receives an operation input of the cancellation request.
【請求項5】 上記操作入力手段は、本印刷装置の各種
設定について操作入力可能な操作パネルに設けられたス
イッチであることを特徴とする請求項4に記載の印刷装
置。
5. The printing apparatus according to claim 4, wherein the operation input unit is a switch provided on an operation panel through which various settings of the printing apparatus can be input.
【請求項6】 上記ステータス生成手段は、上記キャン
セルステータス情報を表示可能なステータス表示手段を
有し、 上記操作入力手段とステータス表示手段は、本印刷装置
の各種設定について操作入力可能な同一の操作パネルに
設けられていることを特徴とする請求項4または請求項
5のいずれかに記載の印刷装置。
6. The status generation means has status display means capable of displaying the cancellation status information, and the operation input means and the status display means are the same operation capable of inputting various settings of the printing apparatus. The printing apparatus according to claim 4, wherein the printing apparatus is provided on a panel.
【請求項7】 上記印刷ジョブデータ内のコマンドに
は、上記キャンセル要求を含めることが可能であり、 上記ステータス生成手段は、上記印刷データ生成手段に
て解釈されたコマンドが上記キャンセル要求であると
き、上記キャンセルステータス情報を生成することを特
徴とする請求項1〜請求項6のいずれかに記載の印刷装
置。
7. The command in the print job data can include the cancel request, and the status generation means is operable when the command interpreted by the print data generation means is the cancel request. The printing apparatus according to any one of claims 1 to 6, wherein the cancel status information is generated.
【請求項8】 上記ジョブ受信手段は、受信した上記印
刷ジョブデータ別に異なる識別データを付与し、当該識
別データと同印刷ジョブデータとを対応付ける識別情報
を生成して上記記憶領域に記憶させ、 上記ステータス生成手段は、複数の上記印刷ジョブデー
タのいずれかのキャンセル要求の入力を受け付け可能で
あり、 上記印刷中止手段は、上記記憶領域から上記識別情報を
参照して、上記ステータス生成手段にて入力が受け付け
られた上記キャンセル要求に対応する上記印刷ジョブデ
ータを特定し、特定した印刷ジョブデータの終了箇所ま
での印刷を中止させることを特徴とする請求項7に記載
の印刷装置。
8. The job receiving means assigns different identification data to each received print job data, generates identification information for associating the identification data with the print job data, and stores the identification information in the storage area. The status generation means can accept an input of a cancel request of any of the plurality of print job data, and the print stop means refers to the identification information from the storage area and inputs the status by the status generation means. 8. The printing apparatus according to claim 7, wherein the print job data corresponding to the cancel request received by is specified, and the printing up to the end point of the specified print job data is stopped.
【請求項9】 上記ホストコンピュータは、本印刷装置
にネットワークを介して接続され、同印刷装置のMIB
情報を取得し、当該MIB情報に基づいて、送信した印
刷ジョブデータに対応する上記記憶領域に記憶された印
刷ジョブデータを特定可能であるとともに、特定された
印刷ジョブデータのキャンセル要求の入力を受け付けて
同特定された印刷ジョブデータのキャンセル要求を意味
するコマンドを送信することが可能であり、 上記ステータス生成手段は、上記キャンセル要求を意味
するコマンドを受信可能であり、同キャンセル要求を意
味するコマンドを受信したとき、上記特定された印刷ジ
ョブデータのキャンセルを意味するキャンセルステータ
ス情報を生成し、 上記印刷中止手段は、上記特定された印刷ジョブデータ
のキャンセルを意味するキャンセルステータス情報が生
成されたとき、同特定された印刷ジョブデータに基づく
上記印刷媒体への印刷の実行を中止させることを特徴と
する請求項7または請求項8のいずれかに記載の印刷装
置。
9. The host computer is connected to the printing apparatus via a network, and the MIB of the printing apparatus is connected.
It is possible to specify the print job data stored in the storage area corresponding to the transmitted print job data based on the acquired MIB information, and to accept the input of the cancel request for the specified print job data. It is possible to transmit a command meaning a cancel request of the specified print job data, and the status generation means can receive a command meaning the cancel request, and a command meaning the cancel request. When receiving the cancel status information that means cancellation of the specified print job data, the print canceling means generates cancellation status information that means cancellation of the specified print job data. , The above printing based on the specified print job data The printing apparatus according to claim 7 or claim 8, characterized in that stops the execution of the print to the body.
【請求項10】 接続されたホストコンピュータから印
刷ジョブを構成する印刷ジョブデータを受信して所定の
記憶領域に記憶させるジョブ受信工程と、 上記記憶領域に記憶される印刷ジョブデータ内のコマン
ドを解釈して、印刷データを取得して印刷媒体への印刷
を実行する印刷手段に印刷を実行させるための同印刷デ
ータを生成する印刷データ生成工程と、 上記印刷ジョブデータのキャンセル要求の入力を受け付
け可能であり、同キャンセル要求の入力を受け付けたと
き、上記印刷ジョブデータの処理状態がキャンセル状態
であることを意味するキャンセルステータス情報を生成
するステータス生成工程と、 上記キャンセルステータス情報が生成されたとき、上記
記憶領域に記憶される上記印刷ジョブデータの終了箇所
までの印刷を中止させる印刷中止工程とを具備すること
を特徴とする印刷制御方法。
10. A job receiving step of receiving print job data constituting a print job from a connected host computer and storing the print job data in a predetermined storage area, and interpreting commands in the print job data stored in the storage area. Then, the print data generating step of acquiring the print data and executing the print on the print medium to generate the print data for causing the print means to perform the print, and the input of the cancel request of the print job data can be accepted. When the input of the cancellation request is accepted, a status generation step of generating cancellation status information that means that the processing state of the print job data is in the canceled state, and when the cancellation status information is generated, Stop printing until the end of the print job data stored in the storage area A print control method, comprising:
【請求項11】 接続されたホストコンピュータから印
刷ジョブを構成する印刷ジョブデータを受信して所定の
記憶領域に記憶させるジョブ受信機能と、 上記記憶領域に記憶される印刷ジョブデータ内のコマン
ドを解釈して、印刷データを取得して印刷媒体への印刷
を実行する印刷手段に印刷を実行させるための同印刷デ
ータを生成する印刷データ生成機能と、 上記印刷ジョブデータのキャンセル要求の入力を受け付
け可能であり、同キャンセル要求の入力を受け付けたと
き、上記印刷ジョブデータの処理状態がキャンセル状態
であることを意味するキャンセルステータス情報を生成
するステータス生成機能と、 上記キャンセルステータス情報が生成されたとき、上記
記憶領域に記憶される上記印刷ジョブデータの終了箇所
までの印刷を中止させる印刷中止機能とをコンピュータ
に実現させることを特徴とする印刷制御プログラム。
11. A job receiving function for receiving print job data forming a print job from a connected host computer and storing the print job data in a predetermined storage area, and interpreting a command in the print job data stored in the storage area. Then, the print data generation function that acquires the print data and generates the same print data for causing the printing unit that executes the print on the print medium to perform the print, and the input of the cancel request of the print job data can be accepted. When the input of the cancellation request is accepted, the status generation function that generates the cancellation status information that means that the processing status of the print job data is the cancellation status, and the cancellation status information is generated, Stop printing until the end of the print job data stored in the storage area A print control program for causing a computer to realize a print cancel function.
【請求項12】 接続されたホストコンピュータから印
刷ジョブを構成する印刷ジョブデータを受信して所定の
記憶領域に記憶させるジョブ受信機能と、 上記記憶領域に記憶される印刷ジョブデータ内のコマン
ドを解釈して、印刷データを取得して印刷媒体への印刷
を実行する印刷手段に印刷を実行させるための同印刷デ
ータを生成する印刷データ生成機能と、 上記印刷ジョブデータのキャンセル要求の入力を受け付
け可能であり、同キャンセル要求の入力を受け付けたと
き、上記印刷ジョブデータの処理状態がキャンセル状態
であることを意味するキャンセルステータス情報を生成
するステータス生成機能と、 上記キャンセルステータス情報が生成されたとき、上記
記憶領域に記憶される上記印刷ジョブデータの終了箇所
までの印刷を中止させる印刷中止機能とをコンピュータ
に実現させることを特徴とする印刷制御プログラムを記
録した媒体。
12. A job receiving function for receiving print job data forming a print job from a connected host computer and storing the print job data in a predetermined storage area, and interpreting a command in the print job data stored in the storage area. Then, the print data generation function that acquires the print data and generates the same print data for causing the printing unit that executes the print on the print medium to perform the print, and the input of the cancel request of the print job data can be accepted. When the input of the cancellation request is accepted, the status generation function that generates the cancellation status information that means that the processing status of the print job data is the cancellation status, and the cancellation status information is generated, Stop printing until the end of the print job data stored in the storage area A medium having a print control program recorded thereon, which allows a computer to realize a print cancel function.
JP2002074700A 2002-03-18 2002-03-18 Printer, print control method, print control program, and medium recording print control program Withdrawn JP2003266813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002074700A JP2003266813A (en) 2002-03-18 2002-03-18 Printer, print control method, print control program, and medium recording print control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002074700A JP2003266813A (en) 2002-03-18 2002-03-18 Printer, print control method, print control program, and medium recording print control program

Publications (1)

Publication Number Publication Date
JP2003266813A true JP2003266813A (en) 2003-09-25

Family

ID=29204027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002074700A Withdrawn JP2003266813A (en) 2002-03-18 2002-03-18 Printer, print control method, print control program, and medium recording print control program

Country Status (1)

Country Link
JP (1) JP2003266813A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006181968A (en) * 2004-12-28 2006-07-13 Kyocera Mita Corp Image-forming apparatus, and method and program of controlling its printing
US9606756B2 (en) 2015-01-19 2017-03-28 Seiko Instruments Inc. Printing apparatus and control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006181968A (en) * 2004-12-28 2006-07-13 Kyocera Mita Corp Image-forming apparatus, and method and program of controlling its printing
US9606756B2 (en) 2015-01-19 2017-03-28 Seiko Instruments Inc. Printing apparatus and control method

Similar Documents

Publication Publication Date Title
US7167253B2 (en) Information processing apparatus, information processing method, information processing system, and storage medium for storing information processing program
EP0982651B1 (en) Information processing apparatus, information processing method and storage medium for storing information processing program
US7283266B2 (en) Information processing apparatus and print control apparatus, data processing method, storage medium and program
US8159703B2 (en) Information processing apparatus, and control method therefor, as well as program
US7518747B2 (en) Informing a user of the status of a job that corresponds to obtained job identification information
US6829059B1 (en) Print system, information processing apparatus, print job registering method, and storage medium
US7647432B2 (en) Setting attributes of jobs and documents in a layered structure
JP2013006331A (en) Printing apparatus, control method therefor, and program
US6535932B1 (en) Data processing apparatus and method in which a logical device control program analyzes an inputted job, and storage medium storing a program therefor
JP2023168372A (en) application program
JP2000112687A (en) Host device and printer
JP2007048303A (en) Printer, printing system and program
JP4095294B2 (en) Information processing apparatus, information processing method, and program
JP2003266813A (en) Printer, print control method, print control program, and medium recording print control program
JP3941536B2 (en) Network printing system, print server, printer, client device, and program
JP2003241923A (en) Peripheral equipment, information processor, job processing method, storage medium and program
JP2003271357A (en) Printer, print control method, print control program and medium recorded with print control program
US20230350613A1 (en) Computer-readable storage medium, information processing device, and method for printing composite image
JP2008059371A (en) Printing controller and its method
JP4761453B2 (en) Printing apparatus and printing control method
JP2006065802A (en) Information processor, information processing method and system
JP3037537B2 (en) Printing system and printing device used in the printing system
JP4428158B2 (en) Printing system
JP4378038B2 (en) Information processing apparatus, peripheral device, and data processing method
JP2007066083A (en) Composite processing system, composite processing management method and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070919

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20071106