JP5194069B2 - Printing apparatus and control program therefor - Google Patents

Printing apparatus and control program therefor Download PDF

Info

Publication number
JP5194069B2
JP5194069B2 JP2010159105A JP2010159105A JP5194069B2 JP 5194069 B2 JP5194069 B2 JP 5194069B2 JP 2010159105 A JP2010159105 A JP 2010159105A JP 2010159105 A JP2010159105 A JP 2010159105A JP 5194069 B2 JP5194069 B2 JP 5194069B2
Authority
JP
Japan
Prior art keywords
marker
print data
random number
receipt
printed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010159105A
Other languages
Japanese (ja)
Other versions
JP2012020454A (en
Inventor
雅寿 野知
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2010159105A priority Critical patent/JP5194069B2/en
Publication of JP2012020454A publication Critical patent/JP2012020454A/en
Application granted granted Critical
Publication of JP5194069B2 publication Critical patent/JP5194069B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明の実施形態は、レシートやクレジット伝票等の各種印刷物を印刷する印刷装置およびその制御プログラムに関する。   Embodiments described herein relate generally to a printing apparatus that prints various printed materials such as receipts and credit slips, and a control program therefor.

小売店で商品を購入したときなどには、POS(Point Of Sales)端末に接続または内蔵された印刷装置から取引明細が印刷されたレシートが発行される。また、クレジットカードによって取引を決済すれば、その明細情報が印刷された店舗控え用、客用、クレジット事業者用のクレジット伝票が決済端末に内蔵または接続された印刷装置から発行される。   When a product is purchased at a retail store, a receipt on which transaction details are printed is issued from a printing device connected to or built in a POS (Point Of Sales) terminal. Further, when the transaction is settled by a credit card, a credit card for the store copy, the customer, and the credit carrier on which the detailed information is printed is issued from a printing device built in or connected to the settlement terminal.

客に渡されたレシートや客用のクレジット伝票は、客が出費を把握するために束ねられた状態で保管されることがある。また、店舗控え用およびクレジット事業者用のクレジット伝票は、店舗等で束ねられた状態で保管されることがある。   Receipts and customer credit slips given to customers may be stored in a bundled state so that customers can understand their expenses. In addition, credit slips for stores and credit businesses may be stored in a bundled state at stores or the like.

特開2003−251595号公報JP 2003-251595 A

上記レシートやクレジット伝票等の印刷物は、周囲に余白を残して印刷されることが多い。したがって、これら印刷物が束ねられた際に複数枚の印刷物が密着すると、正面、背面、および4側面のいずれの方向から見た場合でも当該複数枚の境界を目視できずに、その重なりを見落としてしまうことがある。   Printed matter such as receipts and credit slips are often printed with a margin around them. Therefore, when a plurality of printed materials are brought into close contact with each other when these printed materials are bundled, the boundary between the plurality of sheets cannot be visually observed when viewed from any of the front, back, and four side surfaces, and the overlap is overlooked. May end up.

このような事情から、複数枚の印刷物の重なりを容易に判別できるように何らかの手段を講じる必要があった。   Under such circumstances, it has been necessary to take some means so that the overlap of a plurality of printed materials can be easily determined.

一実施形態における印刷装置は、印刷手段と、乱数生成手段と、位置変更手段とを備えている。
前記印刷手段は、予め定められた少なくとも一隅に第1のマーカが付され、予め定められた少なくとも一辺と接するように第2のマーカが付された印刷物を印刷する。前記乱数生成手段は、乱数を生成する。前記位置変更手段は、前記印刷物の前記少なくとも一辺と接するように前記第2のマーカを付す位置を、前記乱数生成手段によって生成された乱数に応じて選択的に変更する。
The printing apparatus according to an embodiment includes a printing unit, a random number generation unit, and a position changing unit.
The printing unit prints a printed matter with a first marker attached to at least one predetermined corner and a second marker so as to contact at least one predetermined side. The random number generation means generates a random number. The position changing unit selectively changes a position to which the second marker is attached so as to be in contact with the at least one side of the printed material according to the random number generated by the random number generating unit.

また、一実施形態における制御プログラムは、印刷物を印刷する印刷部を備えた印刷装置の制御プログラムであって、前記印刷装置に、生成機能と、配置機能と、印刷制御機能と、乱数生成機能と、位置変更機能とを実現させる。
前記生成機能は、所定の情報を配置した印刷データを生成する。前記配置機能は、前記生成機能によって生成された印刷データに対し、前記印刷物の予め定められた少なくとも一隅に相当する位置に第1のマーカを配置し、前記印刷物の予め定められた少なくとも一辺と接する位置に第2のマーカを配置する。前記印刷制御機能は、前記配置機能によって前記第1のマーカおよび前記第2のマーカが配置された印刷データに基づいて前記印刷部に印刷物を印刷させる。乱数生成機能は、乱数を生成する。前記位置変更機能は、前記配置機能によって前記印刷データに対し前記少なくとも一辺と接するように前記第2のマーカを配置する位置を、前記乱数生成機能によって生成された乱数に応じて選択的に変更する。
A control program according to an embodiment is a control program for a printing apparatus including a printing unit that prints a printed matter. The printing program includes a generation function, an arrangement function, a print control function, and a random number generation function. Realize the position change function.
The generation function generates print data in which predetermined information is arranged. The arrangement functions with respect to print data generated by the generating function, a first marker disposed at a predetermined at least one corner corresponding to the position of the printed material, and at least one side with a predetermined pre-Symbol prints A second marker is arranged at a position where it comes into contact. The print control function causes the printing unit to print a printed material based on print data in which the first marker and the second marker are arranged by the arrangement function. The random number generation function generates a random number. The position changing function selectively changes the position at which the second marker is arranged so as to be in contact with the at least one side with respect to the print data by the arrangement function according to the random number generated by the random number generation function. .

第1の実施形態におけるPOS端末の要部構成を示すブロック図。The block diagram which shows the principal part structure of the POS terminal in 1st Embodiment. 同実施形態における印刷ヘッドとレシート用紙との関係を示す図。The figure which shows the relationship between the print head and receipt paper in the embodiment. 同実施形態におけるレシートの印刷データの一例を示す図。FIG. 5 is a view showing an example of receipt print data according to the embodiment. 同実施形態におけるマーカ位置テーブルのデータ構造例を示す図。The figure which shows the data structure example of the marker position table in the embodiment. 同実施形態においてCPUが実行する処理のフローチャート。6 is a flowchart of processing executed by the CPU in the embodiment. 同実施形態において発行される複数枚のレシートを示す図。The figure which shows the several receipt issued in the same embodiment. 図6の各レシートをマーカが印刷された端部側の側方から見た図。The figure which looked at each receipt of FIG. 6 from the side by the side of the edge part in which the marker was printed. 第2の実施形態においてCPUが実行する処理のフローチャート。The flowchart of the process which CPU performs in 2nd Embodiment. 第3の実施形態におけるマーカ位置テーブルのデータ構造例を示す図。The figure which shows the data structure example of the marker position table in 3rd Embodiment. 同実施形態においてCPUが実行する処理のフローチャート。6 is a flowchart of processing executed by the CPU in the embodiment. 第4の実施形態におけるレシートの印刷データの一例を示す図。The figure which shows an example of the print data of the receipt in 4th Embodiment. 第5の実施形態におけるレシートの印刷データの一例を示す図。FIG. 10 is a diagram illustrating an example of receipt print data according to a fifth embodiment. 第6の実施形態における印刷ヘッドとレシート用紙との関係を示す図。The figure which shows the relationship between the print head and receipt paper in 6th Embodiment. 同実施形態におけるレシートの印刷データの一例を示す図。FIG. 5 is a view showing an example of receipt print data according to the embodiment.

以下、第1〜第6の実施形態について、図面を参照しながら説明する。
なお、以下の説明において同一の構成要素には同一の符号を付し、重複説明は必要な場合にのみ行う。
Hereinafter, first to sixth embodiments will be described with reference to the drawings.
In the following description, the same components are denoted by the same reference numerals, and redundant description will be given only when necessary.

(第1の実施形態)
第1の実施形態について説明する。この実施形態では、印刷装置の一例として、小売店等で会計処理に使用されるPOS端末1を例示する。
(First embodiment)
A first embodiment will be described. In this embodiment, as an example of a printing apparatus, a POS terminal 1 used for accounting processing in a retail store or the like is illustrated.

[要部構成]
図1は、POS端末1の要部構成を示すブロック図である。POS端末1は、CPU(Central Processing Unit)10、ROM(Read Only Memory)11、RAM(Random Access Memory)12、時計回路13(計時手段)、通信I/F(Interface)14、スキャナI/F15、キーボードコントローラ16、表示コントローラ17,18、カードリーダコントローラ19、プリンタコントローラ20、HDD(Hard Disk Drive)21、キーボード22、キャッシャ用表示器23、客用表示器24、カードリーダ25、およびレシートプリンタ26(印刷手段)を備えている。さらに、通信I/F14にLAN(Local Area Network)回線27が接続され、スキャナI/F15にバーコードスキャナ28が接続されている。
[Main part configuration]
FIG. 1 is a block diagram showing a main configuration of the POS terminal 1. The POS terminal 1 includes a CPU (Central Processing Unit) 10, a ROM (Read Only Memory) 11, a RAM (Random Access Memory) 12, a clock circuit 13 (clocking means), a communication I / F (Interface) 14, a scanner I / F 15 , Keyboard controller 16, display controllers 17, 18, card reader controller 19, printer controller 20, HDD (Hard Disk Drive) 21, keyboard 22, cashier display 23, customer display 24, card reader 25, and receipt printer 26 (printing means). Further, a LAN (Local Area Network) line 27 is connected to the communication I / F 14, and a barcode scanner 28 is connected to the scanner I / F 15.

ROM11、RAM12、時計回路13、通信I/F14、スキャナI/F15、キーボードコントローラ16、表示コントローラ17,18、カードリーダコントローラ19、プリンタコントローラ20、およびHDD21は、アドレスバスやデータバスにて構成されるバスライン30を介してCPU10に接続されている。   ROM 11, RAM 12, clock circuit 13, communication I / F 14, scanner I / F 15, keyboard controller 16, display controllers 17 and 18, card reader controller 19, printer controller 20, and HDD 21 are configured by an address bus and a data bus. Connected to the CPU 10 via a bus line 30.

ROM11は、CPU10が実行する動作プログラム等の固定的データを記憶している。なお、ROM11が記憶する動作プログラムには、レシート印刷の際に使用される乱数生成プログラム110が含まれる。   The ROM 11 stores fixed data such as an operation program executed by the CPU 10. Note that the operation program stored in the ROM 11 includes a random number generation program 110 used in receipt printing.

RAM12は、処理場面に応じた各種の作業用記憶領域を形成する。例えば、レシートを印刷する際には、レシートの印刷データを記憶するための印刷データエリア120を形成する。   The RAM 12 forms various working storage areas corresponding to processing scenes. For example, when printing a receipt, a print data area 120 for storing receipt print data is formed.

時計回路13は、POS端末1のシステム日時を計時する。通信I/F14は、LAN回線27の接続先である外部機器とのデータの送受信を制御する。前記外部機器は、例えば当該POS端末1が設置された店舗のストアサーバである。   The clock circuit 13 measures the system date and time of the POS terminal 1. The communication I / F 14 controls data transmission / reception with an external device to which the LAN line 27 is connected. The external device is, for example, a store server of a store where the POS terminal 1 is installed.

バーコードスキャナ28は、商品等に付されたバーコードを光学的に読み取り、バーコードが示すコードを出力する。スキャナI/F15は、バーコードスキャナ28から出力されるコードを取り込み、CPU10に通知する。   The barcode scanner 28 optically reads a barcode attached to a product or the like and outputs a code indicated by the barcode. The scanner I / F 15 takes in the code output from the barcode scanner 28 and notifies the CPU 10 of it.

キーボード22は、置数キー、PLU(Price Look Up)キー、小計キー、預り/現計キー等の各種操作キーを備え、押下げられた操作キーに応じたキー信号を出力する。キーボードコントローラ16は、キーボード22から出力されるキー信号を取り込んでCPU10に通知する。   The keyboard 22 includes various operation keys such as a numeric key, a PLU (Price Look Up) key, a subtotal key, and a deposit / current total key, and outputs a key signal corresponding to the pressed operation key. The keyboard controller 16 captures a key signal output from the keyboard 22 and notifies the CPU 10 of it.

キャッシャ用表示器23は、LCD(Liquid Crystal Display)と、このLCDの表示面上に設けられたタッチパネルとで構成され、その表示面がキャッシャの立ち位置側に向くようにPOS端末1の筐体に取り付けられている。表示コントローラ17は、CPU10からの指令に応じて各種の情報をキャッシャ用表示器23に表示させる。   The cashier display 23 is composed of an LCD (Liquid Crystal Display) and a touch panel provided on the display surface of the LCD, and the housing of the POS terminal 1 so that the display surface faces the standing position side of the cashier. Is attached. The display controller 17 displays various types of information on the cashier display 23 in accordance with commands from the CPU 10.

客用表示器24は、LCDあるいは簡易表示用のVFD(Vacuum Fluorescent Display)等によって構成され、その表示面が会計中の客の立ち位置側に向くようにPOS端末1の筐体に取り付けられている。表示コントローラ18は、CPU10からの指令に応じて各種の情報を客用表示器24に表示させる。   The customer display 24 is composed of an LCD or a simple display VFD (Vacuum Fluorescent Display) or the like, and is attached to the housing of the POS terminal 1 so that its display surface faces the standing position of the customer who is paying. Yes. The display controller 18 displays various types of information on the customer display 24 in accordance with instructions from the CPU 10.

カードリーダ25は、クレジットカードやポイントカード等の各種カードから情報を読み取る磁気カードリーダあるいはICカードリーダである。カードリーダコントローラ19は、カードリーダ25がカードから読み取った情報を取り込んでCPU10に通知する。   The card reader 25 is a magnetic card reader or an IC card reader that reads information from various cards such as a credit card and a point card. The card reader controller 19 captures information read from the card by the card reader 25 and notifies the CPU 10 of the information.

レシートプリンタ26は、レシート用紙に会計明細等を印刷してなるレシートを、POS端末1の筐体に設けられた図示せぬレシート発行口から発行するサーマルプリンタである。プリンタコントローラ20は、CPU10からの指令に応じてレシートプリンタ26を駆動し、RAM12の印刷データエリア120に記憶された印刷データに基づくレシートを発行させる。   The receipt printer 26 is a thermal printer that issues a receipt obtained by printing accounting details on a receipt sheet from a receipt issuing port (not shown) provided in the housing of the POS terminal 1. The printer controller 20 drives the receipt printer 26 in response to a command from the CPU 10 and issues a receipt based on the print data stored in the print data area 120 of the RAM 12.

HDD21は、OS(Operating System)ファイルやアプリケーションファイルに加え、PLUファイル211と、マーカ位置テーブル212とを記憶している。PLUファイル211は、商品の識別子であるPLUコードに、その商品の名称や単価等を含む商品データを対応つけてなるレコードを、当該店舗で扱う商品分だけ組み合わせて構成されている。マーカ位置テーブル212の詳細については、図4の説明にて後述する。   The HDD 21 stores a PLU file 211 and a marker position table 212 in addition to an OS (Operating System) file and application files. The PLU file 211 is configured by combining a record in which product data including the product name, unit price, and the like is associated with a PLU code, which is a product identifier, for the product handled in the store. Details of the marker position table 212 will be described later with reference to FIG.

[レシートプリンタおよびレシート]
図2は、レシートプリンタ26の印刷ヘッド261とレシート用紙263との関係を示す模式図である。印刷ヘッド261は、多数の発熱素子をライン状に配設してなる発熱素子群262を有している。レシート用紙263は、用紙ロールから供給される連続紙であり、図示せぬ搬送機構によって発熱素子群262の配列方向に垂直な搬送方向(図中矢印にて示す)に搬送される。この搬送に併せて各発熱素子を選択的に発熱させると感熱紙であるレシート用紙263が部分的に発色し、文字や図形等が印刷される。印刷が完了すると、図示せぬカッタ機構によってレシート用紙263の印刷部分が切り離される。
[Receipt printer and receipt]
FIG. 2 is a schematic diagram showing the relationship between the print head 261 of the receipt printer 26 and the receipt paper 263. The print head 261 has a heating element group 262 in which a number of heating elements are arranged in a line. The receipt paper 263 is continuous paper supplied from a paper roll, and is conveyed in a conveyance direction (indicated by an arrow in the drawing) perpendicular to the arrangement direction of the heating element groups 262 by a conveyance mechanism (not shown). When each heating element is selectively heated in conjunction with this conveyance, the receipt paper 263, which is thermal paper, partially develops color, and characters, figures, and the like are printed. When printing is completed, the printing portion of the receipt paper 263 is cut off by a cutter mechanism (not shown).

ここで、前記発熱素子群262の配列方向をX軸方向、レシート用紙263の搬送方向をY軸方向として定義する。本実施形態においては、発熱素子群262のX軸方向幅がレシート用紙263の同方向幅よりも長くなっている。したがって、レシート用紙263の全域に対して印刷が可能である。   Here, the arrangement direction of the heating element groups 262 is defined as the X-axis direction, and the conveyance direction of the receipt paper 263 is defined as the Y-axis direction. In the present embodiment, the X-axis direction width of the heating element group 262 is longer than the same width of the receipt paper 263. Therefore, printing can be performed on the entire area of the receipt paper 263.

このような構成のレシートプリンタ26によって印刷されるレシートの印刷データの一例を、図3に示している。図示した印刷データ300のX軸方向右側辺は印刷時においてレシート用紙263のX軸方向右側辺と一致し、印刷データ300のX軸方向左側辺は印刷時においてレシート用紙263のX軸方向左側辺と一致する。このような印刷データ300中に、会計の年月日(「XXX年XX月XX日」)、会計対象商品の商品名称および単価(「たばこ ¥XXX」等)、小計額(「小計 ¥XXXX」)、現計額(「現計 ¥XXXX」)、および会計の時刻(「XXX XX時 XX分」)等の会計明細を示す情報が配置されている。   An example of the print data of the receipt printed by the receipt printer 26 having such a configuration is shown in FIG. The right side of the print data 300 shown in the X-axis direction coincides with the right side of the receipt paper 263 in the X-axis direction during printing, and the left side of the print data 300 in the X-axis direction corresponds to the left side of the receipt paper 263 in the X-axis direction during printing. Matches. In such print data 300, the date of accounting (“XXX year XX month XX date”), the product name and unit price of the accounting target product (“cigarette ¥ XXX”, etc.), and the subtotal amount (“subtotal ¥ XXXX”) ), Current total amount (“current total ¥ XXXX”), and accounting time, such as accounting time (“XXX XX hours XX minutes”), are arranged.

これらの情報に加え、印刷データ300には、矩形かつ黒ベタのマーカMが1つ配置される。このマーカMは、印刷データ300のX軸方向右側辺に接するように定義された位置P1,P2,…P9のいずれかに配置される。位置P1は印刷データ300の右下角に位置決めされ、位置P9は右上角に位置決めされている。このように定義された位置P1,P9の間に、位置P2〜P8が等間隔で位置決めされている。   In addition to these pieces of information, the print data 300 includes one rectangular and solid black marker M. This marker M is arranged at any one of positions P1, P2,... P9 defined so as to be in contact with the right side of the print data 300 in the X-axis direction. The position P1 is positioned at the lower right corner of the print data 300, and the position P9 is positioned at the upper right corner. Between the positions P1 and P9 defined in this way, the positions P2 to P8 are positioned at equal intervals.

なお、各位置P1〜P9の間隔は、レシートの長さに応じて変化させればよい。すなわち、会計明細等を示す情報が配置され、レシートのY軸方向長さが決定すると、当該長さに基づいて隣り合うもの同士が等間隔となるように位置P2〜P8を位置決めする。   In addition, what is necessary is just to change the space | interval of each position P1-P9 according to the length of a receipt. That is, when information indicating accounting details and the like is arranged and the length of the receipt in the Y-axis direction is determined, the positions P2 to P8 are positioned so that adjacent ones are equally spaced based on the length.

ここで、マーカ位置テーブル212のデータ構造例を図4に示す。マーカ位置テーブル212は、一桁のナンバ「1」,「2」,…「9」に対し、位置「P1」,「P2」,…「P9」を対応付けて構成されている。マーカMの配置位置は、このようなデータ構造のマーカ位置テーブル212と、乱数生成プログラム110の実行によって得られる一桁の乱数とを用いて決定される。すなわち、マーカ位置テーブル212において、生成された乱数と同値のナンバに対応付けられた位置がマーカMの配置位置になる。   An example of the data structure of the marker position table 212 is shown in FIG. The marker position table 212 is configured by associating the positions “P1”, “P2”,... “P9” with the single-digit numbers “1”, “2”,. The arrangement position of the marker M is determined using the marker position table 212 having such a data structure and a single digit random number obtained by executing the random number generation program 110. That is, in the marker position table 212, the position associated with the number having the same value as the generated random number is the arrangement position of the marker M.

[会計処理]
次に、会計処理について説明する。
キーボード22が備えるPLUキーが押下げられると、CPU10は、ROM11に記憶された動作プログラムを実行して会計処理を開始する。会計処理においてCPU10が実行する処理のフローチャートを図5に示している。
[Accounting]
Next, accounting processing will be described.
When the PLU key provided on the keyboard 22 is pressed, the CPU 10 executes the operation program stored in the ROM 11 and starts the accounting process. FIG. 5 shows a flowchart of processing executed by the CPU 10 in accounting processing.

この処理において、先ずCPU10は、客が購入しようとする商品の登録を受け付ける(ステップS101)。このとき、キャッシャがバーコードスキャナ28を用いて商品に付されたバーコードを読み取ると、当該バーコードで示されるPLUコードがスキャナI/F15を介して入力される。PLUコードが入力されると、CPU10は、当該PLUコードに対応付けられた商品データをPLUファイル211から読み出し、RAM12に記憶する。このような流れの処理によって、客が購入しようとする各商品が登録される。   In this process, first, the CPU 10 accepts registration of a product that a customer intends to purchase (step S101). At this time, when the cashier reads the barcode attached to the product using the barcode scanner 28, the PLU code indicated by the barcode is input via the scanner I / F 15. When the PLU code is input, the CPU 10 reads the product data associated with the PLU code from the PLU file 211 and stores it in the RAM 12. Each product that the customer intends to purchase is registered by the process of this flow.

客が購入しようとする全ての商品を登録し終えると、キャッシャは、キーボード22に設けられた小計キーを押下げる。小計キーが押下げられると、CPU10は、RAM12に記憶された商品データを元に小計額および現計額を算出し、表示コントローラ17,18を介してキャッシャ用表示器23,客用表示器24に当該小計額および現計額を表示させるとともに、代金の支払を受け付ける(ステップS102)。このとき、キャッシャが客からの預り金額をキーボード22の置数キーを操作して入力し、預り/現計キーを押下げると、CPU10は、当該預り金額と代金との差額を釣銭額として算出し、当該預り金額および釣銭額等を表示コントローラ17,18を介してキャッシャ用表示器23,客用表示器24に表示させる。この表示を見てキャッシャが釣銭を客に返す。   When the customer finishes registering all the products to be purchased, the cashier depresses the subtotal key provided on the keyboard 22. When the subtotal key is pressed, the CPU 10 calculates the subtotal amount and the current total amount based on the product data stored in the RAM 12, and displays the cashier display 23 and the customer display 24 via the display controllers 17 and 18. To display the subtotal amount and the current total amount, and accept payment of the price (step S102). At this time, when the cashier inputs the deposit amount from the customer by operating the numeric keys of the keyboard 22 and depresses the deposit / cash key, the CPU 10 calculates the difference between the deposit amount and the price as a change amount. Then, the deposit amount and the change amount are displayed on the cashier display 23 and the customer display 24 via the display controllers 17 and 18. Looking at this display, the cashier returns the change to the customer.

預り/現計キーの押下げ時に、CPU10は、RAM12に記憶された商品データ、小計額、現計額、および時計回路13によって計時される年月日および日時を用いて会計明細等が配置されたレシートの印刷データを生成し、RAM12の印刷データエリア120に記憶する(ステップS103)。   When the deposit / current total key is pressed, the CPU 10 arranges the accounting details, etc. using the product data stored in the RAM 12, the subtotal amount, the current total amount, and the date and time measured by the clock circuit 13. The receipt print data is generated and stored in the print data area 120 of the RAM 12 (step S103).

その後、CPU10は、ROM11に記憶された乱数生成プログラム110を実行し、1桁の乱数を生成する(ステップS104)。そして、生成した乱数と同値のナンバをマーカ位置テーブル212から検索し、発見したナンバに対応付けられた位置をマーカMの配置位置として決定する(ステップS105)。   Thereafter, the CPU 10 executes the random number generation program 110 stored in the ROM 11 to generate a one-digit random number (step S104). Then, the number having the same value as the generated random number is searched from the marker position table 212, and the position associated with the found number is determined as the arrangement position of the marker M (step S105).

マーカMの配置位置を決定すると、CPU10は、印刷データエリア120に記憶した印刷データの当該決定した配置位置にマーカMを追加して、印刷データを完成させる(ステップS106)。かくして印刷データが完成すると、CPU10は、プリンタコントローラ20にレシートプリンタ26を駆動させ、印刷データエリア120に記憶された印刷データに基づいてレシートを印刷発行させる(ステップS107)。以上で一連の会計処理が終了する。   When the arrangement position of the marker M is determined, the CPU 10 adds the marker M to the determined arrangement position of the print data stored in the print data area 120 and completes the print data (step S106). When the print data is thus completed, the CPU 10 causes the printer controller 20 to drive the receipt printer 26, and prints and issues a receipt based on the print data stored in the print data area 120 (step S107). This completes a series of accounting processes.

なお、ステップS104の処理は乱数生成手段を構成し、ステップS105,S106の処理は、印刷物であるレシートの側辺にマーカMを付す位置を選択的に変更せしめる位置変更手段を構成する。   Note that the processing in step S104 constitutes a random number generation means, and the processing in steps S105 and S106 constitutes a position changing means for selectively changing the position where the marker M is attached to the side of the receipt that is a printed matter.

[作用]
作用について説明する。
図6は、別々の会計処理において発行される複数枚のレシートを示す模式図である。ここでは一例としてサイズが同一の8枚のレシート401,402,…408を図示している。レシート401,403,406は、乱数として「1」が生成され(ステップS104)、マーカ位置テーブル212中のナンバ「1」に対応付けられた位置「P1」がマーカMの配置位置として決定され(ステップS105)、印刷データエリア120に記憶された印刷データ中の位置P1にマーカMが追加され(ステップS106)、この印刷データに基づいて印刷されたものである(ステップS107)。レシート402,405,408は、乱数として「5」が生成され(ステップS104)、マーカ位置テーブル212中のナンバ「5」に対応付けられた位置「P5」がマーカMの配置位置として決定され(ステップS105)、印刷データエリア120に記憶された印刷データ中の位置P5にマーカMが追加され(ステップS106)、この印刷データに基づいて印刷されたものである(ステップS107)。レシート404,407は、乱数として「9」が生成され(ステップS104)、マーカ位置テーブル212中のナンバ「9」に対応付けられた位置「P9」がマーカMの配置位置として決定され(ステップS105)、印刷データエリア120に記憶された印刷データ中の位置P9にマーカMが追加され(ステップS106)、この印刷データに基づいて印刷されたものである(ステップS107)。
[Action]
The operation will be described.
FIG. 6 is a schematic diagram showing a plurality of receipts issued in separate accounting processes. Here, as an example, eight receipts 401, 402,... 408 having the same size are shown. In the receipts 401, 403, and 406, “1” is generated as a random number (step S104), and the position “P1” associated with the number “1” in the marker position table 212 is determined as the arrangement position of the marker M ( In step S105, a marker M is added to the position P1 in the print data stored in the print data area 120 (step S106), and printing is performed based on the print data (step S107). In the receipts 402, 405, and 408, “5” is generated as a random number (step S104), and the position “P5” associated with the number “5” in the marker position table 212 is determined as the arrangement position of the marker M ( In step S105, a marker M is added to the position P5 in the print data stored in the print data area 120 (step S106), and printing is performed based on the print data (step S107). In the receipts 404 and 407, “9” is generated as a random number (step S104), and the position “P9” associated with the number “9” in the marker position table 212 is determined as the arrangement position of the marker M (step S105). The marker M is added to the position P9 in the print data stored in the print data area 120 (step S106), and printing is performed based on the print data (step S107).

レシート401,402,403,404,405,406,407,408をこの順で重ね、マーカMが印刷された端部側の側方から見た際の模式図を図7に示している。このように、各レシート401〜408には乱数に基づいて位置決めされるマーカMが付されているので、この束の中に何枚のレシートがあるのか容易に判別できる。   FIG. 7 shows a schematic diagram when the receipts 401, 402, 403, 404, 405, 406, 407, and 408 are overlapped in this order and viewed from the side of the end portion side where the marker M is printed. In this way, since each of the receipts 401 to 408 is provided with the marker M that is positioned based on a random number, it is possible to easily determine how many receipts are in this bundle.

ここで、いずれかのレシートとその下方のレシートが互いに密着しており、上方のレシートを手に取った際にその裏面に下方のレシートが張り付いていたとする。このような場合であっても側方からマーカMを確認すれば、その印刷位置の違いから2枚のレシートが重なっていることに気付くことができる。   Here, it is assumed that one of the receipts and the lower receipt are in close contact with each other, and when the upper receipt is picked up, the lower receipt is attached to the back surface thereof. Even in such a case, if the marker M is confirmed from the side, it can be noticed that two receipts are overlapped due to the difference in the printing position.

また、特に本実施形態ではマーカMを矩形のベタ黒で印刷するため、いずれかのレシートに下方のレシートが密着していれば、上方のレシートの印刷面からは下方のレシートのマーカMが透けて見え易い。このように透けて見えるマーカMを確認することでも、2枚のレシートが重なっていることに気付くことができる。   Further, in particular, in the present embodiment, the marker M is printed in a rectangular solid black, so that if the lower receipt is in close contact with any receipt, the marker M of the lower receipt is transparent from the printing surface of the upper receipt. Easy to see. It can be noticed that two receipts are overlapped also by checking the marker M that is seen through.

(第2の実施形態)
第2の実施形態について説明する。
本実施形態は、レシートが印刷される度にカウント値を変更するカウンタを設け、乱数に代えてこのカウンタのカウント値を用いてマーカMの配置位置を変更する点で、第1の実施形態と異なる。
(Second Embodiment)
A second embodiment will be described.
This embodiment is different from the first embodiment in that a counter that changes the count value every time a receipt is printed is provided, and the arrangement position of the marker M is changed using the count value of this counter instead of a random number. Different.

本実施形態におけるRAM12には、「1」から「9」までの数値をカウントするためのカウンタエリアが生成される。このカウンタエリアは、例えばPOS端末1に電源が投入されてシステムが起動された直後に生成され、システムがシャットダウンされる際に消去される。   In the RAM 12 in the present embodiment, a counter area for counting numerical values from “1” to “9” is generated. This counter area is generated, for example, immediately after the POS terminal 1 is turned on and the system is started, and is deleted when the system is shut down.

本実施形態における会計処理にてCPU10が実行する処理のフローチャートを図8に示している。会計処理が開始されると、CPU10は、第1の実施形態と同様に商品の登録を受け付け(ステップS201)、代金の支払を受け付け(ステップS202)、会計明細等の情報を配置したレシートの印刷データを生成する(ステップS203)。   FIG. 8 shows a flowchart of processing executed by the CPU 10 in the accounting processing in this embodiment. When the accounting process is started, the CPU 10 accepts registration of a product (step S201), accepts payment of a price (step S202), and prints a receipt in which information such as accounting details is arranged, as in the first embodiment. Data is generated (step S203).

続いて、CPU10は、RAM12のカウンタを参照してそのカウント値を取得する(ステップS204)。そして、取得したカウント値と同値のナンバをマーカ位置テーブル212から検索し、発見したナンバに対応付けられた位置をマーカMの配置位置として決定する(ステップS205)。   Subsequently, the CPU 10 refers to the counter of the RAM 12 and acquires the count value (step S204). Then, the number having the same value as the acquired count value is searched from the marker position table 212, and the position associated with the found number is determined as the arrangement position of the marker M (step S205).

マーカMの配置位置を決定すると、CPU10は、印刷データエリア120に記憶した印刷データの当該決定した配置位置にマーカMを追加して、印刷データを完成させる(ステップS206)。かくして印刷データが完成すると、CPU10は、プリンタコントローラ20にレシートプリンタ26を駆動させ、印刷データエリア120に記憶された印刷データに基づいてレシートを印刷発行させる(ステップS207)。   When the arrangement position of the marker M is determined, the CPU 10 adds the marker M to the determined arrangement position of the print data stored in the print data area 120, thereby completing the print data (step S206). When the print data is thus completed, the CPU 10 causes the printer controller 20 to drive the receipt printer 26, and prints and issues a receipt based on the print data stored in the print data area 120 (step S207).

レシートプリンタ26がレシートを印刷発行した後、CPU10は、カウンタのカウント値を1つインクリメントする(ステップS208)。但し、カウンタのカウント値が「9」である場合には、カウント値を「1」に戻す。ステップS207の処理を以って一連の会計処理が終了する。
なお、ステップS205,S206の処理は、本実施形態における位置変更手段を構成する。
After the receipt printer 26 prints and issues the receipt, the CPU 10 increments the count value of the counter by one (step S208). However, when the count value of the counter is “9”, the count value is returned to “1”. A series of transaction processing is completed by the processing in step S207.
Note that the processes in steps S205 and S206 constitute position changing means in the present embodiment.

以上説明したように、本実施形態ではレシートが発行される度にカウンタのカウント値を変更し、そのカウント値に基づいてマーカMの配置位置を変更する。このようにした場合であっても、レシート毎にマーカMの配置位置が変更されるので、前記実施形態と同様の効果を奏する。   As described above, in this embodiment, the count value of the counter is changed every time a receipt is issued, and the arrangement position of the marker M is changed based on the count value. Even if it does in this way, since the arrangement position of the marker M is changed for every receipt, there exists an effect similar to the said embodiment.

(第3の実施形態)
次に、第3の実施形態について説明する。
本実施形態は、時計回路13によって計時される日時を用いてマーカMの配置位置を変更する点で、前記各実施形態と異なる。
(Third embodiment)
Next, a third embodiment will be described.
This embodiment is different from the above embodiments in that the arrangement position of the marker M is changed using the date and time counted by the clock circuit 13.

本実実施形態におけるマーカ位置テーブル212aのデータ構造例を図9に示している。マーカ位置テーブル212aは、日時に関する条件である「条件1」,「条件2」,…「条件9」に対し、位置「P1」,「P2」,…「P9」を対応付けて構成されている。各条件1〜9は、1つの日時に対して1つが成立するものであれば、例えば9分割された店舗の営業時間をそれぞれ示すものであってもよいし、店舗の異なる営業日をそれぞれ示すものであってもよい。   An example of the data structure of the marker position table 212a in the present embodiment is shown in FIG. The marker position table 212a is configured by associating positions “P1”, “P2”,... “P9” with “condition 1”, “condition 2”,. . Each of the conditions 1 to 9 may indicate, for example, the business hours of the store divided into nine parts as long as one is established for one date and time, or indicate different business days of the store. It may be a thing.

本実施形態における会計処理においてCPU10が実行する処理のフローチャートを図10に示している。会計処理が開始されると、CPU10は、前記各実施形態と同様に商品の登録を受け付け(ステップS301)、代金の支払を受け付け(ステップS302)、会計明細等の情報を配置したレシートの印刷データを生成する(ステップS303)。   FIG. 10 shows a flowchart of processing executed by the CPU 10 in the accounting processing in the present embodiment. When the accounting process is started, the CPU 10 accepts the registration of the product (step S301), accepts the payment of the price (step S302), and prints the receipt in which information such as accounting details is arranged, as in the above embodiments. Is generated (step S303).

続いて、CPU10は、時計回路13から現在の日時を取得する(ステップS304)。そして、取得した日時とマーカ位置テーブル212aの条件1〜条件9とを比較し、成立した条件に対応付けられた位置をマーカMの配置位置として決定する(ステップS305)。   Subsequently, the CPU 10 acquires the current date and time from the clock circuit 13 (step S304). Then, the acquired date and time are compared with the conditions 1 to 9 in the marker position table 212a, and the position associated with the established condition is determined as the arrangement position of the marker M (step S305).

マーカMの配置位置を決定すると、CPU10は、印刷データエリア120に記憶した印刷データの当該決定した配置位置にマーカMを追加して、印刷データを完成させる(ステップS306)。かくして印刷データが完成すると、CPU10は、プリンタコントローラ20にレシートプリンタ26を駆動させ、印刷データエリア120に記憶された印刷データに基づいてレシートを印刷発行させる(ステップS307)。以上で一連の会計処理が終了する。
なお、ステップS305,S306の処理は、本実施形態における位置変更手段を構成する。
When the arrangement position of the marker M is determined, the CPU 10 adds the marker M to the determined arrangement position of the print data stored in the print data area 120, thereby completing the print data (step S306). When the print data is thus completed, the CPU 10 causes the printer controller 20 to drive the receipt printer 26, and prints and issues a receipt based on the print data stored in the print data area 120 (step S307). This completes a series of accounting processes.
Note that the processes in steps S305 and S306 constitute position changing means in the present embodiment.

以上説明したように、本実施形態では時計回路13が計時する日時に応じてマーカMの配置位置を変更する。このようにした場合であっても、マーカMの配置位置が時刻毎あるいは日付毎に変更されるので、前記実施形態と同様の効果を奏する。   As described above, in the present embodiment, the arrangement position of the marker M is changed according to the date and time counted by the clock circuit 13. Even in this case, since the arrangement position of the marker M is changed for each time or each date, the same effect as the above embodiment can be obtained.

(第4の実施形態)
次に、第4の実施形態について説明する。
この実施形態は、マーカMに加えて配置位置が固定されたマーカM1,M2,M3をレシートに印刷する点で、前記各実施形態と異なる。
(Fourth embodiment)
Next, a fourth embodiment will be described.
This embodiment is different from the above embodiments in that the markers M1, M2, and M3 whose arrangement positions are fixed are printed on the receipt in addition to the marker M.

本実施形態において印刷されるレシートの印刷データの一例を、図11に示している。図示した印刷データ310には、図3に示した印刷データ300と同一の情報が配置されている。但し、印刷データ310の左上角,左下角,右上角には、位置が変動しないマーカM1,M2,M3がそれぞれ配置されている。位置P1は印刷データ310の右下角に位置決めされている。このように定義された位置P1とマーカM3の配置位置との間に、X軸方向右側辺と接するように位置P2〜P9が等間隔で位置決めされている。   An example of print data of a receipt printed in this embodiment is shown in FIG. In the illustrated print data 310, the same information as the print data 300 shown in FIG. 3 is arranged. However, markers M1, M2, and M3 whose positions do not change are arranged at the upper left corner, lower left corner, and upper right corner of the print data 310, respectively. The position P1 is positioned at the lower right corner of the print data 310. Between the position P1 defined in this way and the arrangement position of the marker M3, positions P2 to P9 are positioned at equal intervals so as to contact the right side in the X-axis direction.

会計処理においては、印刷データ310中の位置P1〜P9のうち、第1の実施形態のように乱数を用いて決定される位置、第2の実施形態のようにカウンタを用いて決定される位置、あるいは第3の実施形態のように日時を用いて決定される位置にマーカMが配置され、マーカM,M1,M2,M3が印刷されたレシートが発行される。   In the accounting process, of the positions P1 to P9 in the print data 310, a position determined using a random number as in the first embodiment, and a position determined using a counter as in the second embodiment. Alternatively, as in the third embodiment, the marker M is arranged at a position determined using the date and time, and a receipt on which the markers M, M1, M2, and M3 are printed is issued.

以上説明したように、本実施形態では配置位置が変動するマーカMに加え、配置位置が3隅に固定されたマーカM1,M2,M3がレシートに印刷される。このようにした場合であっても前記各実施形態と同様の効果を奏する。   As described above, in this embodiment, in addition to the marker M whose arrangement position varies, the markers M1, M2, and M3 whose arrangement positions are fixed at the three corners are printed on the receipt. Even if it does in this way, there exists an effect similar to each said embodiment.

加えて、POS端末1で発行されたレシートと他のPOS端末等で発行されたレシートとが密着している場合に、これらレシートをいずれの側方から見た場合であってもその重なりに気付くことができる。   In addition, when a receipt issued by the POS terminal 1 and a receipt issued by another POS terminal or the like are in close contact, the overlap is noticed regardless of which side the receipt is viewed from. be able to.

(第5の実施形態)
次に、第5の実施形態について説明する。
この実施形態は、レシートのX軸方向の両端部にマーカMを印刷する点で、前記各実施形態と異なる。
(Fifth embodiment)
Next, a fifth embodiment will be described.
This embodiment is different from the above embodiments in that the marker M is printed on both ends of the receipt in the X-axis direction.

本実施形態において印刷されるレシートの印刷データの一例を、図12に示している。図示した印刷データ320には、図3に示した印刷データ300と同一の情報が配置されている。但し、X軸方向の両端部において、それぞれ右側辺,左側辺と接するように位置P1,P2,…P9が定義されている。右側辺に接する位置P1〜P9のいずれかにはマーカMRが配置され、左側辺に接する位置P1〜P9のいずれかにはマーカMLが配置される。   An example of print data of a receipt printed in this embodiment is shown in FIG. In the illustrated print data 320, the same information as the print data 300 shown in FIG. 3 is arranged. However, positions P1, P2,... P9 are defined so as to be in contact with the right side and the left side at both ends in the X-axis direction. The marker MR is arranged at any one of the positions P1 to P9 in contact with the right side, and the marker ML is arranged at any of the positions P1 to P9 in contact with the left side.

本実施形態における会計処理は、第1の実施形態と同様の流れで進行する。但し、本実施形態における乱数生成プログラム110は、2桁の乱数を生成するように構成されている。したがって、ステップS104の処理において、CPU10は2桁の乱数を生成する。そして、ステップS105の処理において、CPU10は生成した乱数のいずれか1桁の値と同値のナンバをマーカ位置テーブル212から検索し、発見したナンバに対応付けられた位置をマーカMRの配置位置として決定する。さらに、生成した乱数の他の桁の値と同値のナンバをマーカ位置テーブル212から検索し、発見したナンバに対応付けられた位置をマーカMLの配置位置として決定する。   The accounting process in the present embodiment proceeds in the same flow as in the first embodiment. However, the random number generation program 110 in this embodiment is configured to generate a two-digit random number. Therefore, in the process of step S104, the CPU 10 generates a two-digit random number. In step S105, the CPU 10 searches the marker position table 212 for a number having the same value as any one digit of the generated random number, and determines the position associated with the found number as the marker MR placement position. To do. Further, a number having the same value as the value of the other digits of the generated random number is searched from the marker position table 212, and the position associated with the found number is determined as the arrangement position of the marker ML.

その後、ステップS106の処理において、CPU10は印刷データエリア120に記憶した印刷データの当該決定した配置位置にマーカMR,MLを追加して印刷データを完成させ、ステップS107の処理においてプリンタコントローラ20にレシートプリンタ26を駆動させ、印刷データエリア120に記憶された印刷データに基づいてレシートを印刷発行させる。   Thereafter, in the process of step S106, the CPU 10 completes the print data by adding the markers MR and ML to the determined arrangement position of the print data stored in the print data area 120, and receives the receipt in the printer controller 20 in the process of step S107. The printer 26 is driven to print and issue a receipt based on the print data stored in the print data area 120.

以上説明したように、本実施形態ではレシートのX軸方向の左右両端部に乱数によって位置を変更しつつマーカMR,MLを印刷する。このようにすれば、マーカMR,MLが印刷されたいずれの端部を側方から見た場合であっても複数枚のレシートの密着に気付くことができる。   As described above, in the present embodiment, the markers MR and ML are printed while changing the position with random numbers on the left and right ends in the X-axis direction of the receipt. By doing so, it is possible to notice the close contact of a plurality of receipts even when any end portion on which the markers MR and ML are printed is viewed from the side.

(第6の実施形態)
次に、第6の実施形態について説明する。
本実施形態は、レシートプリンタ26の発熱素子群262の幅がレシート用紙263の幅よりも短い点で、前記各実施形態と異なる。
(Sixth embodiment)
Next, a sixth embodiment will be described.
This embodiment is different from the above embodiments in that the width of the heating element group 262 of the receipt printer 26 is shorter than the width of the receipt paper 263.

図13は、本実施形態におけるレシートプリンタ26の印刷ヘッド261とレシート用紙263との関係を説明するための模式図である。既述の通り、本実施形態における発熱素子群262のX軸方向幅は、レシート用紙263の同方向幅よりも短い。したがって、マーカMをレシートのX軸方向の左側辺に接するようにも、右側辺に接するようにも印刷することができない。   FIG. 13 is a schematic diagram for explaining the relationship between the print head 261 of the receipt printer 26 and the receipt paper 263 in the present embodiment. As described above, the X-axis direction width of the heating element group 262 in the present embodiment is shorter than the same width of the receipt paper 263. Therefore, the marker M cannot be printed so as to contact the left side in the X-axis direction of the receipt or to contact the right side.

そこで、本実施形態では、印刷データのY軸方向の下辺に接するようにマーカMを配置するための位置P1〜P9を定義する。このように位置P1〜P9が定義された印刷データの一例を図14に示している。図示した印刷データ330には、図3に示した印刷データ300と同一の情報が配置されている。図中のY軸方向に付された2本の破線は発熱素子群262の幅を示すものである。位置P1はY軸方向の下辺および左方の破線と接するように位置決めされ、位置P9はY軸方向の下辺および右方の破線と接するように位置決めされている。このように定義された位置P1,P9の間に、それぞれY軸方向の下辺と接するように位置P2〜P8が等間隔で位置決めされている。また、通常、Y軸方向端部の幅はX軸方向端部の幅よりも短くなるため、マーカMの大きさを前記各実施形態に示したものより小さくしている。このような印刷データ330に基づいて印刷されるレシートは、Y軸方向の下辺に沿って前記カッタ機構によって切断される。したがって、レシートの下辺と接するようにマーカMが印刷された状態となる。   Therefore, in the present embodiment, positions P1 to P9 for defining the marker M so as to contact the lower side in the Y-axis direction of the print data are defined. An example of the print data in which the positions P1 to P9 are defined in this way is shown in FIG. In the illustrated print data 330, the same information as the print data 300 shown in FIG. 3 is arranged. Two broken lines attached in the Y-axis direction in the figure indicate the width of the heating element group 262. The position P1 is positioned so as to be in contact with the lower side in the Y-axis direction and the left dashed line, and the position P9 is positioned so as to be in contact with the lower side in the Y-axis direction and the right dashed line. Between the positions P1 and P9 defined in this way, positions P2 to P8 are positioned at equal intervals so as to be in contact with the lower side in the Y-axis direction. In addition, since the width of the end portion in the Y-axis direction is usually shorter than the width of the end portion in the X-axis direction, the size of the marker M is made smaller than those shown in the above embodiments. Receipts printed based on such print data 330 are cut by the cutter mechanism along the lower side in the Y-axis direction. Therefore, the marker M is printed in contact with the lower side of the receipt.

会計処理においては、印刷データ330中の位置P1〜P9のうち、第1の実施形態のように乱数を用いて決定される位置、第2の実施形態のようにカウンタを用いて決定される位置、あるいは第3の実施形態のように日時を用いて決定される位置にマーカMが配置され、このマーカMが印刷されたレシートが発行される。   In the accounting process, of the positions P1 to P9 in the print data 330, a position determined using a random number as in the first embodiment, and a position determined using a counter as in the second embodiment. Alternatively, as in the third embodiment, the marker M is arranged at a position determined using the date and time, and a receipt on which the marker M is printed is issued.

以上説明したように、本実施形態ではレシートのY軸方向の下辺と接するようにマーカMを印刷する。このようにしても、マーカMが印刷された端部を側方から見ることで複数枚のレシートの密着に気付くことができる。   As described above, in this embodiment, the marker M is printed so as to be in contact with the lower side of the receipt in the Y-axis direction. Even in this way, it is possible to notice the close contact of a plurality of receipts by looking at the end on which the marker M is printed from the side.

(変形例)
なお、前記各実施形態に開示された構成は、実施段階において各構成要素を適宜変形して具体化できる。具体的な変形例としては、例えば次のようなものがある。
(Modification)
Note that the configuration disclosed in each of the embodiments can be embodied by appropriately modifying each component in the implementation stage. Specific examples of modifications are as follows.

(1)前記各実施形態では、POS端末1から発行されるレシートにマーカを付す場合を例示した。しかしながら、前記各実施形態において開示した構成を変形して他種の装置に適用することができる。例えば、クレジットカードによる決済を処理する決済端末に前記各実施形態において開示した構成を適用してもよい。この場合にあっては、決済端末から決済の度に発行される店舗控え伝票、客用伝票、クレジット事業者用伝票のそれぞれにマーカを印刷してもよいし、いずれか1つあるいは2つの伝票にマーカを印刷してもよい。 (1) In each of the above embodiments, the case where a marker is attached to a receipt issued from the POS terminal 1 is exemplified. However, the configuration disclosed in each of the embodiments can be modified and applied to other types of apparatuses. For example, the configuration disclosed in each of the above embodiments may be applied to a payment terminal that processes payment by credit card. In this case, a marker may be printed on each of a store copy slip, a customer slip, and a credit carrier slip issued each time a settlement is made from the settlement terminal, or one or two slips. Markers may be printed on.

(2)第1の実施形態では乱数に応じてマーカの配置位置を変更させ、第2の実施形態ではレシートが発行される毎にマーカの配置位置を変更させ、第3の実施形態では日時に応じてマーカの配置位置を変更させる場合を例示した。しかしながら、マーカの配置位置は、他の条件に基づいて変更させてもよい。例えば、例えばレシートの発行数が予め定められた回数に達する毎にマーカの配置位置を変更させてもよいし、客が購入した商品数に応じてマーカの配置位置を変更させてもよい。あるいは小計額や現計額に応じてマーカの配置位置を変更させてもよい。 (2) In the first embodiment, the marker arrangement position is changed according to the random number. In the second embodiment, the marker arrangement position is changed every time a receipt is issued. In the third embodiment, the date and time are changed. The case where the arrangement position of the marker is changed accordingly is illustrated. However, the marker placement position may be changed based on other conditions. For example, the marker placement position may be changed every time the number of issued receipts reaches a predetermined number of times, or the marker placement position may be changed according to the number of products purchased by the customer. Alternatively, the marker arrangement position may be changed according to the subtotal amount or the current total amount.

(3)第5の実施形態では2つのマーカの配置位置を変更させる場合を例示し、他の実施形態では1つのマーカの配置位置を変更させる場合を例示した。しかしながら、より多数のマーカをその配置位置を変更させながら印刷してもよい。例えば、レシートの4辺それぞれと接する4つのマーカをその配置位置を変更させながら印刷してもよいし、いずれか1辺と接する複数のマーカをその配置位置を変更させながら印刷してもよい。 (3) In the fifth embodiment, the case where the arrangement position of two markers is changed is exemplified, and in the other embodiment, the case where the arrangement position of one marker is changed is exemplified. However, a larger number of markers may be printed while changing their arrangement positions. For example, four markers in contact with each of the four sides of the receipt may be printed while changing their arrangement positions, or a plurality of markers in contact with any one side may be printed while changing their arrangement positions.

(4)前記各実施形態では、位置P1〜P9の中でマーカの配置位置を変更する場合を例示した。しかしながら、より多数あるいは少数の位置の中でマーカの配置位置を変更してもよい。また、マーカの配置位置を隣り合う配置位置同士が一部重なるように定義してもよいし、位置P1〜P9のような配置位置を定義せずに所定の計算式を用いるなどして得られる位置にマーカを配置するようにしてもよい。 (4) In each of the above embodiments, the case where the marker arrangement position is changed among the positions P1 to P9 is exemplified. However, the marker arrangement position may be changed in a larger or smaller number of positions. Moreover, the arrangement positions of the markers may be defined so that the adjacent arrangement positions partially overlap each other, or obtained by using a predetermined calculation formula without defining the arrangement positions such as the positions P1 to P9. You may make it arrange | position a marker in a position.

(5)前記各実施形態では、矩形かつ黒ベタのマーカを印刷する場合を例示した。しかしながら、円形、星型、三角形その他の多角形のようにマーカの形状を変更してもよいし、マーカの内側を塗りつぶさずに縁取りのみしてもよい。 (5) In each of the above embodiments, the case of printing a rectangular and solid black marker has been exemplified. However, the shape of the marker may be changed like a circle, a star, a triangle, or other polygons, or only the border may be used without painting the inside of the marker.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
本願の出願当初の特許請求の範囲に記載された発明を、以下に付記する。
[1]少なくとも一辺と接するようにマーカが付された印刷物を印刷する印刷手段と、前記印刷物に前記マーカを付す位置を選択的に変更せしめる位置変更手段と、を備えていることを特徴とする印刷装置。
[2]乱数を生成する乱数生成手段をさらに備え、前記位置変更手段は、前記乱数生成手段によって生成された乱数に応じて前記マーカを付す位置を変更することを特徴とする上記[1]に記載の印刷装置。
[3]前記印刷手段によって前記印刷物が印刷される度にカウント値を変更するカウンタを備え、前記位置変更手段は、前記カウンタのカウント値に応じて前記マーカを付す位置を変更することを特徴とする上記[1]に記載の印刷装置。
[4]日時を計時する計時手段をさらに備え、前記位置変更手段は、前記計時手段によって計時される日時に応じて前記マーカを付す位置を変更することを特徴とする上記[1]に記載の印刷装置。
[5]前記印刷物には、少なくとも一辺と接する複数のマーカが付され、前記位置変更手段は、前記複数のマーカの全て又はいずれかを前記印刷物に付す位置を選択的に変更せしめることを特徴とする上記[1]に記載の印刷装置。
[6]印刷物を印刷する印刷部を備えた印刷装置の制御プログラムであって、前記印刷装置に、所定の情報を配置した印刷データを生成する生成機能と、前記生成機能によって生成された印刷データに対し、少なくとも前記印刷物の一辺と接する位置にマーカを配置する配置機能と、前記配置機能によって前記マーカが配置された印刷データに基づいて前記印刷部に印刷物を印刷させる印刷制御機能と、前記配置機能によって前記印刷データに対し前記マーカを配置する位置を選択的に変更せしめる位置変更機能と、を実現させるための制御プログラム。
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.
The invention described in the scope of claims at the beginning of the filing of the present application is appended below.
[1] A printing unit that prints a printed material with a marker so as to contact at least one side, and a position changing unit that selectively changes a position where the marker is attached to the printed material. Printing device.
[2] The above [1], further comprising random number generating means for generating a random number, wherein the position changing means changes the position to which the marker is attached according to the random number generated by the random number generating means. The printing apparatus as described.
[3] A counter that changes a count value each time the printed matter is printed by the printing unit, and the position changing unit changes a position to which the marker is attached according to the count value of the counter. The printing apparatus according to [1] above.
[4] The above-mentioned [1], further comprising time measuring means for measuring the date and time, wherein the position changing means changes the position to which the marker is attached according to the date and time counted by the time measuring means. Printing device.
[5] The printed matter is provided with a plurality of markers in contact with at least one side, and the position changing unit selectively changes a position where all or one of the plurality of markers is attached to the printed matter. The printing apparatus according to [1] above.
[6] A control program for a printing apparatus including a printing unit that prints a printed matter, the generation function for generating print data in which predetermined information is arranged in the printing apparatus, and the print data generated by the generation function In contrast, an arrangement function that arranges a marker at least at a position in contact with one side of the printed material, a print control function that causes the printing unit to print the printed material based on print data in which the marker is arranged by the arrangement function, and the arrangement A control program for realizing a position changing function for selectively changing a position where the marker is arranged with respect to the print data by a function.

M…マーカ、1…POS端末、10…CPU、11…ROM、12…RAM、13…時計回路、26…レシートプリンタ、110…乱数生成プログラム、120…印刷データエリア、212,212a…マーカ位置テーブル、261…印刷ヘッド、262…発熱素子群、263…レシート用紙、401〜408…レシート   M ... marker, 1 ... POS terminal, 10 ... CPU, 11 ... ROM, 12 ... RAM, 13 ... clock circuit, 26 ... receipt printer, 110 ... random number generation program, 120 ... print data area, 212, 212a ... marker position table 261, print head, 262, heating element group, 263, receipt paper, 401 to 408, receipt.

Claims (6)

予め定められた少なくとも一隅に第1のマーカが付され、予め定められた少なくとも一辺と接するように第2のマーカが付された印刷物を印刷する印刷手段と、
乱数を生成する乱数生成手段と、
前記印刷物の前記少なくとも一辺と接するように前記第2のマーカを付す位置を、前記乱数生成手段によって生成された乱数に応じて選択的に変更する位置変更手段と、
を備えていることを特徴とする印刷装置。
A printing unit that prints a printed matter with a first marker attached to at least one predetermined corner and a second marker so as to be in contact with at least one predetermined side;
Random number generating means for generating a random number;
A position changing means for selectively changing the position to attach the second marker so as to contact the at least one side of the printed matter according to the random number generated by the random number generating means;
A printing apparatus comprising:
前記印刷手段は、前記印刷物の予め定められた三隅に前記第1のマーカを付すことを特徴とする請求項1に記載の印刷装置。 The printing apparatus according to claim 1, wherein the printing unit attaches the first marker to three predetermined corners of the printed matter. 前記位置変更手段は、前記印刷物において前記第1のマーカが付されていない隅を一端部とする予め定められた一辺と接する範囲内で前記第2のマーカを付す位置を変更することを特徴とする請求項2に記載の印刷装置。 The position changing means changes the position to which the second marker is attached within a range in contact with a predetermined side having one end as a corner where the first marker is not attached in the printed matter. The printing apparatus according to claim 2. 前記位置変更手段は、前記印刷物において前記第1のマーカが付されていない隅を一端部とする予め定められた一辺と接する範囲内で等間隔に定められた複数の位置の間で、前記第2のマーカを付す位置を変更することを特徴とする請求項3に記載の印刷装置。 In the printed matter, the position changing means includes a plurality of positions determined at equal intervals within a range in contact with a predetermined side having one end as a corner where the first marker is not attached. The printing apparatus according to claim 3, wherein the position to which the two markers are attached is changed. 商品の識別子を入力する入力手段と、
前記入力手段により入力された識別子に対応する商品の代金の支払い処理を実行する支払い処理手段と、
をさらに備え、
前記印刷手段が印刷する印刷物は、前記支払い処理手段が代金の支払い処理を実行した商品に関する情報を含むレシートであることを特徴とする請求項1乃至4のうちいずれか1に記載の印刷装置。
An input means for inputting a product identifier;
Payment processing means for executing payment processing of the price of the product corresponding to the identifier input by the input means;
Further comprising
5. The printing apparatus according to claim 1, wherein the printed matter printed by the printing unit is a receipt including information on a product for which the payment processing unit has executed a payment process.
印刷物を印刷する印刷部を備えた印刷装置の制御プログラムであって、
前記印刷装置に、
所定の情報を配置した印刷データを生成する生成機能と、
前記生成機能によって生成された印刷データに対し、前記印刷物の予め定められた少なくとも一隅に相当する位置に第1のマーカを配置し、前記印刷物の予め定められた少なくとも一辺と接する位置に第2のマーカを配置する配置機能と、
前記配置機能によって前記第1のマーカおよび前記第2のマーカが配置された印刷データに基づいて前記印刷部に印刷物を印刷させる印刷制御機能と、
乱数を生成する乱数生成機能と、
前記配置機能によって前記印刷データに対し前記少なくとも一辺と接するように前記第2のマーカを配置する位置を、前記乱数生成機能によって生成された乱数に応じて選択的に変更する位置変更機能と、
を実現させるための制御プログラム。
A control program for a printing apparatus having a printing unit for printing a printed material,
In the printing device,
A generation function for generating print data in which predetermined information is arranged;
To print data generated by the generating function, a first marker disposed at a predetermined at least one corner corresponding to the position of the printed material, second to a position in contact with the front Symbol predetermined at least one side of the printed matter A placement function to place the markers,
A print control function that causes the printing unit to print a printed material based on print data in which the first marker and the second marker are arranged by the arrangement function;
A random number generation function for generating random numbers;
A position changing function for selectively changing the position at which the second marker is arranged so as to be in contact with the at least one side of the print data by the arrangement function according to the random number generated by the random number generating function;
Control program to realize.
JP2010159105A 2010-07-13 2010-07-13 Printing apparatus and control program therefor Expired - Fee Related JP5194069B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010159105A JP5194069B2 (en) 2010-07-13 2010-07-13 Printing apparatus and control program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010159105A JP5194069B2 (en) 2010-07-13 2010-07-13 Printing apparatus and control program therefor

Publications (2)

Publication Number Publication Date
JP2012020454A JP2012020454A (en) 2012-02-02
JP5194069B2 true JP5194069B2 (en) 2013-05-08

Family

ID=45775132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010159105A Expired - Fee Related JP5194069B2 (en) 2010-07-13 2010-07-13 Printing apparatus and control program therefor

Country Status (1)

Country Link
JP (1) JP5194069B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0698127A (en) * 1992-09-14 1994-04-08 Ricoh Co Ltd Facsimile equipment
JP2002190943A (en) * 2000-12-22 2002-07-05 Tdk Corp Method and device for outputting picture
JP2004202852A (en) * 2002-12-25 2004-07-22 Canon Software Inc Image output apparatus, image output method, program, and recording medium
JP4525770B2 (en) * 2008-02-18 2010-08-18 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus
JP5247242B2 (en) * 2008-05-26 2013-07-24 キヤノン株式会社 PRINT CONTROL DEVICE, CONTROL METHOD AND CONTROL PROGRAM FOR PRINT CONTROL DEVICE

Also Published As

Publication number Publication date
JP2012020454A (en) 2012-02-02

Similar Documents

Publication Publication Date Title
JP5473153B2 (en) Payment processing apparatus, payment processing program, and payment processing system
JP5601410B2 (en) Self-checkout device
JP2008027313A (en) Pos register
JP6329111B2 (en) Product data processing apparatus and program
JP5194069B2 (en) Printing apparatus and control program therefor
JP5371913B2 (en) Merchandise sales data processing apparatus and control program
JP5903776B2 (en) Checkout system
JP5953791B2 (en) POS system and computer program
JP5372058B2 (en) Payment processing apparatus, program, and payment processing system
JP6600039B2 (en) Product data processing apparatus, program, product data processing method and system
JP2012022471A (en) Commodity sales data processor and control program thereof
JP6984857B2 (en) Product data processing equipment and programs
US20190188748A1 (en) Product registration device and product registration method
JP6213598B2 (en) Checkout system and program
JP6329108B2 (en) Display device and information processing device
JP2018120625A (en) Display and information processor
JP2016164815A (en) Pos system
JP5531499B2 (en) Sales data registration device
JP2010204774A (en) Merchandise sales data processing device
JP2014132405A (en) Merchandise sales data processing apparatus and program
JP2011054126A (en) Article sales data processing device and control program therefor
JP6373214B2 (en) Merchandise sales data processing apparatus and control program thereof
JP6048611B2 (en) POS system and program
JP2021149864A (en) Print control device and program
JP2014170303A (en) Commodity sales data registration processor and commodity sales data registration processing program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121009

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130204

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160208

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees