JP2001022546A - Printer, print system and processing monitoring method for printer - Google Patents

Printer, print system and processing monitoring method for printer

Info

Publication number
JP2001022546A
JP2001022546A JP11193647A JP19364799A JP2001022546A JP 2001022546 A JP2001022546 A JP 2001022546A JP 11193647 A JP11193647 A JP 11193647A JP 19364799 A JP19364799 A JP 19364799A JP 2001022546 A JP2001022546 A JP 2001022546A
Authority
JP
Japan
Prior art keywords
job
print
information
printer
predetermined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11193647A
Other languages
Japanese (ja)
Other versions
JP3775555B2 (en
Inventor
Toshihiro Shima
敏博 島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP19364799A priority Critical patent/JP3775555B2/en
Publication of JP2001022546A publication Critical patent/JP2001022546A/en
Application granted granted Critical
Publication of JP3775555B2 publication Critical patent/JP3775555B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To manage the situation of printing processing for print job data and to monitor the situation of the printing processing from a host computer. SOLUTION: This printer 2 performs prescribed printing processing of print job data sent from a host computer 1 and having prescribed identification information. When the printer 2 receives an acquisition request for job information sent from the computer 1, the printer 2 answers the job information on the print job data corresponding to the prescribed identification information designated by the acquisition request to the computer 1.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタの技術に
関し、特に、プリンタに投入されたプリントジョブデー
タの印刷処理状況をユーザに提示するための技術に関す
る。
[0001] 1. Field of the Invention [0002] The present invention relates to a printer technology, and more particularly to a technology for presenting a user with a print processing status of print job data input to a printer.

【従来技術】近年、ネットワーク技術の発達に伴い、プ
リンタは、LANなどのネットワークに接続され、複数
のホストコンピュータによって共用されるようになっ
た。
2. Description of the Related Art In recent years, with the development of network technology, a printer has been connected to a network such as a LAN and shared by a plurality of host computers.

【0002】このようなネットワーク対応型のプリンタ
は、ホストコンピュータとの間で所定の通信プロトコル
に従った通信を行うことで、プリントジョブデータを受
信し、これを内部のバッファ装置(プリントスプーラ)
に記憶する。プリンタは、このバッファ装置に記憶した
プリントジョブデータを読み出し、解釈してイメージデ
ータを生成し、これをイメージメモリに展開する。そし
て、プリンタは、イメージメモリ上に展開されたイメー
ジデータを印刷実行部分である印刷エンジンに供給す
る。これにより、プリンタは、印刷記録媒体(用紙)に
対する印刷を実現する。
Such a network-compatible printer receives print job data by communicating with a host computer in accordance with a predetermined communication protocol, and transfers the print job data to an internal buffer device (print spooler).
To memorize. The printer reads out and interprets the print job data stored in the buffer device, generates image data, and develops the image data in the image memory. Then, the printer supplies the image data developed on the image memory to a print engine which is a print execution part. Thus, the printer realizes printing on a print recording medium (paper).

【発明が解決しようとする課題】ネットワーク対応型の
プリンタは、複数のホストコンピュータからプリントジ
ョブデータをそれぞれ受信した場合には、それらをバッ
ファ装置に順に記憶した後、印刷処理を行っている。
When a printer compatible with a network receives print job data from a plurality of host computers, the printer sequentially stores the print job data in a buffer device and then performs a printing process.

【0003】この場合、ユーザは、現在プリントアウト
されている印刷記録媒体がどのホストコンピュータから
のプリントジョブデータであるかを、ホストコンピュー
タ上で確認することはできなかった。また、ユーザは、
印刷に際して自身が投入したプリントジョブデータが、
現在、どの段階の印刷処理を経ているのかを確認するこ
とができなかった。
In this case, the user cannot confirm on the host computer from which host computer the print recording medium currently printed out is the print job data. Also, the user
The print job data entered by the user when printing is
At this time, it has not been possible to confirm at what stage the printing process has been performed.

【0004】そこで、本発明は、ホストコンピュータか
ら送信されるプリントジョブデータに対する印刷処理の
状況を管理するプリンタを提供することを目的とする。
Accordingly, an object of the present invention is to provide a printer that manages the status of print processing for print job data transmitted from a host computer.

【0005】また、本発明は、このようなプリントジョ
ブデータに対する印刷処理の状況を管理するプリンタに
おいて、ホストコンピュータから送信される、特定のプ
リントジョブデータに対する印刷処理の状況に関する問
い合わせに対して応答し、ユーザにその印刷処理の状況
を提示することのできるプリンタを提供することを目的
とする。
Further, the present invention responds to an inquiry about the status of print processing for specific print job data transmitted from a host computer in a printer for managing the status of print processing for such print job data. It is another object of the present invention to provide a printer capable of presenting the status of the printing process to a user.

【課題を解決するための手段】上記課題を解決するため
に、本発明は以下のように特定される。
Means for Solving the Problems In order to solve the above problems, the present invention is specified as follows.

【0006】すなわち、本発明は、ホストコンピュータ
から送られる、所定の識別情報を有するプリントジョブ
データに対して所定の印刷処理を行うプリンタであっ
て、前記ホストコンピュータから送られるジョブ情報の
取得要求を受け取った場合に、前記取得要求によって指
定される所定の識別情報に対応するプリントジョブデー
タのジョブ情報を、前記ホストコンピュータに返答する
ことを特徴とするプリンタである。
That is, the present invention relates to a printer for performing a predetermined print process on print job data having predetermined identification information transmitted from a host computer, wherein a request for acquiring job information transmitted from the host computer is provided. A printer which, when received, returns job information of print job data corresponding to predetermined identification information specified by the acquisition request to the host computer.

【0007】より具体的には、本発明は、第1の識別情
報を有するプリントジョブデータを受信するために、ホ
ストコンピュータとの間で通信を行う第1の通信手段
と、前記第1の通信手段によって受信されるプリントジ
ョブデータに基づいて所定の印刷処理を行い、前記所定
の印刷処理に基づく所定のジョブ情報を出力する印刷処
理手段と、前記印刷処理手段によって出力されるジョブ
情報を、前記プリントジョブデータごとに記憶するジョ
ブ情報記憶手段と、前記ホストコンピュータとの間で前
記ジョブ情報に関する通信を行う第2の通信手段と、前
記第2の通信手段によって受信される所定の取得要求に
基づいて、前記ジョブ情報記憶手段から所定のジョブ情
報を読み出して、前記第2の通信手段に出力する印刷管
理手段とを備えたことを特徴とするプリンタである。
[0007] More specifically, the present invention provides a first communication means for communicating with a host computer to receive print job data having first identification information, and the first communication means. Means for performing predetermined print processing based on the print job data received by the means, and outputting predetermined job information based on the predetermined print processing; and A job information storage unit for storing print job data, a second communication unit for communicating with the job information with the host computer, and a predetermined acquisition request received by the second communication unit. Print management means for reading predetermined job information from the job information storage means and outputting the read job information to the second communication means. A printer according to claim.

【0008】ここで、前記印刷処理手段は、前記第1の
通信手段からプリントジョブデータを受け取った場合
に、前記プリントジョブデータに第2の識別情報を割り
当て、前記ジョブ情報記憶手段は、前記第2の識別情報
に対応する所定の領域に前記プリントジョブデータのジ
ョブ情報を記憶する。これにより、プリンタは、第2の
識別情報に従ってプリントジョブデータを管理すること
ができる。
[0008] Here, when the print processing means receives print job data from the first communication means, the print processing means assigns second identification information to the print job data. The job information of the print job data is stored in a predetermined area corresponding to the second identification information. Thus, the printer can manage the print job data according to the second identification information.

【0009】また、前記印刷管理手段は、前記所定の取
得要求が前記第2の識別情報の取得要求である場合に、
前記第1の識別情報と前記第2の識別情報とを関連付け
て、前記第2の通信手段に出力することが好ましい。こ
れにより、ホストコンピュータは、自身内の第1の識別
情報に対応するプリンタ内の第2の識別情報を取得する
ことができる。
[0009] The print management means may be arranged so that, when the predetermined acquisition request is an acquisition request for the second identification information,
It is preferable that the first identification information and the second identification information are associated with each other and output to the second communication unit. Thereby, the host computer can acquire the second identification information in the printer corresponding to the first identification information in itself.

【0010】さらに、前記印刷管理手段は、前記第2の
識別情報に従って前記ジョブ情報記憶手段から前記ジョ
ブ情報を読み出すことが好ましい。
Further, it is preferable that the print management unit reads the job information from the job information storage unit according to the second identification information.

【0011】また、前記印刷処理手段は、前記プリント
ジョブデータに対する印刷処理の進捗の度合いを示す情
報をジョブ情報として出力することが好ましい。さらに
また、前記印刷処理手段は、前記プリントジョブデータ
に対する印刷処理に要する消費に関する情報をジョブ情
報として出力することが好ましい。なお、印刷処理に要
する消費に関する情報は、例えば、トナーの消費量、用
紙の消費量などが上げられる。
Preferably, the print processing means outputs, as job information, information indicating a degree of progress of a print process for the print job data. Furthermore, it is preferable that the print processing unit outputs information on consumption required for print processing on the print job data as job information. The information regarding the consumption required for the printing process includes, for example, the consumption amount of the toner and the consumption amount of the paper.

【0012】また、本発明は、アプリケーションプログ
ラムから送られるアプリケーションデータに基づいてプ
リントジョブデータを生成する生成手段と、前記生成手
段によって生成されるプリントジョブデータに対して第
1の識別情報を割り当てる割当手段と、前記生成手段に
よって生成されたプリントジョブデータを、前記割当手
段によって割り当てられた第1の識別情報とともにプリ
ンタに送る送信手段と、前記割当手段により割り当てら
れた第1の識別情報に基づいて、前記プリンタから前記
プリントジョブデータのジョブ情報を取得する取得手段
と、前記取得手段により取得されたジョブ情報をユーザ
に提示するユーザインターフェース手段と、を備えたこ
とを特徴とするホストコンピュータである。
According to the present invention, there is provided a generating means for generating print job data based on application data sent from an application program, and an assignment for allocating first identification information to the print job data generated by the generating means. Means, sending means for sending the print job data generated by the generating means to the printer together with the first identification information allocated by the allocating means, based on the first identification information allocated by the allocating means. A host computer comprising: an obtaining unit that obtains job information of the print job data from the printer; and a user interface unit that presents the job information obtained by the obtaining unit to a user.

【0013】さらに、本発明は、ホストコンピュータに
所定の機能を実現させるプログラムとしても成立する。
具体的には、本発明は、ホストコンピュータに所定の機
能を実現する制御プログラムを記録した記録媒体であっ
て、前記制御プログラムは、アプリケーションプログラ
ムから送られるアプリケーションデータに基づいてプリ
ントジョブデータを生成する生成手段と、前記生成手段
によって生成されるプリントジョブデータに対してジョ
ブ識別情報を割り当て、前記プリントジョブデータとと
もにジョブ識別情報をプリンタに対して出力する割当手
段と、前記割当手段により割り当てられたジョブ識別情
報に基づいて、前記プリンタから前記プリントジョブデ
ータのジョブ情報を取得する取得手段と、を備えたこと
を特徴とする制御プログラムを記録した記録媒体であっ
てもよい。これらの手段は、1つのプリンタドライバと
して構成され、または、複数のモジュールとして構成さ
れる。
Further, the present invention is also realized as a program for causing a host computer to realize a predetermined function.
Specifically, the present invention is a recording medium recording a control program for realizing a predetermined function in a host computer, wherein the control program generates print job data based on application data sent from an application program. Generating means, allocating job identification information to print job data generated by the generating means, outputting the job identification information together with the print job data to a printer, and a job allocated by the allocating means. A recording medium storing a control program, characterized by comprising: an acquiring unit that acquires job information of the print job data from the printer based on the identification information. These means are configured as one printer driver or as a plurality of modules.

【0014】また、本発明は、ホストコンピュータとプ
リンタとを備えたプリントシステムであって、前記ホス
トコンピュータは、アプリケーションプログラムから送
られるアプリケーションデータに基づいてプリントジョ
ブデータを生成する生成手段と、前記生成手段によって
生成されるプリントジョブデータに対して第1の識別情
報を割り当てる割当手段と、前記生成手段によって生成
されたプリントジョブデータを、前記割当手段によって
割り当てられた第1の識別情報とともに前記プリンタに
送る送信手段と、前記割当手段により割り当てられた第
1の識別情報に基づいて、前記プリンタから前記プリン
トジョブデータのジョブ情報を取得する取得手段と、前
記取得手段により取得されたジョブ情報をユーザに提示
するユーザインターフェース手段と、を備え、前記プリ
ンタは、前記ホストコンピュータから送られるプリント
ジョブデータに基づいて所定の印刷処理を行い、前記所
定の印刷処理に基づく所定のジョブ情報を出力する印刷
処理手段と、前記印刷処理手段によって出力されるジョ
ブ情報を、前記プリントジョブデータごとに記憶するジ
ョブ情報記憶手段と、前記ホストコンピュータから送ら
れる所定の取得要求に基づいて、前記ジョブ情報記憶手
段から所定のジョブ情報を読み出して、前記ホストコン
ピュータに対して出力する印刷管理手段とを備えたこと
を特徴とするプリントシステム。
Further, the present invention is a print system comprising a host computer and a printer, wherein the host computer generates print job data based on application data sent from an application program, Allocating means for allocating first identification information to print job data generated by the means; and allocating the print job data generated by the generating means to the printer together with the first identification information allocated by the allocating means. Sending means for sending, acquiring means for acquiring job information of the print job data from the printer based on the first identification information assigned by the assigning means, and sending the job information acquired by the acquiring means to a user. User interface to be presented Print processing means for performing predetermined print processing based on print job data sent from the host computer, and outputting predetermined job information based on the predetermined print processing; and Job information storage means for storing job information output by print processing means for each print job data; and predetermined job information from the job information storage means based on a predetermined acquisition request sent from the host computer. A print management means for reading and outputting the read data to the host computer.

【0015】また、本発明は方法の発明としても成立す
る。具体的には、本発明は、ホストコンピュータから第
1の通信プロトコルに従って第1の識別情報を有するプ
リントジョブデータを受け取り、前記受信したプリント
ジョブデータに基づいて所定の印刷処理を行うととも
に、前記所定の印刷処理に基づく所定のジョブ情報を出
力し、前記出力したジョブ情報を、前記プリントジョブ
データごとに記憶しておき、前記ホストコンピュータか
ら第2の通信プロトコルに従って所定の取得要求を受け
取り、前記所定の取得要求に基づいて前記ジョブ情報記
憶手段から所定のジョブ情報を読み出し、前記読み出し
た所定のジョブ情報を前記ホストコンピュータに送るこ
とを特徴とするプリンタの制御方法である。
The present invention is also realized as a method invention. More specifically, the present invention receives print job data having first identification information from a host computer according to a first communication protocol, performs predetermined print processing based on the received print job data, and Outputting predetermined job information based on the print processing, storing the output job information for each of the print job data, receiving a predetermined acquisition request from the host computer according to a second communication protocol, and A predetermined job information is read out from the job information storage unit based on the acquisition request, and the read predetermined job information is sent to the host computer.

【0016】なお、前記記録媒体とは、例えば、ハード
ディスク(HD)、DVD−RAM、フレキシブルディ
スク(FD)やCD−ROM等のほかに、RAMやRO
M等のメモリを含む。また、前記ホストコンピュータと
は、例えば、CPUやMPUといったいわゆる中央処理
装置がプログラムを解釈することで所定の処理を行う、
いわゆるマイクロコンピュータや制御装置等をも含む。
The recording medium includes, for example, a hard disk (HD), a DVD-RAM, a flexible disk (FD), a CD-ROM, and the like, as well as a RAM and an RO.
M and other memories. In addition, the host computer, for example, a so-called central processing unit such as a CPU or an MPU performs a predetermined process by interpreting a program.
It also includes so-called microcomputers and control devices.

【発明の実施の形態】次に、本発明の実施の形態につい
て、図面を参照しつつ説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0017】図1は、本実施形態に係るプリントシステ
ムの全体構成を示すブロックダイアグラムである。同図
に示すように、本実施形態に係るプリントシステムは、
ネットワークNを介して相互に接続されたホストコンピ
ュータ1とプリンタ2とによって構成される。なお、同
図では、それぞれ代表する1台のみを示している。
FIG. 1 is a block diagram showing the overall configuration of a print system according to this embodiment. As shown in the figure, the print system according to the present embodiment
It is composed of a host computer 1 and a printer 2 interconnected via a network N. In the figure, only one representative device is shown.

【0018】ホストコンピュータ1は、アプリケーショ
ンプログラムの実行体(以下「アプリケーション」とい
う。)11と、アプリケーション11との間でユーザが
対話的に操作を行うためのユーザインターフェース部
(以下「ユーザI/F部」という。)12と、アプリケ
ーション11が扱うデータをプリントジョブデータに変
換するプリンタドライバの実行体(以下「プリンタドラ
イバ」という。)13と、ネットワーク通信を行うため
の通信インターフェース部(以下「通信I/F部」とい
う。)14a、プリンタ2に投入したプリントジョブデ
ータの印刷状況をプリンタ2から取得する監視プログラ
ム15とを備える。
The host computer 1 has a user interface unit (hereinafter referred to as a “user I / F”) through which a user interactively operates between an application program execution unit (hereinafter referred to as “application”) 11 and the application 11. Unit) 12, an execution unit of a printer driver (hereinafter, referred to as “printer driver”) 13 for converting data handled by the application 11 into print job data, and a communication interface unit (hereinafter, “communication”) for performing network communication. An I / F unit) 14a, and a monitoring program 15 for acquiring from the printer 2 the printing status of the print job data input to the printer 2.

【0019】一方、プリンタ2は、ネットワーク通信を
行うための通信I/F部14bと、ネットワークNを介
してホストコンピュータ1から送られるプリントジョブ
データに従って印刷処理を行う印刷処理部16と、印刷
処理部16から出力される印刷処理の状況を記憶し、ホ
ストコンピュータ1の監視プログラム15からの印刷処
理の状況に関する問い合わせに応答して、その状況をホ
ストコンピュータ1に返答するための印刷管理部17と
を備える。
On the other hand, the printer 2 includes a communication I / F section 14b for performing network communication, a print processing section 16 for performing print processing according to print job data sent from the host computer 1 via the network N, and a print processing section. A print management unit 17 for storing the status of the printing process output from the unit 16 and responding to the inquiry about the status of the printing process from the monitoring program 15 of the host computer 1 and returning the status to the host computer 1; Is provided.

【0020】アプリケーション11は、典型的には、テ
キストデータやイメージデータを作成・編集することの
できるワードプロセッサなどであり、図示しないCPU
が、オペレーティングシステムの制御の下、アプリケー
ションプログラムを実行することにより、他のハードウ
ェアと共働してその機能を実現する。ユーザI/F部1
2は、典型的には、ディスプレイ、キーボード、マウス
などのハードウェア並びにこれらのハードウェアを制御
する制御プログラム(デバイスドライバと呼ばれること
もある。)およびオペレーティングシステムなどから構
成され、ユーザとの間の対話的な操作を実現する。プリ
ンタドライバ13は、アプリケーション11上のデータ
を、特定のプリンタ1が解釈するためのプリントジョブ
データに変換する。監視プログラム15は、プリンタ2
に投入したプリントジョブデータに対する印刷処理の状
況を監視(モニタリング)するための機能を有し、典型
的にはいわゆるデーモンプログラムとして動作する。通
信I/F部14は、LANドライバおよび各種ハードウ
ェアによって実現され、所定の通信プロトコルに従っ
て、ネットワーク通信を行う。本実施形態における通信
I/F部14は、ホストコンピュータ1がプリントジョ
ブデータをプリンタ2に送り込む(投入する)ための第
1の通信プロトコルと、ホストコンピュータ1がプリン
タ2内のプリントジョブデータに対する印刷処理の状況
を監視するための第2の通信プロトコルとを備えること
が好ましい。より具体的には、通信I/F部14は、例
えば、TCP/IPベース上では、プリントジョブデー
タの送信(投入)にlprを用い、プリントジョブデー
タの監視のための通信にSNMP(Simple Network Man
agement Protocol)を用いることができる。なお、SN
MPは、RFC(RequestFor Comments)1157に記
述されている。
The application 11 is typically a word processor or the like capable of creating and editing text data and image data.
However, by executing an application program under the control of the operating system, the function is realized in cooperation with other hardware. User I / F unit 1
2 typically includes hardware such as a display, a keyboard, a mouse, and the like, a control program (sometimes called a device driver) for controlling these hardware, an operating system, and the like. Realize interactive operation. The printer driver 13 converts data on the application 11 into print job data to be interpreted by the specific printer 1. The monitoring program 15 includes the printer 2
Has a function of monitoring the status of print processing for the print job data input to the printer, and typically operates as a so-called daemon program. The communication I / F unit 14 is realized by a LAN driver and various hardware, and performs network communication according to a predetermined communication protocol. The communication I / F unit 14 according to the present embodiment includes a first communication protocol for the host computer 1 to send (submit) print job data to the printer 2, and printing by the host computer 1 for print job data in the printer 2. A second communication protocol for monitoring the status of the processing. More specifically, for example, on the TCP / IP base, the communication I / F unit 14 uses lpr for transmission (input) of print job data, and uses SNMP (Simple Network) for communication for monitoring print job data. Man
agement Protocol) can be used. In addition, SN
MP is described in RFC (Request For Comments) 1157.

