JPS6019236A - Recorder - Google Patents

Recorder

Info

Publication number
JPS6019236A
JPS6019236A JP58126990A JP12699083A JPS6019236A JP S6019236 A JPS6019236 A JP S6019236A JP 58126990 A JP58126990 A JP 58126990A JP 12699083 A JP12699083 A JP 12699083A JP S6019236 A JPS6019236 A JP S6019236A
Authority
JP
Japan
Prior art keywords
character
index
page
keyword
data
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
JP58126990A
Other languages
Japanese (ja)
Inventor
Satoshi Nagata
聡 永田
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 JP58126990A priority Critical patent/JPS6019236A/en
Publication of JPS6019236A publication Critical patent/JPS6019236A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To rearrange automatically character string data in response to a prescribed rule by specifying the character string data contained in the record information data given from a record information data generating source. CONSTITUTION:The document data and a control command for index are stored to an input buffer 2 from a record information generator 1, and a CPU3 reads a character code out of the buffer 2. In this case, the character pattern corresponding to the read-out input character code is stored repetitively in an output page buffer memory 7 until said control command is read out as long as the absence of a branch command is decided. Then a key word table production routine is called out when the control command is read out, and an index production routine is called out and processed with an index production command. If a record end code or an end code of record information data is discriminated during the process of said production routines, the dot signals equivalent to a page of the memory 7 are converted successively into video signals every scan line and printed out by a page printer 9.

Description

【発明の詳細な説明】 (技術分野) 本発明は、記録装置に関し、特に、技術解説書、報告書
等の索引あるいは参考文献等所定の規則に従って配列さ
れる文書あるいは@語を記録する記録装置ξに関する。
[Detailed Description of the Invention] (Technical Field) The present invention relates to a recording device, and particularly to a recording device for recording documents arranged according to predetermined rules, such as technical manuals, indexes of reports, reference materials, etc., or @ words. Regarding ξ.

(従来技術) この種記録装置t、例えはプリンタは、従来、科学技術
計算、事務処理計算などのデータ処理における出力装置
、とじて多く用い5られて来たが、11シ近のいわゆる
ワードプロセッサの鉾及に伴い、文:4)作成時におけ
る出力装置としても極〈普通に用いられるようになった
。しかして、各Jipの形態の文書には、文書の末尾に
、例えば第1図に示すように、特に注目すべき用語を、
同一頭文字などiff +こまとめてそれぞれの該当ペ
ージを示したいわゆる索引を付ける必要のある文書が含
まれており、いわゆるマニュアル、技術解説書、報告書
等がそれに該当する。
(Prior Art) This type of recording device, for example, a printer, has traditionally been widely used as an output device in data processing such as scientific and technical calculations and office processing calculations. With the introduction of the Japanese language, it came to be extremely commonly used as an output device when creating. Therefore, at the end of each Jip-format document, as shown in Figure 1, particularly noteworthy terms are written.
It includes documents that require a so-called index that indicates the corresponding pages of the same initials, etc., and includes so-called manuals, technical manuals, reports, etc.

従来、この種の文書に索引を伺して印刷する際には、原
稿の作成時および印刷装置鐸に供給する印刷情報データ
の作成時に、っぎのような填雑な作業をせざるを得なか
った。すなわち、まず、文書の本文を作成した後に、索
引を必要とする用+fnをキーワードとして抽出し、そ
のキーワードがいずれのページに位置するかの割り出し
を行い、さらに、多数のキーワードを、例えばアイウェ
オIIIMなどの何らかの規則に従って並べ替えること
により、索引の各ページ毎の構成配価を決定するなどの
作業を行う必要かあり、かかる索引の部分をも含めた印
刷情報データをまとめて印刷装置に供給しなければなら
なかった。
Conventionally, when indexing and printing this type of document, it was necessary to perform a number of cumbersome tasks when creating the manuscript and when creating print information data to be supplied to the printing device. Ta. That is, first, after creating the main text of the document, extract +fn as a keyword that requires an index, determine which page the keyword is located on, and then extract a large number of keywords, for example, It is necessary to perform work such as determining the configuration layout for each page of the index by sorting according to some rules such as I had to.

さらに、上述のようにして一旦作成した印刷情報データ
に、文書の本文等の追!J11や削除を施した場合には
、索引の各キーワードが位置するページのページ番号に
ずれが生ずるので、索引自体および関連個所のデータを
修正して、印刷情報データ全体の作りil!fl、か必
要となるという極めて煩雑な作業を要する欠点があった
。
Furthermore, you can add the text of the document, etc. to the print information data once created as described above! If J11 or deletion is performed, the page numbers of the pages on which each keyword in the index is located will be misaligned, so the index itself and related data must be corrected to create the entire print information data! This method has the drawback that it requires extremely complicated work.

(目r19) 本発明の目的は、上述した従来の欠点を除去し、記録情
報データ発生源からの記録情報データ中に含まれている
文字列データを44.定しさえすれば、自動的に、その
特定された文字列データが所定の規j11]に従って、
並ひ替えられるようにした記録装置を提供することにあ
る。
(Object r19) An object of the present invention is to eliminate the above-mentioned conventional drawbacks and to convert character string data contained in recorded information data from a recorded information data source into 44. Once specified, the specified character string data will be automatically converted according to the specified rules j11].
An object of the present invention is to provide a recording device that can be rearranged.

(実 施 例) 以下に図面を参照して実施例につき本発明の詳細な説明
する。
(Example) The present invention will be described in detail below with reference to the drawings.

まず、本発明記録装置における制御系の構成例を第2図
に示す。なお図示の構成による制御系は、記録情報発生
源から送られて来た文字コードデータおよび制御指令を
入力して、レーザビームプリンタ等のページ毎に文書を
記録する記録機構によって印字する場合の例を示してい
る。
First, an example of the configuration of the control system in the recording apparatus of the present invention is shown in FIG. The control system with the illustrated configuration is an example in which character code data and control commands sent from a recording information generation source are input and printed by a recording mechanism such as a laser beam printer that records documents page by page. It shows.

図示の構成において、lは文字コードデータおよび制御
指令を発生させる計算機などからなる記録情報発生装置
であり、2はその文字コードデータおよび制御指令を一
時蓄積する人力バッファメモリであり、3は汎用マイク
ロプロセッサなどからなる中央演伸処理装置であり、4
は文字コードデータから文字ドラI・パターンを発生さ
せる文字パターン発生器であり、5は中央1iiT 3
’ll処理装置3からの記録情報に応して作成中の文書
のページ番号を順次に設定するページプリンタであり、
6はランダムアクセスメモリなどからなり、索引の作成
に必要な用語からなるキーワードを順次に記憶するキー
ワードテーブルメモリであり、7は1ペ一ジ分の記録情
報を順次に一時記憶する出力用〆−シパンファメモリで
あり、8は出力用ページバッファメモリ7からのドント
信号をビデオ信号に変換してプリンタに供給するプリン
タインタフェース部であり、9はそのビデオ信号により
実際に文字肖像を印刷するページプリンタである。
In the illustrated configuration, 1 is a record information generating device consisting of a computer that generates character code data and control commands, 2 is a manual buffer memory that temporarily stores the character code data and control commands, and 3 is a general-purpose microcontroller. It is a central processing unit consisting of a processor, etc.
is a character pattern generator that generates a character pattern from character code data, and 5 is the central 1iiT3
'll A page printer that sequentially sets page numbers of a document being created according to recorded information from the processing device 3,
Reference numeral 6 is a keyword table memory consisting of a random access memory, etc., which sequentially stores keywords consisting of terms necessary for creating an index, and reference numeral 7 is an output terminal which sequentially temporarily stores one page's worth of recorded information. 8 is a printer interface unit that converts the dont signal from the output page buffer memory 7 into a video signal and supplies it to the printer; 9 is a page printer that actually prints character portraits using the video signal. It is.

以北の構成による;1.II iJy系の動作説明に先
立ち、その制御動作に用いる11ノ制御指令の構成の例
を第3図につき説明する。
Depends on the composition to the north; 1. II Prior to explaining the operation of the iJy system, an example of the structure of 11 control commands used for its control operation will be explained with reference to FIG.

まず、制御指令としては、文字列データ中にて索引に記
載すべき川1i/iからなるキーワードを特定するため
の制御指令と、その制御指令により#j定したキーワー
ドを゛索引として実際に記録することを支持する制御指
令とがあり、第3図(A)、第31/′I(B) 、’
is 3図(C) に示す構成の制御指令が前者であり
、第3図(D)に示す構成の制御指令が後者である。
First, the control commands include a control command for specifying a keyword consisting of river 1i/i that should be recorded in the index in character string data, and a control command for actually recording the keyword specified by the control command as an index. There are control commands that support this, and there are control commands that support
The control command with the configuration shown in FIG. 3(C) is the former, and the control command with the configuration shown in FIG. 3(D) is the latter.

しかして、索引は、−nシに、第1図示の例におけるよ
うに、対象とするキーワードを、文書の本文中に現われ
る順番にはよらず、何らかの適9Jな規則、例えばアイ
ウェオ順やアルファベットj)「1などに従って並べ替
えることにより、その用をなすものであり、したかって
、文書本文中のキーワードとなる用語を特定する際には
、キーワードを一本引ページに記録するに要する制御情
報と、キーワードを所定の規則に従って並べ子季えて、
いわゆるソートし得るようにするに要する制御情+Vと
を組合わぜて明確にしておく必要がある。例えは、fN
字からなるキーワードについて考察するに、索引には、
キーワードとして漢字自体を印字すべきであるが、漢字
コードを例えばJrSコード朧に並べても索引の用をな
さず、漢字の読み仮名によって索引を構成するのが実情
に適している。したがって、キーワードを特定する際に
は、キーワードの印字に必要な「印字文字Jとキーワー
ドのソートに必要な「ソート文字」とを併記して明確に
しておく必要があり、キーワード特定のための制御指令
は、第3図(B)に示すように構成する。
Therefore, as in the example shown in the first figure, the index does not depend on the order in which the target keywords appear in the text of the document, but rather on some suitable rule, such as the alphabetical order or alphabetical order. )"1, etc., and therefore, when specifying terms that are keywords in the text of a document, the control information and control information required to record the keywords in a single reference page are used. , sort the keywords according to a predetermined rule,
It is necessary to clarify the control information +V required to enable so-called sorting. For example, fN
Considering keywords consisting of letters, the index contains
Although the kanji characters themselves should be printed as keywords, arranging kanji codes, for example, JrS codes, does not serve as an index, and it is suitable for the actual situation to construct an index based on the reading kana of kanji characters. Therefore, when specifying a keyword, it is necessary to clearly indicate the ``printing character J'' necessary for printing the keyword and the ``sort character'' necessary for sorting the keywords, and the control for keyword identification. The command is configured as shown in FIG. 3(B).

すなわち、キーワード開始指令11に引続き、仮名より
なるソーI・文字12と漢字よりなる印字文字15とを
肩線よりなる分割記号14によって分割して配置i?#
 L 、末j(にキーワード終了指令13を付ける。か
かる構成のキーワードについて実際に印字するのは、図
示の例では「大」であり、ソートする際には「いぬJな
るイ1)名に依る。しかして、後述する′・+;引ソー
I・のアルゴリズムとして、平仮名と片イ反名とを同列
に取扱うようにしておけば、「いぬ」をr 4ヌJとす
ることもできる。
That is, following the keyword start command 11, the so I character 12 consisting of kana and the printed character 15 consisting of kanji are divided by the dividing symbol 14 consisting of a shoulder line and arranged i? #
Add keyword end command 13 to L, end j (.In the illustrated example, what is actually printed for keywords with this structure is ``Large'', and when sorting, ``Dog J Naru I 1)'' is printed. However, if we treat hiragana and katakana in the same way as the algorithm for '.

[−述と同様に、英文字よりなるキーワードについては
、第3図(G)に示すように、例えば片仮名よりなるン
ーI・文字12と英文字よりなる印字文字15とを分割
配置′〆1することになる。なお、キーワード自体が(
I*名である場合には、第3図(A)に示すように、仮
名よりなるソート文字12のみにより印字文字15をも
兼ね1分割記号14は省略する。
[Similar to the above, for keywords consisting of English letters, for example, as shown in FIG. I will do it. Note that the keyword itself is (
In the case of an I* name, as shown in FIG. 3(A), only the sort character 12 consisting of kana also serves as the print character 15, and the one-division symbol 14 is omitted.

以」−のようなキーワード特定用制御指令の構成に対し
て、索引記、ごI用の制御指令は、第3図(D)に>l
\すように、容易に識別し得るコード形式さえ決めてお
けは、索引作成指令16を設けるのみで足り、かかる索
引作成指令16のコー゛ドを文書本文中の適切な個所、
例えば文書の束尾に挿入することにより、それまでに特
定したキーワードの索引化作成することができる。
Regarding the structure of the control command for keyword specification such as "-", the control command for indexing and I is shown in Fig. 3 (D).
If a code format that can be easily identified is determined as shown in the following, it is sufficient to provide the index creation command 16, and the code of the index creation command 16 can be placed at an appropriate place in the document text.
For example, by inserting it at the end of a document, it is possible to create an index of the keywords specified so far.

前述のような制御指令が文書データ中に適切に挿入され
ていることを前提として、・未発明記録装置における記
録情報データ処理の過程の例を第4図ないし第7図につ
き説明する。なお、給4図はキーワードを蓄積するだめ
のキーワードテーブルメモリ6におけるメモリ領域の構
成配置図であり、第5図ないし第7図は中央演算処理装
置3の主たる制御過程の例をそれぞれ示すフローチャー
トである。
On the premise that the aforementioned control commands are appropriately inserted into the document data, an example of the process of processing recorded information data in an uninvented recording device will be explained with reference to FIGS. 4 to 7. In addition, FIG. 4 is a configuration diagram of the memory area in the keyword table memory 6 for storing keywords, and FIGS. 5 to 7 are flowcharts showing examples of the main control processes of the central processing unit 3. be.

第2図示の構成による制御系において、記録情報発生装
置lからの文書データおよび索引用制御指令は、一旦入
力バッファメモリ2に蓄JJ’t Lだ後に、中央演算
処理装置3に供給する。その中央演算処理装置3は、第
5図示の主たるフローナヤー)・におけるステップS1
にて、出力用ページパンツアメモリ7に作成中の1ペ一
ジ分の文字データニ付すべきページ番号を設定するため
のページカウンタ5を初期化する。なお、初期値は通例
”l”°とするか、別体系の制御指令により適切に変更
しIIるようにしておくのが好適である。ついで、中央
演30処理装置3は、ステップS2にて1文字コードを
入力/シッフアメモリ2から読出し、ステップS3にて
判別した結果が文字データの終了でなけれは、ステップ
S4およびS5にて索引用制御指令、すなわち゛、キー
ワード開始指令11および索引作成指令18の有無をそ
れぞれ判別する。それらの制御指令が読出されていない
場合には、ステップS6に移行し、出力用ページバッフ
ァメモリ7が1ペ一ジ分の文字データにより満たされて
いるが否かを4:tl別し、未だ満だされていなければ
ステップS8に直接に移行して、読出した入力文字コー
ドに対応する文字パターンを出力用ページバッファメモ
リ7にfit J71する。すなわち、その入力文字コ
ートをアドレスにして、各文字コードにそれぞれ対応し
たドツトパターンを格納したランダムアクセスメモリも
しくはリードオンリメモリからなる文字パターン発生器
4から入力文字コードに対応する文字ドツトパターンを
読出℃て、中央演/i?処理装R3によるメモリ位置制
御のもとに、出刃用ページバッファメモリ7に文字ドツ
トパターンを蓄積する。しかる後に、次の1文字コード
を人カパッファメモリ2から読出すためにステップs2
に戻り、上述した索引用制御指令が読出されるまで、か
かる過程を反復する。
In the control system having the configuration shown in FIG. 2, document data and indexing control commands from the record information generating device 1 are once stored in the input buffer memory 2 and then supplied to the central processing unit 3. The central processing unit 3 performs step S1 in the main flow shown in FIG.
At , the page counter 5 for setting the page number to be added to the character data for one page being created in the output page panzer memory 7 is initialized. Note that it is preferable that the initial value is usually set to "l"°, or that it is appropriately changed by a control command of a separate system. Next, the processing device 3 of the central processing unit 30 inputs/reads a one-character code from the shifter memory 2 in step S2, and if the result determined in step S3 is that the character data is finished, index control is performed in steps S4 and S5. The presence or absence of commands, ie, keyword start command 11 and index creation command 18, is determined. If those control commands have not been read out, the process moves to step S6, and it is determined whether or not the output page buffer memory 7 is filled with character data for one page by 4:tl. If it is not full, the process directly proceeds to step S8, and the character pattern corresponding to the read input character code is fit J71 into the output page buffer memory 7. That is, using the input character code as an address, the character dot pattern corresponding to the input character code is read out from the character pattern generator 4, which is a random access memory or read-only memory that stores dot patterns corresponding to each character code. Te, Chuoen/i? Character dot patterns are stored in the blade page buffer memory 7 under memory position control by the processing device R3. After that, step s2 is performed to read the next one-character code from the human buffer memory 2.
and repeats this process until the above-mentioned index control command is read out.

かかる反復過程の途中に、ステップs6にて出刃用ペー
ジバッファメモリ7か1ペ一ジ分の文字列データにより
満されたと判別したときには、ステップS7にて、1ペ
一ジ分のドラI−frA号を1スキャンライン分ずつ順
次にプリンタインタフェース部8に供給してビデオ信号
に変換したうぇでページプリンタ9にて記録し、ついで
、ステ・ツブS8ニてページカウンタ5を歩進させたう
えで、ステップS8に移行する。また、ステップs2が
らステップS8までの過程の反復の途中に、ステップs
4およびステップs5にて索引用制御指令が読出された
と判別したときには、キーワード開始指令11であれば
、ステップs10に移行し、キーワ一トテープル作成ル
ーチンを呼出して処理した後にステ・ンブS2に戻り、
また、索引作成指令16であれば、ステップSllに移
行し、′索引作成ルーチンを呼出して処理した後にステ
ップS2に戻る。なお、キーワード作成ルーナンおよび
索引作成ルーチンは第6図およびi″シフ図つきそれぞ
れ後述する。
During this iterative process, when it is determined in step s6 that the blade page buffer memory 7 is filled with one page's worth of character string data, in step S7, the blade I-frA is filled with one page's worth of character string data. The number is sequentially supplied one scan line at a time to the printer interface unit 8, converted into a video signal, and then recorded by the page printer 9. Next, the page counter 5 is incremented by the step S8. Then, the process moves to step S8. Also, during the repetition of the process from step s2 to step S8, step s
4 and step s5, when it is determined that the index control command has been read, if it is the keyword start command 11, the process moves to step s10, calls the keyword table creation routine and processes it, and then returns to step S2.
If the index creation command is 16, the process moves to step Sll, calls the index creation routine and processes it, and then returns to step S2. The keyword creation routine and index creation routine will be described later with reference to FIG. 6 and the i'' Schiff diagram, respectively.

上述のような主たる記録過程の途中に、ステップS3に
て、記録業務の終了を示すコードやファイルの終りをノ
l\すコードなどの記録情報データの終りを告げるコー
ド′をI′ll別したときには、ステップS12に移行
して出力用ページバッファメモリ7に文字列データが残
存しているか否かを判別し、残存していなけれは以上の
処理過程を完了とし、また、残存していれは、ステップ
S12にて残存文字データを記録した後に処理過程を完
了とする。
During the main recording process as described above, in step S3, a code indicating the end of recorded information data, such as a code indicating the end of recording work or a code indicating the end of a file, is separated. Sometimes, the process moves to step S12 to determine whether or not character string data remains in the output page buffer memory 7. If the character string data does not remain, the above processing process is completed. After the remaining character data is recorded in step S12, the process is completed.

つぎに、第6図示のキーワードテーブル作成ルーチンに
おいては、ステップS21にて、第4図ノJへのキーワ
ードテーブルメモリ6におけるページ番号格納領域23
にメークカウンタ5にて設定した− ページ番月を10
進コードにして格納した後に、ステップS22およびS
23にて、処理中のキーワードのソート文字数および印
字文字数をそれぞれ計数するカウンタ(図示せず)をそ
れぞれクリアして初期化し、ついで、ステップS24に
て、印字文字がソート文字とは別に存在することを示す
[別文字印字フラグJをクリアする。しかるイ&に、ス
テップS25にて次の1文字コードを読取り、分古り記
号14を読取る前の文字列データ、すなわら、ソート文
字列12を読取る間はステップS28.S27を経てス
テップ528に移行し、「別文字印字フラグ」がオフで
あると判別されるので、ステップS31にて、キーワー
ドテーブルメモリ6内のソート文字格納領域21に1文
字分のソート文字を格納した後に、ステップS32にて
同領域21の文字格納位差を指示するソート文字格納カ
ウンタ(図示せず)を歩進させ、ついでステップS25
にノχす、次の1文字コードを読取る。vJ3図(B)
に小した例についていえば、「いぬ」と上述の処理を2
回反復した後に、ステップS27にて分割記号14?読
取ったと判別すると、ステップ533にて「別文字印字
フラグ」をオンにしただけで直ちにステップS25に戻
る。
Next, in the keyword table creation routine shown in FIG. 6, in step S21, the page number storage area 23 in the keyword table memory 6 to J in FIG.
Set the page number and month in Make Counter 5 to 10.
After converting it into a base code and storing it, steps S22 and S
In step S23, counters (not shown) that count the number of sorted characters and the number of printed characters of the keyword being processed are cleared and initialized, and then, in step S24, it is determined that the printed characters exist separately from the sorted characters. [Clear the separate character printing flag J. Then, in step S25, the next one-character code is read, and while the character string data before reading the out-of-date symbol 14, ie, the sorted character string 12, is read, step S28. The process moves to step 528 via S27, and it is determined that the "separate character printing flag" is off, so in step S31, one sort character is stored in the sort character storage area 21 in the keyword table memory 6. After that, in step S32, a sort character storage counter (not shown) indicating the character storage position difference in the same area 21 is incremented, and then in step S25
Next, read the next one-letter code. vJ3 diagram (B)
For an example of reducing the number to ``dog'', the above processing is 2
After repeating the division number 14? times, in step S27 the division symbol 14? If it is determined that the text has been read, the "separate character printing flag" is turned on in step 533, and the process immediately returns to step S25.

1−二連のようにして復帰したステ・ンプ5254ごて
次の1文字コードを読取った後に、ステ・ンプS26゜
S27を経てステップS28に移行し、「別文字印字フ
ラグ」かオンであると判別すると、ステップS29にて
キーワードテーブルメモリ6内の印字文字格納領域22
に1文字分の印字文字を格納した後に、ステップS30
にて同領域22内の格納位置を指小する印字文字格納カ
ウンタ(図示せず)を歩進させたうえで、再びステップ
S25に戻り、第3図(B)に示した例でいえば、「犬
」を印字文字格納領域22に格納し終える。ついで、ス
テップS26にてlj&後にキーワード終了指令13を
1売取ったと判別すると、ステップS34に移住してキ
ーワードテーブルメモリ6のポインタを次のキーワード
を格納する位置に歩進させた後に、キーワードテーブル
作成ルーチンの全過程を終了し、もとの主処理過程に復
帰する。
1- After reading the next one-character code using the step 5254 that has returned in two consecutive steps, the process moves to step S28 via steps S26 and S27, and the "separate character printing flag" is turned on. If it is determined that the print character storage area 22 in the keyword table memory 6 is
After storing one character's worth of printed characters in , step S30
After incrementing a printed character storage counter (not shown) that indicates the storage position in the area 22, the process returns to step S25, and in the example shown in FIG. 3(B), Storing "dog" in the printed character storage area 22 is completed. Next, if it is determined in step S26 that one keyword end command 13 has been sold after lj&, the process moves to step S34, and after advancing the pointer of the keyword table memory 6 to the position where the next keyword is stored, the keyword table is created. The routine completes all steps and returns to the original main processing step.

第3図(A)に示したようにソート文字と印字文字とが
一致して同一文字列からなる場合には、キーワードテー
ブルメモリ6内のソート文字格納領域21にのみその文
字列を格納し、印字文字格納領域22は初期化時の空白
のままとなる。
As shown in FIG. 3(A), when the sort character and the print character match and consist of the same character string, the character string is stored only in the sort character storage area 21 in the keyword table memory 6, The print character storage area 22 remains blank at the time of initialization.

以上のようにして、キーワード開始相<目lを読取る度
毎に、キーワードテーブル作成ルーチンに移行してキー
ワードテーブル作成の過程が進行するが、キーワードテ
ーブルメモリ6に格納済みのキーワードが再度読取られ
たときに、同一キーワードと判別してキーワードテーブ
ル作成ルーチンを省略する信号処理は、つきの索引作成
ルーチンにて行う。
As described above, each time the keyword start phase <l is read, the process moves to the keyword table creation routine and the keyword table creation process progresses, but the keywords already stored in the keyword table memory 6 are read again. Sometimes, signal processing to determine that the keywords are the same and omit the keyword table creation routine is performed in the accompanying index creation routine.

第7図に示す索引作成ルーチンにおいては、玉たる処理
過程のステップS5にて読取った索引作成指令1Gに応
じてステップS11にてその索引作成ルーチンが呼出さ
れると、まず、ステップS4]にて、それまでに出力用
ページバッファメモリ7に蓄積した文字ドツトパターン
を記録した少に、ステップS42にてページカウンタ5
を芸道させ、キーワードテーブルメモリ6内のソート文
字格納領域21に格納しであるソート文字をキーとして
ステップS43にてソートを行うが、その際に、同一キ
ーワードがあれば単位のキーワードとしてまとめ、ペー
ジ番じ一格納領域23にページ番号を追加して格納する
。また、同音のソート文字であれば片仮名と平仮名とを
同一ソート文字として扱い、平仮名のソーI・文字がす
べて並んだ後に片仮名のソート文字が並ぶことがないよ
うにする必要がある。また−1淘点、半18・1点等の
取扱いについても考1をする必要がある。
In the index creation routine shown in FIG. 7, when the index creation routine is called in step S11 in response to the index creation command 1G read in step S5 of the tamadaru processing process, first, in step S4] , the character dot patterns accumulated in the output page buffer memory 7 up to that point are recorded in the page counter 5 in step S42.
is stored in the sorting character storage area 21 in the keyword table memory 6, and sorting is performed in step S43 using the sorting character as a key. At that time, if there are identical keywords, they are grouped as unit keywords, and the page is sorted. A page number is added and stored in the number one storage area 23. Furthermore, if the sorted characters have the same sound, it is necessary to treat katakana and hiragana as the same sorted character, so that the katakana sorted characters are not lined up after all the hiragana sort I characters are lined up. It is also necessary to consider how to handle -1 points, half-18 points, etc.

つぎに、ステフプS44にて、ステップS9におけると
p+目、1に処理して、i l 11示の例におけるよ
うなヘッダ文字「・索引」の文字ドツトパターンを出力
用ページパンツアメモリ7に蓄積する。ついで、ステ、
プS45にて、キーワードテーブルメモリ6のポインタ
を初期化して、すでにソートした先頭位置を指示させた
後に、1キ一ワード分ずつ処理し、ステ、プ54flに
てすべてのキーワードを処理したとキ11別するまで、
以下に述べるキーワード処理を反1υして行い、索引を
作成する。
Next, in step S44, the p+th character in step S9 is processed to 1, and the character dot pattern of the header character "・index" as in the example shown in i l 11 is stored in the output page panzer memory 7. do. Next, Ste.
In step S45, the pointer of the keyword table memory 6 is initialized to point to the already sorted start position, and then each key is processed one word at a time, and in step S45, when all keywords have been processed, the key is 11 Until we part,
The keyword processing described below is performed in reverse 1υ to create an index.

すなわち、まず、ステップ347にて、ソート文字格納
領域21の先頭文字が直前に処理したキーワードの先頭
文字と同じであるか否かを判別し、最初のキーワードに
ついては必ず先頭文学科わりが生ずるのであるから、先
頭文字十+わりか生じたと判別すると、ステフプS48
ないしS51にて、第1図示の例における「ア」のよう
な第1右文字の見出し部を出力用ページバッファメモリ
7に碗ジノな位1δ関係を保って蓄積し、ステップS5
2に移4iする。その際ステップS48にて出力用ペー
ジバッファメモリ7のメモリ領域が満たされているか否
かを判別した結果、必要であれは、蓄積されている文字
列データを印刷してページカウンタ5を芸道させること
は、ステップS8ないしS8にて行ったのと同様である
。
That is, first, in step 347, it is determined whether the first character of the sorted character storage area 21 is the same as the first character of the keyword processed immediately before. Therefore, if it is determined that the first character 1+ has occurred, step S48
In step S51, the heading part of the first right character such as "A" in the example shown in the first diagram is stored in the output page buffer memory 7 while maintaining a 1δ relationship of about 100 yen, and in step S5
Move to 2 and do 4i. At this time, as a result of determining whether the memory area of the output page buffer memory 7 is full in step S48, if necessary, the stored character string data is printed to set the page counter 5. is the same as that performed in steps S8 and S8.

しかして、ステップS47にて判別した結果、先頭文学
科わりが生じていなかったときには、面接にステップS
52に移行し、上述したようなり?t l @文字の見
出し部の蓄積は行わない。また、必要があれば、ステッ
プS52ないしS54にて、出力用ページバッファメモ
リ7の蓄積データの記録処理を行った後に、ステップS
55にて、キーワードテーブルメモリ6内の印字文字格
納領域22とページ番号格納領域23とにそれぞれ格納
しである文字列データを出力用ページバッファメモリ7
に蓄積する。その際、印字文字格納領域22が空白であ
れは、印字文字がソート文字と同一であると判断し、ソ
ーI・文字格納領域21に格納しである文字列データを
出力用メージへツファメモリ7に蓄積する。なお、キー
ワードとページ番−りとは、第1図>7<のイ列におけ
るように適切な位In関係を保つ必要があり、さらに、
両者間を点線により連ねて見易くする。
However, as a result of the determination in step S47, if the first literature department has not occurred, the interview will be performed in step S47.
52 and as mentioned above? t l The header part of the @ character is not stored. Further, if necessary, after recording the accumulated data of the output page buffer memory 7 in steps S52 to S54, step S52 is performed.
At step 55, the character string data stored in the print character storage area 22 and the page number storage area 23 in the keyword table memory 6 is transferred to the output page buffer memory 7.
Accumulate in. At that time, if the print character storage area 22 is blank, it is determined that the print character is the same as the sort character, and the character string data stored in the sort I/character storage area 21 is transferred to the output image and to the buffer memory 7. accumulate. In addition, it is necessary to maintain an appropriate positional relationship between the keyword and the page number, as shown in the column 7 in Figure 1.
A dotted line connects the two to make it easier to see.

以」二のようにして一つのキーワードの処理が終了する
と、ステフプ55f(にて次のキーワード処理のために
キーワードテーブルメモリ6のポインタを歩進させた後
に、ステップ94Bに戻る。かかる処理過P[“をbj
 4”dしてキーワードテーブルメモリ6に格納したキ
ーワードのすべてについて処理を終rしたとステップ8
46にて判別すると、ステップS57に移行し、出力用
ページへツファメモリ7に蓄積したドツトパターン化さ
れた索引用文字列データを印刷した後に、ステップ55
8にてページカウンタ5を歩進させ、さらに、ステップ
S58にてキーワードテーブルメモリ6のメモリ領域を
空白にして初期化したうえで、もとの主たる処理過程に
復帰する。
When the processing of one keyword is completed as described above, the pointer of the keyword table memory 6 is incremented at step 55f (for the next keyword processing), and then the process returns to step 94B. [“bj
Step 8
If it is determined in step S46, the process moves to step S57, and after printing the dot-patterned index character string data stored in the buffer memory 7 to the output page, the process proceeds to step S55.
In step S8, the page counter 5 is incremented, and in step S58, the memory area of the keyword table memory 6 is blanked and initialized, and the process returns to the original main processing process.

以上の説明においては、仮名文字により索引を作成する
ようにしたが、莢文字その他の外国文字によっても容易
に索引を作成することができ、また、第3図(D)に示
したような索引作成指令16の形式も、例えば、ソーI
・キーをイ1ノ名、アルファベット、もしくはその双方
のいずれにするか等の指定や、第1図示の例では2段組
みにした索引の段組みを1段にするか2段にするが等の
指定、あるいは文学科わりの見出し部を文字中位にする
か、行単位、例えば「あ」行、「か」行等にするか等の
指定をパラメータとして付加するなど。
In the above explanation, the index was created using kana characters, but it is also possible to easily create an index using kana characters or other foreign characters. The format of the creation command 16 is also, for example,
・You can specify whether the key should be a name, an alphabet, or both, and whether the two-column index in the example shown in the first figure should be made into one or two columns, etc. , or specifying whether the heading section for the Department of Literature should be in the middle of characters, or whether it should be in line units, such as "A" line, "KA" line, etc., can be added as a parameter.

種々拡張して、索引構成の幅を拡げるようにすることも
できる。
Various extensions can be made to widen the range of index configurations.

また、本発明は・索引の作成だけでなく、例えば参考文
献ぢ−のリス!・の作成にも用いることができる。
Furthermore, the present invention is not only useful for creating indexes, but also for listing references! It can also be used to create .

また、本発明の記録装置はLBP、インクジェット“・
1のプリンクに限らずCRT等の記録装置にも適用でき
る。
Further, the recording apparatus of the present invention is LBP, inkjet ".
The present invention can be applied not only to a single link but also to a recording device such as a CRT.

(効 果) 以−にの説明から明らかなように、本発明によれは、記
録装置により記録すべき文書データ中に簡易な形式のキ
ーワード特定用制御指令と、任意の1片点にて索引を作
成するだめの制御指令とを埋め込むことにより、文、1
)に゛索引を付加する記録情報処理を極めて容易に行う
ことができ、したがって、取扱説明、+4や技術解説書
等の索引を必要とする文1!シの編集および記録情報デ
ータの作成作業の負1目か苫しく軒激されるのみならず
、文書の修正の際にも修11−個所のみに注目すれば足
り、索引自体を直接に再作成する必要がなくなり、改定
等の作業の負担も同時に軽拙されるという格別の効果が
イqられる。
(Effects) As is clear from the above description, according to the present invention, a control command for specifying a keyword in a simple format is included in document data to be recorded by a recording device, and an index is added at an arbitrary point. By embedding the control command to create the statement, 1
) can be extremely easily processed to record information that adds an index to it, and therefore sentences that require indexes such as instruction manuals, +4, technical manuals, etc. 1! Not only is the work of editing documents and creating recorded information data extremely frustrating, but when editing a document, you only have to pay attention to the 11th correction, and you can directly recreate the index itself. There is no need to do this, and the burden of work such as revisions is also reduced, which is a great advantage.

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

第1図は索引の構成配置の例を示す線図、第2図は本発
明記録装置における制御系の構成例を示すプロ・ンク線
図、第3図(A)ないし第3図(I])は本発明記録装
置の制御系に用いる制御指令の構成例をそれぞれ示す線
区、第4図は本発明記録装置における索引作成用キーワ
ードテーブルメモリのメモリ領域の構成例を示す線区、
第5図は本発明記録装置における記録情報データ処理過
程の例を示すフローチャート、第6図は向じくその処理
過程におけるキーワードテーブル作成過程の例を示f7
0−チャート、第7図は同しくその処理過程における索
引作成過程の例を示すフローチャートである。 l・・・記録情報発生装置、 2・・・入カパッフアメモリ、 3・・・中央演算処理装置、 4・・・文字パターン発生器、 5・・・ページカウンタ、 6・・・キーワードテーブルメモリ、 7・・・出力用ページパラ2アメモリ、8・・・プリン
タインクフェース部、 9・・・ページプリンタ。 特許出願人 キャノン株式会社
FIG. 1 is a diagram showing an example of the configuration and arrangement of an index, FIG. 2 is a Pronk diagram showing an example of the configuration of a control system in the recording apparatus of the present invention, and FIGS. 3(A) to 3(I) ) are line segments each showing an example of the configuration of control commands used in the control system of the recording apparatus of the present invention, and FIG.
FIG. 5 is a flowchart showing an example of the recording information data processing process in the recording apparatus of the present invention, and FIG. 6 is a flowchart showing an example of the keyword table creation process in the processing process.
0-Chart, FIG. 7 is a flow chart showing an example of the index creation process in the process. l...Record information generator, 2...Input buffer memory, 3...Central processing unit, 4...Character pattern generator, 5...Page counter, 6...Keyword table memory , 7... Output page para 2 memory, 8... Printer ink face section, 9... Page printer. Patent applicant Canon Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] データ源から発生した記録情報データ中の文字列データ
を特定する手段、その手段により特定した文字列データ
を記憶する手段、および、その特定した文字列データを
所定の規則に従って並べ+トえ記録する手段とを備えた
ことを特徴とする記録装置。
A means for identifying character string data in recorded information data generated from a data source, a means for storing character string data identified by the means, and arranging and recording the identified character string data according to a predetermined rule. A recording device comprising: means.
JP58126990A 1983-07-14 1983-07-14 Recorder Pending JPS6019236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58126990A JPS6019236A (en) 1983-07-14 1983-07-14 Recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58126990A JPS6019236A (en) 1983-07-14 1983-07-14 Recorder

Publications (1)

Publication Number Publication Date
JPS6019236A true JPS6019236A (en) 1985-01-31

Family

ID=14948921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58126990A Pending JPS6019236A (en) 1983-07-14 1983-07-14 Recorder

Country Status (1)

Country Link
JP (1) JPS6019236A (en)

Similar Documents

Publication Publication Date Title
US6279018B1 (en) Abbreviating and compacting text to cope with display space constraint in computer software
Reid Scribe: A document specification language and its compiler
EP0067303A2 (en) Report generation control system for text processing machines
JPS6165290A (en) Vector character font creation device
US4717911A (en) Technique for chaining lines of a document together to facilitate editing or proofreading
Burton Automated concordances and word indexes: The process, the programs, and the products
JPH0361596B2 (en)
JPS59106035A (en) Furigana (japanese syllabary attached to chinese character) adding system of text processor
Bratley et al. Information processing in dictionary making: Some technical guidelines
JPS60176137A (en) Sentence generating device
JP4111552B2 (en) Automatic document marking apparatus and method
Urdang A lexicographer's adventures in computing
JP2644778B2 (en) Character generator
van Arkel Advantages and disadvantages of computer aided editing
JPH0252315B2 (en)
JPS58211284A (en) Printer connecting device having editing function
Haralambous TEX and those other languages
Rosenblatt Three New Milton Concordances
JPH04253262A (en) Reading kana addition system
Samuelsson-Brown A glossary on your word processor
Loftin What Can Word Processing Do for You
JPH0666065B2 (en) Document processor with furigana addition function
JPS59231687A (en) Document processor
Goldman Computer-aided typesetting with a CRT
JPS63184864A (en) Documentation device