JPS6189059A - Printer - Google Patents
PrinterInfo
- Publication number
- JPS6189059A JPS6189059A JP59211054A JP21105484A JPS6189059A JP S6189059 A JPS6189059 A JP S6189059A JP 59211054 A JP59211054 A JP 59211054A JP 21105484 A JP21105484 A JP 21105484A JP S6189059 A JPS6189059 A JP S6189059A
- Authority
- JP
- Japan
- Prior art keywords
- information
- font
- printed
- image
- characters
- 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.)
- Granted
Links
- 238000010586 diagram Methods 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
- Document Processing Apparatus (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、日本語処理装置などに用いるプリンタ装置に
関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device used in a Japanese language processing device or the like.
従来、日本語や英語の文章をキーボード等から入力して
プリンタによって印刷する処理装置があるが、この装置
においては、印刷文字の書体を表わす第1の情報、印刷
文字が縦書きか横書きかを表わす第2の情報および印刷
文字を表わす第3の情報をプリンタ装置に出力し、プリ
ンタ装置側でこれら第1ないし第3の情報に対応した画
像情報を発生し、さらに前記第2および第3の情報に基
づき印刷文字画像の原点に対する左端(または右端)の
画像までの位置関係を表わす第1の位置情報および次の
印刷文字画像の原点との位置関係を表わす第2の位置情
報を発生し、前記画像情報を第1および第2の位置情報
で指定された位置に印字するように構成している。Conventionally, there is a processing device that inputs Japanese or English text from a keyboard or the like and prints it out using a printer, but in this device, the first information representing the font of the printed characters, whether the printed characters are written vertically or horizontally, is used. The second information representing the printed characters and the third information representing the printed characters are output to the printer device, image information corresponding to the first to third information is generated on the printer device side, and image information corresponding to the second and third information is output to the printer device. Generating first position information representing the positional relationship to the leftmost (or rightmost) image with respect to the origin of the printed character image and second positional information representing the positional relationship with the origin of the next printed character image based on the information; The image information is configured to be printed at a position specified by first and second position information.
すなわち、例えば英語の「f」と「g」の文字を印刷す
る場合について説明すると、第3図に示すように「〆」
と「9」の画像士−に報を発生させると共に、印刷文字
の縦方向および横方向の基準線となるヘースラインAと
Bとの交点である原点Cに対する左下端の画像までのX
方向(横方向)の長さXo、同じく原点Cに対する左下
端の画像までのY方向(縦方向)の長さYo、現在の印
刷文字IVJの原点Cと次の印刷文字「t」の原点との
X方向およびY方向の長さXw、Ywの各位置情報を発
生させ、これらの各位置情報と印字文字の大きさを表わ
す情報Xs、Ysとにより各位置情報で指定された位置
に印刷文字を印刷するように構成されている。In other words, for example, when printing the English letters "f" and "g", as shown in Figure 3, "〆"
and "9", and generates information to the image technician of "9", as well as X to the lower left image with respect to the origin C, which is the intersection of the hair lines A and B, which are the reference lines in the vertical and horizontal directions of printed characters.
The length in the direction (horizontal direction) Xo, the length Yo in the Y direction (vertical direction) from the origin C to the lower left image, the origin C of the current printed character IVJ and the origin of the next printed character "t". Generates positional information of lengths Xw and Yw in the X direction and Y direction, and prints a printed character at the position specified by each positional information using these positional information and information Xs and Ys representing the size of the printed character. is configured to print.
ところが、従来においては日本文を印刷する場合でも、
また英文を印刷する場合でも原点Cに対する左下端の画
像までのY方向の長さYoの情報は同じ値に設定されて
いた。このため、日本文の場合は、第4図(a)に示す
ように印刷文字の下端が揃って印刷されるが、英文の場
合も第4図(b)に示すように印刷文字の下端が揃って
印刷され、旧来の英文タイプライタで得られるような美
しいレイアウトの英文を印刷できないという問題点があ
った。However, in the past, even when printing Japanese text,
Furthermore, even when printing English text, information about the length Yo in the Y direction from the origin C to the lower left end of the image is set to the same value. For this reason, in the case of Japanese text, the bottom edges of the printed characters are printed aligned, as shown in Figure 4(a), but in the case of English text, the bottom edges of the printed characters are also printed, as shown in Figure 4(b). There was a problem in that it was impossible to print English text in the beautiful layout that could be obtained with a conventional English typewriter.
〔問題点を解決するための手段、作用〕本発明は、印刷
文字の言語(日本語、英語など)に応じて印刷文字の原
点に対する上下方向(縦方向)の位置情報を変更する手
段を設け、印刷文字のレイアウトを決定するように構成
したものである。[Means and effects for solving the problem] The present invention provides means for changing the position information in the vertical direction (vertical direction) with respect to the origin of the printed characters according to the language of the printed characters (Japanese, English, etc.). , which is configured to determine the layout of printed characters.
第1図は本発明の一実施例を示すブロック図であり、イ
ンクフェイス1には印刷文字の書体(ゴシック、大文字
、小文字の区別など)を表わすフォント名情報(第1の
情報)、印刷文字が縦書きか横書きかを表わすフォント
方向情報(第2の情報)、印刷文字を表わす文字コード
情報(第3の情報)、言語の種類を表わす言語情報(第
4の情報)が入力される。これら各情報は、例えば日本
語処理装置の本体部から与えられる。FIG. 1 is a block diagram showing an embodiment of the present invention, and an ink face 1 includes font name information (first information) representing the typeface of printed characters (Gothic, upper case, lower case sensitivity, etc.), printed characters Font direction information (second information) representing whether the text is written vertically or horizontally, character code information (third information) representing printed characters, and language information (fourth information) representing the type of language are input. Each of these pieces of information is given, for example, from the main body of the Japanese language processing device.
これら各情報のうち、フォント名情報およびフォント方
向情報はフォント切り替え回路2に入力される。フォン
ト切り替え回路2は、縦書きと横書きの区別を含め、印
刷可能な複数の書体のそれぞれに対応して第2図(a)
に示すようなアドレス情報を記憶しており、例えば書体
■〜書体■のうち書体Iを指定するフォント名情報およ
びフォント方向情報を受けた場合、アドレス情報Blを
出力する。このアドレス情報Blは、フォント画像情報
メモリ3に入力される。Among these pieces of information, font name information and font direction information are input to the font switching circuit 2. The font switching circuit 2 corresponds to each of a plurality of printable fonts, including the distinction between vertical writing and horizontal writing, as shown in FIG. 2(a).
For example, when receiving font name information and font direction information specifying font I among fonts ■ to font ■, address information B1 is output. This address information Bl is input to the font image information memory 3.
フォント画像情報メモリ3は、第2図(b)に示すよう
に印刷可能な書体1〜■に対応して4つのメモリブロッ
クMB(1)〜MBQV)を備えており、各メモリブロ
ックには英語の大文字および小文字、日本語の縦書き文
字、横書き文字の画像情報を記憶している。従って、フ
ォント切り替え回路2から例えば書体■に対応するアド
レス情報Blが入力されると、4つのメモリブロックM
B(1)〜MBQV)のうちMB(11が選択される。As shown in FIG. 2(b), the font image information memory 3 includes four memory blocks MB(1) to MBQV) corresponding to printable fonts 1 to It stores image information for uppercase and lowercase letters, Japanese vertically written characters, and horizontally written characters. Therefore, when the address information Bl corresponding to, for example, the font ■ is input from the font switching circuit 2, the four memory blocks M
MB(11) is selected from B(1) to MBQV).
そして、文字コード情報が下位アドレス情報として与え
られることにより、メモリブロックMB(1)に記憶さ
れた英語の大文字の画像情報のうち、文字コード情報に
対応した文字の画像情報が読出される。この画像情報は
mxn(m、n≧2の整数)個の画素で構成され、頁イ
メージ作成回路4に供給される。Then, by giving the character code information as the lower address information, the image information of the character corresponding to the character code information is read out of the image information of the English capital letters stored in the memory block MB(1). This image information is composed of m×n (m, an integer of n≧2) pixels, and is supplied to the page image creation circuit 4.
一方、インタフェイス1から入力されたフォント方向情
報および言語情報は、フォント位置情報切り替え回路5
に供給される。On the other hand, the font direction information and language information input from the interface 1 are transferred to the font position information switching circuit 5.
supplied to
フォント位置情報切り替え回路5は、第2図(C)に示
すように日本語と英語の区別に対応した2つのメモリブ
ロックを有し、日本語に対応したメモリブロックには縦
書きと横書きに対応して印刷文字の原点に対する左下端
の画像の上下方向の位置情報Yo(第3図参照)を切替
えるためのアドレス情報Y、、Y、が記憶され、同様に
英語に対応したメモリブロックにも印刷文字の原点に対
する左下端の画像の上下方向の位置情報Yoを切替える
ためのアドレス情報Y、が記憶されている。従って、縦
ギtきて日本語を指定するフォント方向情報および言語
情報が入力された場合、アドレス情報Ylが出力される
。また、英語を指定する言語情報が入力された場合、ア
ドレス情報Y、が出力される。このアドレス情報Y、−
Y、はフォント切り片え回路2から出力されるアドレス
情報B■〜BIVと共にフォント位置情報メモリ6に供
給される。The font position information switching circuit 5 has two memory blocks corresponding to the distinction between Japanese and English, as shown in FIG. 2(C), and the memory block corresponding to Japanese corresponds to vertical writing and horizontal writing. Address information Y,,Y, for switching the vertical position information Yo (see Figure 3) of the image at the lower left end with respect to the origin of the printed character is stored, and is also printed in the memory block corresponding to English. Address information Y for switching the vertical position information Yo of the image at the lower left end with respect to the origin of the character is stored. Therefore, when the font direction information and language information specifying Japanese are inputted vertically, address information Yl is output. Further, when language information specifying English is input, address information Y is output. This address information Y, -
Y, is supplied to the font position information memory 6 together with the address information B-BIV outputted from the font cutting circuit 2.
フォント位置情報メモリ6は、第2図(d)に示すよう
に、回路5から出力されるアドレス情報Y。The font position information memory 6 stores the address information Y output from the circuit 5, as shown in FIG. 2(d).
〜Y、にそれぞれ対応したメモリブロックMB(Yυ〜
MB(Y3)を有し、さらに各メモリブロックには回路
2から出力されるアドレス情報B)−B■に対応したサ
ブメモリブロックSMB(1)〜SMBffV)を有し
、各サブメモリブロックには文字コード情報料に印刷文
字の位置を規定する情報Xo、Yo。Memory block MB (Yυ~
MB(Y3), and each memory block has submemory blocks SMB(1) to SMBffV) corresponding to address information B)-B■ output from circuit 2, and each submemory block has Information Xo, Yo that defines the position of printed characters in the character code information fee.
Xw、Ywおよび文字の大きさの情報Xs、Ysを記憶
している。この場合、上下方向の位置を規定する情報Y
oは、各メモリブロック別に異なる値に設定され、英語
の小文字f、♂、!、y=、y。It stores Xw, Yw and character size information Xs, Ys. In this case, information Y that defines the vertical position
o is set to a different value for each memory block, and is the English lowercase letter f, ♂, ! ,y=,y.
夛については他の小文字a、b、c・・・よりその上下
方向の位置が下った位置に印刷されるように情報Yoが
設定されている。The information Yo is set for 夛 so that it is printed at a position lower in the vertical direction than other lowercase letters a, b, c, . . . .
従って、フォント位置情報メモリ6に書体に応じたアド
レス情報J−B■と言語に応じたアドレス情報Y、−Y
、が入力されると、これらの書体および言語に応じて印
刷文字の位置関係を規定する位置情報Xo、Yo、XW
、Ywおよび大きさの情報Xs、Ysが文字コード別に
出力される。Therefore, address information J-B■ corresponding to the font and address information Y, -Y corresponding to the language are stored in the font position information memory 6.
, is input, positional information Xo, Yo, XW that defines the positional relationship of printed characters according to these fonts and languages is input.
, Yw and size information Xs, Ys are output for each character code.
これらの情報Xo−Yw、Xs、Ysは位置付き文字情
報合成回路7に入力され、ここにおいて文字コード情報
と合成され、位置情報を持った文字情報として出力され
る。この位置情報を持った文字情報は、頁イメージ作成
回路4に入力され、フォント画像情報メモリ3から出力
される画像情報と照合され、1行分の画像情報に編集さ
れる。そして、編集された1行分の画像情報はプリンタ
インタフェイス8を介して印刷機構9に一走査ライン毎
に出力される。すなわち、印刷機構9は1文字がmxn
画素から成る画像を水平方向の第1走査ラインの画素か
ら第n走査ラインの画素に到るまで順次走査して印刷す
るラスクスキャン型の印刷機構で構成されている。この
ため、頁イメージ作成回路4で編集された1行分の画像
情報は水平方向の走査ライン毎にプリンタインタフェイ
ス8を介して印刷機構9に出力される。これにより、1
行分の文字が印刷される。These pieces of information Xo-Yw, Xs, Ys are input to a positional character information synthesis circuit 7, where they are combined with character code information and output as character information having positional information. This character information having position information is input to the page image creation circuit 4, collated with the image information output from the font image information memory 3, and edited into image information for one line. Then, the edited image information for one line is output to the printing mechanism 9 via the printer interface 8 for each scanning line. That is, the printing mechanism 9 has one character mxn.
It is constructed of a rask scan type printing mechanism that sequentially scans and prints an image consisting of pixels from the pixels of the first scanning line in the horizontal direction to the pixels of the nth scanning line. Therefore, one line of image information edited by the page image creation circuit 4 is output to the printing mechanism 9 via the printer interface 8 for each horizontal scan line. This results in 1
A line of characters is printed.
このように、本実施例においては、言語別に印刷文字の
上下方向の位置を規定する情報Yoが切替えられる。こ
のため、英文の場合では、f、?。In this manner, in this embodiment, the information Yo that defines the vertical position of printed characters is switched for each language. Therefore, in the case of English sentences, f, ? .
i、g−、y、、>の文字は他の文字より上下方向の位
置が下がった位置に印刷され、旧来の英文タイプライタ
と同様に美しいレイアウトの英文を印刷することができ
る。The characters i, g-, y, and > are printed at positions lower in the vertical direction than other characters, and it is possible to print English text with a beautiful layout similar to a conventional English typewriter.
なお、実施例では、日本語と英語の場合を例に掲げて説
明したが、上下方向の印刷位置を異ならせる必要のある
他の言語の場合でも同様に適用できる。また、印刷機構
はラスクスキャン型としているが、1文字単位で印字す
る印刷機構であってもよい。Note that although the embodiments have been described using Japanese and English as examples, the present invention can be similarly applied to other languages that require different printing positions in the vertical direction. Further, although the printing mechanism is of a rask scan type, it may be a printing mechanism that prints characters in units of characters.
以上の説明から明らかなように本発明によれば、印刷文
字の上下方向の位置情報を言語別に切り替えるようにし
たため、日本語を含む多国語の文章を美しいレイアウト
で印刷することができる。As is clear from the above description, according to the present invention, since the vertical position information of printed characters is switched for each language, texts in multiple languages including Japanese can be printed in beautiful layouts.
第1図は本発明の一夷にへ例を示すブロック凹、第2図
は第1図における各回路の記憶内′年を示す図、第3図
は印刷文字の位置情報の定義を示す図、第4図は従来の
印刷文字の一利を示す図である。
2・・・フォント切り替え回路、3・・・フォント画像
情報メモリ、4・・・頁イメージ作成回路、5・・・フ
ォント位置情報切り替え回路、6・・・フォント位置情
報メモリ、7・・・位置付き文字(1’i’i4合成回
路、9・・・印刷機構。Fig. 1 is a block diagram showing an example of the present invention, Fig. 2 is a diagram showing the years in memory of each circuit in Fig. 1, and Fig. 3 is a diagram showing the definition of position information of printed characters. , FIG. 4 is a diagram showing the advantages of conventional printed characters. 2... Font switching circuit, 3... Font image information memory, 4... Page image creation circuit, 5... Font position information switching circuit, 6... Font position information memory, 7... Position Appended characters (1'i'i4 synthesis circuit, 9...printing mechanism.
Claims (1)
か横書きかを表わす第2の情報および印刷文字を表わす
第3の情報を受け、これら第1、第2、第3の情報に対
応した画像情報を発生する手段と、前記第2および第3
の情報を受け、印刷文字画像の原点に対する左端または
右端の画像までの位置関係を表わす第1の位置情報およ
び次の印刷文字画像の原点との位置関係を表わす第2の
位置情報を発生する手段とを有し、前記画像情報に対応
した文字を前記第1および第2の位置情報で指定された
印字位置に印刷するプリンタ装置において、 印刷文字の言語を表わす第4の情報を受け、前記第1の
位置情報の印刷文字画像の原点に対する上下方向の情報
を第4の情報によって変更する手段を設けたことを特徴
とするプリンタ装置。[Scope of Claims] Receiving first information representing the font of printed characters, second information representing whether the printed characters are written vertically or horizontally, and third information representing the printed characters, means for generating image information corresponding to third information; and means for generating image information corresponding to third information;
means for receiving the information and generating first position information representing the positional relationship between the origin of the printed character image and the leftmost or rightmost image, and second positional information representing the positional relationship with the origin of the next printed character image. and which prints characters corresponding to the image information at print positions specified by the first and second position information, receiving fourth information representing the language of the printed characters, 1. A printer device comprising means for changing information in a vertical direction with respect to an origin of a printed character image of first position information using fourth information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59211054A JPS6189059A (en) | 1984-10-08 | 1984-10-08 | Printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59211054A JPS6189059A (en) | 1984-10-08 | 1984-10-08 | Printer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6189059A true JPS6189059A (en) | 1986-05-07 |
| JPH0583381B2 JPH0583381B2 (en) | 1993-11-25 |
Family
ID=16599622
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59211054A Granted JPS6189059A (en) | 1984-10-08 | 1984-10-08 | Printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6189059A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01159256A (en) * | 1987-12-16 | 1989-06-22 | Fujitsu Ltd | Printing control system of dot printer |
| JPH0976566A (en) * | 1995-09-13 | 1997-03-25 | Nec Niigata Ltd | Print controller for serial printer |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| ZA965340B (en) | 1995-06-30 | 1997-01-27 | Interdigital Tech Corp | Code division multiple access (cdma) communication system |
| US7123600B2 (en) | 1995-06-30 | 2006-10-17 | Interdigital Technology Corporation | Initial power control for spread-spectrum communications |
-
1984
- 1984-10-08 JP JP59211054A patent/JPS6189059A/en active Granted
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01159256A (en) * | 1987-12-16 | 1989-06-22 | Fujitsu Ltd | Printing control system of dot printer |
| JPH0976566A (en) * | 1995-09-13 | 1997-03-25 | Nec Niigata Ltd | Print controller for serial printer |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0583381B2 (en) | 1993-11-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6189059A (en) | Printer | |
| JPS6189061A (en) | Printer | |
| JPS6189060A (en) | Printer | |
| JPH03156668A (en) | Document preparing device | |
| Ilson | Recent research in text processing | |
| KR100711278B1 (en) | Method of generating computer fonts of Chinese character or non-spelling languages' character with hidden invisible tiny interpretation | |
| JPS6260657A (en) | character processing device | |
| JPH08227422A (en) | Character-graphic pattern conversion system and translation system | |
| Srinivasan | Unix document processing and typesetting | |
| JPH06301713A (en) | Translation display method, document display device, and digital copying device | |
| JPS61177068A (en) | Text processing device capable of reduced printing | |
| JPH03184182A (en) | Character output layout determination system | |
| JPS59231687A (en) | Document processor | |
| Millar et al. | Synthesis of the Devanagari orthography | |
| JPH02269389A (en) | Automatic face converting system | |
| KR890001157B1 (en) | Dot matrix printing device of Korean characters | |
| JPH01159256A (en) | Printing control system of dot printer | |
| JPS58211284A (en) | Printer connecting device having editing function | |
| JPS605469B2 (en) | galley printing system | |
| JPS60239862A (en) | Arabic word processor | |
| JPH04353478A (en) | Reduction print controller | |
| KR930007668A (en) | Vertical writing control device and control method of laser printer | |
| JPS61108562A (en) | Character pitch processing method | |
| JPH06149813A (en) | Thai character input and output device | |
| JPH10111678A (en) | Font files |