JP5477398B2 - Printing system control method - Google Patents

Printing system control method Download PDF

Info

Publication number
JP5477398B2
JP5477398B2 JP2012014993A JP2012014993A JP5477398B2 JP 5477398 B2 JP5477398 B2 JP 5477398B2 JP 2012014993 A JP2012014993 A JP 2012014993A JP 2012014993 A JP2012014993 A JP 2012014993A JP 5477398 B2 JP5477398 B2 JP 5477398B2
Authority
JP
Japan
Prior art keywords
print job
control command
printer
print
job
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.)
Expired - Fee Related
Application number
JP2012014993A
Other languages
Japanese (ja)
Other versions
JP2012099144A (en
Inventor
賢一 村橋
圭吾 江尻
利明 小池
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 JP2012014993A priority Critical patent/JP5477398B2/en
Publication of JP2012099144A publication Critical patent/JP2012099144A/en
Application granted granted Critical
Publication of JP5477398B2 publication Critical patent/JP5477398B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

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

従来、ホストコンピュータとプリンタとを接続し、ホストコンピュータで生成した印刷
データをプリンタに送信して印刷処理を行うシステムが知られている。例えば、スーパー
マーケットや小売店等で使用される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システムでは、オペレータはどの時点でレシートや
クーポンの印刷処理が完了するのか判断することができない。特に、クーポン等は、指定
された商品のみに基づいて発行されることが多いため、オペレータが、最終的に何枚のク
ーポンが発行されるのかを把握し、いつ印刷処理が完了するかを判断することは困難であ
る。このため、顧客が多く時間的に余裕のない場合などには、オペレータは、印刷処理が
完了する前、特に用紙のカットが行われる前にレシートやクーポンを取り出そうとし、結
果的にレシートやクーポンを引きちぎってしまう場合がある。これにより、プリンタの紙
詰まりが発生するため、この復旧作業が完了するまでの間、印刷サービスが停止してしま
い、レシートやクーポンの発行ができなくなるという問題がある。
However, in the POS system as described above, the operator cannot determine when the receipt or coupon printing process is completed. In particular, coupons are often issued based only on the specified product, so the operator knows how many coupons will eventually be issued and determines when the printing process will be completed. It is difficult to do. For this reason, when there are many customers and there is not enough time, the operator tries to take out the receipt or coupon before the printing process is completed, especially before the paper is cut. It may tear off. As a result, a paper jam of the printer occurs, and there is a problem that the printing service is stopped until the restoration operation is completed, and a receipt or coupon cannot be issued.

本発明は、上記の問題に鑑みたものであり、オペレータが簡単に印刷処理の完了を認識
することのできるプリントシステムおよびプログラムを提供することを目的とする。
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 recognize completion of print processing.

本発明のプリントシステムの制御方法は、印刷要求に基づいて、印刷データ、印刷制御コマンド、及び印刷ジョブID有する印刷ジョブを生成するともに、印刷ジョブIDを含む報知制御コマンドをホストコンピュータで生成し、生成された印刷ジョブと報知制御コマンドとを非同期で、ホストコンピュータからプリンタに送信し、プリンタは印刷ジョブと報知制御コマンドとを非同期で受信し、印刷ジョブをプリンタで受信すると、印刷ジョブに基づく印刷を実行するとともに、印刷ジョブに含まれる印刷ジョブIDを取得し、報知制御コマンドをプリンタで受信すると、送信された報知制御コマンドを、プリンタの記憶手段で記憶し、印刷ジョブに基づく印刷の実行が完了して印刷物が発行されたときに、取得された印刷ジョブIDと一致する印刷ジョブIDを有する報知制御コマンドが記憶手段に記憶されているか否かを判別し、印刷ジョブに含まれた印刷ジョブIDと一致する印刷ジョブIDを有する報知制御コマンドが記憶手段に存在している場合、プリンタの報知手段で報知させることを特徴とする。
また、本発明のプリントシステムは、印刷データ、印刷制御コマンド、及び印刷ジョブID有する印刷ジョブと印刷ジョブIDを含む報知制御コマンドとを生成する制御部、印刷ジョブを送信する印刷ジョブ送信部、及び印刷ジョブと非同期で報知制御コマンドを送信する報知制御コマンド送信部を有するホストコンピュータと、ホストコンピュータから送信された報知制御コマンドを記憶する記憶手段、印刷ジョブに基づいて印刷を実行する印刷手段、報知制御コマンドに基づいて報知する報知手段、印刷手段により印刷ジョブに基づく印刷の実行が完了して印刷物が発行されたときに印刷ジョブに含まれる印刷ジョブIDと一致する印刷ジョブIDを有する報知制御コマンドが記憶手段に記憶されているか否かを判別する報知判定手段、及び報知判定手段で印刷ジョブに含まれた印刷ジョブIDと一致する印刷ジョブIDを有する報知制御コマンドが記憶手段に存在している場合に報知手段に報知させる制御部を有するプリンタと、を有することを特徴とする。
The print system control method of the present invention generates a print job having print data, a print control command, and a print job ID based on a print request, and generates a notification control command including the print job ID in a host computer. The generated print job and notification control command are asynchronously transmitted from the host computer to the printer. The printer receives the print job and notification control command asynchronously, and receives the print job at the printer. When the print job ID included in the print job is acquired and the notification control command is received by the printer, the transmitted notification control command is stored in the storage unit of the printer, and printing based on the print job is executed. when the printed matter is completed is issued, the print job ID and the one obtained It is determined whether or not a notification control command having a print job ID to be stored is stored in the storage unit, and a notification control command having a print job ID that matches the print job ID included in the print job exists in the storage unit. If it is, the notification means of the printer is notified.
The print system of the present invention includes a control unit that generates print data, a print control command, a print job having a print job ID, and a notification control command including the print job ID, a print job transmission unit that transmits the print job, and A host computer having a notification control command transmission unit that transmits a notification control command asynchronously with a print job, a storage unit that stores the notification control command transmitted from the host computer, a printing unit that executes printing based on the print job, and a notification Notification means for notifying based on a control command, notification control command having a print job ID that matches a print job ID included in the print job when printing based on the print job is completed by the printing means and a printed matter is issued Notification determination means for determining whether or not is stored in the storage means, And a printer having a control unit that informs the notification means when a notification control command having a print job ID that matches the print job ID included in the print job is present in the storage means. It is characterized by.

この構成によれば、ホストコンピュータから、印刷データを含む印刷ジョブと、報知指
令を含む報知制御コマンドと、を非同期でプリンタに送信する。これらを受信したプリン
タは、報知制御コマンドを自身の記憶領域(記憶手段)に記憶すると共に、印刷ジョブを
実行する。そして、プリンタは、印刷ジョブが完了したことを検出すると、これをトリガ
として、当該印刷ジョブの印刷ジョブIDと同一の印刷ジョブIDを含む報知制御コマン
ドが記憶領域に存在するか否かを判別する。そして、記憶領域に当該印刷ジョブIDを含
む報知制御コマンドが存在した場合、報知手段により報知する。これにより、オペレータ
は印刷ジョブの完了を把握できるため、例えば、レシートやクーポン等の印刷物の発行処
理(印刷ジョブ)が確実に完了したことを認識することができる。このため、この報知手
段による報知後に印刷物を取るようにオペレータに教育することで、印刷処理が完了する
前(特に用紙のカットが行われる前)に印刷物を取り出そうとし、印刷物を引きちぎって
しまうことを改善できる。この結果、当該引きちぎりを起因とするプリンタの紙詰まりを
防ぐこととなり、印刷サービスの稼動率を向上させることができる。また、印刷ジョブと
報知制御コマンドとを、非同期で送信することができるため、例えば、印刷ジョブの処理
中や、何らかの原因で印刷ジョブの送信が遅延している場合や、プリンタがエラー発生中
によりジョブの送信不可能な場合であっても、印刷ジョブの状況に影響を受けることなく
、報知制御コマンドを送信することが可能となる。また、プリンタ側では、印刷ジョブと
非同期で報知制御コマンドを受信して記憶領域に記録しておくことで、印刷ジョブの完了
後、即時、報知に関する処理を実行することができる。なお、報知手段としては、音で聴
覚的に報知しても良いし、あるいは、ランプ等を点灯させ視覚的に報知するようにしても
良い。
According to this configuration, the print job including the print data and the notification control command including the notification command are asynchronously transmitted from the host computer 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 that the print job is completed, the printer determines whether or not a notification control command including the same print job ID as the print job ID of the print job exists in the storage area. . When a notification control command including the print job ID exists in the storage area, the notification unit notifies the user. Thereby, since the operator can grasp the completion of the print job, for example, it is possible to recognize that the issue processing (print job) of a printed matter such as a receipt or a coupon has been completed. For this reason, by educating the operator to take the printed material after the notification by the notification means, it is attempted to take out the printed material before the printing process is completed (particularly before the paper is cut) and tear the printed material. Can improve. As a result, the printer can be prevented from being jammed due to the tearing, and the operating rate of the print service can be improved. In addition, since the print job and the notification control command can be transmitted asynchronously, for example, when the print job is being processed, when the print job transmission is delayed for some reason, or when the printer has an error. Even when the job cannot be transmitted, 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 immediately execute the processing related to notification after the print job is completed. 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.

本発明のプリントシステムの制御方法は、プリンタが印刷ジョブの印刷の実行が完了したときに、印刷ジョブに含まれる印刷ジョブIDと一致する印刷ジョブIDを有する報知制御コマンドが記憶手段に存在していない場合、印刷の実行が完了した印刷ジョブに含まれる印刷ジョブIDに対するステータスを印刷処理完了に更新することが好ましい。
また、本発明のプリントシステムの制御方法は、プリンタが報知制御コマンドを受信したときに、ジョブ履歴記憶手段に記憶された印刷ジョブIDと受信された報知制御コマンドに含まれる印刷ジョブIDとが一致するか否かを判別し、ジョブ履歴記憶手段に記憶された印刷ジョブIDと受信された報知制御コマンドに含まれる印刷ジョブIDが一致する場合、前記ジョブ履歴記憶手段に記憶された印刷ジョブIDのステータスを判別し、前記ステータスが印刷処理完了のとき、即時にプリンタの報知手段で報知させることが好ましい。
また、本発明のプリントシステムは、プリンタが、印刷手段で印刷中の印刷ジョブの印刷ジョブIDを取得し、取得された印刷ジョブIDを記憶する印刷ジョブID記憶手段と、印刷手段で印刷の実行が完了した印刷ジョブの印刷ジョブIDを記憶するジョブ履歴記憶手段と、を有し、印刷ジョブID記憶手段に印刷ジョブIDが記憶された印刷ジョブの印刷の実行が完了したとき、印刷ジョブIDと一致する印刷ジョブIDを含む報知制御コマンドが記憶手段に記録されていない場合、印刷ジョブID記憶手段に記憶された印刷ジョブIDをジョブ履歴記憶手段に記憶することが好ましい。
According to the printing system control method of the present invention, when the printer completes printing of a print job, a notification control command having a print job ID that matches the print job ID included in the print job exists in the storage unit. If not, it is preferable to update the status for the print job ID included in the print job for which printing has been completed to “print processing completed” .
Further, according to the printing system control method of the present invention, when the printer receives the notification control command, the print job ID stored in the job history storage means matches the print job ID included in the received notification control command. If the print job ID stored in the job history storage means matches the print job ID included in the received notification control command, the print job ID stored in the job history storage means It is preferable that the status is determined, and when the status is the completion of the printing process , the notification means of the printer immediately notifies.
The printing system according to the present invention includes a print job ID storage unit that stores a print job ID of a print job that is being printed by the printing unit, and stores the acquired print job ID. A job history storage unit that stores a print job ID of a print job that has been completed, and when execution of printing of the print job in which the print job ID is stored in the print job ID storage unit is completed, When the notification control command including the matching print job ID is not recorded in the storage unit, it is preferable to store the print job ID stored in the print job ID storage unit in the job history storage unit.

この構成によれば、報知制御コマンドを受信したとき、当該報知制御コマンドに含まれ
る印刷ジョブIDが実行履歴に記録されているか否かを判別し、記録されている場合は、
当該報知制御コマンドに基づいて、即時に報知を行う。これにより、例えば、何らかの理
由で報知制御コマンドが遅延した場合においても、確実にオペレータに対して印刷ジョブ
の完了、つまり印刷物が発行された旨を伝えることができる。
According to this configuration, when the notification control command is received, it is determined whether or not the print job ID included in the notification control command is recorded in the execution history.
An immediate notification is performed based on the notification control command. Thereby, for example, even when the notification control command is delayed for some reason, it is possible to reliably notify the operator that the print job has been completed, that is, the printed matter has been 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, only the completion of a specific print job can be notified. For example, 1
When a plurality of printed materials are issued to a customer, the operator notifies only the completion of the print job for issuing the last printed material, so that all the printed materials issued before the notification are for one customer. And forgetting to hand over the printed matter can be prevented. Further, for example, by notifying only when a print job for issuing a special printed matter such as a winning coupon is completed, the operator can easily recognize that the special printed matter has been issued.

これらの場合、予め複数の報知パターンを記憶しておく報知パターン記憶手段をさらに
備え、報知指令には、複数の報知パターンの中から1の報知パターンを指定するための情
報が含まれることが好ましい。
In these cases, it is preferable that a notification pattern storage unit that stores a plurality of notification patterns in advance is further provided, and the notification command includes information for designating one notification pattern from among the plurality of notification patterns. .

この構成によれば、予めプリンタ側で複数の報知パターンを記憶してくことで、ホスト
コンピュータからプリンタに対して報知パターンを指定する情報のみを送信すれば良く、
報知パターンそのものの送信が不要となる。これにより、報知パターンの送信に係るトラ
フィックを削減することができる。
According to this configuration, by storing a plurality of notification patterns on the printer side in advance, it is only necessary to transmit only information specifying the notification pattern from the host computer to the printer.
Transmission of the notification pattern itself becomes unnecessary. Thereby, the traffic which concerns on transmission of an alerting | reporting pattern can be reduced.

これらの場合、プリンタの報知手段は、音を鳴動させる鳴動手段であることが好ましい。 In these cases, it is preferable that the notification means of the printer is a sounding means that sounds a sound .

この構成によれば、電子音による鳴動により、オペレータに印刷ジョブの完了を報知す
ることができる。これにより、例えば、オペレータが顧客の対応をしており、プリンタを
視認することができない場合でも、容易に印刷ジョブの完了、つまり印刷物が発行された
ことを把握することができる。
According to this configuration, it is possible to notify the operator of the completion of the 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 completion of the print job, that is, the printed matter is issued.

本発明のPOSシステムは、POSアプリケーションからの要求に基づいて、印刷データ、印刷制御コマンド、及び印刷ジョブID有するクーポンを発券するための印刷ジョブと、印刷ジョブIDを含む報知制御コマンドと、を生成する制御部、印刷ジョブを送信する印刷ジョブ送信部、及び印刷ジョブと非同期で報知制御コマンドを送信する報知制御コマンド送信部を有するホストコンピュータと、ホストコンピュータから送信された報知制御コマンドを記憶する記憶手段、印刷ジョブに基づいて印刷を実行してクーポンを印刷する印刷手段、報知制御コマンドに基づいて報知する報知手段、印刷手段により印刷ジョブに基づく印刷の実行が完了して印刷物が発行されたときに印刷ジョブに含まれる印刷ジョブIDと一致する印刷ジョブIDを有する報知制御コマンドが記憶手段に記憶されているか否かを判別する報知判定手段、及び報知判定手段で印刷ジョブに含まれた印刷ジョブIDと一致する印刷ジョブIDを有する報知制御コマンドが記憶手段に存在している場合に報知手段に報知させる制御部を有するプリンタと、を有することを特徴とする。 The POS system of the present invention generates print data, a print control command, a print job for issuing a coupon having a print job ID, and a notification control command including the print job ID based on a request from the POS application. A host computer having a control unit for transmitting, a print job transmitting unit for transmitting a print job, and a notification control command transmitting unit for transmitting a notification control command asynchronously with the print job, and a memory for storing the notification control command transmitted from the host computer Means, printing means for executing printing based on the print job and printing coupons, notifying means for notifying based on the notification control command, when printing based on the print job is completed by the printing means and the printed matter is issued Print job I that matches the print job ID included in the print job A notification determining unit for determining whether or not a notification control command having the print job ID stored therein is stored in the storage unit, and a notification control command having a print job ID that matches the print job ID included in the print job by the notification determination unit. And a printer having a control unit that causes the notification means to notify the user of the presence of the printer.

これを用いることにより、印刷ジョブの完了を報知することができるPOSシステムを提供することができる。
By using this, it is possible to provide a POS system that can notify the completion of a print job.

本実施形態に係るプリントシステムのシステム構成図である。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.

以下、添付の図面を参照して、本実施形態に係るプリントシステムについて説明する。
本実施形態に係るプリントシステムは、オペレータが簡単に印刷処理の完了を認識するこ
とのできるシステムである。以下、本実施形態では、印刷物としてクーポン券を対象とす
ると共に、報知手段として電子音による鳴動により報知する場合について説明する。
Hereinafter, a print system according to the present embodiment will be described with reference to the accompanying drawings.
The printing system according to the present embodiment is a system that allows an operator to easily recognize completion of printing processing. 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と、ホストコンピュータ
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 the present embodiment is based on a print job and a host computer 2 that transmits a ringing control command (notification control command) corresponding to the print job, and a print job received from the host computer 2. And a printer 3 having a function of sounding based on a sounding control command.

ホストコンピュータ2は、プリンタ3を管理するためのコンピュータであり、プリンタ
3に対して印刷ジョブを送信する(印刷指示を出す)。ホストコンピュータ2は、図示し
ないPOSアプリケーションなどからクーポン等の発行要求を受けると、後述する業務ア
プリケーション31によりその要求に基づいて印刷ジョブを生成し、各印刷ジョブに対し
て印刷ジョブIDを付与する。そして、この印刷ジョブIDに基づいて印刷ジョブの管理
を行うと共に、プリンタ3に対し印刷ジョブを送信する。
The host computer 2 is a computer for managing the printer 3 and transmits a print job to the printer 3 (outputs a print instruction). When the host computer 2 receives a request for issuing a coupon or the like from a POS application (not shown), the business application 31 (to be described later) generates a print job based on the request and assigns a print job ID to each print job. 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が、この鳴動制御コマンドをプリンタ3に送信するこ
とで、所定のタイミング(印刷完了後)および所定の鳴動パターンでブザー46を鳴動さ
せることができる。
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. In this ringing control command, a print job ID for ringing the buzzer 46 of the printer 3 after completion of printing and a ringing pattern (notification pattern, details will be described later) of the buzzer 46 are defined. Then, the host computer 2 transmits this sounding control command to the printer 3 so that the buzzer 46 can sound at a predetermined timing (after completion of printing) and a predetermined sounding pattern.

一方、プリンタ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から
電子音を鳴らし(鳴動)、オペレータに対し印刷処理が完了した旨、つまり用紙排出口1
5からクーポンが排出されたことを報知する。電子音による鳴動により報知することで、
例えば、オペレータが顧客の対応をしており、プリンタ3を視認することができない場合
でも、容易に印刷ジョブの完了、つまりクーポンが発券されたことを把握することができ
る。
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. When the printing process of the print job is completed, the printer 3 sounds an electronic sound from the buzzer 46 based on the ringing pattern of the ringing control command including the print job ID of the print job, and the printing process is completed for the operator. Effect, that is, paper outlet 1
5 that the coupon has been discharged. By notifying by ringing by electronic sound,
For example, even when the operator is dealing with the customer and the printer 3 cannot be visually recognized, it is possible to easily grasp the completion of the print job, that is, that the coupon has been issued.

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

次に、図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からの入力に基
づき所望の鳴動パターンを生成する。鳴動パターンは、周波数、鳴動時間、消音時間、音
量、鳴動回数等の項目からなる。ユーザは、これら項目に対するパラメータを変化させる
ことで、所望の鳴動パターン、もしくは鳴動停止パターンを生成させることができる。
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 or ringing stop pattern by changing parameters for these items.

また、CPU21は、POSアプリケーションなどからクーポンを発券するための情報
(以下、クーポン情報)を受信すると、業務アプリケーション31を実行して当該クーポ
ン情報に基づいて印刷データを生成する。そして、業務アプリケーション31は、印刷要
求と共に生成した印刷データをスプーラ32に送る。スプーラ32では、当該印刷データ
に基づき印刷ジョブを生成すると共に、当該印刷ジョブに対して印刷ジョブIDを付与す
る。この印刷ジョブは、印刷ジョブの先頭を示すJobStartコマンド、印刷ジョブ
IDが記載されたJobNameコマンド、印刷データの印刷を指示するJobPrin
tコマンド、印刷ジョブの最後を示す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 to the print job. This print job includes a JobStart command that indicates the head of the print job, a JobName command that describes the print job ID, and a JobPrint that instructs printing of print data.
It is formed from a print control command such as a t command, a JobEnd command indicating the end of the print job, and print data. Then, the spooler 32 notifies the business application 31 of the print job ID as a response to the print request, whereby the business application 31 acquires the print job ID. 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での所定の印刷ジョブの完了、つまり、所定の
クーポンが発券された旨のみを報知することができる。例えば、1の顧客に対して複数枚
のクーポンを発行する場合、最後のクーポンを発行する印刷ジョブの完了のみを報知する
ことで、オペレータは報知前に発行された全てのクーポンが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 by associating the ring pattern and the print job ID. 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 the predetermined print job, it is possible to notify only the completion of the predetermined print job in the printer 3, which will be described later, that is, the fact that the predetermined coupon has been issued. For example, when issuing a plurality of coupons to one customer, by notifying only the completion of the print job that issues the last coupon, the operator can issue all coupons issued before the notification to one customer. It can be surely recognized that it is a thing, and forgetting to hand over the coupon 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). Since these data (print job, ringing control command) are transmitted by the packet communication method, for example, when the ringing control command is transmitted following the print job, a close process for recognizing the end of the print job data is performed. At the stage of completion, 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内のデータの処理を行う。また、RAM
43には、印刷ジョブのジョブ履歴が記録されるジョブ履歴記憶領域51(ジョブ履歴記
憶手段)が設けられ、このジョブ履歴記憶領域51には、既に印刷処理が終了した印刷ジ
ョブおよび現在印刷処理中の印刷ジョブに対応する印刷ジョブIDが記録されている。さ
らに、RAM43には、現在印刷処理中の印刷ジョブに対応する印刷ジョブIDを記録す
る印刷ジョブID記憶領域52と、鳴動制御コマンドを記録するコマンド記憶領域53(
記憶手段)が設けられている。
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. RAM
43 is provided with a job history storage area 51 (job history storage means) in which a job history of a print job is recorded. In this job history storage area 51, a print job that has already been printed and a currently printing process are being performed. The print job ID corresponding to the print job is recorded. Further, the RAM 43 has a print job ID storage area 52 for recording a print job ID corresponding to a print job currently being printed, and a command storage area 53 (for recording a ringing control command).
Storage means) is provided.

CPU41は、通信インターフェース44を介してホストコンピュータ2から鳴動制御
コマンドを受信する(報知制御コマンド受信手段)。この場合、CPU41は、当該鳴動
制御コマンドに含まれる印刷ジョブIDが、印刷ジョブID記憶領域52に記録されてい
る現在実行中の印刷ジョブの印刷ジョブIDと一致するか否かを判別する。現在実行中の
印刷ジョブの印刷ジョブIDと一致する場合、CPU41は、当該鳴動制御コマンドをコ
マンド記憶領域53に記録する。一方、一致しない場合(現在実行中の印刷ジョブが存在
しない場合も含む)、CPU41は、この鳴動制御コマンドに含まれる印刷ジョブIDが
ジョブ履歴記憶領域51に記録されているか否かを判別し(第2報知判別手段)、判別結
果に基づいてブザー46の鳴動を制御する。具体的には、当該印刷ジョブIDがジョブ履
歴記憶領域51に記録されていない場合、CPU41は、当該鳴動制御コマンドをコマン
ド記憶領域53に一時的に記録する。一方、当該印刷ジョブIDがジョブ履歴記憶領域5
1に印刷処理完了済みとして記録されている場合、CPU41は、当該鳴動制御コマンド
に含まれる鳴動パターンに基づいて、即時にブザー46を鳴動させる。鳴動制御コマンド
の受信に際して、当該鳴動制御コマンドの印刷ジョブIDと同一の印刷ジョブIDが存在
するか否かの判別を、現在開始されている印刷ジョブIDのみを記録した印刷ジョブID
記憶領域52を最初に参照して判別することで、複数の印刷ジョブIDが記録されている
ジョブ履歴記憶領域51を検索して判別する場合に比して、素早く判別することができる
。つまり、ブザー46の鳴動に係る処理を素早く実行することができる。これにより、例
えば、何らかの理由で鳴動制御コマンドが遅延した場合においても、確実にオペレータに
対して印刷ジョブの完了、つまりクーポン等(印刷物)が発行された旨を伝えることがで
きる。
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 determines whether or not the print job ID included in the ringing control command matches the print job ID of the currently executing print job recorded in the print job ID storage area 52. If the print job ID matches the print job ID of the print job currently being executed, the CPU 41 records the ring control command in the command storage area 53. On the other hand, if they do not match (including the case where no print job is currently being executed), the CPU 41 determines whether or not the print job ID included in this ringing control command is recorded in the job history storage area 51 ( (Second notification discriminating means) and controlling the ringing of the buzzer 46 based on the discrimination result. Specifically, when the print job ID is not recorded in the job history storage area 51, the CPU 41 temporarily records the ring control command in the command storage area 53. On the other hand, the print job ID is stored in the job history storage area 5.
1, the CPU 41 immediately sounds the buzzer 46 based on the sound pattern included in the sound control command. When receiving the ring control command, it is determined whether or not there is a print job ID identical to the print job ID of the ring control command. The print job ID that records only the print job ID that is currently started
By making a determination by referring to the storage area 52 first, it is possible to make a determination more quickly than when searching and determining the job history storage area 51 in which a plurality of print job IDs are recorded. That is, the process related to the sounding of the buzzer 46 can be quickly executed. Thus, for example, even when the ringing control command is delayed for some reason, it is possible to reliably notify the operator that the print job has been completed, that is, a coupon or the like (printed matter) has been issued.

一方、CPU41は、通信インターフェース44を介してホストコンピュータ2から印
刷ジョブを受信する(印刷ジョブ受信手段)。CPU41は、受信した印刷ジョブの印刷
制御コマンドに基づいて処理を実行する。具体的には、まず、CPU41は、JobSt
artコマンドを解析することで当該印刷ジョブの処理を開始し、続いてJobName
コマンドを解析する。このJobNameコマンドには当該印刷ジョブの印刷ジョブID
がパラメータとしてセットされており、これにより、CPU41は、当該印刷ジョブの印
刷ジョブIDを取得する。そして、CPU41は、当該印刷ジョブIDを印刷ジョブID
記憶領域52およびジョブ履歴記憶領域51に印刷実行中のステータスで記録する。次に
、CPU41は、JobPrintコマンドを解析し、印刷データの印刷を開始する。こ
の場合、CPU41は、印刷制御部45に対し、当該印刷データに基づく印刷指示を出す
。印刷指示を受けた印刷制御部45は、当該印刷データに基づいて、用紙搬送機構47を
介してロール紙を搬送しつつ、印刷ヘッド48を駆動してロール紙への印刷を実行し、用
紙排出口15からクーポンを発券する。その印刷(動作)完了後、CPU41は、印刷ジョ
ブ(印刷制御コマンド)に含まれるJobEndコマンドを解析(処理)し、当該コマン
ドの解析が終了することで当該印刷ジョブに係る全ての処理が完了したことを検出する(
印刷ジョブ完了検出手段)。
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.
Is set as a parameter, and the CPU 41 acquires the print job ID of the print job. Then, the CPU 41 sets the print job ID as the print job ID.
The status of printing is recorded in the storage area 52 and the job history storage area 51. 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. After the printing (operation) is completed, the CPU 41 analyzes (processes) the JobEnd command included in the print job (printing control command), and when the analysis of the command is completed, all the processing related to the print job is completed. Detect (
Print job completion detection means).

この検出結果をトリガとして、CPU41は、コマンド記憶領域53に当該印刷ジョブ
の印刷ジョブIDと同一の印刷ジョブIDを含む鳴動制御コマンドが存在するか否かを判
別する(第1報知判別手段)。該当する鳴動制御コマンドが存在する場合、CPU41は
、鳴動制御コマンドに含まれる鳴動パターンに基づいてブザー46を制御して鳴動させる
と共に、ジョブ履歴記憶領域51を更新して当該印刷ジョブのステータスを印刷完了にす
る。また、ブザー46の鳴動終了後、CPU41は、コマンド記憶領域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 as the print job ID of the print job exists in the command storage area 53 (first notification determination unit). 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 41 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)。そして、ホストコンピュータ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 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 or not the print job ID is a predetermined print job ID (S05,
Print job discrimination means). When the print job ID is a predetermined print job ID (S06)
Yes), the host computer 2 generates a sound control command in which the print job ID and the sound pattern of the buzzer 46 are set (S07). And 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 means), and completes a series of processing (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は、当該印刷ジョブに基づいて
印刷処理を開始する(S12)。この時、プリンタ3は、印刷ジョブに含まれる印刷ジョ
ブIDを取得し、ジョブ履歴記憶領域51および印刷ジョブID記憶領域52に当該印刷
ジョブIDを印刷処理中のステータスで記録(登録)する(S13)。そして、プリンタ
3は、当該印刷ジョブに基づく一連の印刷処理が完了したことを検出すると(S14,印
刷ジョブ完了検出手段)、当該印刷ジョブの印刷ジョブIDと同一の印刷ジョブIDを含
む鳴動制御コマンドが、コマンド記憶領域53に存在するか否かを判別する(S15,第
1報知判別手段)。対象となる鳴動制御コマンドが存在しない場合(S16;No)、プ
リンタ3は、ジョブ履歴記憶領域51の当該印刷ジョブIDに対するステータスを印刷処
理完了に更新する(S19)。一方、対象となる鳴動制御コマンドが存在する場合(S1
6;Yes)、プリンタ3は、当該鳴動制御コマンドの鳴動パターンに基づいてブザー4
6を鳴動させる(S17)。ブザー46の鳴動終了後、プリンタ3は、コマンド記憶領域
53に記録された当該鳴動制御コマンドをクリアする(S18)。そして、プリンタ3は
、ジョブ履歴記憶領域51の当該印刷ジョブIDに対するステータスを印刷処理完了に更
新する(S19)。
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 (S12). At this time, the printer 3 acquires the print job ID included in the print job, and records (registers) the print job ID in the job history storage area 51 and the print job ID storage area 52 as the status during the printing process (S13). ). When the printer 3 detects that a series of print processing based on the print job is completed (S14, print job completion detection unit), the ring control command including the same print job ID as the print job ID of the print job. Is present in the command storage area 53 (S15, first notification determination means). If there is no target ring control command (S16; 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 (S19). On the other hand, if there is a target ring control command (S1
6; Yes), the printer 3 uses the buzzer 4 based on the ringing pattern of the ringing control command.
6 is sounded (S17). After the buzzer 46 has finished ringing, the printer 3 clears the ringing control command recorded in the command storage area 53 (S18). 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 (S19).

次に、図5を参照して、プリンタ3が鳴動制御コマンドを受信した場合の動作手順につ
いて説明する。まず、プリンタ3は、ホストコンピュータ2から送信された鳴動制御コマ
ンドを受信する(S21,報知制御コマンド受信手段)。そして、プリンタ3は、受信し
た鳴動制御コマンドに含まれる印刷ジョブIDと同一の印刷ジョブIDが、印刷ジョブI
D記憶領域52に記録されているか否かを判別する(S22)。つまり、鳴動制御コマン
ドに含まれる印刷ジョブIDが付与された印刷ジョブが、印刷処理中であるか否かを判別
する。印刷ジョブID記憶領域52に対象となる印刷ジョブIDが存在する場合(S23
;Yes)、プリンタ3は、鳴動制御コマンドをコマンド記憶領域53に記録する(S2
4)。一方、印刷ジョブID記憶領域52に対象となる印刷ジョブIDが存在しない場合
(S23;No)、プリンタ3は、ジョブ履歴記憶領域51を検索し、対象となる印刷ジ
ョブIDが当該ジョブ履歴記憶領域51に記録されているか否かを判別する(S25,第
2報知判別手段)。ジョブ履歴記憶領域51に対象となる印刷ジョブIDが存在しない場
合(S26;No)、プリンタ3は、鳴動制御コマンドをコマンド記憶領域53に記録す
る(S24)。一方、ジョブ履歴記憶領域51に対象となる印刷ジョブIDが存在する場
合(S26;Yes)、プリンタ3は、ジョブ履歴記憶領域51に記録されている印刷ジ
ョブIDのステータスが「印刷処理完了済み」であるか否かを判別する。対象となる印刷
ジョブIDのステータスが「印刷処理完了済み」以外の場合(S27;No)、鳴動制御
コマンドをコマンド記憶領域53に記録する(S24)。一方、対象となる印刷ジョブI
Dのステータスが「印刷処理完了済み」の場合(S27;Yes)、プリンタ3は、鳴動
制御コマンドの鳴動パターンに基づいて、即時にブザー46を鳴動させる(S28)。
Next, an operation procedure when the printer 3 receives a ringing control command will be described with reference to FIG. First, the printer 3 receives the ring control command transmitted from the host computer 2 (S21, notification control command receiving means). Then, the printer 3 receives the print job ID that is the same as the print job ID included in the received ring control command.
It is determined whether or not it is recorded in the D storage area 52 (S22). That is, it is determined whether or not the print job to which the print job ID included in the ringing control command is assigned is being printed. When the target print job ID exists in the print job ID storage area 52 (S23)
; Yes), the printer 3 records the ring control command in the command storage area 53 (S2).
4). On the other hand, when the target print job ID does not exist in the print job ID storage area 52 (S23; No), the printer 3 searches the job history storage area 51, and the target print job ID is the job history storage area. It is discriminate | determined whether it is recorded on 51 (S25, 2nd alerting | reporting discrimination means). If the target print job ID does not exist in the job history storage area 51 (S26; No), the printer 3 records the ring control command in the command storage area 53 (S24). On the other hand, when the target print job ID exists in the job history storage area 51 (S26; Yes), the printer 3 has the status of the print job ID recorded in the job history storage area 51 “print processing completed”. It is determined whether or not. If the status of the target print job ID is other than “print processing completed” (S27; No), the ring control command is recorded in the command storage area 53 (S24). On the other hand, the target print job I
When the status of D is “print processing completed” (S27; Yes), the printer 3 immediately sounds the buzzer 46 based on the sound pattern of the sound control command (S28).

以上のように、本実施形態によれば、ホストコンピュータ2から印刷ジョブと鳴動制御
コマンドと、を非同期でプリンタ3に送信する。これらを受信したプリンタ3は、印刷ジ
ョブに基づいて印刷処理を実行する。そして、プリンタ3は、印刷ジョブが完了したこと
の検出をトリガとして、当該印刷ジョブの印刷ジョブIDと同一の印刷ジョブIDを含む
鳴動制御コマンドに含まれる鳴動パターンに基づいてブザー46を鳴動させる。このブザ
ー46の鳴動により、オペレータは印刷ジョブの完了を把握できるため、例えば、レシー
トやクーポン等の印刷物の発行処理(印刷ジョブ)が確実に完了したことを認識すること
ができる。このため、このブザー46の鳴動後に印刷物を取るようにオペレータを教育す
ることで、印刷処理が完了する前(特に用紙のカットが行われる前)に印刷物を取り出そ
うとし、印刷物を引きちぎってしまうことを改善できる。この結果、当該引きちぎりを起
因とするプリンタ3の紙詰まりを防ぐこととなり、印刷サービスの稼動率を向上させるこ
とができる。
As described above, according to the present embodiment, the print job and the ringing control command are asynchronously transmitted from the host computer 2 to the printer 3. The printer 3 that has received these executes print processing based on the print job. Then, using the detection that the print job is completed as a trigger, the printer 3 causes the buzzer 46 to sound based on the sound pattern included in the sound control command including the same print job ID as the print job ID of the print job. Since the buzzer 46 sounds, the operator can grasp the completion of the print job, so that, 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 completed. For this reason, by educating the operator to take out the printed material after the buzzer 46 rings, it is attempted to take out the printed material before the printing process is completed (particularly before the paper is cut) and tear the printed material. Can improve. As a result, the paper jam of the printer 3 due to the tearing is prevented, and the operation rate of the printing service can be improved.

なお、本実施形態では、ホストコンピュータ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.

また、本実施形態では、所定の印刷ジョブが完了した場合に、ブザー46を鳴動してそ
の完了を報知するようにしているが、これに限らず、全ての印刷ジョブに対して、各印刷
ジョブの完了を報知するようにしても良い。
In this embodiment, when a predetermined print job is completed, the buzzer 46 is sounded to notify the completion, but this is not restrictive. You may make it alert | report the completion of.

また、本実施形態では、対象となる印刷物としてクーポンを例に挙げて説明したが、こ
れに限定するものではない。
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.

Claims (1)

印刷要求に基づいて、印刷データ、印刷制御コマンド、及び印刷ジョブID有する印刷ジョブを生成するともに、前記印刷ジョブIDを含む報知制御コマンドをホストコンピュータで生成し、
生成された前記印刷ジョブと前記報知制御コマンドとを非同期で、前記ホストコンピュータからプリンタに送信し、
前記プリンタは前記印刷ジョブと前記報知制御コマンドとを非同期で受信し、
前記印刷ジョブを前記プリンタで受信すると、前記印刷ジョブに基づく印刷を実行するとともに、前記印刷ジョブに含まれる前記印刷ジョブIDを取得し、
前記報知制御コマンドを前記プリンタで受信すると、送信された報知制御コマンドを、前記プリンタの記憶手段で記憶し、
前記印刷ジョブに基づく印刷の実行が完了して印刷物が発行されたときに、前記取得された印刷ジョブIDと一致する印刷ジョブIDを有する前記報知制御コマンドが前記記憶手段に記憶されているか否かを判別し、
前記印刷ジョブに含まれた前記印刷ジョブIDと一致する印刷ジョブIDを有する前記報知制御コマンドが前記記憶手段に存在している場合、前記プリンタの報知手段で報知させ、
前記印刷ジョブに含まれた前記印刷ジョブIDと一致する印刷ジョブIDを有する前記報知制御コマンドが前記記憶手段に存在していない場合、印刷の実行が完了した印刷ジョブに含まれる印刷ジョブIDに対するステータスを印刷処理完了に更新し、
前記プリンタが前記報知制御コマンドを受信したときに、ジョブ履歴記憶手段に記憶された印刷ジョブIDと前記受信された報知制御コマンドに含まれる印刷ジョブIDとが一致するか否かを判別し、
前記ジョブ履歴記憶手段に記憶された印刷ジョブIDと前記受信された報知制御コマンドに含まれる印刷ジョブIDが一致する場合、前記ジョブ履歴記憶手段に記憶された印刷ジョブIDのステータスを判別し、前記ステータスが印刷処理完了のとき、即時に前記プリンタの報知手段で報知させることを特徴とするプリントシステムの制御方法。
Based on the print request, print data, print control commands, and when generating a print job having print job ID together generates a notification control command including the print job ID in the host computer,
The generated print job and the notification control command are asynchronously transmitted from the host computer to the printer,
The printer asynchronously receives the print job and the notification control command,
When the printer receives the print job, it executes printing based on the print job, acquires the print job ID included in the print job,
When the notification control command is received by the printer, the transmitted notification control command is stored in the storage means of the printer,
Whether or not the notification control command having a print job ID that matches the acquired print job ID is stored in the storage means when execution of printing based on the print job is completed and a printed matter is issued Determine
When the notification control command having a print job ID that matches the print job ID included in the print job is present in the storage unit, the notification unit of the printer is notified,
When the notification control command having the print job ID that matches the print job ID included in the print job does not exist in the storage unit, the status for the print job ID included in the print job that has been completely printed Is updated to print processing completion,
When the printer receives the notification control command, it determines whether or not the print job ID stored in the job history storage means matches the print job ID included in the received notification control command;
If the print job ID stored in the job history storage means matches the print job ID included in the received notification control command, the status of the print job ID stored in the job history storage means is determined, and A control method for a printing system , wherein when the status is completion of printing processing, the notification means of the printer is immediately notified .
JP2012014993A 2012-01-27 2012-01-27 Printing system control method Expired - Fee Related JP5477398B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012014993A JP5477398B2 (en) 2012-01-27 2012-01-27 Printing system control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012014993A JP5477398B2 (en) 2012-01-27 2012-01-27 Printing system control method

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2012099144A JP2012099144A (en) 2012-05-24
JP5477398B2 true JP5477398B2 (en) 2014-04-23

Family

ID=46390906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012014993A Expired - Fee Related JP5477398B2 (en) 2012-01-27 2012-01-27 Printing system control method

Country Status (1)

Country Link
JP (1) JP5477398B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07172032A (en) * 1993-12-20 1995-07-11 Ricoh Co Ltd Control device of printer
JPH11102281A (en) * 1997-09-25 1999-04-13 Casio Electron Mfg Co Ltd Alarm system
JP2001166904A (en) * 1999-12-07 2001-06-22 Seiko Epson Corp Printing device and its controlling method the same and information recording medium
JP2007196594A (en) * 2006-01-27 2007-08-09 Seiko Epson Corp Printer and its control method

Also Published As

Publication number Publication date
JP2012099144A (en) 2012-05-24

Similar Documents

Publication Publication Date Title
US8654373B2 (en) Printing system, printer, host computer, printing system control method, and program
US7999954B2 (en) Methods and devices for host error detection by a printer
JP2010042630A (en) Printer, control method of printer, and printing system
JP4946735B2 (en) Printing system and program
JP4952445B2 (en) Printing system and program
US8526015B2 (en) Control method for a printer and a printer
JP4952446B2 (en) Printing system and program
US10300724B2 (en) Printing apparatus and control method for printing apparatus
JP2006318158A (en) Printing system, pos system, connection device, control method for printing system and program therefor
JP5477398B2 (en) Printing system control method
JP5131398B2 (en) Printer and program
JP5549689B2 (en) Print system control method, print system, and POS system
KR101532604B1 (en) Method for processing jam in image forming apparatus having at least one option cassette and image forming apparatus thereof
JP5083609B2 (en) Image forming apparatus, image forming system, and program
US9058133B2 (en) Control device, control method for a control device, and recording medium
JP2017132605A (en) Printer, recording medium, and sales data processing device
JP2017087658A (en) Recording device and control method for the same
JP2009110470A (en) Printer and program
JP2006317526A (en) Image forming apparatus
US11504868B2 (en) Printer and method for cutting continuous paper by the same
JP2012011636A (en) Image forming apparatus and program
JP2022052621A (en) Image forming apparatus and method for controlling image forming apparatus
JP2017113924A (en) Stapler, post-processing device and image formation system
CN111506273A (en) Image forming apparatus and non-transitory computer-readable recording medium having image forming program recorded thereon
JP2007276315A (en) Printer, control method thereof, and computer program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120217

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130326

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131001

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131212

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20131219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140127

R150 Certificate of patent or registration of utility model

Ref document number: 5477398

Country of ref document: JP

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