JPS6327878A - Display control system - Google Patents

Display control system

Info

Publication number
JPS6327878A
JPS6327878A JP61172264A JP17226486A JPS6327878A JP S6327878 A JPS6327878 A JP S6327878A JP 61172264 A JP61172264 A JP 61172264A JP 17226486 A JP17226486 A JP 17226486A JP S6327878 A JPS6327878 A JP S6327878A
Authority
JP
Japan
Prior art keywords
register
display
line
character type
pattern
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
JP61172264A
Other languages
Japanese (ja)
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering 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, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP61172264A priority Critical patent/JPS6327878A/en
Publication of JPS6327878A publication Critical patent/JPS6327878A/en
Priority to US07/319,887 priority patent/US5029114A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は文書作成装置の表示制御方式に係り、特にパー
ソナルタイプの文書作成装置に於いて、印WAljlI
構のラインバッファを有効に用いて、印刷イメージを忠
実にレイアウト表示できるようにした表示制御方式に関
jる。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Field of Industrial Application) The present invention relates to a display control method for a document creation device, and particularly relates to a display control method for a personal type document creation device.
The present invention relates to a display control method that makes it possible to display printed images in a faithful layout by effectively using the line buffer of the structure.

(従来の技術) 近年、文書作成装置に於いて、表示機構にLCD (液
晶ディスプレイ)を用い、文書ファイル機構にマイクロ
フロッピィディスクドライブを用い、印刷機構に熱転写
ブリンクを用いた小形かつ軽口で低価格の所謂パーソナ
ルワードブロセッサと称される文書作成装置が実現され
るに至った。
(Prior Art) In recent years, document creation devices have been developed to be small, lightweight, and inexpensive, using an LCD (liquid crystal display) for the display mechanism, a micro-floppy disk drive for the document file mechanism, and a thermal transfer blink for the printing mechanism. A document creation device called a so-called personal word processor has now been realized.

この種パーソナルワードプロセッサに於いては、表示画
面上の一度に表示できる行・桁数が印刷頁の行・桁数に
比し大幅に制約されることから、通常の文字表示では頁
単位のm111イメージを表示することができない。そ
こで従来では1文字を1ドツト乃至4ドツト程度のシン
ボルマークに置換えて1頁の文書イメージをレイアウト
表示するレイアウト表示灘構を設けている。
In this type of personal word processor, the number of lines and columns that can be displayed at one time on the display screen is significantly limited compared to the number of lines and columns on the printed page. cannot be displayed. Therefore, in the past, a layout display structure has been provided in which one character is replaced with a symbol mark of about one to four dots and a one-page document image is displayed in layout.

しかしながらこのような従来の印刷イメージの表示手段
に於いては、文書を構成する文字類の判別ができないこ
とは勿論、立回の校正等に必要なレイアウト表示の際に
、文字サイズ、文字間、改行値等が反映されないことか
ら、正確なレイアウトがFa H&できず、正確なレイ
アウトを認識するには実際に文書を打出してみなければ
ならない。
However, in such conventional print image display means, it is not only impossible to distinguish between the characters that make up the document, but also when displaying the layout necessary for proofreading, etc. Since line feed values and the like are not reflected, it is not possible to create an accurate layout, and it is necessary to actually type out the document in order to recognize the correct layout.

又、外字、第2水準文字等、特定の文字種パターンがこ
れら文字種印刷に専用の外部記1(例えば専用フロッピ
ィディスク)に格納され、その特定の文字種の印刷時に
上記外部記憶をアクセスしてそのパターンをラインバッ
ファ上に展開し印刷するような装置に於いては、上記従
来の印刷イメージの表示手段により文書レイアウト表示
を行なっても、外字等、特定文字種が表示されないこと
から、その特定文字種の文書上に於ける占有エリアが分
らず、従って正確な文書印刷イメージが把握できないと
いう問題が生じていた。
In addition, patterns of specific character types such as external characters and second-level characters are stored in an external memory 1 (for example, a dedicated floppy disk) dedicated to printing these character types, and when printing that specific character type, the external memory is accessed and the pattern is printed. In a device that expands and prints a text on a line buffer, even if the document layout is displayed using the conventional print image display means, specific character types such as non-standard characters are not displayed. A problem has arisen in that the occupied area on the top is not known, and therefore an accurate document printing image cannot be grasped.

(発明が解決しようする問題点) 上述したように、従来のパーソナルワードプロセッサに
於いては、文字種が単にシンボルマークで表示される構
成であることから、文書を構成する文字類を判別できな
いことは勿論、文字サイズ、文字間、改行値等が反映さ
れないという問題があり、又、特定文字種パターンを外
部記憶をアクセスして得る構成にあっては特定文字種の
占有エリアが表示されないことから、正確な文書印刷イ
メージを認識できないという問題があった。
(Problems to be Solved by the Invention) As mentioned above, in conventional personal word processors, character types are simply displayed as symbols, so it goes without saying that it is not possible to distinguish the characters that make up a document. , there is a problem that the character size, character spacing, line feed value, etc. are not reflected, and in the configuration where the specific character type pattern is obtained by accessing external memory, the area occupied by the specific character type is not displayed, so it is difficult to accurately document the document. There was a problem that the printed image could not be recognized.

本発明はパーソナルワードプロセッサに於いて、表示行
桁数が比較的少ない少数ドツトマトリクス構成の表示R
t14、及び印刷用ラインバッファを有効に用いて、外
部記憶に格納された特定文字種の占有エリアを明確に表
現できるとともに印刷イメージを忠実にレイアウト表示
でき、文書全体のイメージを正確に把握できる構成とし
た印刷イメージの表示制御方式を提供することを目的と
する。
The present invention provides a display R of a small number of dot matrix configuration with a relatively small number of display line digits in a personal word processor.
t14 and the printing line buffer, it is possible to clearly express the area occupied by a specific character type stored in external storage, and the layout of the print image can be displayed faithfully, so that the image of the entire document can be accurately grasped. The purpose of this invention is to provide a display control method for printed images.

[発明の構成1 (問題点を解決するための手段) 本発明は、印刷イメージ表示モード下に於いて印111
対象となる文占行の文字パターンをラインバッファ上に
展開するとき展開対象となる文字種が特定の文字種であ
るか否かを判別し、同文字種が上記特定文字種でないと
き、同文字種パターンを上記ラインバック7上に展開す
る手段と、同展開された文字種パターンを所定ドツトマ
トリクス単位の縮小パターン(例えば1 /4 X 1
 /4 )に変換する手段と、同変換された縮小パター
ンを表示用バッファに書込む手段と、上記文字種の判別
時に着いて同文字種が上記特定文字種のとき、上記縮小
パターンと同一ドブトマトリクス購成の特定文字種に固
有のパターンを生成し上記表示用バッファに占込む手段
とを備えた構成としている。
[Structure 1 of the Invention (Means for Solving the Problems) The present invention provides that the mark 111 under the print image display mode
When developing the character pattern of the target Bunsen line on the line buffer, it is determined whether the character type to be expanded is a specific character type, and if the same character type is not the above-mentioned specific character type, the same character type pattern is expanded onto the line buffer. A means for developing the character type pattern on the back 7, and a reduction pattern of a predetermined dot matrix unit (for example, 1 / 4 × 1
/4), a means for writing the converted reduced pattern into a display buffer, and a means for converting the reduced pattern into a display buffer, and a means for converting the same converted pattern into a display buffer; and means for generating a pattern specific to a specific character type of the composition and filling it in the display buffer.

(作用) 印刷イメージをレイアウト表示する際、表示すべき文字
が外字等の特定文字種でないときは、同文字種のパター
ンを一度ラインバッファ上に展開した後、所定ドツトマ
トリクス単位の縮小パターン(1/4x1/4=6x6
ドツト)に変換(圧縮)して表示用バッファに書込む。
(Function) When displaying the layout of a print image, if the characters to be displayed are not of a specific character type such as external characters, a pattern of the same character type is developed on the line buffer, and then a reduced pattern (1/4 x 1 /4=6x6
Convert (compress) it into a dot) and write it to the display buffer.

又、表示1べき文字が外字等の特定文字種であるときは
、上記縮小パターンと同一ドツトマトリクス構成の特定
文字種に固有のパターンを生成し同パターンを上記表示
用バッファに書込む。
Further, when the character to be displayed is a specific character type such as a non-standard character, a pattern unique to the specific character type having the same dot matrix structure as the reduced pattern is generated and the same pattern is written in the display buffer.

このような印刷イメージの表示礪構をパーソナルワード
プロセッサに持たせることにより、表示行桁数が比較的
少ない少数ドツトマトリクス構成の表示救構、及び印刷
用ラインバッファを有効に用いて、外部記憶に格納され
た特定文字種の占有エリアを明確に表現できるとともに
印刷イメージを忠実にレイアウト表示でき、これにより
文書全体のイメージを正確に把握できる。
By equipping a personal word processor with such a display structure for print images, it is possible to save the display structure in a small dot matrix structure with a relatively small number of display lines, and to effectively use the print line buffer to store it in external memory. The area occupied by the specified character type can be clearly expressed, and the printed image can be faithfully displayed in layout, allowing an accurate understanding of the image of the entire document.

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

第1図は本発明の一実施例による装置の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing the configuration of an apparatus according to an embodiment of the present invention.

第1図に於いて、10は1チツプ化した大規模集積回路
装置であり、装置全体の制御を司る処理装置(CPU)
、更には、辞書領域、文字フォント領域、プログラム領
域、作業用領域等をもつROM及びRAMでなる内部記
憶部等が内蔵される。この集積回路装置10は実確に於
いては100ピン程度の端子構造をもって構成され、特
願昭59−204455号、特願昭59−204456
号、特願昭59−204462号等に示される半導体集
積回路技術をもとに実現している。以下この大規模集積
回路装置をスーパインテグレーション又はSIと呼称す
る。
In FIG. 1, 10 is a large-scale integrated circuit device made into one chip, and a processing unit (CPU) that controls the entire device.
Furthermore, an internal storage section consisting of ROM and RAM having a dictionary area, character font area, program area, work area, etc. is built-in. This integrated circuit device 10 is actually constructed with a terminal structure of about 100 pins.
This is realized based on the semiconductor integrated circuit technology disclosed in Japanese Patent Application No. 59-204462. Hereinafter, this large-scale integrated circuit device will be referred to as superintegration or SI.

11乃至19はそれぞれ上記8110の内部構成要素で
ある。このうち、11は装置全体の制御を司るCPUで
あり、ここではキー人力判別、仮名漢字変換、文書の編
集校正等の処理に加え、行属性情報に従う行単位の文字
ri飾、及び印刷停止制御を含む行修飾処理を実行する
とともに、第2図乃至第6図に示すような印刷イメージ
の表示制御I処理を実行する。尚、実機に於いてはこの
CP U 11を280相当の論理構造としている。又
、図に於いては、5ilo内部のシステムバスにつなが
る外部のバス、接続端子、更には5110内部に設けら
れるカウンタ/タイマ等のロジックを省略して示してい
る。
11 to 19 are internal components of the above 8110, respectively. Of these, 11 is a CPU that controls the entire device, and in addition to processing such as key manual recognition, kana-kanji conversion, document editing and proofreading, character decoration for each line according to line attribute information, and print stop control. In addition to executing the line modification process including the above, the print image display control I process as shown in FIGS. 2 to 6 is executed. In the actual machine, this CPU 11 has a logical structure equivalent to 280. Additionally, in the figure, external buses connected to the system bus inside the 5ilo, connection terminals, and logic such as counters/timers provided inside the 5110 are omitted.

12乃至18はそれぞれ上記CP U 11の内部シス
テムバスに接続される5iloの内部構成要素である。
Reference numerals 12 to 18 are internal components of 5ilo connected to the internal system bus of the CPU 11, respectively.

このうら、12は周辺11111回路(双方向インター
フェイス回路)であり、3ボートのうちの一つのポート
がキーボードスキャン゛データの出力(4ビツト〉に用
いられ、他の一つのポートがキーボードリターン信号の
入力(8ビツト)に用いられる。
Of these, 12 is a peripheral 11111 circuit (bidirectional interface circuit), one port of the three ports is used for keyboard scan data output (4 bits), and the other port is used for keyboard return signal output. Used for input (8 bits).

この周辺制御回路を以下PPIと呼称する。This peripheral control circuit is hereinafter referred to as PPI.

13は上記PP112のキーボードスキャンデータ出力
(4ビツト)を受けて該データをデコードし、9種のス
キャン信号としてキーボードに送出するデコーダ(DC
E)である。
13 is a decoder (DC
E).

14はRAMであり、ここでは、文書バッファ領域、外
字パターン領域、暫定辞書fjA域等に加えて、表示用
イメージバッファ(以下V−RAMと称す)140、プ
リント用ラインバッファ(LB)141、第7図に示す
ような印刷制御レジスタ領域(RO〜R19)を含む作
業用レジスタ領wt142、第8図に示すような3バイ
ト/行構造の行修飾情報が格納される行修飾パン771
43等の#i域が確保される。
14 is a RAM, in which, in addition to a document buffer area, a non-standard character pattern area, a provisional dictionary fjA area, etc., there is also a display image buffer (hereinafter referred to as V-RAM) 140, a print line buffer (LB) 141, and a print line buffer (LB) 141. A work register area wt142 including a print control register area (RO to R19) as shown in FIG. 7, and a line modification pan 771 in which line modification information with a 3-byte/line structure as shown in FIG. 8 is stored.
#i area such as 43 is secured.

15はROMであり、ここでは、漢字・英字を含む各種
の文字フォントを登録した漢字パターン記憶部(以下K
PMと称す)が設けられろとともに、システムプログラ
ム、仮名漢字変換辞書、複数画面のメツセージ等が格納
される。
15 is a ROM, in which a kanji pattern storage unit (hereinafter K
A system program (referred to as PM) is provided, and system programs, a kana-kanji conversion dictionary, messages on multiple screens, etc. are stored.

16はCPU11の制御の下に支間情報(文字コード列
)を外部機器との間で遺り取りするための回線インター
フェイス部(C−INTF)である。
Reference numeral 16 denotes a line interface section (C-INTF) for transmitting interval information (character code string) to and from external equipment under the control of the CPU 11.

17ハLCD1tIIl11回路(LCDC) テアリ
、RA M 14内に設けられるV  RAM140を
アクセスしLCD表示データを出力する。
17c LCD1tII11 circuit (LCDC) Accesses the V RAM 140 provided in the RAM 14 and outputs LCD display data.

18はプリンタコントローラ(PRTC)であり、CP
 U 11の制御の下に、RA M 14を介してプリ
ントイメージデータを出力する。
18 is a printer controller (PRTC), and CP
Print image data is output via RAM 14 under the control of U 11.

19はクロックジェネレータ(CG)であり、外部の発
振器(O20)20より出力される基本タロツクを受け
て所定の分周クロック、タイミング信号等を出力する。
Reference numeral 19 denotes a clock generator (CG), which receives the basic tarock output from an external oscillator (O20) 20 and outputs a predetermined frequency-divided clock, timing signal, etc.

20は基本クロックを生成し、5ilo内部のクロック
ジェネレータ19に供給する発振器(O20)、30は
同じ<3110内部のPP112及びデコーダ13に接
続されたキーボード(KB)である。50はLCDド5
−+’バ(LCD−DRV)51を介して8110内部
のLCDシリ御回路17に接続された液晶ディスプレイ
(以下LCDと称す)であり、ここでは第10図に示す
ように、10行X40字(縮小モードのときは20行X
80字)の表示が可能な64o×200ドツト構成とし
ている。60は5110内部のプリンタコントローラ1
8に接続されたシリアルブリンタである。70は3.5
吋のマイクロッ0ツビイデイスクドライブ(FDD)で
あり、フロッピィディスクコントローラ(FCC)71
を介して8110内部のCP U 11の内部システム
バスに接続される。このフロッピィディスクドライブ7
0には。
20 is an oscillator (O20) that generates a basic clock and supplies it to the clock generator 19 inside 5ilo, and 30 is a keyboard (KB) connected to the PP 112 and decoder 13 inside the same <3110. 50 is LCD do 5
This is a liquid crystal display (hereinafter referred to as LCD) connected to the LCD series control circuit 17 inside the 8110 via the -+' bar (LCD-DRV) 51, and as shown in FIG. (20 lines in reduced mode
It has a 64o x 200 dot configuration that can display 80 characters). 60 is printer controller 1 inside 5110
This is a serial printer connected to 8. 70 is 3.5
It is a micro disk drive (FDD) and a floppy disk controller (FCC) 71
It is connected to the internal system bus of the CPU 11 inside the 8110 via the 8110 internal system bus. This floppy disk drive 7
To 0.

文書保存のための文書フロッピィディスク、更には外字
保存のための外字フロッピィディスク、第2水準の各漢
字パターンを保存したM2水準フロッピィディスク等が
選択的に挿入される。
A document floppy disk for storing documents, a non-standard character floppy disk for storing non-standard characters, an M2 level floppy disk for storing each kanji pattern of the second level, etc. are selectively inserted.

第2図乃至第6図はそれぞれ上記CP U 11の制御
の下に実行される印刷イメージ表示処理フローを示すフ
ローチャートであり、第2図は印刷イメージ表示処理系
全体の処理フローを示すフローチャートである。
2 to 6 are flowcharts showing the print image display processing flow executed under the control of the CPU 11, and FIG. 2 is a flowchart showing the processing flow of the entire print image display processing system. .

第3図は上記第2図に於ける処理内の用紙幅スケール表
示処理(ステップ83)を示すフローチャートである。
FIG. 3 is a flowchart showing the paper width scale display process (step 83) in the process in FIG. 2 above.

第4図は上記第2図に於ける処理内のクリッピング範囲
から表示行数を割出す処理(ステップ86)を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing the process (step 86) of calculating the number of display lines from the clipping range in the process shown in FIG.

第5図(よ上記第2図に於ける処理内のL CD 50
上の表示処理(ステップ510)を示すフローチャート
である。
Figure 5 (LCD 50 in the process in Figure 2 above)
It is a flowchart showing the above display processing (step 510).

第6図は上記第5図に於けるV −RA M 140へ
の1込み処理(ステップC25)を示すフローチャート
である。
FIG. 6 is a flowchart showing the process of loading data into the V-RAM 140 (step C25) in FIG. 5 above.

第7図はRAM14内の作業用レジスタ#Ar11t1
42に設けられた印刷制御レジスタ領域のレジスタ類(
RO〜R19)を示したもので、ここで図示する以外に
も数個の作業用レジスタ(IXrea。
Figure 7 shows the working register #Ar11t1 in the RAM14.
Registers in the print control register area provided in 42 (
In addition to those shown here, there are also several working registers (IXrea.RO to R19).

Breg 、 DErelJ 、 8Crea等)が印
刷イメージ表示処理に用いられる。
Breg, DErelJ, 8Crea, etc.) are used for print image display processing.

第8図は上記RA M 14内の行修飾バッファ143
に貯えられる行修飾情報の構成を示したもので、ここで
は3バイト/行をもって構成される。
FIG. 8 shows the row modification buffer 143 in the RAM 14 mentioned above.
This figure shows the structure of the row modification information stored in , and here it is composed of 3 bytes/row.

第9図はプリント用ラインバッファ(LB)141の構
成を示したもので、ここでは、通常使用時、即ち印刷時
の使用に於いては、1.536ドツト幅をもって構成さ
れるが、印刷イメージ表示処理の際は2,280ドツト
幅に拡張される(第11図参照)。
FIG. 9 shows the configuration of the printing line buffer (LB) 141. Here, during normal use, that is, during printing, it is configured with a width of 1.536 dots, but the print image During display processing, the width is expanded to 2,280 dots (see FIG. 11).

第10図はV−RAM14内の構成を示したもので、こ
こでは640x200ドツトをもって構成される。
FIG. 10 shows the internal configuration of the V-RAM 14, which here includes 640x200 dots.

第11図は印刷イメージ表示の際のLCD50上の表示
可能範囲と用紙幅の点線を示す図であり、ここでは、用
紙の左端、85$uの右端、A4縦の右端、B4縦の右
端、B4横の右端が、それぞれ1ドツトの点線にてガイ
ド表示される。
FIG. 11 is a diagram showing the displayable range on the LCD 50 and the dotted line of the paper width when displaying a print image. Here, the left edge of the paper, the right edge of 85 $u, the right edge of A4 portrait, the right edge of B4 portrait, The right edge of B4 is displayed as a guide with a one-dot dotted line.

第12図はLCD50のクリッピングIe(ここでは2
00ドツト)を説明するための図、又、第13図は印刷
イメージ表示の際の文書と画面の関係を示す図であり、
上下方向のカーソル操作で画面が切替えられる。
FIG. 12 shows the clipping Ie of the LCD 50 (here 2
00 dot), and FIG. 13 is a diagram showing the relationship between the document and the screen when displaying the print image.
Screens can be switched by operating the cursor in the up and down directions.

ここで上記各図を参照して一実施例の動作を説明する。Here, the operation of one embodiment will be explained with reference to the above figures.

漢字混じり文の入力時に於いては、キーボード30より
入力されたキー人力信号が8110内のCP U 11
の制御により仮名漢字変換され、RAM14内の文書バ
ッファ141に貯えられる。この際、CP U 11は
、PP112を介し更にデコーダ13を介してキーボー
ド30にスキャン信号を出力し、そのリターン4m号を
PP112をより入力してキー判別を行ないキーコード
を生成する。更に、同キーコードをもとに仮名人力され
た漢字指定部分について、ROM15内のKPM(仮名
漢字変換処理)、更にはRA M 14内の暫定辞書等
を索引し、仮名漢字変換処理した後、その変換された漢
字コードを含む入力文字コード列を文書バッファ141
に貯える。
When inputting a sentence containing kanji, the key input signal from the keyboard 30 is sent to the CPU 11 in the 8110.
The data is converted into kana-kanji under the control of , and stored in the document buffer 141 in the RAM 14. At this time, the CPU 11 outputs a scan signal to the keyboard 30 via the PP 112 and the decoder 13, and inputs the return number 4m to the PP 112 to perform key discrimination and generate a key code. Furthermore, for the designated part of the kanji that has been input into kana based on the same key code, the KPM (kana-kanji conversion process) in the ROM 15 and the provisional dictionary in the RAM 14 are indexed, and after the kana-kanji conversion process is performed, The input character code string including the converted kanji code is sent to the document buffer 141.
Store in.

上記した文書入力時に於いて、文書バッファ141に貯
えられる入力文字は、CP U 11の制御の下に順次
V−RAM140上にパターン展開され、L CD t
ill m1回路17の表示制御、更にはLcDドライ
バ51の表示ドライブでLCD50上に表示出力される
During the above-described document input, the input characters stored in the document buffer 141 are sequentially developed into patterns on the V-RAM 140 under the control of the CPU 11, and
The illumination signal is displayed on the LCD 50 by the display control of the ill m1 circuit 17 and the display drive of the LCD driver 51.

このようにして入力された既入力文書は、カーソルキー
操作による行・桁指定に従いL CD 50上に最大4
0桁×10行く縮小表示モードの際は80桁X20行)
の文字配列をもって任意に表示でき、文書の編集、校正
等に供される。
The already input documents input in this way are displayed on the LCD 50 in up to 4 rows and columns according to the line/column specification using the cursor keys.
(80 columns x 20 lines when in reduced display mode with 0 columns x 10 lines)
It can be displayed in any character arrangement and is used for document editing, proofreading, etc.

上記した入力文書に対して、例えば行を単位に文字修飾
、又は印刷停止の指定を行ないたい場合は、修飾したい
行位置の文字列をカーソルキー操作で選択し表示して、
[機能]キーと他の特定キーとの組合わせによるC行條
飾コキー操作により行修飾の指定を行なう。この際の詳
細な行修飾手段は特願昭60−129237号(文書作
成装置)に示されているので、ここではその説明を省略
する。
For example, if you want to modify characters on a line-by-line basis or specify to stop printing for the above input document, select and display the character string at the line position you want to modify using the cursor keys,
Line decoration is specified by operating the C line decoration key in combination with the [Function] key and other specific keys. The detailed line modification means at this time is shown in Japanese Patent Application No. 129237/1988 (Document Creation Apparatus), so the explanation thereof will be omitted here.

以下に印刷イメージ表示処理動作を説明する。The print image display processing operation will be explained below.

ここでは、印刷イメージ表示処理時に於いて、行を単位
に複数種の文字が混在した文書の通常の印刷結果を[1
/4X1/4]に縮小したイメージでL CD 50上
にレイアウト表示する。
Here, during print image display processing, the normal printing result of a document in which multiple types of characters are mixed in line units is displayed as [1
The layout is displayed on the LCD 50 as an image reduced to 4x1/4].

まずキーボードから入力された文書に対して、行単位に
文字サイズ、文字間、改行値、用紙交換等の行修飾が指
定される。
First, line modifications such as character size, character spacing, line feed value, and paper exchange are specified for each line of a document input from the keyboard.

ここでキーボード30上の「印刷イメージ表示」キーが
押下されると、CP U 11はカーソルのある行の行
番号を検出した後、印刷イメージ表示実行ルーチンを実
行開始する。
When the "print image display" key on the keyboard 30 is pressed here, the CPU 11 detects the line number of the line where the cursor is located, and then starts executing a print image display execution routine.

この際の印刷イメージの表示処理動作を第2図乃至第1
3図を参照して説明する。
The display processing operation of the print image at this time is shown in Figures 2 to 1.
This will be explained with reference to FIG.

まず印刷イメージ表示の全体の処理動作を第2図のフロ
ーチャートを参照して説明する。
First, the entire processing operation for displaying a print image will be explained with reference to the flowchart shown in FIG.

ここでは先ずステップS1に於いて、上記「印刷イメー
ジ表示」キーの押下に伴い検出したカーソル行より上へ
行修飾の内容を見て、用紙交換が指定しである行の行番
号を検出し、同行番号を頁先頭行番号としてレジスタR
Oにセットする。
Here, first, in step S1, the contents of the line modification above the cursor line detected upon pressing the "print image display" key are checked, and the line number of the line in which paper replacement is specified is detected; Register R with the accompanying number as the first line number of the page
Set to O.

次にステップS2に於いて、クリッピング範囲を示すク
リッピングドツトとしてrOJを印刷制御レジスタR1
(以下印刷制御レジスタ(RO〜R19)の夫々を単に
レジスタと称呼する)にセットする。その後、ステップ
S3に於いて、LCD50上に、第11図に示すような
用紙幅のスケール表示を行なう。この詳細な処理フ0−
は第3図に示される。
Next, in step S2, rOJ is stored in the print control register R1 as a clipping dot indicating the clipping range.
(Hereinafter, each of the print control registers (RO to R19) will be simply referred to as a register). Thereafter, in step S3, a paper width scale is displayed on the LCD 50 as shown in FIG. This detailed processing flow
is shown in FIG.

次にステップS4に於いて、イメージ表示する文字位置
として「4」 (具体的には縦横変換印刷の際の傍線後
は等を防止するための4ドツトスライス分のマージン)
をレジスタR2にセットし、続いてステップS5に於い
て、サーチ行番号として、レジスタROの内容をレジス
タR3にセットする。そしてステップS6に於いて、ク
リッピング範囲から表示行数を割出す。この詳細な処理
フローは第4図に示される。
Next, in step S4, the character position for displaying the image is "4" (specifically, a margin of 4 dot slices to prevent side lines etc. during portrait/horizontal conversion printing).
is set in register R2, and then in step S5, the contents of register RO are set in register R3 as the search line number. Then, in step S6, the number of display lines is determined from the clipping range. This detailed processing flow is shown in FIG.

次にステップS1に於いて、表示行数が「0」であれば
、ステップS13に於いて、クリッピング範囲に次画面
と次々画面を指定し、表示行があるか否かを判断する。
Next, in step S1, if the number of display lines is "0", then in step S13, the next screen and one screen after another are designated as the clipping range, and it is determined whether there are any display lines.

このステップ313に於いて表示行無しと判定した場合
は、ステップS22に於いて、画面左下に、第13図の
画面3内に示されるような頁エンド(頁末)マークを表
示する。
If it is determined in step 313 that there is no display line, a page end mark as shown in screen 3 in FIG. 13 is displayed at the lower left of the screen in step S22.

又、上記ステップS7に於いて、表示行数が「0」以外
であるときは、ステップS8に於いて表示行数(R17
)を作業用レジスタ8 Cregにセットし、更にステ
ップS9に於いて表示開始行番号(R7)を作業用レジ
スタDEにセーットした後、ステップS10に於いて、
LCD50上に印刷イメージを表示する。この詳細な表
示フローは第5図、及び第6図に示される。
Further, in step S7, if the number of display lines is other than "0", the number of display lines (R17) is determined in step S8.
) is set in the work register 8 Creg, and the display start line number (R7) is set in the work register DE in step S9, and then in step S10,
A print image is displayed on the LCD 50. This detailed display flow is shown in FIGS. 5 and 6.

次にステップS11に於いて、レジスタR17の内容(
表示行数)とレジスタR7の内容(表示開始付番@)を
加えた直を次のサーチ行番号としてレジスタR3にセッ
トする。
Next, in step S11, the contents of register R17 (
The sum of the display line number) and the contents of register R7 (display start number @) is set in register R3 as the next search line number.

次にステップS12に於いて、サーチ終了フラグ(R4
)が“1″であるか否かを判断し、“1”でなければ、
再び上記ステップ6の処理に戻って表示行数の割出しを
行なう。
Next, in step S12, the search end flag (R4
) is “1” or not, and if it is not “1”,
The process returns to step 6 again to calculate the number of display lines.

又、上記ステップS12に於いて、サーチ終了フラグ(
R4が“1nであれば、ステップ813に於いて、上記
同様の頁終了チェックを行なう。
Also, in step S12 above, the search end flag (
If R4 is "1n," in step 813, the same page end check as above is performed.

このステップ$13に於いて、表示行が無ければステッ
プ822に於いて、画面左下に上記したような頁エンド
マークを表示し、ステップ823に於いてキー人力待ち
となる。
In this step $13, if there is no line to display, in step 822, a page end mark as described above is displayed at the lower left of the screen, and in step 823, the process waits for key input.

又、上記ステップ873に於いて表示行がある場合は、
スラップS14に於いてキー人力待ちとなる。
Also, if there is a display line in step 873 above,
At Slap S14, key personnel are required.

ここで、キー人力があると、ステップ815〜317に
於いてキーの判断を行ない、上カーソルキーのときはス
テップ818の処理を実行し、下カーソルキーのときは
ステップS21の処理を実行し、取消しキーのときは印
刷イメージ表示を終了する。
Here, if there is key power, the key is determined in steps 815 to 317, and if it is the up cursor key, the process of step 818 is executed, and if it is the down cursor key, the process of step S21 is executed, When the cancel key is pressed, the print image display is ended.

その他のキーのときは再びステップ314でキー人力待
ちとなる。
If it is any other key, the process waits again at step 314 for the key to be manually operated.

上記ステップS15に於いて上カーソルキーの入力を判
断すると、ステップ318に於いて、クリッピングドツ
ト(R1)がrOJ  (1画面目表示中)であるか否
かを判断し、rOJであれば、次にステップ819に於
いて頁先頭行番号(RO)が「1」〈1頁目表示中)で
あるか否かを判断し、ここで「1」であれば、再びステ
ップ314でキー人力待ちとなる。
When the input of the up cursor key is determined in step S15, it is determined in step 318 whether the clipping dot (R1) is rOJ (displaying on the first screen), and if it is rOJ, the next Then, in step 819, it is determined whether the page top row number (RO) is "1" (the first page is being displayed), and if it is "1", the key is waited for human power in step 314 again. Become.

又、上記ステップS19に於いて、頁先頭行番号(RO
)が「1」でなければ、ステップ832に於いて前頁最
終画面表示処理を行なう。
Also, in step S19 above, the page top line number (RO
) is not "1", the previous page final screen display process is performed in step 832.

又、上記ステップ51Bに於いて、クリッピングドツト
が「0」でなければ、ステップS20に於いてクリッピ
ングドツト(R1)からr700Jを引き、前画面を表
示するために、ステップS3の処理を行なう。
If the clipping dot is not "0" in step 51B, r700J is subtracted from the clipping dot (R1) in step S20, and the process in step S3 is performed to display the previous screen.

又、上記ステップS23に於いてキー人力待ちのとき、
キー人力があると、ステップ824〜326に於いてキ
ーの判断を行ない、取消しキーのときは印刷イメージ表
示を終了し、上ガ′−ツルキーのときはステップ329
の処理を実行し、下カーソルキーのときはステップ32
7に於いて文−末であるか否かを判断し、文末ならば再
びステップ823に於いてキー人力持ちとなる。又、文
末でなければ、頁先頭行番号(RO)に次頁の先頭行番
号をセットし、次頁の最初の画面を表示するためにステ
ップS2の処理を行なう。
Also, when waiting for key personnel in step S23 above,
If the key is pressed, the key is determined in steps 824 to 326, and if it is a cancel key, the printing image display is ended, and if the key is pressed, step 329 is executed.
Execute the process, and if the down cursor key is pressed, step 32
In step 7, it is determined whether or not it is the end of the sentence, and if it is the end of the sentence, the process goes to step 823 again where it becomes the key operator. If it is not the end of the sentence, the first line number of the next page is set in the page first line number (RO), and the process of step S2 is performed to display the first screen of the next page.

又、上記ステップ329に於いて、クリッピングドツト
(R1)が「0」であるか否かを判断し、「o」であれ
ば、続いてステップ30に於いて頁先頭行番号(RO)
が「1」であるか否かを判断し、ここで「1」であれば
再びステップS23でキー人力持ちとなる。
Also, in step 329, it is determined whether the clipping dot (R1) is "0", and if it is "o", then in step 30, the page top row number (RO) is determined.
It is determined whether or not is "1", and if it is "1", the key manpower is determined again in step S23.

又、上記ステップS29に於いて、クリッピングドツト
(R1)がrOJでなければ、ステップS31に於いて
、クリッピングドツト(R1)からr700Jを引き、
前画面を表示するために、ステップS3の処理を行なう
Also, in step S29, if the clipping dot (R1) is not rOJ, in step S31, subtract r700J from the clipping dot (R1),
In order to display the previous screen, the process of step S3 is performed.

又、上記ステップS30に於いて、頁先頭行番号(RO
)が「1」でないときは、ステップS32に於いて、レ
ジスタROに前頁の先頭行の行番号をセットし、ステッ
プ833〜825でレジスタR1に「O」、レジスタR
2に「4」、レジスタR3にレジスタROの値をそれぞ
れセットする。そしてステップ336に於いて表示行数
の割出しを行なう。
Also, in step S30 above, the page top row number (RO
) is not "1", in step S32, the line number of the first line of the previous page is set in register RO, and in steps 833 to 825, "O" is set in register R1, and register R is set to "O".
2 is set to "4", and register R3 is set to the value of register RO. Then, in step 336, the number of display lines is determined.

この詳細な処理フローは第4図に示される。This detailed processing flow is shown in FIG.

次に、ステップ337に於いて、サーチ終了フラグ(R
4)がt−1nであるか否かを判断する。
Next, in step 337, the search end flag (R
4) Determine whether or not t-1n.

ここでサーチ終了フラグ(R4)が“1゛のときは、ス
テップ341に於いて、前頁の最終画面であるか否かを
判断し、最終画面であるときはステップS3の処理を行
なう。又、R線画面でないときはステップ842〜84
4の処理に於いて、レジスタR1(クリッピングドツト
)にr700Jを加え、レジスタS2にレジスタR6の
内容(表示開始文字位置)をセットし、更にレジスタR
3にレジスタR7の内容(表示開始行番号)をセットし
て、再びステップS36の処理に戻る。
Here, when the search end flag (R4) is "1", it is determined in step 341 whether or not it is the last screen of the previous page, and if it is the last screen, the process of step S3 is performed. , steps 842 to 84 when the screen is not an R-line screen.
In the process of step 4, r700J is added to register R1 (clipping dot), the contents of register R6 (display start character position) are set to register S2, and register R
The contents of register R7 (display start line number) are set to 3, and the process returns to step S36.

又、上記ステップ837に於いて、レジスタR4の内容
(サーチ行番号)が“1”でないときは、ステップ83
8に於いて表示行数(R17)が「0」であるか否かを
判断し、「0」であるときはステップS42の処理を行
なう。又、表示行¥1(R17)が「0」でないときは
、ステップ839に於いて前頁の最終画面であるか否か
を判断し、最終画面であるときは、レジスタR1の内容
からr700Jを引いて、再びステップS3の処理を行
なう。又、最終画面でないときはレジスタR1にr70
0Jを加えステップS34の処理を行なう。
Further, in step 837, if the contents of register R4 (search line number) are not "1", step 83
In step S8, it is determined whether the number of display lines (R17) is "0" or not, and if it is "0", the process of step S42 is performed. If display line ¥1 (R17) is not "0", it is determined in step 839 whether or not this is the last screen of the previous page, and if it is the last screen, r700J is calculated from the contents of register R1. Then, the process of step S3 is performed again. Also, if it is not the final screen, set r70 to register R1.
0J is added and the process of step S34 is performed.

次に、上記ステップ83.86及び836.810の詳
細について、第3図〜第5図のフロチャー1−に従って
説明する。
Next, the details of steps 83.86 and 836.810 will be explained according to flowchart 1- of FIGS. 3 to 5.

第3図は上記第2図に於けるステップS3の[用紙幅ス
ケール表示処理]の詳細なフローチャートである。
FIG. 3 is a detailed flowchart of the [paper width scale display process] in step S3 in FIG. 2 above.

ここでは、まずステップA1に於いてL CD 50の
表示画面すべてをクリアし、ステップA2に於いて作業
用レジスタ13 regに点線ドツト数のrloOJを
セットし、スラップA3に於いて作業用レジスタIXr
eg 1.:V−RAM140の奇数の先頭アドレス(
ここでは8001−1)をセットする。
Here, first, in step A1, all the display screens of the LCD 50 are cleared, in step A2, the number of dotted dots rloOJ is set in the work register 13 reg, and in slap A3, the work register IXr is set.
eg 1. : Odd number start address of V-RAM 140 (
Here, 8001-1) is set.

次に、ステップA4 、 As 、 A6 、 A7 
、 A8の各処理を実行して、V−RAM140上の第
11図に示づ各点線位置のアドレスにそれぞれ1ビツト
をオアライトする。
Next, steps A4, As, A6, A7
, A8 are executed to OR-write one bit to each address on the V-RAM 140 at each dotted line position shown in FIG.

その後、ステップA9に於いて作業用レジスタIXre
oに「80」を加え、作業用レジスタBreりから「1
」を引いて、その結果が「0」でなければステップA4
以降の処理を繰返し行ない、又、「0」であれば処理を
終了する。
After that, in step A9, the working register IXre
Add “80” to o and read “1” from the working register.
”, and if the result is not “0”, step A4
The subsequent processing is repeated, and if the value is "0", the processing is terminated.

このような処理により、L CD 50上には第11図
に示すような点線による〔用紙左端・B5縦右端・A4
縦右端・B4縦右端・B4横右!it]を示す各用紙幅
のスケール表示がなされる。
Through such processing, the LCD 50 is marked with dotted lines as shown in FIG.
Vertical right end, B4 vertical right end, B4 horizontal right! A scale display of each paper width indicating "it" is performed.

第4図は上記第2図に於けるステップ86.及びステッ
プ836の[クリッピング範囲からの表示行数の割出し
処理コの詳細なフローチャートである。
FIG. 4 shows step 86 in FIG. 2 above. This is a detailed flowchart of the process of determining the number of display lines from the clipping range in step 836.

ここでは先ず、ステップB1に於いてレジスタR4の内
容を「0」にし、ステップB2に於いてレジスタR5に
レジスタR3の内容(サーチ行番号)をセットする。
First, in step B1, the contents of register R4 are set to "0", and in step B2, the contents of register R3 (search line number) are set in register R5.

次にステップB3に於いて、レジスタR2の値を1/ 
120インチ単位からドツト単位に変換しレジスタR1
8にセットする。
Next, in step B3, the value of register R2 is set to 1/
Convert from 120 inch unit to dot unit and register R1
Set to 8.

そしてステップB4 、BSに於いて、レジスタR18
の値(文字位置ドツト)がクリッピングドツト(R1)
から[R1+800]の範囲内にあるか否かを判定し、
その範囲内にあるときはステップ810の処理を行なう
Then, in step B4, in the BS, register R18
The value (character position dot) is the clipping dot (R1)
to determine whether it is within the range of [R1+800],
If it is within that range, the process of step 810 is performed.

又、上記ステップB5に於いて範囲外にあるときは、ス
テップB6に於いてその行が用紙交換の行であるか否か
を判定し、用紙交換性であるときはステップ887に於
いて表示行数(R17)に「0」をセットし処理を終了
する。又、用紙交換性でないときはステップB8に於い
てレジスタR5に「1」を加え、ステップB9に於いて
レジスタR2に改行値を加えて、ステップB3の処理に
戻る。
If the line is outside the range in step B5, it is determined in step B6 whether or not the line is a line for paper exchange, and if the line is for paper exchange, the display line is changed in step 887. The number (R17) is set to "0" and the process ends. If the paper is not replaceable, "1" is added to register R5 in step B8, a line feed value is added to register R2 in step B9, and the process returns to step B3.

上記ステップB5のクリッピング範囲の判断で、範囲外
の判断のときは、ステップB10に於いてレジスタR2
の内容(文字位置)を表示開始文字位置としてレジスタ
R6にセットし、ステップB11に於いて表示文字数と
してレジスタR17に「1」をセットし、更にステップ
812に於いてレジスタR1の内容(クリッピングドツ
ト)を 17120インチ単位に変換して、レジスタR
2の内容(文字位置)から差引き、その値を改行位置と
してレジスタR8にセ□ットする。更にステップB13
に於いて、レジスタR5の内容を表示開始行番号として
レジスタR7にセットする。
If the clipping range is determined to be outside the clipping range in step B5, the clipping range is set in register R2 in step B10.
The content (character position) is set in register R6 as the display start character position, "1" is set in register R17 as the number of display characters in step B11, and the content of register R1 (clipping dot) is set in step 812. Convert to 17120 inch units and register R
The value is subtracted from the contents (character position) of 2 and set in register R8 as the line feed position. Further step B13
At this point, the contents of register R5 are set in register R7 as the display start line number.

次にステップ814に於いてレジスタR2に改行値を加
え、ステップ815に於いてレジスタR2の内容を1/
 120インチ単位からドツト単位に変換してレジスタ
R18にセットする。そしてステップ816、B17に
於いて、レジスタR18の値がクリッピングドツト(R
1)から[R1+800](7)範囲内にあるか否かを
判断し、範囲内にあるときはレジスタR17に「1」を
加えた後、ステップ814の処理に戻る。又、上記ステ
ップB17に於いて、範囲外であるときはステップ81
8に於いて用紙交換性であるか否かを判断し、用紙交換
性であるときはステップB19に於いてサーチ終了フラ
グ(R4)に“1″をセットし、処理を終了する。
Next, in step 814, a line feed value is added to register R2, and in step 815, the contents of register R2 are changed to 1/
Convert from 120 inch units to dot units and set in register R18. Then, in step 816 and B17, the value of register R18 is changed to a clipping dot (R
1) to [R1+800] (7) It is determined whether or not it is within the range. If it is within the range, "1" is added to register R17, and then the process returns to step 814. Also, in step B17 above, if it is outside the range, step 81
In step B19, it is determined whether or not the paper is replaceable. If the paper is replaceable, the search end flag (R4) is set to "1" in step B19, and the process is terminated.

又、用紙交換性でないとき−はそのまま処理を終了する
Also, if the paper is not replaceable, the process is immediately terminated.

第5図は上記第2図に於けるステップs10の[LCD
50上の表示処理〕の詳細なフローチャートである。
FIG. 5 shows [LCD] in step s10 in FIG.
50] is a detailed flowchart of the display process shown in FIG.

ここでは先ずステップCI 、C2に於いて、印―イメ
ージフラグ(R9)に“1パをセットし、ラインバッフ
ァ長(RIO) i、: r2280」(第9図参照)
をセットする。
Here, first, in steps CI and C2, the mark-image flag (R9) is set to "1, line buffer length (RIO) i,: r2280" (see Figure 9).
Set.

通常の印刷の場合はステップC3,C4に於いて、レジ
スタR9(印刷イメージフラグ)にO”、レジスタR1
0にN536J  (第9図参照)がセットされる。
In the case of normal printing, in steps C3 and C4, register R9 (print image flag) is set to O”, register R1 is
N536J (see Figure 9) is set to 0.

次にステップC5に於いて行番号(R5)に作業用レジ
スタD E reaの内容をセットし、ステップC6に
於いて行数(R11)に作業用レジスタ3 E reg
の内容をセットする。そしてステップC7で改行量(R
14)に「0」をセットする。更にステップC8で、レ
ジスタR5の行番号に対応する行修飾情報を行修飾エリ
ア(R16)にセットし、ステップC9に於いてレジス
タR16の値から、文字サイズ、文字間、改行値を計算
する。次に、ステップCIO,C11に於いて、レジス
タR12、及びレジスタR12にそれぞれ「0」をセッ
トする。
Next, in step C5, the contents of the work register D E rea are set in the row number (R5), and in step C6, the contents of the work register D E rea are set in the row number (R11).
Set the contents of. Then, in step C7, the line feed amount (R
14) is set to "0". Furthermore, in step C8, line modification information corresponding to the line number in register R5 is set in the line modification area (R16), and in step C9, character size, character spacing, and line feed value are calculated from the values in register R16. Next, in steps CIO and C11, "0" is set in register R12 and register R12, respectively.

次にステップC12に於いて、レジスタR5の内容とレ
ジスタR13の内容から対応する文字コードをロードす
る。
Next, in step C12, the corresponding character code is loaded from the contents of register R5 and register R13.

そしてステップC13に於いて、文字コードが外部記憶
内の文字種であるか否かを判定する。ここで、外部記憶
の文字種でないときは、ステップC16に於いて、RO
M 15のKPMからそのコードに従う文字パターンを
リードし、文字バッファ(R19)に書込む。又、ステ
ップC13に於いて、外部記憶の文字(ここではマイク
ロフロッピィディスクドライブ70によりアクセスされ
る外字・第2水準専用フロツピイデイスク内に格納され
た文字種)であると判断したときは、ステップC14に
於いて印刷イメージフラグ(R9)が1”であるか否か
を判断し、“1nであるときはステップC15に於いて
レジスタR19のすべてのビットを1″にする。
Then, in step C13, it is determined whether the character code is a character type stored in external storage. Here, if the character type is not in the external memory, in step C16, the RO
Read the character pattern according to the code from the KPM of M15 and write it to the character buffer (R19). If it is determined in step C13 that the character is an externally stored character (in this case, an external character accessed by the microfloppy disk drive 70 or a character type stored in the second level dedicated floppy disk), step C13 is executed. At step C14, it is determined whether the print image flag (R9) is 1'', and if it is 1n, all bits of register R19 are set to 1'' at step C15.

このようにして、印刷イメージ表示処理の際、外部記憶
の文字種に関しては真黒パターンが文字バッファ(R1
9)に書込まれ、ラインバッファ(LB)141上に展
開される。
In this way, during print image display processing, the pure black pattern is displayed in the character buffer (R1
9) and expanded onto the line buffer (LB) 141.

尚、この真黒パターンの表示例は第13図の画面1内に
示されている。
A display example of this pure black pattern is shown in screen 1 of FIG. 13.

又、印刷イメージフラグ(R9)がパ○”のときは外部
記憶(マイクロフロッピィディスクドライブ70)から
文字パターン(外字/第2水準漢字等)をリードし、レ
ジスタR19に書込む。
Further, when the print image flag (R9) is "Pa○", a character pattern (external character/second level kanji character, etc.) is read from an external storage (micro-floppy disk drive 70) and written to register R19.

次に、ステップC18に於いて、レジスタR16の行修
飾情報の内容に従い文字修飾(例えば拡大処理)して、
その文字パターンをラインバッファ(L B ) 14
1に書込む。
Next, in step C18, character modification (for example, enlargement processing) is performed according to the contents of the line modification information in register R16.
Transfer the character pattern to the line buffer (LB) 14
Write to 1.

そして次のステップC19に於いて、レジスタ12の内
容(震込みポインタ)に文字サイズ値が加えられ、ステ
ップC20に於いて、レジスタR12の内容(書込みポ
インタ)がラインバッファ長(R10)をオーバしてい
るか、又は1行の文字数の書き込みが終了したと判断さ
れると、ステップC23に於いて印刷イメージフラグ(
R9)の内容が判断される。
Then, in the next step C19, the character size value is added to the contents of register 12 (shock pointer), and in step C20, the contents of register R12 (write pointer) exceeds the line buffer length (R10). If it is determined that the number of characters in one line has been written, the print image flag (
The contents of R9) are determined.

又、上記ステップC20に於いて、レジスタR12の値
(書込みポインタ)がラインバッファ長(R10)を越
えていないときは、ステップC21に於いて、レジスタ
R12(&i込みポインタ)に文字間を加え、更にステ
ップC22に於いてレジスタR13(桁番号)に「1」
を加えて、ステップC12の処理に戻る。
Also, in step C20, if the value of register R12 (write pointer) does not exceed the line buffer length (R10), in step C21, add the character spacing to register R12 (&i pointer), Furthermore, in step C22, "1" is set in register R13 (digit number).
is added, and the process returns to step C12.

上記ステップC23では、印刷イメージフラグ(R9)
が“1″であるか否かを判断し、“1″のときは改行位
置(R8)にレジスタR14の値(改行量)を加える。
In step C23 above, the print image flag (R9)
It is determined whether or not is "1", and if it is "1", the value (line feed amount) of register R14 is added to the line feed position (R8).

そしてステップC25に於いて、ラインバッファ(LB
)141のデータをV−RA M 140に書込む。
Then, in step C25, the line buffer (LB
) 141 data is written to the V-RAM 140.

又、上記ステップC23に於いて、レジスタR9の内容
(印刷イメージフラグ)が°1゛°でないときは、プリ
ンタコントローラ(PRTC)18を介してプリンタ(
PRT)60に対し、改行と印字実行が行われる。
Further, in step C23, if the contents of the register R9 (print image flag) are not 1°, the printer (
PRT) 60, line feed and printing are performed.

次にステップC26に於いて、レジスタR16の情報(
(テ修飾エリア)から改行値を求め、これをレジスタR
14にセットする。そしてステップC27に於いてレジ
スタR5の内容(行番号)に「1」を加え、ステップC
29に於いてレジスタR11の内容(行数)から「1」
を引く。更にステップC30に於いて、レジスタR11
の内容(行数)が「0」であるか否かが判断され、「0
」でないのときはステップC8の処理に戻り、又、rO
Jのときは処理を終了する。
Next, in step C26, the information in register R16 (
Find the line feed value from (TE modification area) and store it in register R.
Set it to 14. Then, in step C27, "1" is added to the contents (line number) of register R5, and in step C
29, "1" from the contents (number of lines) of register R11
pull. Furthermore, in step C30, register R11
It is determined whether the content (number of lines) is "0", and "0" is determined.
”, the process returns to step C8, and rO
When it is J, the process ends.

第6図は上記第5図に於けるステップC25の[V−R
AM140への書込み処理]の詳細なフローチャートで
ある。
FIG. 6 shows the [V-R
[Write processing to AM 140]] is a detailed flowchart.

ここでは、まずステップD1に於いて、改行位fi(R
8)を1/120インチ単位からドツト単位に変換する
。次にステップD2に於いて、レジスタR8の値(改行
位置)が「0」からr799Jの範囲にあるか否かを判
断し、範囲外のときはステップD5の処理を行なう。又
、上記範囲内のときはレジスタR8の値を1/4にして
V−RAM・Y位置(R15)にセットする。そしてス
テップD4に於いて、ラインバッファ(L B ’) 
141上の上からO〜3ドツトの4ドツトデータを1/
4×1/′4に縮小(16ドツト(4×4ドツトマトリ
クス)の何れかのドツトが“1”であると当該縮小デー
タを“1”にする)してV −RA M 140のX位
置r32J  (第2図に示す印刷不可能範囲)、y位
置はレジスタR15が示す位置(V−RA〜・1・Y位
置)から縮小データをオアライトする。
Here, first in step D1, line feed position fi(R
8) is converted from 1/120 inch unit to dot unit. Next, in step D2, it is determined whether the value of register R8 (line feed position) is within the range from "0" to r799J, and if it is outside the range, the process of step D5 is performed. If it is within the above range, the value of register R8 is 1/4 and set in the V-RAM Y position (R15). Then, in step D4, the line buffer (L B')
1/4 dot data from O to 3 dots from the top on 141
Reduce it to 4 x 1/'4 (if any dot of 16 dots (4 x 4 dot matrix) is "1", the reduced data is set to "1") and set the X position of V-RAM 140. r32J (unprintable range shown in FIG. 2), the y position or-writes the reduced data from the position indicated by the register R15 (V-RA~.1.Y position).

次にステップD5に於いてレジスタR8の直(改行位@
)に「4」を加え、ステップD6に於いて、レジスタR
8の値がrOJからr799Jの範囲内であるか否かを
判断し、範囲外のときはステップD9の処理を行なう。
Next, in step D5, the direct (line feed position @
) is added to "4", and in step D6, the register R
It is determined whether the value of 8 is within the range from rOJ to r799J, and if it is outside the range, the process of step D9 is performed.

又、上記範囲内のときはレジスタR8の値(改行位置)
を1/4にしてレジスタ15にセットする。そしてステ
ップD8に於いて、ラインバッフy(LB)141上の
上から4〜7ドツトのデータを1/4 X  L/4に
縮小シテ、V−RAM140上(7):)l[32J、
Y位置はレジスタR+5の値から縮小データをオアライ
トする。
Also, if it is within the above range, the value of register R8 (line break position)
is set to 1/4 in register 15. Then, in step D8, the data of 4 to 7 dots from the top on the line buffer y (LB) 141 is reduced to 1/4 x L/4, and on the V-RAM 140 (7):)l[32J,
At the Y position, reduced data is or-written from the value of register R+5.

次にステップD9に於いてレジスタR8に「4」を加え
、ステップ010に於いてレジスタR8の値が「0」か
らr799Jの範囲内であるか否かを判断する。ここで
範囲外のときはステップDI3の処理を行なう。又、範
囲内のときはレジスタR8の値を1/4にしてレジスタ
R15にセットする。
Next, in step D9, "4" is added to register R8, and in step 010, it is determined whether the value of register R8 is within the range of "0" to r799J. Here, if it is outside the range, the process of step DI3 is performed. If it is within the range, the value of register R8 is 1/4 and set in register R15.

そしてステップD12に於いてラインバッファ(LB)
141上の上から8〜11ドツトのデータを1/’4 
X 1/4に縮小してV−RAM140上のX位置r3
2J、Y位置はレジスタR15の値から縮小データをオ
アライトする。
Then, in step D12, the line buffer (LB)
The data of 8 to 11 dots from the top on 141 is 1/4
X Reduced to 1/4 and X position r3 on V-RAM 140
At the 2J and Y positions, reduced data is or-written from the value of register R15.

次にステップD13に於いてレジスタR8に「4」を加
え、ステップD14に於いてレジスタR8の値が「○」
からr799Jの範、回内であるか否かを判断し、範囲
外のときはステップ[)17の処理を行なう。又、範囲
内のときはレジスタR8の値を1/4にしてレジスタ1
5にセットする。そして、ステップ[)16に於いてラ
インバッファ(LB)141上の上から12〜15ドツ
トのデータを1/4 x  1/4に縮小してV−RA
M140のX位置r32J、Y位置はレジスタR15の
値から縮小データをオアライトする。
Next, in step D13, "4" is added to register R8, and in step D14, the value of register R8 is "○".
It is determined whether pronation is within the range of r799J, and if it is outside the range, the process of step [)17 is performed. Also, if it is within the range, the value of register R8 is 1/4 and the value of register R8 is set to 1/4.
Set to 5. Then, in step [)16, the top 12 to 15 dots of data on the line buffer (LB) 141 are reduced to 1/4 x 1/4 and sent to the V-RA.
At the X position r32J and Y position of M140, reduced data is OR-written from the value of the register R15.

次にステップDI7に於いてレジスタ8に「4」を加え
、ステップD18に於いてレジスタR8の値が「0」か
らr799Jの範囲内にあるか否かを判断し、範囲外の
ときはステップD21の処理を行なう。又、範囲内のと
きはレジスタR8の値を174にしてレジスタR15に
セットする。そしてステップ020に於いてラインバッ
ファ(L B ) 141上の上から16〜19ドツト
のデータを1/4×1/4に縮小してV−RAM140
上のX位置r32J、Y位置はレジスタR15の値から
縮小データをオアライトする。
Next, in step DI7, "4" is added to register 8, and in step D18, it is determined whether the value of register R8 is within the range of "0" to r799J, and if it is outside the range, step D21 is performed. Process. If it is within the range, the value of register R8 is set to 174 and set in register R15. Then, in step 020, the data of 16 to 19 dots from the top on the line buffer (LB) 141 is reduced to 1/4 x 1/4 and stored in the V-RAM 140.
At the upper X position r32J and Y position, reduced data is OR-written from the value of the register R15.

次にステップD21に於いてレジスタR8に「4」を加
え、ステップD22に於いてレジスタR8の内容が「0
」からr799Jの範囲であるか否かを判断し、範囲外
のときは処理を終了する。又、範囲内のときはレジスタ
R8の値を1/4にしてレジスタR15にセットする。
Next, in step D21, "4" is added to register R8, and in step D22, the contents of register R8 are changed to "0".
”, it is determined whether or not it is within the range of r799J, and if it is outside the range, the process is terminated. If it is within the range, the value of register R8 is 1/4 and set in register R15.

そしてステップD24に於いてラインバッファ(’L 
B ”) 141上の上から20〜23ドツトのデータ
を 1/4 x  L/4に縮小り、T、V−RAM1
40(7)X位置r32J、Y位置はレジスタR15の
値から縮小データをオアライトし、処理を終了する。
Then, in step D24, the line buffer ('L
B ”) Reduce the data of 20 to 23 dots from the top on 141 to 1/4 x L/4, and store it in T, V-RAM1.
40(7) At the X position r32J and the Y position, the reduced data is OR-written from the value of the register R15, and the process ends.

このようにして印刷イメージ表示処理が順次実行され、
実際の印刷文書に忠実な圧縮文字パターン表示による表
示形態をもって印刷イメージがLCD50上に表示され
る。
In this way, the print image display process is executed sequentially,
The print image is displayed on the LCD 50 in a compressed character pattern display format that is faithful to the actual printed document.

[発明の効果] 以上詳記したように本発明によれば、印刷対象となる文
書の特定の文字種パターンが外部記憶に格納され、同特
定の文字種パターンのラインバッファ上への印刷イメー
ジ展開を他の文字種パターンのイメージ展開と独立して
行なう印刷till 111手段とn行xm桁の表示用
バッファをもつ表示機構と行修fs機能とをもつ文書作
成装置に於いて、印刷イメージ表示モードを設定する手
段と、同手段の設定による印刷イメージ表示モード時に
於いて上記印刷対象となる文書行の文字パターンを上記
ラインバッファ上に展開するとぎ展開対象となる文字種
が特定の文字種であるか否かを判別し、同文字種が上記
特定文字種でないとき、同文字種パターンを上記ライン
バッファ上に展開する手段、及び同展開された文字種パ
ターンを所定ドツトマトリクス単位の縮小パターンに変
換する手段、及び同変換された縮小パターンを上記表示
用パンツ7に書込む手段と、上記文字種の判別時に於い
て同文字種が上記特定文字種のとき、上記縮小パターン
と同一ドットマ1−リクス構成の特定文字種に固有のパ
ターンを生成し上記表示用バッファに書込む手段とを備
えた印刷イメージの表示機構をパーソナルワードプロセ
ッサに持たせることにより、表示行桁数が比較的少ない
少数ドツトマトリクス構成の表示機構、及び印刷用ライ
ンバッファを有効に用いて、外部記憶に格納された特定
文字種の占有エリアを明確に表現できるどともに印刷イ
メージを忠実にレイアウト表示でき、これにより文書全
体のイメージを正確に把握できる。
[Effects of the Invention] As detailed above, according to the present invention, a specific character type pattern of a document to be printed is stored in an external memory, and a print image of the same specific character type pattern on a line buffer is To set a print image display mode in a document creation device that has a printing till 111 means that performs printing independently of image development of a character type pattern, a display mechanism having an n-row x m-column display buffer, and a line correction fs function. means, and in the print image display mode according to the settings of the means, the character pattern of the document line to be printed is developed on the line buffer, and it is determined whether the character type to be developed is a specific character type. However, when the same character type is not the specific character type, means for expanding the same character type pattern on the line buffer, means for converting the expanded character type pattern into a reduced pattern in a predetermined dot matrix unit, and a reduced size of the converted character type. a means for writing a pattern on the display pants 7, and a means for generating a pattern unique to the specific character type having the same dot matrix configuration as the reduced pattern when the same character type is the specific character type when determining the character type; By equipping a personal word processor with a print image display mechanism that is equipped with means for writing to a display buffer, it is possible to effectively use a display mechanism with a small dot matrix configuration with a relatively small number of display line digits and a print line buffer. As a result, the area occupied by a specific character type stored in external storage can be clearly expressed, and the printed image can be faithfully displayed in layout, thereby making it possible to accurately grasp the image of the entire document.

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

第1図は本発明の一実施例に於ける装置の構成を示すブ
ロック図である。第2図乃至第6図はそれぞれ上記実施
例に於ける印刷イメージ表示処理フローを示したもので
、第2図は印刷イメージ表示処理系全体の処理フローを
示すフローチャート、第3図は上記第2図に於ける処理
内の用紙幅スケール表示処理(ステップ83)を示すフ
ローチャート、第4図は上記第2図に於ける処理内のク
リッピング範囲から表示行数を割出す処理(ステップS
6)を示すフローチャート、第5図は上記第2図に於け
る処理内のLCD上の表示処理(ステップ510)を示
すフローチャート、第6図は上記第5図に於けるV−R
AMへの書込み処理(ステップC25)を示すフローチ
ャートである。 第7図乃至第13図はそれぞれ上記実施例の動作を説明
するためのもので、第7図はRA M内の作業用レジス
タ領域に設けられた印刷制御レジスタ領域のレジスタ類
(RO〜R19)を示す図、第8図は上記RAM内の行
修飾バッファに貯えられる行修飾情報の構成を示す図、
第9図はプリント用ラインバッファ(しB)の構成を示
す図、第10図はV−RAMの構成を示す図、第11図
は印刷イメージ表示の際のLCD上の表示可能範囲と用
紙幅の点線を示す図、第12図はLCD上のクリッピン
グ範囲を説明するための図、第13図は印刷イメージ表
示の際の文書と画面の関係を示す図である。 10・・
・5I、11・・・CPU、12・・・PPI(周辺ル
11り0回路)、13・・・デコーダ(DCE>、14
・・・RAM、15・・・ROM、16・・・回線イン
ターフェイス部(C−INTF)17・・・L CD 
ill 111回路(LCDC)、 18・・・プリン
タコントローラ(PRTC)、19・・・クロックジェ
ネレータ(CG)、20・・・発娠器(O20)、30
・・・キーボード(KB)、50・・・LCD、60・
・・シリアルプリンタ(PRT)、70・・・フロッピ
ィディスクドライブ(FDD)、71・・・フOツビイ
デイスクコントローラ(FDC)、140・・・表示用
イメージバッファ(V−RAM) 、141・・・プリ
ント用ラインバッファ(LB)、142・・・作業用レ
ジスタ領域、143・・・行修飾バッファ143゜ 出願人代理人 弁理士  鈴江武彦 用紙幅のスケール表示 第3図 クリッピング範61 ら表示iう数の割出し 第 4 図(そのI) 第9図 第10図 印刷不可範囲 LCD横方向  Oドツト:用紙左端を示す 宜ド・7
ト点線SXSドツト: 8s縦右端を示す1ドツト点線
sysドツト:esjl!右端を示す重ドツト点線4@
−ドット二 B4縦右端を示す1ドツト点線@SSドツ
ト= B4横右端を示71ドツト点線LCDW面フォー
マット 第11図
FIG. 1 is a block diagram showing the configuration of an apparatus in an embodiment of the present invention. 2 to 6 respectively show the print image display processing flow in the above embodiment, FIG. 2 is a flowchart showing the entire processing flow of the print image display processing system, and FIG. FIG. 4 is a flowchart showing the paper width scale display process (step 83) in the process in FIG. 2, and FIG.
6), FIG. 5 is a flowchart showing the display process on the LCD (step 510) in the process in FIG. 2 above, and FIG. 6 is the V-R in FIG. 5 above.
It is a flowchart which shows the write process to AM (step C25). 7 to 13 are for explaining the operation of the above embodiment, respectively, and FIG. 7 shows the registers (RO to R19) in the print control register area provided in the working register area in the RAM. FIG. 8 is a diagram showing the configuration of line modification information stored in the row modification buffer in the RAM,
Figure 9 shows the configuration of the printing line buffer (ShiB), Figure 10 shows the configuration of the V-RAM, and Figure 11 shows the displayable range on the LCD and paper width when displaying the print image. FIG. 12 is a diagram for explaining the clipping range on the LCD, and FIG. 13 is a diagram showing the relationship between the document and the screen when displaying a print image. 10...
・5I, 11...CPU, 12...PPI (peripheral circuit 11 and 0), 13...Decoder (DCE>, 14
...RAM, 15...ROM, 16...Line interface section (C-INTF) 17...L CD
ill 111 circuit (LCDC), 18... Printer controller (PRTC), 19... Clock generator (CG), 20... Generator (O20), 30
...Keyboard (KB), 50...LCD, 60.
... Serial printer (PRT), 70... Floppy disk drive (FDD), 71... Flash disk controller (FDC), 140... Image buffer for display (V-RAM), 141...・Print line buffer (LB), 142... Working register area, 143... Line modification buffer 143 Applicant's agent Patent attorney Takehiko Suzue Paper width scale display Figure 3 Clipping range 61 Display i Number indexing Figure 4 (Part I) Figure 9 Figure 10 Unprintable area LCD horizontal direction O dot: Indicates the left edge of the paper O dot 7
Dotted line SXS dot: 1 dot indicating the 8s vertical right edge Dotted line sys dot: esjl! Heavy dotted line 4 showing the right edge
- Dot 2 1 dot dotted line indicating the right edge of B4 vertically @SS dot = 71 dot dotted line indicating the right edge of B4 horizontal LCD W surface format Figure 11

Claims (1)

【特許請求の範囲】[Claims] 印刷対象となる文書の特定の文字種パターンが外部記憶
に格納され、同特定の文字種パターンのラインバッファ
上への印刷イメージ展開を他の文字種パターンのイメー
ジ展開と独立して行なう印刷制御手段と、n行×m桁の
表示用バッファを備えた表示機構とをもつ文書作成装置
であつて、印刷イメージ表示モードを設定する手段と、
同手段の設定による印刷イメージ表示モード時に於いて
上記印刷対象となる文書行の文字パターンを上記ライン
バッファ上に展開するとき展開対象となる文字種が特定
の文字種であるか否かを判別し、同文字種が上記特定文
字種でないとき、同文字種パターンを上記ラインバッフ
ァ上に展開する手段、及び同展開された文字種パターン
を所定ドットマトリクス単位の縮小パターンに変換する
手段、及び同変換された縮小パターンを上記表示用バッ
ファに書込む手段と、上記文字種の判別時に於いて同文
字種が上記特定文字種のとき、上記縮小パターンと同一
ドットマトリクス構成の特定文字種に固有のパターンを
生成し上記表示用バッファに書込む手段とを具備してな
ることを特徴とする表示制御方式。
a print control means in which a specific character type pattern of a document to be printed is stored in an external memory, and print image development of the specific character type pattern onto a line buffer is performed independently from image development of other character type patterns; A document creation device having a display mechanism equipped with a display buffer of rows by m columns, the document creation device comprising: means for setting a print image display mode;
When the character pattern of the document line to be printed is developed on the line buffer in the print image display mode set by the same means, it is determined whether or not the character type to be developed is a specific character type, and When the character type is not the specific character type, means for developing the same character type pattern on the line buffer, means for converting the developed character type pattern into a reduced pattern in a predetermined dot matrix unit, and converting the converted reduced pattern into the above-mentioned reduced pattern. means for writing to the display buffer; and when the character type is determined to be the specific character type, a pattern unique to the specific character type having the same dot matrix configuration as the reduced pattern is generated and written to the display buffer; A display control method comprising means.
JP61172264A 1986-07-22 1986-07-22 Display control system Pending JPS6327878A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61172264A JPS6327878A (en) 1986-07-22 1986-07-22 Display control system
US07/319,887 US5029114A (en) 1986-07-22 1989-03-07 Method of displaying reduced-layout and apparatus for embodying the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61172264A JPS6327878A (en) 1986-07-22 1986-07-22 Display control system

Publications (1)

Publication Number Publication Date
JPS6327878A true JPS6327878A (en) 1988-02-05

Family

ID=15938672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61172264A Pending JPS6327878A (en) 1986-07-22 1986-07-22 Display control system

Country Status (1)

Country Link
JP (1) JPS6327878A (en)

Similar Documents

Publication Publication Date Title
US5029114A (en) Method of displaying reduced-layout and apparatus for embodying the method
JPS6327878A (en) Display control system
JPS6327950A (en) Display control system
JPS6327952A (en) Display control system
JPS6327951A (en) Display control system
JPS6327953A (en) Display control system
JPH03156668A (en) Document preparing device
JP2585298B2 (en) Document creation device
JPS6327949A (en) Display control system
JPS5887616A (en) Managing system for ruled data in word processor
JP2705690B2 (en) Display control device
JPS62111283A (en) Expansion pattern converter
GB2197102A (en) High resolution character generation
JPH0815794B2 (en) Character processor
JPS605469B2 (en) galley printing system
JPH0747320B2 (en) Character processor
JP2573174B2 (en) Document creation device
JPH06118934A (en) External character registering method
JPH0850585A (en) Display controller of document preparation device and display control method
JPH05151219A (en) Document processor with partial access function
JPH04118769A (en) Document preparing device
JPH04118763A (en) Document preparing device
JPS63227369A (en) Information processor
JPH08235164A (en) Display control method of document preparation device
JPS62220991A (en) Character processor