JPH01215574A - Word processor - Google Patents

Word processor

Info

Publication number
JPH01215574A
JPH01215574A JP63040586A JP4058688A JPH01215574A JP H01215574 A JPH01215574 A JP H01215574A JP 63040586 A JP63040586 A JP 63040586A JP 4058688 A JP4058688 A JP 4058688A JP H01215574 A JPH01215574 A JP H01215574A
Authority
JP
Japan
Prior art keywords
printing
document
numerical information
printed
serial number
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
JP63040586A
Other languages
Japanese (ja)
Inventor
Yoshimi Shibata
柴田 佳美
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63040586A priority Critical patent/JPH01215574A/en
Publication of JPH01215574A publication Critical patent/JPH01215574A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To enable a serial-number printing in an easy manner, by a method wherein, when during printing of a consecutive numeric character string, such as a page number application, numerical information as an initial value is inputted and a serial-number printing is specified, it is automatically updated to the same kind of numeric character information and stored after the initial numeric value is printed. CONSTITUTION:If a serial-number printing is specified by a keyboard 16, a CPU 10 develops a document stored in a document storage area of a RAM 11 according to a character pattern 14 in a ROM 12 and prints it on a handy printer 23. At this time, if a serial-number printing is specified and the numerical data of a line, e.g., the specified initial numerical data, is printed, a value 1 is added to a numeric value corresponding to a numerical code of a Kanji- numeric or alphanumeric character and converted to a numerical code corresponding to the updated value and further to a carried alphanumeric value, and the value is successively updated to be printed. In this manner, a document requiring a serial-number printing can be formed efficiently.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、文書の範囲を指定して印刷を行なう文書作
成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a document creation device that prints by specifying a range of a document.

(従来の技術) 従来、日本語ワードプロセッサ等の文書作成装置におい
て、ポータプル用の小型のものでは、文書の頁づけ等の
連番印刷を行なう場合には、印刷するたびに数字等の文
字列を入力しなければならなかった。
(Prior Art) Conventionally, in small-sized document creation devices such as Japanese word processors for portaple use, when performing serial number printing such as pagination of documents, character strings such as numbers are input every time they are printed. had to enter.

(発明が解決しようとする課題) このように従来の文書作成装置で連番を印刷する場合に
は、そのたびに数字等の文字を入力しなければならない
ために非常に手間がかかっていた。
(Problems to be Solved by the Invention) In this way, when printing serial numbers using a conventional document creation device, characters such as numbers must be input each time, which is very time-consuming.

この発明は上記のような点に鑑みてなされたもので、入
力された数値情報を印刷するごとに自動的に更新して、
連番印刷を容易にする文書作成装置を提供することを目
的とする。
This invention was made in view of the above points, and it automatically updates input numerical information every time it is printed.
An object of the present invention is to provide a document creation device that facilitates serial number printing.

[発明の構成] (課題を解決するための手段) この発明は、文書記憶領域に文書データを記憶する文書
作成装置において、文書記憶領域に文書データを記憶す
る文書作成装置において、印刷が指定された上記文書デ
ータの数値情報について連番印刷を行なうか否かを指定
するための連番印刷指定キーが押下された際に、印刷が
指定された文書データから連番印刷の対象となる数値情
報を検索し、印刷が指定された文書データを印刷した後
、検索された数値情報を同一文字種の連続した数値情報
に変換して、先に連番印刷の対象として検索された数値
情報にかえて記憶して構成するものである。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides a document creation device that stores document data in a document storage area, in which printing is specified. When the serial number print designation key for specifying whether or not to perform serial number printing for the numerical information of the document data mentioned above is pressed, the numerical information to be serial number printed from the document data specified to be printed. After searching for and printing the document data specified for printing, the searched numeric information is converted to continuous numeric information of the same character type, and then replaced with the numeric information that was previously searched for sequential number printing. It is something that is memorized and configured.

(作用) このようにして構成される文書作成装置においては、例
えば買付等の連続した数字列を印刷する場合に、初期値
となる数値情報を入力して連番印刷を指定すれば、この
初期数値を印刷した後に同一種の数字情報に自動的に更
新して記憶する。
(Function) With the document creation device configured in this way, when printing a continuous number string such as a purchase order, for example, if you input numerical information to be the initial value and specify serial number printing, you can print the serial number. To automatically update and store numerical information of the same type after printing initial numerical values.

こうして記憶された数値情報を再利用して連番印刷処理
を行なう。
The numerical information thus stored is reused to perform serial number printing processing.

(実施例) 以下、図面を参照してこの発明の一実施例を説明する。(Example) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例に係わる文書作成装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention.

第1図に於いて、lOはマイクロプロセッサ(CPU)
、11は同マイクロプロセッサ10によりアクセスされ
るRAM、12は同ROMである。
In Figure 1, lO is a microprocessor (CPU)
, 11 is a RAM accessed by the microprocessor 10, and 12 is a ROM.

マイクロプロセッサ(以下CPUと称す)10は装置全
体の制御を行なうもので、上記RAMII及びROM1
2をアクセスして、入力指示に従うプログラムの起動で
、文書作成処理、外字作成処理、更には第2図に示すよ
うな連番印刷処理等を実行する。RAMIIは、文書領
域、行イメージ領域(印字バッファ)、外字登録領域、
藷句登録領域などの各制御情報を記憶する領域からなる
A microprocessor (hereinafter referred to as CPU) 10 controls the entire device, and controls the RAM II and ROM 1 described above.
2 and starts the program in accordance with input instructions to execute document creation processing, external character creation processing, serial number printing processing as shown in FIG. 2, etc. RAMII has a document area, line image area (print buffer), external character registration area,
It consists of an area for storing various control information such as a phrase registration area.

ROM12は、CPUl0の動作を決定するプログラム
や第2図に示すような連番印刷処理プログラム等を格納
したプログラム領域13をはじめ、表示あるいは印字文
字パターン等を記憶する文字パターン領域14、仮名あ
るいはローマ字で入力された読みを漢字に変換するため
の各種辞書が登録された辞書領域15等を有している。
The ROM 12 includes a program area 13 that stores a program that determines the operation of the CPU 10 and a serial number printing program as shown in FIG. 2, a character pattern area 14 that stores display or print character patterns, etc. It has a dictionary area 15 etc. in which various dictionaries for converting inputted readings into kanji are registered.

又、16はキーボード(KB)、18は表示器、21は
フロッピィディスク装置(FDD)、23はハンディプ
リンタ(PRT)である。キーボード(KB)1Bは、
文書作成等に必要な入力情報をキーボードインターフェ
イス(KB−IF)17を介してCPUl0へ入力する
。このキーボード16には文字入カキ−及び連番印刷を
指定する連番印刷キー等を含む各種のファンクションキ
ーが設けられる。表示コントローラ(表示−〇NT)1
9は、CPUl0の制御の下に表示用RAM20を用い
表示器18の表示制御を行なう。フロッピィディスク装
置21は、ディスクインターフェイス(FDD−IF)
22を介してCPUl0の制御の下に、作成された文書
を保存したり、外字および第2水準文字等を記憶する。
Further, 16 is a keyboard (KB), 18 is a display, 21 is a floppy disk device (FDD), and 23 is a handy printer (PRT). Keyboard (KB) 1B is
Input information necessary for document creation etc. is input to the CPU 10 via the keyboard interface (KB-IF) 17. The keyboard 16 is provided with various function keys including a character entry key, a serial number print key for designating serial number printing, and the like. Display controller (display-〇NT) 1
9 controls the display of the display 18 using the display RAM 20 under the control of the CPU10. The floppy disk device 21 has a disk interface (FDD-IF).
Under the control of the CPU 10 via 22, created documents are saved and external characters, second level characters, etc. are stored.

ハンディプリンタ23は、ハンディプリンタ・インター
フェイス(ハンディプリンターIF)24を介してCP
 U 10の制御の下に、作成された連番印刷の対象と
なる数値を含む文書あるいは上記フロッピィディスク装
置21から本体内に読み込んだ文字情報を印字する。
The handy printer 23 connects to the CP via a handy printer interface (handy printer IF) 24.
Under the control of U 10, a document containing numerical values to be serially printed or character information read into the main body from the floppy disk device 21 is printed.

このようにして構成される文書作成装置の動作を説明す
る。
The operation of the document creation device configured in this way will be explained.

ここでは、キーボード16から入力された数値を含む文
書を、−ハンディプリンタ・インターフェース24を介
して接続されたハンディプリンタ23により印刷するも
のとする。このハンディプリンタ23は、RA M 1
1内の文書記憶領域に格納された文書データを、指定さ
れた1行分ずつ印字するものである。
Here, it is assumed that a document including numerical values input from the keyboard 16 is printed by the handy printer 23 connected via the handy printer interface 24. This handy printer 23 has RAM 1
The document data stored in the document storage area of 1 is printed one specified line at a time.

まず、すでに作成されてRA M 11内の文書記憶6
n域内に格納されている文書を印刷する際、印刷指定さ
れた文書について連番印刷を実行するか否かがユーザに
より指定される(ステップSl)。
First, the document storage 6 that has already been created and is in the RAM 11
When printing documents stored in the n area, the user specifies whether or not to execute serial number printing for the documents designated for printing (step Sl).

ここで、ユーザからの連番印刷の指定がない場合は、印
刷指定された行が印刷パターンに展開され(ステップS
4)、印刷が実行される(ステップS5)。なお、ハン
ディプリンタ23により印刷を行なう構成としたので、
ここでは連番印刷指定範囲は1行ずつとなっている。
Here, if the user does not specify serial number printing, the lines specified for printing are developed into a print pattern (step S
4), printing is executed (step S5). Note that since the configuration is such that printing is performed using the handy printer 23,
Here, the sequential number print specification range is one line at a time.

ユーザからの連番印刷実行の指定がある場合には、印刷
が指定された行に数値データがあるか検索される(ステ
ップS2)。ここで、数値データがない場合には、この
まま印刷パターンに展開され(ステップS4)、印刷が
実行される(ステップS5)。
When the user specifies execution of serial number printing, a search is made to see if numerical data exists in the line specified to be printed (step S2). Here, if there is no numerical data, the data is developed into a print pattern as is (step S4), and printing is executed (step S5).

また、数値データがある場合には、印刷パターンに展開
され(ステップS6)、印刷が実行される(ステップS
7)。このとき、同じ行に複数の数値データが存在する
場合には、例えば表示画面中の右に位置する数値データ
を対象とする。
Furthermore, if there is numerical data, it is developed into a printing pattern (step S6) and printing is executed (step S6).
7). At this time, if a plurality of numerical data exist on the same line, for example, the numerical data located on the right side of the display screen is targeted.

こうして、数値データを含む行が印刷された後、連番印
刷の対象となる数値コードXが漢数字であるか、または
英数字であるか判定される(ステップS8)。
After the line containing the numerical data is printed in this manner, it is determined whether the numerical code X to be serially printed is a Chinese numeral or an alphanumeric character (step S8).

数値コードXが英数字コードである場合には、この英数
字コードXに対応する数値2に変換され(ステップS9
)、この数値に1が加えられる(ステップS 10)。
If the numerical code X is an alphanumeric code, it is converted to the numerical value 2 corresponding to this alphanumeric code X (step S9
), 1 is added to this value (step S10).

そして、この更新された数値2に対応する英数字コード
に変換される(ステップS 11)。一方、数値コード
Xが漢数字の場合は、この英数字コードXに対応する数
値yに変換され(ステップ512)、この数値に1が加
えられる(ステップS 13)。そして、この更新され
た数値yに対応する漢数字コードに変換される(ステッ
プS 11)。なお、印刷表示は、英数字のrl、2゜
・・・、9.OJと漢数字の「−2二、・・・、九、 
OJとが対応している。したがって、英数字の「10」
は漢数字のr−OJと対応しており、「十」となってい
ない。
Then, it is converted into an alphanumeric code corresponding to this updated numerical value 2 (step S11). On the other hand, if the numerical code X is a Chinese numeral, it is converted into a numerical value y corresponding to this alphanumeric code X (step 512), and 1 is added to this numerical value (step S13). Then, this updated numerical value y is converted into a corresponding Chinese numeral code (step S11). In addition, the print display is alphanumeric characters rl, 2°..., 9. OJ and the Chinese numerals “-22,..., 9,
It corresponds to O.J. Therefore, alphanumeric "10"
corresponds to the Chinese numeral r-OJ, and is not "ten".

次に、こうして更新処理された数字コードについて、桁
上がりがあるか判断される(ステップ515)。桁上が
りがあると判断されると、数字コードに対し桁上がり処
理がされる(ステップ516)。そして、桁上がり処理
された数字コード、または桁上がりがなくステップSl
l、SL4で変換された数字コードを文書記憶領域に記
憶する。
Next, it is determined whether or not there is a carry in the numeric code updated in this way (step 515). If it is determined that there is a carry, carry processing is performed on the numeric code (step 516). Then, a numeric code that has undergone carry processing or a step Sl without a carry.
1. The numerical code converted in SL4 is stored in the document storage area.

(ステップS 17)。この際、文書領域への記憶は、
初めに連番印刷の対象として検索された数値コードが書
換えられる。また、数値に桁上がりがある場合には、桁
上がり分の数値コードが挿入される。
(Step S17). At this time, storage in the document area is as follows:
The numerical code that was first searched for as a target for serial number printing is rewritten. Furthermore, if there is a carry in the numerical value, a numerical code corresponding to the carry is inserted.

こうして、連番印刷の対象となっている数値コードが書
換えられた文書の内容を表示する(ステップS 1g)
In this way, the content of the document with the numerical code targeted for serial number printing rewritten is displayed (step S 1g)
.

さらに、繰返して連番印刷を行なう場合には、再び連番
印刷指定行に数値コードがあるか検索され(ステップS
3)、以下同様の処理が繰返される。
Furthermore, if serial number printing is to be performed repeatedly, the serial number printing designated line is searched again for a numeric code (step S
3), and the same process is repeated thereafter.

こうして、連番印刷が終了し、更新文書内容が表示され
た後に連番印刷処理の終了の指定が入力されると(ステ
ップ519)、連番印刷モードを終了する。
In this way, when the serial number printing is completed and the instruction to end the serial number printing process is input after the updated document content is displayed (step 519), the serial number printing mode is ended.

このようにして、印刷される文書中に連番印刷の対象と
なる数値情報を検索し、印刷後に数値を更新し、再び文
書領域に連番印刷対象となった数値情報と書換えて記憶
することにより、連番を印刷するたびに数値を入力する
必要がないので、連番印刷を容易に行なうことができる
In this way, the numerical information to be serial number printed is searched for in the printed document, the numerical value is updated after printing, and the numerical information to be serial number printed is rewritten and stored in the document area again. This eliminates the need to input numerical values each time a serial number is printed, making it easy to print serial numbers.

なお、上記実施例では数値が増加していく連番印刷につ
いて説明したが、更新処理の際に1を減じることにより
、数値が減少していく逆連番印刷を行なうことができる
。この場合、ステップS15では桁下がりがあるか判断
され、桁下がりがある場合には桁下がり処理が行なわれ
る。
In the above embodiment, serial number printing in which the numerical value increases is explained, but by subtracting 1 during the update process, it is possible to perform reverse serial number printing in which the numerical value decreases. In this case, in step S15, it is determined whether or not there is a carry down, and if there is a carry down, a carry down processing is performed.

また、上記実施例では漢数字、及び英数字についての連
番印刷を行なったが、これに限らず、他の異なった文字
種または文字サイズの連番印刷に応用することも可能で
ある。
Further, in the above embodiment, serial numbers were printed for Chinese numerals and alphanumeric characters, but the present invention is not limited to this, and it is also possible to apply the present invention to serial number printing for other different character types or character sizes.

さらに、文書の印刷をハンディプリンタを用いて行なっ
たが、他の印刷手段を用いても良いことは勿論である。
Furthermore, although the document was printed using a handy printer, it goes without saying that other printing means may be used.

[発明の効果] 以上のようにこの発明によれば、文書の記憶を行なう文
書作成装置において、文書領域に記憶された文書中から
連番印刷の対象となる数値情報を検索し、この数値情報
を更新して、連番印刷対象となった文書領域中の数値情
報と書換えて再び記憶することにより、連番を印刷する
際にそのつど文字を入力する必要がなくなるために、連
番印刷が必要な文書を効率よく作成することができる。
[Effects of the Invention] As described above, according to the present invention, in a document creation device that stores documents, numerical information to be serial number printed is retrieved from documents stored in a document area, and this numerical information is By updating the numeric information in the document area that is the target of serial number printing and storing it again, there is no need to enter characters each time when printing serial numbers, so serial number printing is possible. Necessary documents can be created efficiently.

また、異なる文字種を連番印刷の対象とすることができ
るので、連番印刷を広い範囲で行なうことが可能となる
Further, since different character types can be subjected to serial number printing, serial number printing can be performed over a wide range.

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

第1図はこの発明の一実施例に係る文書作成装置の構成
を示すブロック図、第2図は同実施例における連番印刷
の処理手順を示すフローチャートである。 IO・・・マイクロプロセッサ(CPU)、11・・・
RAM、12・・・ROM%13・・・プログラム領域
、14・・・文字パターン領域、15・・・辞書領域、
1B・・・キーボード(KB)、17・・・キーボード
インターフェイス(KB−I F) 、18・・・表示
器、19・・・表示コントローラ(表示−CNT)、2
0・・・表示用RAM。 21・・・フロッピィディスク装置(FDD)、22・
・・フロッピィディスク・インターフェイス(FDD−
IF)、23・・・ハンディプリンタ、24・・・ハン
ディプリンタ・インターフェイス。 出願人代理人 弁理士 鈴江武彦
FIG. 1 is a block diagram showing the configuration of a document creation apparatus according to an embodiment of the present invention, and FIG. 2 is a flowchart showing a processing procedure for serial number printing in the embodiment. IO...Microprocessor (CPU), 11...
RAM, 12...ROM%13...Program area, 14...Character pattern area, 15...Dictionary area,
1B... Keyboard (KB), 17... Keyboard interface (KB-IF), 18... Display device, 19... Display controller (display-CNT), 2
0...RAM for display. 21... Floppy disk device (FDD), 22.
・Floppy disk interface (FDD-
IF), 23... Handy printer, 24... Handy printer interface. Applicant's agent Patent attorney Takehiko Suzue

Claims (2)

【特許請求の範囲】[Claims] (1)文書記憶領域に文書データを記憶す る文書作成装置において、印刷が指定された上記文書デ
ータの数値情報について連番印刷を行なうか否かを指定
するための連番印刷指定キーと、この連番印刷指定キー
が押下された際に印刷が指定された文書データから連番
印刷の対象となる数値情報を検索する検索手段と、印刷
が指定された文書データを印刷する印刷手段と、上記検
索手段によって検索された数値情報を印刷が行なわれる
毎に同一文字種の連続した数値情報に更新する更新手段
と、この更新手段により更新された数値情報を上記検索
手段により検索された文書データ中の数値情報にかえて
記憶する記憶手段とを具備したことを特徴とする文書作
成装置。
(1) In a document creation device that stores document data in a document storage area, there is a serial number print designation key for specifying whether or not to perform serial number printing for the numerical information of the document data specified to be printed; a search means for searching numerical information to be subjected to serial number printing from document data designated to be printed when a serial number printing designation key is pressed; a printing means for printing the document data designated to be printed; an updating means for updating the numerical information retrieved by the searching means into continuous numerical information of the same character type each time printing is performed; and updating the numerical information updated by the updating means in the document data retrieved by the searching means. A document creation device characterized by comprising a storage means for storing numerical information instead of numerical information.
(2)上記数値情報の更新手段は、数値情 報の文字種を判別して対応する文字種で更新することを
特徴とする特許請求の範囲第1項記載の文書作成装置。
(2) The document creation device according to claim 1, wherein the numerical information updating means determines the character type of the numerical information and updates the numerical information with a corresponding character type.
JP63040586A 1988-02-25 1988-02-25 Word processor Pending JPH01215574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63040586A JPH01215574A (en) 1988-02-25 1988-02-25 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63040586A JPH01215574A (en) 1988-02-25 1988-02-25 Word processor

Publications (1)

Publication Number Publication Date
JPH01215574A true JPH01215574A (en) 1989-08-29

Family

ID=12584603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63040586A Pending JPH01215574A (en) 1988-02-25 1988-02-25 Word processor

Country Status (1)

Country Link
JP (1) JPH01215574A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03114359U (en) * 1990-03-06 1991-11-25

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03114359U (en) * 1990-03-06 1991-11-25

Similar Documents

Publication Publication Date Title
JP2959473B2 (en) Document processing device
JPH01215574A (en) Word processor
JP2958974B2 (en) Document processing device
JPS60253572A (en) Blank filling printing system
JP2761606B2 (en) Document data processing device
JP3342028B2 (en) Kana-Kanji conversion device
JPH0422653A (en) Printer
JP2944666B2 (en) Character processor
JPH0512267A (en) Automatic paragraphing system
JPH08320860A (en) File name setting method
JPH04190450A (en) Document processor
JPH096772A (en) Character processor
JPH02301856A (en) Document preparing device
JPH08292953A (en) Document processor
JPH04155571A (en) Document processor
JPH06243136A (en) Document preparing device
JPS60181835A (en) Information processor
JPH04133166A (en) Kana/kanji converter
JPH0340066A (en) Slip issuing device
JPH0743715B2 (en) Document processor
JPH028956A (en) Document processor
JPH04316154A (en) Document preparing system
JPS63163573A (en) Japanese word processor
JPH01139262A (en) Character laying-out apparatus
JPH01216468A (en) Document interchangeable device