JPH082666B2 - Print processing device - Google Patents
Print processing deviceInfo
- Publication number
- JPH082666B2 JPH082666B2 JP61193423A JP19342386A JPH082666B2 JP H082666 B2 JPH082666 B2 JP H082666B2 JP 61193423 A JP61193423 A JP 61193423A JP 19342386 A JP19342386 A JP 19342386A JP H082666 B2 JPH082666 B2 JP H082666B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- printing
- characters
- document
- writing
- 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Facsimile Scanning Arrangements (AREA)
Description
【発明の詳細な説明】 〔概 要〕 文書処理装置の印刷時に、縦書きと横書きの字形の使
用を自動的に識別して印刷するための処理装置である。DETAILED DESCRIPTION OF THE INVENTION [Outline] When a document processing apparatus prints, it is a processing apparatus for automatically identifying and printing the use of vertical and horizontal glyphs.
日本語文書の長音記号等のように縦書きと横書きで異
なる字形を使用する文字を、文書には例えば横書き字形
のみで記憶しておき、印刷時に印刷方向と直角に並ぶ文
字列を検出し、その中の2字形を持つ文字には、印刷方
向に並ぶ文字の字形と異なる方の字形を印刷するように
処理する。Characters that use different glyphs for vertical writing and horizontal writing, such as the long syllabary of Japanese documents, are stored in the document only in horizontal writing, for example, and a character string that is aligned at right angles to the printing direction is detected during printing, Characters having two glyphs among them are processed so that the glyph that is different from the glyphs of the characters arranged in the printing direction is printed.
この装置により、文書作成時には字形を考慮する必要
なく一方の字形で作成しておけば、印刷時に自動的な必
要な字形が選択される。With this device, if one character shape is created without considering the character shape when creating a document, the required character shape is automatically selected at the time of printing.
本発明は、日本語の文書処理装置等における、印刷字
形を選択するための、印刷処理装置に関する。The present invention relates to a print processing device for selecting a print character in a Japanese document processing device or the like.
日本語文書のかな文字における、長音記号、拗音、促
音を表す文字等は、公知のように横書きと縦書きで異な
る字形が使用されるので、その種の文字について少なく
とも印刷時には何れの字形を使うべきか決定される必要
がある。For kana characters in Japanese documents, glyphs, syllabic characters, consonants, and other characters that are used in different characters are used for horizontal writing and vertical writing, as is well known. It needs to be decided.
第2図は文書処理装置の一構成例を示すブロック図で
ある。FIG. 2 is a block diagram showing an example of the configuration of the document processing apparatus.
処理装置1は主記憶装置2にロードされているプログ
ラムを実行することにより、例えばキーボード/ディス
プレイ装置4から入力される指令、データ等によって文
書を作成し、作成した文書を指令に従って外部記憶装置
3に格納し、又格納した文書を外部記憶装置3から読み
出して、印刷装置5に出力する等の処理を行うことがで
きる。The processing device 1 executes a program loaded in the main storage device 2 to create a document by, for example, a command, data, etc. input from the keyboard / display device 4, and the external storage device 3 according to the created document according to the command. The stored document can be read from the external storage device 3 and output to the printing device 5 or the like.
印刷装置5は例えば1行の印刷文字列、及び所定の制
御情報を1文字づつ処理装置1から受け取って、セット
されている用紙に順次印刷する。The printing device 5 receives, for example, a print character string of one line and predetermined control information from the processing device 1 character by character, and sequentially prints on the set paper.
文書処理装置における文書の基本形は、通常は第3図
(a)のような横書き文書であり、作成/更新等のため
にキーボード/ディスプレイ装置4に表示される文書も
すべて横書きである。The basic form of a document in the document processing apparatus is normally a horizontal writing document as shown in FIG. 3A, and all documents displayed on the keyboard / display device 4 for creating / updating are also horizontal writing.
しかし、事務用の文書等においては、縦書きが必要な
場合もあり、印刷時の指定により、各文字を90゜倒した
形で、第3図(b)のように印字することにより、縦書
き文書を得ることはよく知られている。However, it may be necessary to write vertically in documents for office work, etc. By printing at the time of printing, each character is tilted 90 degrees and printed vertically as shown in Fig. 3 (b). Obtaining written documents is well known.
但し、文字の中に横書きと縦書きで字形の異なるもの
があり、それらの文字については、単に文字パターンを
90゜回転するのでなく、横書きと縦書きにそれぞれ対応
して準備してある文字パターンを選択する必要がある。However, some characters have different glyphs for horizontal writing and vertical writing.For those characters, simply write the character pattern.
Instead of rotating 90 °, it is necessary to select the prepared character patterns for horizontal writing and vertical writing.
そのように横書きと縦書きの2種の字形を必要とする
文字の例は、第4図に示す長音記号及び促音を表す
「っ」、及びその他がある。Examples of characters that require two types of horizontal writing and vertical writing in this way are the long syllabary and consonant “tsu” shown in FIG. 4, and others.
このような2種の字形の使い分けは、印刷時に文書全
体について指定され、あるいは文書中の一部に所定の制
御記号等で指定される横書き/縦書きの指定に従って、
文書全体又は指定の部分を第3図の(a)又は(b)の
ような形式で印刷する際に、何れかの字形を自動的に選
択する制御が行われている。The use of these two types of glyphs is specified for the entire document at the time of printing, or according to the horizontal writing / vertical writing specified in a part of the document by a predetermined control symbol or the like.
When printing the entire document or a designated portion in a format as shown in FIG. 3 (a) or (b), control for automatically selecting one of the character shapes is performed.
前記のような自動的な選択制御の方式では、例えば第
5図のように、全体として横書き形式の文書の中に、図
中の「Aグループ」のように、縦に並ぶ文字列が配置さ
れる場合には、文書作成者の意図する字形を指定するこ
とができない。In the automatic selection control method as described above, for example, as shown in FIG. 5, a vertically aligned character string such as “A group” in the figure is arranged in a horizontal document as a whole. In this case, the glyph intended by the document creator cannot be specified.
この場合には、例えば「Aグループ」中の長音記号と
して、文書中で陽に縦書き字形の を指定しておくことにより、縦書き文字列を作ることは
できるが、一般にこのような指定方法をとると、作成さ
れる文書の横書き/縦書き印刷の互換性が失われてしま
うという問題が生じるので、文書中では、すべての文字
を例えば横書き字形で表しておくことが望ましい。In this case, for example, as the long-sound symbol in the "A group", a vertical writing style is used in the document. Although it is possible to create a vertical writing character string by specifying, in general, when such a specifying method is adopted, the compatibility of horizontal writing / vertical writing of the created document is lost. As such, it is desirable to represent all characters in the document, for example, in horizontal writing mode.
第1図は、本発明の構成を示す処理の流れ図である。 FIG. 1 is a flow chart of processing showing the configuration of the present invention.
図は、1行の印刷処理の流れを示し、10は文字列並び
に判定部、11は字形選択部、12は印刷制御部である。The figure shows the flow of the printing process for one line, where 10 is a character string and determination unit, 11 is a character shape selection unit, and 12 is a print control unit.
文書の各行の印刷において、文字列並び判定部10は各
文字が横書き/縦書き用の2種の字形を持つ文字の場合
に、その文字が印刷方向と直角な方向の文字列中の文字
かを、例えばその文字の前後が罫線等の所定の記号文字
であること等によって判定する。When printing each line of a document, the character string arrangement determination unit 10 determines whether the character is a character in the character string in the direction perpendicular to the printing direction when each character has two types of characters for horizontal writing / vertical writing. Is determined by, for example, that the front and back of the character are predetermined symbol characters such as ruled lines.
その判定結果により、字形選択部11は直角方向の文字
列の場合には、印刷方向に並ぶ文字列の字形と異なる方
の字形を選択し、そうでない場合には同じ字形を選択し
て印刷制御部12に渡す。According to the determination result, the glyph selecting unit 11 selects a glyph that is different from the glyphs of the character strings arranged in the printing direction in the case of the character string in the right-angled direction, and selects the same glyph in other cases, and performs print control. Deliver to Part 12.
この方式により、文書全体の文字列の並び方向に直角
な方向に並ぶ文字列の、字形の選択が自動的に行われ
る。According to this method, the character shapes of the character strings arranged in the direction perpendicular to the character string arrangement direction of the entire document are automatically selected.
処理装置1は通常の文書印刷処理の過程で、文書の各
行について第1図の処理を実行する。The processor 1 executes the process of FIG. 1 for each line of the document in the course of the normal document printing process.
文書の各行の印刷処理を開始すると、処理ステップ20
で行内の1文字を取り出し、文字列並び判定部10に渡
す。When the printing process of each line of the document is started, processing step 20
Takes out one character in the line and passes it to the character string arrangement determination unit 10.
文字列並び判定部10では、処理ステップ21においてそ
の文字が横書き/縦書き用の2種の字形を持つ文字か識
別し、横書き/縦書きで同一字形の一般の文字の場合に
は、直ちに印刷制御部12に該文字を渡す。In processing step 21, the character string arrangement determination unit 10 identifies whether the character has two types of characters for horizontal writing / vertical writing, and if the characters are horizontal writing / vertical writing and has the same character shape, prints immediately. The character is passed to the control unit 12.
その文字が横書き/縦書き用の2種の字形を持つ文字
の場合には処理ステップ22に進み、その文字の前後に隣
接する文字を、所定の文字と比較して結果を保持する。When the character is a character having two types of horizontal writing / vertical writing, the process proceeds to processing step 22, and the characters adjacent before and after the character are compared with a predetermined character and the result is held.
この比較対象の所定文字としては、例えば、 (直前の文字と比較する文字) (直後の文字と比較する文字) とし、但し判定する文字が行端にあって、直前または直
後の文字が無い場合には、比較で一致したとみなすもの
とする。As the predetermined character to be compared, for example, (a character to be compared with the immediately preceding character) (Character to compare with the next character) However, if the character to be judged is at the end of the line and there is no character immediately before or immediately after it, it is considered that they match in comparison.
文字列並び判定部10は比較結果を字形選択部11に渡
す。The character string arrangement determination unit 10 passes the comparison result to the character shape selection unit 11.
字形選択部11は処理ステップ23で、前記の比較結果に
より、前後ともに一致した場合とそれ以外の場合により
分岐し、前後とも一致した場合には、印刷方向に直角な
文字列と判定して、処理ステップ24により、印刷方向に
並ぶ文字列の字形と異なる方の字形を選択する。即ち、
例えば全体が横書き印刷をしている場合には、縦書き用
の字形を選択する。In the processing step 23, the character shape selecting unit 11 branches depending on whether the front and rear sides match or not, depending on the comparison result, and when the front and rear sides match, it is determined that the character string is perpendicular to the printing direction. In process step 24, a glyph that is different from the glyphs of the character strings arranged in the printing direction is selected. That is,
For example, when the whole is printed horizontally, the character shape for vertical writing is selected.
比較結果が前後とも一致の場合の他は、処理ステップ
25により、印刷方向に並ぶ文字列の字形と同じ字形を選
択する。Except when the comparison result is the same before and after, the processing step
With 25, the same glyph as the glyph of the character string arranged in the printing direction is selected.
字形選択部11は、選択した字形を印刷制御部12に渡
す。印刷制御部12は、通常のように印刷装置5に指定の
文字を印刷させるための制御を実行する。その後処理ス
テップ26で1行の処理が終わったか判定して、未処理で
あれば処理ステップ20に戻る。The character shape selection unit 11 passes the selected character shape to the print control unit 12. The print control unit 12 executes control for causing the printing device 5 to print a specified character as usual. Thereafter, in processing step 26, it is determined whether or not the processing for one line is completed, and if not processed, the processing returns to processing step 20.
以上に説明した処理は、第5図の例のような全体が横
書きの文書の場合でも、例えば第3図(b)のような形
式で、全体を縦書き印刷する文書に、印刷方向と直角に
並ぶ横書き文字列がある場合にも、同様に適用すること
は明らかである。Even if the whole document is horizontally written as in the example of FIG. 5, the process described above is performed in a format as shown in FIG. It is obvious that the same applies to the case where there is a horizontal character string lined up in.
以上の説明から明らかなように、本発明によれば、文
書処理装置における文書印刷において、文書全体の文字
列の並び方向に直角な方向に並ぶ文字列の、字形の選択
が自動的に行われるので、文書作成の容易な文書処理装
置が構成されるという著しい工業的効果がある。As is apparent from the above description, according to the present invention, in document printing in a document processing apparatus, glyphs of character strings arranged in a direction perpendicular to the arrangement direction of character strings of the entire document are automatically selected. Therefore, there is a remarkable industrial effect that a document processing device that is easy to create a document is configured.
第1図は本発明の構成を示す処理の流れ図、 第2図は文書処理装置の一構成例ブロック図、 第3図は横書き/縦書き印刷の説明図、 第4図は字形例の説明図、 第5図は文書の一例の説明図 である。 図において、 1は処理装置、2は主記憶装置、 3は外部記憶装置、 4はキーボード/ディスプレイ装置、 5は印刷装置、10は文字列並び判定部、 11は字形選択部、12は印刷制御部、 20〜26は処理ステップ を示す。 FIG. 1 is a flow chart of processing showing the configuration of the present invention, FIG. 2 is a block diagram of a configuration example of a document processing apparatus, FIG. 3 is an explanatory diagram of horizontal writing / vertical writing printing, and FIG. , FIG. 5 is an explanatory diagram of an example of a document. In the figure, 1 is a processing device, 2 is a main storage device, 3 is an external storage device, 4 is a keyboard / display device, 5 is a printing device, 10 is a character string arrangement determination unit, 11 is a character shape selection unit, and 12 is print control. Parts 20 to 26 indicate processing steps.
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/04 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04N 1/04
Claims (2)
形を有する文字を含む文書を、縦書き又は横書きの何れ
か一方の文書とするように所定の印刷方向によって印刷
する印刷処理装置であって、 印刷する文字から該2種の字形を有する文字を検出する
手段(10)と、 該検出した文字が属する文字列の並ぶ方向を検出する方
向検出手段(11)と、 該文字列が該印刷方向に対して直角の方向に並ぶことを
検出した場合に、該印刷方向と直角の方向の印刷に対応
する字形を該2種の字形から選択して当該検出した文字
を印刷する手段(11、12)を有することを特徴とする印
刷処理装置。1. A print processing apparatus for printing a document including characters having two different glyphs according to vertical writing and horizontal writing in a predetermined printing direction so as to be either vertical writing or horizontal writing. A means (10) for detecting a character having the two types of glyphs from a character to be printed, a direction detecting means (11) for detecting a line direction of a character string to which the detected character belongs, and the character string Means for printing the detected characters by selecting a glyph corresponding to printing in a direction perpendicular to the printing direction from the two types of glyphs when it is detected that the characters are aligned in a direction perpendicular to the printing direction. A print processing apparatus having (11, 12).
前後に隣接して所定の記号文字が配列されていることに
より、印刷方向に対して直角の方向に並ぶ文字列中にあ
ると判定する特許請求の範囲第1項記載の印刷処理装
置。2. The direction detecting means determines that the characters are arranged in a character string arranged in a direction perpendicular to the printing direction by arranging predetermined symbol characters adjacent to the front and rear of the detected character. The print processing apparatus according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61193423A JPH082666B2 (en) | 1986-08-19 | 1986-08-19 | Print processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61193423A JPH082666B2 (en) | 1986-08-19 | 1986-08-19 | Print processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6349438A JPS6349438A (en) | 1988-03-02 |
| JPH082666B2 true JPH082666B2 (en) | 1996-01-17 |
Family
ID=16307722
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61193423A Expired - Fee Related JPH082666B2 (en) | 1986-08-19 | 1986-08-19 | Print processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH082666B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55124856A (en) * | 1979-03-19 | 1980-09-26 | Toshiba Corp | Special character pattern conversion system |
-
1986
- 1986-08-19 JP JP61193423A patent/JPH082666B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6349438A (en) | 1988-03-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR860001071B1 (en) | How to edit document | |
| JP2002215612A5 (en) | ||
| US6668355B1 (en) | Text editing system | |
| JPH082666B2 (en) | Print processing device | |
| JPH0361596B2 (en) | ||
| JP2644778B2 (en) | Character generator | |
| JPH0778800B2 (en) | Document processor | |
| JP2672548B2 (en) | Document creation device | |
| JPH06320801A (en) | Printer | |
| JPH0877168A (en) | Typeface information setting device | |
| JPH07325798A (en) | Document creation device | |
| JP2000222496A (en) | Table editing apparatus, method and storage medium | |
| JPH08153092A (en) | Document processing device | |
| JPH0561856A (en) | Document creation device | |
| JPH0520300A (en) | Document processor | |
| JPH10124032A (en) | Character processing device, character processing method, and storage medium | |
| JPH07168836A (en) | Text output device | |
| JPH08106454A (en) | Document information editing device | |
| JPH08202716A (en) | Document processing device | |
| JPH01103467A (en) | Document output method | |
| JPH0830597A (en) | Character string layout method and character string layout device | |
| JPH06274150A (en) | Document display method | |
| JPH04313144A (en) | Word processor | |
| JPH09114442A (en) | Character modifying method of document preparation device, storage medium where computer program for the same method is recorded, and document preparation device used for its execution | |
| JPH05324637A (en) | Document preparing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |