JPH10269459A - Merchandise sales register - Google Patents

Merchandise sales register

Info

Publication number
JPH10269459A
JPH10269459A JP7788697A JP7788697A JPH10269459A JP H10269459 A JPH10269459 A JP H10269459A JP 7788697 A JP7788697 A JP 7788697A JP 7788697 A JP7788697 A JP 7788697A JP H10269459 A JPH10269459 A JP H10269459A
Authority
JP
Japan
Prior art keywords
print
printer
data
print data
printing
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
JP7788697A
Other languages
Japanese (ja)
Inventor
Nobuhiro Fujita
伸宏 藤田
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP7788697A priority Critical patent/JPH10269459A/en
Publication of JPH10269459A publication Critical patent/JPH10269459A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To surely print printing data even when hit/power failure occurs in the middle of printing. SOLUTION: An address showing the storage position of printing object data and a state flag showing whether or not print data prepared from printing object data are completely transmitted to a printer 2 are registered in a printing managing file provided in a RAM 12 with backup function at a main body 1 of POS terminal. When printing instruction information is registered in this printing managing file and that state flag shows the print data are not completely transmitted to the printer 2 yet in the case of turning on a power source on the main body 1 of POS terminal, the print data are prepared from the printing object data stored at this address again, and sent to the printer 2 again.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、各種店舗で用いら
れるPOS(Point Of Sales)端末等の商品売上登録装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a merchandise sales registration device such as a POS (Point Of Sales) terminal used in various stores.

【0002】[0002]

【従来の技術】図10は、POSシステムの要部構成図
である。図10において、1はPOS端末、2はプリン
タ、3は通信回線である。プリンタ2は、通信回線3を
介してPOS端末1からデータを受け取って、レシート
やレポートの印字を行う。そのようなPOSシステムに
おいて、プリンタ2の印字中に瞬断・停電が発生する
と、印字は途中で停止して、POS端末1からプリンタ
2に送った印字データは紛失し、そのデータの印字が不
可能になる。
2. Description of the Related Art FIG. 10 is a configuration diagram of a main part of a POS system. In FIG. 10, 1 is a POS terminal, 2 is a printer, and 3 is a communication line. The printer 2 receives data from the POS terminal 1 via the communication line 3 and prints a receipt or a report. In such a POS system, if an instantaneous interruption or power failure occurs during printing by the printer 2, printing is stopped halfway, the print data sent from the POS terminal 1 to the printer 2 is lost, and printing of the data becomes unsuccessful. Will be possible.

【0003】そこで、従来のPOSシステムでは、瞬断
・停電対策として、無停電電源装置を用いたり、プリン
タ2のRAMにバックアップ回路を付加したりして、瞬
断・停電に対して印字データを保護するようにしてい
た。
Therefore, in the conventional POS system, as a countermeasure against instantaneous interruption and power failure, an uninterruptible power supply device is used, or a backup circuit is added to the RAM of the printer 2 so that print data can be transferred in response to instantaneous interruption and power interruption. I was trying to protect it.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、無停電
電源装置を用いたものでは、高価な無停電電源装置が必
要になってコストが高くなる上、それを設置するための
場所が必要になるという問題点があった。また、プリン
タ2のRAMにバックアップ回路を付加したものでは、
バックアップ回路を付加するためのコストがかかる上、
瞬断・停電時に保護した印字データを電源回復後に処理
するためのソフトがプリンタ2側に必要になって、プリ
ンタ2用のソフトが膨大になるという問題点があった。
However, in the case of using an uninterruptible power supply, an expensive uninterruptible power supply is required, so that the cost is increased and a place for installing the uninterruptible power supply is required. There was a problem. Further, in the case where a backup circuit is added to the RAM of the printer 2,
In addition to the cost of adding a backup circuit,
Software for processing the print data protected during a momentary power failure or power failure after power recovery is needed on the printer 2 side, and there is a problem that the software for the printer 2 becomes enormous.

【0005】本発明は、そのような問題点を解決し、高
いコストや膨大なソフトを必要とせずに、プンリタの印
字途中で瞬断・停電等の電源遮断が起きても、電源回復
後、その印字データを再出力できるようにすることを目
的とするものである。
The present invention solves such a problem and eliminates the need for high cost and enormous software. Even if a power interruption such as an instantaneous interruption or a power failure occurs during printing of a punlitta, the power supply is restored after the power is restored. The purpose is to enable the print data to be output again.

【0006】[0006]

【課題を解決するための手段】前記課題を解決するた
め、請求項1記載の商品売上登録装置は、商品売上登録
処理を行う処理装置本体と、該処理装置本体の指令によ
り印字を行うプリンタとからなり、前記処理装置本体に
は、印字対象データを記憶するバックアップ機能付き記
憶手段と、前記印字対象データから印字データを作成す
る印字データ作成手段と、前記記憶手段内に設定され、
前記印字対象データのアドレスと該印字対象データから
作成された印字データの前記プリンタへの送信処理経過
を示す送信経過情報とを含む印字指示情報が登録される
印字管理ファイルと、前記印字データを前記プリンタへ
送信終了後、前記印字管理ファイルの送信経過情報を書
き換えるファイル情報書換手段と、前記印字データの印
字が完了した後、前記印字管理ファイルから前記印字指
示情報を削除するファイル情報削除手段と、前記処理装
置本体の電源立ち上げ時に前記印字管理ファイルに印字
指示情報が登録されており、かつ、その送信状態情報が
前記プリンタへの印字データ送信終了前であることを示
しているとき、前記印字データ作成手段に対して、前記
印字管理ファイルに登録されているアドレスの印字対象
データからの印字データの再作成およびその印字データ
の再送を指示する再送指示手段とを具えたことを特徴と
する。このようにすると、低コストで、しかもプリンタ
側に膨大なソフトを必要とせずに、プンリタの印字途中
で瞬断・停電が起きても、電源回復後、その印字データ
を再出力できるようになる。
According to a first aspect of the present invention, there is provided a merchandise sales registration apparatus, comprising: a processing apparatus main body for performing merchandise sales registration processing; and a printer for performing printing in accordance with an instruction from the processing apparatus main body. The processing device body, storage means with a backup function for storing print target data, print data creation means for creating print data from the print target data, set in the storage means,
A print management file in which print instruction information including an address of the print target data and transmission progress information indicating a progress of transmission processing of print data created from the print target data to the printer is registered; and After completion of transmission to the printer, file information rewriting means for rewriting transmission progress information of the print management file, and file information deletion means for deleting the print instruction information from the print management file after printing of the print data is completed, When print instruction information is registered in the print management file at the time of turning on the power of the processing apparatus main body, and the transmission status information indicates that print data transmission to the printer is not completed yet, the printing is performed. For the data creation means, printing from the print target data at the address registered in the print management file Characterized in that comprises a retransmission instruction means for instructing a re-creation and retransmission of the print data over data. In this way, even if an instantaneous interruption or power failure occurs during printing of the printer, the print data can be re-output after power recovery, at low cost and without requiring a huge amount of software on the printer side. .

【0007】また、請求項2記載の商品売上登録装置
は、商品売上登録処理を行う処理装置本体と、該処理装
置本体の指令により印字を行うプリンタとからなり、前
記プリンタには、プリンタ設定値が初期設定値から変更
されたか否かを前記処理装置本体側に通知する設定変更
通知手段を具えており、前記処理装置本体には、印字対
象データを記憶するバックアップ機能付き記憶手段と、
前記印字対象データから印字データを作成する印字デー
タ作成手段と、前記記憶手段内に設定され、前記印字対
象データのアドレスと該印字対象データから作成された
印字データの前記プリンタへの送信処理経過を示す送信
経過情報とを含む印字指示情報が登録される印字管理フ
ァイルと、電源立ち上げ時に前記プリンタ設定値を変更
する設定値変更手段と、前記印字データを前記プリンタ
へ送信終了後、前記印字管理ファイルの送信経過情報を
書き換えるファイル情報書換手段と、前記印字データの
印字が完了した後、前記印字管理ファイルから前記印字
指示情報を削除するファイル情報削除手段と、作成した
印字データの行数と前記プリンタの印字速度とに基づい
て印字データ送出後から印字終了までにかかる印字所要
時間を算出する印字時間算出手段と、印字データを送出
してから前記印字所要時間が経過した時に前記設定変更
通知手段が初期設定値から変更されていないことを示し
ているとき、前記印字データ作成手段に対して、前記印
字管理ファイルに登録されているアドレスの印字対象デ
ータからの印字データの再作成およびその印字データの
再送を指示する再送指示手段とを具えたことを特徴とす
る。このようにすると、プンリタの印字途中、処理装置
本体の電源は生きていながらプリンタの電源が切られる
ことがあっても、電源回復後、その印字データを再出力
できるようになる。
[0007] A commodity sales registration device according to a second aspect of the present invention comprises a processing device main body for performing product sales registration processing, and a printer for performing printing in accordance with an instruction from the processing device main body. Is provided with setting change notification means for notifying the processing device main body side whether or not has been changed from the initial setting value, the processing device main body, a storage means with a backup function for storing data to be printed,
A print data creation unit that creates print data from the print target data; and an address of the print target data set in the storage unit and a process of transmitting the print data created from the print target data to the printer. A print management file in which print instruction information including transmission progress information indicating the print management information is registered; setting value changing means for changing the printer set value when the power is turned on; File information rewriting means for rewriting file transmission progress information; file information deletion means for deleting the print instruction information from the print management file after printing of the print data is completed; A printer that calculates the required printing time from the sending of print data to the end of printing based on the printing speed of the printer. Time calculation means, and when the setting change notification means indicates that it has not been changed from the initial setting value when the required printing time has elapsed since sending the print data, to the print data creation means, Resending instruction means for instructing re-creation of print data from the print target data at the address registered in the print management file and resend of the print data. In this way, even if the power of the processing apparatus main body is alive and the printer is turned off during the printing of the pun-rita, the print data can be output again after the power is restored.

【0008】そしてまた、請求項3記載の商品売上登録
装置は、前記再送指示手段の指示により印字データをプ
リンタに再送する際に、印字データに再送であることを
示すマークを付加することを特徴とする。このようにす
ると、再出力されたことが一目瞭然に判別できるように
なる。
Further, the commodity sales registration apparatus according to a third aspect of the present invention is characterized in that when resending print data to a printer in accordance with an instruction of the resend instruction means, a mark indicating retransmission is added to the print data. And This makes it possible to determine at a glance that re-output has been performed.

【0009】そしてまた、請求項4記載の商品売上登録
装置は、前記処理装置本体とプリンタとの間をパラレル
通信回線で接続し、前記設定変更通知手段として、前記
パラレル通信回線の内の1本の信号線を用い、それに印
加する電圧の高低でプリンタ設定値が初期設定値から変
更されたか否かを通知するようにしたことを特徴とす
る。このようにすると、処理装置本体とプリンタとの間
をパラレル通信回線で接続した場合に、1本の信号線を
用いるだけで簡単にプリンタ設定値の状態を通知するこ
とができる。
According to a fourth aspect of the present invention, there is provided a merchandise sales registration apparatus, wherein the processing apparatus main body and a printer are connected by a parallel communication line, and one of the parallel communication lines is used as the setting change notification means. Is used to notify whether the printer setting value has been changed from the initial setting value depending on the level of the voltage applied to the signal line. In this way, when the processing apparatus main body and the printer are connected by a parallel communication line, the state of the printer setting value can be easily notified simply by using one signal line.

【0010】そしてまた、請求項5記載の商品売上登録
装置は、前記処理装置本体とプリンタとの間をシリアル
通信回線で接続し、前記設定変更通知手段として、前記
処理装置本体とプリンタとの間で取り交わすプロトコル
におけるプリンタからの応答信号中にプリンタ設定値の
状態を示す情報を付加するようにしたことを特徴とす
る。このようにすると、処理装置本体とプリンタとの間
をシリアル通信回線で接続した場合に、プロトコルのプ
リンタ応答信号を利用して、簡単にプリンタ設定値の状
態を通知することができる。
According to a fifth aspect of the present invention, there is provided a merchandise sales registration device, wherein the processing device main body and the printer are connected by a serial communication line, and the setting change notification means is provided between the processing device main body and the printer. Wherein information indicating the status of the printer set value is added to the response signal from the printer in the protocol exchanged in the above. With this configuration, when the processing apparatus main body and the printer are connected by a serial communication line, the status of the printer setting value can be easily notified using the printer response signal of the protocol.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。図1は、POS端末本体と
それに接続されたプリンタのブロック図である。POS
端末本体1において、CPU10は、POS端末本体1
の各種データ処理を実行する。ROM11は、CPU1
0用のプログラムを格納している。RAM12は、後述
する各種ファイルを格納し、また、CPU10のワーク
エリアを提供する。表示回路部13は、表示器(図示せ
ず)の表示を制御し、キー入力回路部14は、キーボー
ド(図示せず)の入力内容をCPU10に伝える。ま
た、時計回路部15は、現在時刻を出力する。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a POS terminal main body and a printer connected thereto. POS
In the terminal body 1, the CPU 10 controls the POS terminal body 1.
Of various data processing. The ROM 11 is a CPU 1
0 program is stored. The RAM 12 stores various files described later, and provides a work area for the CPU 10. The display circuit unit 13 controls the display on a display (not shown), and the key input circuit unit 14 transmits the input contents of a keyboard (not shown) to the CPU 10. Further, the clock circuit unit 15 outputs the current time.

【0012】プリンタI/O16は、プリンタ2との間
の通信を制御する。シリアルI/O17は、モデム,外
部通信回線を介して行う本部のホストコンピュータとの
間の通信や、店内通信回線を介して行う他のPOS端末
本体等との通信等の制御を行う。外部メディア回路部1
8は、フロッピーディスクドライブやRAMカード等の
外部記憶装置との間の通信の制御を行う。ドロア回路部
19は、キャッシュドロアのロック機構等の制御を行
い、ブザー回路部20は、ブザーの制御を行う。
The printer I / O 16 controls communication with the printer 2. The serial I / O 17 controls communication between the host computer of the headquarters via a modem and an external communication line, and communication with another POS terminal body and the like via an in-store communication line. External media circuit 1
Reference numeral 8 controls communication with an external storage device such as a floppy disk drive or a RAM card. The drawer circuit unit 19 controls a cash drawer lock mechanism and the like, and the buzzer circuit unit 20 controls a buzzer.

【0013】一方、プリンタ2においては、CPU21
は、プリンタ2全体の制御を行う。ROM22は、CP
U21用のプログラム、および、プリンタの初期設定値
を格納している。RAM23は、プリンタ2の制御に必
要な各種データを保持すると共に、CPU21のワーク
エリアを提供する。表示回路部24は、プリンタ2の表
示器の制御を行い、キー入力回路部25は、プリンタ2
に設けられている各種キーの入力内容をCPU21に伝
える。通信I/O26は、通信回線3を介してPOS端
末本体1との間の通信を制御する。プリンタ駆動回路部
27は、プリンタ2の印字機構の制御を行う。
On the other hand, in the printer 2, the CPU 21
Controls the entire printer 2. The ROM 22 has a CP
It stores a program for U21 and initial setting values of the printer. The RAM 23 stores various data necessary for controlling the printer 2 and provides a work area for the CPU 21. The display circuit section 24 controls the display of the printer 2, and the key input circuit section 25 controls the printer 2.
To the CPU 21. The communication I / O 26 controls communication with the POS terminal 1 via the communication line 3. The printer drive circuit 27 controls the printing mechanism of the printer 2.

【0014】プリンタI/O16,通信回線3および通
信I/O26を介して行う、POS端末本体1とプリン
タ2との間の通信は、複数ビット(例えば、8ビット)
を同時に送るパラレル方式と、1ビットずつ送るシリア
ル方式とがあるが、以下の実施形態では、まず、パラレ
ル方式の場合を例にして説明する。
Communication between the POS terminal main unit 1 and the printer 2 via the printer I / O 16, the communication line 3, and the communication I / O 26 is performed by a plurality of bits (for example, 8 bits).
There are a parallel method for transmitting data at the same time and a serial method for transmitting data one bit at a time.

【0015】POS端末本体1では、RAM12に図2
に示すような、売上ファイル,印字管理ファイルおよび
プリンタ性能設定ファイルを保持しており、それらのデ
ータは、バックアップ電池により保護されている。それ
らのファイルの内、売上ファイルは、各売上毎に、担当
者番号,日時,・・・,レシート番号等の売上に関係す
る一群のデータを保持する。
In the POS terminal body 1, the RAM 12
As shown in (1), a sales file, a print management file, and a printer performance setting file are held, and these data are protected by a backup battery. Among these files, the sales file holds a group of data related to sales, such as a person-in-charge number, date and time,.

【0016】また、印字管理ファイルは、売上ファイル
への売上登録が行われる度毎に、レシートを印字するプ
リンタのプリンタ番号に対応させて、印字対象となるデ
ータが格納されているエリアのアドレスや印字フォーム
の種類等が書き込まれる。また、後述する、状態フラ
グ,印字行数,カウンタ,新規フラグも書き込まれる。
Each time the sales is registered in the sales file, the print management file is associated with the printer number of the printer that prints the receipt, and stores the address of the area where the data to be printed is stored. The type of the print form is written. In addition, a status flag, the number of printing lines, a counter, and a new flag, which will be described later, are also written.

【0017】そしてまた、プリンタ性能設定ファイルに
は、当該POS端末本体1に接続されている全てのプリ
ンタのプリンタ番号毎に、プリンタの種類,プリンタア
ドレス,印字速度を設定している。プリンタの種類は、
パラレル回線,RS232C,RS422A等の通信規
格により区別している。また、プリンタアドレスは、R
S422Aの場合のみ必要になる。そしてまた、印字速
度としては、そのプリンタの1行当たりの印字時間
(秒)、または、1秒当たりの印字行数を設定してい
る。
Further, the printer type, printer address, and printing speed are set in the printer performance setting file for each printer number of all the printers connected to the POS terminal main body 1. The printer type is
They are distinguished by communication standards such as a parallel line, RS232C, RS422A, and the like. The printer address is R
Only required for S422A. As the printing speed, the printing time (seconds) per line of the printer or the number of printing lines per second is set.

【0018】一方、プリンタ2においては、ROM22
にロゴデータの登録,行間隔,文字間隔,文字種類等の
初期設定値が格納されていて、起動時にその初期設定値
をRAM23に書き込んでから、POS端末本体1側か
ら印字指令が来るまで待機状態に入る。そして、RAM
23に書き込まれた設定値は、POS端末本体1側から
の指令により変更可能になっているが、設定値が初期設
定値から変更された場合は、そのことをPOS端末本体
1側に通知する手段を、プリンタ2に持たせている。本
実施形態のように、POS端末本体1とプリンタ2との
間の通信をパラレル方式の通信回線で接続している場合
は、複数ある信号線の内の空いている1本の信号線を使
って、あるいは、信号線を1本追加して、その信号線に
与える電圧をハイレベルからローレベルに変化させるこ
とで、設定値が初期設定値から変更されたことを通知す
る。また、POS端末本体1は、印字指示を送る前に、
例えばロゴデータの登録等、最低1つは初期設定値と異
なる値に設定する。
On the other hand, in the printer 2, the ROM 22
The initial settings such as registration of logo data, line spacing, character spacing, and character type are stored in the RAM 23. At startup, the initial settings are written to the RAM 23, and then the apparatus waits until a print command is received from the POS terminal 1 side. Enter the state. And RAM
The set value written in 23 can be changed by a command from the POS terminal main body 1 side. If the set value is changed from the initial set value, the fact is notified to the POS terminal main body 1 side. Means are provided in the printer 2. When the communication between the POS terminal body 1 and the printer 2 is connected by a parallel communication line as in the present embodiment, one vacant signal line among a plurality of signal lines is used. Alternatively, by adding one signal line and changing the voltage applied to the signal line from the high level to the low level, it is notified that the set value has been changed from the initial set value. Also, the POS terminal main body 1 transmits the print instruction before sending it.
For example, at least one such as registration of logo data is set to a value different from the initial setting value.

【0019】次に、本発明の動作を、フローチャートを
使って説明する。図3は、POS端末本体のメインタス
クのフローチャートである。POS端末本体1の電源が
投入されると、図3(イ)の処理が開始される。
Next, the operation of the present invention will be described using a flowchart. FIG. 3 is a flowchart of a main task of the POS terminal main body. When the power of the POS terminal body 1 is turned on, the processing of FIG.

【0020】ステップ1…まず、イニシャル処理とし
て、各ICの初期設定と、後で説明するような各種タス
クの生成を行う。ステップ2…プリンタ2との間のデー
タ授受を行うためのプリンタタスクに対して、それを起
動するための起動メールAを送信する。ステップ3…プ
リンタタスクから業務開始命令メールDが送られてくる
のを待ち、それを受けてからキー入力待ちの状態に入
る。
Step 1: First, as initial processing, initialization of each IC and generation of various tasks to be described later are performed. Step 2: An activation mail A for activating the printer task is transmitted to the printer task for exchanging data with the printer 2. Step 3: Wait for the job start instruction mail D from the printer task, and then wait for key input after receiving it.

【0021】また、図3(ロ)の売上登録処理は、PO
S端末キーボードの現計キーを押すことにより開始され
る。ステップ1…その前に登録された売上を集計し、釣
り銭等の算出,表示、および、売上データの売上ファイ
ルへの登録を行う。ステップ2…印字対象データが登録
されているファイル,すなわち、売上ファイルの該当箇
所のアドレスと、印字させるプリンタの番号と、印字す
べきフォームの種類を送信して、印字管理ファイルに登
録する。ステップ3…後述するプリンタタスクへ印字指
示メールBを送信する。
The sales registration process shown in FIG.
It is started by pressing the total key on the S terminal keyboard. Step 1: Summarize the sales registered before that, calculate and display change, etc., and register the sales data in the sales file. Step 2: A file in which data to be printed is registered, that is, the address of the corresponding location in the sales file, the number of the printer to be printed, and the type of form to be printed are transmitted and registered in the print management file. Step 3: Send a print instruction mail B to a printer task described later.

【0022】そしてまた、図3(ハ)のレポート出力処
理は、POS端末キーボードにより、レポート出力を指
令することにより開始される。ステップ1…印字対象デ
ータが登録されているファイル,すなわち、レポートの
元になるデータが格納されているエリアのアドレスと、
印字させるプリンタの番号と、印字すべきフォームの種
類を送信して、印字管理ファイルに登録する。ステップ
2…後述するプリンタタスクへ印字指示メールBを送信
する。
The report output process shown in FIG. 3C is started by instructing a report output from the POS terminal keyboard. Step 1: The file in which the data to be printed is registered, that is, the address of the area where the data serving as the source of the report is stored,
The number of the printer to be printed and the type of form to be printed are transmitted and registered in the print management file. Step 2: Send a print instruction mail B to a printer task described later.

【0023】一方、プリンタタスクは、メインタスクか
ら上記起動メールAを受けたら次のような処理を行う。
図4,図5は、プリンタタスクのフローチャートであ
る。 ステップ1…メインタスクから上記起動メールAが送ら
れてくるのを待つ。 ステップ2…起動メールAを受けたら、プリンタ性能設
定ファイルを検索して、次のステップ3で行うプリンタ
状態チェックがプリンタ性能設定ファイルに登録されて
いる全てのプリンタについて終了したか否かを判別す
る。
On the other hand, the printer task performs the following processing upon receiving the activation mail A from the main task.
4 and 5 are flowcharts of the printer task. Step 1: Wait for the activation mail A to be sent from the main task. Step 2: When the startup mail A is received, the printer performance setting file is searched to determine whether or not the printer status check performed in the next step 3 has been completed for all printers registered in the printer performance setting file. .

【0024】ステップ3…ステップ2で、まだ、全ての
プリンタについて終了していなければ、プリンタの設定
値の状態を通知するための前記信号線がハイレベルにな
っているか否かをチェックする。 ステップ4…その結果から、そのプリンタの設定値が初
期設定値になっているか否かを判別する。 ステップ5…初期設定値になっていたら、少なくとも1
つの設定が初期設定値と異なる設定データをプリンタ2
に送信する。
Step 3 If it is determined in step 2 that the processing has not been completed for all the printers, it is checked whether or not the signal line for notifying the status of the set values of the printers is at a high level. Step 4: It is determined from the result whether or not the set value of the printer is the initial set value. Step 5: If the default value is set, at least 1
Setting data whose two settings are different from the initial setting values
Send to

【0025】ステップ6…ステップ2で、全てのプリン
タについてプリンタ状態チェックが終了したら、印字管
理ファイルを検索する。 ステップ7…印字指定されているプリンタがあるか否
か、すなわち、印字管理ファイルにプリンタが登録され
ているか否かを判別する。 ステップ8…印字指定があったら、その状態フラグが何
になっているかを判別する。
Step 6: When the printer status check is completed for all printers in Step 2, a print management file is searched. Step 7: It is determined whether or not there is a printer designated for printing, that is, whether or not the printer is registered in the print management file. Step 8: If printing is specified, it is determined what the status flag is.

【0026】ステップ9…状態フラグが0(=データ加
工中)または1(=データ加工終了)であったら、本タ
スク起動前の、データ加工中またはデータ加工終了後で
データ送信前の状態で瞬停が発生したことになる。そこ
で、印字管理ファイルの指定アドレスに格納されている
印字対象データとフォームの種類に基づいて、印字デー
タを作成し、その印字行数を印字管理ファイルの印字行
数欄に書き込む。 ステップ10…次に、その印字行数と、プリンタ性能設
定ファイルに設定されている印字速度とに基づいて、そ
の印字データを印字するのに要する時間を算出して、印
字管理ファイルのカウント欄に書き込む。そして、デー
タ加工が終了したことを示す意味で印字管理ファイルの
状態フラグを1にセットする。
Step 9: If the status flag is 0 (= data processing is being performed) or 1 (= data processing is completed), an instantaneous state occurs during the data processing or after the data processing is completed and before data transmission, before starting this task. An outage has occurred. Therefore, print data is created based on the print target data and the form type stored at the designated address of the print management file, and the number of print lines is written in the print line number field of the print management file. Step 10: Next, the time required to print the print data is calculated based on the number of print lines and the print speed set in the printer performance setting file. Write. Then, the status flag of the print management file is set to 1 to indicate that the data processing has been completed.

【0027】ステップ11…ステップ8で、状態フラグ
が2(=送信中)であったら、本タスク起動前の、プリ
ンタ2へのデータ送信中の状態で瞬停が発生したことに
なる。そこで、ステップ9と同様に、印字データを作成
し、その印字行数を印字管理ファイルの印字行数欄に書
き込む。 ステップ12…ステップ10と同様に、印字データを印
字するのに要する時間を算出して、印字管理ファイルの
カウント欄に書き込む。そして、印字管理ファイルの状
態フラグを1にセットする。 ステップ13…作成した印字データに再送を意味するマ
ーク、例えば、☆印を付加し、新規フラグを、再送を意
味する1にセットする。
Step 11: If the status flag is 2 (= transmitting) in step 8, it means that an instantaneous power failure has occurred while data is being transmitted to the printer 2 before the start of this task. Thus, as in step 9, print data is created, and the number of print lines is written in the print line number column of the print management file. Step 12: As in step 10, the time required to print the print data is calculated and written in the count column of the print management file. Then, the status flag of the print management file is set to 1. Step 13: A mark indicating retransmission, for example, a mark is added to the created print data, and a new flag is set to 1 indicating retransmission.

【0028】ステップ14…ステップ8で、状態フラグ
が3(=送信終了)であったら、本タスク起動前の、プ
リンタ2へのデータ送信後の状態で瞬停が発生したこと
になる。そこで、その印字対象データをPOS端末本体
1の表示器(図示せず)に表示させた上で、プリンタ2
の出力を調べて、表示器に表示されているデータが印字
されているか否かを確認する。 ステップ15…確認結果のキー入力を待つ。 ステップ16…上記印字対象データが印字済みであるか
否かを判別し、印字済ではなかったら、ステップ11に
移す。 ステップ17…印字済みであったら、印字管理ファイル
の指示部分をクリアする。
Step 14... If the status flag is 3 (= transmission completed) in step 8, it means that a momentary power failure has occurred before the task is started and after data is transmitted to the printer 2. Then, after displaying the print target data on a display (not shown) of the POS terminal main body 1, the printer 2
Is checked to see if the data displayed on the display is printed. Step 15: Wait for a key input of the confirmation result. Step 16: It is determined whether or not the print target data has been printed, and if not, the process proceeds to step 11. Step 17: If printing has been completed, the designated portion of the print management file is cleared.

【0029】ステップ18…プリンタ2へ作成した印字
データを送信する。そして、印字管理ファイルの状態フ
ラグを、送信中を意味する2にセットする。 ステップ19…印字管理ファイルのカウンタの値(=そ
の印字データの印字所要時間)と、プリンタ番号をタイ
マタスクへ送信する。 ステップ20…印字管理ファイルの状態フラグを、送信
終了を意味する3にセットする。
Step 18: The created print data is transmitted to the printer 2. Then, the status flag of the print management file is set to 2 which means that transmission is in progress. Step 19: The value of the counter of the print management file (= the required print time of the print data) and the printer number are transmitted to the timer task. Step 20: The status flag of the print management file is set to 3 which means the end of transmission.

【0030】ステップ21…ステップ7で、印字指定さ
れているプリンタがなくなったら、すなわち、印字管理
ファイルに登録されたプリンタのデータがなくなった
ら、メインタスクへ業務開始メールDを送信する。 ステップ22…メインタスクから印字指示メールBが送
られてくるのを待つ。
Step 21... In step 7, when there is no printer designated for printing, that is, when there is no printer data registered in the print management file, an operation start mail D is transmitted to the main task. Step 22: Wait until the print instruction mail B is sent from the main task.

【0031】ステップ23…メインタスクから印字指示
メールBを受けたら、そのメール中のプリンタ番号を印
字管理ファイル中から検索して確認する。 ステップ24…そのプリンタ番号のデータが印字管理フ
ァイル中にあるか否か、すなわち、そのプリンタが使用
中であるか否かを判別する。 ステップ25…使用中であれば、一定時間待機してから
ステップ23に戻す。
Step 23: When the print instruction mail B is received from the main task, the printer number in the mail is searched and confirmed in the print management file. Step 24: It is determined whether or not the data of the printer number is in the print management file, that is, whether or not the printer is in use. Step 25: If the apparatus is in use, the apparatus waits for a predetermined time and returns to step 23.

【0032】ステップ26…ステップ24で、そのプリ
ンタが使用中でなくなったら、そのプリンタの設定値の
状態を通知するための前記信号線がハイレベルになって
いるか否かをチェックする。 ステップ27…その結果
から、そのプリンタの設定値が初期設定値になっている
か否かを判別する。 ステップ28…初期設定値になっていたら、少なくとも
1つの設定が初期設定値と異なる設定データをプリンタ
2に送信する。
Step 26: If the printer is not in use in step 24, it is checked whether the signal line for notifying the status of the set value of the printer is at a high level. Step 27: It is determined from the result whether or not the set value of the printer is the initial set value. Step 28: If the initial setting value has been reached, the setting data whose at least one setting is different from the initial setting value is transmitted to the printer 2.

【0033】ステップ29…印字管理ファイルの指定ア
ドレスに格納されている印字対象データとフォームの種
類に基づいて、印字データを作成し、その印字行数を印
字管理ファイルの印字行数欄に書き込む。 ステップ30…次に、その印字行数と、プリンタ性能設
定ファイルに設定されている印字速度とに基づいて、そ
の印字データを印字するのに要する時間を算出して、印
字管理ファイルのカウント欄に書き込む。そして、デー
タ加工が終了したことを示す意味で印字管理ファイルの
状態フラグを1にセットする。
Step 29: Print data is created based on the print target data and the form type stored at the designated address of the print management file, and the number of print lines is written in the print line number field of the print management file. Step 30: Next, the time required to print the print data is calculated based on the number of print lines and the print speed set in the printer performance setting file. Write. Then, the status flag of the print management file is set to 1 to indicate that the data processing has been completed.

【0034】ステップ31…新規フラグを調べて、その
印字が新規であるか否かを判別する。 ステップ32…新規でなく再送であれば、印字データに
再送マークを付加する。 ステップ33…プリンタ2へ印字データEを送信し、か
つ、印字管理ファイルの状態フラグを、データ加工終了
を意味する2にセットする。 ステップ34…印字管理ファイルのカウンタの値(=そ
の印字データの印字所要時間)と、プリンタ番号をタイ
マタスクへ送信する。 ステップ35…印字管理ファイルの状態フラグを、送信
終了を意味する3にセットし、ステップ22の印字指示
待ちの状態に戻す。
Step 31: The new flag is checked to determine whether or not the printing is new. Step 32: If the retransmission is not new, a retransmission mark is added to the print data. Step 33: The print data E is transmitted to the printer 2, and the status flag of the print management file is set to 2 indicating the end of data processing. Step 34: The value of the counter of the print management file (= the time required for printing the print data) and the printer number are transmitted to the timer task. Step 35: The status flag of the print management file is set to 3 indicating the end of transmission, and the process returns to the status of waiting for a print instruction in step 22.

【0035】以上のようにすれば、印字データをプリン
タへ送信した時点の前後でPOS端末に瞬停が発生した
場合でも、その印字データの印字出力が可能になる。し
かし、印字データをプリンタへ送信した時に、用紙交換
等のためにプリンタの電源だけが切られたような場合
は、その印字データの出力が不可能になる。その対策と
して、次のようなタイマタスクを用意している。
In this way, even if a momentary power failure occurs in the POS terminal before or after the print data is transmitted to the printer, the print data can be printed out. However, when only the power of the printer is turned off for paper exchange or the like when the print data is transmitted to the printer, the output of the print data becomes impossible. As a countermeasure, the following timer task is prepared.

【0036】図6は、タイマタスクのフローチャートで
ある。 ステップ1…プリンタタスクからの印字管理ファイルの
カウンタの値とプリンタ番号の送信を待つ。 ステップ2…カウンタの値が示す印字所要時間だけ待機
する。 ステップ3…そのプリンタの設定値の状態を通知するた
めの前記信号線がハイレベルになっているか否かをチェ
ックする。 ステップ4…その結果から、そのプリンタの設定値が初
期設定値になっているか否かを判別する。
FIG. 6 is a flowchart of the timer task. Step 1: Wait for transmission of the value of the counter of the print management file and the printer number from the printer task. Step 2: Wait for the required printing time indicated by the counter value. Step 3: Check whether the signal line for notifying the status of the set value of the printer is at a high level. Step 4: It is determined from the result whether or not the set value of the printer is the initial set value.

【0037】ステップ5…初期設定値になっていたら、
プリンタの電源遮断が発生していないことになるので、
印字が正常に行われたとみなして印字管理ファイルの指
定部分をクリアして通知待ち状態に戻る。 ステップ6…ステップ4で初期設定値になっていなかっ
たら、プリンタに電源遮断が発生したとみなし、再度、
印字データの作成からやり直すため、印字管理ファイル
の新規フラグを、再送を意味する1にセットし、状態フ
ラグを、データ未加工を意味する0にセットした後、プ
リンタタスクへ印字指示メールBを送る。
Step 5: If the initial set value has been reached,
Since the printer has not been powered down,
Assuming that printing has been performed normally, the designated portion of the print management file is cleared, and the process returns to the notification waiting state. Step 6: If the initial set value has not been reached in step 4, it is considered that the power supply has been interrupted in the printer, and
To start over from the creation of print data, a new flag in the print management file is set to 1 indicating retransmission, a status flag is set to 0 indicating data is not processed, and then a print instruction mail B is sent to the printer task. .

【0038】次に、プリンタ2における処理を説明す
る。図8は、プリンタ内部処理のフローチャートであ
る。この処理は、プリンタ電源の投入と同時に開始され
る。 ステップ1…まず、イニシャル処理として、プリンタ2
内の各ICの初期設定を行うと共に、ROM22から初
期設定値を読み出して、RAM23上に書き込む。 ステップ2…プリンタ2の内部に異常がないかチェック
する。 ステップ3…その結果、正常であるか否かを判別する。 ステップ4…正常ではなかったら、異常表示LEDを点
灯させると共に、異常を通知するための信号線をハイレ
ベルにする。
Next, processing in the printer 2 will be described. FIG. 8 is a flowchart of the internal processing of the printer. This process is started at the same time when the power of the printer is turned on. Step 1: First, as initial processing, the printer 2
Initial setting of each of the ICs is performed, and an initial setting value is read from the ROM 22 and written on the RAM 23. Step 2: Check whether there is any abnormality inside the printer 2. Step 3: As a result, it is determined whether or not it is normal. Step 4: If it is not normal, the abnormality display LED is turned on, and the signal line for notifying the abnormality is set to the high level.

【0039】ステップ5…ステップ3で正常であった
ら、そのプリンタの設定値の状態を通知するための前記
信号線を、変更がないことを示すためハイレベルにす
る。 ステップ6…プリンタタスクからの受信を待つ。 ステップ7…受信したら、それが印字データEであるか
否かを判別する。 ステップ8…印字データEであったらその印字を行う。
Step 5: If the result is normal in Step 3, the signal line for notifying the status of the set value of the printer is set to a high level to indicate that there is no change. Step 6: Wait for reception from the printer task. Step 7: Upon receipt, it is determined whether or not it is print data E. Step 8: If the data is print data E, the printing is performed.

【0040】ステップ9…ステップ7で印字データでは
なく、設定値の変更指示であったら、RAM23に書き
込まれている設定値を、受信した設定値に書き換える。 ステップ10…ROM22に保持されている初期設定値
と一致するか否かを判別する。 ステップ11…一致したら、前記信号線をハイレベルに
する。 ステップ12…一致せず、設定データの内の1つでも異
なっていたら、前記信号線をローレベルにする。
Step 9... If the instruction is not print data but an instruction to change the set value in step 7, the set value written in the RAM 23 is rewritten to the received set value. Step 10: It is determined whether or not the value matches the initial setting value held in the ROM 22. Step 11: If they match, the signal line is set to high level. Step 12: If there is no match and even one of the setting data is different, the signal line is set to low level.

【0041】図7は、プリンタ出力例を示す図である。
図7(イ)は、通常出力をしたレシートの例であり、図
7(ロ)は、再出力したレシートの例であり、時刻を印
字した横に再送マークである☆印が付されている。
FIG. 7 is a diagram showing a printer output example.
FIG. 7A shows an example of a receipt which has been output normally, and FIG. 7B shows an example of a receipt which has been re-output. .

【0042】以上の実施形態では、POS端末本体1と
プリンタ2との間をパラレルの通信回線で接続した場合
で説明した。その場合、プリンタの設定値が初期設定値
から変更されたことを通知するのに、1本の信号線を使
い、それへ印加する電圧のハイ・ローで通知するように
した。
In the above embodiment, the case where the POS terminal body 1 and the printer 2 are connected by a parallel communication line has been described. In such a case, a single signal line is used to notify that the setting value of the printer has been changed from the initial setting value, and the notification is made by a high / low voltage applied to the signal line.

【0043】それに対して、シリアルの通信回線で接続
した場合は、プロトコルでプリンタ2からの応答信号中
に、プリンタの設定値が初期設定値から変更されたか否
かを示すフラグを付加することにより通知する。例え
ば、図9に示すように、プロトコルで、プリンタ2から
POS端末本体1への応答信号の末尾に、プリンタの設
定値の状態を示すフラグを付加するようにする。その場
合、プリンタの設定値の状態を示すフラグだけでなく、
その時の設定値の内容を示す情報を付加することもでき
る。
On the other hand, when a connection is made via a serial communication line, a flag indicating whether the printer setting value has been changed from the initial setting value is added to the response signal from the printer 2 by the protocol. Notice. For example, as shown in FIG. 9, a flag indicating the status of the set value of the printer is added to the end of the response signal from the printer 2 to the POS terminal 1 by a protocol. In that case, not only the flag indicating the status of the printer setting value,
Information indicating the contents of the set value at that time can also be added.

【0044】[0044]

【発明の効果】本発明は、以上説明したように構成され
ているので、次に記載するような効果を奏する。請求項
1記載の商品売上登録装置は、印字管理ファイルに印字
指示情報を登録し、かつ、それに上記実施形態における
状態フラグのような送信経過情報を入れておくようにし
たので、プンリタの印字途中で瞬断・停電が起きても、
電源回復後、印字指示情報に基づいて印字データを再作
成することができる。その結果、低コストで、しかもプ
リンタ側に膨大なソフトを必要とせずに、その印字デー
タを再出力できるようになる。
Since the present invention is configured as described above, it has the following effects. In the merchandise sales registration device according to the first aspect, the print instruction information is registered in the print management file, and the transmission progress information such as the status flag in the above embodiment is put in the print management file. Even if a momentary power failure or power outage occurs,
After the power is restored, the print data can be re-created based on the print instruction information. As a result, the print data can be re-output at low cost and without requiring a huge amount of software on the printer side.

【0045】また、請求項2記載の商品売上登録装置
は、電源立ち上げ時にプリンタ設定値を初期設定値から
変更し、かつ、プリンタの設定変更通知手段により、プ
リンタ設定値が変更されたか否かを確認できるようにし
たので、プリンタ設定値が初期設定値であるか変更され
た設定値であるかにより、プリンタ側に電源遮断があっ
たか否かを処理装置本体側から確認することができる。
その結果、プンリタの印字途中、処理装置本体の電源は
生きていながらプリンタの電源が切られることがあって
も、電源回復後、その印字データを再出力できるように
なる。
Further, the commodity sales registration device according to the second aspect changes the printer setting value from the initial setting value when the power is turned on, and determines whether the printer setting value has been changed by the printer setting change notification means. Can be confirmed from the processing apparatus main body side, based on whether the printer setting value is the initial setting value or the changed setting value, whether or not the printer has been powered off.
As a result, even if the power of the processing apparatus main body is alive and the printer is turned off during printing of the punlitta, the print data can be output again after the power is restored.

【0046】また、請求項3記載の商品売上登録装置
は、印字データをプリンタに再送する際に、印字データ
に再送であることを示すマークを付加するようにしたの
で、再出力されたことが一目瞭然になる。
Further, in the merchandise sales registration apparatus according to the third aspect, when the print data is retransmitted to the printer, a mark indicating retransmission is added to the print data. It becomes obvious.

【0047】そしてまた、請求項4記載の商品売上登録
装置は、処理装置本体とプリンタとの間をパラレル通信
回線で接続した場合に、1本の信号線を用いるだけで簡
単にプリンタ設定値の状態を通知することができる。
Further, the commodity sales registration device according to the fourth aspect of the present invention, when the processing device main body and the printer are connected by a parallel communication line, can easily set the printer setting value by using only one signal line. The status can be notified.

【0048】さらに、請求項5記載の商品売上登録装置
は、処理装置本体とプリンタとの間をシリアル通信回線
で接続した場合に、プロトコルのプリンタ応答信号を利
用して、簡単にプリンタ設定値の状態を通知することが
できる。
Further, the commodity sales registration apparatus according to the present invention, when the processing apparatus main body and the printer are connected by a serial communication line, easily uses the printer response signal of the protocol to easily set the printer setting value. The status can be notified.

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

【図1】POS端末本体とそれに接続されたプリンタの
ブロック図である。
FIG. 1 is a block diagram of a POS terminal main body and a printer connected thereto.

【図2】本発明で用いる各種ファイルの内容を示す図で
ある。
FIG. 2 is a diagram showing the contents of various files used in the present invention.

【図3】POS端末本体のメインタスクのフローチャー
トである。
FIG. 3 is a flowchart of a main task of the POS terminal main body.

【図4】プリンタタスクのフローチャートの前半部であ
る。
FIG. 4 is a first half of a flowchart of a printer task.

【図5】プリンタタスクのフローチャートの後半部であ
る。
FIG. 5 is the second half of the flowchart of the printer task.

【図6】タイマタスクのフローチャートである。FIG. 6 is a flowchart of a timer task.

【図7】プリンタ出力例を示す図である。FIG. 7 is a diagram illustrating a printer output example.

【図8】プリンタ内部処理のフローチャートである。FIG. 8 is a flowchart of a printer internal process.

【図9】シリアルI/Oのプロトコルを示す図である。FIG. 9 is a diagram showing a protocol of serial I / O.

【図10】POSシステムの要部構成図である。FIG. 10 is a configuration diagram of a main part of a POS system.

【符号の説明】[Explanation of symbols]

1…POS端末本体 2…プリンタ 3〜9…通信回線 1 POS terminal body 2 Printer 3-9 Communication line

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 商品売上登録処理を行う処理装置本体
と、該処理装置本体の指令により印字を行うプリンタと
からなり、前記処理装置本体には、印字対象データを記
憶するバックアップ機能付き記憶手段と、前記印字対象
データから印字データを作成する印字データ作成手段
と、前記記憶手段内に設定され、前記印字対象データの
アドレスと該印字対象データから作成された印字データ
の前記プリンタへの送信処理経過を示す送信経過情報と
を含む印字指示情報が登録される印字管理ファイルと、
前記印字データを前記プリンタへ送信終了後、前記印字
管理ファイルの送信経過情報を書き換えるファイル情報
書換手段と、前記印字データの印字が完了した後、前記
印字管理ファイルから前記印字指示情報を削除するファ
イル情報削除手段と、前記処理装置本体の電源立ち上げ
時に前記印字管理ファイルに印字指示情報が登録されて
おり、かつ、その送信状態情報が前記プリンタへの印字
データ送信終了前であることを示しているとき、前記印
字データ作成手段に対して、前記印字管理ファイルに登
録されているアドレスの印字対象データからの印字デー
タの再作成およびその印字データの再送を指示する再送
指示手段とを具えたことを特徴とする商品売上登録装
置。
1. A processing apparatus main body for performing product sales registration processing, and a printer for performing printing in accordance with an instruction from the processing apparatus main body, wherein the processing apparatus main body includes a storage unit with a backup function for storing data to be printed. A print data creation unit for creating print data from the print target data; and an address of the print target data set in the storage unit and a process of transmitting the print data created from the print target data to the printer. A print management file in which print instruction information including transmission progress information indicating
File information rewriting means for rewriting transmission progress information of the print management file after transmission of the print data to the printer, and a file for deleting the print instruction information from the print management file after printing of the print data is completed Information deletion means, indicating that print instruction information is registered in the print management file when the power of the processing apparatus main body is turned on, and that the transmission status information is before the end of print data transmission to the printer. Resending instruction means for instructing the print data creation means to recreate print data from the print target data at the address registered in the print management file and to resend the print data. A product sales registration device characterized by the following.
【請求項2】 商品売上登録処理を行う処理装置本体
と、該処理装置本体の指令により印字を行うプリンタと
からなり、前記プリンタには、プリンタ設定値が初期設
定値から変更されたか否かを前記処理装置本体側に通知
する設定変更通知手段を具えており、前記処理装置本体
には、印字対象データを記憶するバックアップ機能付き
記憶手段と、前記印字対象データから印字データを作成
する印字データ作成手段と、前記記憶手段内に設定さ
れ、前記印字対象データのアドレスと該印字対象データ
から作成された印字データの前記プリンタへの送信処理
経過を示す送信経過情報とを含む印字指示情報が登録さ
れる印字管理ファイルと、電源立ち上げ時に前記プリン
タ設定値を変更する設定値変更手段と、前記印字データ
を前記プリンタへ送信終了後、前記印字管理ファイルの
送信経過情報を書き換えるファイル情報書換手段と、前
記印字データの印字が完了した後、前記印字管理ファイ
ルから前記印字指示情報を削除するファイル情報削除手
段と、作成した印字データの行数と前記プリンタの印字
速度とに基づいて印字データ送出後から印字終了までに
かかる印字所要時間を算出する印字時間算出手段と、印
字データを送出してから前記印字所要時間が経過した時
に前記設定変更通知手段が初期設定値から変更されてい
ないことを示しているとき、前記印字データ作成手段に
対して、前記印字管理ファイルに登録されているアドレ
スの印字対象データからの印字データの再作成およびそ
の印字データの再送を指示する再送指示手段とを具えた
ことを特徴とする商品売上登録装置。
2. A processing apparatus main body for performing a merchandise sales registration process, and a printer for performing printing in accordance with an instruction from the processing apparatus main body, wherein the printer determines whether a printer setting value has been changed from an initial setting value. A setting change notifying means for notifying the processing device main body side; the processing device main body includes a storage device with a backup function for storing print target data; and a print data generation device for generating print data from the print target data. Means, and print instruction information set in the storage means, the print instruction information including an address of the print target data and transmission progress information indicating a progress of transmission processing of the print data created from the print target data to the printer is registered. A print management file, setting value changing means for changing the printer setting value at power-on, and completion of transmitting the print data to the printer. After completion, file information rewriting means for rewriting transmission progress information of the print management file; file information deletion means for deleting the print instruction information from the print management file after printing of the print data is completed; A printing time calculating means for calculating a printing time required from sending print data to printing completion based on the number of lines of data and the printing speed of the printer, and the printing time has elapsed since sending the print data. At the time, when the setting change notifying means indicates that it has not been changed from the initial setting value, the print data creating means transmits the print data from the print target data at the address registered in the print management file to the print data creating means. A merchandise sales registration device comprising retransmission instruction means for instructing re-creation and retransmission of the print data.
【請求項3】 前記再送指示手段の指示により印字デー
タをプリンタに再送する際に、印字データに再送である
ことを示すマークを付加することを特徴とする請求項1
または2記載の商品売上登録装置。
3. A print data re-send to a printer according to an instruction from said re-send instruction means, wherein a mark indicating re-send is added to the print data.
Or the product sales registration device according to 2.
【請求項4】 前記処理装置本体とプリンタとの間をパ
ラレル通信回線で接続し、前記設定変更通知手段とし
て、前記パラレル通信回線の内の1本の信号線を用い、
それに印加する電圧の高低でプリンタ設定値が初期設定
値から変更されたか否かを通知するようにしたことを特
徴とする請求項2または3記載の商品売上登録装置。
4. The processing device main body and a printer are connected by a parallel communication line, and one signal line of the parallel communication line is used as the setting change notification means.
4. The merchandise sales registration apparatus according to claim 2, wherein whether the printer setting value has been changed from the initial setting value is notified based on the level of the voltage applied thereto.
【請求項5】 前記処理装置本体とプリンタとの間をシ
リアル通信回線で接続し、前記設定変更通知手段とし
て、前記処理装置本体とプリンタとの間で取り交わすプ
ロトコルにおけるプリンタからの応答信号中にプリンタ
設定値の状態を示す情報を付加するようにしたことを特
徴とする請求項2または3記載の商品売上登録装置。
5. A processing device main body and a printer are connected by a serial communication line, and the setting change notifying means is included in a response signal from the printer in a protocol exchanged between the processing device main body and the printer. 4. The merchandise sales registration apparatus according to claim 2, wherein information indicating a state of the set value is added.
JP7788697A 1997-03-28 1997-03-28 Merchandise sales register Pending JPH10269459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7788697A JPH10269459A (en) 1997-03-28 1997-03-28 Merchandise sales register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7788697A JPH10269459A (en) 1997-03-28 1997-03-28 Merchandise sales register

Publications (1)

Publication Number Publication Date
JPH10269459A true JPH10269459A (en) 1998-10-09

Family

ID=13646564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7788697A Pending JPH10269459A (en) 1997-03-28 1997-03-28 Merchandise sales register

Country Status (1)

Country Link
JP (1) JPH10269459A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100308895B1 (en) * 1999-04-30 2001-09-26 윤종용 data protecting apparatus and methode of ECR
JP2012221046A (en) * 2011-04-05 2012-11-12 Sii Data Service Kk Order management system, control device and slip printing control method
US9554002B2 (en) 2015-05-11 2017-01-24 Kyocera Document Solutions Inc. Portable terminal and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100308895B1 (en) * 1999-04-30 2001-09-26 윤종용 data protecting apparatus and methode of ECR
JP2012221046A (en) * 2011-04-05 2012-11-12 Sii Data Service Kk Order management system, control device and slip printing control method
US9554002B2 (en) 2015-05-11 2017-01-24 Kyocera Document Solutions Inc. Portable terminal and method

Similar Documents

Publication Publication Date Title
EP1739538B1 (en) Operation request accepting apparatus and its control method, communication system and its operating method, computerreadable program and computerreadable storage medium
MXPA97003805A (en) System and method of communication with print
JP2002524804A (en) POS terminal device, method of controlling POS terminal device, system using POS terminal device, and information storage medium
EP0899700B1 (en) Sales management apparatus
JPH10269459A (en) Merchandise sales register
JP2000235674A (en) Pos system, method for controlling it and information storing medium
JP3756479B2 (en) POS system
JP2007102331A (en) Printing system and printing device
JP3480417B2 (en) Print data distribution system and printing device
JPH06131364A (en) Commodity sales data processor
JPH0589014A (en) Terminal equipment
JP2840171B2 (en) Information processing device
JPS637964A (en) Printer control apparatus of cash register
JPH07223347A (en) Printer device
JPH0691992A (en) Data processing device
JPH11309928A (en) Printer system
JPH08212079A (en) Image forming device
JP2997558B2 (en) Printer
JP2870302B2 (en) Computer system with operating status display
JP2591051Y2 (en) History information collection device in time clock
JPH07256985A (en) Server printer and printing controlling method
JP2001080144A (en) Output device, data processing apparatus, control method of output device, control method of data processing apparatus and memory medium storing computer readable program
JPH06195271A (en) Data processor
JPH0433031A (en) Electronic equipment with picture memory
JPH06344634A (en) Reprinting processing method