JPS63212558A - Small character printing system for printer - Google Patents

Small character printing system for printer

Info

Publication number
JPS63212558A
JPS63212558A JP4548387A JP4548387A JPS63212558A JP S63212558 A JPS63212558 A JP S63212558A JP 4548387 A JP4548387 A JP 4548387A JP 4548387 A JP4548387 A JP 4548387A JP S63212558 A JPS63212558 A JP S63212558A
Authority
JP
Japan
Prior art keywords
pattern
print
character
dot
basic
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
JP4548387A
Other languages
Japanese (ja)
Inventor
Isao Murakami
功 村上
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4548387A priority Critical patent/JPS63212558A/en
Publication of JPS63212558A publication Critical patent/JPS63212558A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To easily print and output a small character without particularly increasing the memory capacity by logically calculating it by using a dot matrix pattern of an original type. CONSTITUTION:The following calculation is executed for a basic pattern A, and the pattern is sequentially obtained. A pattern that B=A is shifted downward (or upward) by N rows, a pattern that B=B is inverted, a pattern that C=A is shifted upward (or downward) by N rows, D=B+C E=AXD,... (dot pattern to be obtained), where either of B and C may be precedingly executed. This controlling method can reduce the character in a columnar direction on the entirely equal concept. Further, it can simultaneously reduce the character in both column and row directions. The portion having 1 bit of width cannot be reduced less than it.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリンタの細字印字方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a fine print method for a printer.

(従来の技術〕 通常、プリンタは、印字すべき文字の文字パターンをド
ラトマトリフトパターンとしての予め記憶したドツトマ
トリクスパターンメモリ (印字ROM)をもっている
(Prior Art) Usually, a printer has a dot matrix pattern memory (print ROM) in which the character pattern of characters to be printed is stored in advance as a dot matrix lift pattern.

この種のプリンタは、外部装置より文字データ(単に文
字を特定するデータ)を入力すると、マスタ制御部が、
この文字データに対応する印字用のドツトマトリクスパ
ターンを読み出すために、印字ROMに読み出しアドレ
スを出力する。この印字ROMは、文字パターンをデー
タバスに出力する。これによりミ印字制御部はマスタ制
御部の制御に基づいて、この文字パターンを印字する。
In this type of printer, when character data (simply data specifying characters) is input from an external device, the master control unit
In order to read out the dot matrix pattern for printing corresponding to this character data, a read address is output to the print ROM. This print ROM outputs character patterns to the data bus. Thereby, the Mi print control section prints this character pattern based on the control of the master control section.

これら一連の動作プログラムはプログラムROMに書き
込まれている。
These series of operating programs are written in the program ROM.

そして、通常のプリンタでは、印字すべき文字の大きさ
及び形状等は、印字ROM内に記憶されたドラトマトリ
フトパターン(文字データ)によリ、一義的に特定され
ている。
In a normal printer, the size, shape, etc. of characters to be printed are uniquely specified by the dolatomat lift pattern (character data) stored in the print ROM.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来より、プリンタ例においては、印字文字に対応する
文字等はすべて所定のパターンで記憶されていることか
ら、印字する文字の線の太さを調整して、細字の印字を
出力することは、基本構成では不可能であった。そこで
、これを実現するためには、従来、細字用の文字パター
ンを記憶した印字メモリ、太字用の文字パターンを記憶
した印字メモリという具合に、印字したい線の太さの複
数の印字メモリを用意していた。一方、この種の構成を
採用しないまでも、単に、通常の印字を縮小又は拡大し
て、線の太さを調整することは、一般に行われていた。
Conventionally, in printers, all characters corresponding to printed characters are stored in a predetermined pattern, so adjusting the line thickness of the characters to be printed and outputting fine print is a simple process. This was not possible with the basic configuration. Therefore, in order to achieve this, conventionally, multiple print memories for the line thickness that you want to print are prepared, such as a print memory that stores character patterns for thin characters and a print memory that stores character patterns for bold characters. Was. On the other hand, even without adopting this type of configuration, it has been common practice to simply reduce or enlarge normal printing to adjust the line thickness.

しかしながら、この手法では、印字全体の大きさの拡大
若しくは縮小となり、印字全体の大きさを変えずに細字
を印字出力することは不可能となっていた。
However, with this method, the size of the entire print is enlarged or reduced, making it impossible to print out fine characters without changing the size of the entire print.

〔発明の目的〕[Purpose of the invention]

本発明は、かかる従来例の有する不都合を改善し、特に
メモリ容量を増加させることなく極く容易に細字を印字
出力することのできるプリンタの細字印字方式を提供す
ることを、その目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a fine print method for a printer which can improve the disadvantages of the conventional example and in particular can print out fine print very easily without increasing the memory capacity.

〔問題点を解決するための手段〕[Means for solving problems]

本発明では、行方向と列方向に所定のドツト数を有する
基本パターンAを記憶するメモリ手段と、このメモリ手
段に記憶された基本パターンAに基づいて所定の演算プ
ログラムを実行する印字用マスタ制御部とを備えている
。この印字用マスタ制御部が、下記の演算、すなわち、 基本パターンAを少なくとも一方の行方向にN行シフト
させるとともに当該シフトしたパターンの反転パターン
■を求め、これに相前後してパターンAを少なくとも他
方の行方向にN行シフトしたパターンCを求め、この内
のB、Cの各パターンに基づいて論理和D=B+Cを実
行し、この結果得られるパターンDと前記基本パターン
Aとの論理積E=AXD、を実行し、 このパターンEを印字出力用パターンとして使用すると
いう構成を採り、これにより前記目的を達成しようとす
るものである。
The present invention includes a memory means for storing a basic pattern A having a predetermined number of dots in the row and column directions, and a printing master control for executing a predetermined calculation program based on the basic pattern A stored in the memory means. It has a section. This printing master control unit performs the following calculation, that is, shifts the basic pattern A by N lines in at least one row direction and obtains an inverted pattern (■) of the shifted pattern. Find a pattern C shifted by N rows in the direction of the other row, execute the logical sum D=B+C based on each pattern of B and C, and logical product the pattern D obtained as a result with the basic pattern A. E=AXD, and this pattern E is used as a printout pattern, thereby achieving the above object.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図ないし第7図に基づい
て説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 7.

第1図の実施例は、マスタ制御部lと、プログラムメモ
リ (プログラムROM)2と、バッファメモリ (R
AM)3と、ドラトマトリフトパターンメモリ (印字
ROM)4と、印字制御部5とを有し、これらがアドレ
スバス6及びデータバス7を介して連結された構成とな
っている。
The embodiment shown in FIG. 1 includes a master control unit l, a program memory (program ROM) 2, and a buffer memory (R
AM) 3, a doratoma lift pattern memory (print ROM) 4, and a print control section 5, which are connected via an address bus 6 and a data bus 7.

マスタ制御部1は、プリンタ装置全体を制御する機能及
び細字印字データ作成機能とをもち、プログラムROM
2に書き込まれた制御プログラムに従って動作する中央
処理装置(以下rCP UJという)により構成されて
いる。そして、アドレスバス6及びデータバス7を介し
て、各構成部材を制御するようになっている。
The master control unit 1 has a function of controlling the entire printer device and a function of creating fine print data, and has a program ROM.
The rCP UJ is comprised of a central processing unit (hereinafter referred to as rCP UJ) that operates according to a control program written in the rCP UJ. Each component is controlled via an address bus 6 and a data bus 7.

プログラムROM2は、プリンタ装置全体を制御するプ
ログラム及び細字印字データ作成用プログラムを内蔵し
ており、マスタ制御部1よりアドレスバス6を介して出
力される命令に基づき、制御データをデータバス7に出
力する機能を有している。
The program ROM 2 contains a program for controlling the entire printer device and a program for creating fine print data, and outputs control data to the data bus 7 based on commands output from the master control unit 1 via the address bus 6. It has the function of

RAM3はバッファメモリから成り、細字用印字パター
ン作成プログラム実行中に、一時的に演算結果等の印字
パターンを記憶する機能をもっている。
The RAM 3 is composed of a buffer memory and has a function of temporarily storing print patterns such as calculation results while the fine print print pattern creation program is being executed.

印字ROM4は、指定された文字に対応するドツトマト
リクス状の印字データ(通常印字)を記憶しており、マ
スタ制御部1の制御に基づいてこの印字データをデータ
バス7に出力する機能を有している。
The print ROM 4 stores dot matrix print data (normal print) corresponding to designated characters, and has a function of outputting this print data to the data bus 7 under the control of the master control unit 1. ing.

印字制御部5は、データバス7を介して印字データを入
力するとともにこれを印字部(図示せず)に送り、ドツ
ト印字を行う機能をもっている。
The print control section 5 has the function of inputting print data via the data bus 7 and sending it to a printing section (not shown) to perform dot printing.

次に、通常の印字データをもとにして、複数ドツトの縦
横の線を、縦線の太さを変えることなく横線の太さく行
方向の線幅)を細(設定する場合のマスタ制御部1によ
るプログラム制御の手法を、第2図に基づいて説明する
Next, based on the normal print data, create vertical and horizontal lines of multiple dots without changing the thickness of the vertical lines. The method of program control according to No. 1 will be explained based on FIG.

いま、外部装置より、所定の複数の「黒」ぬりのドツト
長方形を印字指令が入力されると、マスタ制御部1は、
プログラムROM2より制御プログラムを読み出し、こ
れを記憶する、印字ROM3に印字指令に基づく長方形
のドツトパターンを特定するアドレスをアドレスバス6
を介して出力するとともに読み出し指令を出力し、デー
タバス7にこのドツトパターンを出力させる。次に、マ
スタ制御部lは、制御プログラムに基づいてこのドツト
パターンを内部に取り込む。このドツトパターンを第2
図(11に示す、この第2図(11のドツトパターンは
、i=4行、j=5列の全20ドツトのパターンで、r
i=1 ; j=IJを1番地、ri=1;j=2Jを
2番地、、、、ri=2;j=IJを5番地というよう
に区画化して考えると、この場合、r6J  r7J 
 rl O’J  rl IJr14J  r15Jの
各番地が「白」ドツトで、他は「黒jドツトになってい
る(このパターンをrAJとする)。
Now, when a command to print a predetermined plurality of dot rectangles colored "black" is input from an external device, the master control unit 1 executes the following commands.
A control program is read from the program ROM 2, and an address for specifying a rectangular dot pattern based on the print command is sent to the print ROM 3, which stores the control program, through the address bus 6.
It also outputs a read command to cause the data bus 7 to output this dot pattern. Next, the master control section 1 internally imports this dot pattern based on the control program. Add this dot pattern to the second
The dot pattern in Figure 2 (11) is a total of 20 dots in i = 4 rows and j = 5 columns, and r
i=1; j=IJ is address 1, ri=1; j=2J is address 2, ri=2; j=IJ is address 5. In this case, r6J r7J
Each address of rl O'J rl IJr14J r15J is a "white" dot, and the others are "black J dots (this pattern is referred to as rAJ).

次に、Aを下方へi、= 1行分(全体的に1パターン
)移動させ(第2図(2)参照)、その時のパターンの
反転値を求めてこれを記憶する(このパターンを「百」
とする)。第2図(3)にこれを示す。
Next, move A downward i, = 1 line (one pattern overall) (see Figure 2 (2)), find the inverted value of the pattern at that time, and store it (this pattern is hundred"
). This is shown in Figure 2 (3).

具体的には、各番地にα=5番地プラスした番地に、元
の番地に書き込まれたドツトデータの反転値を書き込め
ばよい。次に、Aを上方へ1=1行分(細字化したい細
分)、全体的にパターン移動させ、その時のパターンを
記憶する。具体的な方法は上記同様、各番地からβ=5
番地マイナスした番地に、元の番地に書き込まれたドツ
トデータを書き込む(このパターンを「C」とする)、
第2図(4)にこれを示す。
Specifically, the inverted value of the dot data written at the original address may be written at each address plus α=5 addresses. Next, the entire pattern of A is moved upward by 1=1 line (subdivision to be made thinner), and the pattern at that time is stored. The specific method is the same as above, β = 5 from each address
Write the dot data written at the original address to the address minus the address (this pattern is called "C"),
This is shown in Figure 2 (4).

次に、「B」パターンと「C」パターンとの同一番地の
ドツトデータ同士の論理和を演算して記憶する(このパ
ターンをrDJとする)。第2図(5)にこれを示す。
Next, the logical sum of the dot data of the "B" pattern and the "C" pattern at the same location is calculated and stored (this pattern is referred to as rDJ). This is shown in Figure 2 (5).

次に、rAJパターンとrDJとの同一番地のドツトデ
ータ同士の論理積を演算し記憶する(このパターンをr
EJとする)、第2図(6)にこれを示す、このEパタ
ーンが1細分細字化された細字印字データとなる。マス
タ制御部1はこの細字印字データEをデータバス7に出
力するとともに、アドレスバス6を介して印字制御部5
に印字指令を出力する。これにより、印字制御部5は、
細字印字データEを内部に取り込み、これを印字する。
Next, the logical product of the dot data at the same location of the rAJ pattern and rDJ is calculated and stored (this pattern is
EJ), which is shown in FIG. 2 (6), becomes fine print data in which this E pattern is subdivided into fine characters. The master control unit 1 outputs this fine print data E to the data bus 7, and also outputs the fine print data E to the print control unit 5 via the address bus 6.
Outputs a print command to. As a result, the print control section 5
The small print data E is taken in and printed.

次に、文字rHJについて上記実施例を適用した場合を
、第3図ないし第7図に示す。この案件においては、第
3図が基本パターンであり、これをi=1行分細分細分
化印字データが第7図である。この場合、第4図ではパ
ターンAを1行下ヘシフトしたのち反転した場合が示さ
れている。第5図はパターンAを1行上方ヘシフトした
場合(第2図(4)と同じ)が示されている。第6図で
は、第4図と第5図の論理和りをとった場合が示されて
いる。第7図では第2図と第6図の論理積Eをとった場
合が示されている。
Next, the case where the above embodiment is applied to the character rHJ is shown in FIGS. 3 to 7. In this case, FIG. 3 is the basic pattern, and FIG. 7 shows the subdivided print data of this pattern, which is subdivided into i=1 line. In this case, FIG. 4 shows a case where pattern A is shifted downward by one line and then reversed. FIG. 5 shows the case where pattern A is shifted upward by one line (same as FIG. 2 (4)). FIG. 6 shows a case where FIG. 4 and FIG. 5 are logically summed. FIG. 7 shows a case where the logical product E of FIG. 2 and FIG. 6 is taken.

この結果、第7図では縦線の太さは変化せずに横の線の
幅(太さ)が細(なっている。
As a result, in FIG. 7, the width (thickness) of the horizontal lines becomes thinner while the thickness of the vertical lines does not change.

なお、この第3図ないし第7図においてはドツト印字の
ドツトを便宜上正方形状にて表示しである。
In addition, in FIGS. 3 to 7, the dots of dot printing are shown in square shapes for convenience.

このように、上記実施例においては、基本パターンAに
対して下記の演算を行い、そのパターンを順次求めるこ
とに集約されている。
In this way, in the above embodiment, the following calculations are performed on the basic pattern A, and the patterns are sequentially determined.

B=AをN行分下方(又は上方)ヘシフトしたパターン
、 百−Bを反転したパターン、 C=AをN行分上方(又は下方)ヘシフトしたパターン
、 D=B+C E=AXD・・・・・・(求めるドツトパターン)ここ
で、第2図ではN=1の場合であり、シフトの方向は上
記B、B及びCにおいて()を付さない方向の場合を実
行した結果が示されている。
B = A pattern that shifts A downward (or upward) by N lines, a pattern that inverts 100-B, C = a pattern that shifts A upward (or downward) by N lines, D = B + C E = AXD... ...(Desired dot pattern) Here, Fig. 2 shows the case where N = 1, and the shift direction is the result of executing the case where () is not added in the above B, B, and C. There is.

また、B、!:Cはどちらを先に実行してもよい。Also, B! :C may be executed first.

また、上記制御の平方は、行方向の細字化について例示
したが、全く同一の思想より列方向の細字化も行うこと
ができる。また列方向及び行方向の各細字化を同時に行
ってもよい。なお、1ビツトの幅の箇所については、そ
れ以上の細字化は不可能であり、従って制御上もかかる
限定要件を付加せしめるように構成してもよい。
Moreover, although the above-mentioned control square is exemplified for thinning the font in the row direction, it is also possible to thin the font in the column direction based on the same concept. Furthermore, the font thinning in the column direction and the row direction may be performed simultaneously. It should be noted that it is impossible to make the characters thinner than that in a portion having a width of 1 bit, and therefore, such a restrictive requirement may be added for control purposes as well.

〔発明の効果〕〔Effect of the invention〕

本発明は以上のように構成され機能するので、これによ
ると、原型のドツトマトリックスパターンを用いてこれ
を論理演算することのみにより、2ビット以上の太さの
文字を1ビット以上細字化することができ、行方向及び
列方向のいづれについても適用することができ、そのた
めのメモリ増設を特に必要としないという従来にない優
れたプリンタの細字印字方式を提供することができる。
Since the present invention is configured and functions as described above, it is possible to make a character that is 2 bits thick or more thinner by 1 bit or more simply by using the original dot matrix pattern and performing logical operations on it. It is possible to provide a fine print method for a printer that is unprecedented and excellent in that it can be applied to both the row and column directions and does not particularly require additional memory for this purpose.

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

第1図は本発明の一実施例を示すブロック図、第2図(
1) (2) (3) (4) (5) (6)は各々
第1図の動作原理を示す説明図、第3図ないし第7図は
各々第1図の動作を示す説明図である。 1・・・・・・、、マスタ制御部、2・・・・・・プロ
グラムメモリ、3・・・・・・バッファメモリ(RAM
) 、4・・・・・・印字用のビットマトリクスパター
ンメモリ、5・・・・・・印字制御部、A・・・・・・
基本パターン、E・・・・・・細字化を実行したパター
ン。 特許出願人  日 本 電 気 株式会社第1図 第2図 cノテターンA)      (パターンB)    
 ()ずクーン百〕(パターンc)     ()寸タ
ーンD)       ()ψターンE)第3図 Cノず夕′−ンA) 第4図 (パターン百) 第5図 (lジブ−>C) 第6図
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 (
1) (2) (3) (4) (5) (6) are explanatory diagrams each showing the operating principle of Fig. 1, and Figs. 3 to 7 are explanatory diagrams each showing the operation of Fig. 1. . 1... Master control unit, 2... Program memory, 3... Buffer memory (RAM
), 4...Bit matrix pattern memory for printing, 5...Print control section, A...
Basic pattern, E...Pattern with fine print. Patent applicant: Japan Electric Co., Ltd. Figure 1 Figure 2 c Note Turn A) (Pattern B)
() Zukoon 100] (Pattern C) () Dimension Turn D) () ψ Turn E) Fig. 3 ) Figure 6

Claims (1)

【特許請求の範囲】[Claims] (1)、行方向と列方向に所定のドット数を有する基本
パターンAを記憶するメモリ手段と、このメモリ手段に
記憶された基本パターンAに基づいて所定の演算プログ
ラムを実行する印字用マスタ制御部とを備え、この印字
用マスタ制御部が、下記の演算、すなわち、 基本パターンAを少なくとも一方の行方向にN行シフト
させるとともに当該シフトしたパターンの反転パターン
@B@を求め、これに相前後してパターンAを少なくと
も他方の行方向にN行シフトしたパターンCを求め、こ
の内の@B@、Cの各パターンに基づいて論理和D=@
B@+Cを実行し、この結果得られるパターンDと前記
基本パターンAとの論理積E=A×Dを実行し、 このパターンEを印字出力用パターンとして使用するこ
とを特徴としたプリンタの細字印字方式。
(1) A memory means for storing a basic pattern A having a predetermined number of dots in the row and column directions, and a printing master control for executing a predetermined calculation program based on the basic pattern A stored in the memory means. This printing master control section performs the following calculation, that is, shifts the basic pattern A by N lines in at least one row direction, obtains an inverted pattern @B@ of the shifted pattern, and performs the following calculation. Pattern C is obtained by shifting pattern A by at least N rows in the direction of the other row, and based on each pattern of @B@ and C, logical sum D=@
Fine print of a printer characterized in that it executes B@+C, executes the logical product E=A×D of the pattern D obtained as a result and the basic pattern A, and uses this pattern E as a printout pattern. Printing method.
JP4548387A 1987-02-28 1987-02-28 Small character printing system for printer Pending JPS63212558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4548387A JPS63212558A (en) 1987-02-28 1987-02-28 Small character printing system for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4548387A JPS63212558A (en) 1987-02-28 1987-02-28 Small character printing system for printer

