JP2015121949A - Print data management apparatus, data filtering device, and print data management program - Google Patents

Print data management apparatus, data filtering device, and print data management program Download PDF

Info

Publication number
JP2015121949A
JP2015121949A JP2013265406A JP2013265406A JP2015121949A JP 2015121949 A JP2015121949 A JP 2015121949A JP 2013265406 A JP2013265406 A JP 2013265406A JP 2013265406 A JP2013265406 A JP 2013265406A JP 2015121949 A JP2015121949 A JP 2015121949A
Authority
JP
Japan
Prior art keywords
receipt
receipt information
print data
printer
unit
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.)
Pending
Application number
JP2013265406A
Other languages
Japanese (ja)
Inventor
悠介 箕浦
Yusuke Minoura
悠介 箕浦
稲垣 泰広
Yasuhiro Inagaki
泰広 稲垣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2013265406A priority Critical patent/JP2015121949A/en
Publication of JP2015121949A publication Critical patent/JP2015121949A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a print data management apparatus, data filtering apparatus, and print data management program, which allow for flexibly collecting necessary electronic data on purchase information at POS terminals or the like that output paper receipt.SOLUTION: An example embodiment of a print data management apparatus includes; a print data generation unit for generating print data for printing product purchase information onto paper as paper receipts; a printer driver for printing the print data generated by the print data generation unit using a printer; a receipt information management unit for storing print data output by the printer driver as receipt information; and a data filtering device which detects, if present, presence of a transmission control symbol that suggests that the receipt information be sent to the receipt information management unit, detects a receipt end command indicating the end of each set of receipt information, and sends the receipt information during the period to the receipt information management unit and, if the transmission control symbol is not present, outputs the print data to the printer.

Description

本発明の実施形態は、POS端末等におけるプリントデータ装置、データフィルタ装置及びプリントデータ管理プログラムに関する。   Embodiments described herein relate generally to a print data device, a data filter device, and a print data management program in a POS terminal or the like.

従来、店舗に設けられるPOS装置では、顧客の購買する商品に対してその金額を受け取り、紙形式の受領書(紙レシート)を発行する。この販売された商品のデータは別途サーバ等に送られ、売れ行きに応じてその後の商品の種類や量を決定するために用いられる。   Conventionally, a POS device provided in a store receives the amount of money for a product purchased by a customer and issues a paper receipt (paper receipt). The data of the sold product is separately sent to a server or the like, and is used for determining the type and amount of the subsequent product according to the sales.

ところで、上記の商品販売情報をすべて電子データとして収集するものは電子ジャーナルとして知られており、例えば紙形式のレシートを発行するとき、そのデータをすべて電子ジャーナルとして収集する電子ジャーナル作成システムが知られている。   By the way, what collects all the above-mentioned merchandise sales information as electronic data is known as an electronic journal. For example, when a paper receipt is issued, an electronic journal creation system that collects all the data as an electronic journal is known. ing.

しかし、このシステムは購買情報を収集するときレシートをすべて発行するシステムであり、紙形式のレシートも出力されてしまう。   However, this system is a system that issues all receipts when collecting purchase information, and paper-type receipts are also output.

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

この発明の課題は、紙レシートを出力するPOS端末などにおいてその購買情報の必要な電子データを柔軟に収集することが可能なプリントデータ管理装置、データフィルタ装置及びプリントデータ管理プログラムを提供することである。   An object of the present invention is to provide a print data management device, a data filter device, and a print data management program capable of flexibly collecting electronic data necessary for purchase information in a POS terminal or the like that outputs a paper receipt. is there.

一例のプリントデータ管理装置は、商品の購買情報を紙形式のレシートに印刷するための印刷データ作成部と、この印刷データ作成部において作成された印刷データをプリンタに印刷するためのプリンタドライバと、このプリンタドライバの出力する印刷データをレシート情報として記憶するレシート情報管理部と、このレシート情報管理部に前記レシート情報を送ることを示す伝送制御記号が含まれていることを検出し各件の前記レシート情報の終了を示すレシート終了コマンドを検知しこの期間の前記レシート情報を前記レシート情報管理部に送り、前記伝送制御記号がない場合には、前記印刷データを前記プリンタに出力するデータフィルタ装置と、を有する。   An example print data management apparatus includes a print data creation unit for printing product purchase information on a paper receipt, a printer driver for printing the print data created in the print data creation unit on a printer, A receipt information management unit that stores print data output by the printer driver as receipt information, and a transmission control symbol indicating that the receipt information is sent to the receipt information management unit are detected, and A data filter device that detects a receipt end command indicating the end of receipt information, sends the receipt information for this period to the receipt information management unit, and outputs the print data to the printer if there is no transmission control symbol; Have.

一実施形態に係るPOSシステムの構成図である。1 is a configuration diagram of a POS system according to an embodiment. FIG. 一実施形態のPOS端末の構成例を示す図である。It is a figure which shows the structural example of the POS terminal of one Embodiment. 一実施形態のデータフィルタ装置の構成例を示す図である。It is a figure which shows the structural example of the data filter apparatus of one Embodiment. 一実施形態のプリントデータ管理装置の動作を説明するための図である。It is a figure for demonstrating operation | movement of the print data management apparatus of one Embodiment. 一実施形態においてSRIDが含まれたレシート情報の例を示す図である。It is a figure which shows the example of the receipt information in which SRID was contained in one Embodiment. 一実施形態においてSRIDの後に付加記号が含まれたレシート情報の例を示す図である。It is a figure which shows the example of the receipt information in which the additional symbol was contained after SRID in one Embodiment. 一実施形態において特殊文言(レジマイナス)が含まれたレシート情報の例を示す図である。It is a figure which shows the example of the receipt information in which special wording (registration minus) was contained in one Embodiment. 一実施形態において特殊文言(イッカツトリケシ)が含まれたレシート情報の例を示す図である。It is a figure which shows the example of the receipt information in which the special wording (Ikkatsuri-keshi) was included in one Embodiment. 一実施形態において、SRIDがある場合のレシート終了コマンドまでのフラグが1の範囲を説明するための図である。In one embodiment, it is a figure for demonstrating the range whose flag to a receipt end command in case there exists SRID is 1. FIG. 一実施形態におけるプリントデータ管理装置のハード的な構成例を示す図である。1 is a diagram illustrating a hardware configuration example of a print data management apparatus according to an embodiment.

以下、本発明の実施形態について図面を用いて説明する。本実施形態の特徴の1つは、フラグを用いて電子的なレシート情報の伝送単位を明確にすることにある。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. One of the features of this embodiment is that a transmission unit of electronic receipt information is clarified using a flag.

このPOSシステム10は図1に示すように、購買商品の種類、価格や金銭の入力、演算、表示等を行うためのPOS端末11と、このPOS端末11にケーブル12により接続され紙レシートを印刷出力するレシートプリンタ13を有する。POS端末11の構成例を図2に示す。POS端末11は、商品の種類、単価、個数等の商品情報、支払金銭情報などを入力する入力部20と、入力部20に入力されたデータを基に演算処理を行う演算部21と、入力データや演算処理の結果等を表示する表示部22と、プリントデータ管理装置23とを有する。   As shown in FIG. 1, this POS system 10 is a POS terminal 11 for inputting, calculating and displaying the type, price and money of a purchased product, and is connected to the POS terminal 11 by a cable 12 to print a paper receipt. A receipt printer 13 for outputting is provided. A configuration example of the POS terminal 11 is shown in FIG. The POS terminal 11 includes an input unit 20 that inputs product information such as the type, unit price, and number of products, payment money information, and the like, an arithmetic unit 21 that performs arithmetic processing based on data input to the input unit 20, and an input A display unit 22 for displaying data, results of arithmetic processing, and the like, and a print data management device 23 are provided.

プリントデータ管理装置23は、入力データや演算部21で演算した結果などから紙レシートとして印刷するデータを作成する印刷データ作成部24と、レシートプリンタ13のプリンタの印刷制御を行うプリンタドライバ25と、このプリンタドライバ25からレシートプリンタ13に送られる印刷データの一部の電子データを取得するデータフィルタ装置26と、データフィルタで得られた電子レシート情報を取得、管理するレシート情報管理部27と、を有する。   The print data management device 23 includes a print data creation unit 24 that creates data to be printed as a paper receipt from input data and a result computed by the computation unit 21, a printer driver 25 that performs print control of the printer of the receipt printer 13, A data filter device 26 that acquires a part of the print data sent from the printer driver 25 to the receipt printer 13 and a receipt information management unit 27 that acquires and manages the electronic receipt information obtained by the data filter. Have.

レシート情報管理部27は、データフィルタ装置26から出力されたレシート情報を電子レシート化するアプリケーションである。この実施形態では、レシート情報管理部27においてレシートの印刷データ(レシート情報)を電子レシート化するが、レシート情報管理部27でなく、外部のサーバや、別のプロセスにレシート情報を転送して電子レシート化するようにしてもよい。   The receipt information management unit 27 is an application that converts the receipt information output from the data filter device 26 into an electronic receipt. In this embodiment, the receipt print data (receipt information) is converted into an electronic receipt in the receipt information management unit 27. However, the receipt information is transferred to an external server or another process instead of the receipt information management unit 27 and electronically received. You may make it make a receipt.

表示部22は、表示面をタッチパネル構造として、入力部20の機能の一部を持たせている。プリンタドライバ25は、印刷データ作成部24からレシート印刷要求を取得し、各種コマンドに分割し各種コマンドやレシートの印刷データを、データフィルタ装置26を介してレシートプリンタに転送するものである。   The display unit 22 has a part of the function of the input unit 20 with a display surface as a touch panel structure. The printer driver 25 acquires a receipt print request from the print data creation unit 24, divides it into various commands, and transfers various commands and receipt print data to the receipt printer via the data filter device 26.

データフィルタ装置26の構成例を図3に示す。このデータフィルタ装置26は、プリンタドライバ25から出力される印刷データをそのままレシートプリンタ13にのみ送るプリンタ転送部31と、プリンタドライバ25から出力される印刷データ(レシート情報)をレシート情報管理部27にあるいはこれとレシートプリンタ13の双方に伝送するレシート情報伝送部32と、プリンタ転送部31とレシート情報伝送部32のいずれを動作させるかを制御するデータ解析制御部33とを有する。   A configuration example of the data filter device 26 is shown in FIG. The data filter device 26 sends the print data output from the printer driver 25 to the receipt printer 13 as it is, and the print data (receipt information) output from the printer driver 25 to the receipt information management unit 27. Alternatively, it includes a receipt information transmission unit 32 that transmits to both the receipt printer 13 and a data analysis control unit 33 that controls which of the printer transfer unit 31 and the receipt information transmission unit 32 is operated.

データ解析制御部33は、データ解析機能を有し、レシート情報(購買情報)にSRID(スマート識別ID)が含まれているか否かを検出するSRID検出部34と、レシート情報に特殊文言が含まれているか否かを検知する特殊文言検知部35と、各件のレシート情報の最後に来るレシート終了を検出するレシート終了コマンド検出部36と、SRID検出部34によりSRIDが検出されたときフラグを立て(1にする)、レシート終了検出部36によりレシートの終了を検出したときフラグをゼロに戻すフラグ制御部37と、このフラグ制御部37によりフラグが1の間のレシート情報をレシート情報管理部27に伝送するよう制御する伝送指示部38と、を有する。   The data analysis control unit 33 has a data analysis function, and includes an SRID detection unit 34 that detects whether or not SRID (smart identification ID) is included in the receipt information (purchase information), and a special wording is included in the receipt information. A special word detection unit 35 for detecting whether or not a receipt is received, a receipt end command detection unit 36 for detecting the end of a receipt that comes at the end of each receipt information, and a flag when an SRID is detected by the SRID detection unit 34 The flag control unit 37 sets the flag to zero when the receipt end detection unit 36 detects the end of the receipt, and the flag control unit 37 converts the receipt information whose flag is 1 to the receipt information management unit. A transmission instruction unit 38 that controls transmission to the terminal 27.

レシートプリンタ13において紙レシートを印刷するための情報を印刷データというが、これはレシート情報管理部27に送られるときにはレシート情報ともいい、実際には印刷データには印刷制御のコマンドが含まれるが、両者は同様の情報である。レシート情報にSRID(スマートレシート符号)が含まれているか否かをSRID検出部34で検出する。SRIDが印刷されている紙レシート例を図5に示す。図5に示すように、例えばSRIDの表示51とその右横にSRIDの番号52が表示される。   Information for printing a paper receipt in the receipt printer 13 is called print data. This is also called receipt information when it is sent to the receipt information management unit 27. Actually, the print data includes a print control command. Both are similar information. The SRID detector 34 detects whether or not SRID (smart receipt code) is included in the receipt information. FIG. 5 shows an example of a paper receipt on which the SRID is printed. As shown in FIG. 5, for example, the SRID display 51 and the SRID number 52 are displayed on the right side thereof.

SRID検出部34によりレシート情報にSRIDが検出されなければ、プリンタ転送部31を動作させて、印刷データ(レシート情報)をそのままレシートプリンタ13のみに送る。図5以下では理解を容易にするために印刷された紙レシートのように表示したが、実際には紙レシートとして印刷されない、見えない電子情報である。   If SRID is not detected in the receipt information by the SRID detection unit 34, the printer transfer unit 31 is operated to send the print data (receipt information) only to the receipt printer 13 as it is. In FIG. 5 and below, it is displayed like a printed paper receipt for easy understanding, but it is actually invisible electronic information that is not printed as a paper receipt.

なお、SRIDの後に更に例えばアスタリスク(*)が付加される場合もある。この例を図6に示す。レシート情報の表示にSRIDが含まれており、そのSRID番号61の後に付加記号例えばアスタリスク(*)の表示72が付加されている。このようにSRIDの後にアスタリスク(*)などの付加記号が付加されていれば、SRID検出部34でSRIDとアスタリスクを検出する。SRIDとアスタリスクが含まれている紙レシートの例を図6に示す。   For example, an asterisk (*) may be added after the SRID. An example of this is shown in FIG. SRID is included in the display of the receipt information, and an additional symbol, for example, an asterisk (*) display 72 is added after the SRID number 61. Thus, if an additional symbol such as an asterisk (*) is added after the SRID, the SRID detector 34 detects the SRID and the asterisk. An example of a paper receipt including SRID and an asterisk is shown in FIG.

この場合には、レシート情報伝送部32を駆動して、レシート情報をレシートプリンタ13に送ると共にレシート情報管理部27に送る。   In this case, the receipt information transmission unit 32 is driven to send the receipt information to the receipt printer 13 and to the receipt information management unit 27.

一方、レシート情報に図5に示すようなSRIDが含まれ、その後に記号が付加され、更にそれらのシート情報の中に特殊文言が含まれている場合もある。   On the other hand, SRID as shown in FIG. 5 is included in the receipt information, a symbol is added after that, and special wording may be included in the sheet information.

特殊文言検知部35において、特殊文言が検知された場合にもプリンタ転送部31を駆動して、レシートプリンタ13にのみ印刷データを送る。   Even when the special wording detection unit 35 detects a special wording, the printer transfer unit 31 is driven to send print data only to the receipt printer 13.

特殊文言には種々設けられる。例えば、金額などを訂正する場合の「レジマイナス」であり、その例を図7に示す。この例ではSRIDの前に「レジマイナス」の表示71が示されている。また図8に示す「イッカツトリケシ」(一括取消)(表示81)があり、そのほか「返品」などもここでいう特殊文言に含まれる。この特殊文言は図7に示すようにレシート情報の前の方にあっても図8に示すように後ろの方にあってもよい。なお、紙レシートとして印刷される場合の特殊文言は後日、加えたり削除したりすることができる。   Various special words are provided. For example, “registration minus” in the case of correcting the amount and the like is shown in FIG. In this example, a “registration minus” display 71 is shown before the SRID. In addition, there is “Ikatsu Trike” (collective cancellation) (display 81) shown in FIG. 8, and “return” is also included in the special wording here. This special wording may be at the front of the receipt information as shown in FIG. 7 or at the back as shown in FIG. Note that special words when printed as a paper receipt can be added or deleted at a later date.

レシート終了コマンドの位置の例を図9に示す。このようにSRIDが検出された時からレシート終了コマンド91までの範囲においてフラグは1とされそれ以外では0(ゼロ)とされる。レシート終了コマンドは、紙レシートにおいてレシートを切るカットコマンドのように各レシートの最後に来る制御コマンドである。   An example of the position of the receipt end command is shown in FIG. In this way, the flag is set to 1 in the range from the time when the SRID is detected to the receipt end command 91, and is set to 0 (zero) otherwise. The receipt end command is a control command that comes at the end of each receipt like a cut command for cutting a receipt in a paper receipt.

次のこの実施形態の動作を図4に示すフローチャートにしたがって説明する。まず、アクトA401で、データフィルタ装置26において印刷データ(レシート情報)を受信すると、データ解析機能を有するデータ解析制御部33においてアクトA402で印刷データ(レシート情報)の内容を解析する。アクトA403においてレシート情報にSRIDが含まれているかどうかを調べる。このSRIDの検出はSRID検出部34において行う。   Next, the operation of this embodiment will be described with reference to the flowchart shown in FIG. First, in Act A401, when print data (receipt information) is received by the data filter device 26, the data analysis control unit 33 having a data analysis function analyzes the contents of the print data (receipt information) in Act A402. In Act A403, it is checked whether SRID is included in the receipt information. This SRID is detected by the SRID detector 34.

アクトA403においてSRIDが検出されなかったら、アクトA404に移り、プリンタ転送部31を介してプリンタドライバ25出力の印刷データをレシートプリンタ13に送り、レシートプリンタ13から紙レシートを出力する。   If the SRID is not detected in Act A403, the process proceeds to Act A404, where print data output from the printer driver 25 is sent to the receipt printer 13 via the printer transfer unit 31, and a paper receipt is output from the receipt printer 13.

一方、アクトA405ではフラグ制御部37においてフラグを立てる、すなわち1にする。   On the other hand, in Act A405, the flag control unit 37 sets a flag, that is, 1 is set.

次のアクトA406では、レシート情報にSRIDの後に、図6のアスタリスク62に示すような付加記号が含まれているかどうかを検出する。付加記号が検出されなかったならば、アクトA407に移り、レシート終了コマンドが検出されたか否か調べられる。レシート終了コマンドが検出される(A407でY)と、アクトA408に移り、フラグ制御部37は制御信号を伝送指示部38に送りフラグ1の間のレシート情報をレシート情報伝送部32から、レシート情報管理部27に送るように制御する。そして、アクトA409でフラグをゼロにする。   In next Act A406, it is detected whether or not an additional symbol as shown by an asterisk 62 in FIG. 6 is included in the receipt information after the SRID. If no additional symbol is detected, the process moves to Act A407, where it is checked whether a receipt end command is detected. When a receipt end command is detected (Y in A407), the process proceeds to Act A408, where the flag control unit 37 sends a control signal to the transmission instruction unit 38, and receives receipt information between the flags 1 from the receipt information transmission unit 32. Control to send to the management unit 27. Then, in Act A409, the flag is set to zero.

アクトA409はアクトA408の前に行うようにしてもよい。   Act A409 may be performed before Act A408.

