JPS63299950A - Script character pattern generating system of dot printer - Google Patents

Script character pattern generating system of dot printer

Info

Publication number
JPS63299950A
JPS63299950A JP13741687A JP13741687A JPS63299950A JP S63299950 A JPS63299950 A JP S63299950A JP 13741687 A JP13741687 A JP 13741687A JP 13741687 A JP13741687 A JP 13741687A JP S63299950 A JPS63299950 A JP S63299950A
Authority
JP
Japan
Prior art keywords
pattern
printing
script
dot
print
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
JP13741687A
Other languages
Japanese (ja)
Inventor
Makoto Ishihara
誠 石原
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 JP13741687A priority Critical patent/JPS63299950A/en
Publication of JPS63299950A publication Critical patent/JPS63299950A/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 and sharply form various script characters to output the same for printing, by using the dot matrix pattern of a prototype to apply logical operation thereto. CONSTITUTION:A master control part 1 reads a control program from a program ROM 2 and outputs an address specifying the dot pattern based on a printing order to a printing ROM 3 through an address bus 6. A script printing pattern P is outputted to a line bus 7 and a printing order is outputted to a printing control part 5. The printing control part 5 takes in the printing pattern P by said printing order to print the same. Herein, 'Am-1XAm=Bn' is at first operated with respect to a dot pattern of Am-line Jn-row to calculate the dot pattern N of the Jn-row to a B1- or Bk-line and, next, 'Bm-1+Bm=Cm/2' is operated on the basis of said dot pattern N to calculate the dot pattern P of the Jn-row to a C1- or Ck-line and this dot pattern P is set to a script printing pattern.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明は、ドツトプリンタのスクリプト文字パターン発
生方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a script character pattern generation method for a dot printer.

〔従来の技術〕[Conventional technology]

従来のドツトマトリクスプリンタは、スクリプト文字の
印字に際しては、予め通常の大きさの文字パターンのほ
かにスクリプト文字パターンをメモリに収納しておき、
これをその出力として印字させるという手法が採られて
いた。
When printing script characters, conventional dot matrix printers store script character patterns in memory in addition to normal-sized character patterns in advance.
A method was adopted in which this was printed as the output.

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

しかしながら、上記従来例においては、予め多くの種類
のスクリプト文字の印字出力を行うには、大きい容量の
メモリを必要とするという欠点があった。
However, the above conventional example has a drawback in that a large capacity memory is required to print out many types of script characters in advance.

このため、昨今においては、例えば通常の大きさのトッ
ド文字パターンを単純に、2行毎に論理和変換すること
により生じるスクリプト文字パターンを使用する試みが
なされている。
For this reason, in recent years, attempts have been made to use, for example, a script character pattern generated by simply OR-converting a normal-sized tod character pattern every two lines.

しかしながら、かかる単純な論理和変換方法では、例え
ば第6図(1)のre、については、同図(2)に示す
如く上部の空白部分が無くなって「e」を判読すること
が出来ない場合が生じる、という本質的な欠点があった
However, with such a simple logical sum conversion method, for example, for re in Figure 6 (1), the blank space at the top disappears and "e" cannot be read as shown in Figure 6 (2). There was an essential drawback that .

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

本発明は、かかる従来例の有する不都合を改善し、特に
スクリプト文字用のメモリを装備することなく種々のス
クリプト文字を極く容易に且つ鮮明に形成してこれを印
字出力することのできるドツトプリンタのスクリプト文
字パターン発生方式を提供することを、その目的とする
The present invention improves the disadvantages of the conventional example, and provides a dot printer that can extremely easily and clearly form various script characters and print them out without being equipped with a memory for script characters. Its purpose is to provide a script character pattern generation method.

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

本発明では、メモリに記憶されたA7行Jn列(但し、
m−1,2,3,−、k ;n=f、2゜3、・・・・
・・+1i以下同じ)のドツトパターンに対し、まず、
「As−1XAa −Be Jを演算しテB、ないし8
1行に対する57列のドツトパターンNを求め、次に、
このドツトパターンNに基づいて「B m−r + B
 s ” C*/! Jを演算してCIないしCk行に
対する31列のドツトパターンPを求め、このドツトパ
ターンPをスクリプト印字パターンとする、という構成
を採っている。これによって前述した目的の達成を意図
している。
In the present invention, A7 row and Jn column (however,
m-1,2,3,-,k;n=f,2゜3,...
...+1i and below) dot pattern, first,
``Calculate As-1XAa -Be J, TeB, or 8
Find the dot pattern N of 57 columns for one row, and then
Based on this dot pattern N, "B m-r + B
s''C*/!J is calculated to obtain a 31-column dot pattern P for CI to Ck rows, and this dot pattern P is used as a script printing pattern.Thus, the above-mentioned purpose is achieved. is intended.

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

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

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

マスク制御部1は、プリンタ装置全体を制御する機能及
び細字印字データ作成機能とをもち、プログラムROM
2に書き込まれた制御プログラムに従って動作する中央
処理装置(以下rcpu。
The mask control unit 1 has a function of controlling the entire printer device, a function of creating fine print data, and a program ROM.
A central processing unit (hereinafter referred to as rcpu) that operates according to a control program written in 2.

という)により構成されている。そして、アドレスバス
6及びデータバス7を介して、各構成部材を制御するよ
うになっている。
). 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 script printing pattern creation program, and outputs control data to the data bus 7 based on commands output from the mask 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 script print pattern creation program is being executed.

印字ROM4は、指定された文字に対応するドントマト
リクス状の印字データ(通常印字)を記憶しており、マ
スク制御部1の制御に基づいてこの印字データをデータ
バス7に出力する機能を有している。
The print ROM 4 stores donmatrix 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 mask control section 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.

次に、通常の印字データをもとにして、スクリプト印字
パターンを形成するマスク制御部lによるプログラム制
御の手法を第2図に基づいて説明する。
Next, a method of program control by the mask control section 1 for forming a script print pattern based on normal print data will be described with reference to FIG.

いま、外部装置より、所定の印字指令が入力されると、
マスク制御部1は、プログラムROM2より制御プログ
ラムを読み出し、印字ROM3に印字指令に基づくドツ
トパターンを特定するアドレスをアドレスバス6を介し
て出力するとともに読み出し指令を出力し、データバス
7にこのドツトパターンを出力させる。次に、マスク制
御部1は、制御プログラムに基づいてこのドツトパター
ンを内部に取り込む。第2図(1)のドツトパターンは
、A=8行、J−5列の全40ドツトのパターンで、r
A=1;J−1,を1番地、rA=1゜J−2」を2番
地、・・・・・・、rA=2 i J=IJを6番地と
いうように区画化して考えると、この場合「7」「8」
「9」「12」「13」「14」「17」 「22」 
「27」 「28」 「29」 「32」 「33」 
「34」の各番地が「黒」ドツトで、他は「白」ドツト
になっている(このパターンを「M」とする)。第2図
(1)にこれを示す。
Now, when a predetermined print command is input from an external device,
The mask control unit 1 reads a control program from the program ROM 2, outputs an address for specifying a dot pattern based on the print command to the print ROM 3 via the address bus 6, and also outputs a read command, and outputs this dot pattern to the data bus 7. output. Next, the mask control section 1 internally imports this dot pattern based on the control program. The dot pattern in Fig. 2 (1) is a pattern of 40 dots in total in rows A = 8 and columns J-5.
A = 1; J-1, is the 1st address, rA = 1゜J-2'' is the 2nd address, rA = 2 i J = IJ is the 6th address, and so on. In this case "7""8"
"9""12""13""14""17""22"
"27""28""29""32""33"
Each address of "34" is a "black" dot, and the others are "white" dots (this pattern is called "M"). This is shown in Figure 2 (1).

ここで、パターンMのA−0行分の印字パターン(実際
には、印字ROM3より出力されないが通常「白」ドツ
トとなっている)を「AOJ 、 A−1行分の印字パ
ターンを”Ah J 、A=2行分の印字パターンをr
A2J、・・・・・・A=8行分符号字パターンを「A
、」と考える。
Here, the print pattern for line A-0 of pattern M (actually, it is not output from print ROM 3, but is usually a "white" dot) is written as "AOJ", and the print pattern for line A-1 is written as "Ah". J, A = 2 lines of printing pattern r
A2J,...A = 8 lines of code pattern "A"
,” I think.

次にパターンMの「Ao」の反転パターン「λ。」と「
A1」との論理積を求め、その演算結果を’B+ Jと
して記憶する。同様に「A、」と「A2」との論理積を
求め、その時の演算結果を’Bz Jとして記憶する。
Next, the inverted patterns “λ.” and “Ao” of pattern M.
A1'' and the logical product is calculated and the result of the operation is stored as 'B+J. Similarly, the AND of "A," and "A2" is calculated, and the result of the calculation is stored as 'Bz J.

以下、同様に「Bm」まで求める。すなわち、下記に示
す論理式%式% に基づいて、「Bmコないし「Bll」からなる新しい
印字パターンを演算し、このパターンを「N」として記
憶する。第2図(2)にこれを示す。
Hereinafter, "Bm" is determined in the same way. That is, a new print pattern consisting of "Bm" to "Bll" is calculated based on the logical formula % formula % shown below, and this pattern is stored as "N". This is shown in Figure 2 (2).

次に、パターンNの「Bl」と’Bz Jとの論理和を
求め、その演算結果を「C1」として記憶する。同様に
「Bm」と「B4」の論理和を求め、その演算結果を「
C2」として記憶する。以下、同様に「Ck」まで求め
る。すなわち、下記に示す論理式 %式% に基づいて演算し「C1」ないし「C3」からなる新し
い印字パターンを演算し、このパターンを「P」として
記憶する。この印字パターンかもとの印字パターンMの
スクリプト印字パターンとなる。第2図(3)にこれを
示す、マスク制御部1はスクリプト印字パターンPをデ
ータバス7に出力するとともに、アドレスバス6を介し
て印字制御部5に印字指令を出力する。これにより、印
字制御部5は、スクリプト印字パターンPを内部に取り
込み、これを印字する。
Next, the logical sum of "Bl" of pattern N and 'Bz J is calculated, and the result of the operation is stored as "C1". Similarly, calculate the logical sum of “Bm” and “B4” and convert the result to “
C2". Hereinafter, "Ck" is determined in the same way. That is, a new print pattern consisting of "C1" to "C3" is calculated based on the logical formula % formula % shown below, and this pattern is stored as "P". This printing pattern also becomes the script printing pattern of the original printing pattern M. The mask control section 1, shown in FIG. 2(3), outputs a script print pattern P to the data bus 7, and also outputs a print command to the print control section 5 via the address bus 6. Thereby, the print control section 5 takes in the script print pattern P and prints it.

次に、文字「e」について上記実施例を適用した場合を
、第3図ないし第5図に示す。この例では、第3図が基
本パターンMであり、この基本パターンをスクリプト化
した印字パターンPが第5図である。この場合、第4図
は、基本パターンMに対して、論理式(1)を実行して
、縦方向に2ドツト連続しないパターンN(第2図(b
)と同じ)が示されている。
Next, the case where the above embodiment is applied to the letter "e" is shown in FIGS. 3 to 5. In this example, FIG. 3 is a basic pattern M, and FIG. 5 is a print pattern P obtained by converting this basic pattern into a script. In this case, FIG. 4 shows a pattern N in which two dots are not consecutive in the vertical direction (FIG. 2 (b
) is shown.

このように、上記実施例においては、基本パターンMに
対して下記の演算を行い、そのスクリプトパターンPを
求める。その論理式を下記に示す。
In this manner, in the above embodiment, the following calculation is performed on the basic pattern M to obtain the script pattern P. The logical formula is shown below.

B、−A、、−Aa (m=1.2,3. ・・・・・z  16)(Nパタ
ーン)Cjl/□=B、−、+B。
B, -A,, -Aa (m=1.2, 3....z 16) (N pattern) Cjl/□=B, -, +B.

(m−2R;R=1.2.=、16)(Pパターン) 〔発明の効果〕 本発明は以上のように構成され機能するので、これによ
ると、原型のドツトマトリクスパターンを用いてこれを
論理演算することのみにより、鮮明なスクリプト印字パ
ターンを形成し出力することができ、従来の如くスクリ
プト文字の印字パターンを予め記憶しておく必要がない
ので、そのためのメモリ増設を特に必要としないという
従来にない優れたドツトプリンタのスクリプト印字方式
を提供することができる。
(m-2R; R=1.2.=, 16) (P pattern) [Effects of the invention] Since the present invention is configured and functions as described above, it is possible to perform this by using the original dot matrix pattern. It is possible to form and output a clear script print pattern by simply performing logical operations on the , and there is no need to memorize the print pattern of script characters in advance as in the past, so there is no need for additional memory for this purpose. It is possible to provide an unprecedented and excellent script printing method for dot printers.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の基本的構成を示す説明図、第3図ないし第5図
は各々第1図の実施例における作用を示す説明図、第6
図(1)(2)は各々従来例を示す説明図である。 1・・・・・・マスク制御部、2,3.4・・・・・・
メモリ、5・・・・・・印字制御部。 特許出願人  日 本 電 気 株式会社第1図 第2図 (a)                    (b
’)(C> 第3図 (lfダーンl1IF) 第4図      第5図 第6図
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is an explanatory diagram showing the basic configuration of the present invention, and FIGS. 3 to 5 are explanations showing the operation of the embodiment of FIG. 1. Figure, 6th
Figures (1) and (2) are explanatory diagrams showing conventional examples, respectively. 1...Mask control section, 2, 3.4...
Memory, 5...Print control unit. Patent applicant: Japan Electric Co., Ltd. Figure 1 Figure 2 (a) (b)
')(C> Figure 3 (lf dahn l1 IF) Figure 4 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】[Claims] (1)、メモリに記憶されたA_m行J_n列(但し、
m=1、2、3、・・・・・・、k;n=1、2、3、
・・・・・・、i;以下同じ)のドットパターンに対し
、まず、「@A@_m_−_1×A_m=B_m」を演
算してB_1ないしB_k行に対するJ_n列のドット
パターンNを求め、 次に、このドットパターンNに基づいて「B_m_−_
1+B_m=C_m_/_2」を演算してC_1ないし
C_k行に対するJ_n列のドットパターンPを求め、
このドットパターンPをスクリプト印字パターンとする
ことを特徴としたドットプリンタのスクリプト文字パタ
ーン発生方式。
(1), row A_m and column J_n stored in memory (however,
m = 1, 2, 3, ..., k; n = 1, 2, 3,
For the dot pattern of . Next, based on this dot pattern N, “B_m_-_
1+B_m=C_m_/_2" to find the dot pattern P of J_n column for C_1 to C_k rows,
A script character pattern generation method for a dot printer characterized in that this dot pattern P is used as a script printing pattern.
JP13741687A 1987-05-29 1987-05-29 Script character pattern generating system of dot printer Pending JPS63299950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13741687A JPS63299950A (en) 1987-05-29 1987-05-29 Script character pattern generating system of dot printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13741687A JPS63299950A (en) 1987-05-29 1987-05-29 Script character pattern generating system of dot printer

Publications (1)

Publication Number Publication Date
JPS63299950A true JPS63299950A (en) 1988-12-07

Family

ID=15198120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13741687A Pending JPS63299950A (en) 1987-05-29 1987-05-29 Script character pattern generating system of dot printer

Country Status (1)

Country Link
JP (1) JPS63299950A (en)

Similar Documents

Publication Publication Date Title
JPH0378651B2 (en)
JPS63299950A (en) Script character pattern generating system of dot printer
JP2650324B2 (en) Multi-value character font generation system
JP3082228B2 (en) Data converter
JP2881924B2 (en) Data storage device
JPS62211146A (en) Recording apparatus
JPS62136693A (en) Graphic character output system
JP2613302B2 (en) Reduction printing device
JPH0242675B2 (en)
JPS6246011B2 (en)
JP3057974B2 (en) Data converter
JPH0326558A (en) Smooth printing system in printer
JPS63212558A (en) Small character printing system for printer
JPS5931752B2 (en) printing device
JPS62162557A (en) Script character generation
JP2765118B2 (en) Print data generation circuit for dot matrix printer
JPH05309873A (en) Making device of contracted letter pattern
JP2849319B2 (en) Character pattern compression method
JPH064344B2 (en) Printer
JP2910183B2 (en) Character processor
JPH02107459A (en) Contract printing method
JPH0349965A (en) Halftone printing system of printer
JPS6188291A (en) Character font distortion correction system
JPH0410960A (en) Half tone printing method for printer
JPH04168487A (en) Character pattern generating device