【0021】印刷処理部16は、ホストコンピュータ1
から送られるプリントジョブデータを解釈してイメージ
データを生成し、これをプリントエンジンに供給するこ
とにより、印刷を実現する。印刷管理部17は、印刷処
理部16の実行により得られる印刷処理の状況に関する
情報(以下「ジョブ情報」という。)を管理するととも
に、ホストコンピュータ1からの問い合わせに応答し
て、このジョブ情報をホストコンピュータ1に返答す
る。この印刷管理部17の詳細については、後述する。
The print processing unit 16 includes the host computer 1
By interpreting the print job data sent from the printer and generating image data, and supplying this to the print engine, printing is realized. The print management unit 17 manages information (hereinafter, referred to as “job information”) on the status of the print processing obtained by the execution of the print processing unit 16, and in response to an inquiry from the host computer 1, Reply to host computer 1. Details of the print management unit 17 will be described later.

【0022】図2は、本実施形態に係るホストコンピュ
ータ1の構成を示すブロックダイアグラムである。同図
は、図1に示したプリンタドライバ13、通信I/F部
14aおよび監視プログラム15をより詳細に示したも
のである。同図において、ジョブ生成部131は、印刷
しようとするデータをアプリケーション11から受け取
ると、プリンタ2が解釈可能なプリントジョブデータを
生成する。ジョブ生成部132は、生成したプリントジ
ョブデータをジョブID生成部132に送る。ジョブI
D割当部132は、送られてきたプリントジョブデータ
に対するジョブIDを発行し、割り当てる。ジョブID
は、各ホストコンピュータ1内でユニークに識別される
情報であり、例えば、英数字の組み合わせで表現され
る。ジョブID割当部132は、ジョブIDを割り当て
たプリントジョブデータを通信I/F部14のジョブ投
入I/F部141aに送るとともに、割り当てたジョブ
IDをジョブ監視マネージャ151に通知する。ジョブ
監視マネージャ151は、通知されたジョブIDをジョ
ブDB152に格納する。また、ジョブ監視マネージャ
151は、ジョブDB152に格納されているジョブI
Dに対応するプリントジョブデータのジョブ情報をプリ
ンタ2から取得して、これをユーザI/F部12に送
る。ジョブDB152は、図3に示すように、ジョブI
Dとインデックス番号とを対応付けて記憶する。ここ
で、インデックス番号は、プリンタ2自身がプリントジ
ョブデータをユニークに識別するための情報である。つ
まり、ジョブIDは各ホストコンピュータ内ではユニー
クであっても、プリンタ2には任意のホストコンピュー
タからプリントジョブデータが到着するため、プリンタ
2内ではユニークでない場合も想定される。従って、プ
リンタ2は、ホストコンピュータ1から受け取ったプリ
ントジョブデータに対して自身の中でユニークな識別情
報として、インデックス番号を割り当てている。このイ
ンデックス番号は、後述するように、ジョブ監視マネー
ジャ151によってプリンタ2から取得される。通信I
/F部14は、プリントジョブデータをプリンタ2に送
り込むための通信を行うジョブ投入I/F部141aお
よびジョブ情報に関する通信を行うジョブ情報I/F部
142aを備える。ジョブ投入I/F部141aは、ジ
ョブIDが割り当てられたプリントジョブデータをプリ
ンタ2に送り込むために、例えばlprなどによってプ
リンタ2のジョブ投入I/F部141bとの間で通信を
行うものである。一方、ジョブ監視I/F部142a
は、プリンタ2から特定のプリントジョブデータに関す
るジョブ情報を取得するために、好ましくは、SNMP
によってプリンタ2のジョブ監視I/F部142bとの
間で通信を行うものである。
FIG. 2 is a block diagram showing the configuration of the host computer 1 according to the present embodiment. FIG. 3 shows the printer driver 13, the communication I / F unit 14a, and the monitoring program 15 shown in FIG. 1 in more detail. In FIG. 3, when receiving data to be printed from the application 11, the job generating unit 131 generates print job data that can be interpreted by the printer 2. The job generation unit 132 sends the generated print job data to the job ID generation unit 132. Job I
The D assignment unit 132 issues and assigns a job ID for the sent print job data. Job ID
Is information uniquely identified in each host computer 1, and is represented by, for example, a combination of alphanumeric characters. The job ID assigning unit 132 sends the print job data to which the job ID has been assigned to the job input I / F unit 141a of the communication I / F unit 14 and notifies the job monitoring manager 151 of the assigned job ID. The job monitoring manager 151 stores the notified job ID in the job DB 152. Further, the job monitoring manager 151 checks the job I stored in the job DB 152
The job information of the print job data corresponding to D is acquired from the printer 2 and sent to the user I / F unit 12. The job DB 152 stores the job I as shown in FIG.
D and the index number are stored in association with each other. Here, the index number is information for the printer 2 itself to uniquely identify the print job data. In other words, even if the job ID is unique within each host computer, since print job data arrives at the printer 2 from any host computer, the job ID may not be unique within the printer 2. Therefore, the printer 2 assigns an index number to the print job data received from the host computer 1 as unique identification information in itself. The index number is acquired from the printer 2 by the job monitoring manager 151 as described later. Communication I
The / F unit 14 includes a job input I / F unit 141a that performs communication for sending print job data to the printer 2, and a job information I / F unit 142a that performs communication related to job information. The job input I / F unit 141a communicates with the job input I / F unit 141b of the printer 2 by, for example, lpr in order to send print job data to which the job ID is assigned to the printer 2. . On the other hand, the job monitoring I / F unit 142a
Is preferably SNMP to obtain job information on specific print job data from the printer 2.
Communicates with the job monitoring I / F unit 142b of the printer 2.

【0023】図4は、本実施形態に係るプリンタ2の構
成を示すブロックダイアグラムである。同図において、
ジョブ投入I/F部141bおよびジョブ監視I/F部
142bは、図2に示したホストコンピュータ1のジョ
ブ投入I/F部141aおよびジョブ監視I/F部14
2aに対応し、これらとの間で、ネットワーク通信を行
う。
FIG. 4 is a block diagram showing the configuration of the printer 2 according to this embodiment. In the figure,
The job input I / F unit 141b and the job monitoring I / F unit 142b are the job input I / F unit 141a and the job monitoring I / F unit 14 of the host computer 1 shown in FIG.
2a, and performs network communication with them.

【0024】印刷処理部16は、典型的には、ジョブバ
ッファ部161と、イメージ生成部162と、エンジン
制御部163と、プリントエンジン164とを備える。
ジョブバッファ部161は、ジョブ投入I/F部141
a,141bを介してホストコンピュータ1からプリン
トジョブデータを受け取ると、プリントジョブデータご
とに記憶する。ジョブバッファ部161は、プリントジ
ョブデータを記憶すると、このプリントジョブデータに
対するジョブ情報をジョブ情報記憶部162の所定の領
域に出力する。具体的には、ジョブバッファ部161
は、まず、プリンタ内で固有のインデックス番号を発行
する。インデックス番号は、例えば、0〜232−1ま
での整数値であり、1つずつカウントアップされる。こ
のインデックス番号は、プリンタ2の電源がOFFにな
っても現在値がリセットされないように、不揮発性RA
Mに保持される。次に、ジョブバッファ部161は、こ
のインデックス番号で管理されるジョブ情報記憶部16
2の所定の領域に、そのプリントジョブデータに割り当
てられているジョブIDおよびそのプリントジョブデー
タに対する印刷処理のステータス情報(以下「ジョブの
状態」という。)をジョブ情報として出力する。この場
合、ジョブの状態は、プリントジョブデータが印刷待機
中であることを示す値(例えば、“1”)が出力され
る。イメージ生成部162は、ジョブバッファ部161
に記憶されたプリントジョブデータを順次読み出してこ
れを解釈し、ラスタ形式のイメージデータに変換し、図
示しないイメージメモリに展開する。プリンタ2がカラ
ー対応である場合には、イメージ生成部162は、CM
YK各色のイメージデータを生成することになる。イメ
ージ生成部162は、イメージデータの生成処理を開始
した場合には、ジョブ情報記憶部162に記憶されたそ
のプリントジョブデータのジョブの状態を、印刷中であ
ることを示す値(例えば、“2”)に変更する。エンジ
ン制御部163は、イメージメモリに展開されたイメー
ジデータを読み出して、プリントエンジン164に送出
する。プリントエンジン164は、印刷記録媒体に印刷
を行うものである。プリントエンジン164は、例えば
レーザプリンタであれば、レーザ照射機構や感光体ドラ
ム、熱定着機構、用紙送り機構等により構成される。エ
ンジン制御部163は、プリントエンジン164に送出
する際に得られるジョブ情報をジョブ情報記憶部162
に出力する。エンジン制御部163が出力するジョブ情
報は、トナー(インク)の消費量や用紙サイズ、用紙の
消費枚数などである。また、カラー印刷の場合には、ト
ナーの消費量は、YMCK各色ごとにジョブ情報記憶部
162に出力される。エンジン制御部163は、また、
プリントエンジン153による印刷が正常に終了した場
合には、ジョブの状態として正常印刷終了であることを
示す値(例えば、“3”)を出力する。
The print processing unit 16 typically includes a job buffer unit 161, an image generation unit 162, an engine control unit 163, and a print engine 164.
The job buffer unit 161 includes a job input I / F unit 141.
When the print job data is received from the host computer 1 via the a and 141b, the print job data is stored for each print job data. After storing the print job data, the job buffer unit 161 outputs job information for the print job data to a predetermined area of the job information storage unit 162. Specifically, the job buffer unit 161
First issues a unique index number in the printer. The index number is, for example, an integer value from 0 to 232-1 and is counted up one by one. This index number is a non-volatile RA so that the current value is not reset when the power of the printer 2 is turned off.
M. Next, the job buffer unit 161 stores the job information storage unit 16 managed by the index number.
The job ID assigned to the print job data and the status information of the printing process for the print job data (hereinafter, referred to as “job status”) are output as job information to the predetermined area 2. In this case, a value (for example, “1”) indicating that the print job data is waiting for printing is output as the job status. The image generation unit 162 includes a job buffer unit 161
Are sequentially read, interpreted, converted into raster image data, and developed in an image memory (not shown). If the printer 2 supports color, the image generation unit 162
Image data of each color YK is generated. When the image data generation unit 162 starts the image data generation processing, the job status of the print job data stored in the job information storage unit 162 is changed to a value indicating that printing is in progress (for example, “2”). )). The engine control unit 163 reads out the image data expanded in the image memory and sends it to the print engine 164. The print engine 164 performs printing on a print recording medium. The print engine 164 includes, for example, a laser irradiation mechanism, a photosensitive drum, a heat fixing mechanism, a paper feeding mechanism, and the like in the case of a laser printer. The engine control unit 163 stores job information obtained when the job information is sent to the print engine 164, to the job information storage unit 162.
Output to The job information output by the engine control unit 163 includes the amount of toner (ink) consumed, the paper size, the number of consumed paper, and the like. In the case of color printing, the toner consumption is output to the job information storage unit 162 for each color of YMCK. The engine control unit 163 also
When the printing by the print engine 153 is completed normally, a value (for example, “3”) indicating that the printing is completed normally is output as the job status.

【0025】ジョブ監視エージェント171は、ジョブ
情報I/F部142bから送られるジョブ情報取得要求
に対して、ジョブ情報記憶部172の所定の記憶領域か
らジョブ情報を抽出し、これをジョブ情報I/F部14
2bに返答する。ジョブ情報記憶部172は、印刷処理
部16の各部から送られるジョブ情報をプリントジョブ
データごとに記憶する。
The job monitoring agent 171 extracts job information from a predetermined storage area of the job information storage unit 172 in response to a job information acquisition request sent from the job information I / F unit 142b, F part 14
Reply to 2b. The job information storage unit 172 stores job information sent from each unit of the print processing unit 16 for each print job data.

