JPH0442688B2 - - Google Patents

Info

Publication number
JPH0442688B2
JPH0442688B2 JP56166640A JP16664081A JPH0442688B2 JP H0442688 B2 JPH0442688 B2 JP H0442688B2 JP 56166640 A JP56166640 A JP 56166640A JP 16664081 A JP16664081 A JP 16664081A JP H0442688 B2 JPH0442688 B2 JP H0442688B2
Authority
JP
Japan
Prior art keywords
data
information
storage means
key
cursor
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.)
Expired - Lifetime
Application number
JP56166640A
Other languages
Japanese (ja)
Other versions
JPS5868136A (en
Inventor
Katsumi Masaki
Juichi Sakauchi
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP56166640A priority Critical patent/JPS5868136A/en
Publication of JPS5868136A publication Critical patent/JPS5868136A/en
Publication of JPH0442688B2 publication Critical patent/JPH0442688B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0227Cooperation and interconnection of the input arrangement with other functional units of a computer

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ワードプロセツサ等文字処理装置に
おける差込み印刷機能を実現するための文字処理
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character processing device for realizing a merge printing function in a character processing device such as a word processor.

[従来技術の説明とその課題] 従来、手紙文などの被差込みデータにおいて、
データを差込むべく指定された位置にそのことを
示す記号を示し、その位置に氏名、住所等の差込
みデータを差込みながら印刷する文字処理装置は
あつた。
[Explanation of conventional technology and its problems] Conventionally, in merged data such as letters,
There was a character processing device that displayed a symbol indicating that the data was to be inserted at a designated position, and printed data such as a name and address while inserting the data at that position.

しかしながら、従来の装置では、差込み位置に
付される記号はただ単にデータの差込まれる位置
を示す為だけのものであり、他の機能はなかつ
た。
However, in conventional devices, the symbol attached to the insertion position is simply to indicate the position where data is inserted, and has no other function.

[課題を解決する為の手段] 本発明は上記従来の課題を解決する為に、文書
情報を記憶する文書記憶手段と、差込むべき文字
列情報を記憶する差込み情報記憶手段と、前記文
書記憶手段に記憶される文書情報において、前記
差込み情報記憶手段に記憶される文字列情報の差
込み位置を記憶する記憶手段と、前記記憶手段に
記憶される文書情報の差込み位置に従つて、前記
差込み情報記憶手段に記憶された文字列情報を前
記文書情報に差込んで印字するよう制御する印字
制御手段とを有する文字処理装置であつて、前記
記憶手段に記憶された文書情報を表示する表示手
段と、前記差込み位置にカーソルを移動するよう
指示する指示手段と、前記指示に応答して、前記
文書情報において前記差込み位置を検索し、カー
ソルを該位置に表示するよう制御する制御手段と
を有することを特徴とする文字処理装置を提供す
る。
[Means for Solving the Problems] In order to solve the above-mentioned conventional problems, the present invention provides a document storage means for storing document information, an insertion information storage means for storing character string information to be inserted, and a document storage means for storing character string information to be inserted. In the document information stored in the means, a storage means for storing the insertion position of the character string information stored in the insertion information storage means, and a storage means for storing the insertion position of the document information stored in the storage means, the insertion information according to the insertion position of the document information stored in the storage means. A character processing device comprising: a print control means for controlling the character string information stored in a storage means to be inserted into the document information and printed; a display means for displaying the document information stored in the storage means; , comprising instruction means for instructing to move a cursor to the insertion position, and control means for controlling to search for the insertion position in the document information and display the cursor at the position in response to the instruction. A character processing device is provided.

[実施例] 以下本発明による1実施例を説明する。[Example] One embodiment of the present invention will be described below.

CPUはマイクロプロセツサであり、演算、論
理判断等を行なう。後述するアドレスバスAB、
コントロールバスCB、データバスDBを介して、
AB,CB,DBに連ながる機器等をコントロール
する。
The CPU is a microprocessor that performs calculations, logical judgments, etc. address bus AB, which will be described later;
Via the control bus CB and data bus DB,
Controls equipment connected to AB, CB, and DB.

ABはアドレスバスで制御対象を指示する信号
を転送する。
AB transfers signals indicating the control target using the address bus.

CBはコントロールバスで各制御対象に制御信
号を印加するものである。
CB is a control bus that applies control signals to each control target.

DBはデータバスで各種データを転送する。 DB transfers various data using a data bus.

ROMは制御メモリで、第3図〜第6図に示す
制御手順等を記憶するものである。
The ROM is a control memory that stores the control procedures shown in FIGS. 3 to 6.

RAMはランダムアクセスメモリで、各種デー
タの一時記憶に用いられる。例えばバラメータ
P,N,Qを貯えるレジスタP,N,Qを有す
る。
RAM is random access memory and is used for temporary storage of various data. For example, it has registers P, N, and Q that store parameters P, N, and Q.

KBはキーボードで、オペレータが本装置に指
示を与えるためのキー群から成る。KBは、文字
入力用のキー群CKと、各種機能を指令するため
のキー群FKから成る。第2図はキーボードの詳
細を示す。
KB is a keyboard consisting of a group of keys used by the operator to give instructions to the device. The KB consists of a key group CK for character input and a key group FK for commanding various functions. FIG. 2 shows details of the keyboard.

キー群CKは、例えば、文字キー、アンダーラ
インキーを含むものである。キー群FKは、登録
キーRK、名称キーNK、印刷キーPK、呼出キー
CLK、保存キーMK、始動キーSK、Bタブセツ
トキーBTK、Bタブ実行キーBTEK、その他各
種編集キー例えば、カーソル移動キー、タブキー
等を含むものである。
The key group CK includes, for example, character keys and underline keys. Key group FK includes registration key RK, name key NK, print key PK, call key
CLK, save key MK, start key SK, B tab set key BTK, B tab execution key BTEK, and various other editing keys such as cursor movement keys, tab keys, etc.

DISPは、表示装置であり、リフレツシユメモ
リ、カーソルレジスタ、CRTコントローラ、
CRT等を含むものである。CRTコントローラ
は、リフレツシユメモリに書き込まれた文字コー
ド情報とカーソルレジスタに蓄えられたカーソル
位置情報とをCRT上に表示する役割を担う。後
述するバツフアBUF1の内容は、CPUの指示に
より、CRT上に表示される。
DISP is a display device that includes refresh memory, cursor register, CRT controller,
This includes CRTs, etc. The CRT controller is responsible for displaying character code information written in the refresh memory and cursor position information stored in the cursor register on the CRT. The contents of buffer BUF1, which will be described later, are displayed on the CRT according to instructions from the CPU.

又DISPはアンダライン表示機能を有する。即
ち、文字コード8ビツトの内上位1ビツトにより
アンダライン付か否かを判断し、CRT上に表示
するものである。
DISP also has an underline display function. That is, it is determined whether or not the character is underlined based on the high-order 1 bit of the 8-bit character code, and the result is displayed on the CRT.

PRTは印刷装置であり、CPUの指令により後
述するバツフアBUF3に蓄えられた情報を印刷
する役割を担う。
The PRT is a printing device, and plays the role of printing information stored in a buffer BUF 3, which will be described later, according to instructions from the CPU.

DISCは本装置により作成された文書等を保存
する保存装置である。
DISC is a storage device that stores documents created by this device.

NAME REGは、前記DISCへ文書等を保存す
るにあたつて、文書ごとに付けられる名前即ちフ
アイル名を一時的に蓄えるためのレジスタであ
る。
NAME REG is a register for temporarily storing a name given to each document, that is, a file name when saving the document etc. to the DISC.

BUF1は、キーボードKBから入力された文字
等情報を蓄えるためのバツフアであり、ここで、
手紙等の文書や名簿等が作成される。ここに蓄え
られる情報は、8ビツトで1文字を表現するもの
とし、下位7ビツトは文字種を表現し、上位1ビ
ツトはアンダライン付か否かを表現するものとす
る。バツフアBUF1の内容は、一般にBUF1N
で表わすものとする。即ち、BUF1Nはバツフ
アBUF1内の第N番目の情報を表わすものとす
る。
BUF1 is a buffer for storing information such as characters input from the keyboard KB, and here,
Documents such as letters and lists are created. The information stored here represents one character with 8 bits, the lower 7 bits represent the character type, and the upper 1 bit represents whether or not the character is underlined. The contents of buffer BUF1 are generally BUF1N
Let it be expressed as That is, BUF1N represents the Nth information in buffer BUF1.

BUF2は差込みを行うべき情報を格納するバ
ツフアである。後述するように差込むべき情報
は、バツフアBUF1を用いて、まず作成され、
後述する二つのどちらかの経路により、バツフア
BUF2に移される。一つは、バツフアBUF1か
ら直接バツフアBUF2に移される経路であり、
他は一旦他の記録媒体例えば保存装置DISCを介
してバツフアBUF2に移される経路である。又
バツフアBUF2に蓄えられる情報は、ある特定
の区切り情報により区切られた複数個のレコード
から成る。あるいは複数個の固定長レコードであ
つても良い。バツフアBUF2の内容を一般にバツ
フアBUF2Nで表わすものとする。即ちバツフ
アBUF2NはバツフアBUF2内の第N番目の情
報を表わすものとする。又別の表現方法として
BUF2P,Qで表わすものとする。即ちBUF2
P,QはバツフアBUF2内の第Pレコードの第
Q番目の情報を表わすものとする。バツフア
BUF2内の情報が確定すれば、簡単にBUF2N
とBUF2P,Qとの対応がつくものである。特
にバツフアBUF2が固定長レコードから構成さ
れている場合には、その対応は明白である。
BUF2 is a buffer that stores information to be inserted. The information to be inserted as described later is first created using BUF1,
By either of the two routes described below,
Moved to BUF2. One is the route directly transferred from buffer BUF1 to buffer BUF2,
The other path is to temporarily transfer the data to the buffer BUF2 via another recording medium, such as a storage device DISC. Also, the information stored in the buffer BUF2 consists of a plurality of records delimited by certain delimiter information. Alternatively, it may be a plurality of fixed length records. The contents of buffer BUF2 are generally expressed as buffer BUF2N. That is, buffer BUF2N represents the Nth information in buffer BUF2. Another way of expressing
Let it be expressed as BUF2P,Q. That is, BUF2
Let P and Q represent the Q-th information of the P-th record in buffer BUF2. Batsuhua
Once the information in BUF2 is confirmed, BUF2N can be easily
This corresponds to BUF2P and Q. Especially when the buffer BUF2 is composed of fixed-length records, the correspondence is obvious.

BUF3はプリントを行うべき情報を一旦格納
するためのバツフアであり、バツフアBUF2に
蓄えられた名簿等の差込むべき情報を、バツフア
BUF1に蓄えられた手紙等の差込まれるべき情
報に差込んだ結果の情報を格納するものである。
BUF3 is a buffer for temporarily storing information to be printed, and information to be inserted such as a list stored in buffer BUF2 is stored in the buffer.
This is used to store the information that is inserted into the information that should be inserted, such as letters stored in BUF1.

FGは、前述した二つの経路の一方、即ちバツ
フアBUF1から直接バツフアBUF2に情報を移
したことを知らせるためのフラツグである。
FG is a flag for notifying that information has been transferred directly from one of the two routes described above, that is, from buffer BUF1 to buffer BUF2.

CPTERは、CRT上に表示すべきカーソルの位
置を格納するためのレジスタであり、又その値
は、同時にバツフアBUF1のアドレスと対応づ
けられているものである。即ち前述したようにバ
ツフアBUF1の内容をCRT上に表示されるにあ
たつて、バツフアBUF1内の位置とCRT上の位
置との対応をとるのがレジスタCPTERであり、
オペレータには、CRT上のカーソルとしてその
対応を知ることができる。
CPTER is a register for storing the position of the cursor to be displayed on the CRT, and its value is also associated with the address of buffer BUF1. That is, as mentioned above, when displaying the contents of buffer BUF1 on the CRT, the register CPTER establishes a correspondence between the position in buffer BUF1 and the position on the CRT.
The operator can see the correspondence as a cursor on the CRT.

以上の構成により成る本実施例の動作を説明す
る。
The operation of this embodiment having the above configuration will be explained.

オペレータは電源投入後、始動キーを押下する
ことにより操作を開始する。又始動キーの押下
は、一つの仕事を開始する際に必ず行うものであ
る。始動キーを押下することにより、CRT上の
画面はクリアされ、新しい文書の作成準備が整
う。ここでオペレータはキーボードKBを操作す
ることにより、新規文書等の作成あるいは、以前
作成し、保存装置DISCに保存していた文書の修
正等を行う。
After turning on the power, the operator starts operation by pressing the start key. Furthermore, pressing the start key is always performed when starting a task. By pressing the start key, the screen on the CRT is cleared and a new document is ready to be created. Here, the operator operates the keyboard KB to create a new document or modify a previously created document stored in the storage device DISC.

まずBタブ機能につき簡単に説明を行う。 First, I will briefly explain the B tab function.

オペレータは入力文中で、Bタブをセツトした
い位置に自由にそのセツトを行うことができる。
セツトの方法は、BタブセツトキーBTKを押下
することによる。これは、文字の入力方法と全く
同一である。オペレータがカーソルを動かすには
カーソルキー(不図示)を押下することで実現で
きるが、Bタブ実行キーBTEKを押下すること
により、カーソルをBタブがセツトしてある位置
まで一気に飛ばすことができる。この機能は文書
等の入力を大いに助けるものである。かくして、
文字キーあるいは、他の多くの編集キーを利用す
ることにより、文章データ、名簿等の差込みデー
タ、手紙等の差込まれるデータ等の作成を行うも
のである。
The operator can freely set the B tab at the desired position in the input sentence.
The setting method is to press the B tab set key BTK. This is exactly the same as the method of inputting characters. The operator can move the cursor by pressing a cursor key (not shown), but by pressing the B-tab execution key BTEK, the cursor can be moved all at once to the position where the B-tab is set. This function greatly assists in inputting documents, etc. Thus,
Text data, insert data such as lists, insert data such as letters, etc. are created by using the character keys or many other editing keys.

次に差込み印刷を実行しようとする場合の操作
方法について説明する。
Next, the operating method when attempting to perform mail merge printing will be explained.

オペレータはまず差込むべき情報を作成する。
第6図2にその例を示す。ここで〓のマークで示
されているのが各レコードの区切りマークであ
り、各レコードには、氏名が記載されている。作
成した名簿は一旦DISCに保存しておき、必要な
時に取り出しても良いし、又直接に今作成した名
簿を差込むべき情報として登録しても良い。
The operator first creates the information to be inserted.
An example is shown in FIG. 62. Here, the 〓 mark is a delimiter mark for each record, and each record has a name written therein. You can temporarily save the created list on the DISC and retrieve it when necessary, or you can directly register the list you just created as information to be inserted.

保存装置DISCへの保存は次のようにして行う。
まず保存する際のフアイル名を入力する。入力す
るには、名称キーNKを押下し、次にフアイル名
をキーボードKBから入力することによる。然る
後、保存キーMKを押下することにより保存され
る。保存した名簿は、後に差込用フアイルとして
使用することができる。一方保存装置DISC等へ
の保存なしに、今作つた名簿を差込用データとし
て利用することもできる。その時は、オペレータ
は登録キーRKを押下すれば良い。次に差込まれ
る方のデータを用意する。もちろん改めて作成し
ても良いし、保存装置DISCから呼出しても良い。
保存装置DISCから呼出すには、名称キーNKを
押下し、次にフアイル名をキーボードKBから入
力し、かつ呼出キーを押下する。公知の方法によ
り差込まれる方のデータ例えば手紙文を作成し、
完成させる。第6図1にその例を示す。ここで
というマークはBタブセツトキーBTKを押下す
ることにより入力することができる。差込印刷を
実行するとこの位置に差込みデータが次々と差込
まれ出力される。次に差込印刷の実行について説
明する。もし、前もつて名簿等の差込みデータが
登録キーRKにより登録されていたならば、印刷
キーを押下するだけで差込み印刷が実行される。
もし前もつて登録がなされておらず、なおかつ保
存装置DISC上に名簿等の差込みデータが格納さ
れているならば、まず、名称キーNKを押下し、
次にそのフアイル名をキーボードKBから入力す
る。次に印刷キーPKを押下することにより保存
装置DISC上に蓄えられた名簿等の差込みデータ
による差込み印刷が実行される。
Saving to the storage device DISC is done as follows.
First, enter the file name you want to save. To enter, press the name key NK and then enter the file name from the keyboard KB. After that, the data is saved by pressing the save key MK. The saved list can be used later as an insert file. On the other hand, you can also use the list you just created as data for insertion without saving it to a storage device such as DISC. At that time, the operator only has to press the registration key RK. Prepare the data to be inserted next. Of course, it may be created anew, or it may be recalled from the storage device DISC.
To recall from the storage device DISC, press the name key NK, then input the file name from the keyboard KB, and press the recall key. Create the data to be inserted using a known method, such as a letter,
Finalize. An example is shown in FIG. The mark "Here" can be input by pressing the B tab set key BTK. When insert printing is executed, insert data is inserted one after another at this position and output. Next, execution of merge printing will be explained. If insert data such as a list has been previously registered using the registration key RK, insert printing will be executed simply by pressing the print key.
If no registration has been made before, and if the insertion data such as a list is stored on the storage device DISC, first press the name key NK,
Next, enter the file name using the keyboard KB. Next, by pressing the print key PK, merge printing is executed using the merge data such as the list stored on the storage device DISC.

次に第3図〜第5図のフローチヤートを用い、
本実施例の作動を詳細に説明する。
Next, using the flowcharts in Figures 3 to 5,
The operation of this embodiment will be explained in detail.

第3図は本実施例のメインフローチヤートであ
る。電源をONにすることにより、本フローが実
行され前述の作動を実行する。以下各ステツプに
つき説明する。
FIG. 3 is a main flowchart of this embodiment. By turning on the power, this flow is executed and the above-mentioned operations are executed. Each step will be explained below.

1 KBから入力されるデータを待つ。もし入力
されたならステツプ2に進む。
Wait for data to be input from 1 KB. If it has been entered, proceed to step 2.

2 KBから入力されたデータを読み取る。2 Read input data from KB.

3 入力したデータが文字キー、タブセツトキー
等からの入力データであつたなら、ステツプ4
に進む。否ならステツプ5に進む。
3 If the input data is from a character key, tab set key, etc., proceed to step 4.
Proceed to. If not, proceed to step 5.

4 入力したデータをBUF1内のカーソルポイ
ンタに対応する位置に書き込み、カーソルポイ
ンタの値をインクリメントする。このことによ
り、CTR画面上のカーソルが存在する位置に
入力されたデータが表示され、なおかつカーソ
ルが1つ歩進することになる。
4 Write the input data to the position corresponding to the cursor pointer in BUF1 and increment the value of the cursor pointer. As a result, the input data is displayed at the position where the cursor is located on the CTR screen, and the cursor advances by one.

ステツプ4をさらに詳述する。 Step 4 will be explained in further detail.

(1) 入力したデータをBUF1へ書き込む。 (1) Write the input data to BUF1.

もし入力したデータがアンダラインデータで
あるなら、BUF1内のカーソルの位置に対
応するメモリの内容の上位1ビツトをONに
する。
If the input data is underline data, turn ON the upper 1 bit of the memory contents corresponding to the cursor position in BUF1.

もし入力したデータが文字データあるいは
タブセツトキーからの出力データであつたな
らそのデータをBUF1内のカーソルの位置
に対応する位置に移す。
If the input data is character data or output data from the tab set key, move that data to the position corresponding to the cursor position in BUF1.

(2) カーソルポインタをインクリメントする。 (2) Increment the cursor pointer.

(3) BUF1の内容及びカーソルポインタの内
容をリフレツシユメモリ、カーソルレジスタ
に書き込み表示を行う。
(3) Write the contents of BUF1 and the contents of the cursor pointer to the refresh memory and cursor register and display them.

5 入力したデータが始動キーからの入力データ
であつたなら、ステツプ6に進む。否ならステ
ツプ7に進む。
5 If the input data is from the start key, proceed to step 6. If not, proceed to step 7.

6 バツフア、フラツグ等のイニシヤライズを行
う。
6 Initialize buffers, flags, etc.

リフレツシユメモリのクリア(スペースコ
ードで埋める) NREGのクリア BUF1のクリア BUF2のクリア BUF3のクリア FGのリセツト カーソルポインタのイニシヤライズ カーソルレジスタのイニシヤライズ 7 入力したデータがタブ実行キーからの入力で
あつたならステツプ8に進む。否ならステツプ
9に進む。
Clear refresh memory (fill with space code) Clear NREG Clear BUF1 Clear BUF2 Clear BUF3 Reset FG Initialize cursor pointer Initialize cursor register 7 If the input data is from the tab execution key, step Proceed to step 8. If not, proceed to step 9.

8 カーソルをBタブがセツトされている位置ま
で移動させる。そのためにはカーソルが存在し
ている位置以降についてのBUF1の内容を順
に読み取りBタブコードが存在する位置をさが
し、その位置に対応するアドレスをカーソルポ
インタに書き込むことによる。最後にカーソル
レジスタにカーソルポインタの値をとり込み、
CRTへの表示を行う。
8 Move the cursor to the position where the B tab is set. To do this, the contents of BUF1 from the position where the cursor exists are sequentially read to find the position where the B tab code exists, and the address corresponding to that position is written to the cursor pointer. Finally, take the value of the cursor pointer into the cursor register,
Display on CRT.

9 入力したデータが、登録キーからの入力であ
つたならステツプ10に進む。否ならステツプ11
に進む。
9 If the entered data was entered from the registration key, proceed to step 10. If no, step 11
Proceed to.

10 BUF1の内容をすべてBUF2に移し、FGを
セツトする。
10 Move all contents of BUF1 to BUF2 and set FG.

11 入力したデータが名称キーからの入力であつ
たならステツプ12へ進む。否ならステツプ13に
進む。
11 If the input data was input from the name key, proceed to step 12. If not, proceed to step 13.

12 KBより次に入力されるデータをレジスタ
NREGへ入力する。
Register the next input data from 12 KB.
Input to NREG.

13 入力したデータが印刷キーPKからの入力で
あつたならステツプ14へ進む。否ならステツプ
15へ進む。
13 If the input data was input from the print key PK, proceed to step 14. If no, step
Proceed to step 15.

14 差込み印刷処理を行う。詳細は後述する。14 Perform mail merge processing. Details will be described later.

15 入力したデータが保存キーMKからの入力で
あつたならステツプ16へ進む。否ならステツプ
17へ進む。
15 If the input data was input from the save key MK, proceed to step 16. If no, step
Proceed to 17.

16 BUF1に蓄えられたデータをDISCに保存す
る。その時のキーワード(フアイルネーム)は
レジスタNREGに蓄えられている名前を使う
ものとする。
16 Save the data stored in BUF1 to DISC. The keyword (file name) at that time shall be the name stored in the register NREG.

17 入力したデータが呼出キーからの入力であつ
たならステツプ18に進む。否ならステツプ19に
進む。
17 If the input data was input from the call key, proceed to step 18. If not, proceed to step 19.

18 DISCから文書データ等を呼出し、BUF1に
入れる。その時のキーワード(フアイルネー
ム)はレジスタNREGに蓄えられた名前を用
いる。
18 Retrieve document data etc. from DISC and put it in BUF1. The keyword (file name) used at that time is the name stored in the register NREG.

19 入力したデータがその他諸々の編集キーであ
つたなら、ステツプ20に進む。否ならステツプ
21に進む。
19 If the entered data is any other editing key, proceed to step 20. If no, step
Proceed to 21.

20 各種編集処理を行う。20 Perform various editing processes.

21 入力したデータを捨てる。21 Discard the entered data.

次に前述したステツプ14についてさらに詳細に
説明する。(第4図)。
Next, the aforementioned step 14 will be explained in more detail. (Figure 4).

14.1 FG=1ならばステツプ14.3に進む。 14.1 If FG=1, proceed to step 14.3.

FG=0ならばステツプ14.2に
進む。
If FG=0, proceed to step 14.2.

14.2 レジスタNREGに蓄えられたデータをキ
ーワード(フアイルネーム)としてDISCか
ら文書を呼出し、BUF2に蓄える。
14.2 Recall the document from the DISC using the data stored in the register NREG as a keyword (file name) and store it in BUF2.

14.3 FGをリセツトする。 14.3 Reset FG.

14.4 カレントパラメータPを1にセツトす
る。
14.4 Set the current parameter P to 1.

14.5差込み処理を実行する。(詳細は後述) 14.6 印刷処理を実行する。(BUF3の内容を
プリンタに出力する。) 14.7 カレントパラメータPをインクリメント
する。
14.5 Execute the merge process. (Details will be described later) 14.6 Execute print processing. (Output the contents of BUF3 to the printer.) 14.7 Increment the current parameter P.

14.8 P=PMAXであるなら(即ち差込みが終了
したなら)リターンする。
14.8 If P=P MAX (that is, if the insertion is completed), return.

否ならステツプ14.3に進む。If not, proceed to step 14.3.

ここでP=MAXであることは、差込みデータ
のレコードのすべてについて差込みを完了し
たことを示す。
Here, P= MAX indicates that insertion has been completed for all records of insertion data.

次にステツプ14.5について詳述する。(第5図) 14.5.1 BUF1の内容をすべてBUF3に移す。 Next, step 14.5 will be explained in detail. (Figure 5) 14.5.1 Move all contents of BUF1 to BUF3.

BUF3(N)←=BUF1(N) N=1,2,3…… 14.5.2 Nを1にセツトする。 BUF3(N)←=BUF1(N) N=1, 2, 3... 14.5.2 Set N to 1.

14.5.3 BUF3NがBタブセツトコードである
ならステツプ14.5.4に進む。否ならステツプ
14.5.7に進む。
14.5.3 If BUF3N is a B tab set code, proceed to step 14.5.4. If no, step
Proceed to 14.5.7.

14.5.4 BUF3Nがアンダライン付コードであ
るならばステツプ14.5.5に進む。否なら
14.5.6に進む。
14.5.4 If BUF3N is an underlined code, proceed to step 14.5.5. If no
Proceed to 14.5.6.

14.5.5 アンダライン付の差込み編集処理を行
う。
14.5.5 Perform inset editing with underlining.

BUF(N+Q−1)←=BUF2(P,
Q)+>80 Q=1,2,3……QMAX ここで>は、16進コードを示す。
BUF(N+Q-1)←=BUF2(P,
Q)+>80 Q=1, 2, 3...Q MAX where > indicates a hexadecimal code.

14.5.6 アンダライン無の差込み編集処理を行
う。
14.5.6 Perform insert editing without underlining.

BUF(N+Q−1)←=BUF2(P,
Q) Q=1,2,3……QMAX 14.5.7 N←=N+1 14.5.8 N=NMAXであるならばリターンする。否
ならばステツプ14.5.3に進む。
BUF(N+Q-1)←=BUF2(P,
Q) Q=1,2,3...Q MAX 14.5.7 N←=N+1 14.5.8 If N=N MAX , return. If not, proceed to step 14.5.3.

即ちBUF3に格納されているすべてのデ
ータに対し差込み処理を完了する。
That is, the insertion process is completed for all data stored in BUF3.

他の応用例 1 本実施例では、内部的なFGにより、登録に
よる差込み印刷なのか、登録によらない差込み
印刷なのかの区別を行つているが、この旨を例
えばDRT等に表示することにより、ユーザー
にも明白に判断がつくようにしても良い。
Other Application Example 1 In this embodiment, internal FG is used to distinguish between registration-based merge printing and non-registration merge printing. , the user may also be able to make a clear decision.

[発明の効果] 以上説明した様に、本発明によれば、被差込み
データである文書情報におけるデータの差込み位
置へのカーソルの移動を、移動の指示に応答して
差込み位置の検索と該位置へのカーソルの表示を
行わせることにより、文書の中に埋もれている差
込み位置の発見が容易となり、差込み位置付近の
データの編集や差込み位置の確認が非常に簡便・
確実となる。
[Effects of the Invention] As explained above, according to the present invention, the movement of the cursor to the data insertion position in the document information that is the data to be inserted is performed by searching for the insertion position and performing the search for the insertion position in response to a movement instruction. By displaying the cursor, you can easily find the insertion position hidden in the document, and it is very easy to edit data near the insertion position and check the insertion position.
Become certain.

また、差込みデータによる差込み印刷を行う他
に、差込みデータに含まれていないものを入力し
たい時にも、わざわざ差込みデータを新たに作成
したり、更新したりせずに、直線入力する際に
も、差込み位置がすぐにわかる為、入力が楽にな
るという効果がある。
In addition to printing merge data using merge data, when you want to input something that is not included in the merge data, you can also use it to input data in a straight line without having to create or update the merge data. This has the effect of making input easier because the insertion position can be easily identified.

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

第1図は本発明による1実施例を示すブロツク
図、第2図はキーボードの詳細図、第3図〜第5
図は制御手順を示す図、第6図1,2,3は作動
を説明する為の図。 NREG……レジスタ、BUF1〜3……バツフ
ア。
Fig. 1 is a block diagram showing one embodiment of the present invention, Fig. 2 is a detailed view of the keyboard, and Figs. 3 to 5.
The figure is a diagram showing a control procedure, and FIG. 6 1, 2, and 3 are diagrams for explaining the operation. NREG...Register, BUF1-3...Batsufua.

Claims (1)

【特許請求の範囲】 1 文書情報を記憶する文書記憶手段と、 差込むべき文字列情報を記憶する差込み情報記
憶手段と、 前記文書記憶手段に記憶される文書情報におい
て、前記差込み情報記憶手段に記憶される文字列
情報の差込み位置を記憶する記憶手段と、 前記記憶手段に記憶される文書情報の差込み位
置に従つて、前記差込み情報記憶手段に記憶され
た文字列情報を前記文書情報に差込んで印字する
よう制御する印字制御手段とを有する文字処理装
置であつて、 前記記憶手段に記憶された文書情報を表示する
表示手段と、 前記差込み位置にカーソルを移動するよう指示
する指示手段と、 前記指示に応答して、前記文書情報において前
記差込み位置を検索し、カーソルを該位置に表示
するよう制御する制御手段とを有することを特徴
とする文字処理装置。
[Scope of Claims] 1. Document storage means for storing document information; Insert information storage means for storing character string information to be inserted; In the document information stored in the document storage means, the insertion information storage means a storage means for storing an insertion position of the stored character string information; and a storage means for inserting the character string information stored in the insertion information storage means into the document information according to the insertion position of the document information stored in the storage means. A character processing device comprising: a print control means for controlling printing in a detailed manner; a display means for displaying document information stored in the storage means; and an instruction means for instructing to move a cursor to the insertion position. . A character processing device comprising: a control means for searching the insertion position in the document information in response to the instruction, and controlling the cursor to be displayed at the position.
JP56166640A 1981-10-19 1981-10-19 character processing device Granted JPS5868136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56166640A JPS5868136A (en) 1981-10-19 1981-10-19 character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56166640A JPS5868136A (en) 1981-10-19 1981-10-19 character processing device

Publications (2)

Publication Number Publication Date
JPS5868136A JPS5868136A (en) 1983-04-22
JPH0442688B2 true JPH0442688B2 (en) 1992-07-14

Family

ID=15835018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56166640A Granted JPS5868136A (en) 1981-10-19 1981-10-19 character processing device

Country Status (1)

Country Link
JP (1) JPS5868136A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60176784A (en) * 1984-02-24 1985-09-10 Hitachi Ltd Table data insertion printing device
JPS6115267A (en) * 1984-06-29 1986-01-23 Kuraichiro Kazama Document producing system
JPS63106827A (en) * 1986-10-24 1988-05-11 Casio Comput Co Ltd Word processor
JPH02297256A (en) * 1989-03-22 1990-12-07 Sharp Corp Character processor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4085445A (en) * 1976-06-07 1978-04-18 International Business Machines Corporation Text merge with copies and envelopes
JPS57106990A (en) * 1980-12-23 1982-07-03 Sharp Corp Editing processor

Also Published As

Publication number Publication date
JPS5868136A (en) 1983-04-22

Similar Documents

Publication Publication Date Title
JPH0442688B2 (en)
JPH0612514B2 (en) Document processing method and apparatus
JPH069045B2 (en) Word processor
JPH0440730B2 (en)
JPS6351306B2 (en)
JPH0572270B2 (en)
JP3067083B2 (en) Document input device
JPH0666066B2 (en) Document processor with furigana addition function
JP2995630B2 (en) Document data processing device
JP2596950B2 (en) Character processor
JPH0411393B2 (en)
JPS61175765A (en) Format setting system for document processor
JPS6263366A (en) Searching system for unwritten part in word processor
JPH05257936A (en) Document creation device
JPH0716192Y2 (en) Text processor
JPH0666065B2 (en) Document processor with furigana addition function
JPS61151595A (en) Electronic appliance
JPH0749851A (en) Document shaping device
JPH01288957A (en) Character processor
JPH05342207A (en) Format specifying method for word processor
JPS59146329A (en) Japanese language input device
JPS63137359A (en) Word processor
JPS62189566A (en) document creation device
JPH0199166A (en) document creation device
JPH0687235B2 (en) Character processing device with user dictionary