一方、アクトA406で、アスタリスク等の付加記号が検出されたらアクトA410に移る。アクトA410では、特殊文言が検知されたか、特殊文言検知部35で調べられる。アクトA410で、特殊文言が検知されたら、アクトA11に移り、フラグを取消しアクトA404でレシートプリンタ13にのみ出力する。   On the other hand, if an additional symbol such as an asterisk is detected in Act A406, the process moves to Act A410. In Act A410, the special word detection unit 35 checks whether a special word is detected. If a special wording is detected in Act A410, the process proceeds to Act A11, the flag is canceled, and only the receipt printer 13 is output in Act A404.

一方、アクトA410で特殊文言が検知されなかったら、アクトA411でレシート終了コマンドが検知されたかどうかレシート終了検知部36で調べられる。   On the other hand, if no special wording is detected at Act A410, the receipt end detection unit 36 checks whether a receipt end command is detected at Act A411.

そしてアクトA4312でレシート情報伝送部32を介してフラグが1の間のレシート情報をプリンタ及びレシート情報管理部27に送る。次のアクトA409ではフラグ制御部37はフラグを0(ゼロ)に戻す。この場合にもアクトA412の前にアクトA409を実行してもよい。   In Act A 4312, the receipt information whose flag is 1 is sent to the printer and receipt information management unit 27 via the receipt information transmission unit 32. In the next Act A409, the flag control unit 37 returns the flag to 0 (zero). Also in this case, Act A409 may be executed before Act A412.

このようにして、SRIDが検出されなかったとき及びSRID及び付加記号が検出され特殊文言も検知されたときには、アクトA404に移りレシートプリンタ13に印刷データが送られ、紙レシートのみが印刷出力される。   In this way, when SRID is not detected and when SRID and additional symbols are detected and special words are also detected, the process proceeds to Act A404, where print data is sent to the receipt printer 13 and only the paper receipt is printed out. .

一方、SRID及び付加記号が検出され、しかも特殊文言が検知されなかった場合には、印刷データ即ちレシート情報が、レシートプリンタ13及びレシート情報管理部27に送られる。   On the other hand, when the SRID and the additional symbol are detected and no special wording is detected, the print data, that is, receipt information is sent to the receipt printer 13 and the receipt information management unit 27.

レシート情報管理部27に送られたレシート情報は、このPOS端末11にいったん蓄えられ、例えば図示しないセンターのレシート情報サーバに送られて管理される。このレシート情報サーバには、例えば予め登録した顧客がスマートフォンなどのモバイル機器やパソコンなどでアクセスすることにより、自分が買った商品のレシートを再確認することができるようにすることが可能となる。   The receipt information sent to the receipt information management unit 27 is temporarily stored in the POS terminal 11, and is sent to and managed by a receipt information server at a center (not shown), for example. For example, when a customer registered in advance accesses the receipt information server with a mobile device such as a smartphone or a personal computer, the receipt of the product purchased by the customer can be reconfirmed.

なお、上記実施形態は、ハード的な構成においてインストールしたプログラムにより実施することも可能である。この場合のプリントデータ管理装置23の構成例を図10に示す。プリントデータ管理装置23は、外部の演算部21、表示部22、レシートプリンタ13などからのデータの入出力の制御を行う入出力制御部101と、データを記憶する記憶部102と、データの演算制御の処理を行う演算制御処理部103と、これら各部を全体的に制御するCPU104を有し、実際にはコンピュータにより構成される。   The above embodiment can also be implemented by a program installed in a hardware configuration. A configuration example of the print data management apparatus 23 in this case is shown in FIG. The print data management device 23 includes an input / output control unit 101 that controls input / output of data from an external calculation unit 21, display unit 22, receipt printer 13, and the like, a storage unit 102 that stores data, and data calculation. An arithmetic control processing unit 103 that performs control processing and a CPU 104 that controls these units as a whole are included, and are actually configured by a computer.

記憶部102は、各種のアプリケーション等を予め記憶しておく読み出しのみ可能なリードオンリメモリ(ROM)106と、入出力制御部91を介して外部から入力されたデータや演算制御処理部103において演算されるデータ及びその演算処理されたデータを一旦記憶する、書き込み及び読み出しが可能なランダムアクセスメモリ(RAM)107とを有する。   The storage unit 102 is a read only memory (ROM) 106 that can store various applications in advance and can only be read, and data that is input from the outside via the input / output control unit 91 and an arithmetic control processing unit 103. And a random access memory (RAM) 107 capable of writing and reading, which temporarily stores the data to be processed and the data processed by the calculation.

図2に示す印刷データ作成部24プリンタドライバ25、データフィルタ装置26、レシート情報管理部23の機能は、アプリケーションプログラムとしてROM106に予め記憶されている。CPU104は、入出力制御部101から入ってくるデータに、ROM106に記憶されるプログラムを適用し、演算制御処理部103において具体的な演算処理を行わせる。   The functions of the print data creation unit 24, the printer driver 25, the data filter device 26, and the receipt information management unit 23 shown in FIG. 2 are stored in advance in the ROM 106 as application programs. The CPU 104 applies a program stored in the ROM 106 to data input from the input / output control unit 101 and causes the arithmetic control processing unit 103 to perform specific arithmetic processing.

この制御演算により、図4に示した処理、即ち、印刷データを受信したか(A401)、印刷データを受信した場合の印刷データの解析(A402)、SRIDが検出されたかどうか(A403)、SRIDが検出された場合にSRIDに付加記号が検出されたかどうか(A406)、SRIDに付加記号が検出された場合に特殊文言が検知されたかどうか(A410)、特殊文言が検知されなかった場合にレシート終了コマンドが検知されたかどうか(A411)等の処理を行うことができる。   By this control calculation, the processing shown in FIG. 4, that is, whether print data has been received (A401), analysis of print data when print data is received (A402), whether SRID has been detected (A403), SRID When an additional symbol is detected in the SRID (A406), a special wording is detected when the additional symbol is detected in the SRID (A410), and a receipt when no special wording is detected Processing such as whether or not an end command is detected (A411) can be performed.

ところで、上記実施形態において印刷データはレシートプリンタにより印刷されていた。しかし、レシート印刷専用のプリンタでなくて、汎用のプリンタを用いる場合にも本発明は適用可能である。   By the way, in the above embodiment, the print data is printed by the receipt printer. However, the present invention can be applied to a case where a general-purpose printer is used instead of a printer dedicated to receipt printing.

上記実施形態においては、SRIDの文字がレシート情報に含まれている場合について説明したが、他の文字あるいは符号であってもよくまた位置などによりSRID番号等が検出できれば、SRID自体はなくてもよい。SRID自体も番号である必要はなくアルファベット等を含む符号であってよい。   In the above embodiment, the case where the SRID characters are included in the receipt information has been described. However, other characters or codes may be used, and if the SRID number or the like can be detected by the position, the SRID itself is not necessary. Good. The SRID itself does not have to be a number, and may be a code including an alphabet or the like.

上記実施形態においては、SRID番号の後にアスタリスクが付加されているときにレシート情報がレシートプリンタ及びレシート情報管理部に出力されるとしていた。しかし、両方に出力指示する記号はアスタリスクでなく他の符号、番号(付加記号)であってもよい。   In the above embodiment, the receipt information is output to the receipt printer and the receipt information management unit when an asterisk is added after the SRID number. However, the symbols to be output to both may be other codes and numbers (additional symbols) instead of asterisks.

上記実施形態では、所定の伝送制御記号に付加記号(アスタリスク)を加えるか否かにより、レシート情報をレシート情報管理部にのみ出力するか、プリンタにも出力するかを制御するようにしていた。したがって、すべての購買情報をレシート管理部に送りたい場合には、上記付加記号を常時付するようにすれば、電子ジャーナルのデータを得ることが可能となる。   In the embodiment described above, whether the receipt information is output only to the receipt information management unit or the printer is controlled depending on whether or not an additional symbol (asterisk) is added to a predetermined transmission control symbol. Therefore, if it is desired to send all purchase information to the receipt management unit, the electronic journal data can be obtained if the additional symbol is always added.

上記実施形態では、SRIDがないときには、印刷データをプリンタに出力するようにしていた。このようにすると、SRIDを採用しない場合のPOSシステムにも同様に処理を行うことができる。   In the above embodiment, when there is no SRID, print data is output to the printer. In this way, the same processing can be performed for a POS system that does not employ SRID.

なお、付加記号がレシート情報に含まれていたときに、レシート情報管理部にのみレシート情報を送り、付加記号が含まれていいないときにレシート情報管理部及びレシートプリンタにレシート情報を送るようにすることも可能である。要するに所定の伝送制御記号や付加記号がレシート情報に含まれているか否かによりレシート情報をプリンタのみに送るかレシート情報管理部に送るかを分けるようにすればよい。   When the additional symbol is included in the receipt information, the receipt information is sent only to the receipt information management unit, and when the additional symbol is not included, the receipt information is sent to the receipt information management unit and the receipt printer. It is also possible. In short, the receipt information may be sent only to the printer or sent to the receipt information management unit depending on whether or not a predetermined transmission control symbol or additional symbol is included in the receipt information.

上記実施形態では、SRIDが検出されしかもその後に付加記号が検出されたときであって、特殊文言が検知されないときにレシートプリンタ及びレシート情報管理部に出力するようにしていたが、SRIDが検出され付加記号が検出されないときであって特殊文言が検知されないときにも、レシートプリンタ及びレシート情報管理部に出力するようにしてもよい。   In the above embodiment, when SRID is detected and an additional symbol is detected after that, and when a special wording is not detected, it is output to the receipt printer and the receipt information management unit. However, SRID is detected. Even when the additional symbol is not detected and the special wording is not detected, it may be output to the receipt printer and the receipt information management unit.

上記実施形態では、SRIDが存在し且つレシート情報に特殊文言が含まれていたときに、レシートプリンタにのみレシート情報を出力するようにしていたが、特殊文言を検知しなくてもよい。   In the above embodiment, when SRID is present and special wording is included in the receipt information, the receipt information is output only to the receipt printer. However, the special wording may not be detected.

この実施形態によれば、従来のPOSシステムにおいて、レシート情報に所定の伝送制御記号とその付加記号を加えるだけで、プリンタとレシート情報管理部のいずれにも柔軟に出力することが可能なシステムが得られる。   According to this embodiment, in the conventional POS system, there is a system that can flexibly output to both the printer and the receipt information management unit simply by adding a predetermined transmission control symbol and its additional symbol to the receipt information. can get.

上述のように実施形態によれば、紙レシートを出力するPOS端末などにおいてその購買情報の必要な電子データを柔軟に収集することが可能なプリントデータ管理装置、データファイル装置及びプリントデータ管理プログラムが得られる。   As described above, according to the embodiment, there is provided a print data management device, a data file device, and a print data management program capable of flexibly collecting electronic data necessary for purchase information in a POS terminal that outputs a paper receipt. can get.

またこの実施形態によれば、フラグを用い、SRIDを検出してからレシート終了コマンドを検出するまでの間、フラグを1として、レシート毎のレシート情報を確実に取得することができる利点もある。   Further, according to this embodiment, there is an advantage that the receipt information for each receipt can be surely acquired by using the flag and setting the flag to 1 after detecting the SRID until the receipt end command is detected.

本発明のいくつかの実施形態を説明したがこれらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

10・・・・POSシステム
11・・・・POS端末
13・・・・レシートプリンタ
23・・・・プリントデータ管理装置
24・・・・印刷データ作成部
25・・・・プリンタドライバ
26・・・・データフィルタ装置
27・・・・レシート情報管理部
31・・・・プリンタ転送部
32・・・・レシート情報伝送部
33・・・・データ解析制御部
34・・・・SRID検出部
35・・・・特殊文言検知部
36・・・・レシート終了検出部
37・・・・フラグ制御部
38・・・・伝送指示部
DESCRIPTION OF SYMBOLS 10 ... POS system 11 ... POS terminal 13 ... Receipt printer 23 ... Print data management device 24 ... Print data creation part 25 ... Printer driver 26 ... · Data filter device 27 ··· Receipt information management unit 31 · · · Printer transfer unit 32 · · · Receipt information transmission unit 33 · · · Data analysis control unit 34 · · · SRID detection unit 35 · · · ..Special wording detection unit 36... Receipt end detection unit 37... Flag control unit 38.

Claims (5)

