JPS629435B2 - - Google Patents
Info
- Publication number
- JPS629435B2 JPS629435B2 JP54087689A JP8768979A JPS629435B2 JP S629435 B2 JPS629435 B2 JP S629435B2 JP 54087689 A JP54087689 A JP 54087689A JP 8768979 A JP8768979 A JP 8768979A JP S629435 B2 JPS629435 B2 JP S629435B2
- Authority
- JP
- Japan
- Prior art keywords
- vertical
- writing
- character
- pattern
- vertical 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
Description
【発明の詳細な説明】
本発明は、漢字印刷装置の縦書き印刷方法に関
し、特に縦書き手順を簡略化し、かつすべての横
書き文字を縦書きに変換できる印刷方式に関する
ものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a vertical writing printing method for a kanji printing device, and particularly to a printing method that simplifies the vertical writing procedure and can convert all horizontal writing characters to vertical writing.
従来、漢字印刷装置は紙送り方向に対して直角
方向に、かつ横書きで文字を印刷するのが通常で
あるが、これを縦書き印刷する場合には、第1図
に示すように、漢字印刷装置内の横書き縦書き変
換部6により文字を90゜回転させ、印刷部4で紙
送り方向に対し直角方向に、かつ縦書きで印刷し
ている。すなわち、第1図においては、CPUあ
るいは磁気テープ装置等の印刷指示発行装置2よ
り文字コード8を漢字印刷装置1に入力すると、
漢字印刷装置1では文字コードを一旦バツフア・
メモリ(図示省略)に記憶した後、これを読出し
てこのコード8でパターン・エリア5をアクセス
し、文字パターンに変換する。 Traditionally, kanji printing devices usually print characters horizontally at right angles to the paper feed direction, but when printing vertically, kanji printing is performed as shown in Figure 1. The characters are rotated by 90 degrees by a horizontal writing/vertical writing converter 6 in the device, and printed vertically in a direction perpendicular to the paper feed direction by a printing section 4. That is, in FIG. 1, when character code 8 is input to the kanji printing device 1 from the print instruction issuing device 2 such as a CPU or a magnetic tape device,
In the kanji printing device 1, the character code is once buffered.
After storing it in a memory (not shown), it is read out and the pattern area 5 is accessed using this code 8 to convert it into a character pattern.
横書きで印刷する場合には、変換された文字パ
ターンをそのまま編集用エリア(図示省略)にお
いて1ページ分格納した後、印刷部4に送出して
順次印刷する。 When printing in horizontal writing, the converted character pattern is stored as is for one page in an editing area (not shown), and then sent to the printing unit 4 and printed sequentially.
一方、印刷指示発行装置2から先ず縦書き状態
設定指示7を入力し、その直後に文字コード8を
入力すると、漢字印刷装置1では文字コード8で
メモリ3のパターン・エリア5をアクセスし、例
えば「山」の文字パターン9を読出して横書き縦
書き変換部6により左90゜回転処理を行い、縦書
き文字パターン10に変換した後、文字パター
ン・エリア5の同一場所に格納すると同時に、編
集用エリア(図示省略)で1ページ分編集して印
刷部4に出力する。 On the other hand, if the print instruction issuing device 2 first inputs the vertical writing state setting instruction 7 and then inputs the character code 8, the kanji printing device 1 accesses the pattern area 5 of the memory 3 with the character code 8, and for example, The character pattern 9 for "mountain" is read out, rotated by 90 degrees to the left by the horizontal/vertical writing converter 6, converted to the vertical character pattern 10, stored in the same location in the character pattern area 5, and at the same time used for editing. One page is edited in an area (not shown) and output to the printing unit 4.
このような方法により通常の文字は横書きから
縦書きに変換されるが、文字パターンの中には、
第2図に示すように、左90゜回転では縦書き文字
にならないものがある。すなわち、「読点」の横
書きを左90゜回転しても、第2図の縦書きの「読
点」にならず、左下に現われてしまう。また、
「括弧」も左90゜回転すると、第2図に示すよう
な縦書き括弧にならず、さらに小さい文字で示す
「拗音」も左90゜回転すると、第2図の位置にな
らず、中央下方に現われてしまう。 Normal characters are converted from horizontal writing to vertical writing using this method, but some character patterns
As shown in Figure 2, some characters cannot be written vertically when rotated 90 degrees to the left. In other words, even if you rotate the horizontal "comma" by 90 degrees to the left, it will not become the vertical "comma" in Figure 2, but will appear at the bottom left. Also,
If the ``brackets'' are also rotated 90 degrees to the left, they will not become vertical brackets as shown in Figure 2, and if the small character ``Zukuon'' is also rotated 90 degrees to the left, they will not be in the position shown in Figure 2, but will be placed in the lower center. It appears.
したがつて、従来、このような文字を印刷する
場合には、印刷指示発行装置2は縦書き状態設定
指示7の直後に、縦書きでそのまま使用できる文
字パターンを外字として漢字印刷装置1に入力
し、これを編集用エリアで他の文字パターンとと
もに編集して印刷部4に出力している。 Therefore, conventionally, when printing such characters, the print instruction issuing device 2 inputs a character pattern that can be used as is in vertical writing to the kanji printing device 1 as a custom character immediately after the vertical writing state setting instruction 7. This is then edited together with other character patterns in the editing area and output to the printing section 4.
しかし、縦書きのとき、左90゜回転するだけで
は縦書き文字にならないパターンを、外字パター
ンとして外部メモリに記憶しておき、印刷指示発
行装置2がこのパターンを外部メモリから読出し
て漢字印刷装置2に送出しなければならず、手続
きが複雑である。 However, when writing vertically, a pattern that cannot be turned into a vertically written character simply by rotating 90 degrees to the left is stored in an external memory as a custom character pattern, and the printing instruction issuing device 2 reads this pattern from the external memory and prints it on the kanji printing device. 2, and the procedure is complicated.
また、逆に、縦書き状態から横書きに戻すとき
にも、同じような手続きが必要である。 Conversely, a similar procedure is required when returning from vertical writing to horizontal writing.
さらに、縦書きのための特殊パターンを漢字印
刷装置内メモリ3の文字パターン・エリア5に書
込むときには、記憶容量が増大し、また横書き文
字とは異なる文字コードを割付けるか、あるいは
特殊な属性情報を与える必要があり、ソフトウエ
ア的にもハードウエア的にも複雑なシステムとな
る欠点がある。 Furthermore, when writing a special pattern for vertical writing into the character pattern area 5 of the memory 3 in the kanji printing device, the storage capacity increases, and a character code different from that for horizontal writing characters must be assigned or a special attribute must be added. It has the disadvantage of requiring information to be provided, resulting in a complex system in terms of both software and hardware.
本発明の目的は、このような欠点を解消するた
め、特殊な縦書き文字パターンを不要とし、ハー
ドウエア的にすべての横書き文字を縦書き文字に
変換して、縦書き印刷の手続きを簡略化した漢字
印刷装置の縦書き印刷方法を提供することにあ
る。 The purpose of the present invention is to solve these drawbacks by eliminating the need for special vertical character patterns, converting all horizontal characters to vertical characters using hardware, and simplifying the vertical printing procedure. An object of the present invention is to provide a vertical writing printing method for a kanji printing device.
本発明による漢字印刷装置の縦書き印刷方法
は、入力されたコマンドにより横書き文字を縦書
き文字に変換して印字する漢字印刷装置におい
て、漢字印刷装置に内蔵された文字パターン自体
に、縦書きのための文字パターン処理を識別する
情報を付加し、該識別情報により左90゜回転、横
軸を中心にした反転、あるいは何もしない等の処
理を行つて縦書き文字に変換することを特徴とし
ている。 The vertical writing printing method for a kanji printing device according to the present invention is a kanji printing device that converts horizontal writing characters into vertical writing characters according to an input command and prints them. It is characterized by adding information that identifies the character pattern processing for the text, and converting it into vertical characters by performing processing such as rotating it 90 degrees to the left, reversing it around the horizontal axis, or doing nothing according to the identification information. There is.
以下、本発明の実施例を、図面により説明す
る。 Embodiments of the present invention will be described below with reference to the drawings.
第3図は、本発明の縦書き印刷方法を示す動作
説明図である。 FIG. 3 is an operational explanatory diagram showing the vertical writing printing method of the present invention.
印刷指示発行装置2から縦書き状態設定、横書
き状態設定、文字コード等の印刷指示7が、漢字
印刷装置1に発行される。 Print instructions 7 such as vertical writing state setting, horizontal writing state setting, character code, etc. are issued from the printing instruction issuing device 2 to the kanji printing device 1.
漢字印刷装置1は、横書きパターンを縦書きパ
ターンに変換する横書き縦書き変換部6、横書き
パターンが記憶されている文字パターン・エリア
5、文字パターンの印刷を行う印字部4およびこ
れら各部相互間の制御を行う制御プログラム等を
具備している。 The kanji printing device 1 includes a horizontal/vertical writing converter 6 that converts horizontal writing patterns into vertical writing patterns, a character pattern area 5 in which horizontal writing patterns are stored, a printing unit 4 that prints character patterns, and communication between these parts. It is equipped with a control program, etc. that performs control.
第3図において、印刷指示発行装置2から漢字
印刷装置1に対して縦書き状態設定指示7とそれ
に続く文字コードが送られると、漢字印刷装置1
はその文字コードでメモリ3のパターン・エリア
5をアクセスし、該当する文字パターン9を読出
して、横書き縦書き変換部6で縦書き文字に変換
する。その場合、変換部6は読出した文字パター
ン9中の特定部分を識別し、その情報にしたがつ
て変換処理を行い、編集用エリア(図示省略)で
1ページ分編集を行つた後、印刷部4で印字す
る。また、変換した縦書き文字10を文字パター
ン・エリア5の同一場所に格納しておけば、再度
同一文字の印字コマンドが入力したときに変換処
理を省略してそのまま読出した文字を印刷でき
る。 In FIG. 3, when the printing instruction issuing device 2 sends the vertical writing state setting instruction 7 and the following character code to the kanji printing device 1, the kanji printing device 1
accesses the pattern area 5 of the memory 3 with the character code, reads out the corresponding character pattern 9, and converts it into a vertical character in the horizontal/vertical writing converter 6. In that case, the conversion unit 6 identifies a specific part in the read character pattern 9, performs conversion processing according to that information, edits one page in an editing area (not shown), and then 4 to print. Furthermore, if the converted vertically written characters 10 are stored in the same location in the character pattern area 5, when a print command for the same character is input again, the conversion process can be omitted and the read characters can be printed as they are.
第4図および第5図は、本発明により縦書き識
別情報を付加した文字パターンの説明図である。 4 and 5 are explanatory diagrams of character patterns to which vertical writing identification information is added according to the present invention.
第4図a,bは、文字「山」の横書きパターン
と、縦書きパターンを示すもので、漢字印刷装置
1に内蔵されているときには第4図aに示すパタ
ーンであり、第1ラスタ部分に縦書き識別情報1
2が付加されている。漢字「山」は90゜回転する
ことにより第4図bに示すような縦書き文字に変
換されるので、縦書き識別情報12として90゜回
転処理を行うことを識別する符号が記載されてい
る。 FIGS. 4a and 4b show the horizontal writing pattern and vertical writing pattern of the character "yama". When built into the kanji printing device 1, the pattern shown in FIG. 4a is shown, and the first raster part is Vertical writing identification information 1
2 is added. Since the kanji character "yama" is rotated by 90 degrees, it is converted into a vertically written character as shown in Figure 4b, so a code identifying the 90 degrees rotation process is written as vertical writing identification information 12. .
第5図a,bは、「句読点」の横書きパターン
と、縦書きパターンを示すもので、漢字印刷装置
1に内蔵されているときには第5図aに示すパタ
ーンであり、第1ラスク部分の縦書き識別情報1
2として、横軸を中心に反転処理を行うことを識
別する符号が記載されている。横書き縦書き変換
部6は、読出した「句読点」の横書きパターンの
第1ラスタ部分を識別して中央横軸を中心にして
反転処理を行うことにより、第5図bに示すよう
な縦書き用の「句読点」に変換することができ
る。 Figures 5a and 5b show a horizontal writing pattern and a vertical writing pattern for "punctuation marks." When built in the kanji printing device 1, the pattern shown in Figure 5a is the vertical writing pattern of the first rask. Writing identification information 1
2, a code identifying that the reversal process is performed centering on the horizontal axis is written. The horizontal/vertical writing conversion unit 6 identifies the first raster part of the horizontal writing pattern of the read "punctuation mark" and performs inversion processing around the central horizontal axis, thereby converting it into vertical writing as shown in FIG. 5b. can be converted to "punctuation marks".
第4図、第5図から明らかなように、文字パタ
ーン自体に縦書きのための処理方法を識別する情
報が付加されるが、これによつて文字パターンの
性質は損われない。 As is clear from FIGS. 4 and 5, information identifying the processing method for vertical writing is added to the character pattern itself, but the properties of the character pattern are not impaired by this.
なお、通常の文字パターンは、左90゜回転する
ことにより縦書きパターンになるが、句読点、括
弧、促音、拗音等は左90゜回転では縦書きパター
ンとならないので、横軸を中心に反転するか(句
読点)、何もしないか(括弧)、枠内を移動してか
ら左90゜回転するか(拗音、促音)等により、縦
書きパターンを作る。そのために変換処理の種類
を示す識別符号(例えば、左90゜回転は100、
横軸反転は101、何もしないときは110、そ
の他は111)を文字パターン自体にあらかじめ
付加しておくのである。 Note that a normal character pattern becomes a vertical writing pattern by rotating it 90 degrees to the left, but punctuation marks, parentheses, consonants, consonants, etc. do not become vertical writing patterns if they are rotated 90 degrees to the left, so they are reversed around the horizontal axis. (punctuation), do nothing (brackets), or move within the frame and then rotate 90 degrees to the left (suji, consonant), etc. to create a vertical writing pattern. For this purpose, an identification code indicating the type of conversion process (for example, 100 for 90° left rotation,
101 for horizontal axis inversion, 110 for doing nothing, and 111 for others) is added to the character pattern itself in advance.
第6図は、本発明により横書きパターンを縦書
きパターンに変換する処理動作のフロー・チヤー
トである。 FIG. 6 is a flow chart of processing operations for converting a horizontal writing pattern into a vertical writing pattern according to the present invention.
第3図において、印刷指示発行装置2から漢字
印刷装置1に印刷データが送られてくると、それ
にしたがつて漢字印刷装置1は印字を行うが、こ
の印刷データによつて縦書き状態設定コマンドが
指示されたときには、漢字印刷装置1の制御プロ
グラムは第6図でサブルーチンに分岐して、ステ
ージ18で縦書き処理を開始し、ステージ19で
メモリ3の文字パターン・エリア5から横書きパ
ターンを読出し、ステージ20で文字パターンの
第1ラスタ部分の識別情報を検出してパターン処
理を振分ける。ステージ21では、横書き縦書き
変換部6により左90゜回転処理を行い、またステ
ージ22では変換部6により横軸を中心に反転処
理を行い、さらに経路23では何も処理を行うこ
となく、ステージ24で文字パターン・エリア5
の同一場所に格納する。 In FIG. 3, when print data is sent from the print instruction issuing device 2 to the kanji printing device 1, the kanji printing device 1 performs printing in accordance with the print data. When instructed, the control program of the kanji printing device 1 branches to a subroutine in FIG. 6, starts vertical writing processing at stage 18, and reads a horizontal writing pattern from character pattern area 5 of memory 3 at stage 19. , at stage 20, identification information of the first raster portion of the character pattern is detected and pattern processing is assigned. At the stage 21, the horizontal/vertical writing converter 6 performs a 90° counterclockwise rotation process, and at the stage 22, the converter 6 performs a reversal process around the horizontal axis, and in the path 23, no process is performed; 24 for character pattern area 5
stored in the same location.
以後、印刷指示発行装置2から印字データが入
力すると、すべて縦書き文字を印刷部4に出力す
る。なお、パターンの変換処理は、21,22,
23のステージ以外にも設定することができる。 Thereafter, when print data is input from the print instruction issuing device 2, all vertically written characters are output to the printing unit 4. Note that the pattern conversion process is 21, 22,
It is possible to set stages other than 23.
パターンの印字に際しては、縦書き識別情報1
2が付加されている第1ラスタ部分Rasterは、
空白として印刷される。また、印字された文字
が、オペレータあるいはOCRによつて読取られ
るとき、第1ラスタが空白であつてもパターン全
体に及ぼす影響は無視できる。 When printing a pattern, vertical writing identification information 1
The first raster part Raster to which 2 is added is
Printed as blank. Furthermore, when printed characters are read by an operator or OCR, even if the first raster is blank, the effect on the entire pattern is negligible.
なお、縦書き状態から横書き状態に戻すとき
は、識別情報にもとづいて全く逆の処理を行うこ
とにより横書き文字を印字する。 Note that when returning from the vertical writing state to the horizontal writing state, horizontal writing characters are printed by performing completely reverse processing based on the identification information.
以上説明したように、本発明によれば、横書き
状態から縦書き状態にする場合、文字パターンに
付加された変換処理情報にもとづいてすべての文
字を縦書き文字パターンに変換できるので、特定
の文字パターンは不要となり、かつ縦書き状態設
定指示を入力するのみでよいため、縦書きを行う
手順が簡略化される。 As explained above, according to the present invention, when changing from a horizontal writing state to a vertical writing state, all characters can be converted to a vertical writing character pattern based on the conversion processing information added to the character pattern. Since a pattern is not required and only a vertical writing state setting instruction needs to be input, the procedure for vertical writing is simplified.
第1図は従来の漢字印刷装置の縦書き印刷方式
の動作説明図、第2図は左90゜回転で縦書きパタ
ーンが得られない文字例の説明図、第3図は本発
明の実施例を示す縦書き印刷方式の動作説明図、
第4図および第5図は本発明により縦書き識別情
報を付加した文字パターンの説明図、第6図は本
発明により横書きパターンから縦書きパターンに
変換する処理フロー・チヤートである。
1:漢字印刷装置、2:印刷指示発行装置、
3:メモリ、4:印刷部、5:文字パターン・エ
リア、6:横書き縦書き変換部、7:縦書き状態
設定指示、8:文字コード、9:読出し文字パタ
ーン、10:書込み文字パターン、11:1ペー
ジ分文字パターン出力、12:縦書き識別情報、
W:白ドツト、B:黒ドツト、F:文字枠、
Raster:ラスタ。
Fig. 1 is an explanatory diagram of the operation of the vertical writing printing method of a conventional kanji printing device, Fig. 2 is an explanatory diagram of an example of a character in which a vertical writing pattern cannot be obtained by rotating 90 degrees to the left, and Fig. 3 is an embodiment of the present invention. An explanatory diagram of the operation of the vertical printing method showing
4 and 5 are explanatory diagrams of character patterns to which vertical writing identification information is added according to the present invention, and FIG. 6 is a processing flow chart for converting a horizontal writing pattern to a vertical writing pattern according to the present invention. 1: Kanji printing device, 2: Printing instruction issuing device,
3: Memory, 4: Print section, 5: Character pattern area, 6: Horizontal/vertical writing conversion section, 7: Vertical writing status setting instruction, 8: Character code, 9: Read character pattern, 10: Write character pattern, 11 : 1 page character pattern output, 12: Vertical writing identification information,
W: white dot, B: black dot, F: character frame,
Raster: Raster.
Claims (1)
き文字に変換する縦書き印刷方法において、印刷
装置に内蔵された文字パターンの特定ラスタに、
縦書きのための変換処理を指定する変換コードを
付加して記憶しておき、上位装置からの縦書き印
刷コマンドにより読み出された文字パターンの変
換コードを識別して、左90゜回転、横軸を中心に
した反転、左90゜回転後の移動、あるいは何もし
ないの4種類の変換処理のうちの1つを行い、入
力された全ての横書き文字パターンを縦書き文字
パターンに変換することを特徴とする印刷装置の
縦書き印刷方法。1 In a vertical printing method that converts horizontal writing characters into vertical writing characters according to an input command, a specific raster of a character pattern built into the printing device is
A conversion code that specifies the conversion process for vertical writing is added and stored, and the conversion code of the character pattern read by the vertical printing command from the host device is identified and rotated 90 degrees to the left or horizontally. Convert all input horizontal character patterns to vertical character patterns by performing one of four conversion processes: flipping around the axis, moving after rotating 90 degrees to the left, or doing nothing. A vertical writing printing method for a printing device characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8768979A JPS5611264A (en) | 1979-07-11 | 1979-07-11 | Vertical printing system on chinese character printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8768979A JPS5611264A (en) | 1979-07-11 | 1979-07-11 | Vertical printing system on chinese character printer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5611264A JPS5611264A (en) | 1981-02-04 |
| JPS629435B2 true JPS629435B2 (en) | 1987-02-28 |
Family
ID=13921885
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8768979A Granted JPS5611264A (en) | 1979-07-11 | 1979-07-11 | Vertical printing system on chinese character printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5611264A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59135170A (en) * | 1983-01-24 | 1984-08-03 | Oki Electric Ind Co Ltd | Surface rotation printing system |
| US5079739A (en) * | 1988-09-23 | 1992-01-07 | Datacard Corporation | Apparatus and method for converting bit-mapped data from row orientation to column or orientation |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5222083B2 (en) * | 1973-05-08 | 1977-06-15 | ||
| JPS5910914B2 (en) * | 1976-07-28 | 1984-03-12 | シャープ株式会社 | dot printer |
| JPS594706B2 (en) * | 1977-02-16 | 1984-01-31 | 株式会社日立製作所 | Print pattern generator |
| JPS55124856A (en) * | 1979-03-19 | 1980-09-26 | Toshiba Corp | Special character pattern conversion system |
-
1979
- 1979-07-11 JP JP8768979A patent/JPS5611264A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5611264A (en) | 1981-02-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0378651B2 (en) | ||
| JPS629435B2 (en) | ||
| JPS61250722A (en) | Printer | |
| JPS6137671B2 (en) | ||
| JPH01290448A (en) | character generator | |
| JPS59214967A (en) | Editing device of picture information | |
| JPH049637Y2 (en) | ||
| JPS5937032A (en) | Data input apparatus for shaping game board | |
| JP2595399B2 (en) | Document processing method | |
| JPS6350705Y2 (en) | ||
| JPS63116192A (en) | Image data output device | |
| JPS61158384A (en) | character processing device | |
| JPS5965339A (en) | document editing device | |
| JPH049150B2 (en) | ||
| JPS6335349A (en) | Word processor | |
| JPS6334932Y2 (en) | ||
| JPS61156190A (en) | Character output method | |
| JPS61116559A (en) | Printing apparatus | |
| JPS63260462A (en) | Character generating method for printer | |
| JPS5924340A (en) | character processing device | |
| JPH0477277A (en) | Printing device | |
| JPH04216968A (en) | Printer | |
| JPH02214700A (en) | X-y plotter | |
| JPH01232059A (en) | Italic character printing system | |
| JPH0696065A (en) | Printer |