JP5827025B2 - Order management system and control device - Google Patents
Order management system and control device Download PDFInfo
- Publication number
- JP5827025B2 JP5827025B2 JP2011083750A JP2011083750A JP5827025B2 JP 5827025 B2 JP5827025 B2 JP 5827025B2 JP 2011083750 A JP2011083750 A JP 2011083750A JP 2011083750 A JP2011083750 A JP 2011083750A JP 5827025 B2 JP5827025 B2 JP 5827025B2
- Authority
- JP
- Japan
- Prior art keywords
- slip
- print data
- data
- order
- 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.)
- Active
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、外食産業等に用いられる注文管理システム、制御装置及び伝票印字制御方法に関する。 The present invention relates to an order management system, a control device, and a slip printing control method used in the restaurant industry and the like.
ファミリーレストランや居酒屋などの外食産業では、注文管理システムを導入している。注文管理システムでは、接客担当の店員がハンディーターミナルにお客様の注文を入力すると、ハンディーターミナルは、入力された注文内容を無線によってコントローラへ送信する。コントローラは、受信した注文内容の伝票(調理伝票)を印字させるための印字データをプリンタへ送信する。プリンタは、コントローラから受信した印字データを印字し、厨房のスタッフは、印字された伝票によって注文内容を確認し、注文された料理の調理を行う。 In the restaurant industry such as family restaurants and taverns, an order management system is introduced. In the order management system, when a clerk in charge of customer service inputs a customer order to the handy terminal, the handy terminal transmits the input order contents to the controller by radio. The controller transmits print data for printing the received order contents slip (cooking slip) to the printer. The printer prints the print data received from the controller, and the kitchen staff confirms the order contents with the printed slip and cooks the ordered food.
伝票を印字するプリンタでは、印字データを受信してから印字を完了するまでに時間がかかる。そのため、コントローラからの印字データの送信が正常に完了したとしても、印字が完了するまでの間に何らかの原因によりプリンタの電源断が発生した場合、受信した印字データが消えて伝票を印字できず、厨房のスタッフが注文された料理を調理できないことがある。 In a printer that prints a slip, it takes time to complete printing after receiving print data. Therefore, even if the transmission of the print data from the controller is completed normally, if the printer power is interrupted for some reason until the printing is completed, the received print data will disappear and the slip cannot be printed. The kitchen staff may not be able to cook the food ordered.
その対策として、例えば、プリンタが、受信した印字データをデータバックアップ付きメモリに保持しておき、電源がオフになっても印字データが消えないようにしておくことが考えられる。プリンタは、電源が再投入されると、メモリに保持していた印字データを読み出して印字する。しかし、印字データに手書き文字の画像データやロゴマークなどの画像データが含まれていた場合、印字データのデータ量が大きくなる。よって、バックアップのために大容量の不揮発メモリが必要となり、プリンタのコストが高くなってしまう。 As a countermeasure, for example, the printer may hold the received print data in a memory with data backup so that the print data does not disappear even when the power is turned off. When the power is turned on again, the printer reads and prints the print data held in the memory. However, if the print data includes image data of handwritten characters or logo marks, the amount of print data increases. Therefore, a large-capacity nonvolatile memory is required for backup, and the cost of the printer is increased.
そこで、特許文献1では、注文管理システムのプリンタが、電源断等によって印字データを印字できなかった場合、電源が再投入されたときにコントローラへ印字データの再送を要求し、この要求に対応してコントローラから再送された印字データを印字している。
Therefore, in
特許文献1では、コントローラは、印字データを特定するデータ特定情報、例えば、伝票番号を印字データに付加してプリンタに送信している。プリンタは、伝票の印字データを受信すると、その印字データに付加されたデータ特定情報をデータバックアップ付きメモリに保存し、印字完了後にメモリから削除する。プリンタは、印字データの印字完了前に電源断が発生し、再び電源が投入されてコントローラと接続できる状態になったときには、メモリに保存しているデータ特定情報を設定したリカバリ印字要求コマンドをコントローラに送信する。コントローラは、リカバリ印字要求コマンドに設定されているデータ特定情報により特定される印字データをプリンタに再送信する。これにより、プリンタに大きなメモリ容量の不揮発メモリを備える必要がないため、プリンタのコストを抑えながら、電源断によって印字されない伝票が発生しないようにすることができる。
In
しかし、通常コントローラは、送信対象の印字データが複数ある場合、印字データの送信トリガの発生順に送信を行う。そのため、コントローラは、プリンタにおける電源断の発生後、印字データの再送要求(リカバリ印字要求コマンド)を受信するまでの間に送信できなかった伝票印字データを、再送が要求された印字データよりも先にプリンタに送信してしまうことがある。 However, when there are a plurality of print data to be transmitted, the normal controller performs transmission in the order of generation of print data transmission triggers. Therefore, the controller prints the slip print data that could not be transmitted before the print data retransmission request (recovery print request command) was received after the printer power failure occurred before the print data requested to be retransmitted. May be sent to the printer.
例えば、図33に示すように、ハンディーターミナルがコントローラへ注文1を送信すると、コントローラは、注文1の伝票を印字させるための伝票1印字データをプリンタに送信する。プリンタは、伝票1印字データの受信応答を返送し、伝票1を印字する。さらに、ハンディーターミナルがコントローラへ注文2、注文3を送信すると、コントローラは注文2、注文3の伝票を印字させるための伝票2印字データ、伝票3印字データをプリンタに送信する。プリンタが受信応答をコントローラに返送した後、伝票2の印字が完了する前に電源断が発生しても、ハンディーターミナルからはさらに注文4、注文5がコントローラへ送信され、コントローラは注文4、注文5から伝票4印字データ、伝票5印字データを生成する。しかし、コントローラは、伝票4印字データをプリンタへ送信しても、受信応答が返送されないため、伝票4印字データを繰り返し再送する。
For example, as shown in FIG. 33, when the handy terminal transmits
プリンタの電源が再投入されると、プリンタは接続要求をコントローラへ送信するとともに、印字が完了していないことを検出した伝票2印字データ及び伝票3印字データの再送要求をコントローラへ送信する。しかし、コントローラが、接続要求に対する応答を返送した時点で、伝票4印字データ、伝票5印字データをプリンタに送信してしまい、その後に、再送が要求された伝票2印字データ及び伝票3印字データを送信することがある。これによって、プリンタは、後から発生した注文4、注文5の伝票を、その前に発生した注文2、注文3の伝票よりも先に印字する。その結果、厨房では、注文順に調理が行われず、後から注文を受けたお客様へ先に注文を受けたお客様より早く料理を提供してしまうことがある。
When the power of the printer is turned on again, the printer transmits a connection request to the controller, and transmits a
本発明は、このような事情を考慮してなされたものであり、プリンタに大容量の不揮発メモリを搭載する必要なく、プリンタの電源断が発生した場合であっても、注文の発生順に伝票を印字することができる注文管理システム、制御装置及び伝票印字制御方法を提供する。 The present invention has been made in consideration of such circumstances, and it is not necessary to mount a large-capacity nonvolatile memory in the printer, and even when the printer power is cut off, the slips are arranged in the order in which the orders are generated. An order management system capable of printing, a control device, and a slip printing control method are provided.
本発明の一態様は、制御装置及び印字装置を有する注文管理システムであって、制御装置及び印字装置を有する注文管理システムであって、前記制御装置は、注文を入力する装置から注文データを受信する注文受信部と、前記注文受信部が受信した注文データと当該注文データが示す注文の注文時刻とを記憶部に登録する注文処理部と、前記注文受信部が受信した注文データに基づいて伝票の印字データを生成するとともに当該印字データを識別する識別情報を生成して当該識別情報を前記注文データと対応付けて前記記憶部に登録し、前記印字データ及び前記識別情報を前記印字装置へ送信し、送信した前記印字データ及び前記識別情報に対応して前記印字装置から受信応答を受信する伝票処理部と、前記印字装置から再送対象の前記印字データの識別情報を受信し、受信した前記識別情報により特定される前記印字データを、前記伝票処理部が送信後に受信応答を受信していない前記印字データ及び前記伝票処理部が未送信の前記印字データより先に、前記識別情報で特定される前記注文データの注文時刻の早い順に、前記印字装置に送信する伝票再発行処理部と、を備え、前記印字装置は、印字を行う印字部と、印字が完了していない印字データの識別情報を記憶する不揮発メモリと、前記制御装置から前記印字データ及び当該印字データの識別情報を受信し、受信応答を返送する受信部と、前記受信部が受信した前記印字データの識別情報を、受信した順に前記不揮発メモリに書き込む登録部と、前記受信部が受信した前記印字データを前記印字部に印字させる印字処理部と、印字が完了した前記印字データの識別情報を前記不揮発メモリから削除する削除部と、当該印字装置の電源が投入されたときに、前記不揮発メモリに記憶されている前記印字データの識別情報を再送対象として前記制御装置に送信する未印字伝票通知部と、を備える、ことを特徴とする注文管理システムである。 One aspect of the present invention is an order management system having a control device and a printing device, the order management system having a control device and a printing device, wherein the control device receives order data from a device for inputting an order. An order receiving unit that registers the order data received by the order receiving unit and the order time of the order indicated by the order data in the storage unit, and a slip based on the order data received by the order receiving unit. Generating print data, generating identification information for identifying the print data, registering the identification information in the storage unit in association with the order data, and transmitting the print data and the identification information to the printing apparatus A slip processing unit that receives a reception response from the printing device corresponding to the transmitted print data and the identification information, and the print to be retransmitted from the printing device. The print data not received by the slip processing unit after the slip processing unit has transmitted the print data specified by the received identification information and the slip processing unit not yet transmitted. A slip reissuing processor that transmits the print data to the print device in order of the order time of the order data specified by the identification information before the print data, and the print device includes a print unit that performs printing; A non-volatile memory that stores identification information of print data that has not been printed, a reception unit that receives the print data and the identification information of the print data from the control device, and returns a reception response; and A registration unit that writes identification information of the received print data in the nonvolatile memory in the order received, and a print processing unit that causes the print unit to print the print data received by the reception unit A deletion unit that deletes the identification information of the print data that has been printed from the nonvolatile memory, and resends the identification information of the print data stored in the nonvolatile memory when the printing apparatus is powered on. An order management system comprising: an unprinted slip notification unit that is transmitted as an object to the control device.
また、本発明の一態様は、上述した注文管理システムであって、前記伝票再発行処理部は、受信した前記識別情報により特定される前記印字データに、再送を示す情報を印字させるデータを付加した印字データを生成し、生成した前記印字データを、前記伝票処理部が送信後に受信応答を受信していない前記印字データ及び前記伝票処理部が未送信の前記印字データより先に、前記識別情報で特定される前記注文データの注文時刻の早い順に、前記印字装置に送信する、ことを特徴とする。 Also, one aspect of the present invention is the order management system described above, wherein the slip reissue processing unit adds data for printing information indicating retransmission to the print data specified by the received identification information. The print data that has not been received after the slip processing unit has transmitted the print data and the print data that has not been transmitted by the slip processing unit. The order data is transmitted to the printing device in order from the earliest order time of the order data.
また、本発明の一態様は、上述した注文管理システムであって、前記伝票再発行処理部は、受信した前記識別情報により特定される前記印字データにより印字される伝票に、再送を示す情報を示すヘッダを付加した印字データを生成し、生成した前記印字データを、前記伝票処理部が送信後に受信応答を受信していない前記印字データ及び前記伝票処理部が未送信の前記印字データより先に、前記識別情報で特定される前記注文データの注文時刻の早い順に、前記印字装置に送信する、ことを特徴とする。 Also, one aspect of the present invention is the order management system described above, wherein the slip reissue processing unit adds information indicating retransmission to a slip printed by the print data specified by the received identification information. Print data to which a header is added, and the generated print data is sent before the slip processing unit has received a reception response and the print data that has not been received by the slip processing unit. The order data specified by the identification information is transmitted to the printing device in the order of the order time of the order data.
また、本発明の一態様は、上述した注文管理システムであって、再送を示す前記情報は、受信した前記識別情報により特定される前記印字データの生成元となった前記注文データが示す注文の注文時刻からの経過時間である、ことを特徴とする。 One aspect of the present invention is the above-described order management system, wherein the information indicating retransmission is the order data indicated by the order data that is the generation source of the print data specified by the received identification information. It is an elapsed time from the order time.
また、本発明の一態様は、上述した注文管理システムであって、前記印字装置は、前記未印字伝票通知部が送信した前記印字データの識別情報に対応して前記制御装置から受信した前記印字データに、再送された印字データによる印字であることを示す情報を印字させる印字データを付加する印字情報付加部をさらに備える、ことを特徴とする。 One aspect of the present invention is the order management system described above, wherein the printing device receives the print received from the control device in response to identification information of the print data transmitted by the unprinted slip notification unit. It further includes a print information adding unit for adding print data for printing information indicating that printing is performed by the retransmitted print data to the data.
また、本発明の一態様は、上述した注文管理システムであって、前記印字データは、前記注文データが示す注文の明細を単一の伝票として印字させる短冊印字データを1以上含み、前記印字装置は、前記印字部が前記印字データに含まれる前記短冊印字データの印字を完了した数である印字完了数を、当該印字データの識別情報と対応付けて前記不揮発メモリに書き込む更新部をさらに備え、前記印字情報付加部は、前記未印字伝票通知部が送信した前記印字データの識別情報に対応して再送された前記印字データに、当該印字データの識別情報に対応して前記不揮発メモリに記憶されている前記印字完了数に基づく情報を印字させる印字データを追加する、ことを特徴とする。 Also, one aspect of the present invention is the order management system described above, wherein the print data includes one or more strip print data for printing the order details indicated by the order data as a single slip, and the printing device Further includes an update unit that writes a print completion number, which is the number of prints of the strip print data included in the print data, to the nonvolatile memory in association with identification information of the print data, The print information adding unit stores the print data retransmitted corresponding to the identification information of the print data transmitted by the unprinted slip notification unit in the nonvolatile memory corresponding to the identification information of the print data. Print data for printing information based on the number of print completions is added.
また、本発明の一態様は、上述した注文管理システムであって、前記印字情報付加部は、前記再送された前記印字データに含まれる前記短冊印字データに、当該印字データの識別情報に対応して前記不揮発メモリに記憶されている前記印字完了数に基づいて、再印字であることを示す情報あるいは未印字であることを示す情報を印字させる印字データを追加する、ことを特徴とする。 Also, one aspect of the present invention is the order management system described above, wherein the print information adding unit corresponds to identification information of the print data in the strip print data included in the retransmitted print data. Print data for printing information indicating reprinting or information indicating non-printing is added based on the number of print completions stored in the nonvolatile memory.
また、本発明の一態様は、上述した注文管理システムであって、前記印字データは、前記注文データが示す注文の明細を単一の伝票として印字させる短冊印字データを1以上含み、前記印字装置は、前記印字部が前記印字データに含まれる前記短冊印字データの印字を完了した数である印字完了数を、当該印字データの識別情報と対応付けて前記不揮発メモリに書き込む更新部をさらに備え、前記未印字伝票通知部は、前記印字装置の電源が投入されたときに、前記不揮発メモリに記憶されている前記印字データの識別情報及び前記印字完了数を前記制御装置に送信し、前記伝票再発行処理部は、前記印字装置から受信した前記印字データの識別情報及び前記印字完了数を受信し、受信した前記識別情報により特定される前記印字データに含まれる短冊印字データのうち、受信した前記印字完了数から印字されていないと判断される短冊印字データのみを含む印字データを生成し、生成した印字データを、前記伝票処理部が送信後に受信応答を受信していない前記印字データ及び前記伝票処理部が未送信の前記印字データより先に、前記識別情報で特定される前記注文データの注文時刻の早い順に、前記印字装置に送信する、ことを特徴とする。 Also, one aspect of the present invention is the order management system described above, wherein the print data includes one or more strip print data for printing the order details indicated by the order data as a single slip, and the printing device Further includes an update unit that writes a print completion number, which is the number of prints of the strip print data included in the print data, to the nonvolatile memory in association with identification information of the print data, The unprinted slip notification unit transmits the identification information of the print data stored in the nonvolatile memory and the number of print completions to the control device when the power of the printing device is turned on. The issuance processing unit receives the identification information of the print data received from the printing apparatus and the number of print completions, and includes them in the print data specified by the received identification information. Print data including only the strip print data determined not to be printed from the received number of print completions received, and the receipt processing response is received after the slip processing unit transmits the generated print data. The print data not received and the slip processing unit transmit the print data to the printing device in the order of the order time of the order data specified by the identification information before the untransmitted print data. And
なお、上述した注文管理システムにおいて、前記印字データは、前記短冊印字データの間に紙の切断を指示するコマンドを含み、前記更新部は、前記印字データの識別情報と対応付けて、前記印字部が当該印字データに含まれる前記コマンドが実行された数を前記印字完了数として前記不揮発メモリに書き込む、ようにしてもよい。 In the order management system described above, the print data includes a command for instructing cutting of paper between the strip print data, and the update unit is associated with identification information of the print data, and the print unit May be written in the non-volatile memory as the number of print completions, the number of execution of the command included in the print data.
また、本発明の一態様は、上述した注文管理システムであって、前記伝票処理部は、前記注文受信部が受信した注文データに基づいて複数種類の伝票の印字データを生成するとともに当該印字データそれぞれを識別する識別情報を生成し、前記注文データと前記伝票の伝票番号と前記印字データそれぞれの識別情報とを対応付けて前記記憶部に登録し、前記印字データ及び当該印字データの識別情報の組それぞれを、当該印字データの伝票の種類に対応した前記印字装置へ送信し、送信した前記印字データ及び前記識別情報に対応して前記印字装置から受信応答を受信し、前記伝票再発行処理部は、前記印字装置から再送対象の伝票の伝票番号を受信し、受信した前記伝票番号により特定される前記注文データに基づいて生成した前記複数の種類の印字データを前記印字装置に返送するとともに、返送した前記印字データの識別情報と再送済みを示す情報とを対応づけて前記記憶部に登録し、前記伝票処理部が再送対象の伝票の伝票番号を送信した前記印字装置とは異なる他の前記印字装置から前記識別情報を再送対象として受信し、受信した前記識別情報に対応して再送済みを示す情報が前記記憶部に登録されている場合、削除要求を前記他の印字装置に返送し、受信した前記識別情報に対応して再送済みを示す情報が前記記憶部に登録されていない場合、前記識別情報により特定される前記印字データを、前記伝票処理部が送信後に受信応答を受信していない前記印字データ及び前記伝票処理部が未送信の前記印字データより先に、前記識別情報で特定される前記注文データの注文時刻の早い順に、前記他の印字装置に送信し、前記印字装置の未印字伝票通知部は、再発行対象の伝票の伝票番号を前記制御装置に送信し、前記他の印字装置の前記削除部は、前記未印字伝票通知部が送信した前記印字データの識別情報に対応して前記制御装置から削除要求を受信した場合、送信した前記識別情報を前記不揮発メモリから削除する、ことを特徴とする。 One aspect of the present invention is the order management system described above, wherein the slip processing unit generates print data of a plurality of types of slips based on the order data received by the order receiving unit, and the print data Generating identification information for identifying each of them, registering the order data, the slip number of the slip, and the identification information of each print data in the storage unit, and registering the print data and the identification information of the print data; Each set is transmitted to the printing device corresponding to the type of slip of the print data, the reception response is received from the printing device corresponding to the transmitted print data and the identification information, and the slip reissue processing unit Receives the slip number of the slip to be retransmitted from the printing device, and generates the plurality of pieces generated based on the order data specified by the received slip number. The print data of the same type is returned to the printing apparatus, the identification information of the returned print data is associated with the information indicating that the data has been retransmitted, and registered in the storage unit. When the identification information is received as a retransmission target from another printing apparatus different from the printing apparatus that transmitted the number, and information indicating that retransmission has been performed is registered in the storage unit corresponding to the received identification information In the case where information indicating that retransmission has been completed is not registered in the storage unit in response to the received identification information, the print data specified by the identification information is returned to the other printing device. The print data for which the slip processing unit has not received a reception response after transmission, and the order data specified by the identification information prior to the print data for which the slip processing unit has not been transmitted. The sentence is sent to the other printing device in order of sentence time, and the unprinted slip notification unit of the printing device sends the slip number of the slip to be reissued to the control device, and the deletion of the other printing device. The unit deletes the transmitted identification information from the non-volatile memory when receiving a deletion request from the control device corresponding to the identification information of the print data transmitted by the unprinted slip notification unit. To do.
また、本発明の一態様は、制御装置及び印字装置を有する注文管理システムに用いられる前記制御装置であって、注文を入力する装置から注文データを受信する注文受信部と、前記注文受信部が受信した注文データと当該注文データが示す注文の注文時刻とを記憶部に登録する注文処理部と、前記注文受信部が受信した注文データに基づいて伝票の印字データを生成するとともに当該印字データを識別する識別情報を生成して当該識別情報を前記注文データと対応付けて前記記憶部に登録し、前記印字データ及び前記識別情報を前記印字装置へ送信し、送信した前記印字データ及び前記識別情報に対応して前記印字装置から受信応答を受信する伝票処理部と、前記印字装置から再送対象の前記印字データの識別情報を受信し、受信した前記識別情報により特定される前記印字データを、前記伝票処理部が送信後に受信応答を受信していない前記印字データ及び前記伝票処理部が未送信の前記印字データより先に、前記識別情報で特定される前記注文データの注文時刻の早い順に、前記印字装置に送信する伝票再発行処理部と、を備えることを特徴とする制御装置である。 One aspect of the present invention is the control device used in an order management system having a control device and a printing device, wherein the order receiving unit that receives order data from a device that inputs an order, and the order receiving unit includes An order processing unit that registers the received order data and the order time of the order indicated by the order data in the storage unit, and generates print data of the slip based on the order data received by the order receiving unit and the print data Generating identification information for identification, registering the identification information in the storage unit in association with the order data, transmitting the print data and the identification information to the printing apparatus, and transmitting the print data and the identification information Corresponding to the slip processing unit that receives the reception response from the printing device, and the identification information of the print data to be retransmitted from the printing device. The print data specified by the information is specified by the identification information before the print data for which the slip processing unit has not received a reception response after transmission and the print data for which the slip processing unit has not been transmitted. And a slip reissuing processor that transmits the order data to the printing device in order of the ordering time of the order data.
また、本発明の一態様は、制御装置及び印字装置を有する注文管理システムに用いられる伝票印字制御方法であって、前記制御装置において、注文受信部が、注文を入力する装置から注文データを受信する注文受信過程と、注文処理部が、前記注文受信部が受信した注文データと当該注文データが示す注文の注文時刻とを記憶部に登録する注文処理過程と、伝票処理部が、前記注文受信過程において受信した注文データに基づいて伝票の印字データを生成するとともに当該印字データを識別する識別情報を生成して当該識別情報を前記注文データと対応付けて前記記憶部に登録し、前記印字データ及び前記識別情報を前記印字装置へ送信する印字データ送信過程と、前記伝票処理部が、送信した前記印字データ及び前記識別情報に対応して前記印字装置から受信応答を受信する応答受信過程と、伝票再発行処理部が、前記印字装置から再送対象の前記印字データの識別情報を受信し、受信した前記識別情報により特定される前記印字データを、前記印字データ送信過程における送信後に前記応答受信過程において受信応答を受信していない前記印字データ及び前記印字データ送信過程において送信を行っていない前記印字データより先に、前記識別情報で特定される前記注文データの注文時刻の早い順に、前記印字装置に送信する伝票再発行過程と、前記印字装置において、受信部が、前記制御装置から前記印字データ及び当該印字データの識別情報を受信し、受信応答を返送する受信過程と、登録部が、前記受信過程において受信した前記印字データの識別情報を、受信した順に不揮発メモリに書き込む登録過程と、印字処理部が、前記受信過程において受信した前記印字データを印字部に印字させる印字処理過程と、削除部が、印字が完了した前記印字データの識別情報を前記不揮発メモリから削除する削除過程と、未印字伝票通知部が、当該印字装置の電源が投入されたときに、前記不揮発メモリに記憶されている前記印字データの識別情報を再送対象として前記制御装置に送信する未印字伝票通知過程と、を有することを特徴とする伝票印字制御方法である。 According to another aspect of the present invention, there is provided a slip printing control method used in an order management system having a control device and a printing device, wherein the order receiving unit receives order data from a device for inputting an order. The order receiving process, the order processing unit registers the order data received by the order receiving unit and the order time of the order indicated by the order data in the storage unit, and the slip processing unit receives the order. Generating print data of the slip based on the order data received in the process, generating identification information for identifying the print data, registering the identification information in the storage unit in association with the order data, and printing data And a print data transmission process for transmitting the identification information to the printing apparatus, and the slip processing unit corresponds to the print data and the identification information transmitted in advance. A response reception process of receiving a reception response from the printing apparatus, and a slip reissue processing unit receives identification information of the print data to be retransmitted from the printing apparatus, and the print data specified by the received identification information The identification information is specified prior to the print data that has not been received in the response reception process after transmission in the print data transmission process and the print data that has not been transmitted in the print data transmission process. A slip reissuing process for transmitting to the printing device in order of the order time of the order data, and in the printing device, the receiving unit receives and receives the print data and the identification information of the print data from the control device. A receiving process for returning a response, and the registration unit, in the order in which the identification information of the print data received in the receiving process is received. A registration process for writing into the volatile memory, a printing process in which the print processing unit prints the print data received in the reception process on the printing unit, and a deletion unit stores the identification information of the print data that has been printed in the nonvolatile memory. Deletion process for deleting from the memory, and an unprinted slip notification unit transmits the identification information of the print data stored in the non-volatile memory to the control device as a retransmission target when the printing device is powered on And a non-printed slip notification process.
本発明によれば、プリンタに大容量の不揮発メモリを搭載する必要なく、プリンタの電源断が発生した場合であっても、注文の発生順に伝票を印字することができる。 According to the present invention, it is not necessary to mount a large-capacity non-volatile memory in the printer, and even when the printer is turned off, the slips can be printed in the order in which the orders are generated.
以下、図面を参照しながら本発明の実施形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[第1の実施形態]
図1は、本発明の第1の実施形態による注文管理システムの全体構成を示す図である。同図に示すように、注文管理システムは、ハンディーターミナル10、コントローラ20(制御装置)、及び、プリンタ30(印字装置)を備えて構成される。同図においては、ハンディーターミナル10及びプリンタ30をそれぞれ1台のみ示しているが、複数台が備えられていてもよい。また、コントローラ20への通信を中継するため、店舗内に、図示しない中継装置を配置してもよい。
コントローラ20は、ハンディーターミナル10及びプリンタ30と無線により通信する。なお、同図において、コントローラ20とハンディーターミナル10の通信及びコントローラ20とプリンタ30の通信には無線を使用しているが、有線による通信であってもよい。また同図には含まれないが、ハンディーターミナル10の代わりに据え置き型の入力端末でもよい。
[First Embodiment]
FIG. 1 is a diagram showing the overall configuration of an order management system according to the first embodiment of the present invention. As shown in the figure, the order management system includes a handy terminal 10, a controller 20 (control device), and a printer 30 (printing device). In the figure, only one handy terminal 10 and one
The
飲食店において接客担当者は、お客様のテーブル番号、注文された料理や飲み物、食事セットなどの注文品とその注文数量、接客担当を特定する担当識別情報、お客様の人数や客層などをハンディーターミナル10へ入力する。ハンディーターミナル10は、それらの入力内容を設定した注文データをコントローラ20へ送信する。
コントローラ20は、注文データに基づいて調理伝票等の伝票を印字させるための印字データ(以下、「伝票印字データ」と記載する。)を生成し、プリンタ30へ送信する。
プリンタ30は、コントローラ20から受信した伝票印字データを印字する。なお、コントローラ20は、伝票印字データ以外の印字データをプリンタ30へ送信することもある。
At the restaurant, the customer service representative will provide the customer's table number, ordered items such as ordered foods and drinks, meal sets and their order quantities, identification information for identifying the customer service, the number of customers and the customer base, etc. To enter. The handy terminal 10 transmits the order data in which the input contents are set to the
The
The
図2は、図1に示すコントローラ20の内部構成を示すブロック図であり、本実施形態と関係する機能ブロックのみ抽出して示してある。同図に示すように、コントローラ20は、第1送受信部21、処理部22、記憶部23及び第2送受信部24を備えて構成される。
FIG. 2 is a block diagram showing an internal configuration of the
第1送受信部21は、ハンディーターミナル10との間で無線(または有線)によりデータの送受信を行う。第2送受信部24は、プリンタ30との間で無線(または有線)によりデータの送受信を行う。なお、図2においては、第1送受信部21と第2送受信部24を別々に記載しているが、ハードウエアとしては同一であってもよい。
記憶部23は、注文管理データと、送信が完了していない印字データとを記憶する。注文管理データは、注文データと、注文時刻と、伝票番号と、注文データから生成された伝票印字データを特定する識別コードとを対応付けたデータである。伝票番号は、コントローラ20がハンディーターミナル10から受信した注文データを識別可能に、且つ、受信した順番を特定可能に、コントローラ20により注文データ毎に生成される番号である。伝票印字データの識別コードは、コントローラ20により生成され、伝票印字データごとに割り振られるユニークなコードである。重複を避けるために、その一例として、伝票番号に日付情報や伝票の種類に関する情報などを加えたものなどが使用される。伝票印字データ以外の印字データの場合、識別コードは所定の値をとる。注文データは、接客担当者を特定する担当者コード、お客様が利用しているテーブルのテーブル番号、明細データを含む。明細データは、注文品毎に生成され、注文品とその注文数量を含む注文の明細を示す。従って、注文データには、1以上の明細データが含まれる。
The first transmission /
The
処理部22は、印字要求受信部220(注文受信部)、注文処理部221、伝票処理部222、伝票再発行処理部223及び印字データ生成部224を備えて構成される。
印字要求受信部220は、他の装置から送信された印字要求を受信する。
注文処理部221は、記憶部23に記憶されている注文管理データに、ハンディーターミナル10から受信した注文データと、注文時刻とを対応付けて追加登録する。注文時刻は、コントローラ20が注文データを受信した時刻でもよく、ハンディーターミナル10が注文データに付加してコントローラ20へ送信した注文時刻でもよい。
The
The print
The
伝票処理部222は、受信した注文データに対して伝票番号を割り当てる。また、伝票処理部222は、注文データから伝票印字データを生成し、識別コードを割り当てる。伝票処理部222は、記憶部23に記憶されている注文管理データに、伝票印字データの生成に用いた注文データと対応付けて割り当てた伝票番号及び識別コードを書き込むとともに、生成した伝票印字データと割り当てた識別コードとをプリンタ30に送信するよう第2送受信部24に指示する。
The
伝票再発行処理部223は、第2送受信部24がプリンタ30から受信した接続要求に識別コードが設定されている場合、記憶部23に記憶されている注文管理データを検索して当該識別コードに対応した注文データを特定する。伝票再発行処理部223は、特定した注文データから伝票印字データを生成し、生成した伝票印字データと当該伝票印字データの識別コードを接続要求の送信元のプリンタ30に送信するよう第2送受信部24へ指示する。
印字データ生成部224は、伝票印字データ以外の各種印字データを生成し、生成した印字データと、伝票印字データではないことを示す識別コードとをプリンタ30に送信するよう第2送受信部24に指示する。
When the identification code is set in the connection request received by the second transmitting / receiving
The print
図3は、図1に示すプリンタ30の内部構成を示すブロック図あり、本実施形態と関係する機能ブロックのみ抽出して示してある。同図に示すように、プリンタ30は、送受信部31(受信部)、処理部32、揮発メモリ33、不揮発メモリ34、印字部35及びカッター部36を備えて構成される。
FIG. 3 is a block diagram showing an internal configuration of the
送受信部31は、コントローラ20との間で無線(または有線)によりデータの送受信を行う。揮発メモリ33は、コントローラ20から受信した印字データと、当該印字データの識別コードとを対応付けて記憶する。不揮発メモリ34は、例えば、バックアップ電池付きRAM(Random Access Memory)や、書き込み及び消去が可能なフラッシュROM(Read Only Memory)などである。不揮発メモリ34は、印字が完了していない伝票印字データの識別コードを記憶する。印字部35は、ロール紙への印字を行う。カッター部36は、ロール紙の未印字の部分から、印字された部分の紙をカットする。
The transmission /
処理部32は、通信処理部321(未印字伝票通知部)、記憶処理部322及び印字処理部323を備えて構成される。
通信処理部321は、プリンタ30の図示しない電源が投入されたときに、不揮発メモリ34に識別コードが記憶されている場合、当該識別コードと接続要求をコントローラ20へ送信するよう送受信部31に指示する。不揮発メモリ34に識別コードが記憶されていない場合、接続要求のみをコントローラ20へ送信するよう送受信部31に指示する。
記憶処理部322は、登録部324及び削除部325を備える。登録部324は、送受信部31を介してコントローラ20から受信した印字データとその識別コードとを対応付けて揮発メモリ33に書き込む。また、登録部324は、未印字の伝票印字データの識別コードを不揮発メモリ34に書き込む。削除部325は、印字が完了した伝票印字データとその識別コードを揮発メモリ33から削除するとともに、印字が完了した伝票印字データの識別コードを不揮発メモリ34から削除する。
印字処理部323は、揮発メモリ33から読み出した印字データを印字するよう印字部35に指示する。また、印字処理部323は、印字完了後にロール紙をカットするようカッター部36に指示するとともに、印字の完了を記憶処理部322へ通知する。
The
The
The
The
図4は、プリンタ30に異なる対象を印字させる場合の注文管理システムのシーケンス図である。
同図において、コントローラ20の印字要求受信部220は、印字要求の受信待ち状態である(ステップS102)。印字要求受信部220が、第1送受信部21を介して他の装置から印字要求を受信すると(ステップS104)、要求された印字対象が伝票であるかを判断する(ステップS106)。
印字要求受信部220が、要求された印字対象が伝票であると判断した場合(ステップS106:YES)、伝票処理部222は、伝票番号及び識別コードを割り当て、注文データに基づいて伝票印字データを生成する(ステップS108)。ここでは、伝票処理部222は、伝票1の伝票印字データである伝票1印字データを生成する。
第2送受信部24は、伝票処理部222が生成した伝票1印字データと、伝票1印字データに割り当てた識別コードである伝票1識別コード「0123」とをプリンタ30へ送信する(ステップS110)。
FIG. 4 is a sequence diagram of the order management system when the
In the figure, the print
When the print
The second transmitting / receiving
プリンタ30の通信処理部321は、送受信部31を介してコントローラ20から伝票1印字データ及び伝票1識別コードを受信すると(ステップS112)、受信した伝票1印字データ及び伝票1識別コードと保存依頼とを記憶処理部322に出力する(ステップS114)。
When the
記憶処理部322の登録部324は、伝票1印字データと伝票1識別コードとを対応付けて揮発メモリ33に書き込む。また、登録部324は、伝票1識別コードが不揮発メモリ34へ記憶する対象外の識別コード「0000」とは一致しないため、伝票1識別コードを不揮発メモリ34に書き込む(ステップS116)。登録部324は、書き込み終了を通信処理部321に通知し、通信処理部321は、コントローラ20へ応答を送信するよう送受信部31へ指示する(ステップS118)。
送受信部31は伝票1印字データの受信応答をコントローラ20へ送信する(ステップS120)。
The
The transmission /
コントローラ20の印字要求受信部220は、第2送受信部24を介して伝票1印字データの受信応答を受信すると、ステップS102に戻り、再び印字要求の受信待ち状態となる。その一方、プリンタ30の登録部324は、印字処理部323に伝票1識別コードを設定した印字依頼を出力する(ステップS122)。印字処理部323は、印字依頼に設定されている伝票1識別コードで特定される伝票1印字データを揮発メモリ33から読み出し、伝票1印字データの印字を印字部35に実行させる(ステップS124)。
When the print
コントローラ20の印字要求受信部220は、印字要求待ち状態に戻った後、再び、印字要求を受信する(ステップS104)。印字要求受信部220が、要求された印字対象がメニューシートであり、伝票ではないと判断した場合(ステップS106:NO)、印字データ生成部224は、メニューシート印字データを生成し、伝票印字データではないことを示す識別コード「0000」を割り当てる(ステップS126)。
第2送受信部24は、印字データ生成部224が生成したメニューシート印字データと、割り当てた識別コードとをプリンタ30に送信する(ステップS128)。
After returning to the print request waiting state, the print
The second transmission /
プリンタ30の通信処理部321は、送受信部31を介してコントローラ20からメニューシート印字データ及び識別コードを受信すると(ステップS130)、受信したメニューシート及び識別コードと保存依頼とを記憶処理部322に出力する(ステップS132)。
When the
記憶処理部322の登録部324は、メニューシート印字データと識別コードとを対応付けて揮発メモリ33に書き込むが、識別コードが不揮発メモリ34へ記憶する対象外の識別コード「0000」と一致するため、不揮発メモリ34への書き込みは行わない(ステップS134)。登録部324は、書き込み終了を通信処理部321に通知し、通信処理部321は、コントローラ20へ応答を送信するよう送受信部31へ指示する(ステップS136)。
送受信部31はメニューシート印字データの受信応答をコントローラ20へ送信する(ステップS138)。
The
The transmission /
コントローラ20の印字要求受信部220は、第2送受信部24を介してメニューシート印字データの受信応答を受信すると、ステップS102に戻り、再び印字要求の受信待ち状態となる。その一方、プリンタ30の登録部324は、印字処理部323にメニューシート印字データの印字依頼を出力する(ステップS140)。印字処理部323は、メニューシート印字データを印字部35に印字させる(ステップS142)。
When the print
図5は、プリンタ30の図示しない電源の投入後、正常に伝票の印字が完了する場合の注文管理システムのシーケンス図である。
同図において、プリンタ30の電源が投入されると(ステップS201)、処理部32の通信処理部321は、不揮発メモリ34に識別コードが記憶されているかを判断する。通信処理部321は、不揮発メモリ34に識別コードが記憶されていないため、接続要求の送信を送受信部31に指示する(ステップS202)。送受信部31は、接続要求をコントローラ20へ送信する(ステップS204)。
コントローラ20の第2送受信部24は、接続要求を受信してプリンタ30の起動を認識すると、プリンタ30へ接続応答を返送する(ステップS206)。
FIG. 5 is a sequence diagram of the order management system when the printing of the slip is normally completed after the
In the figure, when the
When the second transmission /
コントローラ20は、ハンディーターミナル10から注文データを受信し、伝票1の伝票印字データである伝票1印字データと、伝票1識別コード「0001」とをプリンタ30へ送信する(ステップS208)。
The
プリンタ30は、受信した伝票1印字データと伝票1識別コードについて、図4に示すステップS112〜S124の処理を実行する(ステップS210〜S222)。つまり、プリンタ30の通信処理部321は、送受信部31を介して伝票1印字データ及び伝票1識別コードを受信し、保存依頼とともに記憶処理部322へ出力する。
The
記憶処理部322の登録部324は、伝票1印字データと伝票1識別コードとを対応付けて揮発メモリ33に書き込むとともに、伝票1識別コードを不揮発メモリ34に書き込み、送受信部31は伝票1印字データの受信応答をコントローラ20へ送信する。登録部324は、印字処理部323に伝票1識別コードを設定した印字依頼を出力し、印字処理部323は、伝票1印字データの印字を印字部35に実行させる。
The
コントローラ20は、伝票1印字データの受信応答を受信した後、さらに、ハンディーターミナル10から注文データを受信し、伝票2の伝票印字データである伝票2印字データと、伝票2印字データ2の識別コードである伝票2識別コード「0002」とをプリンタ30へ送信する(ステップS224)。
After receiving the receipt response of the
プリンタ30は、受信した伝票2印字データと伝票2識別コードについて、図4に示すステップS112〜S122の処理を実行する(ステップS226〜S236)。つまり、プリンタ30の通信処理部321は、送受信部31を介して伝票2印字データ及び伝票2識別コードを受信し、保存依頼とともに記憶処理部322へ出力する。
The
記憶処理部322の登録部324は、伝票2印字データと伝票2識別コードとを対応付けて揮発メモリ33に書き込むとともに、伝票2識別コードを不揮発メモリ34に書き込み、送受信部31は伝票2印字データの受信応答をコントローラ20へ送信する。登録部324は、印字処理部323に伝票2識別コードを設定した印字依頼を出力する。印字処理部323は、伝票1印字データの印字処理が完了していないため、受信した印字依頼を記憶(バッファリング)しておく。
The
図6は、図5の続きのシーケンス図である。同図のステップS222及びS236の処理は、図5のステップS222及びS236の処理を表している。
コントローラ20は、伝票2印字データの受信応答を受信した後、さらに、ハンディーターミナル10から注文データを受信し、伝票3の伝票印字データである伝票3印字データと、伝票3印字データの識別コードである伝票3識別コード「0003」とをプリンタ30へ送信する(ステップS252)。
FIG. 6 is a sequence diagram continued from FIG. The processing in steps S222 and S236 in the figure represents the processing in steps S222 and S236 in FIG.
After receiving the receipt response of the
プリンタ30は、受信した伝票3印字データと伝票3識別コードについて、図4に示すステップS112〜S120の処理を実行する(ステップS254〜S262)。つまり、プリンタ30の通信処理部321が送受信部31を介して伝票3印字データ及び伝票3識別コードを受信し、保存依頼とともに記憶処理部322に出力する。
The
記憶処理部322の登録部324は、伝票3印字データと伝票3識別コードとを対応付けて揮発メモリ33に書き込むとともに、伝票3識別コードを不揮発メモリ34に書き込み、送受信部31は伝票3印字データの受信応答をコントローラ20へ送信する。
The
プリンタ30の印字部35が伝票1印字データの印字を完了すると、プリンタ30の印字処理部323は、記憶処理部322に伝票1印字データの印字完了応答を出力する(ステップS264)。記憶処理部322の削除部325は、伝票1印字データと伝票1識別コードを揮発メモリ33から削除するとともに、不揮発メモリ34から伝票1識別コードを削除する(ステップS266)。
When the
印字処理部323は、記憶していた印字依頼から伝票2識別コードを取得する。印字処理部323は、伝票2識別コードで特定される伝票2印字データを揮発メモリ33から読み出し、伝票2印字データの印字を印字部35に実行させる(ステップS268)。
The
印字部35が伝票2印字データの印字を完了すると、印字処理部323は、記憶処理部322に伝票2印字データの印字完了応答を出力する(ステップS270)。記憶処理部322の削除部325は、伝票2印字データと伝票2識別コードを揮発メモリ33から削除するとともに、不揮発メモリ34から伝票2識別コードを削除する(ステップS272)。
When the
記憶処理部322の登録部324は、印字処理部323に伝票3識別コードを設定した印字依頼を出力する(ステップS274)。
印字処理部323は、伝票2印字データの印字完了応答の送信後、伝票3印字データの印字処理を印字部35に実行させる(ステップS276)。
印字部35が伝票3印字データの印字を完了すると、印字処理部323は、伝票3印字データの印字完了応答を記憶処理部322に出力する(ステップS278)。
記憶処理部322の削除部325は、伝票3印字データと伝票3識別コードを揮発メモリ33から削除するとともに、不揮発メモリ34から伝票3識別コードを削除する(ステップS280)。
The
After transmitting the print completion response for the
When the
The
図7は、伝票印刷途中でプリンタ30の電源断が発生したときの注文管理システムのシーケンス図である。
同図において、プリンタ30の電源が投入されると(ステップS302)、注文管理システムは、図5のステップS202〜S206の処理を行う(ステップS304〜S308)。その後、コントローラ20が、ハンディーターミナル10から注文データを受信すると、注文管理システムは、図5のステップS208〜S222の処理を行う(ステップS310〜S324)。さらに、コントローラ20が、伝票1印字データの受信応答を受信した後、ハンディーターミナル10から注文データを受信すると、注文管理システムは、図5のステップS224〜S236の処理を行う(ステップS326〜S338)。
FIG. 7 is a sequence diagram of the order management system when the power of the
In the figure, when the
コントローラ20が、伝票2印字データの受信応答を受信した後、ハンディーターミナル10から注文データを受信すると、注文管理システムは、図6のステップS252〜S262と同じ処理を行う(ステップS340〜S350)。そして、図6のステップS264〜S266の処理と同様に、プリンタ30の印字部35が伝票1印字データの印字を完了すると、印字処理部323が伝票1印字データの印字完了応答を記憶処理部322へ出力し(ステップS352)、記憶処理部322の削除部325は、伝票1印字データと伝票1識別コードを揮発メモリ33から削除し、不揮発メモリ34から伝票1識別コードを削除する(ステップS354)。そして、印字処理部323の指示により、印字部35が伝票2印字データの印字を開始したところで(ステップS356)、プリンタ30の電源断が発生する(ステップS358)。
When the
例えば、プリンタ30の印字中に不具合が発生し、電源をオフしないと復旧しない場合などに、従業員がプリンタ30の電源をオフする。また、例えば、電源のトラブル等で、プリンタ30が印字を完了する前に電源の供給が止まってしまう場合もある。電源断が発生すると、プリンタ30の揮発メモリ33に記憶されていた内容は消滅するが、不揮発メモリ34に記憶されている内容は保持される。
For example, when a problem occurs during printing of the
図8は、図7の続きのシーケンス図である。同図において、プリンタ30の電源が再び投入されると(ステップS402)、記憶処理部322は、不揮発メモリ34に識別コードが記憶されているか否かを確認し、記憶されている場合、未印字伝票再送要求を通信処理部321に送出する(ステップS404)。
FIG. 8 is a sequence diagram continued from FIG. In the figure, when the
通信処理部321は、記憶処理部322から未印字伝票再送要求の入力を受け、不揮発メモリ34に識別コードが記憶されているかを判断する。通信処理部321は、不揮発メモリ34に識別コードが記憶されていると判断すると、接続要求とともに、不揮発メモリ34に記憶されている伝票2識別コード「0002」、伝票3識別コード「0003」を設定した未印字伝票通知情報とを送受信部31に出力し、未印字伝票の再送を要求するよう送受信部31に指示する(ステップS406)。
送受信部31は、接続要求に未印字伝票通知情報を設定したものをコントローラ20へ送信する(ステップS408)。コントローラ20の第2送受信部24は、プリンタ30から接続要求を受信すると、接続応答をプリンタ30へ返送する(ステップS410)。
The
The transmission /
コントローラ20の伝票再発行処理部223は、接続要求に設定されている未印字伝票通知情報から伝票2識別コード及び伝票3識別コードを読み出す。伝票再発行処理部223は、まず、記憶部23に記憶されている注文管理データから伝票2識別コードで特定される注文データを読み出し、読み出した注文データに基づいて伝票2印字データを生成する。伝票再発行処理部223は、生成した伝票2印字データと伝票2識別コードの送信を第2送受信部24に指示し、第2送受信部24は、伝票2印字データと伝票2識別コードをプリンタ30に送信する(ステップS412)。
The
プリンタ30の通信処理部321は、送受信部31を介してコントローラ20から伝票2印字データ及び伝票2識別コードを受信すると(ステップS414)、受信した伝票2印字データ及び伝票2識別コードと保存依頼とを記憶処理部322に出力する(ステップS416)。
When the
記憶処理部322の登録部324は、伝票2印字データと伝票2識別コードとを対応付けて揮発メモリ33に書き込む。登録部324は、不揮発メモリ34に伝票2識別コードが記憶されているため、不揮発メモリ34への書き込みは行わない(ステップS418)。登録部324は、書き込み終了を通信処理部321に通知し、通信処理部321は、コントローラ20への応答を送信するよう送受信部31へ指示する(ステップS420)。送受信部31は伝票2印字データの受信応答をコントローラ20へ送信する(ステップS422)。
The
一方、プリンタ30の登録部324は、印字処理部323に伝票2識別コードを設定した印字依頼を出力し(ステップS424)、印字処理部323は、伝票2印字データの印字処理を印字部35に実行させる(ステップS426)。
On the other hand, the
なお、コントローラ20の第2送受信部24が、伝票2印字データの受信応答を受信すると、注文管理システムは、伝票2識別コードに代えて伝票3識別コードを用い、上記のステップS412〜S424の処理を実行する。
つまり、コントローラ20の伝票再発行処理部223は、注文管理データから伝票3識別コードで特定される注文データを読み出して伝票3印字データを生成し、第2送受信部24は、伝票3印字データと伝票3識別コードをプリンタ30に送信する。プリンタ30の通信処理部321は、送受信部31を介してコントローラ20から伝票3印字データ及び識別コードを受信し、保存依頼とともに記憶処理部322に出力する。記憶処理部322の登録部324は、伝票3印字データと伝票3識別コードとを対応付けて揮発メモリ33に書き込み、不揮発メモリ34への書き込みは行わない。送受信部31は伝票3印字データの受信応答をコントローラ20へ送信する。
When the second transmission /
That is, the slip reissuing
図9は、電源起動時のプリンタ30の処理フローを示す図である。
プリンタ30の電源が投入されると(ステップS502)、通信処理部321は、不揮発メモリ34に未印字の伝票印字データの識別コードが記憶されているかにより、未印字の伝票印字データがあるかを判断する(ステップS504)。
不揮発メモリ34に未印字の伝票印字データの識別コードが記憶されていないと判断した場合(ステップS504:無し)、通信処理部321は、送受信部31に接続要求の送信を指示する。送受信部31は、接続要求をコントローラ20へ送信する(ステップS506)。ステップS506の処理は、図5のステップS202〜S204の処理に相当する。送受信部31が、コントローラ20から接続応答を受信すると(図6のステップS206に相当)、印字データの受信待ちとなる(ステップS508)。
FIG. 9 is a diagram illustrating a processing flow of the
When the power of the
If it is determined that the identification code of unprinted slip print data is not stored in the nonvolatile memory 34 (step S504: none), the
一方、ステップS504において、未印字の伝票印字データの識別コードが記憶されていると判断した場合(ステップS504:有り)、通信処理部321は、接続要求とともに、不揮発メモリ34から読み出した識別コードを設定した未印字伝票通知情報を送受信部31に出力し、未印字伝票の再送を要求するよう指示する。
On the other hand, if it is determined in step S504 that an identification code of unprinted slip print data is stored (step S504: present), the
送受信部31は、未印字伝票通知情報を設定した接続要求をコントローラ20へ送信する(ステップS510)。ステップS510の処理は、図8のステップS404〜S408の処理に相当する。送受信部31が、コントローラ20から接続応答を受信すると(図8のステップS410に相当)、印字データの受信待ちとなる(ステップS508)。
The transmission /
図10は、コントローラ20の注文処理フローを示す図である。注文処理は、ハンディーターミナル10から注文データを受信し、受信した注文データに基づいて生成した伝票印字データをプリンタ30に印字させる処理である。
FIG. 10 is a diagram showing an order processing flow of the
コントローラ20の印字要求受信部220は、第1送受信部21がハンディーターミナル10から注文データを受信したかを判断する(ステップS602)。印字要求受信部220が、注文データを受信しなかったと判断した場合(ステップS602:NO)、コントローラ20はステップS610の処理を行う。
The print
一方、印字要求受信部220が、注文データを受信したと判断した場合(ステップS602:YES)、受信した注文データを注文処理部221に出力する(ステップS604)。注文処理部221は、記憶部23に記憶されている注文管理データに、受信した注文データと注文時刻とを対応付けて追加登録する(ステップS606)。伝票処理部222は、伝票番号を割り当てると、注文データから伝票印字データを生成し、識別コードを割り当てる。伝票処理部222は、記憶部23に記憶されている注文管理データに、注文データと対応付けて割り当てた伝票番号及び識別コードを書き込むとともに、生成した伝票印字データと識別コードとを対応付けて記憶部23に書き込む(ステップS608)。書き込み後、コントローラ20は、ステップS610の処理を実行する。
On the other hand, when the print
第2送受信部24は、プリンタ30から接続要求を受信した場合(ステップS610:YES)、プリンタ30との接続を確立し、受信した接続要求を印字要求受信部220へ出力する(ステップS612)。
印字要求受信部220は、接続要求に未印字伝票通知情報が含まれていると判断すると(ステップS614:YES)、未印字伝票通知情報を伝票再発行処理部223に出力する。伝票再発行処理部223は、未印字伝票通知情報から識別コードを取得し、取得した識別コードに対応して記憶部23に記憶されている注文管理データから注文データを読み出すと、読み出した注文データに基づいて伝票印字データを生成する。以下、未印字伝票通知情報に設定されている識別コードに対応した注文データから生成された伝票印字データを「未印字伝票データ」と記載する。伝票再発行処理部223は、生成した未印字伝票データとその識別コードとを記憶部23に書き込み(ステップS616)、コントローラ20は、ステップS602からの処理を行う。
When the second transmission /
When determining that the connection request includes unprinted slip notification information (step S614: YES), the print
ステップS610において、第2送受信部24がプリンタ30の接続要求を受信しなかった場合(ステップS610:NO)、あるいは、ステップS614において、印字要求受信部220が、接続要求に未印字伝票通知情報が含まれてないと判断した場合(ステップS614:NO)、伝票再発行処理部223は、プリンタ30へまだ送信していない未印字伝票データが記憶部23に記憶されているかにより、未送信の未印字伝票データがあるかを判断する(ステップS618)。
If the second transmission /
記憶部23に未印字伝票データが記憶されている場合(ステップS618:YES)、伝票再発行処理部223は、未送信の未印字伝票データがあると判断して記憶部23から未印字伝票データとその識別コードを読み出す。伝票再発行処理部223は読み出した未印字伝票データとその識別コードとを第2送受信部24に出力し、プリンタ30への送信を指示する。
なお、未印字伝票データが複数記憶されている場合、伝票再発行処理部223は、注文管理データから未印字伝票データの識別コードに対応した注文時刻を読み出し、読み出した注文時刻が最も早い識別コードと、その識別コードに対応した未印字伝票データを第2送受信部24に出力し、プリンタ30への送信を指示する。第2送受信部24は、伝票再発行処理部223から入力された未印字伝票データとその識別コードをプリンタ30へ送信する(ステップS620)。
If unprinted slip data is stored in the storage unit 23 (step S618: YES), the slip
When a plurality of unprinted slip data is stored, the
第2送受信部24が、ステップS620において送信した未印字伝票データに対応してプリンタ30からの受信応答を所定時間内に受信した場合(ステップS622:YES)、伝票再発行処理部223は、ステップS620において送信した未印字伝票データとその識別コードを記憶部23から削除し(ステップS624)、コントローラ20はステップS602からの処理を実行する。一方、第2送受信部24が所定時間内にプリンタ30からの受信応答を受信しなかった場合(ステップS622:NO)、コントローラ20は未印字伝票データの削除は行わずにステップS602からの処理を実行する。
When the second transmission /
ステップS618において、伝票再発行処理部223が、記憶部23に未印字伝票データは記憶されておらず、未送信の未印字伝票データはないと判断した場合(ステップS618:NO)、伝票処理部222は、プリンタ30へまだ送信が完了していない伝票印字データが記憶部23に記憶されているかにより、送信が完了していない伝票印字データがあるかを判断する(ステップS626)。記憶部23に送信が完了していない伝票印字データが記憶されていない場合(ステップS626:NO)、コントローラ20は、ステップS602からの処理を実行する。記憶部23に伝票印字データが記憶されている場合(ステップS626:YES)、伝票処理部222は、ステップS608において書き込まれた後、まだ送信が完了していない伝票印字データとその識別コードを記憶部23から読み出す。伝票処理部222は読み出した伝票印字データとその識別コードとを第2送受信部24に出力し、プリンタ30への送信を指示する。
なお、伝票印字データが複数記憶されている場合、伝票処理部222は、記憶部23が記憶している注文管理データから伝票印字データの識別コードに対応した注文時刻を読み出し、読み出した注文時刻が最も早い識別コードと、その識別コードに対応した伝票印字データを第2送受信部24に出力し、プリンタ30への送信を指示する。第2送受信部24は、伝票処理部222から入力された伝票印字データとその識別コードをプリンタ30へ送信する(ステップS628)。
In step S618, when the slip
When a plurality of slip print data is stored, the
第2送受信部24が、ステップS628において送信した伝票印字データに対応してプリンタ30からの受信応答を所定時間内に受信した場合(ステップS630:YES)、伝票処理部222は、ステップS628において送信した伝票印字データとその識別コードを記憶部23から削除し(ステップS632)、コントローラ20はステップS602からの処理を実行する。一方、第2送受信部24が所定時間内にプリンタ30からの受信応答を受信しなかった場合(ステップS630:NO)、コントローラ20は伝票印字データの削除は行わずにステップS602からの処理を実行する。
When the second transmission /
上記の処理により、コントローラ20は、随時ハンディーターミナル10からの注文データ、プリンタ30からの接続要求を受信する。
プリンタ30の電源断中に注文データを受信した場合、コントローラ20は、受信した注文データから伝票印字データを生成し、生成した伝票印字データと識別コードとをプリンタ30に送信する。
しかし、送信した伝票印字データと識別コードに対応してプリンタ30から受信応答を受信しないため、コントローラ20は、伝票印字データの再送を行う。そして、伝票印字データの再送中に、さらに注文データを受信した場合、コントローラ20は、受信した注文データから伝票印字データを生成して記憶しておく。プリンタ30の電源が再投入され、コントローラ20がプリンタ30から接続要求を受信し、受信した接続要求に未印字伝票通知情報が設定されているときには、プリンタ30の電源断中に再送していた伝票印字データや、送信を行わずに記憶していた伝票印字データよりも、未印字伝票通知情報により要求された未印字伝票データを優先してプリンタ30に送信する。
Through the above processing, the
When the order data is received while the
However, since the reception response is not received from the
なお、ステップS608において伝票処理部222が生成する伝票印字データは、注文データに設定されている担当者コード、テーブル番号及び明細データと、伝票印字データの識別コードである伝票番号と、識別コードに対応して記憶部23の注文管理データから読み出した注文時刻とを含む情報を所定のレイアウトで印字させる印字データである。注文データに手書き文字の情報など他の情報が含まれている場合、それらの情報をさらに印字させる印字データとしてもよい。
Note that the slip print data generated by the
また、ステップS616において伝票再発行処理部223が生成する未印字伝票データは、ステップS608において伝票処理部222が生成する伝票印字データと同じであってもよく、伝票処理部222が生成する伝票印字データに、再送された伝票であることを示す情報をさらに印字させる伝票印字データであってもよい。再送伝票であることを示す情報は、例えば、所定の文字や記号、警告を示す言葉や文書、当該注文データの注文時刻から現在時刻までの経過時間などとすることができる。このような情報を付加して印字することにより、調理担当等が未印字伝票の存在を気付き易くなり、また、その伝票に関する作業についてどの程度迅速に対応すべきなのかを容易に把握することができる。
The unprinted slip data generated by the slip
なお、コントローラ20の伝票処理部222は、送信が成功した伝票印字データを記憶部23から削除せず、伝票再発行処理部223は、未印字伝票通知情報に設定されている識別コードに対応した伝票印字データを記憶部23から読み出してプリンタ30に送信するようにしてもよい。
The
また、プリンタ30の記憶処理部322は、コントローラ20から再送された伝票印字データ(未印字伝票データ)に、再送された伝票印字データによる印字であることを示す情報を印字させる印字データを付加してもよい。
In addition, the
本実施形態によれば、プリンタ30は、コントローラ20から伝票印字データを受信した場合、受信した伝票印字データに付加されている識別コードを不揮発メモリ34に保存し、印字部35において伝票印字データの印字が完了したらその伝票印字データの識別コードを不揮発メモリ34から削除する。
不揮発メモリ34への伝票印字データ及び識別コードの書き込みから、印字部35による伝票印字データの印字の完了までの間に電源断が発生した際でも、不揮発メモリ34内の記憶内容は保存された状態となる。そして、プリンタ30の電源が再度投入されたときに、プリンタ30は不揮発メモリ34に識別コードが保存されたまま残っている場合は、その識別コードにより特定される伝票印字データの印字が完了していないと判断し、不揮発メモリ34から読み出した識別コードを接続要求に付加してコントローラ20へ送信する。
コントローラ20は、プリンタ30から受信した接続要求に付加されている識別コードにより注文データを特定し、特定した注文データから伝票印字データを生成する。この際、コントローラ20は、プリンタ30の電源断が発生していたときにハンディーターミナル10より受信した注文データから生成した伝票印字データよりも、接続要求により通知された識別コードで特定される注文データから生成した伝票印字データを優先し、且つ、注文時刻の早い順にプリンタ30に送信する。これによって、コントローラ20が注文データを受信した順に、注文データから生成した伝票印字データをプリンタ30に印字させることができる。
According to the present embodiment, when receiving the slip print data from the
Even when a power interruption occurs between the time when the slip print data and the identification code are written to the
The
[第2の実施形態]
次に、本発明の第2の実施形態を説明する。第1の実施形態では、コントローラ20がプリンタ30に印字させる伝票は、複数明細が1枚の伝票に含まれる複数明細伝票であってもよく、明細毎にパーシャルカットされた短冊伝票からなる一行明細伝票であってもよい。本実施形態では、コントローラは、プリンタに一行明細伝票を印字させ、プリンタは、短冊伝票の単位で印字が完了したかを管理する。以下、第1の実施形態との差分を中心に説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. In the first embodiment, the slip that the
本実施形態の注文管理システムは、第1の実施形態のプリンタ30に代えて図11に示すプリンタ30aを備える。コントローラ20は、第1の実施形態と同様であるが、伝票処理部222及び伝票再発行処理部223は、一行明細伝票の伝票印字データを生成する。一行明細伝票の伝票印字データは、注文データに含まれる各明細データに対応した短冊伝票を印字させる短冊印字データと、短冊印字データ間に設定されたカットコマンドとを含む。各短冊印字データは、対応する明細データが示す注文品及び数量と、注文データに設定されている担当者コード及びテーブル番号と、伝票印字データの識別コードである伝票番号と、識別コードに対応して記憶部23の注文管理データから読み出した注文時刻とを含む情報を所定のレイアウトで印字させる印字データである。
The order management system of this embodiment includes a
図11は、本実施形態のプリンタ30aの内部構成を示すブロック図である。同図において、図3に示す第1の実施形態によるプリンタ30と同一の部分には同一の符号を付し、その説明を省略する。同図に示すプリンタ30aが、図3に示す第1の実施形態のプリンタ30と異なる点は、処理部32に代えて処理部32aを備える点、揮発メモリ33に代えて揮発メモリ33aを備える点、不揮発メモリ34に代えて不揮発メモリ34aを備える点である。
FIG. 11 is a block diagram showing the internal configuration of the
揮発メモリ33aは、コントローラ20から受信した印字データと、当該印字データの識別コードと、当該識別コードの伝票印字データに含まれる短冊印字データのうち印字が完了した短冊印字データの数を記憶する。不揮発メモリ34aは、バックアップ電池付きRAMや、書き込み及び消去が可能なフラッシュROMなどであり、印字が完了していない伝票印字データの識別コードと、当該識別コードの伝票印字データに含まれる短冊印字データのうち印字が完了した短冊印字データの数を記憶する。
印字された短冊印字データの数は、伝票印字データの印字中に、当該伝票印字データに設定されているカットコマンドを実行した回数(カット回数)により示す。
The
The number of printed strip print data is indicated by the number of times the cut command set in the slip print data is executed during the printing of the slip print data (the number of cuts).
処理部32aが、第1の実施形態のプリンタ30aの処理部32と異なる点は、記憶処理部322に代えて記憶処理部322aを備える点、印字処理部323に代えて印字処理部323aを備える点である。
記憶処理部322aは、登録部324a、削除部325a、更新部326及び印字情報付加部327を備える。登録部324aは、コントローラ20から受信した印字データ及びその識別コードと、カット回数の初期値とを対応付けて揮発メモリ33aに書き込む。また、登録部324aは、受信した識別コードとカット回数の初期値とを不揮発メモリ34aに書き込む。更新部326は、印字処理部323aから短冊伝票の印字完了の通知を受信し、カット回数を更新する。削除部325aは、印字が完了した伝票印字データとその識別コード及びカット回数とを揮発メモリ33aから削除するとともに、印字が完了した伝票印字データの識別コード及びカット回数を不揮発メモリ34aから削除する。印字情報付加部327は、コントローラ2から再送された伝票印字データの識別コードに対応して不揮発メモリ34aから読み出したカット回数に基づいて、当該伝票印字データ内の短冊印字データがどこまで印字済みかを判断する。印字情報付加部327は、伝票印字データに含まれる各短冊印字データに、印字済みであるか否かの情報を印字させる印字データを追加する。
印字処理部323aは、揮発メモリ33aから読み出した印字データを印字するよう印字部35に指示する。また、印字処理部323aは、印字データに含まれるカットコマンドに従って、ロール紙をカットするようカッター部36に指示するとともに、短冊印字データの印字完了(カットコマンドの実行)、及び、伝票印字データの印字完了を記憶処理部322aに通知する。
The difference between the
The
The
図12は、プリンタ30aの電源投入後、正常に伝票の印字が完了する場合の注文管理システムのシーケンス図である。
同図において、プリンタ30aの電源が投入されると(ステップS701)、通信処理部321は、不揮発メモリ34aに識別コードが記憶されているかを判断する。通信処理部321は、不揮発メモリ34aに識別コードが記憶されていないため、接続要求の送信を送受信部31に指示する(ステップS702)。送受信部31は、接続要求をコントローラ20へ送信する(ステップS704)。コントローラ20の第2送受信部24は、接続要求を受信してプリンタ30aの起動を認識すると、プリンタ30aへ接続応答を返送する(ステップS706)。
FIG. 12 is a sequence diagram of the order management system when the printing of the slip is normally completed after the
In the figure, when the
コントローラ20は、ハンディーターミナル10から注文データを受信すると、第1の実施形態と同様に、伝票3の伝票印字データである伝票3印字データを生成し、伝票3印字データと伝票3識別コード「0003」とをプリンタ30aに送信する(ステップS708)。生成された伝票3印字データは、3つの短冊印字データを含んだ一行明細伝票の印字データである。
When receiving the order data from the handy terminal 10, the
プリンタ30aの通信処理部321は、送受信部31を介してコントローラ20から伝票3印字データ及び伝票3識別コードを受信すると(ステップS710)、受信した伝票3印字データ及び伝票3識別コードと保存依頼とを記憶処理部322aに出力する(ステップS712)。記憶処理部322aの登録部324aは、伝票3印字データと伝票3識別コードとカット回数「0」とを対応付けて揮発メモリ33aに書き込むとともに、伝票3識別コードとカット回数「0」とを対応付けて不揮発メモリ34aに書き込む(ステップS714)。登録部324aは、書き込み終了を通信処理部321に通知し、通信処理部321は、コントローラ20へ応答を送信するよう送受信部31へ指示する(ステップS716)。
送受信部31は伝票3印字データの受信応答をコントローラ20へ送信する(ステップS718)。
When the
The transmission /
一方、プリンタ30aの登録部324aは、印字処理部323aに伝票3識別コードを設定した印字依頼を出力する(ステップS720)。印字処理部323aは、印字依頼に設定されている伝票3識別コードで特定される伝票3印字データを揮発メモリ33aから読み出し、伝票3印字データに含まれる最初の短冊印字データの印字処理を印字部35に実行させる(ステップS722)。
On the other hand, the
印字部35が伝票印字データに含まれる最初の短冊印字データの印字を完了すると、印字処理部323aは、この短冊印字データの後に伝票印字データに記述されているカットコマンドに従ってロール紙のパーシャルカットをカッター部36に実行させるとともに、短冊完了応答を記憶処理部322aに出力する(ステップS724)。
When the
記憶処理部322aの更新部326は、伝票3識別コードに対応して揮発メモリ33a及び不揮発メモリ34aに記憶されているカット回数を、現在の値「0」に1を加算した値「1」に更新する(ステップS726)。印字処理部323aは短冊完了応答の出力後、続いて、伝票3印字データに含まれる2番目の短冊印字データの印字処理を印字部35に実行させる(ステップS728)。
The
図13は、図12の続きのシーケンス図である。プリンタ30の印字部35が図12のステップS728における2番目の短冊印字データの印字を完了すると、印字処理部323aは、この短冊印字データの後に伝票印字データに記述されているカットコマンドに従ってロール紙のパーシャルカットをカッター部36に実行させるとともに、短冊完了応答を記憶処理部322aに出力する(ステップS752)。
FIG. 13 is a sequence diagram continued from FIG. When the
記憶処理部322aの更新部326は、伝票3識別コードに対応して揮発メモリ33a及び不揮発メモリ34aに記憶されているカット回数を、現在の値「1」に1を加算した値「2」に更新する(ステップS754)。印字処理部323aは短冊完了応答の出力後、続いて、伝票3印字データに含まれる3番目の短冊印字データの印字処理を印字部35に実行させる(ステップS756)。
The
コントローラ20は、図12のステップS718においてプリンタ30aが送信した伝票3印字データの受信応答を受信した後、さらに、ハンディーターミナル10から注文データを受信し、伝票4の伝票印字データである伝票4印字データと、伝票4識別コード「0004」とをプリンタ30aに送信する(ステップS758)。
After receiving the receipt response of the slip 3 print data transmitted by the
プリンタ30aは、受信した伝票4印字データと伝票4識別コードについて、図12に示すステップS710〜S720の処理を実行する(ステップS760〜S770)。つまり、プリンタ30aの送受信部31は、受信した伝票4印字データ及び伝票4識別コードを保存依頼とともに記憶処理部322aに出力する。記憶処理部322aの登録部324aは、伝票4印字データと伝票4識別コードとカット回数「0」とを対応付けて揮発メモリ33aに書き込むとともに、伝票4識別コードとカット回数「0」とを対応付けて不揮発メモリ34aに書き込み、送受信部31は伝票4印字データの受信応答をコントローラ20へ送信する。登録部324aは、印字処理部323aに伝票4識別コードを設定した印字依頼を出力する。
The
印字部35が、伝票3印字データに含まれる3番目の短冊印字データの印字を完了すると、印字処理部323aは、伝票3印字データに含まれる全ての短冊印字データの印字を完了したと判断し、伝票3印字データの印字完了応答を記憶処理部322aに出力する(ステップS772)。
記憶処理部322aの削除部325aは、伝票3印字データとその識別コード及びカット回数を揮発メモリ33aから削除するとともに、伝票3識別コードとカット回数の組を不揮発メモリ34aから削除する(ステップS774)。
印字処理部323aは、記憶していた印字依頼に設定されている伝票4識別コードに対応した伝票印字データを揮発メモリ33aから読み出すと、伝票4印字データの最初の短冊印字データの印字を印字部35に実行させる(ステップS776)。
When the
The
When the
図14は、プリンタ30aが正常に印字を完了したときの一行明細伝票である調理伝票の出力例を示す図である。同図は、3つの短冊印字データを含んだ伝票印字データに基づいて印字された調理伝票であり、短冊伝票r1、r2、r3からなる。短冊伝票r1と短冊伝票r2、短冊伝票r2と短冊伝票r3の間は、短冊印字データ間に記述されているカットコマンドの実行により、パーシャルカットされている。各短冊伝票r1、r2、r3には、伝票番号、テーブル番号、注文時刻、担当者コードが印字されている。また、短冊伝票r1、r2、r3のそれぞれには、対応する明細データが示す注文品及び注文数量が印字されている。
FIG. 14 is a diagram illustrating an output example of a cooking slip that is a one-line detailed slip when the
図15は、伝票印字中にプリンタ30aの電源断が発生したときの注文管理システムのシーケンス図である。同図においては、図13のステップS764の後、ステップS772までの間にプリンタ30aの電源断が発生した場合を示している。つまり、プリンタ30aのカッター部36が伝票3印字データの2番目の短冊伝票のパーシャルカットを完了して、印字部35が伝票3印字データの3番目の短冊印字データを印字中、記憶処理部322aの更新部326が伝票4識別コード及び印字データとカット回数の初期値とを揮発メモリ33aに、伝票4識別コード及びカット回数の初期値を不揮発メモリ34aに書き込んだところで、プリンタ30aの電源断が発生した場合である。
例えば、伝票3の2枚目の短冊伝票の印字が完了し、最後の1枚の短冊伝票の印字途中で紙詰まりが発生したために、従業員がプリンタ30aの電源を落とし、再び電源投入した場合である。この場合、プリンタ30aは、電源投入後の接続要求により、コントローラ20に伝票3印字データの再発行の依頼を送信し、コントローラ20から伝票3印字データを再取得後、最初の短冊印字データから再印字を行う。
FIG. 15 is a sequence diagram of the order management system when the
For example, when the printing of the second strip slip of slip 3 is completed and a paper jam occurs during the printing of the last strip slip, the employee turns off the
同図において、プリンタ30aの電源が再び投入されると(ステップS802)、記憶処理部322aは、不揮発メモリ34aに識別コードが記憶されているか否かを確認し、記憶されている場合、未印字伝票再送要求を通信処理部321に送出する(ステップS804)。
通信処理部321は、記憶処理部322aから未印字伝票再送要求の入力を受け、不揮発メモリ34aに識別コードが記憶されているかを判断する。通信処理部321は、不揮発メモリ34aに識別コードが記憶されていると判断した場合、接続要求とともに、不揮発メモリ34aに記憶されている伝票3識別コード「0003」及び伝票4識別コード「0004」を設定した未印字伝票通知情報を送受信部31に出力し、未印字伝票の再送を要求するよう送受信部31に指示する(ステップS806)。
送受信部31は、接続要求に未印字伝票通知情報を設定したものをコントローラ20へ送信する(ステップS808)。コントローラ20の第2送受信部24は、プリンタ30aから接続要求を受信すると、接続応答をプリンタ30aへ返送する(ステップS810)。
In the figure, when the power of the
The
The transmission /
コントローラ20の伝票再発行処理部223は、接続要求に設定されている未印字伝票通知情報から伝票3識別コード及び伝票4識別コードを読み出す。伝票再発行処理部223は、まず、記憶部23に記憶されている注文管理データから伝票3識別コードで特定される注文データを読み出し、読み出した注文データに基づいて伝票3印字データを生成する。生成された伝票3印字データは、図12のステップS708においてコントローラ20が送信した伝票3印字データと同じである。伝票再発行処理部223は、生成した伝票3印字データと伝票3識別コードの送信を第2送受信部24に指示し、第2送受信部24は、伝票3印字データと伝票3識別コードをプリンタ30aに送信する(ステップS812)。
The
プリンタ30aの通信処理部321は、送受信部31を介してコントローラ20から伝票3印字データ及び伝票3識別コードを受信すると(ステップS814)、受信した伝票3印字データ及び伝票3識別コードと保存依頼とを記憶処理部322aに出力する(ステップS816)。
記憶処理部322aの登録部324aは、伝票3印字データと伝票3識別コードと初期値「0」を設定したカット回数とを対応付けて揮発メモリ33aに書き込む。登録部324aは、不揮発メモリ34aから伝票3識別コードに対応したカット回数「2」を読み出し、印字情報付加部327へ出力する。
印字情報付加部327は、登録部324aが読み出したカット回数が「2」であるため、3番目以降の短冊印字データの印字が完了していないと判断する。伝票3印字データには3つの短冊印字データが含まれているため、印字情報付加部327は、揮発メモリ33aに記憶されている伝票3印字データ内の1番目と2番目の短冊印字データに、印字済みであることを示す情報を印字させる印字データを追加し、3番目の短冊印字データに、未印字であることを示す情報を印字させる印字データを追加する(ステップS818)。
When the
The
The print
プリンタ30aは、図12のステップS716以降に示す伝票3印字データの印字処理を行う。すなわち、登録部324aは、書き込み終了を通信処理部321に通知し、通信処理部321は、コントローラ20へ応答を送信するよう送受信部31へ指示する(ステップS822)。送受信部31は伝票3印字データの受信応答をコントローラ20へ送信する(ステップS824)。登録部324aは、印字処理部323aに伝票3識別コードを設定した印字依頼を出力し(ステップS826)、印字処理部323aは、伝票3印字データに含まれる最初の短冊印字データの印字処理を印字部35に実行させる(ステップS828)。
The
また、コントローラ20の第2送受信部24がステップS824で送信された伝票3印字データの受信応答を受信すると、伝票再発行処理部223は、伝票4識別コードで特定される注文データに基づいて伝票4印字データを生成し、第2送受信部24は、伝票4印字データと伝票4識別コードをプリンタ30aに送信する。
Further, when the second transmission /
図16は、電源再投入後に再送された伝票印字データに基づく調理伝票の印字例を示す図である。同図において、印字方向の矢印が下から上に向いているが、これは、印字した短冊伝票が印字を進めるにつれて矢印の方向に移動していく、という意味である。すなわち、一番上にある短冊伝票が一番初めに印字された短冊伝票である。同図は、正常に印字が完了した場合は、図14と同様の調理伝票が印字される伝票3印字データによって、3枚目の短冊伝票r3を印字している途中でプリンタ30aの電源断が発生したために、コントローラ20から伝票3印字データが再送されたときの印字例である。
プリンタ30aの印字情報付加部327が、再送された伝票3印字データの各短冊印字データに印字済みであるか否かを示す情報を付加するため、印字された調理伝票は、同図に示す短冊伝票r1’、r2’、r3’からなる。短冊伝票r1’には、短冊伝票r1の印字内容に、印字済みであることを示す情報として「済み」がさらに印字されている。短冊伝票r2’も同様に、短冊伝票r2の印字内容に加え、「済み」がさらに印字されている。一方、短冊伝票r3’には、短冊伝票r3の印字内容に加え、再送された伝票印字データによって初めて印字されたことを示す情報として「未印字」がさらに印字されている。
FIG. 16 is a diagram showing a print example of the cooking slip based on the slip print data retransmitted after the power is turned on again. In the figure, the print direction arrow points from the bottom to the top, which means that the printed strip slip moves in the direction of the arrow as printing proceeds. That is, the strip slip at the top is the first strip slip printed. In the figure, when printing is completed normally, the
Since the print
本実施形態のプリンタ30aの電源起動時の処理は、図9に示す第1の実施形態の電源起動時の処理と同じである。
また、本実施形態のコントローラ20の注文処理は、図10に示す第1の実施形態の注文処理フローと同じである。ただし、ステップS608において伝票処理部222は、一行明細伝票の伝票印字データを生成し、ステップS616において伝票再発行処理部223は一行明細伝票の未印字伝票データを生成する。
The processing at the time of power activation of the
Further, the order processing of the
本実施形態によれば、プリンタ30aは、再送された伝票印字データに基づいて一行明細伝票を印字する場合、各短冊伝票に印字済みであるか否かの情報を印字する。再印字であることを示す情報を短冊伝票に印字することによって、注文品が二重に調理されることを効果的に防止することができ、また、未印字であることを示す情報を短冊伝票に印字することによって、注文から時間がたっている旨の注意を喚起することができる。
According to the present embodiment, when printing a one-line detailed slip based on the resent slip print data, the
[第3の実施形態]
次に、本発明の第3の実施形態を説明する。本実施形態の注文管理システムでは、プリンタが一行明細伝票を印字しているときに電源断が発生した場合、コントローラは、印刷が完了していない短冊伝票のみを印字させる伝票印字データを生成する。以下、第2の実施形態との差分を中心に説明する。
本実施形態の注文管理システムは、第2の実施形態のコントローラ20に代えて図17に示すコントローラ20bを、第2の実施形態のプリンタ30aに代えて図18に示すプリンタ30bを備える。以下、第2の実施形態との差分を中心に説明する。
[Third Embodiment]
Next, a third embodiment of the present invention will be described. In the order management system of this embodiment, when the power is cut off while the printer is printing a one-line detailed slip, the controller generates slip print data for printing only a strip slip that has not been printed. Hereinafter, the difference from the second embodiment will be mainly described.
The order management system of this embodiment includes a
図17は、本実施形態のコントローラ20bの内部構成を示すブロック図である。同図において、図2に示す第1の実施形態によるコントローラ20と同一の部分には同一の符号を付し、その説明を省略する。
同図に示すコントローラ20bが、図2に示す第1の実施形態のコントローラ20と異なる点は、処理部22に代えて処理部22bを備える点である。処理部22bが、第1の実施形態のコントローラ20の処理部22と異なる点は、伝票再発行処理部223に代えて伝票再発行処理部223bを備える点である。伝票再発行処理部223bは、第2送受信部24がプリンタ30から受信した接続要求に識別コード及びカット回数が設定されている場合、記憶部23に記憶されている注文管理データを検索して当該識別コードに対応した注文データを特定する。伝票再発行処理部223bは、特定した注文データから、受信済みのカット回数を考慮し、印字済みの短冊印字データを除いた一行明細伝票の伝票印字データを生成する。
FIG. 17 is a block diagram showing the internal configuration of the
The
図18は、本実施形態のプリンタ30bの内部構成を示すブロック図である。同図において、図11に示す第2の実施形態によるプリンタ30aと同一の部分には同一の符号を付し、その説明を省略する。
同図に示すプリンタ30bが、図11に示す第2の実施形態のプリンタ30aと異なる点は、処理部32aに代えて処理部32bを備える点である。処理部32bが、第2の実施形態のプリンタ30aの処理部32aと異なる点は、通信処理部321に代えて通信処理部321b(未印字伝票通知部)を備える点、記憶処理部322aに代えて記憶処理部322bを備える点である。
FIG. 18 is a block diagram showing the internal configuration of the
The
通信処理部321bは、電源が投入されたときに、不揮発メモリ34aに記憶されている識別コードとカット回数の組を読み出して接続要求に設定する。
記憶処理部322bが第2の実施形態の記憶処理部322aと異なる点は、登録部324aに代えて登録部324bを備える点、印字情報付加部327を備えていない点である。登録部324bは、コントローラ20bから受信した印字データとその識別コードとカット回数の初期値とを対応付けて揮発メモリ33aに書き込むとともに、受信した識別コードが不揮発メモリ34aに記憶されていない場合に当該識別コード及びカット回数の初期値を不揮発メモリ34aに書き込む。
When the power is turned on, the
The storage processing unit 322b is different from the
本実施形態の注文管理システムにおいて、プリンタ30bの電源投入後、正常に伝票印字データの印字が行われる場合の注文管理システムの動作は、図12及び図13に示す第2の実施形態と同様である。
In the order management system of this embodiment, the operation of the order management system when the slip print data is normally printed after the
図19は、伝票の印字中にプリンタ30bの電源断が発生したときの注文管理システムのシーケンス図である。同図においては、図13のステップS764の後、ステップS772までの間にプリンタ30bの電源断が発生した場合を示している。
同図において、プリンタ30bの電源が再び投入されると(ステップS902)、記憶処理部322bは、不揮発メモリ34aに識別コードが記憶されているか否かを確認し、記憶されている場合、未印字伝票再送要求を通信処理部321bに送出する(ステップS904)。
FIG. 19 is a sequence diagram of the order management system when the
In the figure, when the
通信処理部321bは、記憶処理部322bから未印字伝票再送要求の入力を受け、不揮発メモリ34aに識別コードが記憶されているかを判断する。通信処理部321bは、不揮発メモリ34aに識別コードが記憶されていると判断した場合、接続要求とともに、不揮発メモリ34aに記憶されている伝票3識別コード「0003」及びカット回数「2」の組と、伝票4識別コード「0004」及びカット回数「0」の組を設定した未印字伝票通知情報を送受信部31に出力し、未印字伝票の再送を要求するよう送受信部31に指示する(ステップS906)。
送受信部31は、接続要求に未印字伝票通知情報を設定したものを(ステップS906)、コントローラ20bへ送信する(ステップS908)。コントローラ20bの第2送受信部24は、プリンタ30bから接続要求を受信すると、接続応答をプリンタ30bへ返送する(ステップS910)。
The
The transmission /
コントローラ20bの伝票再発行処理部223bは、接続要求に設定されている未印字伝票通知情報から伝票3識別コード及び伝票4識別コードを読み出す。伝票再発行処理部223bは、まず、記憶部23に記憶されている注文管理データから伝票3識別コードで特定される注文データを読み出し、読み出した注文データとカット回数に基づいて、印字が完了していない短冊伝票のみを含む一行明細伝票を印字させる再送伝票3印字データを生成する。つまり、伝票再発行処理部223bは、伝票3識別コードに対応したカット回数は「2」であるため、3番目以降の短冊印字データを含んだ再送伝票3印字データを生成する。
伝票再発行処理部223bは、生成した再送伝票3印字データと伝票3識別コードの送信を第2送受信部24に指示し、第2送受信部24は、再送伝票3印字データと伝票3識別コードをプリンタ30bに送信する(ステップS912)。
The slip reissue processor 223b of the
The slip reissue processing unit 223b instructs the second transmission /
プリンタ30bの通信処理部321bは、送受信部31を介してコントローラ20bから再送伝票3印字データ及び伝票3識別コードを受信すると(ステップS914)、受信した再送伝票3印字データ及び伝票3識別コードと保存依頼とを記憶処理部322bに出力する(ステップS916)。記憶処理部322bの登録部324bは、再送伝票3印字データと伝票3識別コードとを対応付けて揮発メモリ33aに書き込む(ステップS918)。登録部324bは、既に伝票3識別コードが記憶されているため、不揮発メモリ34aへの書き込みは行わない。
登録部324bは、書き込み終了を通信処理部321bに通知し、通信処理部321bは、コントローラ20bへ応答を送信するよう送受信部31へ指示する(ステップS922)。送受信部31は伝票3印字データの受信応答をコントローラ20bへ送信する(ステップS924)。
When the
The registration unit 324b notifies the
プリンタ30bの登録部324bは、印字処理部323aに伝票3識別コードを設定した印字依頼を出力する(ステップS926)。印字処理部323aは、印字依頼に設定されている伝票3識別コードで特定される再送伝票3印字データを揮発メモリ33aから読み出し、再送伝票3印字データに含まれる短冊印字データ(伝票3印字データの3番目の短冊印字データに相当)の印字処理を印字部35に実行させる(ステップS928)。
なお、印字部35が、再送伝票3印字データに含まれる短冊印字データの印字を完了すると、印字処理部323aは、再送伝票3印字データに含まれる全ての短冊印字データの印字を完了したと判断し、再送伝票3印字データの印字完了応答を記憶処理部322bに出力する(ステップS930)。これにより、記憶処理部322bの削除部325aは、再送伝票3印字データと伝票3識別コードとカット回数との組を揮発メモリ33aから削除するとともに、伝票3識別コードとカット回数の組を不揮発メモリ34aから削除する(ステップS932)。
The registration unit 324b of the
When the
また、コントローラ20bの第2送受信部24がステップS924で送信された伝票3印字データの受信応答を受信すると、伝票再発行処理部223bは、伝票4識別コードで特定される注文データに基づいて再送伝票4印字データを生成する。伝票4識別コードに対応したカット回数は「0」であるため、伝票再発行処理部223bは、全ての短冊印字データを含んだ、すなわち、図13のステップS758において送信した伝票4印字データと同じ再送伝票4印字データを生成する。第2送受信部24は、再送伝票4印字データと伝票4識別コードをプリンタ30bに送信する。
Further, when the second transmission /
図20は、電源再投入後に再送された伝票印字データに基づく調理伝票の印字例を示す図である。同図は、正常に印字が完了した場合、図14と同様の印字調理伝票が印字される伝票3印字データによって、3枚目の短冊伝票r3を印字している途中でプリンタ30bの電源断が発生したために、コントローラ20bから送信された再送伝票3印字データの印字例である。同図に示すように、印字された調理伝票は、図14に示す短冊伝票r3のみからなる。
FIG. 20 is a diagram showing a print example of a cooking slip based on the slip print data retransmitted after the power is turned on again. In the figure, when the printing is normally completed, the
本実施形態によれば、一行明細伝票のうち、印字が完了していない短冊伝票のみを印字させることができるため、注文品が二重に調理されることを防止することができる。また、不必要な印字が行われないため、印字用紙の節約も図ることができる。 According to the present embodiment, it is possible to print only the strip slip that has not been printed out of the one-line detailed slip, so that it is possible to prevent the order from being cooked twice. Moreover, since unnecessary printing is not performed, printing paper can be saved.
[第4の実施形態]
次に、本発明の第4の実施形態を説明する。本実施形態では、コントローラは、電源断のために印字が遅れた時間の情報を含んだ伝票をプリンタに印刷させる。以下、第1の実施形態との差分を中心に説明する。
[Fourth Embodiment]
Next, a fourth embodiment of the present invention will be described. In the present embodiment, the controller causes the printer to print a slip that includes information about the time when printing was delayed due to power failure. Hereinafter, the difference from the first embodiment will be mainly described.
本実施形態の注文管理システムは、第1の実施形態のコントローラ20に代えて、図21に示すコントローラ20cを備える。
図21は、本実施形態のコントローラ20cの内部構成を示すブロック図である。同図において、図2に示す第1の実施形態によるコントローラ20と同一の部分には同一の符号を付し、その説明を省略する。
同図に示すコントローラ20cが、図2に示す第1の実施形態のコントローラ20と異なる点は、処理部22に代えて処理部22cを備える点である。処理部22cが、第1の実施形態のコントローラ20の処理部22と異なる点は、伝票再発行処理部223に代えて伝票再発行処理部223cを備える点である。伝票再発行処理部223cは、伝票印字データの再送を示す情報として、印字が遅れた時間の情報を含んだ伝票を印字させるための伝票印字データを生成する。
The order management system of this embodiment includes a
FIG. 21 is a block diagram showing the internal configuration of the
The
本実施形態の注文管理システムのシーケンスは、図4〜図9に示す第1の実施形態と同様である。 The sequence of the order management system of the present embodiment is the same as that of the first embodiment shown in FIGS.
図22は、コントローラ20cの注文処理フローを示す図である。同図に示す注文処理フローは、図10に示す第1の実施形態の注文処理フローのステップS616の処理に代えて、ステップS615及びステップS617を実行する。
ステップS615において、コントローラ20cの伝票再発行処理部223cは、未印字伝票通知情報に設定されている識別コードに対応して記憶部23に記憶されている注文管理データから注文データと注文時刻を読み出すと、読み出した注文時刻から現在時刻までの経過時間を算出する。そして、ステップS617において、伝票再発行処理部223cは、読み出した注文データに基づいて、伝票処理部222が生成した伝票印字データと同様の伝票印字データに、さらに、経過時間を示す情報を付加した未印字伝票データを生成する(ステップS617)。
FIG. 22 is a diagram showing an order processing flow of the
In step S615, the
図23は、未印字伝票データに基づく調理伝票の印字例を示す図である。同図は、コントローラ20cの伝票再発行処理部223cが、伝票印字データの前に、経過時間を示す情報を印字するための印字データを付加して未印字伝票データを生成した場合の印字例を示す。伝票の前に付加されるヘッダに、「**注文から12分経過**」のように経過時間が印字されるため、調理担当等への注意を喚起することができる。また、経過時間が分かることで、この伝票に関する作業について、どの程度迅速に対応すべきか、調理担当等が具体的に行動することができる。
FIG. 23 is a diagram illustrating a print example of a cooking slip based on unprinted slip data. The figure shows an example of printing when the slip
[第5の実施形態]
次に、本発明の第5の実施形態を説明する。本実施形態の注文管理システムは、プリンタを複数台備え、あるプリンタに電源断が発生した場合、コントローラは、他のプリンタから伝票印字データの再発行要求を受信する。コントローラは、再発行が要求された伝票印字データを、再発行要求の送信元の他のプリンタに再送し、印字させる。電源断が発生したプリンタの電源が再投入されると、第1の実施形態と同様に、不揮発メモリに記憶されている未印字の伝票印字データの識別コードを接続要求とともにコントローラに送信するが、コントローラは、通知された識別コードの伝票印字データを既に他のプリンタへ再送しているため、未印字伝票印字データの削除要求を返送する。電源が再投入されたプリンタは、未印字伝票印字データの削除要求を受信すると、不揮発メモリに保存してある印字データ識別コードを削除する。以下、第1の実施形態との差分を中心に説明する。
[Fifth Embodiment]
Next, a fifth embodiment of the present invention will be described. The order management system according to the present embodiment includes a plurality of printers. When a power failure occurs in a printer, the controller receives a request for reissuing slip print data from another printer. The controller resends the slip print data requested to be reissued to another printer that has transmitted the reissue request, and prints it. When the power of the printer that has been turned off is turned on again, as in the first embodiment, an identification code of unprinted slip print data stored in the nonvolatile memory is transmitted to the controller together with the connection request. Since the controller has already resent the slip print data of the notified identification code to another printer, the controller returns a request to delete the unprinted slip print data. When the printer whose power is turned on again receives a request to delete unprinted slip print data, it deletes the print data identification code stored in the nonvolatile memory. Hereinafter, the difference from the first embodiment will be mainly described.
図24は、本実施形態による注文管理システムの全体構成を示す図である。同図に示すように、注文管理システムは、図1に示す第1の実施形態のコントローラ20に代えてコントローラ20dを備え、プリンタ30に代えてプリンタ30d及びプリンタ30eを備える。同図においては、プリンタ30d、プリンタ30eをそれぞれ1台のみ示しているが、複数台が備えられていてもよい。プリンタ30dは、調理伝票の伝票印字データである調理伝票印字データを印字し、プリンタ30eは、ゲスト伝票の伝票印字データであるゲスト伝票印字データを印字する。ゲスト伝票とは、お客様が会計時にレジに持参する伝票であり、接客担当のスタッフは、注文品を全て提供した後にお客様へゲスト伝票を渡す。このように、各プリンタ30d、30eが印字すべき伝票の種類は予め決められている。
FIG. 24 is a diagram showing an overall configuration of the order management system according to the present embodiment. As shown in the figure, the order management system includes a
図25は、本実施形態のコントローラ20dの内部構成を示すブロック図であり、本実施形態と関係する機能ブロックのみ抽出して示してある。同図において、図2に示す第1の実施形態によるコントローラ20と同一の部分には同一の符号を付し、その説明を省略する。同図に示すコントローラ20dが、図2に示す第1の実施形態のコントローラ20と異なる点は、処理部22に代えて処理部22dを備える点、記憶部23に代えて記憶部23dを備える点である。
FIG. 25 is a block diagram showing the internal configuration of the
記憶部23dは、注文管理データと、送信が完了していない印字データと、再発行された伝票印字データの識別コードとを記憶する。また、本実施形態の注文管理データは、注文データと、注文時刻と、伝票番号と、注文データから生成された各伝票印字データを特定する識別コードとを対応付けたデータである。
The
処理部22dが、図2に示す第1の実施形態の処理部22と異なる点は、伝票処理部222に代えて伝票処理部222dを備える点、伝票再発行処理部223に代えて伝票再発行処理部223dを備える点である。
The processing unit 22d differs from the
伝票処理部222dは、受信した注文データに対して伝票番号を割り当てる。また、伝票処理部222dは、注文データから調理伝票印字データ、ゲスト伝票印字データなどの各伝票印字データを生成する。そして、伝票処理部222dは、記憶部23dに記憶されている注文管理データに、伝票印字データの生成に用いた注文データと対応付けて割り当てた伝票番号と、各伝票印字データの識別コードとを書き込む。識別コードには、伝票印字データの送信先を示す送信先特定情報を含める。また、伝票処理部222は、生成した調理伝票印字データとその識別コードとをプリンタ30dに送信するよう第2送受信部24に指示し、生成したゲスト伝票印字データとその識別コードをプリンタ30eに送信するよう第2送受信部24に指示する。
調理伝票印字データは、担当者コード、テーブル番号、明細データ、伝票番号、注文時刻等を含む情報を所定のレイアウトで印字させる印字データである。また、ゲスト伝票印字データは、担当者コード、テーブル番号、明細データ、伝票番号、注文時刻、各注文品の金額、合計金額等を含む情報を所定のレイアウトで印字させる印字データである。
The
The cooking slip print data is print data for printing information including a person-in-charge code, table number, detailed data, slip number, order time, etc. in a predetermined layout. The guest slip print data is print data for printing information including a person-in-charge code, table number, detailed data, slip number, order time, amount of each order item, total amount, etc. in a predetermined layout.
伝票再発行処理部223dは、伝票再発行処理部223dは、第2送受信部24がプリンタ30eから伝票再送要求を受信した場合、記憶部23dに記憶されている注文管理データを検索して、伝票再送要求に設定されている伝票番号に対応した注文データを特定する。伝票再発行処理部223dは、特定した注文データから各伝票印字データを生成し、生成した伝票印字データと当該伝票印字データの識別コードを伝票再送要求の送信元のプリンタ30eに送信するよう第2送受信部24へ指示する。さらに、伝票再発行処理部223dは、伝票再送要求によって再送した伝票印字データの識別コードと、再送済みを示す情報を対応づけて記憶部23dに書き込む。
The slip
また、伝票再発行処理部223dは、第2送受信部24がプリンタ30dまたはプリンタ30eから受信した接続要求に識別コードが設定されている場合、記憶部23dに記憶されている注文管理データを検索して、接続要求に設定されている識別コードに対応した注文データを特定する。伝票再発行処理部223dは、特定した注文データから、識別コードにより特定される伝票印字データを生成し、生成した伝票印字データと当該伝票印字データの識別コードを伝票再送要求の送信元のプリンタ30dまたはプリンタ30eに送信するよう第2送受信部24へ指示する。ただし、伝票再発行処理部223dは、接続要求に設定されている識別コードに対応して、再送済みを示す情報が記憶部23dに記憶されている場合、伝票印字データを再送せず、当該識別コードを設定した伝票印字データ削除要求を返送する。
In addition, when the identification code is set in the connection request received by the second transmitting / receiving
図26は、本実施形態のプリンタ30dの内部構成を示すブロック図であり、本実施形態と関係する機能ブロックのみ抽出して示してある。同図において、図3に示す第1の実施形態によるプリンタ30と同一の部分には同一の符号を付し、その説明を省略する。同図に示すプリンタ30dが、図3に示す第1の実施形態のプリンタ30と異なる点は、処理部32に代えて処理部32dを備える点である。
FIG. 26 is a block diagram showing the internal configuration of the printer 30d of this embodiment, and only functional blocks related to this embodiment are extracted and shown. In this figure, the same parts as those of the
処理部32dが、第1の実施形態の処理部32と異なる点は、記憶処理部322に代えて記憶処理部322dを備える点である。
記憶処理部322dが第1の実施形態の記憶処理部322と異なる点は、削除部325に代えて削除部325dを備える点である。削除部325dは、印字が完了した伝票印字データとその識別コードを揮発メモリ33から削除するとともに、印字が完了した伝票印字データの識別コードを不揮発メモリ34から削除する。また、削除部325dは、コントローラ20dから受信した伝票印字データ削除要求に設定されている識別コードを不揮発メモリ34から削除する。
The
The
図27は、本実施形態のプリンタ30eの内部構成を示すブロック図であり、本実施形態と関係する機能ブロックのみ抽出して示してある。同図において、図3に示す第1の実施形態によるプリンタ30と同一の部分には同一の符号を付し、その説明を省略する。同図に示すプリンタ30eが、図3に示す第1の実施形態のプリンタ30と異なる点は、処理部32に代えて処理部32eを備える点、指示入力部37をさらに備える点である。
FIG. 27 is a block diagram illustrating an internal configuration of the printer 30e according to the present embodiment. Only functional blocks related to the present embodiment are extracted and illustrated. In this figure, the same parts as those of the
指示入力部37は、例えば、キーやボタンであり、再発行対象の伝票の伝票番号の入力を受ける。
処理部32eが、第1の実施形態の処理部32異なる点は、通信処理部321に代えて通信処理部321eを備える点である。
通信処理部321eは、指示入力部37により入力された伝票番号と、自プリンタ30eのプリンタ識別情報を設定した伝票再送要求を送信するよう送受信部31に指示する。
The
The
The
図28は、調理伝票印字中にプリンタ30dの電源断が発生したときの注文管理システムのシーケンス図である。
同図において、プリンタ30dの電源が投入されると(ステップS1002)、通信処理部321は、不揮発メモリ34に識別コードが記憶されているかを判断する。プリンタ30dの通信処理部321は、不揮発メモリ34に識別コードが記憶されていないため、接続要求の送信を送受信部31に指示する(ステップS1004)。プリンタ30dの送受信部31は、接続要求をコントローラ20dへ送信する(ステップS1006)。
コントローラ20dの第2送受信部24は、接続要求を受信してプリンタ30dの起動を認識すると、プリンタ30dへ接続応答を返送する(ステップS1008)。
FIG. 28 is a sequence diagram of the order management system when the power supply of the printer 30d is interrupted during printing of the cooking slip.
In the figure, when the printer 30d is powered on (step S1002), the
When the second transmitting / receiving
続いてプリンタ30eの電源が投入されると(ステップS1010)、通信処理部321eは、不揮発メモリ34に識別コードが記憶されているかを判断する。プリンタ30eの通信処理部321eは、不揮発メモリ34に識別コードが記憶されていないため、接続要求の送信を送受信部31に指示する(ステップS1012)。プリンタ30eの送受信部31は、接続要求をコントローラ20dへ送信する(ステップS1014)。
コントローラ20dの第2送受信部24は、接続要求を受信してプリンタ30eの起動を認識すると、プリンタ30eへ接続応答を返送する(ステップS1016)。
Subsequently, when the printer 30e is powered on (step S1010), the
When the second transmitter /
コントローラ20dは、ハンディーターミナル10から注文データを受信し、伝票2の調理伝票印字データである調理伝票2印字データと、伝票2のゲスト伝票印字データであるゲスト伝票2印字データを生成する。コントローラ20dは、伝票2に伝票番号「0002」を割り当て、伝票2の調理伝票印字データに識別コード「0002C」を、伝票2のゲスト伝票印字データに識別コード「0002G」を割り当てる。以下、伝票2の調理伝票印字データの識別コードを調理伝票2識別コードと記載し、伝票2のゲスト伝票印字データの識別コードをゲスト伝票2識別コードと記載する。調理伝票2識別コードの最後の1文字「C」はプリンタ30dを示す送信先特定情報であり、ゲスト伝票2識別コードの最後の1文字「G」はプリンタ30eを示す送信先特定情報である。
コントローラ20dは、ゲスト伝票2識別コード「0002G」とゲスト伝票2印字データをプリンタ30eへ送信する(ステップS1020)。
The
The
プリンタ30eは、受信したゲスト伝票2印字データとゲスト伝票2識別コードについて、図4に示すステップS112〜S124の処理を実行する(ステップS1020〜S1032)。つまり、プリンタ30eの通信処理部321eは、送受信部31を介してゲスト伝票2印字データ及びゲスト伝票2識別コードを受信し、保存依頼とともに記憶処理部322へ出力する。
プリンタ30eの登録部324は、ゲスト伝票2印字データとゲスト伝票2識別コードとを対応付けて揮発メモリ33に書き込むとともに、ゲスト伝票2識別コードを不揮発メモリ34に書き込み、送受信部31はゲスト伝票2印字データの受信応答をコントローラ20dへ送信する。プリンタ30eの登録部324は、印字処理部323に伝票2識別コードを設定した印字依頼を出力し、印字処理部323は、伝票2識別コードにより特定されるゲスト伝票2印字データの印字を印字部35に実行させる。
The printer 30e performs the processing of steps S112 to S124 shown in FIG. 4 for the received
The
プリンタ30eの印字部35がゲスト伝票2印字データの印字を完了すると、印字処理部323は、記憶処理部322にゲスト伝票2印字データの印字完了応答を出力する(ステップS1034)。記憶処理部322の削除部325は、ゲスト伝票2印字データとゲスト伝票2識別コードを揮発メモリ33から削除するとともに、不揮発メモリ34からゲスト伝票2識別コードを削除する(ステップS1036)。
When the
図29は、図28の続きのシーケンス図である。コントローラ20dは、図28のステップS1018において、ゲスト伝票2印字データ及び伝票2識別コードを送信した後、調理伝票2識別コード「0002C」と調理伝票2印字データをプリンタ30dへ送信する(ステップS1102)。
FIG. 29 is a sequence diagram continued from FIG. In step S1018 of FIG. 28, the
プリンタ30dは、受信した調理伝票2印字データと調理伝票2識別コードについて、図4に示すステップS112〜S124の処理を実行する(ステップS1104〜S1116)。つまり、プリンタ30dの通信処理部321は、送受信部31を介して調理伝票2印字データ及び調理伝票2識別コードを受信し、保存依頼とともに記憶処理部322dへ出力する。
プリンタ30dの登録部324は、調理伝票2印字データと調理伝票2識別コードとを対応付けて揮発メモリ33に書き込むとともに、調理伝票2識別コードを不揮発メモリ34に書き込み、送受信部31は調理伝票2印字データの受信応答をコントローラ20dへ送信する。プリンタ30dの登録部324は、印字処理部323に調理伝票2識別コードを設定した印字依頼を出力し、印字処理部323は、調理伝票2識別コードに対応した調理伝票2印字データの印字を印字部35に実行させる。
The printer 30d executes steps S112 to S124 shown in FIG. 4 for the received
The
プリンタ30dの印字部35が、印字処理部323の指示により調理伝票2印字データの印字を開始したところで(ステップS1116)、プリンタ30dの電源断が発生する(ステップS1118)。
When the
図30は、図29の続きのシーケンス図である。飲食店のスタッフは、プリンタ30eが印字したゲスト伝票により伝票番号「0002」を確認し、その後、伝票番号「0002」の調理伝票がプリンタ30dから印字されていないことに気付く。スタッフは、プリンタ30eの指示入力部37により、伝票番号「0002」と、伝票再発行要求の送信指示とを入力する。プリンタ30eの通信処理部321eは、指示入力部37により入力された伝票番号と、プリンタ30eのプリンタ識別情報とを設定した伝票再送要求を送信部31に出力し、コントローラ20dに送信するよう指示する(ステップS1202)。プリンタ30eの送受信部31は、通信処理部321eから入力されたリンタ識別情報を設定した伝票再送要求をコントローラ20dに送信する(ステップS1204)。
FIG. 30 is a sequence diagram continued from FIG. The restaurant staff confirms the slip number “0002” from the guest slip printed by the printer 30e, and then notices that the cooking slip with the slip number “0002” is not printed from the printer 30d. The staff uses the
コントローラ20dは、受信した伝票再送要求から伝票番号及びプリンタ識別情報を読み出す。伝票再発行処理部223dは、記憶部23dに記憶されている注文管理データから伝票番号で特定される注文データを読み出し、読み出した注文データに基づいて全ての種類の伝票印字データ、すなわち、調理伝票2印字データとゲスト伝票2印字データを生成する。コントローラ20dは、生成した調理伝票2印字データ及び調理伝票2識別コードを、伝票再送要求から読み出したプリンタ識別情報で特定されるプリンタ30eに送信する(ステップS1206)。コントローラ20dは、調理伝票2識別コードを再送済みの識別コードとして記憶部23dに記憶する。
The
プリンタ30eは、受信した調理伝票2印字データと調理伝票2識別コードについて、図28に示すステップS1020〜S1032の処理を実行する(ステップS1208〜S1220)。つまり、プリンタ30eの通信処理部321eは、送受信部31を介して調理伝票2印字データ及び調理伝票2識別コードを受信し、保存依頼とともに記憶処理部322へ出力する。
記憶処理部322の登録部324は、調理伝票2印字データと調理伝票2識別コードとを対応付けて揮発メモリ33に書き込むとともに、調理伝票2識別コードを不揮発メモリ34に書き込み、送受信部31は調理伝票2印字データの受信応答をコントローラ20dへ送信する。登録部324は、印字処理部323に調理伝票2識別コードを設定した印字依頼を出力し、印字処理部323は、調理伝票2識別コードに対応した調理伝票2印字データの印字を印字部35に実行させる。
The printer 30e executes the processes of steps S1020 to S1032 shown in FIG. 28 for the received
The
コントローラ20dは、ステップS1216においてプリンタ30eから送信された受信応答を受信すると、ゲスト伝票2印字データ及びゲスト伝票2識別コードをプリンタ30eに送信し、ゲスト伝票2識別コードを再送済みの識別コードとして記憶部23dに記憶する(ステップS1222)。プリンタ30eは、受信したゲスト伝票2印字データとゲスト伝票2識別コードについて、図28に示すステップS1020〜S1030の処理を実行する(ステップS1224〜S1232)。つまり、プリンタ30eの通信処理部321eは、送受信部31を介してゲスト伝票2印字データ及びゲスト伝票2識別コードを受信し、保存依頼とともに記憶処理部322へ出力する。
記憶処理部322の登録部324は、ゲスト伝票2印字データとゲスト伝票2識別コードとを対応付けて揮発メモリ33に書き込むとともに、ゲスト伝票2識別コードを不揮発メモリ34に書き込み、送受信部31はゲスト伝票2印字データの受信応答をコントローラ20dへ送信する。登録部324は、印字処理部323にゲスト伝票2識別コードを設定した印字依頼を出力する。
Upon receiving the reception response transmitted from the printer 30e in step S1216, the
The
図31は、図30の続きのシーケンス図である。同図において、プリンタ30dの電源が再び投入されると(ステップS1302)、記憶処理部322は、不揮発メモリ34に識別コードが記憶されているか否かを確認し、記憶されている場合、未印字伝票再送要求を通信処理部321に送出する(ステップS1304)。
通信処理部321は、記憶処理部322からの要求を取得して、不揮発メモリ34に識別コードが記憶されているかを判断する。通信処理部321は、不揮発メモリ34に識別コードが記憶されていると判断した場合、接続要求とともに、不揮発メモリ34に記憶されている調理伝票2識別コード「0002C」を設定した未印字伝票通知情報を送受信部31に出力し、未印字伝票の再送を要求するよう送受信部31に指示する(ステップS1306)。
送受信部31は、接続要求に未印字伝票通知情報を設定したものをコントローラ20dへ送信する(ステップS1308)。コントローラ20dの第2送受信部24は、プリンタ30dから接続要求を受信すると、接続応答をプリンタ30dへ返送する(ステップS1310)。
FIG. 31 is a sequence diagram continued from FIG. In the figure, when the power of the printer 30d is turned on again (step S1302), the
The
The transmission /
コントローラ20dの伝票再発行処理部223dは、接続要求に設定されている未印字伝票通知情報からゲスト伝票2識別コードを読み出す。伝票再発行処理部223dは、ゲスト伝票2識別コードが、再送済みの識別コードとして記憶部23dに記憶されているため、ゲスト伝票2識別コードと伝票2調理伝票削除要求の送信指示とを第2送受信部24に指示し、プリンタ30dへの返送を指示する。第2送受信部24は、ゲスト伝票2識別コードを設定した伝票2調理伝票削除要求をプリンタ30dに送信する(ステップS1310)。
The slip
プリンタ30dの通信処理部321は、送受信部31を介してコントローラ20dから調理伝票2識別コードが設定された伝票2調理伝票削除要求を受信すると(ステップS1312)、調理伝票2識別コードと削除依頼とを記憶処理部322dに出力する(ステップS1314)。
記憶処理部322dの削除部325dは、調理伝票2識別コードを不揮発メモリ34から削除する(ステップS1316)。削除部325dは、削除完了を通信処理部321に通知し、通信処理部321は、コントローラ20dへ伝票2調理伝票削除応答を送信するよう送受信部31へ指示する(ステップS1318)。
送受信部31は伝票2調理伝票削除応答をコントローラ20dへ送信する(ステップS1320)。
When the
The
The transmission /
図32は、コントローラ20dの注文処理フローを示す図である。
コントローラ20dの印字要求受信部220及び注文処理部221は、図10に示すステップS602〜S606のコントローラ20の印字要求受信部220及び注文処理部221と同様の処理を実行する(ステップS1402〜ステップS1406)。なお、ステップS1402においてNOと判断した場合、コントローラ20dは、ステップS1410の処理を実行する。
FIG. 32 is a diagram showing an order processing flow of the
The print
ステップS1408において、伝票処理部222dは、注文データからプリンタ30dに送信すべき調理伝票印字データと、プリンタ30eに送信すべきゲスト伝票印字データを生成する。伝票処理部222dは、伝票番号を割り当てるとともに、調理伝票印字データの識別コードとゲスト伝票印字データの識別コードを生成する。調理伝票印字データの識別コードには、送信先がプリンタ30dであることを示す送信先特定情報が含まれ、ゲスト伝票印字データの識別コードには、送信先がプリンタ30eであることを示す送信先特定情報が含まれる。伝票処理部222dは、記憶部23dに記憶されている注文管理データに、注文データと対応付けて割り当てた伝票番号及び識別コードを書き込む。
さらに、伝票処理部222dは、生成した調理伝票印字データと、当該調理伝票印字データの識別コードとを対応付けて記憶部23dに書き込むとともに、生成したゲスト伝票印字データと、当該ゲスト伝票印字データの識別コードとを対応付けて記憶部23dに書き込む(ステップS1408)。書き込み後、コントローラ20dは、ステップS1410の処理を実行する。
In step S1408, the
Further, the
第2送受信部24は、プリンタ30dまたはプリンタ30eから接続要求を受信した場合(ステップS1410:YES)、接続要求の送信元であるプリンタ30dまたはプリンタ30eとの接続を確立し、受信した接続要求を印字要求受信部220へ出力する(ステップS1412)。
When the second transmission /
印字要求受信部220は、接続要求に未印字伝票通知情報が含まれていると判断すると(ステップS1414:YES)、未印字伝票通知情報を伝票再発行処理部223dに出力する。伝票再発行処理部223dは、未印字伝票通知情報から識別コードを取得し、取得した識別コードに含まれる送信先特定情報を読み出す。伝票再発行処理部223dは、読み出した送信先特定情報が示す送信先に対応した伝票の種別を判断する。伝票再発行処理部223dは、取得した識別コードに対応して記憶部23dに記憶されている注文管理データから注文データを読み出すと、読み出した注文データに基づいて、判断した種類の伝票印字データを生成する。以下、この生成した伝票印字データを「未印字伝票データ」と記載する。伝票再発行処理部223dは、生成した未印字伝票データとその識別コードとを記憶部23dに書き込み(ステップS1416)、コントローラ20dは、ステップS1402からの処理を行う。
When determining that the connection request includes unprinted slip notification information (step S1414: YES), the print
ステップS1410において、第2送受信部24が接続要求を受信しなかった場合(ステップS1410:NO)、あるいは、ステップS1414において、印字要求受信部220が、接続要求に未印字伝票通知情報が含まれてないと判断した場合(ステップS1414:NO)、印字要求受信部220は、第2送受信部24が、伝票再発行要求を受信したかを判断する(ステップS1418)。
When the second transmission /
印字要求受信部220は、第2送受信部24が伝票再発行要求を受信したと判断した場合(ステップS1418:YES)、受信した伝票再発行要求を伝票再発行処理部223dに出力する。伝票再発行処理部223dは、伝票再発行要求からプリンタ識別情報と伝票番号を取得する。伝票再発行処理部223dは、伝票番号により記憶部23dに記憶されている注文管理データを検索し、注文データを特定する。伝票再発行処理部223dは、特定した注文データから全ての種類の伝票の伝票印字データ、すなわち、調理伝票印字データとゲスト伝票印字データを生成する(ステップS1420)。
When the print
伝票再発行処理部223dは、生成した調理伝票印字データとその識別コード、生成したゲスト伝票印字データとその識別コードとを第2送受信部24へ出力し、伝票再発行要求から取得したプリンタ識別情報により特定される送信先への送信を第2送受信部24へ指示する。第2送受信部24は、調理伝票印字データとその識別コード、及び、ゲスト伝票印字データとその識別コードとを、送信先で指定されたプリンタ30eに送信する(ステップS1422)。
The slip
伝票再発行処理部223dは、ステップS1422で送信した調理伝票印字データの識別コードと、ゲスト伝票印字データの識別コードとに、onを設定した再発行済みフラグを対応付けて記憶部23dに書き込む(ステップS1424)。ステップS1424の処理の後、コントローラ20dは、ステップS1402からの処理を行う。
The slip
ステップS1418において、第2送受信部24が伝票再発行要求を受信しなかった場合(ステップS1418:NO)、伝票再発行処理部223dは、まだ送信していない未印字伝票データが記憶部23dに記憶されているかを判断する(ステップS1426)。
In step S1418, when the second transmission /
記憶部23dに未印字伝票データが記憶されている場合(ステップS1426:YES)、伝票再発行処理部223dは、未送信の未印字伝票データがあると判断し、未印字伝票データの識別コードを読み出す。
なお、未印字伝票データが複数記憶されている場合、伝票再発行処理部223dは、注文管理データから未印字伝票データの識別コードに対応した注文時刻を読み出し、読み出した注文時刻が最も早い識別コードを読み出す。
伝票再発行処理部223dは、読み出した識別コードに対応して、ONが設定された再発行済みフラグが記憶部23dに記憶されているかを判断する(ステップS1428)。
When unprinted slip data is stored in the
When a plurality of unprinted slip data is stored, the slip
The slip
伝票再発行処理部223dは、ONが設定された再発行済みフラグが記憶部23dに記憶されていないと判断した場合(ステップS1428:NO)、読み出した識別コードに対応した未印字伝票データを記憶部23dから読み出す。伝票再発行処理部223dは、読み出した未印字伝票データとその識別コードとを第2送受信部24に出力し、識別コード内の送信先特定情報により特定される送信先への送信を指示する。第2送受信部24は、伝票再発行処理部223dから入力された未印字伝票データとその識別コードを、送信先として指示されたプリンタ30dまたはプリンタ30eへ送信する(ステップS1430)。
When the slip
第2送受信部24が、ステップS1430において送信した未印字伝票データに対応して送信先のプリンタ30dまたはプリンタ30eからの受信応答を所定時間内に受信した場合(ステップS1432:YES)、伝票再発行処理部223dは、ステップS1430において送信した未印字伝票データとその識別コードを記憶部23dから削除し(ステップS1432)、コントローラ20dはステップS1402からの処理を実行する。一方、第2送受信部24が所定時間内に送信先のプリンタ30dまたはプリンタ30eからの受信応答を受信しなかった場合(ステップS1432:NO)、コントローラ20dは未印字伝票データの削除は行わずにステップS1402からの処理を実行する。
When the second transmitting / receiving
一方、ステップS1428において、ONが設定された再発行済みフラグが記憶部23dに記憶されていると判断した場合(ステップS1428:YES)、伝票再発行処理部223dは、読み出した識別コードを設定した伝票削除要求を第2送受信部24へ出力し、識別コード内の送信先特定情報により特定される送信先への送信を指示する。第2送受信部24は、伝票削除要求を、伝票再発行要求を送信先として指示されたプリンタ30dまたはプリンタ30eへ送信する(ステップS1436)。伝票再発行処理部223dは、識別コードと、当該識別コードに対応付けられた未印字伝票データを記憶部23dから削除し、コントローラ20dは、ステップS1402からの処理を実行する。
On the other hand, when it is determined in step S1428 that the reissued flag set to ON is stored in the
ステップS1426において、伝票再発行処理部223dが、記憶部23dに未印字伝票データは記憶されておらず、未送信の未印字伝票データはないと判断した場合(ステップS1426:NO)、伝票処理部222dは、まだ送信が完了していない伝票印字データが記憶部23dに記憶されているかにより、送信が完了していない伝票印字データがあるかを判断する(ステップS1438)。記憶部23dに送信が完了していない伝票印字データが記憶されていない場合(ステップ1438:NO)、コントローラ20dは、ステップS1402からの処理を実行する。
In step S1426, when the slip
記憶部23dに伝票印字データが記憶されている場合(ステップS1438:YES)、伝票処理部222dは、ステップS1408において書き込まれた後、まだ送信が完了していない伝票印字データとその識別コードを記憶部23dから読み出す。伝票処理部222dは読み出した伝票印字データとその識別コードとを第2送受信部24に出力し、識別コード内の送信先特定情報により特定される送信先への送信を指示する。
なお、伝票印字データが複数記憶されている場合、伝票処理部222dは、記憶部23dが記憶している注文管理データから伝票印字データの識別コードに対応した注文時刻を読み出し、読み出した注文時刻が最も早い識別コードと、その識別コードに対応した伝票印字データを第2送受信部24に出力し、送信を指示する。第2送受信部24は、伝票処理部222dから入力された伝票印字データとその識別コードを、送信先として指示されたプリンタ30dまたはプリンタ30eへ送信する(ステップS1440)。
When the slip print data is stored in the
When a plurality of slip print data is stored, the
第2送受信部24が、ステップS1440において送信した伝票印字データに対応して送信先のプリンタ30dまたはプリンタ30eからの受信応答を所定時間内に受信した場合(ステップS1432:YES)、伝票処理部222dは、ステップS1440において送信した伝票印字データとその識別コードを記憶部23dから削除し(ステップS1444)、コントローラ20dはステップS1402からの処理を実行する。一方、第2送受信部24が所定時間内に送信先のプリンタ30dまたはプリンタ30eからの受信応答を受信しなかった場合(ステップS1432:NO)、コントローラ20dは伝票印字データの削除は行わずにステップS1402からの処理を実行する。
When the second transmission /
本実施形態によれば、プリンタ30dの電源断が発生し、コントローラ20dが他のプリンタから伝票再発行要求を受信する前に当該プリンタ30dの電源が再投入された場合、第1の実施形態と同様の処理が行われ、接続要求により再送が要求された伝票印字データを優先してプリンタ30dに印字させる。一方、プリンタ30dの電源が再投入される前に、コントローラ20dが他のプリンタ、例えばプリンタ30eから伝票再発行要求を受信した場合、同じ伝票番号を有する全ての種類の伝票印字データをプリンタ30eに再送し、調理伝票、ゲスト伝票を印字させる。これにより、プリンタ30dの電源がすぐに再投入された場合には、飲食店のスタッフの操作を必要とせず、プリンタ30dに調理伝票を印字させることができる。一方、プリンタ30dの電源再投入までに時間がかかる場合、飲食店のスタッフの操作により、調理伝票をプリンタ30eに印字させることができるため、注文された料理の調理を遅滞なく行うことができる。
また、既にプリンタ30eで印字済みの伝票は、プリンタ30dの電源が再投入された後にプリンタ30dにおいて印字されることはないため、伝票の二重発行は生じ得ず、調理担当などが作業に混乱することはない。
According to the present embodiment, when the power of the printer 30d is cut off and the power of the printer 30d is turned on again before the
In addition, slips that have already been printed by the printer 30e are not printed by the printer 30d after the printer 30d is turned on again. Therefore, the slip cannot be issued twice, and the person in charge of cooking is confused by the work. Never do.
なお、プリンタ30dが、プリンタ30eの通信処理部321e及び指示入力部37を備え、プリンタ30eが、プリンタ30dの削除部325dを備えてもよい。また、プリンタ30dとプリンタ30eを同一構成とし、上述したプリンタ30eの通信処理部321e及び指示入力部37、ならびにプリンタ30dの削除部325dを、両プリンタが備えるようにしてもよい。これにより、プリンタ30eに電源断が発生した際、プリンタ30dは、上述したプリンタ30eと同様の処理を行い、コントローラ20dへ伝票再発行要求を送信し、返送されたゲスト伝票印字データ及び調理伝票印字データを印字する。
The printer 30d may include the
一般に、伝票には伝票番号が印字されるが、識別コードは印字されない。よって、飲食店のスタッフは、印字された伝票から伝票番号を知ることができるが、識別コードを知ることができない。そこで、上述したように、コントローラ20dは、伝票番号が設定された伝票再発行要求をプリンタから受信すると、この伝票番号に関連付けられている全ての識別コードについて、当該識別コードにより特定される伝票印字データを生成し、伝票再発行要求の送信元へ送信する。これにより、伝票再発行要求を送信したプリンタからは、再発行を要求した伝票番号の全ての種類の伝票が印字される。
そこで、飲食店のスタッフがどの種類の伝票を印字させるかを特定できるようにしてもよい。具体的には、プリンタが伝票再発行要求を送信した結果、コントローラ20dから全ての種類の伝票の伝票印字データを受信した場合、複数の種類の伝票が再印字可能であることをプリンタの図示しないディスプレイに表示させる。飲食店のスタッフが、調理伝票、ゲスト伝票など、印字させたい伝票の種類をプリンタに入力すると、プリンタは、入力された種類の伝票の伝票印字データを印字する。
Generally, a slip number is printed on a slip, but an identification code is not printed. Therefore, the restaurant staff can know the slip number from the printed slip, but cannot know the identification code. Therefore, as described above, when the
Therefore, the restaurant staff may be allowed to specify which type of slip is to be printed. Specifically, as a result of the printer sending a slip reissue request, when the slip print data of all types of slips is received from the
または、飲食店のスタッフがどの種類の伝票を印字させるかを初めから分かっている場合には、印字させたい伝票の種類を示す情報を入力する手段をプリンタに設けてスタッフに操作させるようにしてもよい。これによりプリンタは、入力された伝票の種類を示す情報をさらに設定した伝票再発行要求をコントローラ20dに送信する。コントローラ20dは、伝票再発行要求に設定されている伝票番号で特定される注文データから、当該伝票再発行要求に設定されている情報が示す種類の伝票についてのみ伝票印字データを生成し、伝票再発行の要求元へ送信する。これにより、飲食店のスタッフが印字したい伝票のみを印字させることが可能となる。
Alternatively, if the restaurant staff knows from the beginning what type of slip is to be printed, the printer should be provided with a means for inputting information indicating the type of slip to be printed. Also good. Accordingly, the printer transmits a slip reissue request further set with information indicating the type of the input slip to the
あるいは、プリンタが、伝票印字データの印字が完了する毎に、印字が完了した伝票印字データの識別コードを印字済み識別コードとして不揮発メモリに記憶するようにしてもよい。これにより、プリンタが送信した伝票再発行要求に対応してコントローラ20dから受信した再発行用の伝票印字データのうち、自プリンタの不揮発メモリに記憶されている印字済み識別コードに対応した伝票印字データを除いた伝票印字データのみを印字する。例えば、印字済み識別コード「0002G」を不揮発メモリに記憶するプリンタ20dが、伝票の再発行要求を送信し、コントローラ20dから多くの伝票印字データを取得した場合、識別コード「0002G」が付加されていない伝票印字データのみを印字する。
これにより、飲食店のスタッフに特段の操作を強いることなく、当該プリンタで未印字の伝票のみを印字させることが可能となる。
Alternatively, every time printing of the slip print data is completed, the printer may store the identification code of the slip print data that has been printed in the nonvolatile memory as a printed identification code. As a result, of the reissue slip print data received from the
This makes it possible to print only unprinted slips with the printer without forcing the restaurant staff to perform special operations.
あるいは、各プリンタが印字する伝票の種類が決まっている場合、伝票再発行要求を送信した結果、コントローラ20dから全ての種類の伝票の伝票印字データを受信したプリンタは、自プリンタが印字する種類と異なる種類の伝票の伝票印字データを印字する。例えば、ゲスト伝票を印字するプリンタ30eが、伝票再発行要求に対応してコントローラ20dか調理伝票印字データ及びゲスト伝票印字データを受信した場合、調理伝票印字データのみを印字する。
Alternatively, when the type of slip printed by each printer is determined, the printer that has received the slip print data of all types of slips from the
または、コントローラ20dが、各プリンタが印字する伝票の種類を把握しており、伝票再発行要求を受信した際、当該要求の送信元のプリンタが通常印字する種類とは異なる種類の伝票の伝票印字データを作成して、そのプリンタに送信する。プリンタは、コントローラ20dから受信した伝票印字データを印字する。
これにより、不揮発メモリに印字済み識別コードを記憶するエリアを設けたり、印字処理中に不揮発メモリへの書き込み処理を実施したりすることなく、また、飲食店のスタッフに特段の操作を強いることなく、当該プリンタで未印字の伝票のみを印字させることが可能となる。
Alternatively, the
As a result, there is no need to provide an area for storing the printed identification code in the non-volatile memory, or to perform a writing process to the non-volatile memory during the printing process, and without forcing the restaurant staff to perform a special operation. Only the unprinted slip can be printed by the printer.
上述した実施形態によれば、プリンタに大容量の不揮発メモリを備える必要なく、プリンタの電源がオフされたために印字が完了していなかった伝票印字データの印字処理が最優先に行われる。そのため、注文の順番に伝票が印字され、後から注文されたメニューの調理指示が先に行われることを防止することができる。
また、何らかの理由で印字が完了していなかった伝票印字データは、プリンタの電源が再度投入された後、優先して印字される上、前回未印字であったことを示す情報や、注文からの経過時間情報などをあわせた印字が可能である。よって、プリンタの影響が原因で調理が遅れたことを調理人やフロアスタッフに認知させることができ、当該伝票に関する調理を急ぐなど、適切な対応を取らせることができる。
According to the above-described embodiment, it is not necessary to provide the printer with a large-capacity nonvolatile memory, and the printing process of the slip print data that has not been printed because the printer is turned off is performed with the highest priority. Therefore, slips are printed in the order of order, and it is possible to prevent a cooking instruction for a menu ordered later from being given first.
In addition, slip print data that has not been printed for some reason is preferentially printed after the printer power is turned on again, and information indicating that it was not printed last time, Printing that includes elapsed time information is possible. Therefore, it is possible to make the cook or the floor staff recognize that cooking has been delayed due to the influence of the printer, and to take appropriate measures such as urgent cooking for the slip.
また、プリンタは、コントローラから送信された印字データに、伝票印字データではないことを示す識別コードが付与されていた場合、当該識別コードを不揮発メモリへ記録しない。従って、電源断が発生した場合でも確実に印字しなければならない対象である伝票印字データの識別コードのみを不揮発メモリに記録すればよいため、不揮発メモリのメモリ容量を抑えることができる。 Further, when an identification code indicating that it is not slip print data is added to the print data transmitted from the controller, the printer does not record the identification code in the nonvolatile memory. Accordingly, only the identification code of the slip print data that is to be printed reliably even when the power is cut off needs to be recorded in the non-volatile memory, so that the memory capacity of the non-volatile memory can be reduced.
なお、コントローラ20の処理部22、コントローラ20bの処理部22b、コントローラ20cの処理部22c、コントローラ20dの処理部22d、プリンタ30の処理部32、プリンタ30aの処理部32a、プリンタ30bの処理部32b、プリンタ30dの処理部32d、及び、プリンタ30eの処理部32eは、メモリ及びCPU(中央処理装置)等により構成され、上述したコントローラ20の処理部22、コントローラ20bの処理部22b、コントローラ20cの処理部22c、プリンタ30の処理部32、プリンタ30aの処理部32a、及び、プリンタ30bの処理部32bの処理過程を実現するためのプログラム(図示せず)を、これを記録している不揮発性のメモリ、磁気ディスク等から、上記メモリにロードして実行することによりその機能が実現される。
The
10…ハンディーターミナル
20、20b、20c、20d…コントローラ(制御装置)
21…第1送受信部
22、22b、22c、22d…処理部
220…印字要求受信部(注文受信部)
221…注文処理部
222、222d…伝票処理部
223、223b、223c、223d…伝票再発行処理部
224…印字データ生成部
23、23d…記憶部
24…第2送受信部
30、30a、30b、30d、30e…プリンタ(印字装置)
31…送受信部(受信部)
32、32a、32b、32d、32e…処理部
321、321b、321e…通信処理部(未印字伝票通知部)
322、322a、322b、322d…記憶処理部
323、323a…印字処理部
324、324a、324b…登録部
325、325a、325d…削除部
326…更新部
327…印字情報付加部
33、33a…揮発メモリ
34、34a…不揮発メモリ
35…印字部
36…カッター部
10:
21 ... 1st transmission /
221:
31 ... Transmitter / receiver (receiver)
32, 32a, 32b, 32d, 32e ... processing
322, 322a, 322b, 322d ...
Claims (10)
前記制御装置は、
注文を入力する装置から注文データを受信する注文受信部と、
前記注文受信部が受信した注文データと当該注文データが示す注文の注文時刻とを記憶部に登録する注文処理部と、
前記注文受信部が受信した注文データに基づいて伝票の印字データを生成するとともに当該印字データを識別する識別情報を生成して当該識別情報を前記注文データと対応付けて前記記憶部に登録し、前記印字データ及び前記識別情報を前記印字装置へ送信し、送信した前記印字データ及び前記識別情報に対応して前記印字装置から受信応答を受信する伝票処理部と、
前記印字装置から、前記接続要求とともに再送対象の前記印字データの識別情報を受信した場合、接続応答を送信するとともに、受信した前記識別情報により特定される前記注文データに基づいた伝票の印字データを未印字データとして、前記伝票処理部が生成して送信が完了していない印字データより先に前記印字装置に送信する伝票再発行処理部とを備え、
前記印字装置は、
印字を行う印字部と、
印字が完了していない印字データの識別情報を記憶する不揮発メモリと、
前記制御装置から前記印字データ及び当該印字データの識別情報を受信し、受信応答を返送する受信部と、
前記受信部が受信した前記印字データの識別情報を、受信した順に前記不揮発メモリに書き込む登録部と、
前記受信部が受信した前記印字データを前記印字部に印字させる印字処理部と、
印字が完了した前記印字データの識別情報を前記不揮発メモリから削除する削除部と、
当該印字装置の電源が投入されたときに、前記不揮発メモリに記憶されている前記印字データの識別情報を再送対象として前記接続要求とともに前記制御装置に送信する未印字伝票通知部と、
を備えることを特徴とする注文管理システム。 An order management system having a control device and a printing device that transmits a connection request to the control device, receives a connection response from the control device, and waits for reception of print data ,
The controller is
An order receiving unit for receiving order data from a device for inputting an order;
An order processing unit that registers in the storage unit the order data received by the order receiving unit and the order time of the order indicated by the order data;
Generating print data of the slip based on the order data received by the order receiving unit, generating identification information for identifying the print data, registering the identification information in the storage unit in association with the order data, A slip processing unit that transmits the print data and the identification information to the printing device, and receives a reception response from the printing device corresponding to the transmitted print data and the identification information;
When receiving identification information of the print data to be retransmitted together with the connection request from the printing device , a connection response is transmitted , and print data of the slip based on the order data specified by the received identification information the as the unprinted data, and a slip reissue processing unit to be transmitted to the printer before the print data transmitting said document processing portion is generated is not completed,
The printer is
A printing section for performing printing, and
A non-volatile memory for storing identification information of print data that has not been printed;
A receiving unit that receives the print data and the identification information of the print data from the control device, and returns a reception response;
A registration unit that writes the identification information of the print data received by the reception unit into the nonvolatile memory in the order of reception;
A print processing unit that causes the print unit to print the print data received by the receiving unit;
A deletion unit that deletes the identification information of the print data that has been printed from the nonvolatile memory;
An unprinted slip notification unit that transmits the identification information of the print data stored in the nonvolatile memory to the control device together with the connection request when the power of the printing device is turned on;
An order management system comprising:
ことを特徴とする請求項1に記載の注文管理システム。 The slip reissuing processing unit of the control device adds unprinted data in which data for printing information indicating retransmission is added to the print data of the slip based on the order data specified by the identification information received together with the connection request. And sending a connection response, and sending the unprinted data to the printing device before the print data that the slip processing unit has generated and has not been sent,
The order management system according to claim 1, wherein:
ことを特徴とする請求項1または請求項2に記載の注文管理システム。 The slip reissue processing unit of the control device includes unprinted data combining print data of the slip based on the order data specified by the identification information received together with the connection request and print data relating to information indicating retransmission And sending a connection response, and sending the unprinted data to the printing device before the print data generated by the slip processing unit and not transmitted.
The order management system according to claim 1 or 2, wherein
ことを特徴とする請求項2または請求項3に記載の注文管理システム。 The information indicating retransmission is an elapsed time from the order time of the order indicated by the order data specified by the identification information received together with the connection request .
The order management system according to claim 2 or claim 3, wherein
前記制御装置から接続応答とともに受信した前記未印字データに、再送を示す情報を印字させるデータを付加する印字情報付加部をさらに備える、
ことを特徴とする請求項1に記載の注文管理システム。 The printer is
A print information adding unit for adding data for printing information indicating retransmission to the unprinted data received together with a connection response from the control device;
The order management system according to claim 1, wherein:
前記印字装置は、
前記印字部が前記印字データに含まれる前記短冊印字データの印字を完了した数である印字完了数を、当該印字データの識別情報と対応付けて前記不揮発メモリに書き込む更新部をさらに備え、
前記印字情報付加部は、前記未印字データに、再送を示す情報として、前記識別情報に対応して前記不揮発メモリに記憶されている前記印字完了数に基づく情報を印字させるデータを付加する、
ことを特徴とする請求項5に記載の注文管理システム。 The print data includes one or more strip print data for printing the order details indicated by the order data as a single slip,
The printer is
An update unit that writes the number of print completions, which is the number of prints of the strip print data included in the print data, to the nonvolatile memory in association with the identification information of the print data;
The print information adding unit, before Symbol unprinted data, as the information indicating the retransmission, adds data for printing the information based on the number of print completion in response to the identification information stored in the nonvolatile memory,
The order management system according to claim 5, wherein:
ことを特徴とする請求項6に記載の注文管理システム。 The print information adding unit indicates that said strip print data included in the prior SL unprinted data, as the information indicating the retransmission, the information or non-printed indicating that the re-printing based on the number of print completion Add data to print information,
The order management system according to claim 6.
前記印字装置は、
前記印字部が前記印字データに含まれる前記短冊印字データの印字を完了した数である印字完了数を、当該印字データの識別情報と対応付けて前記不揮発メモリに書き込む更新部をさらに備え、
前記未印字伝票通知部は、前記印字装置の電源が投入されたときに、前記不揮発メモリに記憶されている前記印字データの識別情報及び前記印字完了数を、前記接続要求に含めて前記制御装置に送信し、
前記伝票再発行処理部は、前記接続要求とともに前記識別情報及び前記印字完了数を受信し、受信した前記識別情報により特定される前記注文データに基づいた伝票の印字データに含まれる短冊印字データのうち、受信した前記印字完了数から印字されていないと判断される短冊印字データのみを含む未印字データを生成し、接続応答を送信するとともに、当該未印字データを、前記伝票処理部が生成して送信が完了していない印字データより先に前記印字装置に送信する、
ことを特徴とする請求項1に記載の注文管理システム。 The print data includes one or more strip print data for printing the order details indicated by the order data as a single slip,
The printer is
An update unit that writes the number of print completions, which is the number of prints of the strip print data included in the print data, to the nonvolatile memory in association with the identification information of the print data;
The unprinted slip notification unit includes the identification information of the print data stored in the non-volatile memory and the number of print completions included in the connection request when the printer is turned on. To
The slip reissue processing unit receives the identification information and the number of print completions together with the connection request, and prints the strip print data included in the print data of the slip based on the order data specified by the received identification information. Among them, it generates unprinted data including only strip print data determined not to be printed from the received number of print completions , transmits a connection response, and the slip processing unit generates the unprinted data. To send to the printer before the print data that has not been sent,
The order management system according to claim 1, wherein:
前記伝票再発行処理部は、
前記印字装置から再送対象の伝票の伝票番号を受信し、受信した前記伝票番号により特定される前記注文データに基づいて生成した前記複数の種類の未印字データを前記印字装置に返送するとともに、返送した前記未印字データの識別情報と再送済みを示す情報とを対応付けて前記記憶部に登録し、
前記伝票処理部が再送対象の伝票の伝票番号を送信した前記印字装置とは異なる他の前記印字装置から前記識別情報を再送対象として受信し、受信した前記識別情報に対応して再送済みを示す情報が前記記憶部に登録されている場合、削除要求を前記他の印字装置に返送し、受信した前記識別情報に対応して再送済みを示す情報が前記記憶部に登録されていない場合、前記識別情報により特定される伝票の未印字データを、前記伝票処理部が生成して送信が完了していない印字データより先に、前記他の印字装置に送信し、
前記印字装置の未印字伝票通知部は、再発行対象の伝票の伝票番号を前記制御装置に送信し、
前記他の印字装置の前記削除部は、前記未印字伝票通知部が送信した前記印字データの識別情報に対応して前記制御装置から削除要求を受信した場合、送信した前記識別情報を前記不揮発メモリから削除する、
ことを特徴とする請求項1に記載の注文管理システム。 The slip processing unit generates print data of a plurality of types of slips based on the order data received by the order receiving unit and generates identification information for identifying each of the print data, and the order data and the slip of the slip The number and the identification information of each of the print data are associated with each other and registered in the storage unit, and each set of the print data and the identification information of the print data is transferred to the printing apparatus corresponding to the type of slip of the print data. Transmit, receive a reception response from the printing device corresponding to the transmitted print data and the identification information,
The slip reissue processor
A slip number of a slip to be retransmitted is received from the printing device, and the plurality of types of unprinted data generated based on the order data specified by the received slip number are returned to the printing device and returned. The identification information of the unprinted data and the information indicating the retransmitted are associated with each other and registered in the storage unit,
The slip processing unit receives the identification information as a retransmission target from another printing device different from the printing device that has transmitted the slip number of the slip to be retransmitted, and indicates that it has been retransmitted corresponding to the received identification information When information is registered in the storage unit, a deletion request is returned to the other printing device, and when information indicating resend corresponding to the received identification information is not registered in the storage unit, Sending the unprinted data of the slip specified by the identification information to the other printing device before the print data generated by the slip processing unit and not transmitted,
The unprinted slip notification unit of the printing device transmits the slip number of the slip to be reissued to the control device,
When the deletion unit of the other printing device receives a deletion request from the control device corresponding to the identification information of the print data transmitted by the unprinted slip notification unit, the deletion unit transmits the transmitted identification information to the nonvolatile memory. Remove from
The order management system according to claim 1, wherein:
注文を入力する装置から注文データを受信する注文受信部と、
前記注文受信部が受信した注文データと当該注文データが示す注文の注文時刻とを記憶部に登録する注文処理部と、
前記注文受信部が受信した注文データに基づいて伝票の印字データを生成するとともに当該印字データを識別する識別情報を生成して当該識別情報を前記注文データと対応付けて前記記憶部に登録し、前記印字データ及び前記識別情報を前記印字装置へ送信し、送信した前記印字データ及び前記識別情報に対応して前記印字装置から受信応答を受信する伝票処理部と、
前記印字装置から、前記接続要求とともに再送対象の前記印字データの識別情報を受信した場合、接続応答を送信するとともに、受信した前記識別情報により特定される前記注文データに基づいた伝票の印字データを未印字データとし、当該未印字データを、前記伝票処理部が生成して送信が完了していない印字データより先に前記印字装置に送信する伝票再発行処理部と
を備えることを特徴とする制御装置。 A control device that is used in an order management system having a printing device that transmits a connection request to the control device, receives a connection response from the control device, and waits for reception of print data ;
An order receiving unit for receiving order data from a device for inputting an order;
An order processing unit that registers in the storage unit the order data received by the order receiving unit and the order time of the order indicated by the order data;
Generating print data of the slip based on the order data received by the order receiving unit, generating identification information for identifying the print data, registering the identification information in the storage unit in association with the order data, A slip processing unit that transmits the print data and the identification information to the printing device, and receives a reception response from the printing device corresponding to the transmitted print data and the identification information;
When receiving identification information of the print data to be retransmitted together with the connection request from the printing device , a connection response is transmitted , and print data of the slip based on the order data specified by the received identification information And a slip reissuing processor that transmits the unprinted data to the printer prior to print data that has not been generated and transmitted by the slip processor. Control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011083750A JP5827025B2 (en) | 2011-04-05 | 2011-04-05 | Order management system and control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011083750A JP5827025B2 (en) | 2011-04-05 | 2011-04-05 | Order management system and control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012221046A JP2012221046A (en) | 2012-11-12 |
JP5827025B2 true JP5827025B2 (en) | 2015-12-02 |
Family
ID=47272538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011083750A Active JP5827025B2 (en) | 2011-04-05 | 2011-04-05 | Order management system and control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5827025B2 (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3513263B2 (en) * | 1995-05-23 | 2004-03-31 | 株式会社野村総合研究所 | Printing system and printing control method |
JPH10124568A (en) * | 1996-10-15 | 1998-05-15 | Tec Corp | System for managing merchandise order |
JPH10269459A (en) * | 1997-03-28 | 1998-10-09 | Sanyo Electric Co Ltd | Merchandise sales register |
JPH11112722A (en) * | 1997-09-30 | 1999-04-23 | Minolta Co Ltd | Image forming device and image forming system |
JP2005231187A (en) * | 2004-02-19 | 2005-09-02 | Fuji Xerox Co Ltd | Print indicator, printer, and print data backup system and method |
JP2007102331A (en) * | 2005-09-30 | 2007-04-19 | Toshiba Tec Corp | Printing system and printing device |
JP4863754B2 (en) * | 2006-04-17 | 2012-01-25 | エスアイアイ・データサービス株式会社 | Order management system |
JP4779831B2 (en) * | 2006-06-30 | 2011-09-28 | 富士ゼロックス株式会社 | Continuous paper printer |
JP2008053791A (en) * | 2006-08-22 | 2008-03-06 | Konica Minolta Business Technologies Inc | Image formation system |
JP2011065493A (en) * | 2009-09-18 | 2011-03-31 | Sharp Corp | Network image forming system, and image forming apparatus and server computer employed for the system |
-
2011
- 2011-04-05 JP JP2011083750A patent/JP5827025B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012221046A (en) | 2012-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6531599B2 (en) | Information processing apparatus program and information processing apparatus | |
JP2010218234A (en) | Print management device, print management method, and program | |
JP2007076828A (en) | Image processing device | |
CN110225217A (en) | Image processing apparatus and its control method | |
GB2527656A (en) | Sheet stacking apparatus, method of controlling sheet stacking apparatus, program and storage medium | |
JP2006018748A (en) | Information processing apparatus and its control method, and computer program and computer readable storage medium | |
JP3769142B2 (en) | Image printing system and operation control method thereof | |
JP5827025B2 (en) | Order management system and control device | |
JP2024012461A (en) | Article registration device, control method, and program | |
EP1761036B1 (en) | Printing apparatus and contents providing system | |
US20160065761A1 (en) | Information processing apparatus, mobile terminal, and information processing system | |
CN106558158B (en) | Work management device and work management method | |
CN103369184A (en) | Data printing system, portable terminal device and computer-readable medium | |
JP2009003617A (en) | Portable communication equipment | |
JP2006227685A (en) | Symbol image generation device, portable information processing device, printing system, generation method of symbol image, and program | |
JP2011098440A (en) | Recorder, control method for recorder, and program | |
JP2023042130A (en) | Information processing system, image forming apparatus, and program | |
JP2018097728A (en) | Information processing apparatus, program, printing apparatus and printing system | |
US20050097790A1 (en) | Identification marker generating apparatus, method, storage medium and computer data signal | |
JP4957340B2 (en) | Image forming control apparatus, image forming system, and program | |
JP7356670B2 (en) | Delivery order display program, recording medium and delivery order display device | |
JP2007058684A (en) | Document management system | |
JP6141680B2 (en) | Order management apparatus and order management system | |
JP2010019665A (en) | Route searching system | |
JP2003182821A (en) | Display setting system, display setting method and display setting program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140218 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20140822 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141211 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141216 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150206 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20150602 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150824 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20150901 |
|
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: 20150929 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151015 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5827025 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |