JP2012136023A - Printer and program - Google Patents

Printer and program Download PDF

Info

Publication number
JP2012136023A
JP2012136023A JP2012003020A JP2012003020A JP2012136023A JP 2012136023 A JP2012136023 A JP 2012136023A JP 2012003020 A JP2012003020 A JP 2012003020A JP 2012003020 A JP2012003020 A JP 2012003020A JP 2012136023 A JP2012136023 A JP 2012136023A
Authority
JP
Japan
Prior art keywords
print job
notification
control command
printer
print
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
JP2012003020A
Other languages
Japanese (ja)
Other versions
JP5131398B2 (en
Inventor
Kenichi Murahashi
賢一 村橋
Keigo Ejiri
圭吾 江尻
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 JP2012003020A priority Critical patent/JP5131398B2/en
Publication of JP2012136023A publication Critical patent/JP2012136023A/en
Application granted granted Critical
Publication of JP5131398B2 publication Critical patent/JP5131398B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a print system that facilitates an operator to specify an issuance source of printed matter.SOLUTION: In the system, a host computer 2 includes a print job transmission means for transmitting a print job, a notification pattern setting means for setting a notification pattern, and a notification control command transmission means for transmitting a notification control command in asynchronization with the print job transmission means. A printer 3 includes a print job reception means for receiving the print job, a printing means 48, a notification control command reception means for receiving the notification control command, a memory means 53 for storing the notification control command, a print job status detection means for detecting the command or the like of the print job, a first notification determination means for determining the presence of the notification control command, which contains the same information as host information and a print job ID of the print job, by using the detection results of the print job status detection means as a trigger, and a notification means 46 for giving the notification when there is the notification control command, based on a notification pattern of the notification control command.

Description

本発明は、複数のホストコンピュータと、これら複数のホストコンピュータから送信さ
れる印刷ジョブに基づき印刷を実行するプリンタと、から成るプリントシステムおよびプ
ログラムに関するものである。
The present invention relates to a print system and a program including a plurality of host computers and a printer that executes printing based on a print job transmitted from the plurality of host computers.

従来、ホストコンピュータとプリンタとを接続し、ホストコンピュータで生成した印刷
データをプリンタに送信して印刷処理を行うシステムが知られている。例えば、スーパー
マーケットや小売店等で使用されるPOSシステムでは、POS端末コンピュータにより
、オペレータ(店員)により入力された商品情報に基づく商品データから印刷データを生
成し、当該印刷データをプリンタ(印刷装置)に送信する。プリンタは、受信した印刷デ
ータに基づいてレシートやクーポン等の印刷を行う。そして、印刷されたレシートやクー
ポンは、適当な長さにカットされ、レシート搬送路から排出される(例えば、特許文献1
参照)。
2. Description of the Related Art Conventionally, a system is known in which a host computer and a printer are connected and print data generated by the host computer is transmitted to the printer to perform print processing. For example, in a POS system used in a supermarket or a retail store, print data is generated from product data based on product information input by an operator (store clerk) by a POS terminal computer, and the print data is printed by a printer (printing device). Send to. The printer prints receipts, coupons, and the like based on the received print data. Then, the printed receipt or coupon is cut to an appropriate length and discharged from the receipt conveyance path (for example, Patent Document 1).
reference).

特開2005−222310号公報JP 2005-222310 A

ところで、上述のようなPOSシステムにおいて、1台のプリンタを複数のPOS端末
コンピュータ(ホストコンピュータ)により共有する場合が考えられる。この場合、オペ
レータは、プリンタで印刷(出力)された印刷物(例えば、レシートやクーポン等)が、
どのホストコンピュータから印刷されたものであるかを判別することができないという問
題がある。このため、例えば、顧客Aに対して印刷された印刷物を、顧客Aとは異なる顧
客Bに渡してしまうということが考えられる。
By the way, in the POS system as described above, one printer may be shared by a plurality of POS terminal computers (host computers). In this case, the operator prints (outputs) the printed matter (for example, a receipt or a coupon) by the printer.
There is a problem that it is impossible to determine from which host computer the printing is made. For this reason, for example, it is possible that the printed matter printed with respect to the customer A is delivered to the customer B different from the customer A.

本発明は、上記の問題に鑑みたものであり、オペレータが簡単に印刷物の発行元を特定
することができるプリントシステムおよびプログラムを提供することを目的とする。
SUMMARY An advantage of some aspects of the invention is that it provides a print system and a program that allow an operator to easily specify a print issuer.

本発明のプリントシステムは、複数のホストコンピュータと、複数のホストコンピュー
タと接続され、複数のホストコンピュータから受信した印刷データに基づいて印刷を行う
と共に報知機能を有するプリンタと、から成るプリントシステムであって、ホストコンピ
ュータは、プリンタに、印刷データを含む印刷ジョブを送信する印刷ジョブ送信手段と、
報知回数、報知時間、報知間隔などの報知パターンを設定する報知パターン設定手段と、
印刷ジョブ送信手段と非同期で動作し、プリンタに、印刷ジョブに対応する印刷ジョブI
D、ホストコンピュータ自身を特定するホスト情報および報知パターン設定手段により設
定された報知パターンを含む報知制御コマンドを送信する報知制御コマンド送信手段と、
を備え、プリンタは、印刷ジョブを受信する印刷ジョブ受信手段と、受信した印刷ジョブ
に含まれる印刷データに基づいて印刷を行う印刷手段と、報知制御コマンドを受信する報
知制御コマンド受信手段と、受信した報知制御コマンドを記憶する記憶手段と、印刷ジョ
ブに含まれる所定のデータまたはコマンドを検出する印刷ジョブ状況検出手段と、印刷ジ
ョブ状況検出手段による検出をトリガとして、記憶手段に、印刷ジョブの印刷ジョブID
およびホスト情報と同一の印刷ジョブIDおよびホスト情報を含む報知制御コマンドが存
在するか否かを判別する第1報知判定手段と、第1報知判別手段による判別の結果、印刷
ジョブIDおよびホスト情報含む報知制御コマンドが存在した場合に、当該報知制御コマ
ンドに含まれる報知パターンに基づいて報知する報知手段と、を備えたことを特徴とする
The printing system of the present invention is a printing system comprising a plurality of host computers and a printer connected to the plurality of host computers and performing printing based on print data received from the plurality of host computers and having a notification function. The host computer includes a print job transmission unit that transmits a print job including print data to the printer,
Notification pattern setting means for setting a notification pattern such as the number of notifications, notification time, notification interval, and the like;
Print job I that operates asynchronously with the print job sending means and that corresponds to the print job
D, notification control command transmitting means for transmitting a notification control command including host information for identifying the host computer itself and a notification pattern set by the notification pattern setting means;
The printer includes: a print job receiving unit that receives a print job; a printing unit that performs printing based on print data included in the received print job; a notification control command receiving unit that receives a notification control command; A storage unit for storing the notification control command, a print job status detection unit for detecting predetermined data or a command included in the print job, and a print job print in the storage unit triggered by detection by the print job status detection unit. Job ID
And a first notification determination unit that determines whether or not a notification control command including the same print job ID and host information as the host information exists, and a result of determination by the first notification determination unit, the print job ID and host information are included. And a notifying unit for notifying based on a notification pattern included in the notification control command when a notification control command exists.

この構成によれば、ホストコンピュータから、印刷データを含む印刷ジョブと共に、印
刷ジョブID、当該ホストコンピュータを特定するホスト情報および報知パターンを含む
報知制御コマンドをプリンタに送信する。これらを受信したプリンタは、報知制御コマン
ドを自身の記憶領域(記憶手段)に記憶すると共に、印刷ジョブを実行する。そして、プ
リンタは、印刷ジョブに含まれる所定のデータまたはコマンド(例えば、印刷ジョブの開
始時や完了時などを示すデータやコマンド)を検出すると、これをトリガとして、当該印
刷ジョブの印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報を
含む報知制御コマンドが記憶領域に存在するか否かを判別する。そして、記憶領域に当該
報知制御コマンドが存在した場合、報知手段により報知する。これにより、オペレータは
印刷ジョブの開始/完了などを把握できるため、例えば、レシートやクーポン等の印刷物
の発行処理(印刷ジョブ)の開始や完了を認識することができる。また、報知パターン設
定手段により各ホストコンピュータに異なる報知パターンを設定することで、1台のプリ
ンタを複数のホストコンピュータで共有する場合においても、オペレータは、プリンタか
ら印刷(出力)された印刷物が、どのホストコンピュータから印刷されたものかを判別す
ることができる。つまり、オペレータは、当該印刷物がどの顧客に対する印刷物かを特定
できるため、渡し間違え等のトラブルを防止することができる。また、印刷ジョブと報知
制御コマンドとを、非同期で送信することができるため、例えば、印刷ジョブの処理中や
、何らかの原因で印刷ジョブの送信が遅延している場合、プリンタがエラー発生中により
ジョブの送信不可能な場合であっても、印刷ジョブの状況に影響を受けることなく、報知
制御コマンドを送信することが可能となる。また、プリンタ側では、印刷ジョブと非同期
で報知制御コマンドを受信して記憶領域に記録しておくことで、印刷ジョブの開始前、あ
るいは開始後、即時、報知に関する処理を実行することができる。なお、報知手段として
は、音で聴覚的に報知しても良いし、あるいは、ランプ等を点灯させ視覚的に報知するよ
うにしても良い。
According to this configuration, the host computer transmits a print job including print data together with a print job ID, host information for specifying the host computer, and a notification control command including a notification pattern to the printer. Upon receiving these, the printer stores the notification control command in its own storage area (storage means) and executes a print job. When the printer detects predetermined data or a command (for example, data or command indicating the start time or completion time of the print job) included in the print job, the printer uses this as a trigger to set the print job ID and the print job ID and the command. It is determined whether or not a notification control command including the same print job ID and host information as the host information exists in the storage area. When the notification control command exists in the storage area, the notification means notifies the user. Accordingly, since the operator can grasp the start / completion of the print job, for example, it is possible to recognize the start or completion of a print issue process (print job) such as a receipt or a coupon. In addition, by setting different notification patterns for each host computer by the notification pattern setting means, even when one printer is shared by a plurality of host computers, the operator can obtain a printed matter printed (output) from the printer, It is possible to determine from which host computer the printing was made. That is, since the operator can specify to which customer the printed material is a printed material, troubles such as mistakes in delivery can be prevented. In addition, since the print job and the notification control command can be transmitted asynchronously, for example, when the print job is being processed or for some reason the print job is delayed, Even if it is not possible to transmit the notification control command, the notification control command can be transmitted without being affected by the status of the print job. Further, on the printer side, by receiving the notification control command asynchronously with the print job and recording it in the storage area, it is possible to execute processing relating to notification immediately before or after the start of the print job. In addition, as an alerting | reporting means, you may alert | report auditorily with a sound, or you may make it lightly alert | report by lighting a lamp | ramp.

この場合、報知制御コマンドは、報知手段による報知タイミングを規定した情報をさら
に有したことが好ましい。
In this case, it is preferable that the notification control command further includes information defining the notification timing by the notification unit.

この構成によれば、例えば、印刷ジョブの実行開始前、あるいは印刷ジョブの実行完了
後などの報知タイミングを指定することができる。これにより、各ユーザのニーズに応じ
たタイミングで、印刷ジョブの実行開始や完了、つまりクーポン等の印刷物の発券開始や
発券完了を知らせることができる。
According to this configuration, for example, notification timing such as before the start of execution of a print job or after completion of execution of a print job can be designated. Accordingly, it is possible to notify the start and completion of execution of a print job, that is, the start and end of issuance of a printed matter such as a coupon at a timing according to the needs of each user.

これらの場合、プリンタは、印刷ジョブの実行履歴を記憶するジョブ履歴記憶手段と、
報知制御コマンドを受信したとき、当該報知制御コマンドに含まれる印刷ジョブIDおよ
びホスト情報と同一の印刷ジョブIDおよびホスト情報が、ジョブ履歴記憶手段に記録さ
れているか否かを判別する第2報知判別手段と、をさらに備え、報知手段は、第2報知判
定手段により印刷ジョブIDおよびホスト情報が存在したと判定したとき、即時に報知す
ることが好ましい。
In these cases, the printer has job history storage means for storing a print job execution history,
Second notification determination for determining whether or not the same print job ID and host information as the print job ID and host information included in the notification control command are recorded in the job history storage means when the notification control command is received It is preferable that the notification unit immediately notifies when the second notification determination unit determines that the print job ID and the host information exist.

この構成によれば、報知制御コマンドを受信したとき、当該報知制御コマンドに含まれ
る印刷ジョブIDおよびホスト情報が実行履歴に記録されているか否かを判別し、記録さ
れている場合は、当該報知制御コマンドに基づいて、即時に報知を行う。これにより、例
えば、何らかの理由で報知制御コマンドが遅延した場合においても、確実にオペレータに
対して印刷ジョブの開始や完了を伝えることができる。つまり印刷物が発行された、ある
いは発行中である旨を伝えることができる。
According to this configuration, when the notification control command is received, it is determined whether or not the print job ID and the host information included in the notification control command are recorded in the execution history. Notification is immediately made based on the control command. Thereby, for example, even when the notification control command is delayed for some reason, it is possible to reliably notify the operator of the start or completion of the print job. That is, it can be notified that the printed matter has been issued or is being issued.

これらの場合、ホストコンピュータは、所定の条件を満たす印刷ジョブを判別する印刷
ジョブ判別手段をさらに備え、報知制御コマンド送信手段は、所定の印刷ジョブに対応す
る報知制御コマンドのみをプリンタに送信することが好ましい。
In these cases, the host computer further includes a print job determination unit that determines a print job that satisfies a predetermined condition, and the notification control command transmission unit transmits only the notification control command corresponding to the predetermined print job to the printer. Is preferred.

この構成によれば、所定の印刷ジョブの開始/完了のみを報知することができる。例え
ば、1の顧客に対して複数枚の印刷物を発行する場合、最後の印刷物の発行にたいしての
み印刷ジョブの開始/完了を報知することで、オペレータは、当該最後の印刷物と報知前
に発行された全ての印刷物とが1の顧客に対するものであると確実に認識することができ
る。これにより、顧客に対して印刷物の渡し忘れなどを防止することができる。また、例
えば、当たりのクーポン等、特別な印刷物を発行する印刷ジョブの開始/完了時にのみ報
知することで、オペレータに特別な印刷物が発行されることを容易に認識させることがで
きる。
According to this configuration, it is possible to notify only the start / completion of a predetermined print job. For example, when a plurality of printed materials are issued to one customer, the operator is issued before the notification of the last printed material by notifying the start / completion of the print job only for the issuance of the last printed material. It can be surely recognized that all printed materials are for one customer. Thereby, it is possible to prevent the customer from forgetting to deliver the printed matter. In addition, for example, by notifying only at the start / completion of a print job for issuing a special printed matter such as a winning coupon, the operator can easily recognize that the special printed matter is issued.

これらの場合、報知手段は、電子音を発生することにより報知を行なうことが好ましい
In these cases, it is preferable that the notification means performs notification by generating an electronic sound.

この構成によれば、電子音による鳴動により、オペレータに印刷ジョブの開始や完了を
報知することができる。これにより、例えば、オペレータが顧客の対応をしており、プリ
ンタを視認することができない場合でも、容易に印刷ジョブの開始や完了、つまり印刷物
の発行を把握することができる。
According to this configuration, it is possible to notify the operator of the start or completion of a print job by ringing with an electronic sound. Thereby, for example, even when the operator is dealing with the customer and cannot see the printer, it is possible to easily grasp the start and completion of the print job, that is, the issue of the printed matter.

本発明のプログラムは、コンピュータを、上記に記載のプリントシステムにおけるホス
トコンピュータまたはプリンタの各手段として機能させるためのものであることを特徴と
する。
The program of the present invention is a program for causing a computer to function as each means of a host computer or a printer in the printing system described above.

これを用いることにより、オペレータが簡単に印刷物の発行元を特定することができる
プリントシステムを提供することができる。
By using this, it is possible to provide a printing system that allows the operator to easily specify the issuer of the printed matter.

本実施形態に係るプリントシステムのシステム構成図である。1 is a system configuration diagram of a print system according to the present embodiment. ホストコンピュータおよびプリンタの制御ブロック図である。It is a control block diagram of a host computer and a printer. 印刷ジョブおよび鳴動制御コマンドを生成する手順について説明するフローチャートである。10 is a flowchart illustrating a procedure for generating a print job and a ringing control command. プリンタが印刷ジョブを受信した場合の動作手順について説明するフローチャートである。6 is a flowchart for describing an operation procedure when the printer receives a print job. プリンタが鳴動制御コマンドを受信した場合の動作手順について説明するフローチャートである。It is a flowchart explaining the operation | movement procedure when a printer receives a ringing control command. プリンタが鳴動制御コマンドを受信した場合の動作手順について説明するフローチャートである。It is a flowchart explaining the operation | movement procedure when a printer receives a ringing control command.

以下、添付の図面を参照して、本実施形態に係るプリントシステムについて説明する。
本実施形態に係るプリントシステムは、オペレータが簡単に印刷物の発行元を特定するこ
とのできるシステムである。以下、本実施形態では、印刷物としてクーポン券を対象とす
ると共に、報知手段として電子音による鳴動により報知する場合について説明する。
Hereinafter, a print system according to the present embodiment will be described with reference to the accompanying drawings.
The print system according to the present embodiment is a system that allows an operator to easily specify a print issuer. Hereinafter, in the present embodiment, a case will be described in which coupons are targeted as printed matter, and notification is made by ringing with an electronic sound as notification means.

図1は、本発明のプリントシステム1の機器構成を示す図である。同図に示すように本
実施形態のプリントシステム1は、印刷ジョブおよび当該印刷ジョブに対応する鳴動制御
コマンド(報知制御コマンド)を送信する複数のホストコンピュータ2(図1では3台)
と、複数のホストコンピュータ2から受信した印刷ジョブに基づいて印刷を行うと共に、
鳴動制御コマンドに基づいて鳴動する機能を有するプリンタ3と、で構成されている。な
お、複数のホストコンピュータ2とプリンタ3とは、ネットワーク接続されていても良い
し、個々のホストコンピュータ2が独立してプリンタ3と接続されていても良い。
FIG. 1 is a diagram showing a device configuration of a print system 1 according to the present invention. As shown in the figure, the print system 1 of this embodiment includes a plurality of host computers 2 (three in FIG. 1) that transmit a print job and a ringing control command (notification control command) corresponding to the print job.
And printing based on print jobs received from a plurality of host computers 2,
And a printer 3 having a function of ringing based on a ringing control command. The plurality of host computers 2 and the printer 3 may be connected to a network, or each host computer 2 may be connected to the printer 3 independently.

ホストコンピュータ2は、プリンタ3を管理するためのコンピュータであり、各ホスト
コンピュータ2は、プリンタ3に対してそれぞれ印刷ジョブを送信する(印刷指示を出す
)。ホストコンピュータ2は、図示しないPOSアプリケーションなどからクーポン等の
発行要求を受けると、後述する業務アプリケーション31によりその要求に基づいて印刷
ジョブを生成し、各印刷ジョブに対して印刷ジョブIDおよび自身を特定するためのホス
ト情報を付与する。そして、この印刷ジョブIDに基づいて印刷ジョブの管理を行うと共
に、プリンタ3に対し印刷ジョブを送信する。
The host computer 2 is a computer for managing the printer 3, and each host computer 2 transmits a print job to the printer 3 (outputs a print instruction). Upon receiving a coupon issuance request from a POS application (not shown), the host computer 2 generates a print job based on the request by the business application 31 described later, and specifies the print job ID and itself for each print job. Host information for assigning Then, the print job is managed based on the print job ID, and the print job is transmitted to the printer 3.

また、ホストコンピュータ2は、印刷ジョブを生成した後、必要に応じてプリンタ3の
ブザー46(報知手段,図2参照)を鳴動するための鳴動制御コマンドを生成する。この
鳴動制御コマンドには、プリンタ3のブザー46を鳴動させたい印刷ジョブIDと、ブザ
ー46を鳴動させる鳴動タイミング(報知タイミング,印刷開始前/印刷完了後など)お
よび鳴動パターン(報知パターン,詳細は後述)と、ホストコンピュータ2自身を特定す
るためのホスト情報とが定義されている。また、鳴動パターンは各ホストコンピュータ2
で異なるパターンに設定されている。そして、ホストコンピュータ2が、この鳴動制御コ
マンドをプリンタ3に送信することで、設定したタイミングおよび所定の鳴動パターンで
ブザー46を鳴動させることができる。なお、上述のホスト情報は、ホストコンピュータ
2を一意に特定できるものであれば良く、例えば、ホスト名やMACアドレス(Media Ac
cess Control address)などを利用することが考えられる。
Further, after generating the print job, the host computer 2 generates a sound control command for sounding the buzzer 46 (notification means, see FIG. 2) of the printer 3 as necessary. The sound control command includes a print job ID for causing the buzzer 46 of the printer 3 to sound, a sounding timing for sounding the buzzer 46 (notification timing, before starting printing / after printing is completed), and a sounding pattern (notification pattern, details are And host information for specifying the host computer 2 itself are defined. Also, the ringing pattern is the same for each host computer 2
It is set to a different pattern. Then, the host computer 2 transmits the sounding control command to the printer 3 so that the buzzer 46 can sound at the set timing and a predetermined sounding pattern. The host information described above may be anything that can uniquely identify the host computer 2. For example, the host name or MAC address (Media Ac
cess Control address) may be used.

一方、プリンタ3は、複数種のカラーインクを記録材料として使用し、記録媒体である
用紙に画像記録(複数色カラー印刷)を実行し、クーポン等を発券するインクジェット方
式のプリンタ3である。図1に示すように、プリンタ3は、前面上部パネル11aおよび
ケースカバー11bから構成されるプリンタケース11の前面に、左側から順に電源スイ
ッチ12、ロール紙カバー13、装着部開閉カバー14が配置されており、ロール紙カバ
ー13の上方には、ロール紙を排出する用紙排出口15が臨んでいる。また、電源スイッ
チ12の上方には、プリンタ3の状態をオペレータ(ユーザ)に通知する複数のLEDラ
ンプ16が設けられている。ロール紙カバー13の内部には、用紙がロール状に巻回され
たロール紙(図示省略)が装填されており、一方の装着部開閉カバー14の内部には、イ
ンクカートリッジ(図示省略)が装着されている。
On the other hand, the printer 3 is an ink jet printer 3 that uses a plurality of types of color inks as a recording material, performs image recording (multi-color printing) on a recording medium, and issues coupons and the like. As shown in FIG. 1, in the printer 3, a power switch 12, a roll paper cover 13, and a mounting portion opening / closing cover 14 are arranged in this order from the left side on the front surface of a printer case 11 including a front upper panel 11a and a case cover 11b. A paper discharge port 15 for discharging the roll paper faces above the roll paper cover 13. A plurality of LED lamps 16 for notifying the operator (user) of the state of the printer 3 are provided above the power switch 12. The roll paper cover 13 is loaded with roll paper (not shown) in which the paper is wound in a roll shape, and an ink cartridge (not shown) is installed inside one of the mounting portion opening / closing covers 14. Has been.

プリンタ3は、ホストコンピュータ2から印刷ジョブを受信すると、当該印刷ジョブに
基づいて、用紙上に文字や絵柄といった所望の画像をカラー印刷すると共に、用紙排出口
15より印刷済みの用紙(クーポン等)を排出する。また、プリンタ3は、ホストコンピ
ュータ2から鳴動制御コマンドを受信し、当該鳴動制御コマンドに基づいて自身のブザー
46の鳴動を制御する。プリンタ3は、当該印刷ジョブの印刷ジョブIDおよびホスト情
報を含む鳴動制御コマンドに設定されている鳴動タイミング(印刷ジョブの実行開始前、
または実行完了後)および鳴動パターンに基づいてブザー46から電子音を鳴らし(鳴動
)、オペレータに対し印刷処理が開始される旨(あるは、印刷処理が完了した旨)、つま
り用紙排出口15からクーポンが排出される旨(あるいは、クーポンの排出が完了した旨
)をホストコンピュータ2毎に異なる電子音で報知する。電子音による鳴動により報知す
ることで、例えば、オペレータが顧客の対応をしており、プリンタ3を視認することがで
きない場合でも、どのホストコンピュータ2から印刷ジョブの開始/完了が行われたか、
つまり、どの顧客に対してこれからクーポンが発券される、あるいは発券されたかという
ことを容易に把握することができる。
When the printer 3 receives a print job from the host computer 2, based on the print job, the printer 3 performs color printing of a desired image such as a character or a pattern on the paper and prints paper (such as a coupon) printed from the paper discharge port 15. Is discharged. Further, the printer 3 receives the ring control command from the host computer 2 and controls the ring of its own buzzer 46 based on the ring control command. The printer 3 uses the ringing timing set in the ringing control command including the print job ID and host information of the print job (before the execution of the print job,
Alternatively, after the execution is completed, an electronic sound is generated from the buzzer 46 based on the sound pattern (sound), and the printing process is started for the operator (or the printing process is completed), that is, from the paper discharge port 15. The fact that the coupon is discharged (or that the coupon has been discharged) is notified by a different electronic sound for each host computer 2. By notifying by an electronic sound, for example, the host computer 2 has started / completed the print job even when the operator is dealing with the customer and the printer 3 cannot be viewed,
That is, it is possible to easily grasp to which customer a coupon has been issued or has been issued.

なお、印刷ジョブの開始/完了(用紙排出口15からのクーポンの排出状況)を報知す
る手段として、上述のように鳴動制御コマンドを使用してブザー46からの電子音による
鳴動により聴覚的に報知しても良いし、あるいは、上述のLEDランプ16を点灯(明滅
)させて、視覚的に報知するようにしても良い。
In addition, as means for notifying the start / completion of the print job (coupon discharge status from the paper discharge port 15), the sound control command is used as described above, and the sound is sounded by the electronic sound from the buzzer 46 as described above. Alternatively, the above-described LED lamp 16 may be turned on (blink) to visually notify the user.

次に、図2の制御ブロック図を参照して、本発明に係るプリントシステム1を構成する
ホストコンピュータ2およびプリンタ3について説明する。
Next, the host computer 2 and the printer 3 constituting the print system 1 according to the present invention will be described with reference to the control block diagram of FIG.

ホストコンピュータ2は、CPU21(Central Processing Unit)、ROM22(Rea
d Only Memory)、RAM23(Random Access Memory)、HDD24(Hard Disk Drive
)、入力デバイス25および通信インターフェース26を備えている。そして、HDD2
4に記憶された制御プログラムを起動時にRAM23にコピーし、その制御プログラムに
従ってRAM23内などに保存されたデータの処理を行う。また、HDD24には、業務
アプリケーション31およびスプーラ32が記憶されている。
The host computer 2 includes a CPU 21 (Central Processing Unit), a ROM 22 (Rea
d Only Memory), RAM 23 (Random Access Memory), HDD 24 (Hard Disk Drive
), An input device 25 and a communication interface 26. HDD 2
4 is copied to the RAM 23 at the time of startup, and data stored in the RAM 23 or the like is processed according to the control program. The HDD 24 stores a business application 31 and a spooler 32.

CPU21は、業務アプリケーション31を実行し、入力デバイス25からの入力に基
づき所望の鳴動パターンを生成する。鳴動パターンは、周波数、鳴動時間、消音時間、音
量、鳴動回数等の項目からなる。ユーザは、これら項目に対するパラメータを変化させる
ことで、所望の鳴動パターンを生成させることができる(報知パターン設定手段)。この
鳴動パターンは、各ホストコンピュータ2で異なるように設定され、鳴動の違いによりホ
ストコンピュータ2を特定することができる。つまり、1台のプリンタ3を複数のホスト
コンピュータ2で共有する場合、オペレータは、プリンタ3から印刷(出力)されたクー
ポン(印刷物)が、どのホストコンピュータ2から印刷されたものかを判別することがで
きる。
The CPU 21 executes the business application 31 and generates a desired ringing pattern based on the input from the input device 25. The ring pattern includes items such as frequency, ring time, mute time, volume, and number of rings. The user can generate a desired ringing pattern by changing parameters for these items (notification pattern setting means). This ringing pattern is set differently for each host computer 2, and the host computer 2 can be specified by the difference in ringing. That is, when one printer 3 is shared by a plurality of host computers 2, the operator determines from which host computer 2 the coupon (printed material) printed (output) from the printer 3 is printed. Can do.

また、CPU21は、POSアプリケーションなどからクーポンを発券するための情報
(以下、クーポン情報)を受信すると、業務アプリケーション31を実行して当該クーポ
ン情報に基づいて印刷データを生成する。そして、業務アプリケーション31は、印刷要
求と共に生成した印刷データをスプーラ32に送る。スプーラ32では、当該印刷データ
に基づき印刷ジョブを生成すると共に、当該印刷ジョブに対して印刷ジョブIDおよびホ
スト情報を付与する。この印刷ジョブは、印刷ジョブの先頭を示すJobStartコマ
ンド、印刷ジョブIDおよびホスト情報が記載されたJobNameコマンド、印刷デー
タの印刷を指示するJobPrintコマンド、印刷ジョブの最後を示すJobEndコ
マンド等の印刷制御コマンドおよび印刷データから形成される。そして、スプーラ32は
、当該印刷要求の応答として業務アプリケーション31に印刷ジョブIDおよびホスト情
報を通知し、これにより業務アプリケーション31は当該印刷ジョブIDおよびホスト情
報を取得する。また、CPU21は、スプーラ32から通信インターフェース26を介し
て生成した印刷ジョブをプリンタ3に送信する(印刷ジョブ送信手段)。
In addition, when receiving information (hereinafter referred to as coupon information) for issuing a coupon from a POS application or the like, the CPU 21 executes the business application 31 and generates print data based on the coupon information. Then, the business application 31 sends the print data generated together with the print request to the spooler 32. The spooler 32 generates a print job based on the print data and assigns a print job ID and host information to the print job. This print job includes print control commands such as a JobStart command indicating the head of the print job, a JobName command in which the print job ID and host information are described, a JobPrint command instructing printing of print data, and a JobEnd command indicating the end of the print job. And the print data. Then, the spooler 32 notifies the business application 31 of the print job ID and host information as a response to the print request, whereby the business application 31 acquires the print job ID and host information. Further, the CPU 21 transmits a print job generated from the spooler 32 via the communication interface 26 to the printer 3 (print job transmission unit).

業務アプリケーション31は、印刷ジョブIDが所定の印刷ジョブID(例えば、1の
顧客に対して発行される最後のクーポン発行に対する印刷ジョブID)であるか否かを判
別する(印刷ジョブ判別手段)。当該印刷ジョブIDが所定の印刷ジョブIDである場合
、業務アプリケーション31は、上述の鳴動タイミング、鳴動パターン、当該印刷ジョブ
IDおよびホスト情報を関連付けて鳴動制御コマンドを生成する。そして、CPU21は
、業務アプリケーション31のAPIを用い、通信インターフェース26を介して当該鳴
動制御コマンドをプリンタ3に送信する(報知制御コマンド送信手段)。所定の印刷ジョ
ブに関する鳴動制御コマンドのみを送信することで、後述するプリンタ3での所定の印刷
ジョブの開始/完了、つまり、所定のクーポンがこれから発券される/発券された旨のみ
を報知することができると共に、当該クーポンがどのホストコンピュータ2から発券され
る(発券された)のかを報知することができる。例えば、1の顧客に対して複数枚のクー
ポンを発行する場合、最後のクーポンを発行する印刷ジョブの開始/完了を報知すること
で、オペレータは、当該クーポンが当該顧客に対する(当該顧客に対応するホストコンピ
ュータ2から印刷される)最後のクーポンだと判断でき、オペレータは当該最後のクーポ
ンと報知前に発行された全てのクーポンが1の顧客に対するものであると確実に認識する
ことができ、クーポンの渡し忘れなどを防止することができる。
The business application 31 determines whether or not the print job ID is a predetermined print job ID (for example, a print job ID for the last coupon issued to one customer) (print job determination unit). When the print job ID is a predetermined print job ID, the business application 31 generates a ring control command in association with the ring timing, ring pattern, print job ID, and host information. Then, the CPU 21 transmits the ring control command to the printer 3 via the communication interface 26 using the API of the business application 31 (notification control command transmission means). By transmitting only the ringing control command related to a predetermined print job, notification of only the start / completion of a predetermined print job in the printer 3, which will be described later, that is, only that a predetermined coupon is issued / issued And the host computer 2 from which the coupon is issued (issued) can be notified. For example, when issuing a plurality of coupons to one customer, by notifying the start / completion of the print job for issuing the last coupon, the operator can send the coupon to the customer (corresponding to the customer). It can be determined that it is the last coupon (printed from the host computer 2), and the operator can surely recognize that the last coupon and all coupons issued before notification are for one customer. Forgetting to pass can be prevented.

なお、上述の印刷ジョブの送信と鳴動制御コマンドの送信とは非同期に行われ、鳴動制
御コマンドはUDP(User Datagram Protocol)を利用して送信され、印刷ジョブは、T
CP(Transmission Control Protocol)を利用して送信される。これにより、例えば、
印刷ジョブの処理中や、何らかの原因で印刷ジョブの送信が遅延している場合であっても
、印刷ジョブの状況に影響を受けることなく、報知制御コマンドを送信することが可能と
なる。また、これらのデータ(印刷ジョブ、鳴動制御コマンド)は、パケット通信方式で
送信されるため、例えば、印刷ジョブに続いて鳴動制御コマンドを送信する場合は、印刷
ジョブのデータ終了を認識するクローズ処理等が終了した段階で、次の鳴動制御コマンド
のデータの開始を認識するオープン処理等が行われる。つまり、これらの処理に掛かる時
間により、印刷ジョブ実行完了から鳴動制御コマンドの実行が実際に開始されるまでの間
に遅延が生じる。これに対し、本実施形態では、非同期に送信を行うことで、印刷ジョブ
の状況に影響を受けることなく、鳴動制御コマンドを送信することが可能となり、上述の
クローズ処理やオープン処理等のパケット処理の完了を待つ必要がないため、印刷ジョブ
の実行完了から鳴動制御コマンドの実行開始までの間の遅延の発生を防ぐことができる。
Note that the transmission of the print job and the transmission of the ring control command are performed asynchronously, the ring control command is transmitted using User Datagram Protocol (UDP), and the print job is T
It is transmitted using CP (Transmission Control Protocol). For example,
Even when the print job is being processed or when the print job transmission is delayed for some reason, the notification control command can be transmitted without being affected by the status of the print job. In addition, since these data (print job, ringing control command) are transmitted by the packet communication method, for example, when a ringing control command is transmitted following the print job, a close process for recognizing the end of the print job data is performed. When the process is completed, an open process for recognizing the start of data of the next ring control command is performed. In other words, due to the time required for these processes, there is a delay between the completion of the print job execution and the actual execution of the ring control command. On the other hand, in this embodiment, by performing asynchronous transmission, it is possible to transmit a ringing control command without being affected by the status of the print job, and packet processing such as the above-described close processing and open processing. Since there is no need to wait for the completion of the print job, it is possible to prevent a delay from the completion of execution of the print job to the start of execution of the ring control command.

プリンタ3は、CPU41、フラッシュROM42、RAM43、通信インターフェー
ス44、印刷制御部45、用紙搬送機構47、印刷ヘッド48(印刷手段)、ブザー46
(報知手段)およびLEDランプ16を備えている。そして、フラッシュROM42内に
記憶された制御プログラムに従って、RAM43内のデータの処理を行う。
The printer 3 includes a CPU 41, a flash ROM 42, a RAM 43, a communication interface 44, a print control unit 45, a paper transport mechanism 47, a print head 48 (printing means), and a buzzer 46.
(Notification means) and an LED lamp 16 are provided. Then, data in the RAM 43 is processed according to the control program stored in the flash ROM 42.

また、RAM43には、印刷ジョブのジョブ履歴が記録されるジョブ履歴記憶領域51
(ジョブ履歴記憶手段)が設けられ、このジョブ履歴記憶領域51には、既に印刷処理が
完了した印刷ジョブおよび現在印刷処理が開始されている印刷ジョブに対応する印刷ジョ
ブIDおよびホスト情報が記録されている。さらに、RAM43には、実行中の印刷ジョ
ブに対応する印刷ジョブIDおよびホスト情報を記録する印刷ジョブID記憶領域52と
、鳴動制御コマンドを記録するコマンド記憶領域53(記憶手段)が設けられている。ま
た、コマンド記憶領域53は、印刷ジョブの実行開始前に鳴動するように設定された鳴動
制御コマンドを記録する第1コマンド記憶領域53aと、印刷ジョブの実行完了後に鳴動
するように設定された鳴動制御コマンドを記録する第2コマンド記憶領域53bとから構
成されている。
Further, the RAM 43 stores a job history storage area 51 in which the job history of the print job is recorded.
(Job history storage means) is provided, and in this job history storage area 51, a print job ID and host information corresponding to a print job that has already been printed and a print job that has been started are recorded. ing. Further, the RAM 43 is provided with a print job ID storage area 52 for recording a print job ID and host information corresponding to the print job being executed, and a command storage area 53 (storage means) for recording a ring control command. . The command storage area 53 includes a first command storage area 53a that records a ring control command that is set to ring before the start of execution of a print job, and a ring that is set to ring after completion of execution of a print job. It comprises a second command storage area 53b for recording control commands.

CPU41は、通信インターフェース44を介してホストコンピュータ2から鳴動制御
コマンドを受信する(報知制御コマンド受信手段)。この場合、CPU41は、当該鳴動
制御コマンドに含まれる印刷ジョブIDおよびホスト情報が、印刷ジョブID記憶領域5
2に記録されている現在印刷処理中の印刷ジョブの印刷ジョブIDおよびホスト情報と一
致するか否かを判別する(第2報知判別手段)。現在開始されている印刷ジョブの印刷ジ
ョブIDおよびホスト情報と一致する場合、CPU41は、当該鳴動制御コマンドに含ま
れる鳴動タイミングおよび鳴動パターンに基づいて、ブザー46の鳴動を制御する。具体
的には、当該鳴動タイミングが印刷ジョブの実行開始前に設定されている場合、CPU4
1は、鳴動パターンに基づいて、即時にブザー46を鳴動させる。一方、当該鳴動タイミ
ングが印刷ジョブの実行完了後に設定されている場合、CPU41は、鳴動制御コマンド
を第2コマンド記憶領域53bに記録する。
The CPU 41 receives a ring control command from the host computer 2 via the communication interface 44 (notification control command receiving means). In this case, the CPU 41 indicates that the print job ID and host information included in the ring control command are stored in the print job ID storage area 5.
2 is discriminated whether or not it matches the print job ID and host information of the print job currently being printed (2nd notification discriminating means). If the print job ID and host information of the currently started print job match, the CPU 41 controls the ringing of the buzzer 46 based on the ringing timing and ringing pattern included in the ringing control command. Specifically, when the ringing timing is set before the start of execution of the print job, the CPU 4
1 immediately sounds the buzzer 46 based on the ringing pattern. On the other hand, when the ringing timing is set after the execution of the print job is completed, the CPU 41 records the ringing control command in the second command storage area 53b.

一方、現在開始されている印刷ジョブの印刷ジョブIDおよびホスト情報と一致しない
場合(現在開始されている印刷ジョブが存在しない場合も含む)、CPU41は、この鳴
動制御コマンドに含まれる印刷ジョブIDおよびホスト情報がジョブ履歴記憶領域51に
記録されているか否かを判別し(第2報知判別手段)、判別結果に基づいてブザー46の
鳴動を制御する。具体的には、当該印刷ジョブIDおよびホスト情報がジョブ履歴記憶領
域51に記録されていない場合、CPU41は、当該鳴動制御コマンドに含まれる鳴動タ
イミングに基づいて、鳴動制御コマンドを記憶する。つまり、鳴動タイミングが印刷ジョ
ブの実行開始前に設定されていれば当該鳴動制御コマンドを第1コマンド記憶領域53a
に記録し、鳴動タイミングが印刷ジョブの実行完了後に設定されていれば当該鳴動制御コ
マンドを第2コマンド記憶領域53bに記録する。
On the other hand, if it does not match the print job ID and host information of the currently started print job (including the case where there is no currently started print job), the CPU 41 determines the print job ID and It is determined whether or not the host information is recorded in the job history storage area 51 (second notification determination unit), and the ringing of the buzzer 46 is controlled based on the determination result. Specifically, when the print job ID and host information are not recorded in the job history storage area 51, the CPU 41 stores the ring control command based on the ring timing included in the ring control command. That is, if the ringing timing is set before the start of execution of the print job, the ringing control command is sent to the first command storage area 53a.
If the ringing timing is set after execution of the print job is completed, the ringing control command is recorded in the second command storage area 53b.

一方、当該印刷ジョブIDがジョブ履歴記憶領域51に印刷処理完了済みとして記録さ
れている場合、CPU41は、当該鳴動制御コマンドに含まれる鳴動パターンに基づいて
、即時にブザー46を鳴動させる。鳴動制御コマンドの受信に際して、当該鳴動制御コマ
ンドの印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報が存在
するか否かの判別を、現在開始されている印刷ジョブの印刷ジョブIDおよびホスト情報
のみを記録した印刷ジョブID記憶領域52を最初に参照して判別することで、複数の印
刷ジョブIDおよびホスト情報が記録されているジョブ履歴記憶領域51を検索して判別
する場合に比して、素早く判別することができる。つまり、鳴動に係る処理を素早く実行
することができる。これにより、例えば、何らかの理由で報知制御コマンドが遅延した場
合においても、確実にオペレータに対して印刷ジョブが開始された/完了した旨、つまり
クーポン等(印刷物)が発行された、あるいは発行中である旨を伝えることができる。
On the other hand, when the print job ID is recorded in the job history storage area 51 as the completion of the printing process, the CPU 41 immediately sounds the buzzer 46 based on the sound pattern included in the sound control command. Upon reception of the ring control command, it is determined whether or not the same print job ID and host information as the print job ID and host information of the ring control command are present. Compared with the case where the job history storage area 51 in which a plurality of print job IDs and host information are recorded is searched for and discriminated by first determining the print job ID storage area 52 in which only information is recorded. Can be quickly identified. That is, it is possible to quickly execute processing related to ringing. As a result, for example, even when the notification control command is delayed for some reason, the fact that the print job has been started / completed, that is, a coupon or the like (printed matter) has been issued or is being issued to the operator. I can tell you there is.

一方、CPU41は、通信インターフェース44を介してホストコンピュータ2から印
刷ジョブを受信する(印刷ジョブ受信手段)。CPU41は、受信した印刷ジョブの印刷
制御コマンドに基づいて処理を実行する。具体的には、まず、CPU41は、JobSt
artコマンドを解析することで当該印刷ジョブの処理を開始し、続いてJobName
コマンドを解析する。このJobNameコマンドには当該印刷ジョブの印刷ジョブID
およびホスト情報がパラメータとしてセットされており、これにより、CPU41は、当
該印刷ジョブの印刷ジョブIDおよびホスト情報を取得する。CPU41は、このJob
Nameコマンドの解析に伴い、当該印刷ジョブが開始されたことを検出する(印刷ジョ
ブ状況検出手段)と共に、当該印刷ジョブIDおよびホスト情報を印刷ジョブID記憶領
域52およびジョブ履歴記憶領域51に印刷実行開始のステータスで記録する。この検出
をトリガとして、CPU41は、第1コマンド記憶領域53aに当該印刷ジョブの印刷ジ
ョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報を含む鳴動制御コマ
ンドが存在するか否かを判別する(第1報知判別手段)。該当する鳴動制御コマンドが存
在する場合、CPU41は、鳴動制御コマンドに含まれる鳴動パターンに基づいてブザー
46を制御して鳴動させる。また、ブザー46の鳴動終了後、CPU41は、第1コマン
ド記憶領域53aに記憶されている鳴動制御コマンドをクリアする。一方、該当する鳴動
制御コマンドが存在しない場合は、CPU41は、ブザー46による鳴動をすることなく
、下記に示す印刷処理を開始する。
On the other hand, the CPU 41 receives a print job from the host computer 2 via the communication interface 44 (print job receiving means). The CPU 41 executes processing based on the print control command of the received print job. Specifically, first, the CPU 41 executes JobSt.
Processing of the print job is started by analyzing the art command, and then JobName
Parse the command. This JobName command includes the print job ID of the print job.
And host information are set as parameters, whereby the CPU 41 acquires the print job ID and host information of the print job. CPU41, this Job
Along with the analysis of the Name command, the start of the print job is detected (print job status detection means), and the print job ID and host information are printed in the print job ID storage area 52 and the job history storage area 51. Record with start status. Using this detection as a trigger, the CPU 41 determines whether or not a ringing control command including the same print job ID and host information as the print job ID and host information of the print job exists in the first command storage area 53a ( First notification determination means). If there is a corresponding sounding control command, the CPU 41 controls the buzzer 46 to sound based on the sounding pattern included in the sounding control command. Further, after the buzzer 46 has finished ringing, the CPU 41 clears the ringing control command stored in the first command storage area 53a. On the other hand, when there is no corresponding sounding control command, the CPU 41 starts the following printing process without sounding by the buzzer 46.

次に、CPU41は、JobPrintコマンドを解析し、印刷データの印刷を開始す
る。この場合、CPU41は、印刷制御部45に対し、当該印刷データに基づく印刷指示
を出す。印刷指示を受けた印刷制御部45は、当該印刷データに基づいて、用紙搬送機構
47を介してロール紙を搬送しつつ、印刷ヘッド48を駆動してロール紙への印刷を実行
し、用紙排出口15からクーポンを発券する。その後、CPU41は、印刷ジョブ(印刷
制御コマンド)に含まれるJobEndコマンドを解析(処理)し、当該コマンドの解析
が終了することで当該印刷ジョブに係る全ての処理が完了したことを検出する(印刷ジョ
ブ状況検出手段)。
Next, the CPU 41 analyzes the JobPrint command and starts printing the print data. In this case, the CPU 41 issues a print instruction based on the print data to the print control unit 45. Upon receiving the print instruction, the print control unit 45 drives the print head 48 to execute printing on the roll paper while transporting the roll paper via the paper transport mechanism 47 based on the print data, and discharges the paper. A coupon is issued from the exit 15. Thereafter, the CPU 41 analyzes (processes) the JobEnd command included in the print job (print control command), and detects that all the processes related to the print job are completed by completing the analysis of the command (printing). Job status detection means).

この検出結果をトリガとして、CPU41は、第2コマンド記憶領域53bに当該印刷
ジョブの印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報を含
む鳴動制御コマンドが存在するか否かを判別する(第1報知判別手段)。該当する鳴動制
御コマンドが存在する場合、CPU41は、鳴動制御コマンドに含まれる鳴動パターンに
基づいてブザー46を制御して鳴動させると共に、ジョブ履歴記憶領域51を更新して当
該印刷ジョブのステータスを印刷完了にする。また、ブザー46の鳴動終了後、CPU4
1は、コマンド記憶領域53に記憶されている鳴動制御コマンドをクリアする。一方、該
当する鳴動制御コマンドが存在しない場合は、ジョブ履歴記憶領域51を更新し、当該印
刷ジョブのステータスを印刷完了にする。
Using this detection result as a trigger, the CPU 41 determines whether or not a ringing control command including the same print job ID and host information as the print job ID and host information of the print job exists in the second command storage area 53b. (First notification determination means). If there is a corresponding ring control command, the CPU 41 controls the buzzer 46 based on the ring pattern included in the ring control command to make a ring and update the job history storage area 51 to print the status of the print job. Complete. Further, after the buzzer 46 has finished ringing, the CPU 4
1 clears the ringing control command stored in the command storage area 53. On the other hand, if there is no corresponding ringing control command, the job history storage area 51 is updated, and the status of the print job is set to print completion.

ここで図3を参照して、印刷ジョブおよび鳴動制御コマンドを生成する手順について説
明する。まず、ホストコンピュータ2は、クーポン情報を受信すると、当該クーポン情報
に基づいて印刷データを生成する(S01)。次に、ホストコンピュータ2は、生成した
印刷データに基づいて印刷ジョブを生成する(S02)と共に、当該印刷ジョブに印刷ジ
ョブIDおよびホスト情報を付与する(S03)。そして、ホストコンピュータ2は、プ
リンタ3に対して当該印刷ジョブを送信する(S04,印刷ジョブ送信手段)。一方で、
ホストコンピュータ2は、当該印刷ジョブIDが所定の印刷ジョブIDであるか否かを判
別する(S05,印刷ジョブ判別手段)。当該印刷ジョブIDが所定の印刷ジョブIDで
ある場合(S06;Yes)、ホストコンピュータ2は、当該印刷ジョブID、自身のホ
スト情報、ブザー46の鳴動タイミングおよび鳴動パターンを設定した鳴動制御コマンド
を生成する(S07)。この場合、鳴動タイミングには、対応する印刷ジョブの実行開始
前にブザー46を鳴動させるか、あるいは、実行開始後にブザー46を鳴動させるかが設
定されている。そして、ホストコンピュータ2は、この鳴動制御コマンドを、上述の印刷
ジョブの送信とは非同期でプリンタ3に送信し(S08,報知制御コマンド送信手段)、
一連の処理を完了する(S09)。一方、当該印刷ジョブIDが所定の印刷ジョブIDで
ない場合(S06;No)、ホストコンピュータ2は、鳴動制御コマンドを生成すること
なく処理を完了する(S09)。
Here, a procedure for generating a print job and a ringing control command will be described with reference to FIG. First, when receiving the coupon information, the host computer 2 generates print data based on the coupon information (S01). Next, the host computer 2 generates a print job based on the generated print data (S02) and assigns a print job ID and host information to the print job (S03). Then, the host computer 2 transmits the print job to the printer 3 (S04, print job transmission means). On the other hand,
The host computer 2 determines whether the print job ID is a predetermined print job ID (S05, print job determination means). When the print job ID is a predetermined print job ID (S06; Yes), the host computer 2 generates a ring control command that sets the print job ID, its own host information, the ring timing of the buzzer 46, and the ring pattern. (S07). In this case, the sounding timing is set to sound the buzzer 46 before starting execution of the corresponding print job or to sound the buzzer 46 after starting execution. Then, the host computer 2 transmits this ringing control command to the printer 3 asynchronously with the transmission of the above-described print job (S08, notification control command transmission unit).
A series of processing is completed (S09). On the other hand, if the print job ID is not a predetermined print job ID (S06; No), the host computer 2 completes the process without generating a ring control command (S09).

次に、図4を参照して、プリンタ3が印刷ジョブを受信した場合の動作手順について説
明する。まず、プリンタ3は、ホストコンピュータ2から送信された印刷ジョブを受信す
る(S11,印刷ジョブ受信手段)。そして、プリンタ3は、当該印刷ジョブに基づいて
印刷処理を開始する。この場合、プリンタ3は、当該印刷ジョブに含まれるJobNam
eコマンド(または、JobStartコマンド)を受信(解析)することで、印刷ジョ
ブの開始を検出する(S12,印刷ジョブ状況検出手段)。この時、プリンタ3は、印刷
ジョブに含まれる印刷ジョブIDおよびホスト情報を取得し、ジョブ履歴記憶領域51お
よび印刷ジョブID記憶領域52に当該印刷ジョブIDおよびホスト情報を印刷処理開始
のステータスで記録(登録)する(S13)。これと共に、当該印刷ジョブの印刷ジョブ
IDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報を含む鳴動制御コマンド
が、第1コマンド記憶領域53aに存在するか否かを判別する(S14,第1報知判別手
段)。対象となる鳴動制御コマンドが第1コマンド記憶領域53aに存在する場合(S1
5;Yes)、プリンタ3は、当該鳴動制御コマンドの鳴動パターンに基づいてブザー4
6を鳴動させる(S16)。ブザー46の鳴動終了後、プリンタ3は、第1コマンド記憶
領域53aに記録された当該鳴動制御コマンドをクリアする(S17)。そして、プリン
タ3は、引き続き印刷処理を続行し、当該印刷ジョブに基づく一連の印刷処理が完了した
後、ジョブ履歴記憶領域51の当該印刷ジョブIDに対するステータスを印刷処理完了に
更新する(S18)。
Next, an operation procedure when the printer 3 receives a print job will be described with reference to FIG. First, the printer 3 receives a print job transmitted from the host computer 2 (S11, print job receiving means). Then, the printer 3 starts print processing based on the print job. In this case, the printer 3 uses JobNam included in the print job.
By receiving (analyzing) the e command (or JobStart command), the start of the print job is detected (S12, print job status detecting means). At this time, the printer 3 acquires the print job ID and host information included in the print job, and records the print job ID and host information in the job history storage area 51 and the print job ID storage area 52 in a print processing start status. (Register) (S13). At the same time, it is determined whether or not a ringing control command including the same print job ID and host information as the print job ID and host information of the print job exists in the first command storage area 53a (S14, first notification). Discrimination means). When the target ring control command exists in the first command storage area 53a (S1
5; Yes), the printer 3 uses the buzzer 4 based on the ringing pattern of the ringing control command.
6 is sounded (S16). After the buzzer 46 has finished ringing, the printer 3 clears the ringing control command recorded in the first command storage area 53a (S17). Then, the printer 3 continues the printing process, and after the series of printing processes based on the print job is completed, the status for the print job ID in the job history storage area 51 is updated to the completion of the printing process (S18).

一方、対象となる鳴動制御コマンドが第1コマンド記憶領域53aに存在しない場合(
S15;No)、プリンタ3は、引き続き印刷処理を続行し、当該印刷ジョブに基づく一
連の印刷処理が完了したことを検出する(S19,印刷ジョブ状況検出手段)。この検出
をトリガとして、当該印刷ジョブの印刷ジョブIDおよびホスト情報と同一の印刷ジョブ
IDおよびホスト情報を含む鳴動制御コマンドが、第2コマンド記憶領域53bに存在す
るか否かを判別する(S20,第1報知判別手段)。対象となる鳴動制御コマンドが第2
コマンド記憶領域53bに存在する場合(S21;Yes)、プリンタ3は、当該鳴動制
御コマンドの鳴動パターンに基づいてブザー46を鳴動させる(S22)。ブザー46の
鳴動終了後、プリンタ3は、第2コマンド記憶領域53bに記録された鳴動制御コマンド
をクリアする(S23)。そして、プリンタ3は、ジョブ履歴記憶領域51の当該印刷ジ
ョブIDに対するステータスを印刷処理完了に更新する(S18)。一方、対象となる鳴
動制御コマンドが第2コマンド記憶領域53bに存在しない場合(S21;No)、プリ
ンタ3は、ジョブ履歴記憶領域51の当該印刷ジョブIDに対するステータスを印刷処理
完了に更新する(S18)。
On the other hand, when the target ring control command does not exist in the first command storage area 53a (
(S15; No), the printer 3 continues the printing process, and detects that a series of printing processes based on the print job has been completed (S19, print job status detection means). Using this detection as a trigger, it is determined whether or not a ringing control command including the same print job ID and host information as the print job ID and host information of the print job exists in the second command storage area 53b (S20, First notification determination means). The target ring control command is second
If it exists in the command storage area 53b (S21; Yes), the printer 3 sounds the buzzer 46 based on the sound pattern of the sound control command (S22). After the buzzer 46 has finished sounding, the printer 3 clears the sounding control command recorded in the second command storage area 53b (S23). Then, the printer 3 updates the status for the print job ID in the job history storage area 51 to the completion of the printing process (S18). On the other hand, when the target ring control command does not exist in the second command storage area 53b (S21; No), the printer 3 updates the status for the print job ID in the job history storage area 51 to the completion of the printing process (S18). ).

次に、図5および図6を参照して、プリンタ3が鳴動制御コマンドを受信した場合の動
作手順について説明する。まず、プリンタ3は、ホストコンピュータ2から送信された鳴
動制御コマンドを受信する(S31,報知制御コマンド受信手段)。次に、プリンタ3は
、当該鳴動制御コマンドの鳴動タイミングが、印刷ジョブの実行開始前に設定されている
か、印刷ジョブの実行完了後に設定されているかを判別し、その判別結果に基づいて処理
を実行する(S32)。鳴動タイミングが印刷ジョブの実行の開始前に設定されている場
合(S33)、プリンタ3は、受信した鳴動制御コマンドに含まれる印刷ジョブIDおよ
びホスト情報と同一の印刷ジョブIDおよびホスト情報が、印刷ジョブID記憶領域52
に記録されているか否かを判別する(S34,第2報知判別手段)。つまり、鳴動制御コ
マンドに含まれる印刷ジョブIDおよびホスト情報が付与された印刷ジョブが、印刷実行
中であるか否かを判別する。
Next, an operation procedure when the printer 3 receives a ringing control command will be described with reference to FIGS. First, the printer 3 receives the ring control command transmitted from the host computer 2 (S31, notification control command receiving means). Next, the printer 3 determines whether the ringing timing of the ringing control command is set before the start of execution of the print job or after the completion of execution of the print job, and performs processing based on the determination result. Execute (S32). If the ringing timing is set before the start of execution of the print job (S33), the printer 3 prints the same print job ID and host information as the print job ID and host information included in the received ringing control command. Job ID storage area 52
Is recorded (S34, second notification determination means). That is, it is determined whether or not the print job to which the print job ID and the host information included in the ringing control command are assigned is being printed.

印刷ジョブID記憶領域52に対象となる印刷ジョブIDおよびホスト情報が存在する
場合(S35;Yes)、プリンタ3は、鳴動制御コマンドの鳴動パターンに基づいて、
即時にブザー46を鳴動させる(S40)。一方、印刷ジョブID記憶領域52に対象と
なる印刷ジョブIDおよびホスト情報が存在しない場合(S35;No)、プリンタ3は
、ジョブ履歴記憶領域51を検索し、対象となる印刷ジョブIDおよびホスト情報が当該
ジョブ履歴記憶領域51に記録されているか否かを判別する(S36,第2報知判別手段
)。ジョブ履歴記憶領域51に対象となる印刷ジョブIDおよびホスト情報が存在しない
場合(S37;No)、プリンタ3は、鳴動制御コマンドを第1コマンド記憶領域53a
に記録する(S39)。一方、ジョブ履歴記憶領域51に対象となる印刷ジョブIDおよ
びホスト情報が存在する場合(S37;Yes)、プリンタ3は、ジョブ履歴記憶領域5
1に記録されている印刷ジョブIDおよびホスト情報のステータスが「印刷処理完了済み
」であるか否かを判別する。対象となる印刷ジョブIDおよびホスト情報のステータスが
「印刷処理完了済み」以外の場合(S38;No)、鳴動制御コマンドを第1コマンド記
憶領域53aに記録する(S39)。一方、対象となる印刷ジョブIDのステータスが「
印刷処理完了済み」の場合(S38;Yes)、プリンタ3は、鳴動制御コマンドの鳴動
パターンに基づいて、即時にブザー46を鳴動させる(S40)。
When the target print job ID and host information are present in the print job ID storage area 52 (S35; Yes), the printer 3 determines whether or not the ring pattern of the ring control command is used.
The buzzer 46 is immediately activated (S40). On the other hand, when the target print job ID and host information do not exist in the print job ID storage area 52 (S35; No), the printer 3 searches the job history storage area 51, and sets the target print job ID and host information. Is recorded in the job history storage area 51 (S36, second notification determination means). If the target print job ID and host information do not exist in the job history storage area 51 (S37; No), the printer 3 sends a ring control command to the first command storage area 53a.
(S39). On the other hand, when the target print job ID and host information exist in the job history storage area 51 (S37; Yes), the printer 3 stores the job history storage area 5 in the job history storage area 51.
It is determined whether or not the status of the print job ID and host information recorded in 1 is “print processing completed”. When the status of the target print job ID and host information is other than “print processing completed” (S38; No), the ring control command is recorded in the first command storage area 53a (S39). On the other hand, the status of the target print job ID is “
In the case of “print processing completed” (S38; Yes), the printer 3 immediately sounds the buzzer 46 based on the sound pattern of the sound control command (S40).

一方、鳴動タイミングが印刷ジョブの実行の完了後に設定されている場合(S41)、
プリンタ3は、受信した鳴動制御コマンドに含まれる印刷ジョブIDおおびホスト情報と
同一の印刷ジョブIDおよびホスト情報が、印刷ジョブID記憶領域52に記録されてい
るか否かを判別する(S42)。つまり、鳴動制御コマンドに含まれる印刷ジョブIDお
よびホスト情報が付与された印刷ジョブが、印刷処理中であるか否かを判別する。印刷ジ
ョブID記憶領域52に対象となる印刷ジョブIDおよびホスト情報が存在する場合(S
43;Yes)、プリンタ3は、鳴動制御コマンドを第2コマンド記憶領域53bに記録
する(S44)。一方、印刷ジョブID記憶領域52に対象となる印刷ジョブIDおよび
ホスト情報が存在しない場合(S43;No)、プリンタ3は、ジョブ履歴記憶領域51
を検索し、対象となる印刷ジョブIDおよびホスト情報が当該ジョブ履歴記憶領域51に
記録されているか否かを判別する(S45,第2報知判別手段)。ジョブ履歴記憶領域5
1に対象となる印刷ジョブIDおよびホスト情報が存在しない場合(S46;No)、プ
リンタ3は、鳴動制御コマンドを第2コマンド記憶領域53bに記録する(S44)。一
方、ジョブ履歴記憶領域51に対象となる印刷ジョブIDおよびホスト情報が存在する場
合(S46;Yes)、プリンタ3は、ジョブ履歴記憶領域51に記録されている印刷ジ
ョブIDおよびホスト情報のステータスが「印刷処理完了済み」であるか否かを判別する
。対象となる印刷ジョブIDおよびホスト情報のステータスが「印刷処理完了済み」以外
の場合(S47;No)、鳴動制御コマンドを第2コマンド記憶領域53bに記録する(
S44)。一方、対象となる印刷ジョブIDおよびホスト情報のステータスが「印刷処理
完了済み」の場合(S47;Yes)、プリンタ3は、鳴動制御コマンドの鳴動パターン
に基づいて、即時にブザー46を鳴動させる(S48)。
On the other hand, if the ringing timing is set after completion of execution of the print job (S41),
The printer 3 determines whether or not the print job ID and host information identical to the print job ID and host information included in the received ring control command are recorded in the print job ID storage area 52 (S42). That is, it is determined whether or not the print job to which the print job ID and the host information included in the ringing control command are assigned is being printed. When the target print job ID and host information exist in the print job ID storage area 52 (S
43; Yes), the printer 3 records the ring control command in the second command storage area 53b (S44). On the other hand, when the target print job ID and host information do not exist in the print job ID storage area 52 (S43; No), the printer 3 stores the job history storage area 51.
And whether or not the target print job ID and host information are recorded in the job history storage area 51 is determined (S45, second notification determination means). Job history storage area 5
When the target print job ID and host information do not exist in No. 1 (S46; No), the printer 3 records the ring control command in the second command storage area 53b (S44). On the other hand, when the target print job ID and host information exist in the job history storage area 51 (S46; Yes), the printer 3 has the status of the print job ID and host information recorded in the job history storage area 51. It is determined whether or not “print processing has been completed”. When the status of the target print job ID and host information is other than “print processing completed” (S47; No), the ring control command is recorded in the second command storage area 53b (
S44). On the other hand, when the status of the target print job ID and host information is “print processing complete” (S47; Yes), the printer 3 immediately sounds the buzzer 46 based on the sound pattern of the sound control command ( S48).

以上のように、本実施形態によれば、ホストコンピュータ2から、印刷ジョブと共に、
印刷ジョブID、当該ホストコンピュータ2を特定するホスト情報および鳴動パターンを
含む鳴動制御コマンドをプリンタ3に送信する。これらを受信したプリンタ3は、鳴動制
御コマンドを自身の記憶領域(コマンド記憶領域53)に記憶すると共に、印刷ジョブを
実行する。そして、プリンタ3は、印刷ジョブの開始/完了を検出すると、これをトリガ
として、当該印刷ジョブの印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよ
びホスト情報を含む鳴動制御コマンドが記憶領域に存在するか否かを判別する。そして、
記憶領域に当該鳴動制御コマンドが存在した場合、ブザー46により報知する。これによ
り、オペレータは印刷ジョブの開始/完了を把握できるため、例えば、レシートやクーポ
ン等の印刷物の発行処理(印刷ジョブ)が開始された、あるいは完了したことを認識する
ことができる。また、各ホストコンピュータ2に異なる鳴動パターンを設定することで、
1台のプリンタ3を複数のホストコンピュータ2で共有する場合においても、オペレータ
は、プリンタ3から印刷(出力)された印刷物が、どのホストコンピュータ2から印刷さ
れたものかを判別することができる。つまり、オペレータは、当該印刷物がどの顧客に対
する印刷物かを特定できるため、渡し間違え等のトラブルを防止することができる。
As described above, according to the present embodiment, from the host computer 2, together with the print job,
A ring control command including a print job ID, host information for specifying the host computer 2 and a ring pattern is transmitted to the printer 3. Upon receiving these, the printer 3 stores the ring control command in its own storage area (command storage area 53) and executes a print job. When the printer 3 detects the start / completion of the print job, a trigger control command including the same print job ID and host information as the print job ID and host information of the print job is detected in the storage area. It is determined whether or not to do so. And
When the sound control command exists in the storage area, the buzzer 46 notifies the user. Accordingly, since the operator can grasp the start / completion of the print job, for example, it is possible to recognize that the issuing process (print job) of a printed matter such as a receipt or a coupon has been started or completed. Also, by setting different ring patterns for each host computer 2,
Even when one printer 3 is shared by a plurality of host computers 2, the operator can determine from which host computer 2 the printed matter printed (output) from the printer 3 is printed. That is, since the operator can specify to which customer the printed material is a printed material, troubles such as mistakes in delivery can be prevented.

なお、本実施形態では、ホストコンピュータ2側で鳴動パターンを生成し、この鳴動パ
ターンをプリンタ3に送信することでブザー46の鳴動を実現しているが、これに限らず
、プリンタ3側で、予め複数の鳴動パターンを記憶しておき、ホストコンピュータ2から
プリンタ3に対して鳴動パターンを指定する情報のみを送信してブザー46を鳴動させる
ようにしても良い。これにより、鳴動パターンそのものの送信が不要となり、鳴動パター
ンの送信に係るトラフィックを削減することができる。この場合、この鳴動パターンを記
録する記憶手段(報知パターン記憶手段)は、図2に示すフラッシュROM42に相当す
る。
In the present embodiment, a ringing pattern is generated on the host computer 2 side, and the ringing pattern is transmitted to the printer 3 to realize the ringing of the buzzer 46. However, the present invention is not limited to this. A plurality of ringing patterns may be stored in advance, and only the information specifying the ringing pattern may be transmitted from the host computer 2 to the printer 3 to ring the buzzer 46. Thereby, transmission of the ringing pattern itself becomes unnecessary, and traffic related to transmission of the ringing pattern can be reduced. In this case, the storage means (notification pattern storage means) for recording the ringing pattern corresponds to the flash ROM 42 shown in FIG.

また、各ホストコンピュータ2の鳴動パターンを異なるものに設定する方法として、プ
リンタ3側に、その時点で各ホストコンピュータ2により使用されている鳴動パターンを
登録(記録)しておき、任意のホストコンピュータ2からプリンタ3に対してコマンドを
送信することで、プリンタ3に登録されている鳴動パターンの応答を得るようにしても良
い。これにより、ユーザは、ホストコンピュータ2に他のホストコンピュータ2と異なる
鳴動パターンを容易に設定することができる。
Further, as a method for setting the ringing pattern of each host computer 2 to be different, the ringing pattern used by each host computer 2 at that time is registered (recorded) on the printer 3 side, and an arbitrary host computer is set. 2 may transmit a command to the printer 3 to obtain a response to the ringing pattern registered in the printer 3. As a result, the user can easily set a ringing pattern different from that of the other host computers 2 in the host computer 2.

また、プリンタ3にホスト情報と、ホスト情報毎に異なる鳴動パターンとを関連付けて
登録(記録)しておき、プリンタ3は、ホストコンピュータ2から送信されるホスト情報
によって当該ホストコンピュータ2を判別し、関連付けられた鳴動パターンで鳴動するよ
うにしても良い。また、鳴動タイミングについても、上記のホスト情報や鳴動パターンと
関連付けて、プリンタ3に登録するようにしても良い。
Also, the host 3 is registered (recorded) in association with the printer 3 in association with the host information and the ringing pattern that differs for each host information, and the printer 3 determines the host computer 2 based on the host information transmitted from the host computer 2, You may make it ring with the ringing pattern linked | related. The ringing timing may also be registered in the printer 3 in association with the host information and ringing pattern.

また、本実施形態では、所定の印刷ジョブが開始した場合に、ブザー46を鳴動してそ
の開始/完了を報知するようにしているが、これに限らず、全ての印刷ジョブに対して、
各印刷ジョブの開始/完了を報知するようにしても良い。
In this embodiment, when a predetermined print job is started, the buzzer 46 is sounded to notify the start / completion. However, the present invention is not limited to this. For all print jobs,
The start / completion of each print job may be notified.

また、本実施形態では、印刷ジョブの実行開始前、あるいは実行完了後のいずれかの時
点でブザー46の鳴動するように記載しているが、これは、あくまでも1例であり、実行
開始前および実行完了後の両時点でブザー46を鳴動させるようにしても良いし、実行開
始前から実行完了後までの間、ブザー46を鳴動させるようにしても良い。
Further, in this embodiment, it is described that the buzzer 46 sounds at any time before the start of execution of the print job or after the completion of the execution. However, this is only an example. The buzzer 46 may be sounded at both time points after the completion of execution, or the buzzer 46 may be sounded between before the execution is started and after the execution is completed.

また、本実施形態では、対象となる印刷物としてクーポンを例に挙げて説明したが、こ
れに限定するものではない。
In the present embodiment, the coupon is described as an example of the printed matter to be a target, but the present invention is not limited to this.

また、上記の例に示した、ホストコンピュータ2およびプリンタ3の機能をプログラム
として提供することも可能である。また、そのプログラムを記憶媒体(図示省略)に格納
して提供することも可能である。記録媒体としては、CD−ROM、フラッシュROM、
メモリカード(コンパクトフラッシュ(登録商標)、スマートメディア、メモリースティ
ック等)、コンパクトディスク、光磁気ディスク、デジタルバーサタイルディスクおよび
フレキシブルディスク等を利用することができる。
It is also possible to provide the functions of the host computer 2 and the printer 3 shown in the above example as programs. It is also possible to provide the program stored in a storage medium (not shown). Recording media include CD-ROM, flash ROM,
Memory cards (compact flash (registered trademark), smart media, memory stick, etc.), compact discs, magneto-optical discs, digital versatile discs, flexible discs, and the like can be used.

また、上述した実施例によらず、プリントシステム1の装置構成や処理工程等について
、本発明の要旨を逸脱しない範囲で、適宜変更も可能である。
Further, regardless of the above-described embodiments, the apparatus configuration, processing steps, and the like of the printing system 1 can be appropriately changed without departing from the gist of the present invention.

1…プリントシステム 2…ホストコンピュータ 3…プリンタ 42…フラッシュR
OM 46…ブザー 48…印刷ヘッド 51…ジョブ履歴記憶領域 53…コマンド記
憶領域。
1 ... Print system 2 ... Host computer 3 ... Printer 42 ... Flash R
OM 46 ... buzzer 48 ... print head 51 ... job history storage area 53 ... command storage area.

本発明は、数のホストコンピュータから送信される印刷ジョブに基づき印刷を実行するプリンタと、ログラムに関するものである。 The present invention includes a printer for executing printing based on the print job sent from multiple host computers, to a program.

これを用いることにより、オペレータが簡単に印刷物の発行元を特定することができるプリントシステムを提供することができる。
また、本発明は下記のように適用できる。
(適用例1)
ストコンピュータと接続可能なプリンタであって、
前記ホストコンピュータから送信される印刷ジョブIDとホスト情報を含む印刷ジョブを受信する印刷ジョブ受信手段と、
受信した前記印刷ジョブに含まれるータに基づいて印刷を行う印刷手段と、
前記ホストコンピュータから送信される印刷ジョブIDとホスト情報を含む報知制御コマンドを受信する報知制御コマンド受信手段と、
受信した前記報知制御コマンドを記憶する記憶手段と、
受信した前記印刷ジョブに係る処理の状況を検出する印刷ジョブ状況検出手段と、
前記印刷ジョブ状況検出手段による検出結果に基づき、前記記憶手段に、受信した前記印刷ジョブの印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報を含む前記報知制御コマンドが存在するか否かを判別する第1報知判定手段と、
前記第1報知判別手段による判別の結果、前記記憶手段に前記印刷ジョブIDおよび前記ホスト情報含む前記報知制御コマンドが存在した場合に報知を行い、前記第1報知判別手段による判別の結果、前記記憶手段に前記印刷ジョブIDおよび前記ホスト情報含む前記報知制御コマンドが存在しない場合には報知を行わない報知手段と、を備えたことを特徴とするプリンタ
(適用例2)
前記報知制御コマンドは、
前記報知手段による報知タイミングを規定した情報をさらに有したことを特徴とする適用例1に記載のプリンタ
(適用例
前記記憶手段は、前記印刷ジョブの実行開始前を規定する前記報知タイミングを含む前記報知制御コマンドを記憶する第1コマンド記憶領域と、前記印刷ジョブの実行完了後を規定する前記報知タイミングを含む前記報知制御コマンドを記憶する第2コマンド記憶領域とを有し、
前記印刷ジョブ状況検出手段が、前記印刷ジョブの開始を検出し、前記第1報知判別手段が、前記第1コマンド記憶領域に前記印刷ジョブの印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報を含む前記報知制御コマンドが存在していると判別した場合には、前記報知手段が報知を行い、
前記印刷ジョブ状況検出手段が、前記印刷ジョブの完了を検出し、前記第1報知判別手段が、前記第2コマンド記憶領域に前記印刷ジョブの印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報を含む前記報知制御コマンドが存在していると判別した場合には、前記報知手段が報知を行うことを特徴とする適用例2に記載のプリンタ。
(適用例
ホストコンピュータと接続可能なプリンタであって、
前記ホストコンピュータから送信される印刷ジョブIDとホスト情報を含む印刷ジョブを受信する印刷ジョブ受信手段と、
受信した前記印刷ジョブに含まれるデータに基づいて印刷を行う印刷手段と、
前記ホストコンピュータから送信される印刷ジョブIDとホスト情報を含む報知制御コマンドを受信する報知制御コマンド受信手段と、
受信した前記報知制御コマンドを記憶する記憶手段と、
少なくとも印刷処理が完了した印刷ジョブの印刷ジョブIDおよびホスト情報を記憶するジョブ履歴記憶手段と、
前記報知制御コマンド受信手段が前記報知制御コマンドを受信したとき、当該報知制御コマンドに含まれる印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報が、前記ジョブ履歴記憶手段に記録されているか否かを判別する第2報知判別手段と、を備え、
前記報知手段は、前記第2報知判定手段により前記印刷ジョブIDおよび前記ホスト情報が存在したと判別したとき報知を行い、存在しないと判別したときは報知を行わないことを特徴とするリンタ。
(適用例
前記報知制御コマンドは、
前記報知手段による報知タイミングを規定した情報をさらに有したことを特徴とする適用例4に記載のプリンタ。
(適用例6)
印刷処理を実行中の印刷ジョブの印刷ジョブIDおよびホスト情報を記憶する印刷ジョブID領域を有し、
前記報知制御コマンド受信手段が前記印刷ジョブの実行開始前を規定する前記報知タイミングを含む報知制御コマンドを受信したとき、第2報知判別手段は当該報知制御コマンドに含まれる印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報が前記印刷ジョブID領域に記録されているか否かを判別し、
前記報知手段は、前記第2報知判定手段により前記印刷ジョブIDおよび前記ホスト情報が存在したと判別したとき、報知を行うことを特徴とする適用例5に記載のプリンタ。
(適用例
プリンタの制御部を、適用例1ないしのいずれかに記載の記プリンタの各手段として機能させるためのプログラム。

By using this, it is possible to provide a printing system that allows the operator to easily specify the issuer of the printed matter.
Further, the present invention can be applied as follows.
(Application example 1)
A can be connected printer with the host computer,
Print job receiving means for receiving a print job including a print job ID and host information transmitted from the host computer ;
A printing unit that performs printing based on data included in the received the print job,
Notification control command receiving means for receiving a notification control command including a print job ID and host information transmitted from the host computer ;
Storage means for storing the received notification control command;
Print job status detection means for detecting the status of processing relating to the received print job;
Based on the detection result of the print job status detecting means, in said storage means, whether or not the notification control command including the received print job ID and the host information same print job ID and the host information and the print job is present First notification determination means for determining
As a result of determination by the first notification determination unit, notification is performed when the notification control command including the print job ID and the host information exists in the storage unit, and as a result of determination by the first notification determination unit, the storage printer, characterized in that it and a notification unit does not perform notification if the notification control command including the print job ID and the host information to the unit is not present.
(Application example 2)
The notification control command is:
The printer according to application example 1, further comprising information defining a notification timing by the notification unit.
(Application example 3 )
The storage means includes a first command storage area that stores the notification control command including the notification timing that defines before the start of execution of the print job, and the notification timing that defines after completion of execution of the print job. A second command storage area for storing a notification control command;
The print job status detection unit detects the start of the print job, and the first notification determination unit stores the same print job ID and host information as the print job ID and host information of the print job in the first command storage area. When it is determined that the notification control command including information exists, the notification unit performs notification,
The print job status detection unit detects completion of the print job, and the first notification determination unit stores the same print job ID and host information as the print job ID and host information of the print job in the second command storage area. The printer according to Application Example 2, wherein when it is determined that the notification control command including information is present, the notification unit performs notification.
(Application example 4 )
A printer connectable to a host computer,
Print job receiving means for receiving a print job including a print job ID and host information transmitted from the host computer;
Printing means for performing printing based on the data included in the received print job;
Notification control command receiving means for receiving a notification control command including a print job ID and host information transmitted from the host computer;
Storage means for storing the received notification control command;
Job history storage means for storing at least a print job ID and host information of a print job for which print processing has been completed;
When the notification control command receiving unit receives the notification control command, is the same print job ID and host information as the print job ID and host information included in the notification control command recorded in the job history storage unit? Second notification determining means for determining whether or not,
The notifying unit performs notification when the second notification determining unit determines that the print job ID and the host information exist, and does not perform notification when determining that the print job ID and the host information do not exist.
(Application example 5 )
The notification control command is:
The printer according to application example 4, further comprising information defining a notification timing by the notification unit.
(Application example 6)
A print job ID area for storing print job ID and host information of a print job that is executing print processing;
When the notification control command receiving unit receives a notification control command including the notification timing that defines the start of execution of the print job, the second notification determination unit includes the print job ID and host information included in the notification control command. Determining whether the same print job ID and host information are recorded in the print job ID area;
The printer according to Application Example 5, wherein the notification unit performs notification when the second notification determination unit determines that the print job ID and the host information exist.
(Application example 7 )
The control unit of the printer, the program to function as each unit of the previous SL printer according to any one of application examples 1 to 6.

Claims (6)

複数のホストコンピュータと、
前記複数のホストコンピュータと接続され、前記複数のホストコンピュータから受信し
た印刷データに基づいて印刷を行うと共に報知機能を有するプリンタと、から成るプリン
トシステムであって、
前記ホストコンピュータは、
前記プリンタに、前記印刷データを含む印刷ジョブを送信する印刷ジョブ送信手段と、
報知回数、報知時間、報知間隔などの報知パターンを設定する報知パターン設定手段と

前記印刷ジョブ送信手段と非同期で動作し、前記プリンタに、前記印刷ジョブに対応す
る印刷ジョブID、前記ホストコンピュータ自身を特定するホスト情報および前記報知パ
ターン設定手段により設定された前記報知パターンを含む報知制御コマンドを送信する報
知制御コマンド送信手段と、を備え、
前記プリンタは、
前記印刷ジョブを受信する印刷ジョブ受信手段と、
受信した前記印刷ジョブに含まれる前記印刷データに基づいて印刷を行う印刷手段と、
前記報知制御コマンドを受信する報知制御コマンド受信手段と、
受信した前記報知制御コマンドを記憶する記憶手段と、
前記印刷ジョブに含まれる所定のデータまたはコマンドを検出する印刷ジョブ状況検出
手段と、
前記印刷ジョブ状況検出手段による検出をトリガとして、前記記憶手段に、前記印刷ジ
ョブの印刷ジョブIDおよびホスト情報と同一の印刷ジョブIDおよびホスト情報を含む
前記報知制御コマンドが存在するか否かを判別する第1報知判定手段と、
前記第1報知判別手段による判別の結果、前記印刷ジョブIDおよび前記ホスト情報含
む前記報知制御コマンドが存在した場合に、当該報知制御コマンドに含まれる前記報知パ
ターンに基づいて報知する報知手段と、を備えたことを特徴とするプリントシステム。
Multiple host computers,
A printer system connected to the plurality of host computers and configured to perform printing based on print data received from the plurality of host computers and having a notification function;
The host computer
Print job transmission means for transmitting a print job including the print data to the printer;
Notification pattern setting means for setting a notification pattern such as the number of notifications, notification time, notification interval, and the like;
A notification that operates asynchronously with the print job transmission unit, and that includes a print job ID corresponding to the print job, host information for identifying the host computer itself, and the notification pattern set by the notification pattern setting unit. A notification control command transmitting means for transmitting a control command,
The printer is
Print job receiving means for receiving the print job;
Printing means for performing printing based on the print data included in the received print job;
Notification control command receiving means for receiving the notification control command;
Storage means for storing the received notification control command;
Print job status detection means for detecting predetermined data or commands included in the print job;
Using the detection by the print job status detection unit as a trigger, it is determined whether or not the notification control command including the same print job ID and host information as the print job ID and host information of the print job exists in the storage unit First notification determination means for performing,
As a result of determination by the first notification determination unit, when there is the notification control command including the print job ID and the host information, notification unit that notifies based on the notification pattern included in the notification control command; A printing system characterized by comprising.
前記報知制御コマンドは、
前記報知手段による報知タイミングを規定した情報をさらに有したことを特徴とする請
求項1に記載のプリントシステム。
The notification control command is:
The print system according to claim 1, further comprising information defining a notification timing by the notification unit.
前記プリンタは、
前記印刷ジョブの実行履歴を記憶するジョブ履歴記憶手段と、
前記報知制御コマンドを受信したとき、当該報知制御コマンドに含まれる印刷ジョブI
Dおよびホスト情報と同一の印刷ジョブIDおよびホスト情報が、前記ジョブ履歴記憶手
段に記録されているか否かを判別する第2報知判別手段と、をさらに備え、
前記報知手段は、前記第2報知判定手段により前記印刷ジョブIDおよび前記ホスト情
報が存在したと判定したとき、即時に報知することを特徴とする請求項1または2に記載
のプリントシステム。
The printer is
Job history storage means for storing an execution history of the print job;
When the notification control command is received, the print job I included in the notification control command is received.
A second notification determining means for determining whether or not the same print job ID and host information as D and host information are recorded in the job history storage means;
3. The printing system according to claim 1, wherein the notification unit immediately notifies when the second notification determination unit determines that the print job ID and the host information exist. 4.
前記ホストコンピュータは、
所定の条件を満たす前記印刷ジョブを判別する印刷ジョブ判別手段をさらに備え、
前記報知制御コマンド送信手段は、前記所定の印刷ジョブに対応する前記報知制御コマ
ンドのみを前記プリンタに送信することを特徴とする請求項1ないし3のいずれか1項に
記載のプリントシステム。
The host computer
A print job determining means for determining the print job that satisfies a predetermined condition;
4. The printing system according to claim 1, wherein the notification control command transmission unit transmits only the notification control command corresponding to the predetermined print job to the printer. 5.
前記報知手段は、電子音を発生することにより報知を行なうことを特徴とする請求項1
ないし4のいずれか1項に記載のプリントシステム。
2. The notification means performs notification by generating an electronic sound.
5. The printing system according to any one of items 4 to 4.
コンピュータを、請求項1ないし5のいずれか1項に記載のプリントシステムにおける
前記ホストコンピュータまたは前記プリンタの各手段として機能させるためのプログラム
A program for causing a computer to function as each unit of the host computer or the printer in the print system according to any one of claims 1 to 5.
JP2012003020A 2012-01-11 2012-01-11 Printer and program Expired - Fee Related JP5131398B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012003020A JP5131398B2 (en) 2012-01-11 2012-01-11 Printer and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012003020A JP5131398B2 (en) 2012-01-11 2012-01-11 Printer and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007223564A Division JP4946735B2 (en) 2007-08-30 2007-08-30 Printing system and program

Publications (2)

Publication Number Publication Date
JP2012136023A true JP2012136023A (en) 2012-07-19
JP5131398B2 JP5131398B2 (en) 2013-01-30

Family

ID=46673863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012003020A Expired - Fee Related JP5131398B2 (en) 2012-01-11 2012-01-11 Printer and program

Country Status (1)

Country Link
JP (1) JP5131398B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016207151A (en) * 2015-04-28 2016-12-08 京セラドキュメントソリューションズ株式会社 Electronic apparatus and notification program

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07101109A (en) * 1993-09-30 1995-04-18 Canon Inc Printer and controller method therefor
JPH10326167A (en) * 1997-03-25 1998-12-08 Seiko Epson Corp Print system, printer and printer control device, and printer control method
JP2000203124A (en) * 1999-01-14 2000-07-25 Star Micronics Co Ltd Printer and print system
JP2001166904A (en) * 1999-12-07 2001-06-22 Seiko Epson Corp Printing device and its controlling method the same and information recording medium
JP2003288179A (en) * 2002-03-27 2003-10-10 Brother Ind Ltd Printer and printing method
JP2003303070A (en) * 2002-04-11 2003-10-24 Canon Inc Peripheral device, job management method, computer- readable storage medium and program
JP2003330635A (en) * 2002-05-13 2003-11-21 Canon Inc Network printing system
JP2004001408A (en) * 2002-03-29 2004-01-08 Canon Inc Printing controller, method of controlling printing, and printing system
JP2006023830A (en) * 2004-07-06 2006-01-26 Canon Inc Output completion notification system, output controller, control program and storage medium
JP2006094127A (en) * 2004-09-24 2006-04-06 Fuji Xerox Co Ltd Notification method, interruption inhibition method, interruption control method, job processor, and user terminal
JP2007034616A (en) * 2005-07-26 2007-02-08 Kyocera Mita Corp Image data output device
JP2007196594A (en) * 2006-01-27 2007-08-09 Seiko Epson Corp Printer and its control method
JP2007241414A (en) * 2006-03-06 2007-09-20 Fuji Xerox Co Ltd Printing system, printer, printer driver, and printing control method
JP2009059020A (en) * 2007-08-30 2009-03-19 Seiko Epson Corp Print system and program
JP2009059019A (en) * 2007-08-30 2009-03-19 Seiko Epson Corp Print system and program

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07101109A (en) * 1993-09-30 1995-04-18 Canon Inc Printer and controller method therefor
JPH10326167A (en) * 1997-03-25 1998-12-08 Seiko Epson Corp Print system, printer and printer control device, and printer control method
JP2000203124A (en) * 1999-01-14 2000-07-25 Star Micronics Co Ltd Printer and print system
JP2001166904A (en) * 1999-12-07 2001-06-22 Seiko Epson Corp Printing device and its controlling method the same and information recording medium
JP2003288179A (en) * 2002-03-27 2003-10-10 Brother Ind Ltd Printer and printing method
JP2004001408A (en) * 2002-03-29 2004-01-08 Canon Inc Printing controller, method of controlling printing, and printing system
JP2003303070A (en) * 2002-04-11 2003-10-24 Canon Inc Peripheral device, job management method, computer- readable storage medium and program
JP2003330635A (en) * 2002-05-13 2003-11-21 Canon Inc Network printing system
JP2006023830A (en) * 2004-07-06 2006-01-26 Canon Inc Output completion notification system, output controller, control program and storage medium
JP2006094127A (en) * 2004-09-24 2006-04-06 Fuji Xerox Co Ltd Notification method, interruption inhibition method, interruption control method, job processor, and user terminal
JP2007034616A (en) * 2005-07-26 2007-02-08 Kyocera Mita Corp Image data output device
JP2007196594A (en) * 2006-01-27 2007-08-09 Seiko Epson Corp Printer and its control method
JP2007241414A (en) * 2006-03-06 2007-09-20 Fuji Xerox Co Ltd Printing system, printer, printer driver, and printing control method
JP2009059020A (en) * 2007-08-30 2009-03-19 Seiko Epson Corp Print system and program
JP2009059019A (en) * 2007-08-30 2009-03-19 Seiko Epson Corp Print system and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016207151A (en) * 2015-04-28 2016-12-08 京セラドキュメントソリューションズ株式会社 Electronic apparatus and notification program

Also Published As

Publication number Publication date
JP5131398B2 (en) 2013-01-30

Similar Documents

Publication Publication Date Title
US8654373B2 (en) Printing system, printer, host computer, printing system control method, and program
JP4946735B2 (en) Printing system and program
US7999954B2 (en) Methods and devices for host error detection by a printer
JP2010042630A (en) Printer, control method of printer, and printing system
JP2012212330A (en) Image recorder, portable terminal, image recording system and program
JP2011018977A (en) Image forming apparatus, control method, and program
JP2006318158A (en) Printing system, pos system, connection device, control method for printing system and program therefor
JP4952445B2 (en) Printing system and program
JP5131398B2 (en) Printer and program
JP4952446B2 (en) Printing system and program
JP5477398B2 (en) Printing system control method
JP5549689B2 (en) Print system control method, print system, and POS system
US20150331646A1 (en) Receipt Printing System, Control Method Of A Receipt Printing System, And Control Device
US9058133B2 (en) Control device, control method for a control device, and recording medium
JP6200353B2 (en) Self-checkout device and its control program
KR20070053027A (en) System for discriminating whether customer replaceable unit is the honest goods and method therefor
JP2005148840A (en) Server device and network system
JP2010131844A (en) Image forming device
JP2009110470A (en) Printer and program
JP2007326267A (en) Image forming apparatus, method for controlling image forming apparatus, and program used therein
JP2007065723A (en) Print system and print management program
JP2006317526A (en) Image forming apparatus
JPH11147647A (en) Image forming device, image forming system and paper discharge method for image forming device
JP2011073180A (en) Print control apparatus and method, and program
JP2003300362A (en) Printer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120822

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121022

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

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5131398

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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