JPH04126266A - Terminal printer device - Google Patents
Terminal printer deviceInfo
- Publication number
- JPH04126266A JPH04126266A JP2248411A JP24841190A JPH04126266A JP H04126266 A JPH04126266 A JP H04126266A JP 2248411 A JP2248411 A JP 2248411A JP 24841190 A JP24841190 A JP 24841190A JP H04126266 A JPH04126266 A JP H04126266A
- Authority
- JP
- Japan
- Prior art keywords
- character
- generated
- dot pattern
- dot
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 abstract description 7
- 238000006243 chemical reaction Methods 0.000 abstract description 6
- 238000013500 data storage Methods 0.000 abstract description 2
- 238000010276 construction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 7
- 238000007796 conventional method Methods 0.000 description 2
- 230000004886 head movement Effects 0.000 description 2
- 230000004397 blinking Effects 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
[産業上の利用分野]
本発明は、ターミナルプリンタの、文字印字方法に関す
る。
[従来の技術l
ターミナルブリンクにおける、印字文字について1強調
などの装飾や、ai!小、拡大などがかかっていない文
字をノーマル文字とする。従来の、縮小文字の印字方法
は、ノーマル文字印字のヘッドの移動スピードをVとし
、印字タイミングの周期なTとすると、第3図に示すよ
うに、基本ピッチでノーマル文字に展開された物(a)
図をヘッドの移動スピードを半分のV/2に落とし、ノ
ーマル幅文字と同じ印字タイミングTで印字させ、(b
)図のように縮小文字を実現させていた。或は、第4図
に示すように、あらかじめ縮小文字としてデザインされ
たキャラクタ情報を持ち、そのデータを印字データとし
て、ノーマル幅文字と同じヘッドの移動スピードVと、
同じ印字タイミングTで印字することにより、縮小文字
を印字していた。[Industrial Application Field] The present invention relates to a character printing method for a terminal printer. [Prior art l Decoration such as highlighting one printed character in terminal blink, ai! Characters that are not small or enlarged are normal characters. In the conventional printing method for reduced characters, when the moving speed of the normal character printing head is V and the periodicity of the printing timing is T, as shown in Fig. a)
The head movement speed is reduced to half V/2, and the figure is printed at the same printing timing T as normal width characters, (b
) The reduced characters were realized as shown in the figure. Alternatively, as shown in FIG. 4, it is possible to have character information designed in advance as a reduced character, use that data as print data, and print at the same head movement speed V as for normal width characters.
By printing at the same printing timing T, reduced characters were printed.
しかし、前述の従来技術では、印字ヘッドの移動を行う
手段に、移動スピードを半速にする装置を持たなければ
ならない、又は、ノーマル文字の縮小文字としてデザイ
ンされたキャラクタ情報を内部のメモリに持たなければ
ならなく、その分のメモリ容量を保有しなければならな
いとう問題点を有する。
そこで、本発明は、このような問題点を解決するもので
、その目的とするところは、印字ヘッドの移動を行う手
段に、移動スピードを半速にする装置を有することなく
、ノーマル文字のキャラクタ情報をもとに、ノーマル文
字の縮小文字のキャラクタ情報を作り出すことにより、
ノーマル文字の縮小文字キャラクタ情報を内部メモリに
もつ必要がなく、ノーマル文字の縮小文字を印字可能に
する。However, in the above-mentioned conventional technology, the means for moving the print head must have a device that reduces the movement speed to half speed, or character information designed as reduced characters of normal characters must be stored in the internal memory. However, there is a problem in that a corresponding memory capacity must be provided. SUMMARY OF THE INVENTION The present invention has been made to solve these problems, and its purpose is to print characters of normal characters without having a means for moving the print head that reduces the movement speed to half speed. By creating character information for reduced normal characters based on the information,
To make it possible to print reduced normal characters without having to store character information of reduced normal characters in an internal memory.
本発明のプリンタ装置は、キャラクタの印字データを記
憶する手段、印字ヘッドの移動方向を横方向とした場合
、横方向にとなり合った二つのドツトパターンの論理和
を取り一つのドツトパターンに変換する手段、このドツ
トパターンの排他的論理和を取る手段(1)、手j(l
(1)により生成されたドツトパターンを反転させる手
段(2)。
新たに手段(1)により生成されたドツトパターンと手
段(2)により生成された二つのドツトパターンの論理
積を取り一つのドツトパターンに変換する手段(3)、
によりキャラクタの横方向の印字データ数を変え1文字
の印字をすることを特徴とする、プリンタ装置。The printer device of the present invention has means for storing character print data, and when the print head moves in the horizontal direction, the logical sum of two dot patterns adjacent to each other in the horizontal direction is taken and converted into one dot pattern. Means, Means (1) for taking the exclusive OR of this dot pattern, Hand j(l
Means (2) for inverting the dot pattern generated by (1). means (3) for logically ANDing the dot pattern newly generated by means (1) and the two dot patterns generated by means (2) and converting them into one dot pattern;
A printer device characterized in that it prints one character by changing the number of print data in the horizontal direction of the character.
本発明の上記の手段によれば、横方向例えば24ドツト
幅の文字から、横方向例えば12ドツト幅の縮小文字を
作り出したいとき、横方向について、となりあった印字
デ:°りの論理和を取り、つの印字データとする。これ
により、縦方向の印字データを損なうことなくつくり出
し、ヘッドの移動スピードを変えることなく縮小文字を
印字することができる。According to the above means of the present invention, when it is desired to create a reduced character having a width of, for example, 12 dots in the horizontal direction from a character having a width of, for example, 24 dots in the horizontal direction, the logical sum of adjacent print data in the horizontal direction is performed. and make it into one print data. This makes it possible to create vertical print data without damaging it, and to print reduced characters without changing the moving speed of the head.
以下に本発明の1実施例について説明する。第2図は、
本発明のブリンク装置の一実施例を示したブロック図で
ある。システムバスlに、装置全体を制御する回路から
なる制御部2、文字を印字するためのヘッド及びその駆
動回路からなるヘッド駆動部3、印字ヘッドを載せ紙送
り方向と垂直方向に移動するキャリッジとその駆動回路
からなるキャリッジ駆動部4、印字する紙を送るための
モーフとその駆動回路からなる紙送り駆動部5、印字す
るキャラクタのドツトパターンを記憶するためのキャラ
クタ印字データ記憶部7、キャラクタ情報を参照し印字
文字のキャラクタ情報の変換を行うための、隣合った二
つのドツトパターンの論理和を取り一つのドツトパター
ンに変換する手段(61)、手段(61)により生成さ
れたドツトパターンを反転させる手段(62)、新たに
手段(61)により生成されたドツトパターンと手段(
62)により生成された二つのドツトパターンの論理積
な取り一つのドツトパターンに変換する手段(63)か
らなる装置、又はそのソフトウェアからなるキャラクタ
情報変換部6.ホストコンビュークとのデータの送受信
を行うための外部インターフェイス部8がそれぞれ接続
されている。
次に、キャラクタ情報変換部の変換方法について説明す
る。第5図は、横方向24ドツト幅の文字を横方向12
ドツト幅の縮小文字に圧縮する基本原理を示す図である
。(a)図は、240DPI (Dot Per I
nch)で表わされているキャラクタ情報である。丸は
、印字されるドツトを表わす。
又、文字の横方向24ドツト構成の文字のデータを左方
向から右方向へ、l、2.3.4.5.6、・・・21
.22.23.24.とする、(b)図は、変換により
生成された240DPIで表わされている横方向12ド
ツト幅の縮小文字のキャラクタ情報である。(a)図と
同様、丸は、印字されるドツトを表わす、又、横方向1
2ドツト構成の文字のデータを左方向から右方向へ、1
′ 、 2’ 、 3’ 、 4’ 、
5’ 、 6’ ・・・10’11′、12
’ とする。
(a)図から(b)図への変換方法は、(a)図の横方
向の印字データlと2の論理和を取り、その結果のデー
タをNULLデータを反転させた物との論理積を取り(
b)図の1′へストアする。更に、(a)図の印字デー
タ3と4の論理和を取り、その結果のデータを(b)図
の1′に生成された印字データの反転した物との論理積
を取り、(b)図の2′ヘスドアする。同様に。
(a)図の印字データ5と6の論理和を取り、その結果
のデータを(b)図の2′に生成された印字データの反
転した物との論理積を取り、(b)の3′にストアする
。更に、同様に繰り返し、(a)図の印字データ23と
24の論理和を取り、その結果のデータを(b)図の1
1′に生成された印字データの反転した物との論理積を
取り、(b)図の12′にストアする。
これにより、横方向24ドツト幅の文字から、横方向1
2ドツト幅の文字が、縦方向の印字データを損なうこと
なく生成される。又、隣合った連続するドツトをマスク
することで、印字データは240DPIの位置に置かれ
、240DPIの縮小文字が作成でき、その生成された
印字データは、全て240DPIの密度で構成される。
即ち、Xという密度の印字データを持つ文字のキャラク
タ情報から、同じ文字の縮小文字で、Xという密度の印
字データを持つキャラクタ情報を作成できる。印字デー
タの密度が変わらないために、印字ヘッドの移動スピー
ドを変えて印字密度を変える必要がなくなり、印字ヘッ
ドのスピードを変えるための装置が不用となる。又、縮
小文字を生成することから、あらかじめそれらのキャラ
クタ情報を内部に持つ必要がなく、その分の内部メモリ
が節約できる。
以上述べた実施例では、縮小文字のキャラクタ情報の生
成について述べたが、上記の方法により、生成されたデ
ータを印字ヘッドのスピードを倍にして、印字タイミン
グを変えずに印字することでノーマル文字を倍の速さで
印字することができる。
[発明の効果]
以上、述べたことにより、本発明によれば、印字データ
の密度Xのキャラクタ情報から、同じ文字の縮小文字で
密度Xのキャラクタ情報を作り出すことができる。この
ことから、印字密度を変えるために印字ヘッドの移動ス
ピードを変えるための装置を備える必要がな(、又、密
度Xの縮小用のキャラクタ情報を内部メモリに持つ必要
がなくなる。One embodiment of the present invention will be described below. Figure 2 shows
FIG. 1 is a block diagram showing an embodiment of a blinking device of the present invention. A system bus L includes a control unit 2 consisting of a circuit that controls the entire device, a head drive unit 3 consisting of a head for printing characters and its drive circuit, and a carriage that carries the print head and moves in a direction perpendicular to the paper feeding direction. A carriage drive unit 4 consisting of the drive circuit, a paper feed drive unit 5 consisting of a morph and its drive circuit for feeding the paper to be printed, a character print data storage unit 7 for storing the dot pattern of the character to be printed, and character information. Means (61) for converting the character information of printed characters by referring to the logical sum of two adjacent dot patterns and converting them into one dot pattern, the dot pattern generated by the means (61) The inverting means (62), the dot pattern newly generated by the means (61) and the means (
A character information conversion section 6.62) consisting of a device comprising means (63) for converting the logical product of the two dot patterns generated into a single dot pattern, or software thereof; External interface sections 8 for transmitting and receiving data with the host computer are connected to each. Next, the conversion method of the character information conversion section will be explained. Figure 5 shows a character with a width of 24 dots in the horizontal direction and a character with a width of 12 dots in the horizontal direction.
FIG. 3 is a diagram illustrating the basic principle of compressing characters into reduced dot width characters. (a) The figure shows 240DPI (Dot Per I
This is character information represented by (nch). Circles represent printed dots. Also, the data of a character consisting of 24 dots in the horizontal direction of the character is written from left to right, l, 2.3.4.5.6,...21
.. 22.23.24. Figure (b) shows character information of a reduced character with a width of 12 dots in the horizontal direction and is expressed at 240 DPI and generated by conversion. (a) As in the figure, the circles represent printed dots, and the horizontal direction 1
Data of 2-dot characters from left to right, 1
', 2', 3', 4',
5', 6'...10'11', 12
'. The conversion method from (a) figure to (b) figure is as follows: (a) Take the logical sum of the horizontal print data l and 2 of the figure, and AND the resulting data with the inverted NULL data. Take (
b) Store to 1' in the figure. Furthermore, (a) logically OR the print data 3 and 4 in the figure, and (b) logically AND the resulting data with the inverted print data generated at 1' in the figure. Figure 2' Hesdoor. Similarly. (a) Take the logical sum of print data 5 and 6 in the figure, and then take the AND of the resulting data with (b) the inverted version of the print data generated at 2' in the figure. ′. Furthermore, repeating the same process, (a) logically OR the print data 23 and 24 in the figure, and convert the resulting data to (b) 1 in the figure.
1' is logically ANDed with the inverted version of the print data generated at 1', and stored at 12' in the figure (b). As a result, from a character with a width of 24 dots in the horizontal direction to a character with a width of 1 dot in the horizontal direction,
Two-dot wide characters are generated without destroying the vertical print data. Furthermore, by masking adjacent continuous dots, print data is placed at a position of 240 DPI, and reduced characters of 240 DPI can be created, and all of the generated print data has a density of 240 DPI. That is, from character information of a character having print data of a density of X, character information of a reduced character of the same character having print data of a density of X can be created. Since the density of the print data does not change, there is no need to change the print density by changing the moving speed of the print head, and a device for changing the speed of the print head is not required. Furthermore, since reduced characters are generated, there is no need to store such character information internally in advance, and internal memory can be saved accordingly. In the embodiments described above, the generation of character information for reduced characters was described, but by using the above method, the generated data can be printed without changing the print timing by doubling the speed of the print head to generate normal characters. can be printed twice as fast. [Effects of the Invention] As described above, according to the present invention, character information of density X can be created from character information of density X of print data using reduced characters of the same character. Therefore, there is no need to provide a device for changing the moving speed of the print head in order to change the print density (also, there is no need to store character information for reducing the density X in the internal memory).
第1図は本発明の構成を明示する図。
第2図は本発明の一実施例を示したブロック図。
第3図は縮小文字を印字するための従来の技術の一例を
示す図。
第4図は縮小文字を印字するための従来の技術の他の例
を示す図。
第5図は本発明のノーマル幅文字から、縮小文字を生成
する基本原理を示す図。
以
上FIG. 1 is a diagram clearly showing the configuration of the present invention. FIG. 2 is a block diagram showing an embodiment of the present invention. FIG. 3 is a diagram showing an example of a conventional technique for printing reduced characters. FIG. 4 is a diagram showing another example of the conventional technique for printing reduced characters. FIG. 5 is a diagram showing the basic principle of generating reduced characters from normal width characters according to the present invention. that's all
Claims (1)
リンタ装置において、キャラクタの印字データを記憶す
る手段、印字ヘッドの移動方向を横方向とした場合、横
方向にとなり合った二つのドットパターンの論理和を取
り一つのドットパターンに変換する手段(1)、手段(
1)により生成されたドットパターンを反転させる手段 (2)、新たに手段(1)により生成されたドットパタ
ーンと手段(2)により生成された二つのドットパター
ンの論理積を取り一つのドットパターンに変換する手段
(3)、によりキャラクタの横方向の印字データ数を変
え、文字の印字をすることを特徴とするターミナルプリ
ンタ装置。[Claims] In a terminal printer device that prints characters by moving a print head, there is a means for storing character print data, and when the print head moves in the horizontal direction, two Means (1) for taking the logical sum of dot patterns and converting them into one dot pattern, means (
Means (2) for inverting the dot pattern generated by means (1), and logical AND of the dot pattern newly generated by means (1) and the two dot patterns generated by means (2) to form one dot pattern. A terminal printer device characterized in that the character is printed by changing the number of print data in the horizontal direction of the character by means (3) for converting the character into a character.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2248411A JPH04126266A (en) | 1990-09-18 | 1990-09-18 | Terminal printer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2248411A JPH04126266A (en) | 1990-09-18 | 1990-09-18 | Terminal printer device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04126266A true JPH04126266A (en) | 1992-04-27 |
Family
ID=17177717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2248411A Pending JPH04126266A (en) | 1990-09-18 | 1990-09-18 | Terminal printer device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04126266A (en) |
-
1990
- 1990-09-18 JP JP2248411A patent/JPH04126266A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6022234A (en) | Form overlay type printer | |
JPH0378651B2 (en) | ||
JPH0418376A (en) | Printing apparatus | |
US5205660A (en) | Printer capable of generating reduced width bold characters | |
JPS61206663A (en) | Printing method in thermal printer | |
JPH04126266A (en) | Terminal printer device | |
JPH04344269A (en) | Printer device | |
JP3003266B2 (en) | Serial printer | |
JPH0616764Y2 (en) | Dot matrix printer | |
JPS6246011B2 (en) | ||
JP3098435B2 (en) | Control system for multiple thermal heads | |
JPH0214167A (en) | Printing system | |
JPS5959459A (en) | Reverse-order printing system for printer | |
JPS63301995A (en) | Character pattern generator for printer | |
JP3222971B2 (en) | Serial dot printer | |
JPS58169688A (en) | Control system for enlargement and reduction of character and pattern | |
JPH0542723A (en) | Image printer control | |
JPS6137441A (en) | High-speed printing processing system of dot printer | |
JPH03102396A (en) | Printer controller | |
JPS63311867A (en) | Character picture generator | |
JPH01291953A (en) | Dot-type line printer | |
JPS60151063A (en) | Printing machine | |
JPS6161861A (en) | Printer control apparatus | |
JPS6295588A (en) | Full stroke-half stroke character font conversion system | |
JPS62118384A (en) | Character pattern generator |