JPH0247077A - Pos terminal with journal only disk device - Google Patents

Pos terminal with journal only disk device

Info

Publication number
JPH0247077A
JPH0247077A JP63197990A JP19799088A JPH0247077A JP H0247077 A JPH0247077 A JP H0247077A JP 63197990 A JP63197990 A JP 63197990A JP 19799088 A JP19799088 A JP 19799088A JP H0247077 A JPH0247077 A JP H0247077A
Authority
JP
Japan
Prior art keywords
journal
buffer
data
receipt
disk device
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
JP63197990A
Other languages
Japanese (ja)
Inventor
Ryosuke Ito
良輔 伊藤
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.)
NEC Platforms Ltd
Original Assignee
Nitsuko 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 Nitsuko Corp filed Critical Nitsuko Corp
Priority to JP63197990A priority Critical patent/JPH0247077A/en
Publication of JPH0247077A publication Critical patent/JPH0247077A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform suitable journal process by providing a control circuit for sorting printing data by a control command and feeding it to a receipt printer or a journal only disk device. CONSTITUTION:A control circuit 11 has a reception buffer 11A, a receipt print buffer 11B, a journal buffer 11C, temporarily stores data from a CPU 1 in the buffer 11A, then distributes them to the buffers 11B, 11C by a control com mand, and stores them. Since the buffer 11C has a capacity for storing 256 characters, it does not transfer data, the data of the buffer 11B is sequentially fed to a receipt printer 13 to be printed. When the buffer 11C stores the 256 characters, the data of the buffer 11C are transferred to a journal only FD device 12.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、POS端末、特に出力データをプリントもし
くはディスクへ書込みを行なう出力装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a POS terminal, and particularly to an output device that prints or writes output data to a disk.

〔従来の技術〕[Conventional technology]

第4図は、従来のPOS端末の概略構成図であって、1
がCPU、2が記憶部であり、ハスにプリンタインタフ
ェース3を介して、プリンタコントローラ4A、R/J
プリンタ4Bが、またデイスプレィインタフェース5を
介して、デイスプレィ装置6が、またキーボードインタ
フェース7を介してキーボード8が接続されている。9
はディスク装置である。
FIG. 4 is a schematic configuration diagram of a conventional POS terminal, with 1
is a CPU, 2 is a storage unit, and is connected to a printer controller 4A, R/J via a printer interface 3.
A printer 4B, a display device 6 via a display interface 5, and a keyboard 8 via a keyboard interface 7 are connected. 9
is a disk device.

プリンタとしては、通常上記のようにレシートおよびジ
ャーナル印字の両機能を備えたR/Jプリンタを備えて
いる。
The printer is usually an R/J printer that has both receipt and journal printing functions as described above.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ジャーナルは、控え用のファイルであり、一定期間は保
存するが、その後は廃棄する。ジャーナルを保存するこ
とは管理が厄介であり、またロル祇の節約の意味もあっ
て、ディスク装置9に、保存する方式のPOS端末もあ
る。
A journal is a file for backup purposes, and is kept for a certain period of time, after which it is discarded. Storing journals is cumbersome to manage, and there is also a POS terminal that stores journals in the disk device 9 in order to save money.

しかし、ディスク装置へのジャーナルの書込みとプリン
タへのレシート印字と両者を区別してブタを取り扱う場
合にはプログラム構成が大きく相違し、またディスク装
置はジャーナル専用でなく、その他のデータ処理にも用
いられるので、CPUのデータ処理上、厄介である。
However, when dealing with writing a journal to a disk device and printing a receipt to a printer, the program structure is significantly different, and the disk device is not only used for journals, but is also used for other data processing. Therefore, it is difficult for the CPU to process data.

本発明の目的は、上記の欠点を除去し、適切なジャーナ
ル処理を可能としたPOS端末を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a POS terminal that eliminates the above-mentioned drawbacks and enables appropriate journal processing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のPO3端末は、レシート用プリンタと。 The PO3 terminal of the present invention can be used as a receipt printer.

ジャーナル専用ディスク装置と、POS端末のCP(J
から印字データおよびレシート印字かディスク書込みか
指示する制御コマンドを受領し、制御コマンドによって
、印字データを分類し、前記レシート用プリンタもしく
はジャーナル専用ディスク装置へ、送出する制御回路と
を備えるようにしたものである。
Journal dedicated disk device and CP of POS terminal (J
and a control circuit that receives print data and control commands instructing whether to print a receipt or write to a disk, classifies the print data according to the control commands, and sends it to the receipt printer or journal dedicated disk device. It is.

制御回路はCPUから送られた印字データ・制御コマン
ドを一旦格納する受信バッファと、前記受信バッファの
データを制御コマンドによりそれぞれ分類格納するレシ
ートプリントバッファ・ジャーナルバッファを有し、ジ
ャーナルバッファからジャーナル専用ディスク装置への
データ転送は、所定量のデータ量に達してから行なう。
The control circuit has a reception buffer that temporarily stores print data and control commands sent from the CPU, and a receipt print buffer and journal buffer that store the data in the reception buffer classified according to the control commands, and from the journal buffer to the journal dedicated disk. Data transfer to the device is performed after reaching a predetermined amount of data.

〔作用〕[Effect]

CPUからのデータ伝送は、制御コマンドを除き、全(
同一のフォーマットで制御回路に送ることができる。実
施例に示すように、印字データを一定の固定桁におさめ
、その後に1キヤラクタの制御コードを付しておいて、
−旦受信ハソファに格納したデータをレシートプリント
バッファ、ジャーナルバッファに分類して格納する。レ
シトプリントバソファからは直ちにプリンタ′に順次印
字データが送られるが、ジャーナルバッファは直ちに書
込む必要もなく、ディスクの書込みもセクタごとに行な
うので、所定量のデータが格納されるまで待つようにし
ている。
All data transmission from the CPU (except for control commands)
It can be sent to the control circuit in the same format. As shown in the example, print data is stored in a certain fixed digit, followed by a one-character control code,
- Sort and store the data stored in the reception buffer into a receipt print buffer and a journal buffer. Print data is immediately sent sequentially to the printer from the receipt print buffer, but there is no need to write to the journal buffer immediately, and writing to the disk is done sector by sector, so you should wait until a predetermined amount of data is stored. ing.

〔実施例〕〔Example〕

以下、図面を参照して、本発明の一実施例につき、説明
する。第1図が概略構成図であって、CPut、記憶部
2.デイスプレィ関係5,6、キーボード関係7,8は
従来例と同様であるが、フロッピーディスク(FD)装
置14は、システム上使用するものであるが、ジャーナ
ル専用FD装置と無関係である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic diagram showing the configuration of CPUt, storage section 2. The displays 5 and 6 and the keyboards 7 and 8 are the same as in the conventional example, but the floppy disk (FD) device 14 is used in the system, but is unrelated to the journal-only FD device.

プリンタ関係は、プリンタインタフェース10を介して
制御回路11が結ばれ、制御回路11から、ジャーナル
専用FD装置12.  レシート用プリンタ13にデー
タが送られる。なおレシート用プリンタ13は、プリン
タコントローラを含めて表示しである。プリンタインタ
フェース10と制御回路11との間はセントロニクス仕
様で並列伝送が行なわれる。
Regarding the printer, a control circuit 11 is connected via a printer interface 10, and a journal-specific FD device 12. The data is sent to the receipt printer 13. Note that the receipt printer 13 is shown including a printer controller. Parallel transmission is performed between the printer interface 10 and the control circuit 11 according to Centronics specifications.

制御回路11は第2図に示すように、受信バッファII
A、  レシートプリントバッファ11B。
As shown in FIG.
A. Receipt print buffer 11B.

ジャーナルバッファ11Cとを有し、CPUからのデー
タは一旦受信バソファIIAに格納後、制御コマンドに
より、各バッファIIB、IICに分配され、格納され
る。例として、10桁の印字で、プリンタ印字、ジャー
ナル書込みとの両方を行なうように指示する制御コマン
ドが与えられた場合について示す。第3図fa)はCP
UIからプリンタインタフェース10を介して制御回路
11に送られた印字データである。第3図(b)が制御
コマンドである。したがって、第2図に示すように、受
信バッファIIA、  レシートプリントバッファ11
B、 ジャーナルバッファ11Cの内容が定まる。ジャ
ーナルバッファ11Cは、■セクタが256キヤラクタ
として、256キヤラクタを収納する容量があるので2
45キヤラクタ分だけ、空になっているので、データ転
送は行なわず、待機している。レシートプリントバッフ
ァIIBのデータは、順次レシート用プリンタ13に送
られ印字される。次回の印字データが入力されると、ジ
ャーナルバッファ11Cは次の12キャラクタ目から格
納してゆく。256キヤラクタが格納された時点で、ジ
ャーナルバッファIICのデータは、ジャーナル専用F
D装置12に転送され、転送後クリアされる。
It has a journal buffer 11C, and after data from the CPU is once stored in the reception buffer IIA, it is distributed and stored in each buffer IIB and IIC according to a control command. As an example, a case will be shown in which a control command is given to instruct both printer printing and journal writing for 10-digit printing. Figure 3 fa) is CP
This is print data sent from the UI to the control circuit 11 via the printer interface 10. FIG. 3(b) shows the control command. Therefore, as shown in FIG.
B. The contents of the journal buffer 11C are determined. The journal buffer 11C has a capacity to store 256 characters as the sector is 256 characters.
Since the space is empty for 45 characters, data is not transferred and is on standby. The data in the receipt print buffer IIB is sequentially sent to the receipt printer 13 and printed. When the next print data is input, the journal buffer 11C stores data starting from the next 12th character. Once 256 characters have been stored, the data in the journal buffer IIC is transferred to the journal dedicated F.
The data is transferred to the D device 12 and cleared after the transfer.

なお、制御コマンドとしては、レシート印字か、ディス
ク書込みのジャーナル印字か、あるいはレシート・ジャ
ーナルの両方の3つのコマンドを用意するだけでよい。
It is only necessary to prepare three commands as control commands: receipt printing, disk writing journal printing, or both receipt and journal commands.

したがって、PO3端末としてのソフトプログラムは極
めて簡単になる。
Therefore, the software program as a PO3 terminal becomes extremely simple.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明ではジャーナル専用ディス
ク装置を設け、このディスク装置とレシト用プリンタと
に印字データを送る制御回路を設けたものである。制御
回路は、CP Uよりレシト印字かジャーナル書込みか
を指示する制御コドを印字データに付した形で、信号を
受領し、ジャーナル専用ディスク装置へあるいはレシー
ト用プリンタにデータを転送する。このデータ転送は、
制御回路内に、仕分けられて格納しているジャーナルハ
ソファ、レシートプリントバッファから、ジャーナル専
用ディスク装置、レシート用プリンタに転送される。C
PUはプログラム的には、特別にレシート、ジャーナル
によるプログラム変更は不要で、単に制御コマンドの付
記のみでよい。従来のように、FD装置を共用するもの
でないから、共用のための複雑なプログラム作成は不必
要になる。
As explained above, in the present invention, a dedicated journal disk device is provided, and a control circuit is provided for sending print data to this disk device and a receipt printer. The control circuit receives a signal from the CPU in the form of a control code attached to the print data to instruct whether to print a receipt or write a journal, and transfers the data to a dedicated journal disk device or to a receipt printer. This data transfer is
The journals are sorted and stored in the control circuit and are transferred from the journal sofa and receipt print buffer to the journal dedicated disk device and receipt printer. C
In terms of the PU program, there is no need to change the program using receipts or journals, and it is only necessary to add control commands. Since the FD device is not shared as in the past, there is no need to create a complicated program for sharing.

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

第1図は本発明の一実施例の概略構成図、第2図は制御
回路内のハソファおよびへ7フアに記憶されたデータ例
、第3図(a)、 (blは印字データ、制御コマンド
の一例を示す図、第4図は従来例の概略構成図である。 1−CPU、   10−一−プリンタインタフェース
、11−制御回路、 12・・−ジャーナル専用FD装置、 13− レシート用プリンタ、  14−−F D装置
Fig. 1 is a schematic configuration diagram of an embodiment of the present invention, Fig. 2 is an example of data stored in the front and back ports in the control circuit, and Fig. 3 (a), (bl is print data, control command FIG. 4 is a schematic configuration diagram of a conventional example. 1-CPU, 10-1-printer interface, 11-control circuit, 12--Journal exclusive FD device, 13-Receipt printer, 14--FD device.

Claims (1)

【特許請求の範囲】 1、レシート用プリンタと、ジャーナル専用ディスク装
置と、POS端末のCPUから印字データおよびレシー
ト印字かディスク書込みか指示する制御コマンドを受領
し、制御コマンドによって、印字データを分類し、前記
レシート用プリンタもしくはジャーナル専用ディスク装
置へ、送出する制御回路とを備えたことを特徴とするP
OS端末。 2、請求項1記載のPOS端末において、制御回路はC
PUから送られた印字データ・制御コマンドを一旦格納
する受信バッファと、前記受信バッファのデータを制御
コマンドによりそれぞれ分類格納するレシートプリント
バッファ・ジャーナルバッファを有し、ジャーナルバッ
ファからジャーナル専用ディスク装置へのデータ転送は
、所定量のデータ量に達してから行なうものであること
を特徴とするPOS端末。
[Scope of Claims] 1. Receive print data and control commands instructing whether to print receipts or write to disk from the CPU of a receipt printer, a journal-only disk device, and a POS terminal, and classify the print data according to the control commands. , and a control circuit for sending data to the receipt printer or journal dedicated disk device.
OS terminal. 2. In the POS terminal according to claim 1, the control circuit is C
It has a reception buffer that temporarily stores print data and control commands sent from the PU, and a receipt print buffer and journal buffer that classify and store the data in the reception buffer according to control commands. A POS terminal characterized in that data transfer is performed after a predetermined amount of data is reached.
JP63197990A 1988-08-10 1988-08-10 Pos terminal with journal only disk device Pending JPH0247077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63197990A JPH0247077A (en) 1988-08-10 1988-08-10 Pos terminal with journal only disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63197990A JPH0247077A (en) 1988-08-10 1988-08-10 Pos terminal with journal only disk device

Publications (1)

Publication Number Publication Date
JPH0247077A true JPH0247077A (en) 1990-02-16

Family

ID=16383678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63197990A Pending JPH0247077A (en) 1988-08-10 1988-08-10 Pos terminal with journal only disk device

Country Status (1)

Country Link
JP (1) JPH0247077A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385222B1 (en) 1998-11-19 2002-05-07 The Furukawa Electric Co., Ltd. Semiconductor laser module, and method for driving the semiconductor laser module
US6501558B2 (en) 1998-08-28 2002-12-31 Seiko Epson Corporation Data separating interface apparatus and method
US6996145B2 (en) 1999-11-01 2006-02-07 The Furukawa Electric Co., Ltd. Semiconductor laser module, and method for driving the semiconductor laser module

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62174897A (en) * 1986-01-29 1987-07-31 東芝テック株式会社 Electronic cash register
JPS63136176A (en) * 1986-11-27 1988-06-08 Casio Comput Co Ltd Data processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62174897A (en) * 1986-01-29 1987-07-31 東芝テック株式会社 Electronic cash register
JPS63136176A (en) * 1986-11-27 1988-06-08 Casio Comput Co Ltd Data processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6501558B2 (en) 1998-08-28 2002-12-31 Seiko Epson Corporation Data separating interface apparatus and method
US6385222B1 (en) 1998-11-19 2002-05-07 The Furukawa Electric Co., Ltd. Semiconductor laser module, and method for driving the semiconductor laser module
US6996145B2 (en) 1999-11-01 2006-02-07 The Furukawa Electric Co., Ltd. Semiconductor laser module, and method for driving the semiconductor laser module

Similar Documents

Publication Publication Date Title
JP3513266B2 (en) Print control system, print control method, and print processing method
JP2000311074A (en) Document printing method
JPH05501775A (en) Raster image processor for all point addressable printers
CN100375004C (en) Information processing method and information processing device
JP2000250683A (en) Information processor, device setting method and storage medium storing computer readable device driver program
JPH0247077A (en) Pos terminal with journal only disk device
JPH0858163A (en) Printer
JP3010559B2 (en) Printing system and printing control method and apparatus
JP2776894B2 (en) Printer controller and print control method
JP3125997B2 (en) Print information output device and print system
JPH10309835A (en) Page printer
JP2997558B2 (en) Printer
JPS62208121A (en) Document editing/printing device
JPH04265776A (en) Printing apparatus
JPH04102966A (en) Card-only transfer device
JPH0517708Y2 (en)
JPH0948155A (en) Printer
JPH047631A (en) Number of printed sheets displaying shared printer system
JPH11292390A (en) Printing device
JPH0465260A (en) Printer
JPH0689150A (en) Plural printing request processor
JPS58181141A (en) Character pattern processing system
JPH0939305A (en) Printer
JPH02210529A (en) Auxiliary display device
JPH0299347A (en) Image forming system