JPH0224772A - Input processor - Google Patents

Input processor

Info

Publication number
JPH0224772A
JPH0224772A JP63175437A JP17543788A JPH0224772A JP H0224772 A JPH0224772 A JP H0224772A JP 63175437 A JP63175437 A JP 63175437A JP 17543788 A JP17543788 A JP 17543788A JP H0224772 A JPH0224772 A JP H0224772A
Authority
JP
Japan
Prior art keywords
word
data
name
input
memory
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
JP63175437A
Other languages
Japanese (ja)
Inventor
Toshio Kashio
俊雄 樫尾
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 JP63175437A priority Critical patent/JPH0224772A/en
Priority to EP89110979A priority patent/EP0350653B1/en
Priority to DE68925003T priority patent/DE68925003T2/en
Publication of JPH0224772A publication Critical patent/JPH0224772A/en
Priority to US08/060,211 priority patent/US5369776A/en
Priority to US08/126,136 priority patent/US5438664A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To output data to a prescribed position even if a printing program is not formed by previously setting up the printing position of a specific word name out of word names corresponding to inputted word data. CONSTITUTION:Word data inputted from an input means 1 are stored in a data storage means 2 and word names corresponding to prescribed words out of the inputted word data are stored in a word information storage means 3. A specific word name out of the word names is previously specified at its printing position. When a word name is decided as the specific word name by a deciding means 4 at the time of printing out word data and its corresponding word name, an output control means 5 prints out both the specific word name and corresponding word data on a previously determined position. Thereby, data can be simply printed out on a prescribed position without forming a complex printing program.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、伝票データ等を入力する入力処理装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input processing device for inputting slip data and the like.

[発明の概要] この発明は、予め記憶されている複数のワー1からなる
少なくともルコード分のワードデータを対応するワード
名と共に出力する際に、そのワード名が特定ワード名で
ある場合には、この特定ワード名に対応するワードデー
タを特定ワード名と共に予め決められた位置に出力する
ようにしたものである。
[Summary of the Invention] The present invention provides a method for outputting word data for at least two codes consisting of a plurality of words 1 stored in advance together with a corresponding word name, and when the word name is a specific word name, The word data corresponding to this specific word name is outputted to a predetermined position together with the specific word name.

[従来の技術] 従来、入力端末機等を用いて伝票データを入力する場合
には、キーボードからのコマンド入力によって伝票入力
プログラムを起動させたのち、そのプログラムの記述内
容にしたがってデータを順次入力することによって行っ
ていた。
[Prior Art] Conventionally, when inputting slip data using an input terminal, etc., a slip input program is started by inputting a command from a keyboard, and then data is sequentially input according to the contents of the program. I was going by that.

[発明が解決しようとする課題] しかしながら、上述のようにして入力した伝票データを
印字する為には伝票入力プログラムに対応する伝票印字
プログラムを作成しておかなくてはならず、更にこの種
の伝票印字プログラムは所謂プログラム言語で記述され
、各伝票データ毎にその印字位置指定までもプログラム
言語で記述することは、プログラム作成に多大の労力を
必要とし、一般のユーザが作成するのは困難であり、ま
たプログラムの変更も容易ではなかった。
[Problems to be Solved by the Invention] However, in order to print the slip data input as described above, it is necessary to create a slip printing program that corresponds to the slip input program. The slip printing program is written in a so-called programming language, and writing the print position specification for each slip data in the programming language requires a lot of effort to create the program, and it is difficult for general users to create it. However, it was not easy to change the program.

この発明の課題は、複雑なプログラム言語によってデー
タの印字位置指定等を記述しておかなくても、簡単に伝
票データ等を所定位置に出力することができる入力処理
装置を提供することにある。
An object of the present invention is to provide an input processing device that can easily output slip data and the like to a predetermined position without having to specify the printing position of data in a complicated programming language.

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

入力手段1(第1図の機能ブロック図を参照、以下同じ
)は、伝票データ等を入力するキーボード等である。
The input means 1 (see the functional block diagram in FIG. 1, the same applies hereinafter) is a keyboard or the like for inputting slip data and the like.

データ記憶手段2は複数のワードからなる少なくともル
コード分のワードデータを記憶する伝票データ入力用の
ランダム・アクセス・メモリ等である。
The data storage means 2 is a random access memory for inputting slip data which stores word data for at least one code consisting of a plurality of words.

ワード情報記憶手段3は所定ワードに対応してそのワー
ド名を記憶する。
The word information storage means 3 stores word names corresponding to predetermined words.

判別手段4はワード情報記憶手段3から読み出されたワ
ード名が特定ワード名であるか否かを判別する。この判
別はデータ記憶手段2から読み出されたワードデータに
対応するワード名をワード情報記憶手段3より読み出し
、このワードデータをワード名と共に印字、表示等によ
って出力する際に行われる。
The determining means 4 determines whether the word name read from the word information storage means 3 is a specific word name. This determination is performed when reading out the word name corresponding to the word data read out from the data storage means 2 from the word information storage means 3 and outputting this word data together with the word name by printing, displaying, etc.

出力制御手段5はこの判別手段4で特定ワード名である
と判別された際、この特定ワード名に対応するワードデ
ータを特定ワード名と共に予め決められた位置に出力さ
せる。
When the discrimination means 4 determines that the word is a specific word name, the output control means 5 outputs word data corresponding to the specific word name to a predetermined position together with the specific word name.

[作 用] 次に、この発明の手段の作用について説明する。[Work] Next, the operation of the means of this invention will be explained.

いま、伝票データを印字出力する場合、データ記憶手段
2には伝票データとして複数のワードからなる少なくと
もルコード分のワードデータが記憶され、また、ワード
情報記憶手段3には所定ワードに対応してそのワード名
が記憶されているものとする。
When invoice data is to be printed out, the data storage means 2 stores word data for at least two codes consisting of a plurality of words as the invoice data, and the word information storage means 3 stores word data corresponding to a predetermined word. It is assumed that the word name is memorized.

この状態において、データ記憶手段2から読み出された
ワードデータに対応するワード名をワード情報記憶手段
3より読み出し、このワードデータをワード名と共に印
字出力する際に、判別手段4でワード情報記憶手段3か
ら読み出されたワード名が特定ワード名、例えば「売上
光」等であることが判別された場合、出力制御手段5は
この特定ワード名に対応するワードデータを特定ワード
名と共に予め決められた位置、例えば伝票のヘッダ一部
分等に印字出力させる。
In this state, the word name corresponding to the word data read out from the data storage means 2 is read out from the word information storage means 3, and when this word data is printed out together with the word name, the word information storage means When it is determined that the word name read from 3 is a specific word name, such as "Sales Hikari", the output control means 5 outputs the word data corresponding to this specific word name together with the specific word name. The information is printed out at a location such as a part of the header of the slip.

したがって、単に所定ワードに対応して特定ワード名を
記述するだけで、そのワードの出力位置までも指定する
ことができるので、複31なプログラム言語によってデ
ータの印字位置指定等を記述しておかなくても、簡単に
伝票データ等を所定位置に出力−することができる。
Therefore, by simply writing a specific word name corresponding to a given word, you can also specify the output position of that word, so there is no need to write the data print position specification etc. in multiple programming languages. However, the slip data etc. can be easily output to a predetermined position.

[実施例] 以下、第2図〜第7図を参照して一実施例を説明する。[Example] Hereinafter, one embodiment will be described with reference to FIGS. 2 to 7.

族−虞 第2図は印字装置を備えたハンディタイプの入力端末機
を示した外観図である。この端末機本体11の前面部に
はキーボード12および表示パネル13が設けられ、ま
た−側部にはパワースイッチPWSWが設けられている
。ここで、キーボード12上のモードスイッチMDSW
は、その切換位置に対応して入力モード、転送モード、
登録毛−ドを選択する。なお、上記「入力モード」は伝
票データの入力を行うモード、「転送モード」は入力さ
れた伝票データを外部機器(ホストコンピュータ等)に
転送するモード、「登録モード」は、伝票データを構成
する各ワードに対応してその処理内容を定義する設定情
報を所定メモリに登録するモードである。また、キーボ
ード12上にはテンキーAK、小数点キーBK、クリア
キーCK等の他、lツー1分のデータを入力する毎に操
作されるワード区切キーDK、伝票指定キーEK、ルコ
ード分のデータを入力する毎に操作されるレコード区切
キーFK、伝票データを全て入力し終ったときに操作さ
れる入力終了キーGKおよび伝票データの印字を指定す
る印刷キーHKが設けられている。また、表示パネル1
3は文字、数字等をドツトマトリックス表示するワード
ラベル表示部13−1およびワードデータ表示部13−
2を有する構成となっている。また、端末機本体11に
は印字装置14が設けられている。
FIG. 2 is an external view of a hand-held input terminal equipped with a printing device. A keyboard 12 and a display panel 13 are provided on the front side of the terminal main body 11, and a power switch PWSW is provided on the negative side. Here, mode switch MDSW on keyboard 12
corresponds to the switching position, input mode, transfer mode,
Select the registered hair. Note that the above "input mode" is a mode for inputting slip data, "transfer mode" is a mode for transferring input slip data to an external device (host computer, etc.), and "registration mode" is a mode for configuring slip data. This is a mode in which setting information defining the processing contents corresponding to each word is registered in a predetermined memory. In addition, on the keyboard 12, in addition to the numeric keypad AK, decimal point key BK, clear key CK, etc., the word separator key DK, slip designation key EK, and le code data, which are operated every time data for 1 to 1 is input, are displayed. There are provided a record separator key FK that is operated each time input is made, an input end key GK that is operated when all slip data has been input, and a print key HK that specifies printing of the slip data. In addition, display panel 1
3 is a word label display section 13-1 and a word data display section 13-1 that display letters, numbers, etc. in a dot matrix.
2. Further, the terminal main body 11 is provided with a printing device 14 .

この印字装置14は伝票データ等を所定のフォーマット
で印字出力するものである。更に、端末機本体11の裏
側には図示しないが、外部機器との間でデータの送受を
光信号によって行う為の送受信部が設けられている。
This printing device 14 prints out slip data and the like in a predetermined format. Further, although not shown, a transmitting/receiving section is provided on the back side of the terminal main body 11 for transmitting and receiving data with an external device using optical signals.

第3図はこの入力端末機の基本的な構成を示すブロック
回路図である。
FIG. 3 is a block circuit diagram showing the basic configuration of this input terminal.

入力処理部21は予め格納されている伝票データの入力
処理プログラムにしたがって伝票データの入力処理を制
御する。
The input processing unit 21 controls the input processing of slip data according to a pre-stored slip data input processing program.

即ち、入力処理部21はワード設定メモリ22に予め設
定されている所定伝票の各ワードに対応してその処理内
容を定義する設定情報を順次読み出す、この場合、入力
部23から仮積No(伝票の種類を示す伝票ナン/りが
入力されることによって指定された仮積の指定情報がワ
ード設定メモリ22から読み出される。ここで、入力処
理部21はワード設定メモリ22から読み出した設定情
報が入力部23からデータを入力すべきことを定義する
場合には、データ入力待ち状態となり、その他の処理ワ
ードを定義する場合には参照メモリ24等を用いてワー
ドデータを作成する。そして、入力処理部21はデータ
入力待ち状態において、ワード区切キーDKの操作に応
答して入力部23からその区切指令が入力されると、そ
れまでに入力部23から順次入力されたデータを記憶保
持する入力メモリ25内のデータを1ワ一ド分のデータ
として取り込む、そして、入力処理部21は人力メモリ
25から取り込んだ入力データあるいは参照メモリ24
を用いて作成した作成データを表示部26に表示させる
と共に、データメモリ27に古き込む。
That is, the input processing unit 21 sequentially reads setting information that defines the processing content corresponding to each word of a predetermined slip preset in the word setting memory 22. In this case, the input processing unit 21 reads out the provisional product number (slip When the slip number indicating the type of is input, the designation information of the specified provisional product is read out from the word setting memory 22. Here, the input processing unit 21 inputs the setting information read out from the word setting memory 22. When defining that data should be input from the input processing section 23, the state enters a data input waiting state, and when defining other processing words, word data is created using the reference memory 24 etc. Then, the input processing section Reference numeral 21 denotes an input memory 25 which stores and holds the data sequentially inputted from the input section 23 up to that point when a delimitation command is input from the input section 23 in response to the operation of the word delimiter key DK in a data input waiting state. The input processing unit 21 imports the data in the input data from the manual memory 25 or the reference memory 24 as data for one word.
The created data created using the above is displayed on the display unit 26 and is also stored in the data memory 27.

なお、参照メモリ24は索引テーブルA、B、C,Dを
有し、本実施例においてこ索引テーブルAは売上光コー
ドに対応して種々の売上先名を、索引テーブルBは所属
コードに対応して種々の所属名を、索引テーブルCは担
当者コードに対応して種々の担当者名を、索引テーブル
Dは製品コードに対応して種々の製品名を記憶する。更
に、この参照メモリ24には現在の年月日が記憶されて
いる他、伝票動等のコンソール用のデータが記憶されて
いる。
Note that the reference memory 24 has index tables A, B, C, and D. In this embodiment, index table A corresponds to various sales destination names corresponding to sales light codes, and index table B corresponds to affiliation codes. The index table C stores various personnel names corresponding to the personnel code, and the index table D stores various product names corresponding to the product code. Further, the reference memory 24 stores the current year, month, and day, as well as data for the console such as slips.

送信/受信処理部28はモードスイッチMDSWを転送
モードにセットすることによって入力部23からの送信
/受信指令に応答して起動し、データメモリ27の内容
を読み出して送受信部29から光信号等によってホスト
コンピュータ等に送信する。この場合、ホストコンピュ
ータ等から肯定応答を送受信部29を介して受信する毎
に送信/受信処理部28はデータメモリ27内のデータ
を順次送信する。また、モードスイッチMDSWを登録
モードに設定して、外部機器より設定情報を受信してワ
ード設定メモリ22へ登録する。
The transmission/reception processing unit 28 is activated in response to a transmission/reception command from the input unit 23 by setting the mode switch MDSW to the transfer mode, reads out the contents of the data memory 27, and receives an optical signal from the transmission/reception unit 29. Send to host computer, etc. In this case, the transmission/reception processing section 28 sequentially transmits the data in the data memory 27 every time an acknowledgment is received from the host computer or the like via the transmission/reception section 29. Further, the mode switch MDSW is set to the registration mode, and setting information is received from an external device and registered in the word setting memory 22.

印字処理部30は予め格納されている伝票印字プログラ
ムにしたがって印字処理を制御する。即ち、データの入
力に先だって印刷キーHKが操作されていれば入力処理
部21は入力部23からの入力終了キーGKに応答して
印字処理部30を動作状態にし、データメモリ27から
ワードデータを順次読み出すと共に、読み出したワード
データを一定条件下で印字部31にセットされている記
録紙に印字出力させる。ここで、印字処理部3゜はデー
タメモリ27から読み出したワードデータにワード名が
記述されているか否かを判別し、その結果、ワード名が
記述されているワードデータが読み出された場合にその
ワードデータおよび対応するワード名等を印字出力させ
る。
The print processing section 30 controls printing processing according to a pre-stored slip printing program. That is, if the print key HK is operated prior to inputting data, the input processing section 21 turns the print processing section 30 into an operating state in response to the input end key GK from the input section 23, and reads the word data from the data memory 27. While sequentially reading out the word data, the read word data is printed out on recording paper set in the printing unit 31 under certain conditions. Here, the print processing unit 3° determines whether or not a word name is written in the word data read out from the data memory 27, and as a result, if word data in which a word name is written is read out, The word data and the corresponding word name are printed out.

第4図はワード設定メモリ22の設定内容の一部を示し
、ワード設定メモリ22には1伝票分のメモリエリアと
して見出し領域KY、ヘッダー領域HD、アイテム領域
ATを有し、その記憶内容はユーザーによって任意に書
き込まれたものである。そして、見出し領域KYは伝票
の見出しデータとして仮積ナンバ、仮積名、当方名、ア
イテム数が記憶されている。また、ヘッダー領域HDお
よびアイテム領域ATは、lレコードの各ワードナンバ
に夫々対応してワードの処理内容を定義するワード内容
が記憶されていると共に、所定のワードに対応してその
ワード名やエンドラベルカ記憶されている。
FIG. 4 shows a part of the setting contents of the word setting memory 22. The word setting memory 22 has a heading area KY, a header area HD, and an item area AT as memory areas for one slip, and the stored contents are user-friendly. It was arbitrarily written by. In the heading area KY, the tentative stacking number, tentative stacking name, party's name, and number of items are stored as heading data of the slip. In addition, the header area HD and the item area AT store word contents that define the processing content of the word corresponding to each word number of the l record, and also store the word name and end number corresponding to a predetermined word. Belka is remembered.

ここで、ワード内容を定義する入力ワードとその他の処
理ワードは次の如く記述されている。
Here, the input word and other processing words that define the word content are described as follows.

ra」・・・・・・入力ワードを示し、入力部23から
ワードデータを入力すべきことを定義する。
ra”...Indicates an input word and defines that word data should be input from the input unit 23.

「b」・・・・・・索引ワードを示し、参照メモリ24
内の索引テーブルA、B、C,Dの何れかを用いてワー
ドデータを作成すべきことを定義する。
"b"...Indicates an index word, reference memory 24
It is defined that word data should be created using any of the index tables A, B, C, and D in the table.

「C1」・・・・・・年月日ワードを示し、参照メモリ
24から年月日を呼び出すことを定義する。
"C1"... Indicates the year, month, and day word, and defines that the year, month, and day are to be retrieved from the reference memory 24.

rdJ・・・・・・定数ワードを示し、以下に記述され
た売掛金コードや売上コード等をそのまま入力すること
を定義する。
rdJ... Indicates a constant word, and defines that the accounts receivable code, sales code, etc. described below are input as they are.

reJ・・・・・・集計ワードを示し、アイテム金額の
集計演算を行うべきことを定義する。
reJ... Indicates a tally word and defines that a tally calculation of the item amount should be performed.

「×」・・・・・・計算ワードを示し、単価×数量等の
演算を行うべきことを定義する。
"×"... Indicates a calculation word, and defines that calculations such as unit price x quantity should be performed.

「〜」・・・・・・結合ワードを示し、所属コードと担
当者コード等を結合すべきことを定義する。
"~"... Indicates a combination word and defines that the affiliation code, person in charge code, etc. should be combined.

その他、「I」はlレフ−1分のアイテムの開始、「E
」はその終了を定義する。なお、rAJ、rBJ、rc
J、rDJは参照メモリ24内の索引テーブルA、B、
C,Dを指定する。
In addition, "I" is the start of an item of 1 ref - 1 minute, "E"
” defines its termination. In addition, rAJ, rBJ, rc
J, rDJ are index tables A, B, in the reference memory 24.
Specify C and D.

灸−詐 いま、ワード設定メモリ22に伝票のワード内容が第4
図に示す如く定義されているものとする。
Moxibustion - Fraud, the word content of the slip is in the word setting memory 22.
It is assumed that the definitions are as shown in the figure.

先ず、第4図に示す伝票を指定する為に、テンキーAK
i:操作して仮積ナンバr12(Nを置数したのち、伝
票指定キーEKを操作する。
First, in order to specify the slip shown in Figure 4, use the numeric keypad AK.
i: Operate to enter temporary product number r12 (N, then operate slip designation key EK.

これによって、伝票データの入力処理プログラムが起動
され、入力処理部21は第5図のフローチャートにした
がった動作を実行する。
As a result, the slip data input processing program is activated, and the input processing section 21 executes operations according to the flowchart of FIG.

先ず、入力指定された仮積ナンバに該当する仮積をワー
ド設定メモリ22から検索し、これによって検索された
指定仮積の先頭ワードをアドレス指定すると共に(ステ
ップAl)、それに対応するワード内容を読み出す(ス
テップA2)、そして、読み出したワード内容がアイテ
ム終了ワードrEJか否かをチエツクする(ステップA
3)。
First, the word setting memory 22 is searched for the tentative product corresponding to the input designated tentative product number, and the first word of the designated tentative product thus searched is specified as an address (step Al), and the contents of the corresponding word are specified. (Step A2), and checks whether the read word content is the item end word rEJ (Step A2).
3).

最初、アイテム終了ワードrEJは読み出されないので
、ステップA4に進み、今度は入力ワードraJである
か、その他の処理ワードであるかをチエツクする。いま
、仮積ナンバr120Jの仮積を指定したので、その先
頭ワード、即ち、ワードナンバ「01」で示されるヘッ
ダー領域HDから処理ワードとしての年月日ワード「C
1」が読み出される。このように処理ワードが読み出さ
れた場合にはそれによって定義された処理を行う為に、
ステップA9は処理ワードの種別、即ち、処理ワードが
索引ワードか否かをチエツクする。
At first, the item end word rEJ is not read out, so the process proceeds to step A4, where it is checked whether it is the input word raJ or another processing word. Now, since we have specified the tentative product with the tentative product number r120J, the year, month, and day word "C
1" is read out. When a processing word is read in this way, in order to perform the processing defined by it,
Step A9 checks the type of the processed word, ie, whether the processed word is an index word.

ここで、索引ワードrbJであれば、索引ワードrb4
に応じた処理を行うが(ステップA10)、索引ワード
rbJを除く他の処理ワードであればステップAllに
進み、それに応じた処理を行う、いま、年月日ワード「
C1」が読み出されたので、参照メモリ24から現在の
年月日が読み出される。そして、ステップA7に進み、
参照メモリ24から読み出したワードデータ(年月日)
をワードナンバ「01」のデータとしてデータメモリ2
7のアドレスエリアに書き込んで、それを記憶配置する
。続いて、ステップ八8に進み、ワード設定メモリ22
の次のワードをアドレス指定したのち、ステップA2に
戻る。
Here, if the index word rbJ, then the index word rb4
(step A10), but if it is a word to be processed other than the index word rbJ, the process proceeds to step All, and the corresponding processing is performed.
Since "C1" has been read out, the current date is read out from the reference memory 24. Then, proceed to step A7,
Word data read from reference memory 24 (year, month, and date)
data memory 2 as word number “01” data.
Write it to address area 7 and store it. Next, the process proceeds to step 88, where the word setting memory 22
After addressing the next word, the process returns to step A2.

これによって、今度はワード設定メモリ22から入力ワ
ードraJが読み出されるので、ステップA4でそのこ
とが検出されてステップA5に進み、それに対応するワ
ード名をワード設定メモリ22から読み出して表示部2
6に送り、そのワードラベル表示部13−1に表示させ
る。そして、ワードデータが入力部23から入力される
まで入力待機状態となる(ステップA6)、いま、ワー
ドラベル表示部13−1にはワード設定メモリ22から
読み出されたワードナンバ「02」に対応するワード名
「伝票崩」が表示されており、それを目視確認して入力
部23から伝票ナンバをテンキーAKによって入力した
のち、ワード区切キーDKを操作する。すると、入力処
理部21は入力メモリ25に記憶保持されているワード
データをワード区切りKの操作に応答して取り込み、入
力処理部21に送ってそのワードデータ表示部13−2
に表示させる。そして、ステップA7に進み、入力メモ
リ25かち取り込んだワードデータをワードナンバ「0
2」のデータとしてデータメモリ27のアドレスエリア
に書き込んで、それを記憶配置する。その後、ステップ
八8に進み、次のワード指定を行ってステップA2に戻
る。
As a result, the input word raJ is read out from the word setting memory 22, so this is detected in step A4 and the process proceeds to step A5, where the corresponding word name is read out from the word setting memory 22 and displayed on the display section 2.
6 and displayed on the word label display section 13-1. The input standby state is entered until word data is input from the input section 23 (step A6). The word label display section 13-1 now corresponds to the word number "02" read out from the word setting memory 22. The word name "slip collapse" is displayed, and after visually confirming it and inputting the slip number from the input section 23 using the numeric keypad AK, the word separator key DK is operated. Then, the input processing section 21 takes in the word data stored in the input memory 25 in response to the operation of the word delimiter K, sends it to the input processing section 21, and displays the word data in the word data display section 13-2.
to be displayed. Then, the process proceeds to step A7, and the word data taken into the input memory 25 is transferred to the word number "0".
2" in the address area of the data memory 27 and store and arrange it. Thereafter, the process proceeds to step 88, where the next word is designated, and the process returns to step A2.

これによって、次にワード設定メモリ22からワードナ
ンバ「03」に対応する入力ワードraJを読み出して
それに対応するワード名を表示させるが(ステップA5
)、この場合、当該ワードにはワード名が記憶されてい
ないので、このような場合には、次のワードに記憶され
ているワード名、つまり「売上先」を読み出して表示さ
せる。そして、上述の場合と同様にワードデータの入力
待ち状態となる(ステップA6)、いま、売上先コード
を入力すると、ステップA7に進み、入力された売上先
コードをワードナンバ「O3」のデータとしてデータメ
モリ27のアドレスエリアに書き込まれる。そして、ス
テップA8に進んで、次のワード指定を行ったのちステ
ップA2に戻る。
As a result, the input word raJ corresponding to the word number "03" is then read out from the word setting memory 22 and the corresponding word name is displayed (step A5).
), in this case, since no word name is stored in the word, in such a case, the word name stored in the next word, that is, "sales destination" is read out and displayed. Then, as in the case described above, the state waits for input of word data (step A6). If the customer code is input now, the process advances to step A7, where the input customer code is set as the data of word number "O3". The data is written to the address area of the data memory 27. Then, the process advances to step A8, where the next word is designated, and then the process returns to step A2.

すると、ワード設定メモリ22からワードナンバ「04
」のワード内容(索引ワード)が読み出されるので、ス
テップA9でそのことが検出されてステップAlO4:
進み、それに応じた索引処理を行う、いま、rb03:
AJによって定義されている索引ワードは、参照メモリ
24の索引テーブルAをその前のワードナンバ「03」
の入力処理によってデータメモリ27に記憶されている
売上先コードを読み出して索引すべきことを示し、それ
に応じて索引テーブルAから読み出したワードデータを
表示部26に送ってそのワードデータ表示部13−2に
表示させる。そして、ステップA7に進み、このワード
データをワードナンバ「04」のデータとしてデータメ
モリ27に書き込む、そして、ステップA8に進み5次
のワード指定を行ってステップA2に戻る。
Then, the word number “04” is read from the word setting memory 22.
Since the word content (index word) of " is read out, this is detected in step A9 and step AlO4:
Proceed and perform index processing accordingly, now rb03:
The index word defined by AJ stores the index table A in the reference memory 24 with the previous word number "03".
The input process reads out the customer code stored in the data memory 27 and indicates that it should be indexed, and accordingly, the word data read from the index table A is sent to the display section 26 and the word data display section 13- Display on 2. Then, the process proceeds to step A7, where this word data is written into the data memory 27 as word number "04" data, and then, the process proceeds to step A8, where the fifth word is designated, and the process returns to step A2.

以下、同様にワード設定メモリ22から順次ワード内容
を読み出してこのワード内容が入力ワードかその他の処
理ワードかをチエツクし、それに応じた処理を実行しな
がらデータメモリ27にワードデータの書き込みを行う
、尚、ワード内容としてe(集計ワード)を検出した場
合は、ステップAll、A7の処理は行なわず、次のス
テップ八8の処理を行う、これによって、ヘッダーに対
する処理が終ると1次にアイテムに対する処理に移る。
Thereafter, in the same way, the word contents are sequentially read from the word setting memory 22, checking whether the word contents are an input word or another processing word, and writing the word data to the data memory 27 while executing the corresponding processing. If e (total word) is detected as the word content, steps All and A7 are not performed, and the next step 88 is performed.As a result, once the header processing is completed, the primary item processing is performed. Move on to processing.

しかして、ワード設定メモリ22からルコード分のアイ
テム終了ワード「E」が読み出されると、ステップA4
でそのことが検出されてステップA12に進み、キー人
力待ち状態となる。いま、lレフ−1分のアイテムに対
する処理が終了したので、レコード区切キーFKを操作
する。すると、ステップA13に進み、データメモリ2
7内のへラダーデータを次のレコードのへラダーデータ
としてデータメモリ27の所定位置にコピーする。そし
て、ステップAI4に進み、当該レコードアイテムの先
頭ワードを指定したのち、ステップA2に戻る。この結
果、ルコード分のアイテムに対して同様の処理が行われ
る。
When the item end word "E" for the code is read out from the word setting memory 22, step A4
When this is detected, the process proceeds to step A12, and enters a key human power waiting state. Now, since the processing for the item of 1 ref-1 has been completed, operate the record separator key FK. Then, the process advances to step A13, where the data memory 2
The ladder data in 7 is copied to a predetermined position in the data memory 27 as the ladder data of the next record. Then, the process proceeds to step AI4, where the first word of the record item is specified, and then the process returns to step A2. As a result, similar processing is performed on the items corresponding to the code.

そして、全レコードに対する処理が終ったら終了キーG
Kを操作する。すると、ステップA12からステップA
15に進み、集計ワードreJがワード設定メモリ22
に記憶されているか否かをチエツクする。この場合、指
定されている仮積のの先頭ワードからワード設定メモリ
22内のワード内容を順次サーチしてゆく、ここで、集
計ワードreJはワードナンバ「09」の対応位置に記
憶されているので、次のステップA16に進み、集計処
理を行う、いま、集計ワードreJは金額を集計すべき
ことを定義しているので、各レコードアイテムの金額を
データメモリ27から順次読み出してその合計を求め、
その結果をワードナンバ「09」のデータとしてデータ
メモリ27に書き込む。
Then, when processing for all records is finished, press the exit key G.
Operate K. Then, step A12 to step A
15, the total word reJ is stored in the word setting memory 22.
Check whether it is stored in . In this case, the contents of the words in the word setting memory 22 are sequentially searched from the first word of the specified tentative product. , Proceed to the next step A16 and perform aggregation processing. Now, since the aggregation word reJ defines that amounts are to be aggregated, the amounts of each record item are sequentially read from the data memory 27 and the total is calculated,
The result is written into the data memory 27 as word number "09" data.

次のステップA18では、データの入力に先だって印刷
キーHKが操作されていたことを示す印刷指定フラグが
印字処理部30内に有るか否かを検出し、印刷指定フラ
グが有ればステップA19の処理を実行する。このステ
ップA19の詳細な処理動作は第6図に示す、即ち、伝
票印字プログラムが起動され、印字処理部30は第6図
のフローチャートにしたがった動作を実行する。
In the next step A18, it is detected whether or not there is a print designation flag in the print processing unit 30, which indicates that the print key HK was operated prior to inputting the data, and if there is a print designation flag, step A19 is performed. Execute processing. The detailed processing operation of step A19 is shown in FIG. 6. That is, the slip printing program is activated, and the print processing section 30 executes the operation according to the flowchart of FIG.

先ず、指定された仮積に対応するワード設定メモリ22
内の設定データを指定しくステップBl)、その設定デ
ータの中から仮積名を読み出してその印字を行う(ステ
ップB2)、続いて、指定された仮積の設定データの中
から特定ワード名(例えば、「売上光」)をワード設定
メモリ22から検索する(ステップB3)、これによっ
て検索された特定ワード名に対応するワードデータをデ
ータメモリ27から読み出しくステップB4)、予め決
められている位置にこのワードデータを対応するワード
名と共に印字する(ステー2プB5)、更に、「当方名
」をワード設定メモリ22から読み出して印字する(ス
テップB6)。
First, the word setting memory 22 corresponding to the specified temporary product
(step B1), reads out the temporary name from the setting data and prints it (step B2), then reads the specific word name ( For example, "Sales Hikari") is searched from the word setting memory 22 (step B3), word data corresponding to the searched specific word name is read from the data memory 27 (step B4), and a predetermined position is searched. This word data is printed together with the corresponding word name (Step 2 B5), and further, "my name" is read out from the word setting memory 22 and printed (Step B6).

これによって、伝票の見出し部分には、「伝票名」や「
当方名」の他、特定ワード名「売上光」と共にそのワー
ドデータ「売上先名」が見出しデータとして第7図に示
す如く印字される。
As a result, the header section of the slip will contain "slip name" and "
In addition to "Our name", the specific word name "Sales Hikari" and the word data "Sales destination name" are printed as heading data as shown in FIG. 7.

このように、見出しデータを印字する際には、ワード設
定メモリ22の見出し領域KYを除く他の領域、つまり
、ヘッダー領域HDやアイテム領域ATの中から特定ワ
ード名を検索し、これを対応するワードデータと共に伝
票の見出し部分に印字するので、特定ワード名がヘッダ
ー領域HDやアイテム領域ATに記憶されていてもその
ワードの印字位置は固定され、見出し部分の2行目とな
る。
In this way, when printing heading data, a specific word name is searched for in areas other than the heading area KY of the word setting memory 22, that is, the header area HD and the item area AT, and the corresponding word name is searched for. Since it is printed in the heading part of the slip together with the word data, even if the specific word name is stored in the header area HD or item area AT, the printing position of that word is fixed and becomes the second line of the heading part.

次に、ヘッダーデータおよび各アイテムデータを一定の
条件下で印字する為に、先ず、ワード設定メモリ22内
の先頭ワード、つまり、指定仮積の先頭ワードを指定し
ておく(ステップB7)。
Next, in order to print the header data and each item data under certain conditions, first, the first word in the word setting memory 22, that is, the first word of the designated temporary product is specified (step B7).

そして、指定ワードに対応するワード内容をワード設定
メモリ22から読み出しくステップB8)、それがアイ
テム終了ワードrEJか否かをチエツクする(ステップ
B9)、ここで、アイテム終了ワードでなければ、それ
に対応するワード名をワード設定メモリ22から読み出
しくステップBIO)、  ワード名の記述有無をチエ
ツクする(ステップB11)、この結果、指定ワードに
対応してワード名が記述されていれば、このワード名が
上述した特定ワード名であるか否かをチエツクする(ス
テップ812)、最初は、「年月日」のワード名が読み
出され、上述した2条件(ステップB11.B12)を
満足する為、指定ワードに対応するワードデータをデー
タメモリ27から読み出しくステップB13)、このワ
ードデータをワード設定メモリ22から読み出したワー
ド名およびエンドラベルと共に印字する(ステウプB1
4)、なお、この場合、エンドラベルは記述されていな
いので、その印字は行われないやそして、次のステップ
815に進み、次のワード指定を行ったのちステップB
8に戻る。
Then, the word content corresponding to the specified word is read from the word setting memory 22 (step B8), and it is checked whether it is the item end word rEJ (step B9). If it is not the item end word, the corresponding The word name to be specified is read from the word setting memory 22 (Step BIO), and the presence or absence of a word name written is checked (Step B11). As a result, if a word name is written corresponding to the specified word, this word name is It is checked whether it is the specific word name mentioned above (step 812). Initially, the word name "year, month, day" is read out, and since it satisfies the two conditions mentioned above (steps B11 and B12), it is not specified. The word data corresponding to the word is read from the data memory 27 (step B13), and this word data is printed together with the word name and end label read from the word setting memory 22 (step B1).
4) In this case, since the end label is not written, its printing is not performed, and the process proceeds to the next step 815, and after specifying the next word, the process proceeds to step B.
Return to 8.

これによって1次にワード設定メモリ22からは入力ワ
ードra4が読み出される(ステップB8)、この場合
、指定ワードにはそのワード名「伝票陥Jが記述されて
いるので、そのワードデータと共にワード名の印字が行
われることは上述の場合と同様である。
As a result, the input word ra4 is read out from the primary word setting memory 22 (step B8). In this case, since the word name "slip defect J" is written in the designated word, the word name is written together with the word data. Printing is performed in the same way as in the above case.

そして、次にワードナンバ「03」に対応するワードが
指定されるが、この場合、ワード名は記述されていない
ので、ステップBllでそのことが検出されてステップ
815に進む為、そのワード印字は行われない、即ち、
この場合のワード内容は売上先コードを入力すべきこと
を定義する入力ワードraJであって、データメモリ2
7内の対応ワードには単に売上先コードが記憶されてい
るだけであり、実際の売上売名は次のワードに記憶され
ている為、このような場合、予めワード名を記述しなけ
れば、その印字をキャンセルすることができる。そして
、次のワードナンバ「04」に対応するワードには、ワ
ード名「売上先」が記述されており、この場合、ステッ
プB12で特定ワード名であることが検出されてステッ
プB15に進む為、この場合においてもワード印字はキ
ャンセルされる。即ち、この「売上先」は特定ワード名
であり、既に見出しデータとして印字されているので1
重複印字を避ける為、この場合のワード印字をキャンセ
ルする。
Then, the word corresponding to the word number "03" is specified, but in this case, since the word name is not written, this is detected in step Bll and the process proceeds to step 815, so that the word is printed. Not done, i.e.
In this case, the word content is an input word raJ that defines that a sales destination code should be input, and the data memory 2
The corresponding word in 7 simply stores the sales destination code, and the actual sales name is stored in the next word, so in this case, if you do not write the word name in advance, the Printing can be canceled. Then, the word name "sales destination" is written in the word corresponding to the next word number "04", and in this case, in step B12, the specific word name is detected and the process proceeds to step B15. In this case as well, word printing is canceled. In other words, this "sales destination" is a specific word name and has already been printed as heading data, so 1
To avoid duplicate printing, cancel word printing in this case.

以下、同様の動作が1ワードずつ順次繰り返されること
によってヘッダーデータが1行ずつ印字される。
Thereafter, the header data is printed line by line by repeating the same operation word by word.

このようにしてヘッダーデータの印字が終ると、次にワ
ード設定メモリ22からアイテム開始ワード「I」が読
み出されるので、以降アイテムデータの印字が1行ずつ
行われる。
When the printing of the header data is completed in this manner, the item start word "I" is then read out from the word setting memory 22, so that the item data is printed line by line thereafter.

しかして、ワード設定メモリ22からアイテム終了ワー
ド「E」が読み出されると、ステップB9でそのことが
検出されてステップ816に進み、データメモリ27内
の全てのデータに対して上述の処理が終了したか否かを
チエツクする。ここで、終了していなければ、ステップ
B17に進み、ワード設定メモリ22内の次のアイテム
の先頭ワードを指示する。そして、ステップB8に戻り
、上述の動作がステップB16でデータ終了が検出され
るまで繰り返される。ステップ816でデータ終了が検
出されると次のステップB18で印刷フラグがリセット
されて全ての処理を終了する。
When the item end word "E" is read out from the word setting memory 22, this is detected in step B9 and the process proceeds to step 816, where the above-mentioned processing is completed for all data in the data memory 27. Check whether or not. Here, if the process has not been completed, the process advances to step B17, and the first word of the next item in the word setting memory 22 is designated. Then, the process returns to step B8, and the above-described operation is repeated until the end of data is detected in step B16. When the end of data is detected in step 816, the print flag is reset in the next step B18, and all processing ends.

なお、上記実施例は特定ワード名として「売上先」を示
したが、その他のワード名として「発注先」等であって
もよく、また、エンドラベル「様」、1円」等であって
もよく、その種類や文字数等は任意である。
In addition, although the above example shows "sales party" as a specific word name, other word names may be "order party", etc., or the end label "sama", "1 yen", etc. The type and number of characters are arbitrary.

また、上記実施例は特定ワード名に対応するワードデー
タを伝票の見出し部に印字出力するようにしたが、伝票
の最下部等であってもよく、またその印字位置を任意に
指定可能としてもよい。
Further, in the above embodiment, the word data corresponding to a specific word name is printed out in the header section of the slip, but it may be printed out at the bottom of the slip, or the printing position can be specified arbitrarily. good.

[発明の効果] この発明は、単に所定ワードに対応して特定ワード名を
記述するだけで、そのワードの出力位置までも指定する
ことができるので、複雑なプログラム言語によってデー
タの印字位置指定等を記述しておかなくても、簡単に伝
票データ等を所定位置に出力することができる。
[Effects of the Invention] This invention makes it possible to specify the output position of a given word simply by writing a specific word name corresponding to a given word, so it is possible to specify the print position of data using a complex programming language. It is possible to easily output slip data, etc. to a predetermined location without having to write the information in advance.

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

第1図はこの発明の機能ブロック図、第2図〜第7図は
実施例を示し、第2図は入力端末機の外観図、第3図は
その基本的な構成を示すブロック回路図、第4図は第3
図で示したワード設定メモリ22の設定内容の一部を示
した図、第5図は入力動作を示したフローチャート、第
6図は印刷動作を示したフローチャート、第7図は印字
状態を示した図である。 14・・・・・・印字装置、21・・・・・・入力処理
部、22・・・・・・ワード設定メモリ、23・・・・
・・入力部、27・・・・・・データメモリ、30・・
・・・・印字処理部、31・・・・・・印字部。
FIG. 1 is a functional block diagram of the present invention, FIGS. 2 to 7 show an embodiment, FIG. 2 is an external view of an input terminal, and FIG. 3 is a block circuit diagram showing its basic configuration. Figure 4 is the third
Figure 5 is a flowchart showing the input operation, Figure 6 is a flowchart showing the printing operation, and Figure 7 is the printing state. It is a diagram. 14... Printing device, 21... Input processing unit, 22... Word setting memory, 23...
...Input section, 27...Data memory, 30...
...Print processing section, 31... Printing section.

Claims (1)

【特許請求の範囲】 データを入力する入力手段と、 複数のワードからなる少なくとも1レコード分のワード
データを記憶するデータ記憶手段と、所定ワードに対応
してそのワード名を記憶するワード情報記憶手段と、 前記データ記憶手段から読み出されたワードデータに対
応するワード名を前記ワード情報記憶手段より読み出し
、このワードデータをワード名と共に出力する際に、前
記ワード情報記憶手段から読み出されたワード名が特定
ワード名であるか否かを判別する判別手段と、 この判別手段で特定ワード名であると判別された際、こ
の特定ワード名に対応するワードデータを特定ワード名
と共に予め決められた位置に出力させる出力制御手段と
、 を具備したことを特徴とする入力処理装置。
[Scope of Claims] An input means for inputting data, a data storage means for storing word data for at least one record consisting of a plurality of words, and a word information storage means for storing a word name corresponding to a predetermined word. and, when reading a word name corresponding to the word data read from the data storage means from the word information storage means and outputting this word data together with the word name, the word read from the word information storage means a discriminating means for discriminating whether a given name is a specific word name; An input processing device comprising: an output control means for outputting to a position; and an input processing device.
JP63175437A 1988-07-14 1988-07-14 Input processor Pending JPH0224772A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP63175437A JPH0224772A (en) 1988-07-14 1988-07-14 Input processor
EP89110979A EP0350653B1 (en) 1988-07-14 1989-06-16 Slip data processing apparatus
DE68925003T DE68925003T2 (en) 1988-07-14 1989-06-16 Document data processing system.
US08/060,211 US5369776A (en) 1988-07-14 1993-05-10 Apparatus for producing slips of variable length and having pre-stored word names, and wherein labels are added to word data thereon
US08/126,136 US5438664A (en) 1988-07-14 1993-09-23 Method and apparatus for producing slips of variable length and having user-defined word names and associated word data thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63175437A JPH0224772A (en) 1988-07-14 1988-07-14 Input processor

Publications (1)

Publication Number Publication Date
JPH0224772A true JPH0224772A (en) 1990-01-26

Family

ID=15996078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63175437A Pending JPH0224772A (en) 1988-07-14 1988-07-14 Input processor

Country Status (1)

Country Link
JP (1) JPH0224772A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5132200A (en) * 1989-09-25 1992-07-21 Fuji Xerox Co., Ltd. Electrophotographic photoreceptor with porous anodized Al layer and process for producing the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5132200A (en) * 1989-09-25 1992-07-21 Fuji Xerox Co., Ltd. Electrophotographic photoreceptor with porous anodized Al layer and process for producing the same

Similar Documents

Publication Publication Date Title
WO2000013123A1 (en) Method for managing inventory
JP2012079136A (en) Article sales data processing device
JPH0224772A (en) Input processor
JP3661313B2 (en) Correction processing device
JP3149108B2 (en) Input processing device
JPH0225349A (en) input processing device
JPH0225357A (en) Input processing device with printing device
JPH0224771A (en) Input processor
JP2893715B2 (en) Order data processing system
JPH0330893B2 (en)
JP2002324276A (en) Method and device for managing merchandise
JP2506098B2 (en) Transaction processor
US5369776A (en) Apparatus for producing slips of variable length and having pre-stored word names, and wherein labels are added to word data thereon
JPS61226875A (en) Transaction processor
JPH0836615A (en) Electronic registration device and transaction processing system including the same
JP2832936B2 (en) Customer management terminal
JPS59106073A (en) electronic register
KR200245139Y1 (en) Terminal for managing customers of delivery specialty store
JP2586065B2 (en) Data input device
JPH02288654A (en) Telephone order receiving method for mail order
JPS62164195A (en) POS terminal
JPH0256715B2 (en)
JPS62165297A (en) Sales data processing device with setting function
JP3187935B2 (en) Product information processing device
JPS5880761A (en) Data register of sold article