商品の購買情報を紙形式のレシートに印刷するための印刷データ作成部と、
この印刷データ作成部において作成された印刷データをプリンタに印刷するためのプリンタドライバと、
このプリンタドライバの出力する印刷データをレシート情報として記憶するレシート情報管理部と、
このレシート情報管理部に前記レシート情報を送ることを示す伝送制御記号が含まれていることを検出し各件の前記レシート情報の終了を示すレシート終了コマンドを検知しこの期間の前記レシート情報を前記レシート情報管理部に送り、前記伝送制御記号がない場合には、前記印刷データを前記プリンタに出力するデータフィルタ装置と、
を有することを特徴とするプリントデータ管理装置。
A print data creation unit for printing product purchase information on paper receipts;
A printer driver for printing the print data created in the print data creation unit on a printer;
A receipt information management unit for storing print data output by the printer driver as receipt information;
It is detected that a transmission control symbol indicating sending the receipt information is included in the receipt information management unit, a receipt end command indicating the end of the receipt information for each case is detected, and the receipt information for this period is stored in the receipt information. A data filter device for sending the print data to the printer if there is no transmission control symbol sent to a receipt information management unit;
A print data management apparatus comprising:
前記データフィルタ装置は、前記レシート情報に前記伝送制御記号が含まれており、かつ、前記レシート情報に所定の文言が含まれているとき、前記レシート情報を印刷データとして前記プリンタに出力することを特徴とする請求項1記載のプリンタデータ装置。   The data filter device outputs the receipt information as print data to the printer when the receipt information includes the transmission control symbol and the receipt information includes a predetermined wording. 2. A printer data device according to claim 1, wherein: プリンタにより印刷する制御を行うプリンタドライバから印刷データを受け取りプリンタに転送するプリンタ転送部と、
前記プリンタドライバから印刷データを受け取り、レシート情報としてレシート情報管理部にのみあるいはこのレシート情報管理部及び前記プリンタに伝送するレシート情報伝送部と、
このレシート情報管理部に前記レシート情報を送ることを示す伝送制御記号が含まれていることを検出してフラグを1とし、各件の前記レシート情報の終了を示すレシート終了コマンドを検知してフラグを0に戻すフラグ制御部と、
このフラグ制御部によりフラグを1とした期間の前記レシート情報を前記レシート情報管理部に送り、前記フラグ制御部によりフラグを1とした期間がない場合には、前記印刷データを前記プリンタに出力するように制御する制御部と、
を有することを特徴とするデータフィルタ装置。
A printer transfer unit that receives print data from a printer driver that controls printing by the printer and transfers the print data to the printer;
A receipt information transmission unit that receives print data from the printer driver and transmits the print data only to a receipt information management unit or to the receipt information management unit and the printer;
The receipt information management unit detects that a transmission control symbol indicating that the receipt information is to be sent is included, sets a flag to 1, detects a receipt end command indicating the end of the receipt information for each case, and sets a flag. A flag control unit that returns 0 to
The receipt information of the period in which the flag is set to 1 by the flag control unit is sent to the receipt information management unit, and if there is no period in which the flag is set to 1 by the flag control unit, the print data is output to the printer. A control unit for controlling
A data filter device comprising:
前記制御部は、前記レシート情報に前記伝送制御記号及び所定の付加記号が含まれていることが検出されたとき、前記レシート情報伝送部を駆動し、前記レシート情報管理部及び前記プリンタに前記レシート情報を出力することを特徴とする請求項3記載のデータフィルタ装置。   The control unit drives the receipt information transmission unit when it is detected that the receipt information includes the transmission control symbol and a predetermined additional symbol, and sends the receipt information management unit and the receipt to the receipt. 4. The data filter device according to claim 3, wherein information is output. 商品の購買情報をレシート情報として解析して所定の伝送制御記号が含まれているか否かを検出し、
前記レシート情報に前記伝送制御記号が含まれていないときには、商品の購買情報を紙形式のレシートに印刷するための印刷データをプリンタドライバからプリンタに転送し、
前記レシート情報に前記伝送制御記号が含まれているときにはこの時点からフレシート終了コマンドまでをフラグ1とし、このフラグ1の間の前記プリンタドライバの出力する印刷データをレシート情報としてレシート情報管理部に出力することをコンピュータに実行させることを特徴とするプリントデータ管理プログラム。
Analyzing product purchase information as receipt information to detect whether a predetermined transmission control symbol is included,
When the receipt information does not include the transmission control symbol, print data for printing product purchase information on a paper receipt is transferred from the printer driver to the printer,
When the receipt control symbol is included in the receipt information, a flag 1 is set from this point to the end of the receipt command, and the print data output by the printer driver during the flag 1 is output to the receipt information management unit as receipt information. A print data management program for causing a computer to execute
JP2013265406A 2013-12-24 2013-12-24 Print data management apparatus, data filtering device, and print data management program Pending JP2015121949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013265406A JP2015121949A (en) 2013-12-24 2013-12-24 Print data management apparatus, data filtering device, and print data management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013265406A JP2015121949A (en) 2013-12-24 2013-12-24 Print data management apparatus, data filtering device, and print data management program

Publications (1)

Publication Number Publication Date
JP2015121949A true JP2015121949A (en) 2015-07-02

Family

ID=53533508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013265406A Pending JP2015121949A (en) 2013-12-24 2013-12-24 Print data management apparatus, data filtering device, and print data management program

Country Status (1)

Country Link
JP (1) JP2015121949A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021039496A (en) * 2019-09-02 2021-03-11 東芝テック株式会社 Information processing apparatus, program, and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021039496A (en) * 2019-09-02 2021-03-11 東芝テック株式会社 Information processing apparatus, program, and system

Similar Documents

Publication Publication Date Title
EP2851878A1 (en) Receipt issuing device, and receipt issuing device control method
JP2013250602A (en) Terminal device, control method of terminal device and program
JP2014194733A5 (en) Sales data processing apparatus and program
US20170103623A1 (en) Server and point-of-sale terminal configured for higher throughput processing of returned merchandise
JP6155239B2 (en) Electronic receipt management server, electronic receipt providing method and program
US20170091746A1 (en) Commodity sales data processing apparatus and method for displaying tax exemption state
JP2023126823A5 (en)
JP2015114687A (en) Printer, and control method
JP2018160897A (en) Image processing device
US20210406863A1 (en) Sales data processing apparatus
JP2018147335A (en) Sales data processing apparatus and program
JP2016133917A (en) Server and program
JP2023153360A (en) Electronic receipt management server, electronic receipt system and program
JP2015121949A (en) Print data management apparatus, data filtering device, and print data management program
JP6331608B2 (en) POS system and print control apparatus
JP2015121866A (en) Print data management apparatus, data filtering device, and print data management program
JP2014006637A (en) Credit processing apparatus and program therefor
JP2012059166A (en) Merchandise data processor and program for the same
JP6336951B2 (en) Product sales data processing apparatus and program
JP2014132498A (en) Commodity transaction data processor and program
JP2015099419A (en) Printing control device, printing control method and program
JP2018142360A (en) Commodity sales data processor and program
JP6692476B2 (en) Product sales data processing method
JP2012208888A (en) Pos terminal equipment
US20220058921A1 (en) Processing apparatus, processing method, and non-transitory storage medium