JPH0876737A - Method for converting character pattern data - Google Patents

Method for converting character pattern data

Info

Publication number
JPH0876737A
JPH0876737A JP6210159A JP21015994A JPH0876737A JP H0876737 A JPH0876737 A JP H0876737A JP 6210159 A JP6210159 A JP 6210159A JP 21015994 A JP21015994 A JP 21015994A JP H0876737 A JPH0876737 A JP H0876737A
Authority
JP
Japan
Prior art keywords
bits
data
character pattern
bit
pattern data
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.)
Withdrawn
Application number
JP6210159A
Other languages
Japanese (ja)
Inventor
Hajime Ura
一 浦
Shinichi Ido
慎一 井戸
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Microcomputer System Ltd
Hitachi Ltd
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 Hitachi Microcomputer System Ltd, Hitachi Ltd filed Critical Hitachi Microcomputer System Ltd
Priority to JP6210159A priority Critical patent/JPH0876737A/en
Publication of JPH0876737A publication Critical patent/JPH0876737A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE: To easily convert the character pattern data of a standard style into the pattern data of an Italic style at a high speed by shifting extracted bits by shifting these bits in the row direction by as much as a prescribed quantity according to the positions of the bits, then putting the bits into a readable and reloadable memory. CONSTITUTION: The data on 8 bits in the vertical direction of the respective patterns in a character pattern ROM storing the character pattern data with column arrangement constitution are simultaneously read out and the one bit or several bits are extracted therefrom and are put into a work RAM after the bits are shifted in the row direction by as much as a prescribed quantity according to the positions of the extracted bits. More specifically, for example, the bits are put into the RAM by shifting the bits laterally by three pits as to the 1, 2 bits from above, shifting the bits by 2 bits laterally as to the 3, 4 bits from above, shifting the bits laterally by one bit as to the 5, 6 bits from above and without shifting the bits as to the 1, 2 bits from below in the case of 8 bits in the vertical direction of the pattern data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、メモリ内データの配列
変更技術さらには文字、記号等のキャラクタパターンの
ドット並び変えに適用して特に有効な技術に関し、例え
ばインクジェットプリンタにおける文字変換に利用して
有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for changing the arrangement of data in a memory, and more particularly to a technique which is particularly effective when applied to a dot arrangement of a character pattern such as characters and symbols. And effective technology.

【0002】[0002]

【従来の技術】従来、プリンタや表示制御装置には文
字、記号等のキャラクタパターンデータが格納されたR
OM(リード・オンリ・メモリ)が内蔵されており、与
えられた文字コードに対応したパターンデータを読み出
して紙あるいは表示画面上に出力するように構成されて
いた。ところで、インクジェットプリンタに内蔵される
キャラクタパターンデータROMには、図1(a)に示
されているように、1つのキャラクタパターンに関して
パターンの縦方向8ドットに対応した8ビットのデータ
が一括して読み出されるように構成されていた。なお、
図1(b)は、図1(a)のデータを読み出してプリン
タで印字したときのドットパターンである。
2. Description of the Related Art Conventionally, a printer or a display control device stores character pattern data such as characters, symbols, and the like.
An OM (Read Only Memory) was built in, and the pattern data corresponding to a given character code was read and output on paper or a display screen. By the way, as shown in FIG. 1A, the character pattern data ROM incorporated in the ink jet printer collectively stores 8-bit data corresponding to 8 dots in the vertical direction of one character pattern. It was configured to be read. In addition,
FIG. 1B is a dot pattern when the data of FIG. 1A is read and printed by the printer.

【0003】[0003]

【発明が解決しようとする課題】インクジェットプリン
タのキャラクタパターンデータROMには、一般に標準
書体のキャラクタパターンのみが格納されているが、図
4(b)に示されているようなイタリック書体のキャラ
クタパターンを出力できるようなプリンタが望まれてい
る。この場合、そのような要望に応える方法として、キ
ャラクタパターンデータROMに、標準書体のキャラク
タパターンの他にイタリック書体のキャラクタパターン
を格納しておく方法と、標準書体のキャラクタパターン
を読み出してイタリック書体のキャラクタパターンに変
換してから出力する変換方法とが考えられる。
The character pattern data ROM of the ink jet printer generally stores only the character pattern of the standard typeface, but the character pattern of the italic typeface as shown in FIG. 4B is used. There is a demand for a printer that can output the. In this case, as a method of responding to such a demand, a method of storing a character pattern of italic typeface in addition to the character pattern of the standard typeface in the character pattern data ROM and a method of reading the character pattern of the standard typeface to read the italic typeface A conversion method in which the character pattern is converted and then output is considered.

【0004】ところが、前者にあっては、キャラクタパ
ターンデータROMの容量もしくは数量が多くなり、コ
ストアップになるという不都合がある。一方、後者の方
法にあっては、イタリック書体のキャラクタパターンは
標準書体のパターンを傾けたものであり、キャラクタパ
ターンを構成する各ドットを単に横方向にシフトするこ
とで得られるので、ソフトウェアにより変換することが
できる。
However, in the former case, the capacity or quantity of the character pattern data ROM is increased, which causes a problem of cost increase. On the other hand, in the latter method, the italic typeface character pattern is a tilted version of the standard typeface pattern and can be obtained by simply laterally shifting the dots that make up the character pattern. can do.

【0005】しかしながら、インクジェットプリンタの
キャラクタパターンROMは前述したように、パターン
の縦方向8ビットのデータが一括して読み出される構成
であるため、イタリック書体のキャラクに変換するに
は、列構成のパターンの縦1列のデータを読み出してそ
の中から1ビットを抽出してワークRAMに入れ、全部
のビットについてそれを行って、パターンデータを図2
に示すような行配列構成に一旦変換し、それから行単位
でそれぞれ所定の量だけ横にシフトしてRAMに戻すこ
とで図3に示すようなイタリック書体用のパターンデー
タを得、さらにこの行配列構成のパターンデータを、縦
方向の列ごとに読み出せるようにするため再び図4
(a)のような列配列構成のパターンデータに変換する
処理が必要である。そのため、上記のようなキャラクタ
の変換方式は手順が極めて繁雑で、ソフトウェアの負担
が大きくなり変換処理速度が遅くなるという問題点があ
ることが明らかになった。
However, as described above, the character pattern ROM of the ink jet printer has a structure in which the vertical direction 8-bit data of the pattern is collectively read. Therefore, in order to convert it to the italic typeface character, the pattern of the column structure is used. 1 column of data is read out, 1 bit is extracted from it, it is put in the work RAM, it is performed for all the bits, and the pattern data is shown in FIG.
The row data is converted into a row array configuration as shown in FIG. 1 and then horizontally shifted by a predetermined amount for each row and returned to the RAM to obtain pattern data for italic typeface as shown in FIG. To make it possible to read the pattern data of the configuration for each column in the vertical direction, FIG.
It is necessary to perform processing for converting into pattern data having a column array configuration as shown in (a). Therefore, it has become clear that the character conversion method as described above has a problem that the procedure is extremely complicated, the load of software is increased, and the conversion processing speed becomes slow.

【0006】この発明の目的は、列配列構成でメモリに
格納されている標準書体のキャラクタパターンデータを
比較的簡単かつ高速にイタリック書体のパターンデータ
に変換可能なデータ配列変換方法を提供することにあ
る。
An object of the present invention is to provide a data array conversion method capable of converting character pattern data of a standard typeface stored in a memory in a column array configuration into italic typeface pattern data relatively easily and at high speed. is there.

【0007】この発明の他の目的は、少ない容量のパタ
ーンデータメモリで多様なキャラクタを印字することが
できるプリンタ制御装置を提供することにある。
Another object of the present invention is to provide a printer control device capable of printing various characters with a pattern data memory having a small capacity.

【0008】この発明の前記ならびにそのほかの目的と
新規な特徴については、本明細書の記述および添附図面
から明らかになるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0009】[0009]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を説明すれば、下記のと
おりである。
The typical ones of the inventions disclosed in the present application will be outlined below.

【0010】すなわち、キャラクタパターンデータが列
配列構成で格納されたキャラクタパターンROM内の各
パターンの縦方向8ビットのデータを一括して読み出し
てその中から1ビットもしくは数ビットを抽出して、図
5に示すように抽出したビットの位置に応じて所定の量
だけ行方向へずらしてワークRAMに入れる。具体的に
は、例えばパターンデータの縦方向が8ビットの場合に
は、上から1,2ビットについては3ビット分横にずら
し、上から3,4ビットについては2ビット分横にずら
し、上から5,6ビットについては1ビット分横にずら
し、下から1,2ビットについてはずらすことなくRA
Mに入れる。ずらしたデータをワークRAMに入れる際
には、RAMの転送先の位置にもともと入ってるビット
データとの論理和をとって書き込むようにする。先に転
送したビットデータが既にある場合において、そのデー
タが後のデータで上書きされてしまわないように保護す
るためである。
That is, the vertical 8-bit data of each pattern in the character pattern ROM, in which the character pattern data is stored in a column arrangement, is read all at once, and one bit or several bits are extracted from the data. As shown in FIG. 5, a predetermined amount is shifted in the row direction according to the position of the extracted bit, and the data is placed in the work RAM. Specifically, for example, when the vertical direction of the pattern data is 8 bits, the first and second bits are horizontally shifted by 3 bits, and the third and fourth bits are horizontally shifted by 2 bits, and From 5 to 6 bits are shifted horizontally by 1 bit, and from the 1st and 2nd bits from bottom to RA without shifting
Put in M. When the shifted data is put into the work RAM, it is written by taking the logical sum of the bit data originally contained in the transfer destination position of the RAM. This is to protect the bit data that has already been transferred from being overwritten by subsequent data when there is already bit data.

【0011】なお、転送先となるワークRAMには予め
全ビットにそれぞれ「0」を書き込んでおく。ただし、
この明細書においては、ビット「0」が印字ドットの白
に対応し、ビット「1」が印字ドットの黒に対応するも
のとする。上記操作を列の数だけ繰り返し行うことで、
図4(b)に示すようなイタリック書体用のパターンデ
ータへの変換が終了する。印字の際には、通常と同様
に、縦方向の列ごとにデータを読み出すようにすればよ
い。
It should be noted that "0" is written in all bits in advance in the work RAM as the transfer destination. However,
In this specification, bit "0" corresponds to the print dot white, and bit "1" corresponds to the print dot black. By repeating the above operation for the number of columns,
The conversion to the italic typeface pattern data as shown in FIG. 4B is completed. At the time of printing, the data may be read out for each column in the vertical direction as usual.

【0012】上記ビットの抽出に際しては、抽出しよう
とするビットが「1」にされそれ以外のビットは「0」
にされているデータ(例えば上から1,2ビットの抽出
に際しては「11000000」)をマスクデータとし
て、これとキャラクタパターンROMから読み出された
縦1列分のビットデータとの論理積をとるようにすれば
よい。
When extracting the above bits, the bit to be extracted is set to "1" and the other bits are set to "0".
The masked data (for example, "11000000" when extracting 1 or 2 bits from the top) is used as the mask data, and the bit data for one vertical column read from the character pattern ROM is ANDed. You can do this.

【0013】[0013]

【作用】上記した手段によれば、キャラクタパターンR
OM内の列配列構成の各パターンデータを一旦行配列構
成のパターンデータに変換した後再び列配列構成に戻す
といった複雑な処理をすることなく、標準書体のキャラ
クタパターンをイタリック書体のキャラクタパターンに
変換することができる。
According to the above means, the character pattern R
Converts a standard typeface character pattern to an italic typeface character pattern without performing complicated processing such as once converting each pattern data of the column array configuration in the OM to the pattern data of the row array configuration and then returning to the column array configuration again. can do.

【0014】また、ビットの抽出に際しては、抽出しよ
うとするビットが「1」にされそれ以外のビットは
「0」にされているデータをマスクデータとして使用す
れば、論理演算のみで変換を行える。
When extracting bits, if the data to be extracted is set to "1" and the other bits are set to "0" as mask data, conversion can be performed only by logical operation. .

【0015】[0015]

【実施例】以下、本発明の好適な実施例を図面に基づい
て説明する。一例として、縦8ドット横10ドットの標
準書体のキャラクタパターンをイタリック書体のキャラ
クタパターンに変換する場合について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. As an example, a case where a character pattern of a standard typeface having 8 dots vertically and 10 dots horizontally is converted into a character pattern of italic typeface will be described.

【0016】図6には左側にキャラクタパターンROM
に格納されている変換前のパターンデータの一例が、ま
た右側に転送先のワークRAMが示されている。左側の
ROM内のパターンデータを変換する場合、先ず1番左
の縦1列8ビットのデータD1をROMから読み出す。
読み出された8ビットのデータと「11000000」
との論理積をとる。ワークRAMの左から4番列目のア
ドレス位置(転送先)に入っているデータ(最初はオー
ル「0」)を読み出して、上記論理積結果の8ビットデ
ータとの論理和をとってワークRAMの転送先アドレス
位置A4に入れる。これによって、2ビットの変換が終
了する。
In FIG. 6, a character pattern ROM is shown on the left side.
Shows an example of the pattern data before conversion stored in, and the transfer destination work RAM is shown on the right side. When converting the pattern data in the ROM on the left side, first, the leftmost vertical 1-column 8-bit data D1 is read from the ROM.
Read out 8-bit data and "11000000"
AND with. The data (initially all "0") in the address position (transfer destination) in the fourth column from the left of the work RAM is read, and the work RAM is calculated by ORing with the 8-bit data of the logical product result. In the transfer destination address position A4. This completes the 2-bit conversion.

【0017】次に、1番左の縦1列8ビットのデータD
1をROMから読み出す。読み出された8ビットのデー
タと「00110000」との論理積をとる。ワークR
AMの左から3番列目のアドレス位置(転送先)に入っ
ているデータを読み出して、上記論理積結果の8ビット
データとの論理和をとってワークRAMの転送先アドレ
ス位置A3に入れる。
Next, the leftmost vertical 1 column 8 bit data D
Read 1 from ROM. The logical product of the read 8-bit data and "00110000" is calculated. Work R
The data in the address position (transfer destination) in the third column from the left of AM is read out, the logical sum is obtained with the 8-bit data of the logical product result, and the result is placed in the transfer destination address position A3 of the work RAM.

【0018】次に、1番左の縦1列8ビットのデータD
1をROMから読み出す。読み出された8ビットのデー
タと「00001100」との論理積をとる。ワークR
AMの左から2番列目のアドレス位置(転送先)に入っ
ているデータを読み出して、上記論理積結果の8ビット
データとの論理和をとってワークRAMの転送先アドレ
ス位置A2に入れる。
Next, the leftmost vertical 1 column 8 bit data D
Read 1 from ROM. The logical product of the read 8-bit data and "00001100" is calculated. Work R
The data in the address position (transfer destination) in the second column from the left of AM is read out, the logical sum is obtained with the 8-bit data of the logical product result, and the result is placed in the transfer destination address position A2 of the work RAM.

【0019】次に、1番左の縦1列8ビットのデータD
1をROMから読み出す。読み出された8ビットのデー
タと「00000011」との論理積をとる。ワークR
AMの1番左の列のアドレス位置(転送先)に入ってい
るデータを読み出して、上記論理積結果の8ビットデー
タとの論理和をとってワークRAMの転送先アドレス位
置A1に入れる。
Next, the leftmost vertical 1 column 8 bit data D
Read 1 from ROM. The logical product of the read 8-bit data and "00000011" is calculated. Work R
The data in the address position (transfer destination) in the leftmost column of AM is read out, and the logical sum of the data with the 8-bit data of the above logical product result is put into the transfer destination address position A1 of the work RAM.

【0020】次に、左から2番目の縦1列8ビットのデ
ータD2をROMから読み出す。読み出された8ビット
のデータと「11000000」との論理積をとる。ワ
ークRAMの左から5番列目のアドレス位置(転送先)
に入っているデータを読み出して、上記論理積結果の8
ビットデータとの論理和をとってワークRAMの転送先
アドレス位置A5に入れる。
Next, the second vertical column 1-bit data D2 from the left is read from the ROM. The logical product of the read 8-bit data and "11000000" is calculated. Address position in the fifth column from the left of the work RAM (transfer destination)
Read the data in the
The logical sum with the bit data is taken and placed in the transfer destination address position A5 of the work RAM.

【0021】以下、同様にして左から2番目の縦1列8
ビットデータD2の転送を行う。しかる後、左から3番
目の縦1列8ビットデータD3について同様の処理を行
う。これを最後の10列目の8ビットデータまで繰り返
す。以上によって1つの標準書体のパターンデータのイ
タリック書体への変換が終了する。
Similarly, the second column from the left and the first column 8
The bit data D2 is transferred. After that, the same processing is performed on the third vertical 1-column 8-bit data D3 from the left. This is repeated up to the last 10th column of 8-bit data. The above completes the conversion of the pattern data of one standard typeface into the italic typeface.

【0022】なお、ROM内のビットデータをずらして
RAMに入れる際、右にずらすことによって転送先のR
AMアドレスがなくなったときは、左側に戻って転送先
アドレスを決定するようにする。すなわち、図6の右側
のRAMの右端は左端に連続して円筒状をなしているも
のとして扱う。例えば、図6において、符号D8−1で
示されている2ビットのデータは、RAMの左側のアド
レス位置A1に格納する。
When the bit data in the ROM is shifted into the RAM, it is shifted to the right by the R of the transfer destination.
When the AM address is used up, the transfer destination address is determined by returning to the left side. That is, the right end of the RAM on the right side of FIG. 6 is treated as a cylindrical shape that is continuous with the left end. For example, in FIG. 6, the 2-bit data indicated by reference sign D8-1 is stored in the address position A1 on the left side of the RAM.

【0023】次に、上記変換方法を適用して好適なイン
クジェットプリンタの制御装置の構成例について、図7
を用いて説明する。図7に示すように、インクジェット
プリンタの制御装置は、マイクロプロセッサ1と、マイ
クロプロセッサの作業領域を提供するスタティックRA
Mからなるワークメモリ2と、標準書体のキャラクタパ
ターンデータが格納されたフォントメモリ3と、ダイナ
ミック型メモリからなりホストコンピュータ等から送ら
れてくる印字すべきデータ(文字コード)の保持や最終
的な印字データを保持するバッファとしてのラインメモ
リ4とを備え、これらはシステムバス12によって互い
にデータ転送可能に接続されている。
Next, FIG. 7 shows an example of the configuration of a control device of an ink jet printer which is suitable for applying the above conversion method.
Will be explained. As shown in FIG. 7, the controller of the inkjet printer includes a microprocessor 1 and a static RA that provides a working area for the microprocessor.
A work memory 2 made of M, a font memory 3 in which character pattern data of a standard typeface is stored, and a dynamic type memory for holding data to be printed (character code) sent from a host computer or the like and finally A line memory 4 as a buffer for holding print data is provided, and these are connected to each other by a system bus 12 so as to be capable of data transfer.

【0024】上記実施例のパターン変換を行う場合に
は、まず印字すべきキャラクタのコードが上記ラインメ
モリ4から読み出され、このコードに対応した標準書体
のキャラクタパターンデータがフォントメモリ3から読
み出される。そして、ワークメモリ2を使用して、上述
したようなマスク処理およびシフト処理が行われて、イ
タリック書体のキャラクタパターンデータが形成され、
最終的にラインメモリ4に格納される。
When the pattern conversion of the above embodiment is performed, first, the code of the character to be printed is read from the line memory 4, and the character pattern data of the standard typeface corresponding to this code is read from the font memory 3. . Then, the work memory 2 is used to perform the above-described mask processing and shift processing to form italic typeface character pattern data,
Finally, it is stored in the line memory 4.

【0025】さらに、図7のインクジェットプリンタ制
御装置には、プリンタのヘッド駆動用CRモータ21お
よび紙送り用LFモータ22の駆動信号を形成し、出力
するCR/LFモータドライブ回路6と、インクをヘッ
ドに供給し、噴出させるポンプ/ソレノイド23の駆動
信号を形成し、出力するポンプ/ソレノイド・ドライブ
回路7と、メッセージ等を表示するパネル表示器および
入力操作キーを制御する制御部8と、上記ラインメモリ
4から読み出された印字データをシリアルデータに変換
してプリンタヘッド24へ出力するパラレル/シリアル
データ変換回路9と、紙なしやインキ切れ等の状態を検
出するセンサ25からの信号を監視するセンス回路10
と、ホストのパーソナルコンピュータ26との間のイン
タフェースを行うインタフェース回路11と、システム
全体を制御するシステムコントロール回路12と、モー
ド等を設定するためのディップスイッチ13等が設けら
れている。
Further, in the ink jet printer control apparatus of FIG. 7, a CR / LF motor drive circuit 6 for forming and outputting drive signals for the CR head driving CR motor 21 and the paper feeding LF motor 22 of the printer, and the ink. A pump / solenoid drive circuit 7 that forms and outputs a drive signal for the pump / solenoid 23 that is supplied to the head and ejected, a panel display that displays messages and the like, and a controller 8 that controls the input operation keys, and Monitors signals from the parallel / serial data conversion circuit 9 that converts the print data read from the line memory 4 into serial data and outputs the serial data to the printer head 24, and the sensor 25 that detects a condition such as paper out or ink shortage. Sense circuit 10
An interface circuit 11 for interfacing with the host personal computer 26, a system control circuit 12 for controlling the entire system, a dip switch 13 for setting modes and the like are provided.

【0026】以上説明したように、上記実施例は、キャ
ラクタパターンデータが列配列構成で格納された読出し
専用メモリ内から各パターンの縦方向のビット列データ
を一括して読み出してその中から1ビットもしくは数ビ
ットを抽出して、抽出したビットの位置に応じて所定の
量だけ行方向へずらして読出し書込み可能なメモリに入
れ、これを当該パターンの全ビット列について繰り返す
ようにしたので、列配列構成の各パターンデータを一旦
行配列構成のパターンデータに変換した後再び列配列構
成に戻すといった複雑な処理をすることなく、標準書体
のキャラクタパターンをイタリック書体のキャラクタパ
ターンに変換することができ、これによってソフトウェ
アの負担が軽減されるるという効果がある。
As described above, in the above embodiment, the vertical bit string data of each pattern are collectively read out from the read-only memory in which the character pattern data is stored in the column array structure, and 1 bit or It extracts a few bits, shifts them by a predetermined amount in the row direction according to the position of the extracted bits, puts them in a readable / writable memory, and repeats this for all bit strings of the pattern. It is possible to convert a standard typeface character pattern to an italic typeface character pattern without performing complicated processing such as once converting each pattern data into row array configuration pattern data and then returning to the column array configuration again. This has the effect of reducing the load on the software.

【0027】また、上記読出し書込み可能なメモリヘビ
ットデータを入れる際に、転送先の位置に既に入ってる
ビットデータとの論理和をとって書き込むようにしたの
で、先に転送したビットデータが既にある場合におい
て、そのデータが後のデータで上書きされてしまわない
ように保護することができるという効果がある。
Further, when the bit data is put into the readable / writable memory, the bit data already stored in the transfer destination position is logically ORed and written. In some cases, the data can be protected from being overwritten by later data.

【0028】さらに、上記ビットの抽出に際しては、抽
出しようとするビットが「1」にされそれ以外のビット
は「0」にされているデータをマスクデータとして、こ
れと上記読出し専用メモリから読み出された縦1列分の
ビットデータとの論理積をとるようにしたので、論理演
算のみでパターンデータの変換を行うことができるとい
う効果がある。
Further, in extracting the above bits, data in which the bit to be extracted is set to "1" and the other bits are set to "0" is used as mask data and is read from the read-only memory. Since the logical product is obtained with the bit data for one vertical column, the pattern data can be converted only by the logical operation.

【0029】以上本発明者によってなされた発明を実施
例に基づき具体的に説明したが、本発明は上記実施例に
限定されるものではなく、その要旨を逸脱しない範囲で
種々変更可能であることはいうまでもない。例えば列配
列構成でメモリに格納されているイタリック書体のキャ
ラクタパターンデータを標準書体のパターンデータに変
換する場合にも、上記実施例におけるシフト方向を逆に
するだけで簡単に適用することができる。
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say. For example, when converting italic typeface character pattern data stored in the memory in a column array configuration into standard typeface pattern data, it can be easily applied by only reversing the shift direction in the above embodiment.

【0030】以上の説明では主として本発明者によって
なされた発明をその背景となった利用分野であるインク
ジェットプリンタにおけるパターンデータの変換に適用
した場合について説明したが、本発明はそれに限定され
るものでなく、列配列構成でメモリに格納されているパ
ターンデータをシフト動作で変形させて出力するプリン
タもしくは表示装置に広く利用することができる。
In the above description, the case where the invention made by the present inventor is mainly applied to the conversion of pattern data in an ink jet printer which is a field of application which is the background of the invention has been described, but the present invention is not limited thereto. Instead, it can be widely used for a printer or a display device that transforms pattern data stored in a memory in a column arrangement configuration by a shift operation and outputs the transformed pattern data.

【0031】[0031]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば下記
のとおりである。
The effects obtained by the representative one of the inventions disclosed in the present application will be briefly described as follows.

【0032】すなわち、列配列構成でメモリに格納され
ている標準書体のキャラクタパターンデータを比較的簡
単かつ高速にイタリック書体のパターンデータに変換す
ることができる。
That is, it is possible to convert the character pattern data of the standard typeface stored in the memory in the column arrangement configuration into the pattern data of the italic typeface relatively easily and at high speed.

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

【図1】変換される前のROM内の標準書体のキャラク
タパターンデータと出力されるドットパターンの一例を
示す説明図、
FIG. 1 is an explanatory diagram showing an example of character pattern data of a standard typeface in a ROM before conversion and an output dot pattern;

【図2】ソフトウェアによるキャラクタパターンデータ
の変換方法の概略を示す説明図、
FIG. 2 is an explanatory view showing an outline of a conversion method of character pattern data by software,

【図3】本発明に先立って検討したキャラクタパターン
データの変換方法の概略を示す説明図、
FIG. 3 is an explanatory diagram showing an outline of a character pattern data conversion method examined prior to the present invention;

【図4】変換後のイタリック書体のキャラクタパターン
データと出力されるドットパターンの一例を示す説明
図、
FIG. 4 is an explanatory diagram showing an example of converted italic typeface character pattern data and an output dot pattern;

【図5】本発明に係るキャラクタパターンデータの変換
方法の概略を示す説明図、
FIG. 5 is an explanatory diagram showing an outline of a character pattern data conversion method according to the present invention;

【図6】本発明に係るキャラクタパターンデータの変換
方法の一実施例を示す説明図、
FIG. 6 is an explanatory diagram showing an embodiment of a character pattern data conversion method according to the present invention;

【図7】本発明に係るデータ変換方法を適用して好適な
インクジェットプリンタの制御装置の構成例を示すブロ
ック図である。
FIG. 7 is a block diagram showing a configuration example of a control device of an inkjet printer to which the data conversion method according to the present invention is applied.

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

1 マイクロプロセッサ 12 システムバス 1 microprocessor 12 system bus

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 3/12 G G06T 3/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 3/12 G G06T 3/00

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 キャラクタパターンデータが列配列構成
で格納された読出し専用メモリ内から各パターンの縦方
向のビット列データを一括して読み出してその中から1
ビットもしくは数ビットを抽出して、抽出したビットの
位置に応じて所定の量だけ行方向へずらして読出し書込
み可能なメモリに入れ、これを当該パターンの全ビット
列について繰り返すようにしたことを特徴とするキャラ
クタパターンデータの変換方法。
1. A vertical bit string data of each pattern is collectively read out from a read-only memory in which character pattern data is stored in a column array structure, and 1 is selected from the read out data.
It is characterized in that a bit or several bits are extracted, shifted by a predetermined amount in the row direction according to the position of the extracted bit, placed in a readable / writable memory, and this is repeated for all bit strings of the pattern. How to convert character pattern data.
【請求項2】 上記読出し書込み可能なメモリヘビット
データを入れる際に、転送先の位置に既に入ってるビッ
トデータとの論理和をとって書き込むようにしたことを
特徴とする請求項1に記載のキャラクタパターンデータ
の変換方法。
2. When the bit data is put into the readable / writable memory, the bit data already stored in the transfer destination position is ORed and written. Character pattern data conversion method.
【請求項3】 上記ビットの抽出に際しては、抽出しよ
うとするビットが「1」にされそれ以外のビットは
「0」にされているデータをマスクデータとして、これ
と上記読出し専用メモリから読み出された縦1列分のビ
ットデータとの論理積をとるようにしたことを特徴とす
る請求項1または2に記載のキャラクタパターンデータ
の変換方法。
3. When extracting the bits, the data to be extracted is set to "1" and the other bits are set to "0" as mask data, and this is read from the read-only memory. 3. The character pattern data conversion method according to claim 1, wherein a logical product of the generated bit data for one column is obtained.
JP6210159A 1994-09-02 1994-09-02 Method for converting character pattern data Withdrawn JPH0876737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6210159A JPH0876737A (en) 1994-09-02 1994-09-02 Method for converting character pattern data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6210159A JPH0876737A (en) 1994-09-02 1994-09-02 Method for converting character pattern data

Publications (1)

Publication Number Publication Date
JPH0876737A true JPH0876737A (en) 1996-03-22

Family

ID=16584746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6210159A Withdrawn JPH0876737A (en) 1994-09-02 1994-09-02 Method for converting character pattern data

Country Status (1)

Country Link
JP (1) JPH0876737A (en)

Similar Documents

Publication Publication Date Title
JPH0263763A (en) Printing apparatus
US4979131A (en) Printer apparatus
US5102244A (en) Character pattern generating apparatus for use in a dot matrix serial type printer
JPH0876737A (en) Method for converting character pattern data
JP2774354B2 (en) INK JET RECORDING APPARATUS AND CONTROL METHOD THEREOF
JP2523213B2 (en) Page printer print control method
JP4329167B2 (en) Image processing apparatus and image output apparatus
JP2637921B2 (en) Character symbol generator
JPH0616764Y2 (en) Dot matrix printer
JPH0630927B2 (en) Pattern output method
JP3990743B2 (en) Printer control method and printer control apparatus
KR890005312B1 (en) Printing method of dot matrix printer
JP2734140B2 (en) Serial printer
JPS6328663A (en) Impact-type dot printer with noise reduction function
JP2801730B2 (en) Data compression method
JPH02258265A (en) Recording head drive control system
JPH0281653A (en) Inclination setting method for inclined character in dot matrix printer
JPS6259048A (en) Dot pattern generation system of dot printer
JPH1058666A (en) Ink jet printing device for print circuit substrate
JPH0533404B2 (en)
JPH06115169A (en) Method and apparatus for printing dot matrix pattern
JPH02301452A (en) Printing system
JPH07101113A (en) Printer
JPH05294016A (en) Image data output method
JPH085218B2 (en) Document printing device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011106