Publications (1)

Publication Number Publication Date
JPS63212558A true JPS63212558A (en) 1988-09-05

Family

ID=12720644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4548387A Pending JPS63212558A (en) 1987-02-28 1987-02-28 Small character printing system for printer

Country Status (1)

Country Link
JP (1) JPS63212558A (en)

Similar Documents

Publication Publication Date Title
JPS6277633A (en) Printer controller
JPH06344600A (en) Printing quality improving method and device for improving dot printing image quality
JPH0457195B2 (en)
US4827254A (en) Display apparatus adapted to display various types of modified characters
JPS63212558A (en) Small character printing system for printer
AU7876887A (en) Printer character generator
JPH0284364A (en) Printer
JPH0242675B2 (en)
JP3143118B2 (en) Printer and print image pattern development method
JPH0326558A (en) Smooth printing system in printer
JPH064344B2 (en) Printer
JP2626769B2 (en) Output control device and method
JPH0216219B2 (en)
JPS63299950A (en) Script character pattern generating system of dot printer
JPH02226491A (en) Data converting method
JPH05309873A (en) Making device of contracted letter pattern
JPS61108562A (en) Letter pitch processing system
JPH0281654A (en) Halftone longitudinal connection of serial dot printer
JPH05278272A (en) Printer
JPS60228164A (en) Printer
JPH08183208A (en) Method and apparatus for recording bit map
JPH03120060A (en) Scale-down printing method
JPH01229651A (en) Image recorder
JPH05135031A (en) Ruled line data editing processing method
JPH02245349A (en) Printing control system for printer