JPH04310764A - Character pattern expanding method - Google Patents

Character pattern expanding method

Info

Publication number
JPH04310764A
JPH04310764A JP7772291A JP7772291A JPH04310764A JP H04310764 A JPH04310764 A JP H04310764A JP 7772291 A JP7772291 A JP 7772291A JP 7772291 A JP7772291 A JP 7772291A JP H04310764 A JPH04310764 A JP H04310764A
Authority
JP
Japan
Prior art keywords
area
attribute
printing
pattern
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
JP7772291A
Other languages
Japanese (ja)
Inventor
Kazuhisa Ariga
和寿 有賀
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP7772291A priority Critical patent/JPH04310764A/en
Publication of JPH04310764A publication Critical patent/JPH04310764A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To eliminate an external memory of a microcomputer and reduce the cost by employing an attribute area smaller than an expansion area for 1 line so as to obtain the same print result as in the case that an expansion area for 2 lines is provided and to reduce memory use quantity. CONSTITUTION:An expansion area 10 for expanding print pattern and an attribute area 11 for indicating attribute of the print pattern are provided. The print pattern is expanded in the expansion area 10 as full size character and printing is done by bringing the contents of the expansion area 10 into full size character or double height size character in accordance with the contents indicated by the attribute area 11 at printing.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はドットマトリクスにより
文字を構成するプリンタに関し、特に縦倍角を印字する
プリンタの印字パターン展開方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer that forms characters using a dot matrix, and more particularly to a printing pattern development method for a printer that prints double-height characters.

【0002】0002

【従来の技術】従来この種の技術は、図6に示すように
1行に全角文字と縦倍角文字を混在させる場合は印字パ
ターン展開領域を2行分使用し、縦倍角文字の場合は、
展開領域A60に縦倍角文字の上半分を、展開領域B6
1に縦倍角文字の下半分をのパターンを展開し、全角文
字の場合は展開領域B61に印字パターンを展開すると
いうように、展開領域2行分で印字文字1行分を構成す
るというものであった。
2. Description of the Related Art Conventionally, this type of technology uses two lines of print pattern development area when full-width characters and double-height characters are mixed in one line, as shown in FIG.
Place the upper half of the double-height characters in development area A60, and place it in development area B6.
1, the pattern for the lower half of the double-height characters is developed, and in the case of full-width characters, the printing pattern is developed in the development area B61, and so on, two lines of the development area constitute one line of printed characters. there were.

【0003】0003

【発明が解決しようとする課題】しかし、前述の従来技
術では全角文字と縦倍角文字を1行中に混在させて印字
するためには展開領域を2行分必要としていた。そのた
めメモリの使用量が多くマイクロコンピュータ内部のメ
モリだけでは足りずマイクロコンピュータ外部のメモリ
を使用しなくてはならないためコストアップするという
問題点を有する。本発明はこのような欠点を解決するた
めになされたものであり、1行の印字において全角文字
印字か縦倍角文字印字なのかを示す1行分の展開領域よ
り小さな属性領域を設け、展開領域を1行分なくし、メ
モリの使用量を減らすことを目的とする。
However, in the above-mentioned prior art, a development area of two lines is required in order to print a mixture of full-width characters and double-height characters in one line. Therefore, there is a problem in that a large amount of memory is used, and the memory inside the microcomputer is not enough and memory external to the microcomputer must be used, which increases costs. The present invention has been made to solve these drawbacks, and it provides an attribute area that is smaller than a development area for one line and indicates whether full-width characters or double-height characters are printed in one line of printing. The purpose is to eliminate one line and reduce memory usage.

【0004】0004

【課題を解決するための手段】本発明は原文字パターン
13を実際に印字するパターンに展開する展開手段12
と、展開手段が印字パターンを展開する展開領域10を
有し、展開手段が展開領域に印字パターンを展開する際
、印字する行の属性を示す属性領域11を有することを
特徴とする。
[Means for Solving the Problems] The present invention provides a developing means 12 for developing an original character pattern 13 into a pattern to be actually printed.
The present invention is characterized in that the developing means has a developing area 10 in which the printing pattern is developed, and an attribute area 11 that indicates the attribute of the line to be printed when the developing means develops the printing pattern in the developing area.

【0005】[0005]

【作用】本発明の上記の構成によれば、展開手段12が
印字パターンを展開する時に、展開領域10には実際に
印字する全角文字のドットパターンを展開し、属性領域
11には印字する文字が全角文字または縦倍角文字のど
ちらかであるかの情報を格納する。
[Operation] According to the above structure of the present invention, when the developing means 12 develops a printing pattern, the dot pattern of full-width characters to be actually printed is developed in the developing area 10, and the characters to be printed are in the attribute area 11. Stores information on whether is a full-width character or a double-height character.

【0006】印字を行うときに属性領域11の情報に従
い1行中に全角文字と縦倍角文字を混在させて印字を行
う。
When printing, full-width characters and double-height characters are mixed in one line according to the information in the attribute area 11.

【0007】というように1行の印字において全角文字
印字か縦倍角文字印字なのかを示す属性領域11を設け
ることにより、印字結果としては展開領域を2行分使用
した場合と同じ結果得られ、展開領域を1行分なくすこ
とができる。
By providing the attribute area 11 that indicates whether full-width characters or double-height characters are printed in one line of printing, the same printing result as when two lines of expansion area are used can be obtained. The expansion area can be eliminated by one line.

【0008】属性領域を1行分の展開領域より小さな領
域にすることによりメモリの使用量を削減する事ができ
る。
Memory usage can be reduced by making the attribute area smaller than the expansion area for one line.

【0009】[0009]

【実施例】図2は、本発明が適用されたプリンタの一実
施例を示すブロック図である。
Embodiment FIG. 2 is a block diagram showing an embodiment of a printer to which the present invention is applied.

【0010】マイクロコンピュータ20は内部にRAM
22を持っている。ROM21には原文字パターン、印
字ルーチン、印字パターン展開ルーチン、受信データ処
理ルーチンが記憶されており、RAM22には図3に示
すとおり受信データを貯えておく領域(以下受信バッフ
ァ30とする)、印字パターン展開ルーチンによって展
開されたパターンを格納する領域(以下イメージバッフ
ァ31とする)が全角文字で1行分、イメージバッファ
の属性を示す領域(以下属性バッファ32とする)が図
4に示すようにイメージバッファ311バイトにつき1
ビット確保されている。
The microcomputer 20 has an internal RAM.
I have 22. The ROM 21 stores original character patterns, print routines, print pattern development routines, and received data processing routines, and the RAM 22 stores an area for storing received data (hereinafter referred to as receive buffer 30) as shown in FIG. The area for storing the pattern expanded by the pattern expansion routine (hereinafter referred to as image buffer 31) is one line of full-width characters, and the area for indicating the attributes of the image buffer (hereinafter referred to as attribute buffer 32) is as shown in FIG. 1 per 311 bytes of image buffer
Bits are reserved.

【0011】I/F24より受信した印字データはRA
M22内の受信バッファ30に貯えられていく。それと
同時にROM21に記憶されているデータ処理ルーチン
に従ってRAM22内の受信バッファ30のデータは、
はじめに受け取ったものから処理され、文字データの場
合はROM21に記憶されている展開ルーチンによって
実際に印字されるパターンに展開され、RAM22に確
保されているイメージバッファ31に格納される。
[0011] The print data received from I/F 24 is RA
The data is stored in the reception buffer 30 in the M22. At the same time, according to the data processing routine stored in the ROM 21, the data in the reception buffer 30 in the RAM 22 is
The first received data is processed, and in the case of character data, it is developed into a pattern to be actually printed by a development routine stored in the ROM 21, and then stored in the image buffer 31 secured in the RAM 22.

【0012】そして、印字命令によりまたは1行分のイ
メージバッファ31が一杯になったときにROM21に
記憶されている印字ルーチンはメカ23を駆動して印字
を行う、というように構成されている。
The printing routine stored in the ROM 21 drives the mechanism 23 to perform printing in response to a printing command or when the image buffer 31 for one line becomes full.

【0013】次に印字パターンを展開する場合を下記の
ような1行の印字データにもとずいて説明する。
Next, the case of developing a print pattern will be explained based on one line of print data as shown below.

【0014】1)文字  A 2)縦倍角文字印字指定 3)文字  BC 4)縦倍角文字印字指定解除 5)文字  D  ・・・  Z 6)印字命令 この行の処理はまず”A”の文字から始まる。”A”の
印字パターンはイメージバッファ31の先頭から展開さ
れ、この時展開されたイメージバッファ31に対応する
属性領域32には何も処理は行わない。
1) Character A 2) Double-height character printing designation 3) Character BC 4) Double-height character printing designation canceled 5) Character D...Z 6) Print command The processing of this line starts with the character "A". It begins. The print pattern "A" is developed from the beginning of the image buffer 31, and no processing is performed on the attribute area 32 corresponding to the image buffer 31 developed at this time.

【0015】次に縦倍角文字印字指定の処理後に”BC
”の文字の印字パターンを”A”の文字に続き展開する
。ここではイメージバッファ31には全角文字と同じパ
ターンで展開してある。縦倍角文字印字指定の後なので
”BC”が展開されたイメージバッファ31に対応する
属性バッファ32は縦倍角文字であることを示すために
対応するビットがオンされる。
Next, after processing the double-height character printing designation, “BC
The printing pattern of the character "" is developed following the character "A".Here, it is developed in the image buffer 31 in the same pattern as the full-width characters.Since double-height character printing is specified, "BC" is developed. In the attribute buffer 32 corresponding to the image buffer 31, a corresponding bit is turned on to indicate that the character is a double-height character.

【0016】次に縦倍角文字印字指定解除の処理後に”
D”から”Z”までの文字の印字パターンを展開するが
ここでは縦倍角文字印字指定が解除されているので属性
バッファ32には処理が行われない。
Next, after the process of canceling the double-height character printing designation, "
The printing pattern for characters from "D" to "Z" is developed, but since the double-height character printing designation has been canceled here, no processing is performed on the attribute buffer 32.

【0017】次の印字命令によりこの行の印字パターン
展開処理が終了する。
The next print command completes the print pattern development process for this line.

【0018】上記の処理によりイメージバッファ31と
属性バッファ32は図4に示すとおりになるが、図中イ
メージバッファ31の●は印字すべきドットを表し、属
性領域32の●はそのビットがオンされ、そのビットに
対応するイメージバッファ31は縦倍角文字であること
を示す。
Through the above processing, the image buffer 31 and the attribute buffer 32 become as shown in FIG. 4. In the figure, the ● in the image buffer 31 represents a dot to be printed, and the ● in the attribute area 32 indicates that the bit is turned on. , indicates that the image buffer 31 corresponding to that bit is a double-height character.

【0019】印字する時には、まず属性領域にオンして
いるビットがあるかどうかを判断する。もしオンしてい
るビットがなければこの行には縦倍角文字はなくイメー
ジバッファ31の内容をそのまま印字する。
When printing, first it is determined whether or not there is a bit that is turned on in the attribute area. If no bit is turned on, there will be no double-height characters on this line and the contents of the image buffer 31 will be printed as is.

【0020】オンしているビットがある場合は縦倍角文
字があると判断して印字する。その時には、まず縦倍角
文字の上半分を1行として印字をする。
If there is a bit that is turned on, it is determined that there is a double-height character and the character is printed. In this case, first, the upper half of the double-height characters is printed as one line.

【0021】属性バッファ32のビットがオフしている
イメージバッファ31の部分は印字をせず、属性バッフ
ァ32のビットがオンしているイメージバッファ31の
データは縦倍角文字用の処理が行われ、上半分のパター
ンが印字される。
The portion of the image buffer 31 where the bit of the attribute buffer 32 is off is not printed, and the data of the image buffer 31 where the bit of the attribute buffer 32 is on is processed for double-height characters. The upper half pattern is printed.

【0022】次に縦倍角文字の下半分を1行として印字
をする。
Next, the lower half of the double-height characters is printed as one line.

【0023】属性バッファ32のビットがオフしている
イメージバッファ31の部分はそのままのデータで印字
を行い、、属性バッファ32のビットがオンしているイ
メージバッファ31のデータは縦倍角文字用の処理が行
われ、下半分のパターンが印字される。
The part of the image buffer 31 where the bit of the attribute buffer 32 is off is printed as-is, and the data of the image buffer 31 where the bit of the attribute buffer 32 is on is processed for double-height characters. is performed, and the lower half pattern is printed.

【0024】この2行分の印字により縦倍角文字を含む
1行の印字が終了する。
By printing these two lines, printing of one line including double-height characters is completed.

【0025】図4のようにイメージバッファ31と属性
バッファ32に展開された行は図5に示すような印字結
果となる。
The lines developed in the image buffer 31 and attribute buffer 32 as shown in FIG. 4 produce a printing result as shown in FIG.

【0026】[0026]

【発明の効果】以上述べたように本発明によれば、従来
展開領域を2行分使用していたのを展開領域を1行分削
減し、代わりに小さな属性領域を設けることにより、展
開領域を2行分使用した場合と同じ印字結果が得られ、
また、メモリの使用量を減らす事ができるので、外部メ
モリを使用しなくてもよくなり回路構成が簡略化されコ
ストダウンが可能となる利点を有する。
Effects of the Invention As described above, according to the present invention, the development area is reduced by one line instead of the conventional development area of two lines, and a small attribute area is provided instead. The same printing result as using two lines of is obtained,
Furthermore, since the amount of memory used can be reduced, there is no need to use an external memory, which has the advantage of simplifying the circuit configuration and reducing costs.

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

【図1】本発明の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of the present invention.

【図2】本発明の一実施例を示すブロック図。FIG. 2 is a block diagram showing one embodiment of the present invention.

【図3】本発明の一実施例のメモリマップ。FIG. 3 is a memory map of one embodiment of the present invention.

【図4】本発明の一実施例の説明図。FIG. 4 is an explanatory diagram of one embodiment of the present invention.

【図5】本発明の一実施例の説明図。FIG. 5 is an explanatory diagram of an embodiment of the present invention.

【図6】本発明の従来技術を示す説明図。FIG. 6 is an explanatory diagram showing the prior art of the present invention.

【符号の説明】[Explanation of symbols]

10    展開領域 11    属性領域 12    展開手段 13    原文字パターン 10 Deployment area 11 Attribute area 12 Deployment means 13 Original character pattern

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ドットマトリクスにより文字を構成するプ
リンタにおいて、原文字パターンを実際に印字するパタ
ーンに展開する展開手段と、前記展開手段が印字パター
ンを展開する展開領域を有し、前記展開手段が前記展開
領域に印字パターンを展開する際、印字する行の属性を
示す属性領域を有することを特徴とする印字パターン展
開方法。
Claims: 1. A printer that configures characters using a dot matrix, comprising a developing means for developing an original character pattern into a pattern to be actually printed, and a developing area for developing the printed pattern, the developing means comprising: A printing pattern development method characterized by having an attribute area indicating an attribute of a line to be printed when the printing pattern is developed in the development area.
JP7772291A 1991-04-10 1991-04-10 Character pattern expanding method Pending JPH04310764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7772291A JPH04310764A (en) 1991-04-10 1991-04-10 Character pattern expanding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7772291A JPH04310764A (en) 1991-04-10 1991-04-10 Character pattern expanding method

Publications (1)

Publication Number Publication Date
JPH04310764A true JPH04310764A (en) 1992-11-02

Family

ID=13641790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7772291A Pending JPH04310764A (en) 1991-04-10 1991-04-10 Character pattern expanding method

Country Status (1)

Country Link
JP (1) JPH04310764A (en)

Similar Documents

Publication Publication Date Title
JPS63205257A (en) Printing control system
US5136688A (en) Print data processing apparatus for an image forming apparatus
JPH0651739A (en) Method for generating character pattern and device therefor
JPH04310764A (en) Character pattern expanding method
JPS61129969A (en) Printing control device
JPS6189861A (en) Printing controller
JPS63242561A (en) Font reducing system
JPH0383673A (en) Page printer with editing function
JP2737883B2 (en) Output control device
JPH01208141A (en) Printing control apparatus
JPS59201870A (en) Printer
JPS5941051A (en) Character pattern generator
JP3437209B2 (en) Image recording device
JPS62212823A (en) Printer device
JPS63100872A (en) Hard copy system for display screen
JPS60110033A (en) Display printer
JP2836092B2 (en) Image supply device
JPH0499657A (en) Image supplying device
JPH0699615A (en) Data processing method of page printer
JP2000168150A (en) Image data-forming apparatus
JPS637963A (en) Printing apparatus
JPH06149735A (en) Data reception controller
JPS60110460A (en) Former of printing data
JPS58107591A (en) Overlapping character pattern generation system
JPH0247782A (en) Picture signal processor