【0026】図5は、ジョブ情報記憶部172に記憶さ
れるジョブ情報の一例を示している。ジョブ情報は、
「インデックス番号」、「ジョブID」、「ジョブの状
態」、「印刷面数」、YMCKごとの「トナー消費量」
および「用紙サイズ/消費枚数」の要素から構成される
が、これに限る趣旨ではない。「インデックス番号」
は、上述したように、プリンタ自身の中でプリントジョ
ブデータを識別するためのものである。「ジョブID」
は、ホストコンピュータ1によって割り当てられたホス
トコンピュータ1自身の中でプリントジョブデータを識
別するためのものである。つまり、ホストコンピュータ
1ごとに固有のジョブIDが割り当てられた場合であっ
ても、複数のホストコンピュータ1に共用されるプリン
タ2ではジョブIDの衝突が生じる可能性があるため、
プリンタ2は、インデックス番号によってプリントジョ
ブデータを識別する。「ジョブの状態」は、投入された
プリントジョブデータに対する印刷処理の進捗の状況を
示すものである。進捗の状況は、例えば、印刷待機中、
印刷中、印刷終了または中断終了などがあり、それぞれ
数値で示されるものとする。「印刷面数」は、エラーな
く正常に印刷した面数(ページ数)である。「トナー消
費量」は、イメージデータに基づいて算出され、または
プリントエンジン機構に設けられたトナー残量センサに
よって示されるトナーの消費量である。「用紙サイズ/
消費枚数」は、用紙サイズごとの消費枚数、つまり、排
出される紙の枚数である。ジョブ情報記憶部172は、
プリントジョブデータごとに記憶領域を確保し、そこに
ジョブ情報を記憶する。なお、本実施形態においては、
ジョブ情報記憶部172は、16個の記憶領域を有し、
直近に投入された16個分のプリントジョブデータのジ
ョブ情報を記憶するものとする。
FIG. 5 shows an example of the job information stored in the job information storage section 172. Job information is
“Index number”, “Job ID”, “Job status”, “Number of printed pages”, “Toner consumption amount” for each YMCK
And “paper size / consumed sheet number”, but the present invention is not limited to this. "Index number"
Is for identifying the print job data in the printer itself as described above. "Job ID"
Is for identifying print job data in the host computer 1 itself assigned by the host computer 1. In other words, even when a unique job ID is assigned to each host computer 1, there is a possibility that a collision of job IDs may occur in the printer 2 shared by a plurality of host computers 1.
The printer 2 identifies the print job data based on the index number. The “job status” indicates the status of the progress of the printing process for the input print job data. The progress status is, for example, waiting for printing,
There are printing, printing end, interruption end, and the like, each of which is indicated by a numerical value. The “number of printed pages” is the number of pages (pages) printed normally without errors. “Toner consumption” is the amount of toner consumption calculated based on the image data or indicated by a toner remaining amount sensor provided in the print engine mechanism. "size of paper/
The “number of consumed sheets” is the number of consumed sheets for each sheet size, that is, the number of sheets to be discharged. The job information storage unit 172 stores
A storage area is reserved for each print job data, and job information is stored therein. In the present embodiment,
The job information storage unit 172 has 16 storage areas,
It is assumed that the job information of the 16 latest print job data input is stored.

【0027】図6は、印刷処理部16の各部がジョブ情
報記憶部172にジョブ情報をセットする様子を示して
いる。すなわち、ジョブバッファ部161は、プリント
ジョブデータを記憶した場合、「インデックス番号」、
「ジョブID」、「ジョブの状態」および「印刷面数」
をそれぞれセットする(同図(a))。次に、イメージ
生成部151がイメージデータを生成し始めた時点で、
イメージ生成部151は「ジョブの状態」を“2”にセ
ットする(同図(b))。そして、エンジン制御部16
3は、プリントジョブデータに基づく印刷中の間、ジョ
ブ情報記憶部172の内容を適宜更新する(同図
(c))。
FIG. 6 shows how each unit of the print processing unit 16 sets job information in the job information storage unit 172. That is, when the print job data is stored in the job buffer unit 161, the “index number”,
"Job ID", "Job status", and "Number of printed pages"
Are set respectively (FIG. 6A). Next, when the image generation unit 151 starts generating image data,
The image generating unit 151 sets “job status” to “2” (FIG. 13B). Then, the engine control unit 16
3 appropriately updates the contents of the job information storage unit 172 during printing based on the print job data (FIG. 3C).

【0028】本実施形態に係るプリントシステムは、ホ
ストコンピュータ1がプリンタ2のジョブ情報を監視で
きるようにするために、SNMPを用いるものとする。
つまり、ホストコンピュータ1上に構成されるSNMP
マネージャは、ジョブ監視マネージャ151、ジョブD
B152およびジョブ監視I/F部142aによって実
現される。一方、プリンタ2上に構成されるSNMPエ
ージェントは、ジョブ監視エージェント171、ジョブ
情報記憶部172およびジョブ監視I/F部142bに
よって実現される。SNMPでは、管理情報が記述され
るデータベースの構造は、MIB(Management Informa
tion Base)によって規定される。つまり、本実施形態
におけるジョブ情報の各要素は、MIBにおける各オブ
ジェクトに対応する。図7は、本実施形態において定義
されたMIB構造の一部を示している。なお、同図にお
いて、MIB構造の上位空間は、省略されているものと
する。図6に示したジョブ情報の各要素は、オブジェク
トIDによって特定される。SNMPマネージャは、取
得しようとするジョブ情報のオブジェクトIDを指定
し、SNMPエージェントに所定の取得要求を送ること
によって、SNMPエージェントから所望のジョブ情報
を取得することができる。
The print system according to the present embodiment uses SNMP so that the host computer 1 can monitor the job information of the printer 2.
That is, the SNMP configured on the host computer 1
Managers are the job monitoring manager 151 and job D
B152 and the job monitoring I / F unit 142a. On the other hand, the SNMP agent configured on the printer 2 is realized by the job monitoring agent 171, the job information storage unit 172, and the job monitoring I / F unit 142b. In SNMP, the structure of a database in which management information is described is a MIB (Management Information
Action Base). That is, each element of the job information in the present embodiment corresponds to each object in the MIB. FIG. 7 shows a part of the MIB structure defined in the present embodiment. It is assumed that the upper space of the MIB structure is omitted in FIG. Each element of the job information shown in FIG. 6 is specified by an object ID. The SNMP manager can acquire desired job information from the SNMP agent by designating the object ID of the job information to be acquired and sending a predetermined acquisition request to the SNMP agent.

【0029】例えば、SNMPマネージャがSNMPエ
ージェントから所定のジョブID“dfA204”に対
するインデックス番号を取得する場合には、SetRequest
コマンドにより、オブジェクトID“1.3.6.1.
0”に“dfA204”をセットする。次に、SNMP
マネージャは、GetRequestコマンドにより、オブジェク
トID“1.3.6.2.0”を送ると、SNMPエー
ジェントからGetResponceコマンドにより、“dfA2
04=5”が返答される。これにより、SNMPマネー
ジャはインデックス番号を取得することができる。な
お、SNMPマネージャは、自身が送ったジョブIDと
SNMPエージェントから取得したジョブIDとを比較
して、これらが一致していないと判断する場合には、一
致するまで上記処理を繰り返す。
For example, when the SNMP manager obtains the index number for a predetermined job ID “dfA204” from the SNMP agent, the SetRequest
By the command, the object ID “1.3.6.1.
0 ”is set to“ dfA204. ”Next, SNMP
When the manager sends the object ID “1.3.6.2.0” by the GetRequest command, the manager sends “dfA2” by the GetResponce command from the SNMP agent.
04 = 5 ". The SNMP manager can obtain the index number. The SNMP manager compares the job ID sent by itself with the job ID obtained from the SNMP agent, and If it is determined that they do not match, the above processing is repeated until they match.

【0030】SNMPマネージャは、インデックス番号
を取得した場合には、このインデックス番号を用いてオ
ブジェクトIDを指定し、GetRequestコマンドにより、
ジョブ情報を収集する。例えば、SNMPマネージャ
は、GetRequestコマンドにより、オブジェクトID
“1.3.6.4.5”を送ると、SNMPエージェン
トからGetResponceコマンドにより、ジョブの状態とし
て“2”を取得する。また、SNMPマネージャは、Ge
tRequestコマンドにより、オブジェクトID“1.3.
6.3.5”を送ると、SNMPエージェントからGetR
esponceコマンドにより、正常に印刷された面数として
“8”を取得する。以後、SNMPマネージャは、必要
なだけ上記処理を繰り返し、ジョブ情報を収集する。
When the SNMP manager obtains the index number, the SNMP manager specifies the object ID using the index number, and executes the GetRequest command to specify the object ID.
Collect job information. For example, the SNMP manager issues an object ID by a GetRequest command.
When “1.3.6.5.5” is sent, “2” is acquired as the job status by the GetResponce command from the SNMP agent. The SNMP manager is Ge
The object ID “1.3.
Send 6.3.5 "and getR from SNMP agent
By the esponce command, “8” is acquired as the number of normally printed pages. Thereafter, the SNMP manager repeats the above processing as necessary and collects job information.

【0031】図8は、ホストコンピュータ1によるプリ
ントジョブデータの投入処理を説明するためのフローチ
ャートである。まず、ジョブ生成部131は、アプリケ
ーション11からデータが引き渡されると、これをプリ
ントジョブデータに変換する(STEP801)。次
に、ジョブID割当部132は、ジョブIDを発行し、
これをプリントジョブデータとともに通信I/F部14
に送り(STEP802)、また、ジョブ監視エージェ
ント133に通知する。そして、ジョブ監視エージェン
ト133は、ジョブIDをジョブDB152に登録する
(STEP803)。
FIG. 8 is a flowchart for explaining the print job data input processing by the host computer 1. First, when data is delivered from the application 11, the job generating unit 131 converts the data into print job data (STEP 801). Next, the job ID assignment unit 132 issues a job ID,
This is sent to the communication I / F unit 14 together with the print job data.
(STEP 802), and notifies the job monitoring agent 133. Then, the job monitoring agent 133 registers the job ID in the job DB 152 (STEP 803).

【0032】図9は、ホストコンピュータ1によるジョ
ブ情報の取得処理を説明するためのフローチャートであ
る。ジョブ監視マネージャ151は、所定のジョブID
によって指定されるジョブ情報の取得指示をユーザI/
F部12から受け取ると、まず、ジョブDB152を参
照し(STEP901)、そのジョブIDに対応するイ
ンデックス番号がすでにプリンタ2から取得されている
か否かをチェックする(STEP902)。ジョブ監視
マネージャ151は、インデックス番号をまだ取得して
いないと判断する場合には、プリンタ2に対してジョブ
IDのセットを行い(STEP903)、プリンタ2か
ら“ジョブID=インデックス番号”の形式で返答を受
け取る(STEP904)。ジョブ監視マネージャ15
1は、プリンタ2に対してセットしたジョブIDとプリ
ンタ2から取得したジョブIDとを比較し(STEP9
05)、これらが一致していないと判断する場合には、
STEP903に移行する。ジョブ監視マネージャ15
1は、2つのジョブIDが一致していると判断する場合
には、取得したインデックス番号をジョブID134に
登録する(STEP906)。ジョブ監視マネージャ1
51は、インデックス番号を取得した後は、このインデ
ックス番号を用いて、プリンタ2に対してジョブ情報の
収集を行う(STEP907)。ジョブ情報の収集は、
ジョブ情報の要素すべてであってよいし、ユーザに指定
された要素のみでもよい。ただし、印刷処理の進捗の状
況によってはすべて取得できない場合もある。ジョブ監
視マネージャ151は、プリンタ2からジョブ情報を取
得すると、これをユーザI/F部12に送る(STEP
908)。これにより、ジョブ情報は、ユーザI/F部
12によってユーザに提示され、ユーザは、指定したプ
リントジョブデータの現在のジョブ情報を把握すること
ができるようになる。
FIG. 9 is a flowchart for explaining the process of acquiring job information by the host computer 1. The job monitoring manager 151 has a predetermined job ID
An instruction to acquire the job information specified by the user I /
When the job ID is received from the F unit 12, first, the job DB 152 is referred to (STEP 901), and it is checked whether or not the index number corresponding to the job ID has already been acquired from the printer 2 (STEP 902). If the job monitoring manager 151 determines that the index number has not been acquired, the job monitoring manager 151 sets a job ID for the printer 2 (STEP 903), and replies in the form of “job ID = index number” from the printer 2. Is received (STEP 904). Job monitoring manager 15
1 compares the job ID set for the printer 2 with the job ID acquired from the printer 2 (STEP 9).
05) If it is determined that they do not match,
The process moves to STEP903. Job monitoring manager 15
If it is determined that the two job IDs match, the 1 registers the acquired index number in the job ID 134 (STEP 906). Job monitoring manager 1
After obtaining the index number, the 51 uses this index number to collect job information for the printer 2 (STEP 907). Collection of job information
All the elements of the job information may be used, or only the elements specified by the user may be used. However, depending on the progress of the printing process, it may not be possible to obtain all of them. Upon acquiring the job information from the printer 2, the job monitoring manager 151 sends this to the user I / F unit 12 (STEP
908). Thereby, the job information is presented to the user by the user I / F unit 12, and the user can grasp the current job information of the specified print job data.

【0033】図10は、ホストコンピュータ1から送ら
れるジョブ情報の取得要求に対するプリンタ2による応
答処理を説明するためのフローチャートである。同図に
示すように、ジョブ監視エージェント171は、ジョブ
情報I/F部142bからジョブ情報に関する所定の要
求を受け取った場合には、これがジョブIDのセット要
求であるか否かを判断する(STEP1001)。ジョ
ブ監視エージェント171は、ジョブIDのセット要求
であると判断する場合には、このジョブIDをジョブ情
報記憶部172の所定の記憶領域に書き込む(STEP
1002)。ジョブ監視エージェント171は、STE
P1001でNoと判断する場合、次に、この要求がイ
ンデックス番号の取得要求であるか否かを判断する(S
TEP1003)。ジョブ監視エージェント171は、
インデックス番号の取得要求であると判断する場合に
は、ジョブIDに対するインデックス番号を検索し、
“ジョブID=インデックス番号”の形式で返答する
(STEP1004)。ジョブ監視エージェント171
は、STEP1003でNoと判断する場合には、次
に、この要求がジョブ情報の取得要求であるか否かを判
断する(STEP1005)。ジョブ監視エージェント
171は、ジョブ情報の取得要求であると判断する場合
には、ジョブ情報記憶部172からインデックス番号に
対応するプリントジョブデータのジョブ情報を検索し、
これを返答する(STEP1006)。ジョブ監視エー
ジェント171は、終了指示があるまで上記処理を繰り
返す。
FIG. 10 is a flowchart for explaining a response process by the printer 2 to a job information acquisition request sent from the host computer 1. As shown in the figure, when receiving a predetermined request for job information from the job information I / F unit 142b, the job monitoring agent 171 determines whether or not this is a request for setting a job ID (STEP 1001). ). If the job monitoring agent 171 determines that the request is a job ID setting request, the job monitoring agent 171 writes the job ID into a predetermined storage area of the job information storage unit 172 (STEP
1002). The job monitoring agent 171
If No is determined in P1001, it is next determined whether this request is an index number acquisition request (S100).
TEP1003). The job monitoring agent 171
When it is determined that the request is an index number acquisition request, the index number for the job ID is searched,
A reply is made in the format of “job ID = index number” (STEP 1004). Job monitoring agent 171
If the determination is NO in STEP 1003, then, it is determined whether this request is a request for acquiring job information (STEP 1005). When determining that the request is a job information acquisition request, the job monitoring agent 171 searches the job information storage unit 172 for job information of print job data corresponding to the index number, and
This is replied (STEP1006). The job monitoring agent 171 repeats the above processing until there is a termination instruction.

【0034】以上のように、本実施形態によれば、プリ
ンタ2は、ホストコンピュータ1から投入されたプリン
トジョブデータのジョブ情報をジョブ情報記憶部172
に出力する。この場合に、プリンタ2は、プリントジョ
ブデータごとにインデックス番号を割り当てるので、プ
リントジョブデータごとにジョブ情報を管理することが
できるようになる。
As described above, according to the present embodiment, the printer 2 stores the job information of the print job data input from the host computer 1 in the job information storage unit 172.
Output to In this case, since the printer 2 assigns an index number for each print job data, it is possible to manage job information for each print job data.

【0035】また、本実施形態によれば、ホストコンピ
ュータ1は、このようなジョブ情報を管理するプリンタ
2に対して、所定の通信プロトコルに従って、ジョブ情
報の取得要求を行い、プリンタ2は、この取得要求に応
答して所定のジョブ情報をホストコンピュータ1に返答
する。これにより、ホストコンピュータ1は、特定のプ
リントジョブデータに対するジョブ情報をプリンタ2か
ら取得することができることになる。
Further, according to the present embodiment, the host computer 1 issues a job information acquisition request to the printer 2 that manages such job information according to a predetermined communication protocol. A predetermined job information is returned to the host computer 1 in response to the acquisition request. As a result, the host computer 1 can acquire job information for specific print job data from the printer 2.

【0036】特に、本実施形態では、SNMPを用いて
ジョブ情報に関する通信を行うので、ホストコンピュー
タ1は、複雑な機構を必要とすることなく、きわめて簡
単に、プリンタ2からジョブ情報を取得することができ
る。
In particular, in this embodiment, since communication relating to job information is performed using SNMP, the host computer 1 can acquire the job information from the printer 2 extremely easily without requiring a complicated mechanism. Can be.

