JP3035931B2 - Document processing device - Google Patents

Document processing device

Info

Publication number
JP3035931B2
JP3035931B2 JP1274667A JP27466789A JP3035931B2 JP 3035931 B2 JP3035931 B2 JP 3035931B2 JP 1274667 A JP1274667 A JP 1274667A JP 27466789 A JP27466789 A JP 27466789A JP 3035931 B2 JP3035931 B2 JP 3035931B2
Authority
JP
Japan
Prior art keywords
line
print
data
ruled line
ruled
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 - Fee Related
Application number
JP1274667A
Other languages
Japanese (ja)
Other versions
JPH03135654A (en
Inventor
英生 上野
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP1274667A priority Critical patent/JP3035931B2/en
Publication of JPH03135654A publication Critical patent/JPH03135654A/en
Application granted granted Critical
Publication of JP3035931B2 publication Critical patent/JP3035931B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文書処理装置に関し、特に表の外枠の縦罫線
が2頁以上の頁に連続する場合に、縦罫線が途切れる最
終印字行の下端と次頁の先頭印字行の上端とに表を区切
るための横罫線を夫々印字するようにしたものに関す
る。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus, and more particularly to a document processing apparatus in which a vertical ruled line of a table outer frame is continuous with two or more pages. The present invention relates to a configuration in which horizontal ruled lines for dividing a table are printed at a lower end and an upper end of a first print line of the next page, respectively.

〔従来技術〕(Prior art)

一般に、例えば日本語や英語のワードプロセッサに
は、大型のディスプレイを備えるとともに、文書データ
の入力作業を含む編集作業が容易に行なえるように、多
数の編集機能に加えて、作表モードを設定し縦罫線や横
罫線を用いて作表し得る作表機能も備えている。
Generally, for example, a Japanese or English word processor is equipped with a large display and a tabulation mode in addition to a number of editing functions so that editing operations including inputting document data can be easily performed. It also has a tabulation function that can create a table using vertical ruled lines and horizontal ruled lines.

ところで、この作表機能を備えたパードプロセッサで
は、第11図(a)・(b)に示すように、例えば縦罫線
122及び横罫線123を用いて作成した表が第1頁と第2頁
とに分割された場合には、第1頁に含まれる表の最初の
部分が印字用紙P1に、第2頁に含まれる表の残りの部分
が印字用紙P2に夫々分割して印字される。
By the way, in the pardo processor having the tabulation function, for example, as shown in FIGS.
122 and if the table created using a horizontal rule 123 is divided into a first page and the second page is the first part printing paper P 1 of the table included in the first page, the second page the remaining portion of the table that contains is printed with respectively divided into print sheet P 2.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述したように、従来のワードプロセッサでは、作成
した表が2つの頁に分割された場合、その表は第11図
(a)・(b)に示すように、単に2分割した状態で印
字されるだけなので、第1頁の最終印字行BL及び第2頁
の先頭印字行TLが夫々解放した状態となり、各頁に印字
された部分表が表らしく見えないという問題がある。
As described above, in the conventional word processor, when the created table is divided into two pages, the table is simply printed in two divided states as shown in FIGS. 11 (a) and 11 (b). Therefore, there is a problem that the last print line BL of the first page and the first print line TL of the second page are released, respectively, and the partial table printed on each page does not appear clearly.

また、作表中に表が第1頁と第2頁とに分割されたと
き、第1頁の最終印字行BLと第2頁の先頭印字行TLとに
対応させて作表中に予め区切りのための横罫線を入力し
ておくことが可能であるが、文書データを追加したり削
除したりする毎にこの区切り用の横罫線を移動させなけ
ればならないという問題がある。
When the table is divided into a first page and a second page during tabulation, the table is divided in advance into a table corresponding to the last print line BL of the first page and the top print line TL of the second page. It is possible to input a horizontal ruled line for this purpose, but there is a problem that every time document data is added or deleted, the horizontal ruled line for separation must be moved.

本発明の目的は、表が複数頁に分割されたときに縦罫
線が途切れる最終印字行の下端と次頁の先頭印字行の上
端とに夫々横罫線を印字し得るような文書処理装置を提
供することにある。
An object of the present invention is to provide a document processing apparatus capable of printing horizontal ruled lines at the lower end of the last print line where vertical ruled lines are interrupted when a table is divided into a plurality of pages and at the upper end of the first print line of the next page. Is to do.

〔課題を解決するための手段〕[Means for solving the problem]

本発明に係る文書処理装置は、第1図の機能ブロック
図に示すように、文字や記号、縦罫線や横罫線を含む罫
線及び種々の指令を入力する為の入力手段と、入力手段
から入力された文字や記号及び罫線のデータを印字位置
と対応づけて記憶する入力データ記憶手段と、罫線や文
字や記号を印字する印字手段と、入力手段を介して設定
された各頁の設定印字領域を記憶する印字領域メモリ
と、印字実行中の印字行を計数する行カウンタと、行カ
ウンタのデータに基いて入力データ記憶手段からデータ
を読出してそれらのデータに対応する文字や記号及び罫
線を各頁に所定行ずつ印字させるように印字手段を制御
する印字制御手段とを備えた文書処理装置において、印
字領域メモリと行カウンタと入力データ記憶手段のデー
タに基いて、印字実行中の頁の最終印字行に印字される
縦罫線の罫線データを検索するとともに、次頁の先頭印
字行に印字される縦罫線の罫線データを検索する罫線デ
ータ検索手段と、罫線データ検索手段で検索した罫線デ
ータを受け、最終印字行及び先頭印字行に少なくとも2
本の縦罫線が夫々存在し且つこれらの縦罫線が連なると
きには、最終印字行の下端と次頁の先頭印字行の上端と
に縦罫線間に亙って横罫線を夫々印字するように印字制
御手段に指令する横罫線追加制御手段とを設けたもので
ある。
As shown in the functional block diagram of FIG. 1, the document processing apparatus according to the present invention includes input means for inputting characters, symbols, ruled lines including vertical ruled lines and horizontal ruled lines, and various commands, and input from the input means. Input data storage means for storing the data of characters, symbols and ruled lines associated with the printing position, printing means for printing ruled lines and characters and symbols, and a setting print area for each page set via the input means , A line counter for counting the number of print lines being printed, and reading data from the input data storage means based on the data of the line counter, and writing characters, symbols and ruled lines corresponding to the data. In a document processing apparatus provided with print control means for controlling printing means so as to print a predetermined line on a page, printing is executed based on data in a print area memory, a line counter, and input data storage means. A ruled line data search unit that searches for ruled line data of a vertical ruled line printed on the first print line of the next page, and a ruled line data search unit that searches for ruled line data of a vertical ruled line printed on the first print line of the next page Received the ruled line data, the last print line and the first print line
When each of the vertical ruled lines is present and these vertical ruled lines are continuous, print control is performed so that horizontal ruled lines are printed at the lower end of the last print line and the upper end of the first print line of the next page, extending between the vertical ruled lines. Horizontal ruled line addition control means for instructing the means.

〔作用〕[Action]

本発明に係る文書処理装置においては、罫線データ検
索手段は印字領域メモリと行カウンタと入力データ記憶
手段のデータに基いて、印字実行中の頁の最終印字行に
印字される縦罫線の罫線データと、次頁の先頭印字行に
印字される縦罫線の罫線データとを夫々検索する。
In the document processing apparatus according to the present invention, the ruled line data search means is based on the data of the print area memory, the line counter, and the input data storage means, and the ruled line data of the vertical ruled line printed on the last print line of the page being printed. And the ruled line data of the vertical ruled line printed on the first print line of the next page.

一方、横罫線追加制御手段は、罫線データ検索手段か
ら検索した罫線データを受け、最終印字行及び先頭印字
行に少なくとも2本の縦罫線が存在し且つこれらの縦罫
線が連なるときには、最終印字行の下端と先頭印字行の
上端とに縦罫線に亙って横罫線を夫々印字するように印
字制御手段に指令する。従って、印字手段はこの最終印
字行の下端と次頁の先頭行上端とに横罫線を夫々追加印
字する。
On the other hand, the horizontal ruled line addition control means receives the ruled line data retrieved from the ruled line data search means, and when there are at least two vertical ruled lines in the last print line and the first print line and when these vertical ruled lines are continuous, the final print line Is instructed to print a horizontal ruled line over the vertical ruled line at the lower end of the first print line and the upper end of the first print line. Therefore, the printing means additionally prints horizontal ruled lines at the lower end of the last print line and the upper end of the first line of the next page.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明に係る文書処理装置は、
罫線データ検索手段と横罫線追加制御手段とを設けたこ
とにより作成した表の縦罫線が印字実行中の頁から次頁
に連続している場合には、印字中の頁の最終印字行の下
端と次頁の先頭印字行の上端とに横罫線が夫々追加印字
されるので、分割された各部分表の夫々を自動的に表ら
しく印字することができる。また、この横罫線は印字す
る際に自動的に追加印字されるので、作表中にこの横罫
線を予め入力する余分な作業を省略することができる。
As described above, the document processing device according to the present invention
If the vertical ruled line of the table created by providing the ruled line data search means and the horizontal ruled line adding control means is continuous from the page being printed to the next page, the lower end of the last printed line of the page being printed Horizontal ruled lines are additionally printed at the top of the first print line of the next page, respectively, so that each of the divided sub-tables can be printed automatically and clearly. Further, since this horizontal ruled line is automatically added when printing, an extra operation of inputting the horizontal ruled line in advance during table creation can be omitted.

〔実施例〕〔Example〕

以下、本発明の実施例について図面に基いて説明す
る。本実施例はCRT表示画面を備えたワードプロセッサ
に本発明を適用したものである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In this embodiment, the present invention is applied to a word processor having a CRT display screen.

第2図に示すように、ワードプロセッサ1の本体フレ
ーム2の前部にはキーボード3が配設され、キーボード
3の後方で本体フレーム2内には印字機構PMが配設され
ており、また本体フレーム2の後部上方にはCRTディス
プレイ装置CDが配置されている。
As shown in FIG. 2, a keyboard 3 is provided in front of the main body frame 2 of the word processor 1, and a printing mechanism PM is provided in the main body frame 2 behind the keyboard 3. A CRT display device CD is arranged above the rear part of the device 2.

キーボード3には、文字や数字及び記号を入力するた
めの複数の文字キー5、CRTディスプレイ65上のカーソ
ルを上下左右方向へ夫々移動させるためのカーソル移動
キー8、印字処理や文書作成処理に必要な各種の書式を
設定するための書式設定キー9、新規の文書を作成する
文書作成キー10、印字用紙14に文書を印字させる印字キ
ー11、各種の処理を実行させる実行キー12及び終了させ
る終了キー13、後述の印字処理制御において横罫線23を
追加印字するモードと追加印字しないモードとを択一的
に設定する横罫線モード設定スイッチ4、文書データを
編集処理するための各種の機能キーなどが設けられてい
る。
The keyboard 3 has a plurality of character keys 5 for inputting characters, numbers and symbols, cursor movement keys 8 for moving a cursor on the CRT display 65 in up, down, left and right directions, and is necessary for printing processing and document creation processing. Format setting key 9 for setting various formats, a document creation key 10 for creating a new document, a print key 11 for printing a document on printing paper 14, an execution key 12 for executing various processes, and an end for ending A key 13, a horizontal ruled line mode setting switch 4 for selectively setting a mode for additionally printing the horizontal ruled line 23 and a mode for not additionally printing in a printing process control described later, various function keys for editing document data, and the like. Is provided.

前記印字機構PMには、キャリッジを含む機械的機構と
その駆動機構及び印字用紙14を紙送りする機械的機構と
その駆動機構及びワイヤドット印字ヘッドとその駆動機
構などから構成されている。
The printing mechanism PM includes a mechanical mechanism including a carriage, a driving mechanism thereof, a mechanical mechanism for feeding the printing paper 14, a driving mechanism thereof, a wire dot print head, a driving mechanism thereof, and the like.

このワードプロセッサ1には図示しないがオートカッ
トシートフィーダSF(第3図参照)が接続されており、
制御装置Cから改頁信号を受けると、現在印字中の印字
用紙14を排出しスタッカーから次の印字用紙14を印字位
置に給紙する所謂改頁処理を実行する。
Although not shown, an automatic cut sheet feeder SF (see FIG. 3) is connected to the word processor 1.
When a page feed signal is received from the controller C, a so-called page feed process is executed in which the printing paper 14 currently being printed is discharged and the next printing paper 14 is fed from the stacker to the printing position.

制御装置Cは、メインCPU16と、そのメインCPU16にデ
ータバスなどのバス17を介して接続されたROM18、RAM70
及び図示しない入出力インターフェイスや印字機構PMの
各モータや印字ヘッドを駆動する駆動回路からなり、キ
ーボード3、印字機構PM及びオートカットシートフィー
ダSFは制御装置Cに接続されている。
The control device C includes a main CPU 16 and a ROM 18 and a RAM 70 connected to the main CPU 16 via a bus 17 such as a data bus.
The keyboard 3, the printing mechanism PM, and the auto-cut sheet feeder SF are connected to the control device C.

RAM70には、複数の文書データを格納するテキストメ
モリ71と、テキストメモリ71内の1つのアドレスを指示
するテキストポインタ(その内容をTPとする)72、文書
作成時に作表された罫線(縦罫線22及び横罫線23を含
む)の罫線データを格納する罫線データメモリ73、罫線
データメモリ73内の1つのアドレスを指示する罫線デー
タポインタ(その内容をKPとする)74、書式設定時にキ
ーボード3から設定された各頁共通の印字行数を格納す
る設定行数メモリ75及び設定された1印字行の印字文字
数を格納する設定文字数メモリ76、印字中の印字頁を順
次計数する頁カウンタ(その内容をPCとする)77、印字
中の印字行を順次計数する行カウンタ(その内容をLCと
する)78、印字処理する文書データ及び罫線データの読
出しが全て終了したときつまりEOT(エンド・オブ・テ
キスト)のときにセットする印字終了フラグPFを格納す
る印字終了フラグメモリ79、罫線を印字するときにセッ
トする罫線フラグKFを格納する罫線フラグメモリ80、罫
線検索処理されたときに縦罫線22の有無や位置及び横罫
線23の有無や開始位置・終了位置を格納する検索罫線デ
ータメモリ81、メインCPU16で演算処理した結果を一時
的に記憶する各種のメモリが設けられている。尚、テキ
ストメモリ71と罫線データメモリ73とが入力データメモ
リに相当するものであり、メモリ71・73の各データは印
字位置と対応づけて格納されている。
The RAM 70 includes a text memory 71 for storing a plurality of pieces of document data, a text pointer (the content thereof is TP) 72 for pointing to one address in the text memory 71, and a ruled line (vertical ruled line) created at the time of document creation. A ruled line data memory 73 for storing ruled line data of the ruled line data 23 (including the ruled line data 22) and a ruled line data pointer 74 (the contents thereof are designated as KP) 74 for specifying one address in the ruled line data memory 73. A set line number memory 75 for storing the number of print lines common to each set page, a set character number memory 76 for storing the number of print characters of one set print line, a page counter for sequentially counting the number of print pages being printed (contents thereof) 77), a line counter (the content is referred to as LC) 78 which sequentially counts the number of print lines being printed, and when all the document data to be printed and the ruled line data have been read, ie, EOT (EOT) Print end flag memory 79 that stores the print end flag PF that is set when the line is of text, a rule line flag memory 80 that stores the line flag KF that is set when ruled lines are printed, A search ruled line data memory 81 for storing the presence / absence and position of the vertical ruled line 22 and the presence / absence, start position and end position of the horizontal ruled line 23, and various memories for temporarily storing the results of arithmetic processing by the main CPU 16 are provided. The text memory 71 and the ruled line data memory 73 correspond to the input data memory, and the data in the memories 71 and 73 are stored in association with the print positions.

ROM18のプログラムメモリには、印字機構PMを制御す
る印字処理制御プログラム、オートカットシートフィー
ダSFを制御するプログラム、入力されたコードデータの
解読用プログラムなどが予め格納されている。ROM18の
データメモリには、文字や記号及び各種の縦罫線22や横
罫線23を印字するために約2000種類のドットパターンデ
ータが各コードデータに対応して記憶されている。
The program memory of the ROM 18 stores in advance a print processing control program for controlling the printing mechanism PM, a program for controlling the automatic cut sheet feeder SF, a program for decoding input code data, and the like. The data memory of the ROM 18 stores about 2000 types of dot pattern data corresponding to each code data for printing characters and symbols and various vertical ruled lines 22 and horizontal ruled lines 23.

ディスプレイ装置CDは表示制御装置DCとCRTディスプ
レイ65とで構成され、表示制御装置DCは表示用CPU25
と、表示用CPU25にデータバスなどのバス26を介して接
続されたROM30と、RAM40と、キャラクタRAM62と、アト
リビュートRAM61と、キャラクタジェネレータ63と、合
成回路64及びCRTコントローラ60とを備えた一般的なも
のである。
The display device CD includes a display control device DC and a CRT display 65, and the display control device DC includes a display CPU 25.
And a ROM 30 connected to a display CPU 25 via a bus 26 such as a data bus, a RAM 40, a character RAM 62, an attribute RAM 61, a character generator 63, a synthesizing circuit 64, and a CRT controller 60. It is something.

RAM40には、作成中の文書データ或いはRAM70のテキス
トメモリ71から読出した文書データを書き込むテキスト
メモリ41と、テキストメモリ41においてCRTディスプレ
イ65に表示されている複数行のうちカーソルを含む1表
示行の行データを書き込むラインバッファ42と、ライン
バッファ42においてカーソル表示位置に対応するカーソ
ルのカラムデータを格納するカーソルカラムメモリ43
と、テキストメモリ41においてカーソル位置するライン
バッファ42のデータが文書データの先頭行から何行目で
あるかを格納するカーソルラインメモリ44と、文書作成
時に作表された罫線の罫線データを格納する罫線データ
メモリ45、表示用CPU25が演算処理した結果を一時的に
記憶する各種のメモリが設けられている。
The RAM 40 includes a text memory 41 for writing the document data being created or the document data read from the text memory 71 of the RAM 70, and one display line including a cursor among a plurality of lines displayed on the CRT display 65 in the text memory 41. A line buffer 42 for writing line data, and a cursor column memory 43 for storing column data of a cursor corresponding to the cursor display position in the line buffer 42
And a cursor line memory 44 for storing the number of lines from the first line of the document data in the line buffer 42 where the cursor is located in the text memory 41, and the ruled line data of the ruled line created at the time of document creation. A ruled line data memory 45 and various memories for temporarily storing the result of the arithmetic processing by the display CPU 25 are provided.

前記罫線データメモリ45・73には、例えば第4図に示
すように、文書データ作成時に作成された表の罫線の罫
線データ(各印字位置毎に1バイト)が書式設定で設定
された頁単位で印字位置に対応して格納される。この1
バイトの罫線データは第5図に示すビット0〜7の何れ
かのビットに罫線の種類に応じて「1」がセットされた
ものである。つまり、ビット0〜3は横罫線データ用で
あり、ビット4〜7は縦罫線データ用である。ビット0,
4に「1」がセット(〔1 1〕の罫線データ)される
と、細い横罫線「−」23,細い縦罫線「|」22が文字印
字範囲15の下端と右端に夫々印字され、ビット1,5に
「1」がセット(〔2 2〕の罫線データ)されると、
太い横罫線 23,太い縦罫線 22が文字印字範囲15の下端と右端に夫々印字され、ビッ
ト2,6に「1」がセット(〔4 4〕の罫線データ)さ
れると、点線の横罫線 23,点線の縦罫線 22が文字印字範囲15の下端と右端に夫々印字される。
尚、キーボード3の機能キーには、罫線を引くモードを
設定するモードキー6と、第5図の3種類の罫線を設定
する罫線キー7とが含まれており、これらのキーにより
罫線モードと罫線の種類を設定した状態においてカーソ
ル移動キー8の操作により罫線データを入力できるよう
になっている。
For example, as shown in FIG. 4, the ruled line data memories 45 and 73 store ruled line data (1 byte for each print position) of a table ruled line created at the time of document data creation in page units set by format setting. Is stored corresponding to the print position. This one
The byte ruled line data is data in which one of bits 0 to 7 shown in FIG. 5 is set to "1" according to the type of ruled line. That is, bits 0 to 3 are for horizontal ruled line data, and bits 4 to 7 are for vertical ruled line data. Bit 0,
When "1" is set to 4 (ruled line data of [11]), a thin horizontal ruled line "-" 23 and a thin vertical ruled line "|" When "1" is set to 1,5 (ruled line data of [22]),
Thick horizontal border 23, thick vertical lines 22 is printed at the lower end and the right end of the character print range 15, respectively. When "1" is set in bits 2 and 6 (ruled line data of [44]), the dotted horizontal ruled line 23, vertical dotted line 22 is printed at the lower end and right end of the character print range 15, respectively.
The function keys of the keyboard 3 include a mode key 6 for setting a mode for drawing a ruled line and a ruled line key 7 for setting three types of ruled lines shown in FIG. When the type of the ruled line is set, the ruled line data can be input by operating the cursor movement key 8.

ROM30のプログラムメモリ31には、キーボード3のカ
ーソル移動キー8の操作或いは文字データの入力に応じ
てラインバッファ42に書き込むデータの制御を含むカー
ソル移動制御プログラム、CRTコントローラ60を制御す
る制御プログラム、メインCPU16から出力されるデータ
の入力処理或いはテキストメモリ41の文書データの編集
処理を制御する制御プログラムなどが予め格納されてい
る。
The program memory 31 of the ROM 30 includes a cursor movement control program including control of data to be written to the line buffer 42 in response to operation of the cursor movement key 8 of the keyboard 3 or input of character data, a control program for controlling the CRT controller 60, A control program for controlling input processing of data output from the CPU 16 or editing processing of document data in the text memory 41 is stored in advance.

次に、ワードプロセッサ1の制御装置Cで行なわれる
印字処理制御のレーチンについて第6図(b)のフロー
チャートに基いて説明するが、説明の都合上このワード
プロセッサ1の電源投入時に実行されるメイン制御のル
ーチンについて第6図(a)のフローチャートに基いて
説明する。尚、図中、Si(i=1、2、3・・・)は各
ステップである。
Next, a description will be given of a print processing control routine performed by the control device C of the word processor 1 with reference to the flowchart of FIG. 6B. For convenience of explanation, the main control executed when the power of the word processor 1 is turned on is described. The routine will be described with reference to the flowchart of FIG. In the drawing, Si (i = 1, 2, 3,...) Is each step.

ワードプロセッサ1に電源が投入されると、この制御
が開始されて先ず初期設定が実行される(S1)、所望の
処理内容を選択するためのメニューがディスプレイ65表
示される(S2)。このメニューには、「文書作成」、
「書式設定」、「印字」及び「その他」の処理内容が含
まれている。ここで、カーソル上・下移動キー8の操作
でブロックカーソルを文書作成に移動させて実行キー12
を操作すると文書作成処理が開始される(S3・S4)。そ
して、入力された文書データをラインバッファ42を介し
てテキストメモリ41に書き込む入力処理及び入力された
罫線データを罫線データメモリ45に書き込む入力処理が
実行され、終了キー13を操作すると、文書作成処理が終
了し(S5)、S2に戻ってメニューが表示される。このと
き、テキストメモリ41内の文書データはテキストメモリ
71に格納され、罫線データメモリ45内の罫線データはこ
の文書データと関連づけて罫線データメモリ73に格納さ
れる。
When the power is turned on to the word processor 1, this control is started and initial settings are first executed (S1), and a menu for selecting a desired processing content is displayed on the display 65 (S2). This menu includes "Create Document",
The processing contents of "format setting", "printing" and "others" are included. Here, the block cursor is moved to document creation by operating the cursor up / down key 8 and the execution key 12
Is operated to start the document creation processing (S3 / S4). Then, an input process of writing the input document data to the text memory 41 via the line buffer 42 and an input process of writing the input ruled line data to the ruled line data memory 45 are executed. When the end key 13 is operated, the document creation process is performed. Ends (S5), and returns to S2 to display the menu. At this time, the document data in the text memory 41 is stored in the text memory.
The ruled line data stored in the ruled line data memory 45 is stored in the ruled line data memory 73 in association with the document data.

カーソル上・下移動キー8及び実行キー12の操作で書
式設定処理が選択されるとこの処理が開始される(S3・
S6)。そして、表示された書式設定表に基いて、1頁の
印字行数や1印字行の印字文字数などの必要な設定値を
入力し、終了キー13を操作すると、書式設定処理を終了
し(S7)、S2に戻ってメニューが表示される。このと
き、印字行数が設定行数メモリ75に格納され、印字文字
数が設定文字数メモリ76に格納される。
When the format setting process is selected by operating the cursor up / down key 8 and the execution key 12, this process is started (S3.
S6). Then, based on the displayed format setting table, input necessary setting values such as the number of print lines per page and the number of print characters per print line, and operate the end key 13 to terminate the format setting process (S7). ), The menu returns to S2. At this time, the number of print lines is stored in the set line number memory 75, and the number of print characters is stored in the set character number memory 76.

次に、カーソル上・下移動キー8及び実行キー12の操
作で印字処理を選択するとこの処理が開始され(S3・S
8)、テキストメモリ71に格納された各文書データの文
書名のリストがディスプレイ65に表示される(S9)。そ
して、カーソル上・下移動キー8の操作でブロックカー
ソルを所望の文書名に移動させて実行キー12を操作する
と(S10)、ROM18の印字処理制御プログラムが読出され
てS11に移行して印字処理制御(第6図(b))が開始
される。この印字処理制御が開始されると、スタッカー
から印字用紙14が印字位置に給紙された後、頁カウンタ
PC及び行カウンタLCに夫々「1」が格納され且つ印字終
了フラグPF及び罫線フラグKFが夫々リセットされる(S2
0・S21)。次いで、選択されたテキストメモリ71内の文
書データ及び罫線データメモリ73内の罫線データにおい
て頁カウンタPC及び行カウンタLCで指示する印字行の先
頭アドレスがテキストポインタTPと罫線データポインタ
KPとに夫々格納され(S22)、設定文字数メモリ76の文
字数に基いてテキストポインタTPにより1印字行分の文
書データが読出され且つ罫線データポインタKPにより1
印字行分の罫線データが読出される(S23)。次に、EOT
コードが読出され、印字データつまり文書データ及び罫
線データがこの印字行で終了するときには(S24・YE
S)、印字終了フラグをセットする(S25)。そして、罫
線データが存在しないときには(S26・NO)、文書デー
タが印字処理された後(S29)、S30の判定結果がYESと
なり、印字用紙14が排出処理され(S31)、メインルー
チンにリターンする。
Next, when the printing process is selected by operating the cursor up / down key 8 and the execution key 12, this process is started (S3 · S
8), a list of document names of each document data stored in the text memory 71 is displayed on the display 65 (S9). When the block cursor is moved to a desired document name by operating the cursor up / down key 8 and the execution key 12 is operated (S10), the print processing control program in the ROM 18 is read out, and the program proceeds to S11 to execute the print processing. Control (FIG. 6 (b)) is started. When the printing process control is started, after the printing paper 14 is fed to the printing position from the stacker, the page counter is started.
“1” is stored in the PC and the line counter LC, respectively, and the print end flag PF and the ruled line flag KF are reset (S2
0 ・ S21). Next, in the selected document data in the text memory 71 and the ruled line data in the ruled line data memory 73, the head address of the print line specified by the page counter PC and the line counter LC is the text pointer TP and the ruled line data pointer.
The document data for one print line is read out by the text pointer TP based on the number of characters in the set character number memory 76, and is stored by the ruled line data pointer KP.
The ruled line data for the print line is read (S23). Next, EOT
When the code is read and the print data, that is, the document data and the ruled line data, end at this print line (S24 • YE
S), a print end flag is set (S25). If the ruled line data does not exist (S26: NO), after the document data is printed (S29), the determination result in S30 is YES, the printing paper 14 is discharged (S31), and the process returns to the main routine. .

一方、印字データが終了でなく罫線データが存在する
ときには(S24・NO,S26・YES)、罫線フラグKFがセット
されて文書及び罫線が印字される(S27,S28)。そし
て、印字終了フラグがセットされていないので、S30の
判定結果がNOとなり、S32に移行する。行カウンタLCが
設定行数Nと等しくないときつまり印字実行中の行が頁
の最終印字行でないときには(S32・NO)、行カウンタL
Cが1つインクリメントされて改行動作が行われ(S3
3)、S21以降が実行される。尚、印字データが終了でな
く文書データが現在の印字行に存在しない場合には、S2
8において罫線のみが印字される。また、印字データが
終了でなく、現在の印字行に文書データ及び罫線データ
が存在しない場合には、S29において文書印字が行われ
ない。
On the other hand, if the print data is not finished and there is ruled line data (S24 / NO, S26 / YES), the ruled line flag KF is set and the document and the ruled line are printed (S27, S28). Then, since the print end flag is not set, the determination result in S30 is NO, and the process shifts to S32. When the line counter LC is not equal to the set line number N, that is, when the line being printed is not the last printed line of the page (S32 / NO), the line counter L
Line feed operation is performed by incrementing C by one (S3
3), S21 and subsequent steps are executed. If the print data is not completed and the document data does not exist in the current print line, the S2
At 8, only the ruled lines are printed. If the print data is not completed and the document data and the ruled line data do not exist in the current print line, the document is not printed in S29.

頁の最終印字行に文書のみが印字されたときには(S3
2・YES,S34・NO)、頁カウンタPCが1つインクリメント
され且つ行カウンタLCに「1」がセットされると共に
(S36)、改頁処理され(S37)、S21へ移行する。ま
た、頁の最終印字行に文書及び罫線が印字されたときに
横罫線モード設定スイッチ4が切換えられて横罫線追加
モードが選択されているときには(S34,S35共にYES)、
この最終印字行に印字した罫線データが読出されて縦罫
線22の罫線データが検索されて縦罫線22の有無や位置が
検索罫線データメモリ81に格納される(S38)。次に、
検索罫線データメモリ81のデータに基いてこの最終印字
行に縦罫線22が少なくとも2つ以上存在するときには
(S39・YES)、頁カウンタPCが1つインクリメントされ
且つ行カウンタLCに「1」がセットされ且つ罫線データ
ポインタKPに行カウンタLCで指示する印字行の先頭アド
レスが格納され(S40)、S38と同様に次頁の先頭印字行
の罫線データについて検索されて縦罫線22の有無や位置
が検索罫線データメモリ81に格納される(S41)。次
に、検索罫線データメモリ81のデータに基いてこの先頭
印字行に縦罫線22が少なくとも2つ以上存在し且つ最終
印字行の縦罫線22とこの先頭印字行の縦罫線22とが夫々
連なるときには(S42,S43共にYES)、検索罫線データメ
モリ81のデータに基いて、先ずこの印字中の最終印字行
の下端に最初の縦罫線(一番左側の縦罫線)22から最後
の縦罫線(一番右側の縦罫線)22に亙って点線の横罫線
23が追加印字される(S44)。そして、改頁処理されて
次の印字用紙14が印字位置に給紙され(S45)、次にこ
の印字用紙141が1印字行分だけ逆紙送り方向に移動さ
れて次頁の先頭印字行の上端にも最初の縦罫線22から最
後の縦罫線22に亙って点線の横罫線23が追加印字され且
つ印字用紙14が1行分紙送り方向に移動され(S46)、S
21へ移行する。
When only the document is printed on the last print line of the page (S3
(2.YES, S34.NO), the page counter PC is incremented by one and "1" is set in the row counter LC (S36), and the page is changed (S37), and the process proceeds to S21. If the horizontal ruled line mode setting switch 4 is switched to select the horizontal ruled line addition mode when the document and the ruled line are printed on the last print line of the page (YES in both S34 and S35),
The ruled line data printed on the last print line is read, the ruled line data of the vertical ruled line 22 is searched, and the presence / absence and position of the vertical ruled line 22 are stored in the search ruled line data memory 81 (S38). next,
When there are at least two vertical ruled lines 22 in the last print line based on the data in the search ruled line data memory 81 (S39: YES), the page counter PC is incremented by one and the line counter LC is set to "1". The head address of the print line indicated by the line counter LC is stored in the ruled line data pointer KP (S40). Similar to S38, the ruled line data of the first printed line of the next page is searched to determine whether or not the vertical ruled line 22 exists and the position. It is stored in the search ruled line data memory 81 (S41). Next, based on the data in the search ruled line data memory 81, if there are at least two vertical ruled lines 22 in the first print line and the vertical ruled line 22 in the last print line and the vertical ruled line 22 in the first print line are respectively continuous (YES in both S42 and S43), based on the data in the search ruled line data memory 81, the first vertical ruled line (leftmost vertical ruled line) 22 to the last vertical ruled line (one Vertical ruled line on the right side) Dotted horizontal ruled line over 22
23 is additionally printed (S44). Then, the page is processed and the next print paper 14 is fed to the print position (S45). Next, the print paper 141 is moved by one print line in the reverse paper feed direction, and the next print paper 141 is moved to the first print line of the next page. A dotted horizontal ruled line 23 is additionally printed at the upper end from the first vertical ruled line 22 to the last vertical ruled line 22, and the printing paper 14 is moved in the paper feed direction by one line (S46).
Move to 21.

一方、S39において印字中の頁の最終印字行に横罫線
データだけが存在するときには、NOと判定されてS36へ
移行する。また、S42において次頁の先頭印字行に縦罫
線データが存在しないとき或いはS43において縦罫線デ
ータが存在しても最終印字行の縦罫線データと異なると
きには、共に判定結果はNOとなり、S37へ移行するの
で、これらの場合には最終印字行及び先頭印字行に横罫
線23が夫々追加印字されない。例えば、設定行数Nが20
で設定文字数が19のときに、第1頁(印字実行中の頁)
に印字する罫線データが第7図(a)に示すように罫線
データメモリ73に格納され、第2頁(次頁)に印字する
罫線データが第7図(b)に示すように格納されている
ときには、第1頁の罫線データにはその最終印字行に対
応する第20ラインに縦罫線22が3本存在し且つ第2頁の
罫線データにはその先頭印字行に対応する第1ラインに
縦罫線22が3本存在し且つこれら3本の縦罫線22が何れ
も連なるので、第7図(c)に示す印字実行中の第1頁
の最終印字行の下端と第7図(d)に示す次頁の先頭印
字行の上端とに最初の縦罫線22から最終の縦罫線22に亙
って点線の横罫線23が夫々追加印字される。尚、罫線デ
ータメモリ73内の各罫線データを印字位置に対応させて
示す。この場合、第7図(a)・(b)において、印字
桁に対応するカラムの第0カラムは各印字行の第1印字
桁の左端に縦罫線22を夫々印字するための補助メモリで
あり、印字行に対応するラインの第0ラインは各印字桁
の第1印字行の上端に横罫線23を夫々印字するための補
助メモリである。
On the other hand, if only horizontal ruled line data exists in the last print line of the page being printed in S39, the determination is NO and the process moves to S36. If the vertical ruled line data does not exist in the first print line of the next page in S42, or if the vertical ruled line data exists in S43 but is different from the vertical ruled line data in the last print line, the determination result is NO, and the process proceeds to S37. Therefore, in these cases, the horizontal ruled lines 23 are not additionally printed on the last print line and the first print line, respectively. For example, if the set number of rows N is 20
When the number of set characters is 19, the first page (the page being printed)
7A is stored in the ruled line data memory 73 as shown in FIG. 7A, and the ruled line data to be printed on the second page (next page) is stored as shown in FIG. 7B. When the ruled line data of the first page has three vertical ruled lines 22 on the 20th line corresponding to the last print line, the ruled line data of the second page has three vertical ruled lines 22 on the first line corresponding to the first print line. Since there are three vertical ruled lines 22 and these three vertical ruled lines 22 are all continuous, the lower end of the last print line of the first page during the printing shown in FIG. 7C and the lower part of FIG. In addition, dotted horizontal ruled lines 23 are additionally printed at the upper end of the first print line of the next page shown in (1) and from the first vertical ruled line 22 to the last vertical ruled line 22. Each ruled line data in the ruled line data memory 73 is shown corresponding to the printing position. In this case, in FIGS. 7A and 7B, the 0th column of the column corresponding to the print digit is an auxiliary memory for printing the vertical ruled line 22 at the left end of the first print digit of each print line. The zeroth line of the line corresponding to the print line is an auxiliary memory for printing the horizontal ruled line 23 at the upper end of the first print line of each print digit.

また、メイン制御実行中にその他の処理が選択された
ときにはその処理が実行され(S12)、S2に戻る。
If another process is selected during the execution of the main control, that process is executed (S12), and the process returns to S2.

以上説明したように、作成した表の縦罫線22が印字実
行中の頁から次頁に連続している場合には、印字中の頁
の最終印字行の下端と次頁の先端印字行の上端とに表を
区切るための点線の横罫線23が夫々追加印字されるの
で、印字中の頁と次頁とに分割された各部分表の夫々を
自動的に表らしく印字することができる。
As described above, when the vertical ruled line 22 of the created table is continuous from the page being printed to the next page, the lower end of the last printed line of the page being printed and the upper end of the leading printed line of the next page are printed. Since the dotted horizontal ruled line 23 for dividing the table is additionally printed, each of the partial tables divided into the page being printed and the next page can be printed automatically and clearly.

また、この横罫線23は印字する際に自動的に追加印字
されるので、作表中にこの区切り用の横罫線23を予め入
力する余分な作業を省略することができる。
In addition, since the horizontal ruled line 23 is automatically added when printing, an extra operation of inputting the horizontal ruled line 23 for separating in advance during tabulation can be omitted.

尚、S44及びS46で印字する横罫線23は点線に限ること
なく、一点鎖線など表の区切りとなるような各種の横罫
線23を印字するようにしてもよい。
Note that the horizontal ruled lines 23 printed in S44 and S46 are not limited to dotted lines, and various horizontal ruled lines 23, such as alternate long and short dash lines, serving as table breaks may be printed.

尚、本発明は各種のワードプロセッサに適用し得るこ
とは勿論である。
The present invention can of course be applied to various word processors.

〔別実施例〕(Another embodiment)

ところで、前記実施例における印字処理制御のルーチ
ンを第8図(a)に示すようにS43とS44の間にS50〜S55
を追加して部分的に変更し、外枠(囲み罫線)を有する
表を作成したときにこの表が2つの頁に分割された場合
には、1対の縦罫線22とこれらの縦罫線22の上端が1つ
の横罫線23の左右両端の夫々に対応して接する上側の部
分表(以下、上閉3辺枠という)の下端と次頁に有する
1対の縦罫線22とこれらの縦罫線22の下端が1つの横罫
線23の左右両端の夫々に対応して接する下側の部分表
(以下、下閉3辺枠という)の上端とに夫々横罫線23を
印字するようにしてもよい。尚、この変更部分以外は前
記実施例と同様である。
By the way, as shown in FIG. 8 (a), the routine of the print processing control in the above embodiment is performed between S43 and S44.
When a table having an outer frame (surrounding ruled line) is created and the table is divided into two pages, a pair of vertical ruled lines 22 and these vertical ruled lines 22 , The upper end of which is in contact with the left and right ends of one horizontal ruled line 23, respectively, and the lower end of an upper partial table (hereinafter referred to as an upper closed side frame), a pair of vertical ruled lines 22 on the next page, and these vertical ruled lines The horizontal ruled lines 23 may be printed on the upper end of the lower partial table (hereinafter, referred to as a lower closed three-sided frame) in which the lower end of 22 is in contact with the left and right ends of one horizontal ruled line 23, respectively. . Except for this changed part, it is the same as the above-mentioned embodiment.

この第2の実施例の印字処理制御のルーチンについて
説明すると、S43でYesと判定されたときには、頁カウン
タPCが1つデクリメントされ且つ行カウンタLCに最終印
字行「N」がセットされ(S50)、次のS51にて印字中の
頁の外枠の検索処理(第8図(b))が開始される。こ
の処理が開始されると、行カウンタLCが1つデクリメン
トされて縦罫線データ及び横罫線データの有無が検索さ
れ(S60〜S61)、縦罫線22が存在し且つ横罫線23が存在
しないときには(S62・YES,S63・NO)、S60〜S63が繰り
返されて先頭印字行方向に向かって1印字行毎に罫線デ
ータが検索され、縦罫線22が横罫線23に接しているとき
には(S63・YES)、第1フラグF1がセットされ(S64)
てリターンし、また縦罫線22が存在しないときには(S6
2・NO)第1フラグF1がリセットされて(S65)S52にリ
ターンする。
The print processing control routine according to the second embodiment will be described. When the determination in S43 is Yes, the page counter PC is decremented by one and the last print line "N" is set in the line counter LC (S50). Then, in the next S51, the search processing of the outer frame of the page being printed (FIG. 8B) is started. When this process is started, the row counter LC is decremented by one, and the presence / absence of vertical ruled line data and horizontal ruled line data is searched (S60 to S61). When the vertical ruled line 22 is present and the horizontal ruled line 23 is not present, (S62 / YES, S63 / NO), S60 to S63 are repeated to search for ruled line data for each print line toward the top print line direction, and when the vertical ruled line 22 is in contact with the horizontal ruled line 23 (S63 / YES) ), The first flag F1 is set (S64)
When the vertical ruled line 22 does not exist (S6
2 · NO) The first flag F1 is reset (S65), and the process returns to S52.

そして、第1フラグF1がセットされているときつまり
印字中の頁に上閉3辺枠が存在するときには(S52・YE
S)、頁カウンタPCが1つインクリメントされ且つ行カ
ウンタLCに「1」がセットされ(S53)、次のS54で次頁
の外枠の検索処理(第8図(c))が開始される。この
処理が開始されると行カウンタLCが1つインクリメント
されて縦罫線データ及び横罫線データの有無が検索され
(S70〜S71)、縦罫線22が存在し且つ横罫線23が存在し
ないときには(S72・YES,S73・NO)、S70〜S73が繰り返
されて最終印字行方向に向かって1印字行毎に罫線デー
タが検索され、縦罫線22が横罫線23に接しているときに
は(S73・YES)第2フラグF2がセットされ(S74)てリ
ターンし、また縦罫線22が存在しないときには(S72・N
O)第2フラグF2がセットされて(S75)S55にリターン
する。
When the first flag F1 is set, that is, when the top-closed three-sided frame exists on the page being printed (S52 · YE
S), the page counter PC is incremented by one, and "1" is set in the line counter LC (S53), and in the next S54, the outer frame search processing of the next page (FIG. 8 (c)) is started. . When this process is started, the line counter LC is incremented by one, and the presence / absence of vertical ruled line data and horizontal ruled line data is searched (S70 to S71). When the vertical ruled line 22 is present and the horizontal ruled line 23 is not present (S72). (YES, S73, NO), S70 to S73 are repeated to search for ruled line data for each print line toward the final print line direction, and when the vertical ruled line 22 is in contact with the horizontal ruled line 23 (S73, YES) When the second flag F2 is set (S74) and control returns, and when the vertical ruled line 22 does not exist (S72 · N
O) The second flag F2 is set (S75), and the process returns to S55.

そして、第2フラグF2がセットされているときつまり
印字中の頁に上閉3辺枠が存在し且つ次頁で下閉3辺枠
が存在するときには(S55・YES)、S44〜S46が実行され
て印字実行中の頁の最終印字行の下端と次頁の先頭印字
行の上端とに最初の縦罫線22から最後の縦罫線22に亙っ
て点線の横罫線23が夫々追加印字される。例えば、第1
頁に印字する罫線データが第9図(a)に示すように罫
線データメモリ73に格納され、第2頁に印字する罫線デ
ータが第9図(b)に示すように格納されているときに
は、第1頁に上閉3辺枠が存在するとともにその最終印
字行に3つの縦罫線22が存在し且つ第2頁に下閉3辺枠
が存在するとともにその先頭印字行に3つの縦罫線22が
存在するので、第9図(c)に示す印字実行中の頁の最
終印字行の下端と第9図(d)に示す次頁の先頭印字行
の上端とに最初の縦罫線22から最後の縦罫線22に亙って
点線の横罫線23が夫々追加印字される。
When the second flag F2 is set, that is, when the upper closed three side frame exists on the page being printed and the lower closed three side frame exists on the next page (S55: YES), S44 to S46 are executed. A dotted horizontal ruled line 23 is additionally printed from the first vertical ruled line 22 to the last vertical ruled line 22 at the lower end of the last print line of the page being printed and the upper end of the first print line of the next page. . For example, the first
When ruled line data to be printed on a page is stored in the ruled line data memory 73 as shown in FIG. 9A, and ruled line data to be printed on the second page is stored as shown in FIG. 9B, An upper closed three side frame exists on the first page, three vertical ruled lines 22 exist on the last print line, and a lower closed three side frame exists on the second page, and three vertical ruled lines 22 appear on the first print line. Exists, the lower end of the last print line of the page being printed as shown in FIG. 9C and the upper end of the first print line of the next page shown in FIG. The dotted horizontal ruled line 23 is additionally printed over the vertical ruled line 22.

尚、表の上閉3辺枠と下閉3辺枠とが複数頁分離れた
頁に夫々存在するときには、印字中に上閉3辺枠を印字
したときに頁カウンタPC及び頁カウンタPCを夫々インク
リメントしつつ下閉3辺枠を予め検索し、下閉3辺枠が
検出されたときには、この上閉3辺枠下端に横罫線23を
追加印字するとともに、下閉3辺枠の上端に亙って途中
の各頁の先頭印字行及び最終印字行に夫々点線の横罫線
23を追加印字するようにしてもよい。
When the upper closed three-sided frame and the lower closed three-sided frame are present on pages separated by a plurality of pages, the page counter PC and the page counter PC are set when the upper closed three-sided frame is printed during printing. The lower closed three-sided frame is searched in advance while incrementing, and when the lower closed three-sided frame is detected, a horizontal ruled line 23 is additionally printed at the lower end of the upper closed three-sided frame, and the lower closed three-sided frame is printed at the upper end of the lower closed three-sided frame. Dotted horizontal ruled lines at the first print line and the last print line of each page in the middle
23 may be additionally printed.

また、例えば3つの縦罫線22及び最初の縦罪線22から
2番目の縦罫線に亙る1対の横罫線23を用いて作成した
表が第1頁と第2頁とに分割された場合には、各縦罫線
22について横罫線23と接しているか否かつまり上閉3辺
枠及び下閉3辺枠が存在するか否かを予め検索し、上閉
3辺枠と下閉3辺枠とが存在するときには、第10図に示
すように、第1印字用紙14aの最終印字行の下端と第2
印字用紙14bの先頭印字行の上端とに最初の縦罫線22か
ら2番目の縦罫線に亙って点線の横罫線23を追加印字す
るようにしてもよい。
Also, for example, when a table created using three vertical ruled lines 22 and a pair of horizontal ruled lines 23 extending from the first vertical ruled line 22 to the second vertical ruled line is divided into a first page and a second page. Is the vertical ruled line
Whether or not 22 is in contact with the horizontal ruled line 23, that is, whether or not the upper closed three-sided frame and the lower closed three-sided frame exist, is searched in advance. As shown in FIG. 10, the lower end of the last print line of the first print paper
A dotted horizontal ruled line 23 extending from the first vertical ruled line 22 to the second vertical ruled line may be additionally printed at the upper end of the first print line of the printing paper 14b.

これらの何れの場合にも、分割された各部分表の夫々
を自動的に表らしく印字することができる。
In any of these cases, each of the divided partial tables can be automatically and clearly printed.

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

第1図は本発明の構成を示す機能ブロック図、第2図〜
第9図は本発明の実施例を示すもので、第2図はワード
プロセッサの斜視図、第3図はワードプロセッサ制御系
のブロック図、第4図・第5図は夫々罫線データメモリ
の構成を説明する説明図、第6図(a)はメイン制御の
ルーチンの概略フローチャート、第6図(b)は印字処
理制御のルーチンのフローチャート、第7図(a)〜
(d)は夫々2頁に亙る罫線を指示したときの罫線デー
タメモリの罫線データ及びその罫線印字を説明する説明
図、第8図(a)〜(c)は夫々別実施例に係る印字処
理制御のルーチンの概略フローチャート、第9図(a)
〜(d)は夫々別実施例の第7図相当図、第10図は変形
例に係る横罫線印字処理の説明図、第11図(a)・
(b)は従来技術の印字処理制御で罫線を印字した印字
例を示す図である。 1……ワードプロセッサ、3……キーボード、9……書
式設定キー、16……メインCPU、18……ROM、70……RA
M、71……テキストメモリ、72……テキストポインタ、7
3……罫線データメモリ、74……罫線データポインタ、7
5……設定行数メモリ、78……行カウンタ、C……制御
装置、PM……印字機構。
FIG. 1 is a functional block diagram showing the configuration of the present invention, and FIGS.
FIG. 9 shows an embodiment of the present invention. FIG. 2 is a perspective view of a word processor, FIG. 3 is a block diagram of a word processor control system, and FIGS. 4 and 5 each illustrate the configuration of a ruled line data memory. FIG. 6A is a schematic flowchart of a main control routine, FIG. 6B is a flowchart of a print processing control routine, and FIGS.
FIG. 8D is an explanatory diagram for explaining ruled line data in the ruled line data memory and the ruled line printing when a ruled line extending over two pages is designated, and FIGS. 8A to 8C each illustrate a printing process according to another embodiment. FIG. 9 (a) is a schematic flowchart of a control routine.
To (d) are diagrams corresponding to FIG. 7 of another embodiment, FIG. 10 is an explanatory diagram of a horizontal ruled line printing process according to a modified example, and FIGS.
FIG. 6B is a diagram illustrating a print example in which ruled lines are printed by the print processing control of the related art. 1 ... word processor, 3 ... keyboard, 9 ... format setting keys, 16 ... main CPU, 18 ... ROM, 70 ... RA
M, 71: Text memory, 72: Text pointer, 7
3 ... Ruled line data memory, 74 ... Ruled line data pointer, 7
5: Set line number memory, 78: Line counter, C: Control device, PM: Printing mechanism.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字や記号、縦罫線や横罫線を含む罫線及
び種々の指令を入力する為の入力手段と、その入力手段
から入力された文字や記号及び罫線のデータを印字位置
と対応づけて記憶する入力データ記憶手段と、罫線や文
字や記号を印字する印字手段と、前記入力手段を介して
設定された各頁の設定印字領域を記憶する印字領域メモ
リと、印字実行中の印字行を計数する行カウンタと、前
記行カウンタのデータに基いて前記入力データ記憶手段
からデータを読出してそれらのデータに対応する文字や
記号及び罫線を各頁に所定行ずつ印字させるように前記
印字手段を制御する印字制御手段とを備えた文書処理装
置において、 前記印字領域メモリと行カウンタと入力データ記憶手段
のデータに基いて、印字実行中の頁の最終印字行に印字
される縦罫線の罫線データを検索するとともに、次頁の
先頭印字行に印字される縦罫線の罫線データを検索する
罫線データ検索手段と、 その罫線データ検索手段で検索した罫線データを受け、
前記最終印字行及び前記先頭印字行に少なくとも2本の
縦罫線が夫々存在し且つこれらの縦罫線が連なるときに
は、前記最終印字行の下端と前記次頁の先頭印字行の上
端とに前記縦罫線間に亙って横罫線を夫々印字するよう
に前記印字制御手段に指令する横罫線追加制御手段とを
設けたことを特徴とする文書処理装置。
An input means for inputting characters and symbols, ruled lines including vertical ruled lines and horizontal ruled lines, and various commands, and associating character, symbol and ruled line data input from the input means with printing positions. Input data storage means for storing data, a printing means for printing ruled lines, characters and symbols, a printing area memory for storing a setting printing area of each page set via the input means, and a printing line during printing. And a printing means for reading data from the input data storage means based on the data of the row counter and printing characters, symbols, and ruled lines corresponding to the data on each page by a predetermined line. And a print control unit for controlling the print area memory, a line counter, and data in the input data storage unit. A ruled line data search means for searching for ruled line data of a vertical ruled line to be printed on the first print line of the next page, and a ruled line data searched by the ruled line data search means;
When at least two vertical ruled lines are present on the last print line and the first print line, respectively, and when these vertical ruled lines are continuous, the vertical ruled lines are formed at the lower end of the last print line and the upper end of the first print line of the next page. A document processing apparatus, further comprising horizontal ruled line addition control means for instructing the print control means to print the horizontal ruled lines over each other.
JP1274667A 1989-10-20 1989-10-20 Document processing device Expired - Fee Related JP3035931B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1274667A JP3035931B2 (en) 1989-10-20 1989-10-20 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1274667A JP3035931B2 (en) 1989-10-20 1989-10-20 Document processing device

Publications (2)

Publication Number Publication Date
JPH03135654A JPH03135654A (en) 1991-06-10
JP3035931B2 true JP3035931B2 (en) 2000-04-24

Family

ID=17544880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1274667A Expired - Fee Related JP3035931B2 (en) 1989-10-20 1989-10-20 Document processing device

Country Status (1)

Country Link
JP (1) JP3035931B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5664281B2 (en) * 2011-01-27 2015-02-04 コニカミノルタ株式会社 Image generating apparatus and image generating method

Also Published As

Publication number Publication date
JPH03135654A (en) 1991-06-10

Similar Documents

Publication Publication Date Title
US4931987A (en) Word processor for locating beginning position of text element and displaying corresponding formatting data and formatting mark separately
EP0253627B1 (en) Word processor with a margin text edit function
US4924433A (en) Word processor with attribute functions
US5363480A (en) Layout display control system for document processing apparatus
JP2913758B2 (en) Document processing device
US5276796A (en) Dual screen display control apparatus for a word processor
JPH0762848B2 (en) Electronic dictionary
JPH01116758A (en) Document forming device
JPH03204766A (en) Menu display controller for document processor
JPS60189568A (en) Information processor
JPH03229357A (en) Layout display controller for document processor
JP3035931B2 (en) Document processing device
JPH04274552A (en) Document processor
JPH03229355A (en) Layout display controller for document processor
JPH03135620A (en) Document processor
US5630150A (en) Automatic editing device for an english letter
JPH0616259B2 (en) Electronic typewriter
JP2815256B2 (en) Printing position setting device
JPH0623951B2 (en) Document creation device
JP2621987B2 (en) Document processing device
JPH06180698A (en) Document processor
JP2592840B2 (en) Character processor
JPS63121084A (en) Data processor
JPH10222509A (en) Character processor and recording medium recording character processing program
JPH0122943B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080225

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees