JPH0371392A - Printing device - Google Patents

Printing device

Info

Publication number
JPH0371392A
JPH0371392A JP20696089A JP20696089A JPH0371392A JP H0371392 A JPH0371392 A JP H0371392A JP 20696089 A JP20696089 A JP 20696089A JP 20696089 A JP20696089 A JP 20696089A JP H0371392 A JPH0371392 A JP H0371392A
Authority
JP
Japan
Prior art keywords
line
printing
printed
authentication
item
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
JP20696089A
Other languages
Japanese (ja)
Inventor
Toru Ikeda
亨 池田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP20696089A priority Critical patent/JPH0371392A/en
Publication of JPH0371392A publication Critical patent/JPH0371392A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野コ この発明は、入力されたアイテムデータをアイテム単位
で改行しながらリアルタイムで印字していく印字装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a printing device that prints input item data in real time while adding line breaks for each item.

[従来の技術] 従来、電子レジスタ等において、入力されたー取引分の
売上データをアイテム毎に改行しながら、入力順にリア
ルタイムで認証印字していくことにより、−登録の締め
指示とほぼ同時に認証印字を完了させ、処理の迅速化を
図ったものが知られている。
[Conventional technology] Conventionally, in electronic registers, etc., the input sales data for each transaction is printed on a new line for each item, and the authentication is printed in real time in the order in which it is input. This allows authentication to be performed almost simultaneously with the instruction to close the registration. There are known devices that complete printing and speed up processing.

この場合、認証伝票としては、一般に、店舗独自の所定
サイズのものが使用されている。
In this case, the authentication slip is generally a predetermined size unique to the store.

[発明が解決しようとする課題] このように、認証伝票のサイズが規格化されているため
、−取引分のアイテム数が多く認証伝票の最大印字行数
を越えてしまう場合があり、この場合には、認証伝票の
裏側に印字したり、2枚の認証伝票に分散して印字しな
ければならず、サービス低下を招いていた。
[Problem to be solved by the invention] As described above, since the size of the authentication slip is standardized, the number of items for a transaction may exceed the maximum number of lines printed on the authentication slip. In this case, the information had to be printed on the back side of the authentication slip or printed on two authentication slips, leading to a decline in service.

これは、1行当たり1アイテムず−)印字するという伝
票フォーマットの原則を守るため、1アイテム毎に改行
しながら印字していくこととしている関係で、認証伝票
のフィード方向が固定されており、例え、認証伝票のサ
イズが1行に複数アイテム分を印字できるサイズであっ
ても、−旦印字終了した行に戻れないことに起因する。
This is because in order to adhere to the principle of the slip format that one item is printed per line, each item is printed with a new line, so the feed direction of the authentication slip is fixed. This is due to the fact that even if the size of the authentication slip is such that multiple items can be printed on one line, it is not possible to return to the line where printing has been completed.

してみれば、認証伝票のフィード方向を正逆自在に制御
できれば、入力されたー取引分の売上データをアイテム
毎に改行しながら、入力順にリアルタイムで認証印字し
ていったとしても、1行に複数アイテム分を印字できる
ことは明らかである。
If you can control the feed direction of the authentication slip in the forward or reverse direction, even if you print the sales data for each input transaction on a new line for each item and print the authentication slip in real time in the order in which it was input, it will only take one line. It is clear that multiple items can be printed.

この発明の課題は、入力されたアイテムデータをアイテ
ム単位で改行しながらリアルタイムで印字していく印字
装置において、印字可能行数を越える数のアイテムデー
タが入力された際に、印字用紙のフィード方向を正逆自
在に制御して、1行に複数アイテム分を印字できるよう
にすることである。
The problem with this invention is that in a printing device that prints input item data in real time while adding line breaks for each item, when the number of item data exceeds the number of printable lines is input, the feed direction of the printing paper is The purpose of this invention is to enable printing of a plurality of items on one line by freely controlling the forward and reverse directions.

[課題を解決するための手段] この発明の手段は次の通りである。[Means to solve the problem] The means of this invention are as follows.

この印字装置は、入力されたアイテムデータをアイテム
単位で改行しながらリアルタイムで印字していくもので
あり、 フィート手段a(第1図の機能ブロック図を参照、以下
同じ)は、印字用紙を正逆自在にフィードする。
This printing device prints the input item data in real time while starting a new line for each item, and the foot means a (see the functional block diagram in Figure 1, the same applies hereinafter) prints the printing paper correctly. Feed in reverse.

判別手段すは、アイテムデータが入力された際、印字用
紙上の印字対象行が当該印字用紙の最終行を越えている
か否かを判断する。
The determining means determines whether or not the line to be printed on the printing paper exceeds the last line of the printing paper when the item data is input.

印字制御手段Cは、判別手段すにより最終行を越えてい
ると判別されたときは、フィード手段aにより印字用紙
を逆方向にフィードすると共に改列して入力に係るアイ
テムデータを印字する。
When it is determined by the determining means that the last line has been exceeded, the printing control means C feeds the printing paper in the reverse direction using the feeding means a, rearranges the line, and prints the input item data.

[作用コ この発明の手段の作用は次の通りである。[Action Co. The operation of the means of this invention is as follows.

入力されたアイテムデータをアイテム単位で改行しなが
らリアルタイムで印字していく過程において、判別手段
すは、アイテムデータが入力されると、印字用紙上の次
の印字対象行が当該印字用紙の最終行を越えたか否かを
判断する。
In the process of printing input item data in real time with line breaks for each item, the determining means determines whether, when item data is input, the next line to be printed on the printing paper is the last line of the printing paper. Determine whether the limit has been exceeded.

そして、この判別手段すにより最終行を越えたと判別さ
れたときは、印字制御手段Cは、例えば、1行目を次の
印字対象行とすべく、フィード手段aにより、それまで
とは逆方向に印字用紙をフィードさせると共に、改列を
行って入力に係るアイテムデータを印字する。
When it is determined by this determining means that the last line has been exceeded, the printing control means C, for example, causes the feed means a to move in the opposite direction from the previous line so that the first line is the next line to be printed. The printer feeds the printing paper, rearranges the rows, and prints the input item data.

従って、入力されたアイテムデータをアイテム単位で改
行しながらリアルタイムで印字していく印字装置におい
て、印字可能行数を越える数のアイテムデータが入力さ
れた際に、印字用紙のフィード方向を正逆自在に制御し
て、1行に複数アイテム分を印字できる。
Therefore, in a printing device that prints input item data in real time with line breaks for each item, when the number of item data exceeding the number of printable lines is input, the feeding direction of the printing paper can be freely changed in the forward or reverse direction. Multiple items can be printed on one line by controlling the

[実施例コ 以下、一実施例を第2図ないし第4図を参照しながら説
明する。
[Example 1] An example will be described below with reference to FIGS. 2 to 4.

第2図は、印字装置を搭載した電子レジスタのブロック
構成図であり、CPU 1 、キー入力部2、ROM3
、RAM4 、表示部5、R/J印字部6、スリップ印
字部7、及びドロア8を有しており、スリップ印字部7
は、認証伝票を正方向(排出方向)、逆方向(吸入方向
)のいずれの方向にもフィードできる構成となっている
FIG. 2 is a block diagram of an electronic register equipped with a printing device.
, a RAM 4, a display section 5, an R/J printing section 6, a slip printing section 7, and a drawer 8.
is configured so that the authentication slip can be fed in either the forward direction (discharge direction) or the reverse direction (intake direction).

CPUIは、キー入力部2から入力された売上データを
、ROM3にプリセットされたプログラムに従って各種
累計処理し、その累計処理結果等をRAM4に格納、表
示部5に表示、R/J印字部6にてレシート印字する、
あるいはスリップ印字部7にて認証印字する等の一連の
登録処理等を制御する。
The CPU performs various cumulative processing on the sales data input from the key input section 2 according to a program preset in the ROM 3, stores the cumulative processing results in the RAM 4, displays them on the display section 5, and displays them on the R/J printing section 6. to print the receipt.
Alternatively, it controls a series of registration processes such as authentication printing in the slip printing unit 7.

なお、レシート印字と認証印字は共に、入力データに基
づいて交互にリアルタイムに実行される。
Note that both receipt printing and authentication printing are performed alternately in real time based on input data.

この際、レシート印字、および認証印字は、1アイテム
毎に改行しながら実行されるが、認証印字は、−取引分
のデータを認証伝票上の1列に印字しきれないときは、
2列に印字される。すなわち、認証伝票の最大行数をこ
える場合は、認証伝票を逆方向にフィードして1行目に
戻り、改列されて1行当たり2アイテム分ずつ印字され
る。
At this time, receipt printing and authentication printing are executed with a new line for each item, but authentication printing is performed as follows: - When the transaction data cannot be printed in one column on the authentication slip,
Printed in two columns. That is, if the maximum number of lines on the authentication slip is exceeded, the authentication slip is fed in the opposite direction to return to the first line, rearranged, and two items per line are printed.

キー入力部2は、設定(P)、登録(R)、電源オフ(
○FF) 、点検(X)、精算(Z)の各モードを切替
設定するモード切替スイッチSW、売上個数、PLUN
Q等を置数入力する置数キー2aの他に、置数キー2a
にて入力された数値がPLUNQである旨を示すPLU
Nαキー2b、ドロア8の開放、−取引きの締め処理等
を指示する現金/預りキー2C等の各種ファンクション
キーを有している。
The key input section 2 has settings (P), registration (R), power off (
○FF), mode changeover switch SW to change and set each mode of inspection (X), settlement (Z), sales quantity, PLUN
In addition to the numeric key 2a for entering numbers such as Q, the numeric key 2a
PLU indicating that the numerical value input in is PLUNQ
It has various function keys such as an Nα key 2b, a cash/deposit key 2C for instructing opening of the drawer 8, - transaction closing process, etc.

RAM4には、PLU商品別に売上データを累計記憶す
るPLU別メモリMl、上記のような認証印字を実行す
るためのフォーマット情報を記憶するフォーマットメモ
リM2、およびワークメモリM3が形成されている。
The RAM 4 includes a PLU-specific memory M1 that stores cumulative sales data for each PLU product, a format memory M2 that stores format information for executing authentication printing as described above, and a work memory M3.

PLU別メ全メモ9M1各PLUNQと対応して商品名
、単価ご売上個数、売上金額を記憶する。
All memos by PLU 9M1 The product name, unit price, number of units sold, and sales amount are stored in correspondence with each PLUNQ.

このうち、PLUNQ、商品名、単価は、設定モードの
下でプリセットされ、売上個数、売上金額は登録モード
の下で売上データの入力に基づいて更新される。
Among these, PLUNQ, product name, and unit price are preset in the setting mode, and the number of sold items and sales amount are updated based on the input of sales data in the registration mode.

フォーマットメモリM2は、認証伝票の最大印字可能行
数と、1列目のアイテムに対する先頭桁位置と、2列目
のアイテムに対する先頭桁位置とを記憶する。
The format memory M2 stores the maximum printable number of lines of the authentication slip, the leading digit position for the item in the first column, and the leading digit position for the item in the second column.

ワークメモリM3には、認証伝票の現在の印字対象行を
記憶するカウンタC12列目フラグF、および伝票印字
バッファBuが形成されている。
The work memory M3 is formed with a flag F for the 12th column of the counter C for storing the current line to be printed on the authentication slip, and a slip print buffer Bu.

なお、−取引分の全ての処理が終了する毎に、カウンタ
Cには″1 ”が初期セットされ、2列目フラグFはリ
セットされる。また、伝票印字バッファBuには、1ア
イテム分の認証印字データが一時的に記憶される。
It should be noted that each time all the processing for the - transaction is completed, the counter C is initially set to "1" and the second column flag F is reset. Further, authentication print data for one item is temporarily stored in the slip print buffer Bu.

次に、登録処理を第3図および第4図を参照しながら説
明する。
Next, the registration process will be explained with reference to FIGS. 3 and 4.

登録モードの下で1アイテム分の売上データ(PLUN
Q、個数等)が入力されると、CPUIは、その入力デ
ータに基づいてPLU別メモリMl内の対応商品の売上
個数、売上金額を更新しく第3図ステップS1)、入力
されたPLUN(lに対応する商品名と単価をPLU別
メ全メモ9M1読出し、伝票印字バッファBuに格納す
る(ステップS2)、そして、R/J印字部6にて領収
印字、ジャーナル印字を行う(ステップS3)。
Sales data for one item (PLUN) under registration mode
When the input PLUN (Q, quantity, etc.) is input, the CPU updates the sales quantity and sales amount of the corresponding product in the PLU-specific memory Ml based on the input data. The corresponding product name and unit price are read out from the entire memo 9M1 by PLU and stored in the slip print buffer Bu (step S2), and receipt printing and journal printing are performed in the R/J printing section 6 (step S3).

次に、2列目フラグFがセットされているか否かを判断
する(ステップS4)、その結果、2列目フラグFがリ
セット状態であれば、フォーマットメモリM2に記憶さ
れた1列目のアイテムに対する先頭桁位置に印字ヘッド
(図示省略)をシフトし、その先頭桁位置から伝票印字
バッファBu内の商品名と単価とを印刷する(ステップ
S5)。
Next, it is determined whether or not the second column flag F is set (step S4). As a result, if the second column flag F is in the reset state, the first column item stored in the format memory M2 The print head (not shown) is shifted to the first digit position, and the product name and unit price in the slip print buffer Bu are printed from the first digit position (step S5).

この際の印字行は、後述の説明から明らかなように、カ
ウンタC内の行番号に対応している。
The printed line at this time corresponds to the line number in the counter C, as will be clear from the explanation below.

一方、2列目フラグFがセット状態であれば、フォーマ
ットメモリM2に記憶された2列目のアイテムに対する
先頭桁位置に印字ヘッドをシフトし、その先頭桁位置か
ら伝票印字バッファBu内の商品名と単価とを印字する
(ステップS6:第4図参照)。
On the other hand, if the second column flag F is set, the print head is shifted to the first digit position for the second column item stored in the format memory M2, and from that first digit position, the product name in the slip print buffer Bu is and the unit price (step S6: see FIG. 4).

次に、カウンタC内の行番号をプラス1しくステップS
7)、そのプラス1した内容が、フォーマットメモリM
2内の最大印字可能行数を越えているか否かを判断する
(ステップS8〉、その結果、越えているときは、カウ
ンタC内の行番号を1”に戻すと共に、2列目フラグF
をセットする(ステップS9)、そして、認証伝票を逆
方向にフィード′して、1行目が次の印字対象行となる
ようにする〈ステップ5IO)。
Next, step S increments the line number in counter C by 1.
7), the contents plus 1 are the format memory M
It is determined whether or not the maximum number of lines that can be printed in 2 is exceeded (step S8). If the line number is exceeded, the line number in the counter C is returned to 1", and the second column flag F is set.
is set (step S9), and the authentication slip is fed in the opposite direction so that the first line becomes the next line to be printed (step 5IO).

一方、最大印字可能行数を越えていないときは、認証伝
票を正方向に1行分フィードして、次行が次の印字対象
行となるようにする(ステップ511)。
On the other hand, if the maximum number of printable lines has not been exceeded, the authentication slip is fed one line in the forward direction so that the next line becomes the next line to be printed (step 511).

このようにして、認証伝票をフィードした後、伝票印字
バッファBuの内容をクリアして(ステップ512)、
終了する。
After feeding the authentication slip in this way, the contents of the slip print buffer Bu are cleared (step 512),
finish.

こうして、−取引分の認証印字データを認証伝票の1列
目に印字しきれないときに限って、認証伝票を逆方向に
フィードして印字対象行を1行目に戻し、2列目に残り
のアイテムを印字していくので、1行当たり1アイテム
ずつ印字するという伝票フォーマットの原則を極力崩さ
ずに、1枚の認証伝票の1面に一取引分の認証印字デー
タをより多く印字できるようになる。また、上述のよう
に、売上データの登録処理と認証印字が交互に実行され
るので、−取引の締め指示とはぼ同時に認証印字が完了
する。
In this way, only when the authentication print data for a transaction cannot be printed in the first column of the authentication slip, the authentication slip is fed in the opposite direction to return the line to be printed to the first line, and the remaining lines are left in the second column. items are printed, so it is possible to print as much authentication print data for one transaction on one side of one authentication slip without breaking the principle of the slip format of printing one item per line as much as possible. become. Further, as described above, since the sales data registration process and the authentication printing are executed alternately, the authentication printing is completed almost simultaneously with the transaction closing instruction.

なお、2列目に認証印字を行うときは、上述の実施例の
ように、直ちに1行目に戻ることなく、最終行から順次
1行目に戻っていくことも可能である。また、最大印字
可能行数を越えか否かの判断は、用紙の有無、所定マー
ク等を光学的に検出することにより行っても良い。
Note that when performing authentication printing on the second column, it is also possible to sequentially return to the first line from the last line without immediately returning to the first line as in the above embodiment. Further, the determination as to whether the maximum number of printable lines has been exceeded may be made by optically detecting the presence or absence of paper, predetermined marks, etc.

[発明の効果] この発明によれば、入力されたアイテムデータをアイテ
ム単位で改行しながらリアルタイムで印字していく印字
装置において、印字可能行数を越える数のアイテムデー
タが入力された際番こ、印字用紙のフィード方向を正逆
自在に制御して、1行に複数アイテム分を印字できるの
で、1行当たり1アイテムずつ印字するという印字フォ
ーマットの原則を極力崩さずに、1枚の規定の印字用紙
の1面に1グル一プ分のアイテムデータをより多く印字
できるようになる。
[Effects of the Invention] According to the present invention, in a printing device that prints input item data in real time with line breaks for each item, when item data exceeding the number of printable lines is input, , the feeding direction of the printing paper can be freely controlled in the forward and reverse directions, allowing multiple items to be printed on one line. More item data for one group can be printed on one side of printing paper.

【図面の簡単な説明】[Brief explanation of drawings]

第1図はこの発明の機能ブロック図、第2図は実施例の
ブロック構成図、第3図は実施例の動作を示すフローチ
ャーT・、第4図は第3図における認証印字例を示す図
である。 1・・・cpu、2・・・キー人力部、3・・・ROM
、4・・・RAM、7・・・スリップ印字部、M2−・
・フォーマットメモリ、C・・・カウンタ。 特 許 出 願 人  カシオ計算機株式会社第4図 第3図
Fig. 1 is a functional block diagram of the present invention, Fig. 2 is a block diagram of an embodiment, Fig. 3 is a flowchart showing the operation of the embodiment, and Fig. 4 shows an example of authentication printing in Fig. 3. It is a diagram. 1... CPU, 2... Key human power department, 3... ROM
, 4...RAM, 7...Slip printing section, M2-...
・Format memory, C...Counter. Patent applicant Casio Computer Co., Ltd. Figure 4 Figure 3

Claims (1)

【特許請求の範囲】 入力されたアイテムデータをアイテム単位で改行しなが
らリアルタイムで印字していく印字装置において、 印字用紙を正逆自在にフィードするフィード手段と、 アイテムデータが入力された際、印字用紙上の印字対象
行が当該印字用紙の最終行を越えているか否かを判断す
る判別手段と、 この判別手段により最終行を越えていると判別されたと
きは、上記フィード手段により印字用紙を逆方向にフィ
ードすると共に改列して、入力に係るアイテムデータを
印字する印字制御手段と、を備えることを特徴とする印
字装置。
[Scope of Claims] A printing device that prints input item data in real time while starting a new line for each item, comprising: a feed unit that feeds printing paper in forward and reverse directions; A determining means for determining whether or not the line to be printed on the paper exceeds the last line of the printing paper; and when the determining means determines that the line to be printed exceeds the last line, the feed means feeds the printing paper. 1. A printing device comprising: printing control means for printing item data related to input by feeding in a reverse direction and rearranging the lines.
JP20696089A 1989-08-11 1989-08-11 Printing device Pending JPH0371392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20696089A JPH0371392A (en) 1989-08-11 1989-08-11 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20696089A JPH0371392A (en) 1989-08-11 1989-08-11 Printing device

Publications (1)

Publication Number Publication Date
JPH0371392A true JPH0371392A (en) 1991-03-27

Family

ID=16531859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20696089A Pending JPH0371392A (en) 1989-08-11 1989-08-11 Printing device

Country Status (1)

Country Link
JP (1) JPH0371392A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4985395A (en) * 1989-02-24 1991-01-15 Agfa-Gevaert, N.V. Dye-donor element for thermal dye sublimation transfer
WO2004078481A3 (en) * 2003-03-04 2005-06-23 Transact Tech Inc Stacker for a printer
US8177224B2 (en) 2009-12-15 2012-05-15 Transact Technologies Incorporated Methods and apparatus for shingle stacking of tickets in a ticket printer

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4985395A (en) * 1989-02-24 1991-01-15 Agfa-Gevaert, N.V. Dye-donor element for thermal dye sublimation transfer
WO2004078481A3 (en) * 2003-03-04 2005-06-23 Transact Tech Inc Stacker for a printer
GB2415958A (en) * 2003-03-04 2006-01-11 Transact Tech Inc Stacker for a printer
GB2415958B (en) * 2003-03-04 2007-06-27 Transact Tech Inc Stacker for a printer
US7275883B2 (en) 2003-03-04 2007-10-02 Transact Technologies Incorporated Method for stacking tickets in a printer
US8177224B2 (en) 2009-12-15 2012-05-15 Transact Technologies Incorporated Methods and apparatus for shingle stacking of tickets in a ticket printer

Similar Documents

Publication Publication Date Title
JP2855207B2 (en) Form output device
JPH0371392A (en) Printing device
JPH0710467Y2 (en) Electronic cash register
JPS5922593Y2 (en) electronic cash register
JP2004355378A (en) Business contact method using label printer
JPS594352Y2 (en) electronic cash register
JPH0658711B2 (en) POS system
JPS5922594Y2 (en) cash register machine
JPH02126395A (en) Electronic cash register
JP2529942B2 (en) Printing control method for POS terminal device
JP2554384B2 (en) Receipt issuing device
JPS59112389A (en) electronic register
JP3029729B2 (en) Label printer
JPH01175073A (en) Transaction processor
JPH0795353B2 (en) Information processing equipment
JPH057662Y2 (en)
JPH082791Y2 (en) Electronic cash register
JPS59129176A (en) Printing system of electronic register
JPS62165297A (en) Sales data processing device with setting function
JPH0496197A (en) Merchandise sales data processor
JPH07129851A (en) Sales data processing device with receipt issuing function
JPS6334695A (en) Sales information print controller for vending machine
JPS61187093A (en) Electronic type cash register
JPS63189968A (en) Device for preparing slip at issuing window
JPH03225596A (en) electronic cash register