【0037】上記実施形態は、本発明を説明するための
例示であり、本発明を上記実施形態にのみ限定する趣旨
ではない。本発明は、その要旨を逸脱しない限り、さま
ざまな形態で実施することができる。例えば、上記機能
実現手段の動作をシーケンシャルに説明したが、特にこ
れにこだわるものではない。従って、動作に矛盾が生じ
ない限り、処理の順序を入れ替えまたは並行動作するよ
うに構成しても良い。
The above embodiment is an exemplification for describing the present invention, and is not intended to limit the present invention only to the above embodiment. The present invention can be implemented in various forms without departing from the gist thereof. For example, the operation of the function realizing means has been described sequentially, but the present invention is not particularly limited to this. Therefore, as long as no inconsistency occurs in the operation, the order of processing may be changed or the operation may be performed in parallel.

【0038】また、上記実施形態は、プリンタドライバ
13と監視プログラム15とをそれぞれ独立の実行体と
して説明したがこれにこだわるものではない。例えば、
プリンタドライバ13は、アプリケーション11上のデ
ータを、特定のプリンタ1が解釈するためのプリントジ
ョブデータに変換するとともに、プリンタ2における印
刷処理の状況を監視するように構成しても良い。
In the above embodiment, the printer driver 13 and the monitoring program 15 have been described as independent execution units, but the present invention is not limited to this. For example,
The printer driver 13 may be configured to convert data on the application 11 into print job data to be interpreted by the specific printer 1 and to monitor the status of the print processing in the printer 2.

【発明の効果】本発明によれば、ホストコンピュータ
は、プリンタに送ったプリントジョブデータに対する印
刷処理の状況を取得することができる。これにより、ユ
ーザは、プリンタに送った自身のプリントジョブデータ
に対する印刷処理の状況を把握することができるように
なる。
According to the present invention, the host computer can acquire the status of the printing process for the print job data sent to the printer. As a result, the user can grasp the status of the print processing for his own print job data sent to the printer.

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

【図1】プリントシステムの全体構成を示すブロックダ
イアグラム
FIG. 1 is a block diagram showing an overall configuration of a printing system.

【図2】ホストコンピュータ1の構成を示すブロックダ
イアグラム
FIG. 2 is a block diagram showing a configuration of a host computer 1.

【図3】ジョブDB154の内容を示す図FIG. 3 shows the contents of a job DB 154.

【図4】プリンタ2の構成を示すブロックダイアグラムFIG. 4 is a block diagram showing a configuration of the printer 2.

【図5】ジョブ情報の一例を示す図FIG. 5 illustrates an example of job information.

【図6】印刷処理部16がジョブ情報記憶部172にジ
ョブ情報をセットする様子を示す図
FIG. 6 is a diagram showing a state where the print processing unit 16 sets job information in a job information storage unit 172.

【図7】MIB構造の一部を示す図FIG. 7 is a diagram showing a part of an MIB structure;

【図8】ホストコンピュータ1によるプリントジョブデ
ータの投入処理を説明するためのフローチャート
FIG. 8 is a flowchart for explaining print job data input processing by the host computer 1;

【図9】ホストコンピュータ1によるジョブ情報の取得
処理を説明するためのフローチャート
FIG. 9 is a flowchart for explaining job information acquisition processing by the host computer 1;

【図10】ジョブ情報取得要求に対するプリンタ2によ
る応答処理を説明するためのフローチャート
FIG. 10 is a flowchart for explaining a response process by the printer 2 to a job information acquisition request;

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

1…ホストコンピュータ 2…プリンタ 11…アプリケーションプログラム 12…ユーザインターフェース部 13…プリンタドライバ 14…通信インターフェース部 15…監視プログラム 16…印刷処理部 17…印刷管理部 DESCRIPTION OF SYMBOLS 1 ... Host computer 2 ... Printer 11 ... Application program 12 ... User interface unit 13 ... Printer driver 14 ... Communication interface unit 15 ... Monitoring program 16 ... Print processing unit 17 ... Print management unit

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】ホストコンピュータから送られる、所定の
識別情報を有するプリントジョブデータに対して所定の
印刷処理を行うプリンタであって、 前記ホストコンピュータから送られるジョブ情報の取得
要求を受け取った場合に、前記取得要求によって指定さ
れる所定の識別情報に対応するプリントジョブデータの
ジョブ情報を、前記ホストコンピュータに返答すること
を特徴とするプリンタ。
1. A printer for performing a predetermined print process on print job data having predetermined identification information sent from a host computer, and receiving a job information acquisition request sent from the host computer. And a reply to the host computer with job information of print job data corresponding to predetermined identification information specified by the acquisition request.
【請求項2】第1の識別情報を有するプリントジョブデ
ータを受信するために、ホストコンピュータとの間で通
信を行う第1の通信手段と、 前記第1の通信手段によって受信されるプリントジョブ
データに基づいて所定の印刷処理を行い、前記所定の印
刷処理に基づく所定のジョブ情報を出力する印刷処理手
段と、 前記印刷処理手段によって出力されるジョブ情報を、前
記プリントジョブデータごとに記憶するジョブ情報記憶
手段と、 前記ホストコンピュータとの間で前記ジョブ情報に関す
る通信を行う第2の通信手段と、 前記第2の通信手段によって受信される所定の取得要求
に基づいて、前記ジョブ情報記憶手段から所定のジョブ
情報を読み出して、前記第2の通信手段に出力する印刷
管理手段とを備えたことを特徴とするプリンタ。
2. A first communication means for communicating with a host computer to receive print job data having first identification information; and print job data received by the first communication means. Print processing means for performing predetermined print processing based on the print processing and outputting predetermined job information based on the predetermined print processing; and a job for storing job information output by the print processing means for each of the print job data. An information storage unit, a second communication unit that performs communication relating to the job information with the host computer, and, based on a predetermined acquisition request received by the second communication unit, from the job information storage unit. A printer which reads out predetermined job information and outputs the job information to the second communication means.
【請求項3】前記印刷処理手段は、 前記第1の通信手段からプリントジョブデータを受け取
った場合に、前記プリントジョブデータに第2の識別情
報を割り当て、 前記ジョブ情報記憶手段は、 前記第2の識別情報に対応する所定の領域に前記プリン
トジョブデータのジョブ情報を記憶することを特徴とす
る請求項2記載のプリンタ。
3. The print processing means, when receiving print job data from the first communication means, assigns second identification information to the print job data. 3. The printer according to claim 2, wherein job information of said print job data is stored in a predetermined area corresponding to said identification information.
【請求項4】前記印刷管理手段は、 前記所定の取得要求が前記第2の識別情報の取得要求で
ある場合に、前記第1の識別情報と前記第2の識別情報
とを関連付けて、前記第2の通信手段に出力することを
特徴とする請求項3記載のプリンタ。
4. The print management unit, when the predetermined acquisition request is an acquisition request for the second identification information, associates the first identification information with the second identification information, 4. The printer according to claim 3, wherein the output is performed to a second communication unit.
【請求項5】前記印刷管理手段は、 前記第2の識別情報に従って前記ジョブ情報記憶手段か
ら前記ジョブ情報を読み出すことを特徴とする請求項4
記載のプリンタ。
5. The print management unit reads the job information from the job information storage unit according to the second identification information.
The printer described.
【請求項6】前記印刷処理手段は、 前記プリントジョブデータに対する印刷処理の進捗の度
合いを示す情報をジョブ情報として出力することを特徴
とする請求項2乃至5記載のプリンタ。
6. The printer according to claim 2, wherein the print processing unit outputs information indicating a degree of progress of a print process for the print job data as job information.
【請求項7】前記印刷処理手段は、 前記プリントジョブデータに対する印刷処理に要する消
費に関する情報をジョブ情報として出力することを特徴
とする請求項2乃至6記載のプリンタ。
7. The printer according to claim 2, wherein said print processing means outputs information on consumption required for print processing of said print job data as job information.
【請求項8】アプリケーションプログラムから送られる
アプリケーションデータに基づいてプリントジョブデー
タを生成する生成手段と、 前記生成手段によって生成されるプリントジョブデータ
に対して第1の識別情報を割り当てる割当手段と、 前記生成手段によって生成されたプリントジョブデータ
を、前記割当手段によって割り当てられた第1の識別情
報とともにプリンタに送る送信手段と、 前記割当手段により割り当てられた第1の識別情報に基
づいて、前記プリンタから前記プリントジョブデータの
ジョブ情報を取得する取得手段と、 前記取得手段により取得されたジョブ情報をユーザに提
示するユーザインターフェース手段と、を備えたことを
特徴とするホストコンピュータ。
8. A generating means for generating print job data based on application data sent from an application program; an allocating means for allocating first identification information to the print job data generated by the generating means; Transmitting means for transmitting the print job data generated by the generating means to the printer together with the first identification information allocated by the allocating means; and transmitting the print job data from the printer based on the first identification information allocated by the allocating means. A host computer comprising: an acquisition unit that acquires job information of the print job data; and a user interface unit that presents the job information acquired by the acquisition unit to a user.
【請求項9】ホストコンピュータに所定の機能を実現す
る制御プログラムを記録した記録媒体であって、前記制
御プログラムは、 アプリケーションプログラムから送られるアプリケーシ
ョンデータに基づいてプリントジョブデータを生成する
生成手段と、 前記生成手段によって生成されるプリントジョブデータ
に対してジョブ識別情報を割り当て、前記プリントジョ
ブデータとともにジョブ識別情報をプリンタに対して出
力する割当手段と、 前記割当手段により割り当てられたジョブ識別情報に基
づいて、前記プリンタから前記プリントジョブデータの
ジョブ情報を取得する取得手段と、を備えたことを特徴
とする制御プログラムを記録した記録媒体。
9. A recording medium in which a control program for realizing a predetermined function is recorded on a host computer, wherein the control program generates print job data based on application data sent from the application program; Allocating means for allocating job identification information to the print job data generated by the generating means, outputting the job identification information to the printer together with the print job data, and based on the job identification information allocated by the allocating means. Recording means for recording job information of the print job data from the printer.
【請求項10】ホストコンピュータとプリンタとを備え
たプリントシステムであって、 前記ホストコンピュータは、 アプリケーションプログラムから送られるアプリケーシ
ョンデータに基づいてプリントジョブデータを生成する
生成手段と、 前記生成手段によって生成されるプリントジョブデータ
に対して第1の識別情報を割り当てる割当手段と、 前記生成手段によって生成されたプリントジョブデータ
を、前記割当手段によって割り当てられた第1の識別情
報とともに前記プリンタに送る送信手段と、 前記割当手段により割り当てられた第1の識別情報に基
づいて、前記プリンタから前記プリントジョブデータの
ジョブ情報を取得する取得手段と、 前記取得手段により取得されたジョブ情報をユーザに提
示するユーザインターフェース手段と、を備え、 前記プリンタは、 前記ホストコンピュータから送られるプリントジョブデ
ータに基づいて所定の印刷処理を行い、前記所定の印刷
処理に基づく所定のジョブ情報を出力する印刷処理手段
と、 前記印刷処理手段によって出力されるジョブ情報を、前
記プリントジョブデータごとに記憶するジョブ情報記憶
手段と、 前記ホストコンピュータから送られる所定の取得要求に
基づいて、前記ジョブ情報記憶手段から所定のジョブ情
報を読み出して、前記ホストコンピュータに対して出力
する印刷管理手段と、を備えたことを特徴とするプリン
トシステム。
10. A print system comprising a host computer and a printer, wherein the host computer generates print job data based on application data sent from an application program; Allocating means for allocating first identification information to the print job data to be transmitted, and transmitting means for transmitting the print job data generated by the generating means to the printer together with the first identification information allocated by the allocating means. Acquiring means for acquiring job information of the print job data from the printer based on the first identification information assigned by the assigning means; and a user interface for presenting the job information acquired by the acquiring means to a user. A print processing unit that performs predetermined print processing based on print job data sent from the host computer and outputs predetermined job information based on the predetermined print processing; and A job information storage unit that stores job information output by a processing unit for each print job data; and reads predetermined job information from the job information storage unit based on a predetermined acquisition request sent from the host computer. A print management means for outputting to the host computer.
【請求項11】ホストコンピュータから第1の通信プロ
トコルに従って第1の識別情報を有するプリントジョブ
データを受け取り、 前記受信したプリントジョブデータに基づいて所定の印
刷処理を行うとともに、前記所定の印刷処理に基づく所
定のジョブ情報を出力し、 前記出力したジョブ情報を、前記プリントジョブデータ
ごとに記憶しておき、 前記ホストコンピュータから第2の通信プロトコルに従
って所定の取得要求を受け取り、 前記所定の取得要求に基づいて前記ジョブ情報記憶手段
から所定のジョブ情報を読み出し、 前記読み出した所定のジョブ情報を前記ホストコンピュ
ータに送ることを特徴とするプリンタの制御方法。
11. Receiving print job data having first identification information from a host computer according to a first communication protocol, performing predetermined print processing based on the received print job data, and performing predetermined print processing based on the received print job data. Outputting predetermined job information based on the print job data, storing the output job information for each of the print job data, receiving a predetermined acquisition request from the host computer according to a second communication protocol, and responding to the predetermined acquisition request. And reading the predetermined job information from the job information storage means based on the read job information and sending the read predetermined job information to the host computer.
JP19364799A 1999-07-07 1999-07-07 Printer, printing system, and printer process monitoring method Expired - Fee Related JP3775555B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19364799A JP3775555B2 (en) 1999-07-07 1999-07-07 Printer, printing system, and printer process monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19364799A JP3775555B2 (en) 1999-07-07 1999-07-07 Printer, printing system, and printer process monitoring method

Publications (2)

Publication Number Publication Date
JP2001022546A true JP2001022546A (en) 2001-01-26
JP3775555B2 JP3775555B2 (en) 2006-05-17

Family

ID=16311432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19364799A Expired - Fee Related JP3775555B2 (en) 1999-07-07 1999-07-07 Printer, printing system, and printer process monitoring method

Country Status (1)

Country Link
JP (1) JP3775555B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007223300A (en) 2006-01-27 2007-09-06 Seiko Epson Corp Ink-jet printer, ink charging system, and control method of ink-jet printer
JP2012173975A (en) * 2011-02-21 2012-09-10 Canon Inc Print system, printer, information processor, information processing method and program
JP2019171706A (en) * 2018-03-29 2019-10-10 ブラザー工業株式会社 Printer, information processing device, and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007223300A (en) 2006-01-27 2007-09-06 Seiko Epson Corp Ink-jet printer, ink charging system, and control method of ink-jet printer
US8553243B2 (en) 2006-01-27 2013-10-08 Seiko Epsoh Corporation Inkjet printer, ink billing system, and inkjet printer control method
JP2012173975A (en) * 2011-02-21 2012-09-10 Canon Inc Print system, printer, information processor, information processing method and program
US9007614B2 (en) 2011-02-21 2015-04-14 Canon Kabushiki Kaisha Printing system including a printing apparatus and an information processing apparatus which communicates with the printing apparatus
JP2019171706A (en) * 2018-03-29 2019-10-10 ブラザー工業株式会社 Printer, information processing device, and system
JP7069958B2 (en) 2018-03-29 2022-05-18 ブラザー工業株式会社 Printing equipment and systems

Also Published As

Publication number Publication date
JP3775555B2 (en) 2006-05-17

Similar Documents

Publication Publication Date Title
US7283266B2 (en) Information processing apparatus and print control apparatus, data processing method, storage medium and program
JP3937478B2 (en) Interface device and interface method
US6894800B2 (en) Information processing apparatus and information display method for displaying job information relating to an output job
US20040051898A1 (en) Printer, printing system, print control method, storage medium used to store print control program for controlling a printer, and transmission device for transmitting print control program for controlling a printer
JPH1153139A (en) Network system, network managing method, interface device, recording medium recording program for operating interface device and terminal equipment
US6178004B1 (en) Method and apparatus for forming images
CN100409167C (en) Status information processor
US8270001B2 (en) Printing apparatus and canceling method
JP2012155401A (en) Printing system, printing device, control method of printing system, control method of printing device, and program
JP3775555B2 (en) Printer, printing system, and printer process monitoring method
JP3649027B2 (en) Scanner control device, scanner control system, and control method
JPH11134140A (en) Data processor and print controller, data processing method of data processor and of printing controller, and storage medium for computer-readable program
JP4095294B2 (en) Information processing apparatus, information processing method, and program
CN101489008B (en) Device setting system, device setting method
JP3904008B2 (en) Scanner control device, scanner control system, and control method
JP3595709B2 (en) Peripheral control device, management device, environment setting method for peripheral control device, environment setting method for management device, and storage medium storing computer-readable program
JP2959238B2 (en) Printing system
JP2008257319A (en) Printing system, printing apparatus, authenticated printing execution method and program
JP2005339106A (en) Printer address monitoring system
JP2001306282A (en) Printing device
JPH08156371A (en) Image output device, host computer and network housing both of them
JP2001306287A (en) Substitute printing system between printers different in machine kind
JP3998006B2 (en) Scanner control device, scanner control system, and control method
US8880750B2 (en) Peripheral device, information processing system, control method, and storage medium
US20060033949A1 (en) Output device identification apparatus, control program for identifying the output device and method for identifying the output device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051114

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060215

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090303

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100303

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100303

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110303

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120303

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120303

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130303

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140303

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees