JPH0225357A - Input processing device with printing device - Google Patents

Input processing device with printing device

Info

Publication number
JPH0225357A
JPH0225357A JP63175438A JP17543888A JPH0225357A JP H0225357 A JPH0225357 A JP H0225357A JP 63175438 A JP63175438 A JP 63175438A JP 17543888 A JP17543888 A JP 17543888A JP H0225357 A JPH0225357 A JP H0225357A
Authority
JP
Japan
Prior art keywords
word
data
printing
item
input
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
JP63175438A
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 JP63175438A priority Critical patent/JPH0225357A/en
Priority to DE68925003T priority patent/DE68925003T2/en
Priority to EP89110979A priority patent/EP0350653B1/en
Publication of JPH0225357A publication Critical patent/JPH0225357A/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

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G5/00Receipt-giving machines
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q99/00Subject matter not provided for in other groups of this subclass

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

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

Description

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

[発明の概要] この発明は、複数アイテムによって構成されていると共
に、1アイテムが複数のワードから構成された伝票デー
タを印字する場合において、lアイテム分のデータを印
字した際あるいは複数アイテムからなる1ブロツク分の
データを印字した際にそれを自動的に検出してアイテム
の区切り印字を行ったり、ブロックの区切り印字を行う
ようにしたものである。
[Summary of the Invention] This invention provides a method for printing slip data that is composed of a plurality of items and one item is composed of a plurality of words. When one block of data is printed, it is automatically detected and printed to separate items or blocks.

[従来の技術] 従来、入力端末機等を用いて伝票データを入力する場合
には、キーボードからのコマンド入力によって伝票入力
プログラムを起動させたのち、そのプログラムの記述内
容にしたがってデータを順次入力することによって行っ
ていた。
[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. A slip printing program is written in a so-called programming language, and writing even the slip format, which is the printing form of the slip, in a programming language requires a great deal of effort to create the program, and it is difficult for general users to create it. Also, it was not easy to change the program.

この発明の課題は、複雑なプログラム言語によって伝票
フォーマット等を記述しておかなくても、見易い印字形
態で伝票データ等を印字することができる印字装置付き
入力処理装置を提供することにある。
An object of the present invention is to provide an input processing device with a printing device that can print slip data etc. in an easy-to-read print form without having to describe the slip format etc. in a complicated programming language.

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

データ記憶手段1a(第1図(A)の機能ブロック図を
参照、以下同じ)は、複数のワードからなるlアイテム
分のワードデータを複数アイテム記憶する伝票データ入
力用のランダム・アクセス・メモリ等である。
The data storage means 1a (see the functional block diagram of FIG. 1(A), the same applies hereinafter) is a random access memory for inputting slip data, etc., which stores word data for l items each consisting of a plurality of words. It is.

判別手段2aは伝票データの印字指令等に応答してデー
タ記憶手段1aから順次読み出されたワードデータが1
アイテムの最終ワードデータであるか否かを判別する。
The determining means 2a determines whether the word data sequentially read from the data storage means 1a in response to a print command of slip data, etc.
Determine whether it is the final word data of the item.

印字手段3aはデータ記憶手段1aから読み出されたワ
ードデータを順次印字すると共に、判別手段2aで最終
ワードデータであると判別された際に破線等によって識
別可能にアイテムの区切り印字を行うサーマルプリンタ
等である。
The printing means 3a is a thermal printer that sequentially prints the word data read from the data storage means 1a, and when the determining means 2a determines that the data is the final word data, it prints the separated items so that they can be identified by dotted lines or the like. etc.

第2の発明の手段は次の通りである。The means of the second invention is as follows.

データ記憶手段1b(第1図(b)の機能ブロック図を
参照、以下同じ)は複数のワードからなる1アイテム分
のワードデータを複数アイテム記憶する伝票データ入力
用のランダム・アクセス・メモリ等である。
The data storage means 1b (see the functional block diagram in FIG. 1(b); the same applies hereinafter) is a random access memory for inputting slip data that stores word data for one item consisting of a plurality of words. be.

アイテム数記憶手段2bは1ブロツクに含まれる複数ア
イテムを指定する為の設定アイテム数を記憶するもので
、このアイテム数は例えばユーザーによって任意に設定
される。
The item number storage means 2b stores a set number of items for specifying a plurality of items included in one block, and this number of items is arbitrarily set, for example, by the user.

判別手段3bはデータ記憶手段1bに記憶されている設
定アイテム数分のワードデータが伝票データの印字指令
等に応答してアイテム数記憶手段2bから読み出された
か否かを判別する。
The determining means 3b determines whether word data for the set number of items stored in the data storing means 1b has been read out from the item number storing means 2b in response to a print command for slip data or the like.

印字手段4bはデータ記憶手段1bから読み出されたワ
ードデータを順次印字すると共に、判別手段3bで設定
アイテム数分のワードデータが読み出されたことが判別
された際に識別可能にブロックの区切り印字を行うサー
マルプリンタ等である。
The printing means 4b sequentially prints the word data read from the data storage means 1b, and when the determining means 3b determines that the word data for the set number of items has been read, it distinguishably divides the blocks. This is a thermal printer, etc. that performs printing.

[作 用] 第1の発明の手段の作用は次の通りである。[Work] The operation of the means of the first invention is as follows.

いま、予め入力した伝票データが複数アイテムによって
構成されていると共に、lアイテムが複数ワードから構
成されているものとする。
Assume now that the slip data input in advance is composed of a plurality of items, and that each item is composed of a plurality of words.

このような伝票データを印字出力する場合、例えば、キ
ーボードからの印字指令等に応答して印字手段3aはデ
ータ記憶手段1aから読み出されたワードデータを順次
印字すると共に、判別手段2aはデータ記憶手段1aか
ら読み出されたワードデータが1アイテムの最終ワード
データであるか否かを判別する。ここで、判別手段2a
によって最終ワードデータであると判別された際、印字
手段3aはアイテムの区切り印字を行う。
When printing out such slip data, for example, in response to a print command from the keyboard, the printing means 3a sequentially prints the word data read from the data storage means 1a, and the discriminating means 2a prints out the word data read from the data storage means 1a. It is determined whether the word data read from the means 1a is the final word data of one item. Here, the determining means 2a
When it is determined that the data is the final word data, the printing means 3a performs delimiter printing of the item.

したがって、複雑なプログラム言語によって伝票フォー
マットを記述しておかなくても、アイテムの区切り印字
が行われる為、見易い伝票等の作成が可能である。
Therefore, it is possible to create easy-to-read slips, etc., because items can be separated and printed without having to describe the slip format in a complicated programming language.

第2の発明の手段の作用は次の通りである。The operation of the means of the second invention is as follows.

いま、予め入力した伝票データが複数アイテムによって
構成されていると共に、lアイテムが複数ワードによっ
て構成されているものとする。
Assume now that the slip data input in advance is composed of a plurality of items, and that each item is composed of a plurality of words.

このような伝票データを印字出力する場合には、1ブロ
ツクに含まれる複数アイテムを指定する為のアイテム数
を予めアイテム数記憶手段2bに設定しておく。
When printing out such slip data, the number of items for specifying a plurality of items included in one block is set in advance in the item number storage means 2b.

そして、例えば、キーボードからの印字指令等に応答し
て印字手段4bはデータ記憶手段1bから読み出したワ
ードデータを順次印字すると共に1判別手段3bはアイ
テム数記憶手段2bに記憶されている設定アイテム数分
のワードデータがデータ記憶手段1bから読み出された
か否かを判別する。ここで、判別手段3bによって設定
アイテム数分のワードデータが読み出されたことが判別
された際、印字手段4bはブロックの区切り印字を行う
For example, in response to a print command from the keyboard, the printing means 4b sequentially prints the word data read from the data storage means 1b, and the 1 determining means 3b determines the number of set items stored in the item number storage means 2b. It is determined whether or not word data corresponding to the number of minutes have been read from the data storage means 1b. Here, when the determining means 3b determines that the word data corresponding to the set number of items has been read, the printing means 4b performs block separation printing.

したがって、複雑なプログラム言語によって伝票フォー
マットを記述しておかなくとも、ブロックの区切り印字
が行われる為、見易い伝票等の作成が可能である。
Therefore, even if the slip format is not written in a complicated programming language, the printing of blocks is performed, making it possible to create easy-to-read slips.

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

構成 第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が設けられている。
Structure FIG. 2 is an external view showing a handy type input terminal equipped with a printing device. A keyboard 12 and a display panel 13 are provided on the front side of the terminal 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 registration mode. 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 which is operated each time input is made, an input end key GK which is operated when all the slip data have been inputted, and a print key HK which 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 transmitter/receiver unit 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から仏様Nb(伝票の種類を示す伝票ナンバ)が
入力されることによって指定された仏様の指定情報がワ
ード設定メモリ22から読み出される。ここで、入力処
理部21はワード設定メモリ22から読み出した設定情
報が入力部23からデータを入力すべきことを定義する
場合には、データ入力待ち状態となり、その他の処理ワ
ードを定義する場合には参照メモリ24等を用いてワー
ドデータを作成する。そして、入力処理部21はデータ
入力待ち状態において、ワード区切キーDKの操作に応
答して入力部23からその区切指令が入力されると、そ
れまでに入力部23から順次入力されたデータを記憶保
持する入力メモリ25内のデータを1ワ一ド分のデータ
として取り込む。そして、入力処理部21は入力メモリ
25から取り込んだ入力データあるいは参照メモリ24
を用いて作成した作成データを表示部26に表示させる
と共に、データメモリ27に書き込む。
That is, the input processing @21 sequentially reads setting information that defines the processing contents corresponding to each word of a predetermined slip that is preset in the word setting memory 22. In this case, the designation information of the designated Buddha is read out from the word setting memory 22 by inputting the Buddha Nb (the slip number indicating the type of slip) from the input section 23 . Here, when the setting information read from the word setting memory 22 defines that data should be input from the input section 23, the input processing section 21 enters a data input waiting state, and when defining other processing words. creates word data using the reference memory 24 and the like. Then, when the input processing unit 21 is in a data input waiting state and a division command is input from the input unit 23 in response to the operation of the word division key DK, the input processing unit 21 stores the data that have been sequentially input from the input unit 23 until then. The data held in the input memory 25 is taken in as data for one word. The input processing unit 21 then inputs the input data fetched from the input memory 25 or the reference memory 24.
The created data created using the above is displayed on the display section 26 and written into 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. Furthermore, the reference memory 24 stores the current year, month, and day, as well as data for the console such as slips and the like.

送信/受信処理部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にセットされている記録紙
に印字出力させる。ここで、印字処理部30はデータメ
モリ27から読み出したワードデータにワード名が記述
されているか否かを判別し、その結果、ワード名が記述
されているワードデータが読み出された場合にそのワー
ドデータおよび対応ワード名等を印字出力させる。また
、印字処理部30は複数ワードからなるlアイテムの最
終ワーデータを印字する毎にアイテムの区切り印字を行
ったり、また1ブロツクに含まれる複数アイテムを指定
する為のアイテム数(後述する)分のワードデータを印
字する毎にブロックの区切り印字を行う。なお、印字部
31はドツトマトリックス方式にしたがって文字、罫線
等を印字するサーマルプリンタで、その記録紙として本
実施例においてはロール紙を用いている。
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 unit 21 operates the print processing unit 30 in response to the input end key GK from the input unit 23, and sequentially inputs word data from the data memory 27. At the same time as reading, the read word data is printed out on recording paper set in the printing section 31 under certain conditions. Here, the print processing unit 30 determines whether or not a word name is written in the word data read from the data memory 27, and as a result, if the word data in which the word name is written is read out, Print out word data and corresponding word names. In addition, the print processing unit 30 performs item separation printing each time it prints the final word data of an item consisting of multiple words, or prints the number of items (described later) to specify multiple items included in one block. Each time word data is printed, separate blocks are printed. The printing unit 31 is a thermal printer that prints characters, ruled lines, etc. according to a dot matrix method, and roll paper is used as the recording paper in this embodiment.

第4図はワード設定メモリ22の設定内容の一部を示し
、ワード設定メモリ22にはl伝票分のメモリエリアと
して見出し領域KY、ヘッダー領域HI)、アイテム領
域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 HI) and an item area AT as memory areas for one slip, and the stored contents are It was written arbitrarily by the user. The heading area KY contains the heading data of the slip such as Buddha's number, Buddha's name, our name,
and the number of items mentioned above are stored. 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 ending information corresponding to a predetermined word. Label is memorized.

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

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

rbJ・・・・・・索引ワードを示し、参照メモリ24
内の索引テーブルA、B、C,Dの何れかを用いてワー
ドデータを作成すべきことを定義する。
rbJ...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.

rclJ・・・・・・年月日ワードを示し、参照メモリ
24から年月日を呼び出すことを定義する。
rclJ... Indicates the year, month, and day word, and defines that the year, month, and day are 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.

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

「×」・・・・・・計算ワードを示し、単価X数量等の
演算を行うべきことを定義する。
"×"... 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.

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

勲−二作 いま、ワード設定メモリ22に伝票のワード内容が第4
図に示す如く定義されているものとする。
Isao - Nisaku Now, 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
を操作して仏様ナンバ「120」を置数したのち、伝票
指定キーEKを操作する。
First, in order to specify the slip shown in Figure 4, use the numeric keypad AK.
After operating the Buddha number "120", operate the 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から検索し、これによって検索された
指定仏様の先頭ワードをアドレス指定すると共に(ステ
ップAI)、それに対応するワード内容を読み出す(ス
テップA2)。そして、読み出したワード内容がアイテ
ム終了ワード「E」か否かをチエツクする(ステップA
3)。
First, the word setting memory 22 is searched for a Buddha corresponding to the entered Buddha number, and the first word of the searched Buddha is specified as an address (step AI), and the corresponding word content is Read out (step A2). Then, it is checked whether the read word content is the item end word "E" (step A
3).

最初、アイテム終了ワードrEJは読み出されないので
、ステップA4に進み、今度は入力ワードraJである
か、その他の処理ワードであるかをチエツクする。いま
、仏様ナンバr12(Nの仏様を指定したので、その先
頭ワード、即ち、ワードナンバ「Ol」で示されるヘッ
ダー領域HDから処理ワードとしての年月日ワードrc
lJが読み出される。このように処理ワードが読み出さ
れた場合にはそれによって定義された処理を行う為に、
ステップ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 Buddha number r12 (N Buddha), we will extract the date word rc as the processing word from the header area HD indicated by the first word, that is, the word number "Ol".
lJ is read. 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.

ここで、索引ワード「b」であれば、索引ワードrbJ
に応じた処理を行うが(ステップA10)、索引ワード
「b」を除く他の処理ワードであればステップAllに
進み、それに応じた処理を行う。いま、年月日ワードr
clJが読み出されたので、参照メモリ24から現在の
年月日が読み出される。そして、ステップA7に進み、
参照メモリ24から読み出したワードデータ(年月日)
をワードナンバ「01」のデータとしてデータメモリ2
7のアドレスエリアに書き込んで、それを記憶配置する
。続いて、ステップA8に進み、ワード設定メモリ22
の次のワードをアドレス指定したのち、ステップA2に
戻る。
Here, if the index word "b", the index word rbJ
(step A10); however, if the word is a word to be processed other than the index word "b", the process proceeds to step All, and processing is performed accordingly. Now, date word r
Since clJ has been read, the current date is read 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 A8, 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のアドレスエリア
に書き込んで、それを記憶配置する。その後、ステップ
A8に進み、次のワード指定を行ってステップ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. Then, it enters an input standby state until word data is input from the input section 23 (step A6). Currently, the word label display section 13-1 is displaying the word name "slip defect" corresponding to the word number "02" read out from the word setting memory 22, and after visually checking it, enter the word name from the input section 23. After inputting the slip number 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 in from the input memory 25 is input to the word number "0".
2" in the address area of the data memory 27 and store and arrange it. Thereafter, the process advances to step A8, where the next word is designated, and the process returns to step A2.

これによって、次にワード設定メモリ22からワードナ
ンバ「03」に対応する入力ワードraJを読み出して
それに対応するワード名を表示させるが(ステップA5
)、この場合、当該ワードにはワード名が記憶されてい
ないので、このような場合には、次のワードに記憶され
ているワード名、つまり「売上光」を読み出して表示さ
せる。そして、上述の場合と同様にワードデータの入力
待ち状態となる(ステップA6)。いま、売上光コード
を入力すると、ステップA7に進み、入力された売上光
コードをワードナンバ「03」のデータとしてデータメ
モリ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 Hikari" is read out and displayed. Then, as in the case described above, a word data input waiting state is entered (step A6). If the sales light code is input now, the process proceeds to step A7, where the input sales light code is written into the address area of the data memory 27 as data with word number "03". Then, the process advances to step A8, where the next word is designated, and then the process returns to step A2.

すると、ワード設定メモリ22からワードナンバ「04
」のワード内容(索引ワード)が読み出されるので、ス
テップA9でそのことが検出されてステップAIOに進
み、それに応じた索引処理を行う。いま、rb03:A
Jによって定義されている索引ワードは、参照メモリ2
4の索引テーブルAをその前のワードナンバ「03」の
入力処理によってデータメモリ27に記憶されている売
上光コードを読み出して索引すべきことを示し、それに
応じて索引テーブルAから読み出したワードデータを表
示部26に送ってそのワードデータ表示部13−2に表
示させる。そして、ステップ゛A7に進み、このワード
データをワードナンバ「04」のデータとしてデータメ
モリ27に書き込む。そして、ステップ八8に進み、次
のワード指定を行ってステップ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 the process proceeds to step AIO to perform index processing accordingly. Now, rb03:A
The index word defined by J is reference memory 2
Indicating that the sales light code stored in the data memory 27 should be read and indexed by inputting the previous word number "03" in the index table A of No. 4, the word data read from the index table A accordingly. is sent to the display section 26 and displayed on the word data display section 13-2. Then, the process proceeds to step A7, and this word data is written into the data memory 27 as word number "04" data. The process then proceeds to step 88, where the next word is designated, and the process returns to step A2.

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

しかして、ワード設定メモリ22からルコード分のアイ
テム終了ワードrEJが読み出されると、ステップA4
でそのことが検出されてステップAI2に進み、キー入
力待ち状態となる。いま、ルコード分のアイテムに対す
る処理が終了したので、レコード区切キーFKを操作す
る。すると、ステップA13に進み、データメモリ27
内のへラダーデータを次のレコードのヘッダーデータと
してデータメモリ27の所定位置にコピーする。そして
、ステップAI4に進み、当該レコードアイテムの先頭
ワードを指定したのち、ステップA2に戻る。この結果
、ルコード分のアイテムに対して同様の処理が行われる
When the item end word rEJ for the code is read out from the word setting memory 22, step A4
When this is detected, the process proceeds to step AI2, and enters a key input waiting state. Now that the processing for the items corresponding to the code has been completed, operate the record separator key FK. Then, the process advances to step A13, where the data memory 27
The header data within is copied to a predetermined position in the data memory 27 as header 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を操作する。すると、ステップAI2からステップA
15に進み、集計ワードreJがワード設定メモリ22
に記憶されているか否かをチエツクする。この場合、指
定されている仏様のの先頭ワードからワード設定メモリ
22内のワード内容を順次サーチしてゆく。ここで、集
計ワード「e」はワードナンバ「09」の対応位置に記
憶されているので、次のステップA16に進み、集計処
理を行う。いま、集計ワード「e」は金額を集計すべき
ことを定義しているので、各レコードアイテムの金額を
データメモリ27から順次読み出してその合計を求め、
その結果をワードナンバ「09」のデータとしてデータ
メモリ27に書き込む。
Then, when processing for all records is finished, press the exit key G.
Operate K. Then, step AI2 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 word contents in the word setting memory 22 are sequentially searched starting from the first word of the designated Buddha. Here, since the tally word "e" is stored in the position corresponding to the word number "09", the process advances to the next step A16 and a tally process is performed. Now, since the aggregation word "e" defines that the amounts should 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.

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

なお、第7図(イ)〜(チ)は第6rI!J中符号(イ
)〜(チ)に示す各印字処理に対応し、各印字処理によ
って形成される1行分の伝票フォームを示している。ま
た、第8図は伝票印字の具体例を示している。
In addition, Fig. 7 (a) to (h) are the 6th rI! The figure corresponds to each of the printing processes indicated by symbols (a) to (h) in J, and shows a one-line slip form formed by each printing process. Further, FIG. 8 shows a specific example of slip printing.

先ず、ステップBlでは見出しフオームを印字する為に
第7図(イ)に示すような形状の罫線を1行目に印字す
る。即ち、見出しフオームの開始印字を行う。次に、l
ワード分の見出しデータを1行ずつ順次印字すると共に
、見出しフオームの開始印字に連続するフオーム印字を
順次行う(ステップB2)。即ち、印刷指定仏様に対応
するデータメモリ22内の設定データを指定し、この設
定データの中から「仏様名」を読み出してその印字を行
うと共に第7図(ロ)に示す形状の罫線印字を行う。続
いて、指定伝種の設定データの中から特定ワード名「売
上光」を検索し、この特定ワード名に対応するワードデ
ータ「売上先名」をワード設定メモリ27から読み出し
、このワードデータを対応する特定ワード名と共に印字
すると共に、同様のフオーム印字を行う。更に、「当方
基」をデータメモリ22から読み出してその印字を行う
と共に同様のフオーム印字を行う。これによって、第8
図に示すように用紙の見出し領域X内には、3行分の見
出しデータが見出しフオームと共に印字される。
First, in step Bl, in order to print a heading form, a ruled line having a shape as shown in FIG. 7(a) is printed on the first line. That is, the start printing of the heading form is performed. Next, l
Headline data for words are sequentially printed line by line, and forms are sequentially printed following the start printing of the header form (step B2). That is, the setting data in the data memory 22 corresponding to the designated Buddha to be printed is specified, and the "Buddha name" is read out from this setting data and printed, as well as the ruled line in the shape shown in FIG. 7 (B). Perform printing. Next, the specific word name "Sales Hikari" is searched from the specified breed setting data, the word data "Sales destination name" corresponding to this specific word name is read from the word setting memory 27, and this word data is It is printed along with the specific word name to be used, and the same form is printed. Furthermore, the "my group" is read out from the data memory 22 and printed, and a similar form is printed. With this, the 8th
As shown in the figure, three lines of heading data are printed in the heading area X of the paper together with the heading form.

次に、ステップB3に進み、見出しフオームの終了印字
(次のへラダーフオームの開始印字も兼ねる)を行う(
第7図(ハ)参照)。そして、データメモリ22内の先
頭ワード、つまり、指定伝種の先頭ワードを指定してお
く(ステップB4)。そして、指定ワードに対応するワ
ード内容をデータメモリ22から読み出しくステップB
5)、それがヘッダー終了、つまりアイテム開始ワード
rIJか否かをチエツクする(ステップB6)。ここで
、ヘッダー終了でなければ、当然アイテム終了ワード「
E」でもないので、そのことがステップB8で検出され
てステップB9に進み、それに対応するワード名をデー
タメモリ22から読み出し、ワード名の記述有無をチエ
ツクする(ステップB10)。この結果、指定ワードに
対応してワード名が記述されていれば、このワード名が
上述した特定ワード名「売上光」であるか否かをチエツ
クする(ステップB11)。最初は、「年月日」のワー
ド名が読み出されるので、上述した2条件(ステップB
IO1Bll)を満足する為、指定ワードに対応するワ
ードデータをワード設定メモリ27から読み出しくステ
ップB12)、このワードデータをデータメモリ22か
ら読み出したワード名およびエンドラベルと共に印字す
る他、ヘッダーフオームを形成する為に第7図(へ)に
示す形状の罫線印字を行う(ステラ7’B 13)。な
お、この場合、エンドラベルは記述されていないので、
その印字は行われない。そして、ステップB14に進み
、次のワード指定を行ったのち、ステップB5に戻る。
Next, proceed to step B3, and print the end of the heading form (also serves as the start printing of the next ladder form).
(See Figure 7 (c)). Then, the first word in the data memory 22, that is, the first word of the specified breed is specified (step B4). Then, step B reads out the word contents corresponding to the specified word from the data memory 22.
5) Check whether it is the header end, ie, item start word rIJ (step B6). Here, if it is not the end of the header, then of course the item end word "
Since it is not "E", this is detected in step B8, and the process proceeds to step B9, where the corresponding word name is read from the data memory 22, and whether or not the word name is written is checked (step B10). As a result, if a word name is written corresponding to the designated word, it is checked whether this word name is the above-mentioned specific word name "Sales Hikari" (step B11). At first, the word name "year, month, day" is read out, so the above two conditions (step B
In order to satisfy IO1Bll), the word data corresponding to the designated word is read from the word setting memory 27 (step B12), and this word data is printed together with the word name and end label read from the data memory 22, and a header form is also formed. In order to do this, ruled lines are printed in the shape shown in FIG. 7 (F) (Stella 7'B 13). In this case, the end label is not written, so
That printing is not done. The process then proceeds to step B14, where the next word is specified, and then the process returns to step B5.

これによって、次にデータメモリ22からは入力ワード
「a」が読み出される。この場合、この指定ワードには
そのワード名「伝票崩」が記述されているので、そのワ
ードデータと共にワード名の印字が行われると共に罫線
印字が行われることは上述の場合と同様である。
This causes the input word "a" to be read from the data memory 22 next. In this case, since the specified word has the word name "slip collapse" written therein, the word name is printed together with the word data, and the ruled lines are also printed, as in the case described above.

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

以下、同様の動作が1ワードずつ順次繰り返されること
によってヘッダーデータおよびヘッダーフオームが1行
ずつ印字される。これによって、第8図に示すように用
紙のへラダー領域Y内には、5行分のへラダーデータか
ヘッダーフオームと共に印字される。
Thereafter, similar operations are repeated word by word, thereby printing the header data and header form line by line. As a result, as shown in FIG. 8, five lines of ladder data or a header form are printed in the ladder area Y of the paper.

このようにしてヘッダーデータの印字が終ると、次にデ
ータメモリ22からアイテム開始ワードrIJが読み出
されるので、ステップB6でそのことが検出されてステ
ップB7に進み、ページ区切り印字を行う。即ち、見出
しデータとへラダーデータを1ブロック分(1ペ一ジ分
)のデータとして扱う為に、ページの区切り印字を行う
When the printing of the header data is completed in this way, the item start word rIJ is then read out from the data memory 22, so this is detected in step B6 and the process proceeds to step B7, where page separation printing is performed. That is, in order to handle the heading data and the ladder data as data for one block (one page), page separation printing is performed.

この場合、先ず、第7図(こ)に示す形状の罫線印字(
ヘッダーフオームの終了印字)を行い、次で、改行して
1行分のスペースを形成し、最後に、第7図(ホ)に示
す形状の罫線印字(即ち、アイテムフオームの開始印字
)を行うと、第8図に示すようにヘッダー領域Yの下側
にページの区切り部P1が形成される。したがって、伝
票の見出し領域Xとヘッダー領域Yとを合わせた領域が
伝票の1ページ目となる。
In this case, first, the ruled line printing (
Then, a line break is performed to form a space for one line, and finally, the ruled line is printed in the shape shown in Figure 7 (e) (i.e., the start printing of the item form). Then, as shown in FIG. 8, a page separation portion P1 is formed below the header area Y. Therefore, the combined area of the heading area X and header area Y of the slip becomes the first page of the slip.

そして、伝票の2ページ目以降がアイテムデータの印字
領域となる。この場合、1アイテム分の複数のワードデ
ータを印字し終るまでステップB8からステップB9に
進み、上述と同様にアイテムデータをそのワード名やア
イテムフオーム等と共に1行ずつ印字してゆく(ステッ
プB5〜B 14)。
The second and subsequent pages of the slip become the printing area for the item data. In this case, the process proceeds from step B8 to step B9 until the printing of multiple word data for one item is completed, and the item data is printed line by line along with its word name, item form, etc. in the same way as described above (steps B5 to B9). B14).

これによって1アイテム分の印字が終ると、ステップB
15に進み、ワード設定メモリ27内の全てのデータに
対して上述の処理が終了したかをチエツクする。ここで
、終了していなければ、ステップB16に進み、印字処
理部30内のアイテム数カウンタCTの値にrlJを加
算するインクリメント処理を行う。そして、このアイテ
ム数カウンタCTの値とデータメモリ22内の設定アイ
テム数とを比較する(ステップB17)。いま、1アイ
テム分の印字が終了した段階であるからアイテム数カウ
ンタCTの値は「l」、また、データメモリ22内の設
定アイテム数は「3」、したかって、両者の不一致が検
出されてステップB21に進み、アイテム区切り印字を
行う。即ち、このアイテム区切り印字は、第7図(ト)
に示すようにアイテムフオームの中に横罫線(破線)を
印字することによって行われる。そして、ステップB2
0に進み、データメモリ22内の次のアイテムの先頭ワ
ードを指示する。そして、ステップB5に戻り、上述の
動作が繰り返される。この結果、lアイテムの印字が終
る毎にアイテムの区切り印字が行われる。このような動
作はアイテム数カウンタCTの値が設定アイテム数「3
」と一致するまで繰り返される結果、第8図に示すよう
に用紙のアイテム領域Z−1には、1アイテム4ワード
構成のデータが3アイテム分印字されると共に、lアイ
テム毎にその区切り印字が行われる。しかして、アイテ
ム数カウンタCTの値が設定アイテム数と一致すると、
ステップB18に進み、上述したページ区切り印字が行
われる。この為、伝票の2ページ目には3アイテム分の
データが印字されることになる。
When printing for one item is completed, step B
15, it is checked whether the above-mentioned processing has been completed for all data in the word setting memory 27. Here, if the process has not been completed, the process proceeds to step B16, and an increment process is performed to add rlJ to the value of the item number counter CT in the print processing section 30. Then, the value of this item number counter CT is compared with the set number of items in the data memory 22 (step B17). Since printing for one item has now been completed, the value of the item number counter CT is "l", and the number of set items in the data memory 22 is "3", so a mismatch between the two has been detected. Proceeding to step B21, item separation printing is performed. In other words, this item separation printing is as shown in Figure 7 (G).
This is done by printing horizontal ruled lines (broken lines) in the item form as shown in . And step B2
0 to point to the first word of the next item in data memory 22. Then, the process returns to step B5 and the above-described operation is repeated. As a result, item separation printing is performed every time printing of l items is completed. This kind of operation occurs when the value of the item number counter CT is set to ``3''.
As a result, as shown in FIG. 8, data consisting of 4 words per item is printed for 3 items in the item area Z-1 of the paper, and the separator is printed for each l item. It will be done. Therefore, when the value of the item number counter CT matches the set number of items,
Proceeding to step B18, the above-described page separation printing is performed. Therefore, data for three items will be printed on the second page of the slip.

このようにして2ページ目の印字が終ると、アイテム数
カウンタCTをクリアしくステップB19)、その後、
ステップB20に進み、以下、同様の動作がステップB
15でデータ終了が検出されるまで繰り返される、この
結果、第8図に示すように用紙の3ページ目のアイテム
領域Z−2には、残り2アイテム分のデータが印字され
る。
When the printing of the second page is finished in this way, the item number counter CT is cleared in step B19), and then
The process advances to step B20, and the same operation is performed in step B.
The process is repeated until the end of the data is detected in step 15, and as a result, data for the remaining two items are printed in the item area Z-2 of the third page of the paper, as shown in FIG.

そして、ステップB15でデータ終了が検出されると、
ステップB22に進み、第7図(チ)に示すような終了
区切り印字を行う、そして、次のステップB23で印刷
フラグがリセットされる。
Then, when the end of data is detected in step B15,
Proceeding to step B22, end delimiter printing as shown in FIG. 7(h) is performed, and in the next step B23, the print flag is reset.

なお、上述のようにしてロール紙に印刷された伝票デー
タは各ページのページ区切り部P1゜P2を境にして折
り畳むことができる。この場合データメモリ22内の設
定アイテム数は、ユーザが任意に設定可能であるが、そ
の設定に際し、1ページ目に印字されるワード数または
lアイテムのワード数等を考慮して1ページ目と2ペー
ジ目以降とが路間等の長さとなるようにアイテム数を決
定するようにすればよい。
Note that the slip data printed on the roll paper as described above can be folded at the page separation portions P1 and P2 of each page. In this case, the number of setting items in the data memory 22 can be set arbitrarily by the user, but when setting the number, take into account the number of words printed on the first page or the number of words of the item, etc. The number of items may be determined so that the second and subsequent pages have the same length as the gap between pages.

なお、アイテム区切り印字やページ区切り印字の印字形
態は、上記実施例に限定されず識別性があれば任意であ
る。
Note that the printing form of item separation printing and page separation printing is not limited to the above-mentioned embodiments, but may be arbitrary as long as it is distinguishable.

図の各印字処理によって形成される1行分の伝票フオー
ムを示した図、第8図は伝票の印字状態を示した図であ
る。
FIG. 8 is a diagram showing one line of the slip form formed by each printing process in the figure, and FIG. 8 is a diagram showing the printing state of the slip.

[発明の効果] この第1および第2の発明は、複雑なプログラム言語に
よって伝票フォーマットを記述しておかなくても、アイ
テムの区切り印字やブックの区切り印字を行うようにし
たから、見易い伝票等の作成が可能である。
[Effects of the Invention] The first and second inventions enable printing of item divisions and book divisions without having to describe the voucher format in a complicated programming language, thereby creating easy-to-read vouchers, etc. It is possible to create

14・・・・・・印字装置、21・・・・・・入力処理
部、22・・・・・・ワード設定メモリ、23・・・・
・・入力部、27・・・・・・データメモリ、30・・
・・・・印字処理部、31・・・・・・印字部。
14... Printing device, 21... Input processing unit, 22... Word setting memory, 23...
...Input section, 27...Data memory, 30...
...Print processing section, 31... Printing section.

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

Claims (2)

【特許請求の範囲】[Claims] (1)複数のワードからなる1アイテム分のワードデー
タを複数アイテム記憶するデータ記憶手段と、 このデータ記憶手段から順次読み出されたワードデータ
が1アイテムの最終ワードデータであるか否かを判別す
る判別手段と、 前記データ記憶手段から読み出されたワードデータを順
次印字すると共に、前記判別手段で最終ワードデータで
あると判別された際にアイテムの区切り印字を行う印字
手段と、 を具備したことを特徴とする印字装置付き入力処理装置
(1) A data storage means for storing multiple items of word data for one item consisting of a plurality of words, and determining whether word data sequentially read from this data storage means is the final word data of one item. and printing means that sequentially prints the word data read from the data storage means and prints the item as a delimiter when the discrimination means determines that the word data is the final word data. An input processing device with a printing device characterized by:
(2)複数のワードからなる1アイテム分のワードデー
タを複数アイテム記憶するデータ記憶手段と、 1ブロックに含まれる複数アイテムを指定する為の設定
アイテム数を記憶するアイテム数記憶手段と、 このアイテム数記憶手段に記憶されている設定アイテム
数分のワードデータが前記データ記憶手段から読み出さ
れたか否かを判別する判別手段と、 前記データ記憶手段から読み出されたワードデータを順
次印字すると共に、前記判別手段で設定アイテム数分の
ワードデータが読み出されたことが判別された際にブロ
ックの区切り印字を行う印字手段と、 を具備したことを特徴とする印字装置付き入力処理装置
(2) data storage means for storing a plurality of items of word data for one item consisting of a plurality of words; an item number storage means for storing a set number of items for specifying a plurality of items included in one block; and this item. a determining means for determining whether or not word data corresponding to the number of setting items stored in the number storage means have been read from the data storage means; and a determination means for sequentially printing the word data read from the data storage means. An input processing device with a printing device, comprising: a printing device that performs block delimiter printing when the determining device determines that word data for the number of set items has been read.
JP63175438A 1988-07-14 1988-07-14 Input processing device with printing device Pending JPH0225357A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP63175438A JPH0225357A (en) 1988-07-14 1988-07-14 Input processing device with printing device
DE68925003T DE68925003T2 (en) 1988-07-14 1989-06-16 Document data processing system.
EP89110979A EP0350653B1 (en) 1988-07-14 1989-06-16 Slip data processing apparatus
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
JP63175438A JPH0225357A (en) 1988-07-14 1988-07-14 Input processing device with printing device

Publications (1)

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

Family

ID=15996094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63175438A Pending JPH0225357A (en) 1988-07-14 1988-07-14 Input processing device with printing device

Country Status (1)

Country Link
JP (1) JPH0225357A (en)

Similar Documents

Publication Publication Date Title
JPS5968040A (en) Card format change processing system
JPH01197878A (en) Document control device
EP0527423B1 (en) Electronic cash register
EP0350653A2 (en) Slip data processing apparatus
JPH021742B2 (en)
JPH0225349A (en) input processing device
JP2003067378A (en) Electronic library system, server, book with identifier, program, recording medium
JPH0330893B2 (en)
JPH0224771A (en) Input processor
JP2001056836A (en) Form processing device and storage medium
JPS5922593Y2 (en) electronic cash register
JP2883440B2 (en) Label printing device
JP3011578B2 (en) Receipt issuing system
JPH02289368A (en) Printing method
JPH0225359A (en) Input processing device with printing device and printed matter
JP2506098B2 (en) Transaction processor
JPH0224770A (en) Input processor
JPH0610817B2 (en) Seal search system
JPH0224778A (en) data processing equipment
JPH03257664A (en) Slip preparing system
JPH0991300A (en) File management method
JPS5842504B2 (en) Slip information selection method
JPH0129674Y2 (en)
JPH0225354A (en) Document output device
JPH0554047A (en) Information processor