JPH0462084A - Printer - Google Patents

Printer

Info

Publication number
JPH0462084A
JPH0462084A JP16555790A JP16555790A JPH0462084A JP H0462084 A JPH0462084 A JP H0462084A JP 16555790 A JP16555790 A JP 16555790A JP 16555790 A JP16555790 A JP 16555790A JP H0462084 A JPH0462084 A JP H0462084A
Authority
JP
Japan
Prior art keywords
characters
printing
data
printing position
character
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
JP16555790A
Other languages
Japanese (ja)
Inventor
Nobuhiro Kasagi
笠木 信宏
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 JP16555790A priority Critical patent/JPH0462084A/en
Publication of JPH0462084A publication Critical patent/JPH0462084A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To allow a space between characters to be fixed and thereby obtain a legible document easily by providing a master control part incorporating a microprogram which interprets data on character width and determines a printing position under control when printing 2-byte coded characters including Chinese characters and kana characters. CONSTITUTION:A master control part l incorporates. a microprogram which interprets data on character width and determines a printing position under control when 2-byte coded characters are printed. In addition, the master control part l has a function to control the entire printer device and a function to determine a printing position, and operates in accordance with a control program written in a program ROM 2. Further, the part l controls each constituent part through an address bus 6 and a data bus 7. The program ROM 2 incorporates a printer and printing position determination program which controls the whole printer device. A RAM 3 consists of a buffer memory device and is capable of storing a final print image pattern temporarily during the execution of a printing position determination program. A printing ROM 4 stores dot-matrix type print data for designated characters and character width data for character width.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は印字位置制御機能を有するプリンタに係や、特
に隣接する文字の印字部分の間隔を示す値(以下、文字
間データと呼称する)の自動決定制御機能を有するプリ
ンタに関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a printer having a print position control function, and particularly to a value indicating the interval between printed portions of adjacent characters (hereinafter referred to as character spacing data). The present invention relates to a printer having an automatic determination control function.

〔従来の技術〕[Conventional technology]

従来、この種のプリンタは漢字および仮名文字を含む2
バイトコード文字を印字する際、隣接する文字のボディ
ーフェースの規定された一点の間隔(以下、文字ピッチ
と呼称する)を常に一定の固定長で決定されていた。
Traditionally, this type of printer has been designed to handle two types of characters, including Kanji and Kana characters.
When printing bytecode characters, the interval between a specified point on the body face of adjacent characters (hereinafter referred to as character pitch) is always determined to be a fixed length.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプリンタを利用すると、漢字および仮名
文字を含む2バイトコード文字を印字する際にその文字
ピッチは常に一定の固定長で決定されていた。
When using the above-mentioned conventional printer, when printing double-byte code characters including kanji and kana characters, the character pitch is always determined to be a fixed length.

この従来のプリンタでは、文字幅のドツト数が著しく異
々る文字を混在させ、連続に印字させた場合、印字結果
においてその文字間が不定となり、可読性の劣る文書に
なるという課題があった。
This conventional printer has a problem in that when a mixture of characters with significantly different number of dots in character width is printed consecutively, the spacing between the characters becomes undefined in the printed result, resulting in a document with poor readability.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプリンタは、ドツトマトリックス型7オント構
造を有するマイクロプログラム制御のプリンタにおいて
、漢字および仮名文字を含み、1文字を区別するために
2バイト長のコードで管理され友2バイトコード文字の
印字部分の幅を示す文字幅データを格納した記憶装置と
、上記2バイトコード文字を印字する際その文字幅デー
タを解釈し印字位置を決定制御するマイクロプログラム
を含むマスタ制御部とを備えてなるものである。
The printer of the present invention is a microprogram-controlled printer having a dot matrix type 7-ont structure, and prints 2-byte code characters including Kanji and Kana characters, which are managed by 2-byte long codes to distinguish each character. A device comprising a storage device that stores character width data indicating the width of a portion, and a master control unit that includes a microprogram that interprets the character width data and determines and controls the printing position when printing the 2-byte code character. It is.

〔作用〕[Effect]

本発明においては、2バイトコード文字を印字する際に
横方向の文字幅のドツト数が著しく異なる文字を混在さ
せ連続に印字させた場合でも印字結果において、その文
字間が一定となる。
In the present invention, when printing 2-byte code characters, even if characters having significantly different numbers of dots in horizontal character width are mixed and printed consecutively, the distance between the characters is constant in the printed result.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

この第1図に示す実施例は、マスタ制御部1とプログラ
ムメモリ(プログラムROM)2 とバックアメモリか
らなるランダムアクセスメモリ(RAM)3とドツトマ
トリックスパターンメモリ(印字ROM) 4  と印
字制御部5とを有し、これらがアドレスバス6およびデ
ータバス7を介して連絡された構成となっている。
The embodiment shown in FIG. 1 includes a master control section 1, a program memory (program ROM) 2, a random access memory (RAM) 3 consisting of a backup memory, a dot matrix pattern memory (print ROM) 4, and a print control section 5. These are connected via an address bus 6 and a data bus 7.

そして、マスタ制御部1は2バイトコード文字を印字す
る際その文字幅データを解釈し印字位置を決定制御する
マイクロプログラムを含み、このマスタ制御部1はプリ
ンタ装置全体を制御する機能および印字位置決定機能と
を持ち、プログラムROM2 に書き込まnた制御プロ
グラムにしたがって動作する中央処理装置にニジ構成さ
nている。
The master control unit 1 includes a microprogram that interprets the character width data and determines and controls the print position when printing a 2-byte code character, and this master control unit 1 has the function of controlling the entire printer device and determining the print position. It has a central processing unit that operates according to a control program written in a program ROM 2.

−tLで、アドレスバス6お工びデータバス7を介して
各構成部を制御するように構成されている。
-tL, each component is controlled via an address bus 6 and a data bus 7.

プログラムROM2はプリンタ装置全体を制御するプロ
グラムおよび印字位置決定プログラムとをP[している
。RAM3はバッファメモリからなり、印字位置決定プ
ログラム実行中に最終印字イメージパターンを一時的に
記憶する機能を有している。
The program ROM 2 contains a program for controlling the entire printer device and a print position determination program. The RAM 3 is composed of a buffer memory and has a function of temporarily storing the final print image pattern during execution of the print position determination program.

印字ROM4は指定さnた文字に対応するドツトマトリ
ックス形の印字データおよび各文字に対する文字幅デー
タを格納しており、マスタ制御部1の制御に基づいて、
この印字データをデータバス7に出力する機能を有して
いる。そして、この印字ROM4は漢字および仮名文字
を含み、1文字を区別するために2バイト長のコードで
管理された2バイトコード文字の印字部分の幅を示す文
字幅データを格納した記憶装置である。
The print ROM 4 stores dot matrix print data corresponding to specified characters and character width data for each character. Based on the control of the master control unit 1,
It has a function of outputting this print data to the data bus 7. The print ROM 4 is a storage device that stores character width data indicating the width of the printed portion of 2-byte code characters, which include kanji and kana characters and are managed using 2-byte long codes to distinguish each character. .

印字制御部5はデータバス7を介して印字データを入力
するとともに、こnを印字機構部(図示せず)に送p、
ドツト印字を行う機能を持っている。
The print control section 5 inputs print data via the data bus 7, and sends this data to a printing mechanism section (not shown).
It has the function of dot printing.

つぎにこの@1図に示す実施例の動作を説明する。Next, the operation of the embodiment shown in FIG. @1 will be explained.

通常の印字データをもとにして2バイトコード文字を印
字する際のマスタ制御部1による印字位置決定プログラ
ム制御の手法を第1図の動作原理の説明図である第2図
に基づいて説明する。
A method of controlling the print position determination program by the master control unit 1 when printing 2-byte code characters based on normal print data will be explained based on FIG. 2, which is an explanatory diagram of the operating principle of FIG. 1. .

今、上位装置エフ第2図(a)に示し次パターンを印字
するデータが入力されると、マスタ制御部1はプログラ
ムROM2よジ制御プログラムを読み出し、これを実行
する。なお、この第2図(a)に示すパターンにおける
1つ1つの文字に対して2バイトのコードが対応するそ
の対応コードは、「さ」が2435、「シ」が2437
、「す」が2439である。そして、マスタ制御部1は
、印字ROM4に印字指令に基づくパターン(第2図(
、)参照)を特定するアドレスをアドレスバス6を介し
て出力するとともに、読み出し指令を出力し、データバ
スγにこのドツトパターンお工び各文字の文字幅データ
(第2図(b)参照)を出力させる。
Now, when data for printing the next pattern shown in FIG. 2(a) is input to the host device F, the master control section 1 reads out the control program from the program ROM 2 and executes it. In addition, the corresponding codes in which 2-byte codes correspond to each character in the pattern shown in FIG. 2(a) are 2435 for "sa" and 2437 for "shi".
, "su" is 2439. Then, the master control unit 1 stores a pattern (see FIG. 2) based on the print command in the print ROM 4.
, )) is output via the address bus 6, and a read command is also output, and the character width data of each character (see Figure 2 (b)) is sent to the data bus γ using this dot pattern. output.

つぎに、マスタ制御部1は各文字の文字幅、デる印字位
置決定プログラムに基づいてこのドツトパターンをバッ
ファメモリからなるRAM 3に一時的に記憶させる。
Next, the master control section 1 temporarily stores this dot pattern in the RAM 3 consisting of a buffer memory based on the character width of each character and the print position determination program.

これによp、第2図(e)に示したように文字幅データ
を考慮し彦い従来の印字位置決定による最終印字イメー
ジパターン処理では非常に可読性の劣る文書であったが
、本発明による最終印字イメージパターンは第2図(d
)に示すように文字量値が一定(ロ)となシ、可読性の
よい文書が簡易に得られる。
As a result, as shown in Fig. 2(e), the document had very poor readability when the final print image pattern was processed by conventional printing position determination in consideration of character width data, but the present invention The final print image pattern is shown in Figure 2 (d
) As shown in (b), if the character amount value is constant (b), a document with good readability can be easily obtained.

そして、マスタ制御部1によジ、印字位置決定制御プロ
グラムに基づいて内部にドツトパターンをRAM3に一
時的に展開、記憶させた後、データバス7を経由して印
字制御部5へ転送し印字を行う。
Then, the master control unit 1 temporarily develops and stores the dot pattern internally in the RAM 3 based on the print position determination control program, and then transfers it to the print control unit 5 via the data bus 7 for printing. I do.

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

以上説明したように本発明は、漢字および仮名文字を含
む2バイトコード文字を印字する際に文字毎に可変する
文字幅データを記録している記憶装置と、その文字幅デ
ータを解釈し印字位置を決定制御するマイクロプログラ
ムを含むマスタ制御部を有することに工p、上記2バイ
トコード文字を印字する際に横方向の文字幅のドツト数
が著しく異々る文字を混在させ連続に印字させた場合で
も印字結果において、その文字間が一定となり、可読性
のよい文書が簡易に得られるという効果がある。
As explained above, the present invention includes a storage device that records character width data that varies for each character when printing 2-byte code characters including kanji and kana characters, and a storage device that records character width data that varies for each character, In order to have a master control unit that includes a microprogram that determines and controls the characters, when printing the 2-byte code characters mentioned above, characters with significantly different numbers of dots in the horizontal character width are mixed and printed continuously. Even in the case of printing, the character spacing is constant in the printed result, and a document with good readability can be easily obtained.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の動作原理の説明図である。 1・・・・マスタ制御部、2・・・・プロゲラ1¥二」
ハ〜 ムROM 、  4・・・・印字ROM 、5・・・・
印字制御部。 第1 (d) 1区  仄 (e)
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is an explanatory diagram of the operating principle of FIG. 1. 1...Master control unit, 2...Progera 1 yen 2"
Ham ROM, 4...Print ROM, 5...
Print control section. 1st (d) 1st ward 组(e)

Claims (1)

【特許請求の範囲】[Claims] ドットマトリックス型フォント構造を有するマイクロプ
ログラム制御のプリンタにおいて、漢字および仮名文字
を含み1文字を区別するために2バイト長のコードで管
理された2バイトコード文字の印字部分の幅を示す文字
幅データを格納した記憶装置と、前記2バイトコード文
字を印字する際その文字幅データを解釈し印字位置を決
定制御するマイクロプログラムを含むマスタ制御部とを
備えてなることを特徴とするプリンタ。
Character width data that indicates the width of the printed portion of 2-byte code characters, which are managed by 2-byte length codes to distinguish each character, including Kanji and Kana characters, in a microprogram-controlled printer with a dot-matrix font structure. and a master control section including a microprogram that interprets the character width data and determines and controls the printing position when printing the 2-byte code character.
JP16555790A 1990-06-26 1990-06-26 Printer Pending JPH0462084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16555790A JPH0462084A (en) 1990-06-26 1990-06-26 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16555790A JPH0462084A (en) 1990-06-26 1990-06-26 Printer

Publications (1)

Publication Number Publication Date
JPH0462084A true JPH0462084A (en) 1992-02-27

Family

ID=15814627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16555790A Pending JPH0462084A (en) 1990-06-26 1990-06-26 Printer

Country Status (1)

Country Link
JP (1) JPH0462084A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9562260B2 (en) 1997-05-02 2017-02-07 Biomerieux, Inc. Nucleic acid amplification reaction station for disposable test devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9562260B2 (en) 1997-05-02 2017-02-07 Biomerieux, Inc. Nucleic acid amplification reaction station for disposable test devices

Similar Documents

Publication Publication Date Title
GB2105887A (en) Print control system
JPH0263763A (en) Printing apparatus
JPH0462084A (en) Printer
JPH02269069A (en) Document processor
JPH03213367A (en) Multicolor printer
US5878200A (en) Document processing apparatus for displaying inputted data in a print area based upon the size of a recording material and the reprinted data printed thereon
JPH01229673A (en) English and european writing printing control system
JP2670447B2 (en) Output device and method
JPH01281963A (en) Document processing device
JPH0398115A (en) Sentence processor
JP2903516B2 (en) Document processing device
JPS6189861A (en) Printing controller
JPS6334153A (en) Dot matrix printer
JP2554225B2 (en) Text output device
JPH0621978B2 (en) Print control device
JPH0469261A (en) Printer
JPS63242561A (en) Font reducing system
JP2940140B2 (en) Document data processing device
JP3320566B2 (en) Character symbol conversion device and printer
JPH07101113A (en) Printer
JPH06168239A (en) Document preparing device
JPH03112668A (en) Printer
JPH07106654B2 (en) Information processing method
JPS62221546A (en) Printing speed control system
JPS6219475A (en) Printer