JPH11179979A - Image recorder - Google Patents

Image recorder

Info

Publication number
JPH11179979A
JPH11179979A JP35104797A JP35104797A JPH11179979A JP H11179979 A JPH11179979 A JP H11179979A JP 35104797 A JP35104797 A JP 35104797A JP 35104797 A JP35104797 A JP 35104797A JP H11179979 A JPH11179979 A JP H11179979A
Authority
JP
Japan
Prior art keywords
data
raster
image
printhead
storing
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
JP35104797A
Other languages
Japanese (ja)
Inventor
Yasuyuki Onizuka
康如 鬼塚
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP35104797A priority Critical patent/JPH11179979A/en
Publication of JPH11179979A publication Critical patent/JPH11179979A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Ink Jet (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten processing time by performing transfer horizontal/vertical conversion simultaneously with transfer of a raster image data, stored at an address determined according to a preset offset value, to a recording head. SOLUTION: A data delivered from a host computer 100 to an image recorder is received by an interface control section 101 and subjected to command analysis by a CPU 102. n case of a raster image data, a storing address is set according to a value being set at an offset setting section for a storing address control section 105 by the interface control section 101 and stored temporarily in a print butter 104. When a data in the raster direction for longitudinal nozzle is stored, a CR drive section 109 is driven to transfer a recording data from the print buffer 104 to an HV(horizontal/vertical) converting section 106 where the data is subjected to horizontal/vertical conversion before being transferred to a head drive section 107.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タ等の外部機器より文字データを入力して、記録媒体に
記録する画像記録装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording apparatus for inputting character data from an external device such as a host computer and recording the same on a recording medium.

【0002】[0002]

【従来の技術】従来、ホストコンピュータからのラスタ
ー画素データは、順次受信バッファに格納され、この受
信バッファからプリントバッファに格納するとき、カラ
ム方向(縦並び)記録ヘッドに対応したバッファに格納
し直し、縦横変換をして再度プリントバッファを作成
し、画素データを印字ヘッドに転送していた。
2. Description of the Related Art Conventionally, raster pixel data from a host computer is sequentially stored in a receiving buffer. When storing the raster pixel data from the receiving buffer to a print buffer, the raster pixel data is stored again in a buffer corresponding to a column-direction (vertical arrangement) recording head. Then, the print buffer is created again by performing the vertical / horizontal conversion, and the pixel data is transferred to the print head.

【0003】図7に、この種の従来のラスターイメージ
データ情報例を表わす。a1,a2,a3,……hn
は、1バイトデータであり、ホストコンピュータからラ
スターイメージとして、記録装置にa1,a2,a3,
……,b1,b2,……,c1,c2,……,h1,…
…,hnと順次送られてくる。この場合nは、記録され
る画素データのラスター方向の画素データ数であり、記
録される用紙のサイズにより異なる。
FIG. 7 shows an example of such conventional raster image data information. a1, a2, a3, ... hn
Is 1-byte data, which is recorded as a raster image from the host computer to the recording device by a1, a2, a3,
..., b1, b2, ..., c1, c2, ..., h1, ...
.., Hn. In this case, n is the number of pixel data in the raster direction of the pixel data to be recorded, and varies depending on the size of the recording paper.

【0004】次に、従来例におけるラスターデータの処
理例を、図8を元に説明する:ホストコンピュータより
入力されたラスターイメージデータは、図8のバッファ
1に格納される。#adr+1〜#adr+8nは、バ
ッファのアドレスを示す。このようにホストコンピュー
タからのラスターイメージデータは、バッファ1のアド
レスに従い、順次格納される。ここでは縦8ビット、横
nバイトの画素データを処理するものとする。
Next, an example of processing of raster data in a conventional example will be described with reference to FIG. 8: raster image data input from a host computer is stored in a buffer 1 in FIG. # Adr + 1 to # adr + 8n indicate buffer addresses. As described above, the raster image data from the host computer is sequentially stored according to the address of the buffer 1. Here, it is assumed that pixel data of 8 bits in length and n bytes in width are processed.

【0005】次にバッファ2へ格納する場合を説明す
る。バッファ1では、ラスターイメージデータがラスタ
ー方向にそのまま格納されているため、記録ヘッドに合
わせ縦方向のデータ順に並び変えを行い、格納し直す必
要がある。図7において、a1,b1,c1,d1,e
1,f1,g1,h1,a2,b2,……,hnの順に
格納すると、図8のバッファ2のようになる。
Next, the case of storing data in the buffer 2 will be described. In the buffer 1, since the raster image data is stored as it is in the raster direction, it is necessary to rearrange the data in the vertical direction in accordance with the recording head and store it again. In FIG. 7, a1, b1, c1, d1, e
When stored in the order of 1, f1, g1, h1, a2, b2,..., Hn, the buffer 2 shown in FIG. 8 is obtained.

【0006】図7のバッファ2の詳細を図9に示す。前
記バッファ2の一部が図9の上図である。a18,a1
7,a16,a15,a14,a13,a12,a11
は、それぞれのビットを表わす。つまりここでは記憶部
のある格納アドレスの記録データは(1バイトのデー
タ)まだラスター方向のデータであってこのままでは記
録ヘッドに対応してはいないため、縦並び記録ヘッドに
合わせるため縦横変換(ここでは“HV変換”と呼ぶ)
を行わなければならない。ここでは、8ビット×8ビッ
トのマトリクスを用い、図9の下図のように“HV変
換”を行い、格納アドレスの内容は、縦並びヘッドに対
応したデータとなる。
FIG. 9 shows details of the buffer 2 shown in FIG. A part of the buffer 2 is an upper view of FIG. a18, a1
7, a16, a15, a14, a13, a12, a11
Represents each bit. That is, in this case, the recording data at the storage address in the storage unit (data of 1 byte) is still data in the raster direction and does not correspond to the recording head as it is. Then, call it "HV conversion")
Must be done. Here, “HV conversion” is performed as shown in the lower diagram of FIG. 9 using a matrix of 8 bits × 8 bits, and the content of the storage address is data corresponding to the vertically aligned head.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来例では次のような欠点があった。すなわち、上記従来
例に示すように、記録ヘッド構成が縦並びの場合、ラス
ターイメージ入力を縦並び記録ヘッドに合わせるため、
バッファへのコピーが増大し、また縦横変換をしなけれ
ばならないため、記録ヘッドデータ作成のために処理時
間が大幅に増え、ソフトウエアの処理も繁雑となり、結
果的にスループットの低下を招いている。
However, the above-mentioned prior art has the following disadvantages. That is, as shown in the above-described conventional example, when the printhead configuration is vertically aligned, the raster image input is aligned with the vertically aligned printhead,
Since the number of copies to the buffer increases and the length and width must be converted, the processing time for creating the printhead data is greatly increased, and the software processing becomes complicated, resulting in a decrease in throughput. .

【0008】本発明は、以上のような局面に鑑みてなさ
れたもので、ホストコンピュータからのラスターイメー
ジデータを受信して記憶部に格納する際、格納アドレス
を順次インクリメントするのではなく、予め設定したオ
フセット値に従い、そのオフセットによって決定された
格納アドレスにラスターイメージデータを格納し、記録
ヘッドに転送するときに、転送とHV変換とを同時に行
うことにより、処理時間の短縮を図ることを目的として
いる。
[0008] The present invention has been made in view of the above-described aspects, and when raster image data is received from a host computer and stored in a storage unit, the storage address is not incremented sequentially but is set in advance. According to the offset value, the raster image data is stored at the storage address determined by the offset, and when the raster image data is transferred to the recording head, the transfer and the HV conversion are performed simultaneously, thereby shortening the processing time. I have.

【0009】[0009]

【課題を解決するための手段】近年、シリアルプリンタ
と呼ばれる記録装置の解像度は300dpi,360d
pi,600dpiと高密度の一途を辷っている。また
それに伴い記録ヘッドは、縦64ドット,128ドット
等様々な構成のものがある。ホストコンピュータからの
印刷データはキャラクター等を表わすコードの場合と、
グラフィック等を表わすイメージデータの場合とがあ
る。前述のキャラクターコードの場合、記録装置内でフ
ォントデータに展開されドットデータとして記録ヘッド
に転送され記録媒体に記録される。
In recent years, a recording device called a serial printer has a resolution of 300 dpi and 360 dpi.
Pi, 600 dpi. Accompanying this, there are various types of recording heads such as 64 dots vertically and 128 dots. The print data from the host computer is a code representing a character etc.
There is a case where the image data represents a graphic or the like. In the case of the above-described character code, the character code is developed into font data in the recording device, transferred to the recording head as dot data, and recorded on the recording medium.

【0010】後述のイメージデータの場合、縦方向のデ
ータとしてホストコンピュータから送られてくる場合
と、横方向つまりラスター方向のイメージデータとして
送られてくる場合とがある。記録ヘッドが様々な構成を
持っているため、ラスターイメージデータの方が汎用性
も高く、自然画像等の印刷のときにはこれを用いること
が多い。
In the case of image data to be described later, there are cases where the data is sent from the host computer as data in the vertical direction, and cases where it is sent as image data in the horizontal direction, that is, the raster direction. Since the recording head has various configurations, raster image data has higher versatility and is often used when printing a natural image or the like.

【0011】ところが、ラスターイメージデータの場
合、前記従来例でも述べた通り、縦並び記録ヘッドに対
応するために、いくつもの処理を必要とする。
However, in the case of raster image data, as described in the above-mentioned conventional example, several processes are required to correspond to a vertically arranged recording head.

【0012】図2に、後述する本発明の受信データ格納
方法の一例を示す。図2の上図に、ラスターイメージデ
ータ情報を表わす。ホストコンピュータからのラスター
データは、a1,a2,a3,a4,……,an,b
1,b2,b3,……,hnの順に送られてくる。縦8
ビット毎の前記HV変換を行うことを前提に、データを
格納しようとすると、図2の下図のように格納アドレス
を8アドレスおきに入力データを格納し、ラスター方向
のバイト数を格納し終えた後、再び格納アドレスを先頭
アドレスに設定し直し、縦ビット数を加算し、そのアド
レスを格納アドレスとし、再び8アドレスおきに格納す
る。以上を繰り返しバッファに格納しプリントバッファ
とする。
FIG. 2 shows an example of a received data storage method according to the present invention described later. The upper diagram of FIG. 2 shows the raster image data information. The raster data from the host computer is a1, a2, a3, a4,..., An, b
1, b2, b3,..., Hn. Height 8
Assuming that the HV conversion is performed for each bit, when data is to be stored, input data is stored every eight storage addresses and the number of bytes in the raster direction is stored as shown in the lower diagram of FIG. Thereafter, the storage address is set again as the start address, the number of vertical bits is added, and the address is set as the storage address, and the data is stored again every eight addresses. The above is repeatedly stored in a buffer to form a print buffer.

【0013】プリントバッファ上に格納されたデータ
は、図9のHV変換を行い、記録ヘッドに転送される。
上記プリントバッファ作成時に、既に縦並び記録ヘッド
を考慮してアドレスを構成しているため、記録ヘッドに
転送するためのバッファを改めて作り直す必要がなく、
しかも記録ヘッドにデータを転送するときにHV変換を
行うため、ソフトウエアの処理が軽減される。
The data stored in the print buffer is subjected to the HV conversion shown in FIG. 9 and is transferred to the recording head.
At the time of creating the print buffer, the addresses are already configured in consideration of the vertically arranged print heads, so there is no need to recreate a buffer for transferring to the print heads.
Moreover, since HV conversion is performed when data is transferred to the recording head, software processing is reduced.

【0014】以上のような構成を実現するため、本発明
においては、以下の各項(1)〜(4)のいずれかの画
像記録装置を提供することにより、前記目的を達成しよ
うとするものである。
In order to realize the above-described configuration, the present invention provides an image recording apparatus according to any one of the following items (1) to (4) to achieve the above object. It is.

【0015】(1)ホストコンピュータ等の外部機器か
らのキャラクタデータ及びイメージデータを画像データ
として印刷する画像記録装置において、前記ホストコン
ピュータからのラスターイメージデータを受信し画像デ
ータを格納する記憶部を有し、前記画素データは、前記
ラスター方向に順次受信され、前記記憶部に受信データ
を格納する際、カラム方向に対して予めオフセット値を
設け、前記記憶部の格納アドレスに前記オフセット値を
加算し、前記受信ラスターデータを前記加算された格納
アドレスに格納するハードウエアを具備し、記録媒体に
画像を形成する際、前記格納アドレスから記録ヘッドに
データを転送するときにデータの縦横変換を行い、この
記録ヘッドに対応したデータを作成し、この記録ヘッド
に転送するハードウエアを具備したことを特徴とする画
像記録装置。
(1) An image recording apparatus that prints character data and image data from an external device such as a host computer as image data has a storage unit that receives raster image data from the host computer and stores the image data. The pixel data is sequentially received in the raster direction, and when storing the received data in the storage unit, an offset value is provided in advance in the column direction, and the offset value is added to a storage address of the storage unit. Comprising hardware for storing the received raster data at the added storage address, when forming an image on a recording medium, perform vertical / horizontal conversion of data when transferring data from the storage address to a recording head, Hardware that creates data corresponding to this printhead and transfers it to this printhead Image recording apparatus characterized by being equipped with air.

【0016】(2)前記、カラム方向のオフセット値
は、前記記録ヘッドによって設定を可変にする手段、ま
たは記録ドットによって可変にする手段、あるいは記憶
部の格納領域によって可変にする手段を有することを特
徴とする前記(1)項記載の画像記録装置。
(2) The offset value in the column direction has means for changing the setting by the printhead, means for changing the print dot, or means for changing the storage area of the storage unit. The image recording apparatus according to the above (1), which is characterized in that:

【0017】(3)前記記憶部に格納された受信データ
は、1バイトのラスターデータであって、前記記録ヘッ
ドに転送する前にそのラスターデータを前記記録ヘッド
に応じたカラムデータに変更するハードウエアを具備
し、前記記録ヘッドに相当するレジスタに前記縦横変換
後のカラムデータを格納する手段と、前記レジスタから
順次前記記録ヘッドにデータを転送する手段を持ち、前
記記憶部から読み出されたラスターデータをDMA方式
により前記レジスタに格納し、前記記録ヘッドに転送す
ることを特徴とする前記(1)項記載の画像記録装置。
(3) The received data stored in the storage unit is one-byte raster data, and is hardware for changing the raster data to column data corresponding to the print head before transferring the data to the print head. And a means for storing the column data after the vertical / horizontal conversion in a register corresponding to the printhead, and a means for sequentially transferring data from the register to the printhead, and read out from the storage unit. The image recording apparatus according to (1), wherein raster data is stored in the register by a DMA method and transferred to the recording head.

【0018】(4)前記記録ヘッドは、前記カラム方向
に並んだ吐出ノズルを具備したものであって、前記記録
ヘッドを搭載したキャリッジを前記記録媒体に対して水
平方向に走査させ、インクを吐出させ画像を形成するこ
とを特徴とする前記(1)項記載の画像記録装置。
(4) The recording head includes discharge nozzles arranged in the column direction. The carriage on which the recording head is mounted scans the recording medium in a horizontal direction to discharge ink. The image recording apparatus according to the above (1), wherein the image is formed by causing the image to be formed.

【0019】[0019]

【作用】以上のような本発明構成により、ラスターイメ
ージデータをホストコンピュータから受信し、記憶部に
格納するとき、記録ヘッドに合わせアドレス管理し、受
信データを格納し、記録ヘッドに転送する際に、HV変
換を行いながら記録ヘッドに転送するため、ソフトウエ
アの処理が簡略化され、スループットの向上を実現し得
る。またホストコンピュータからの受信データを一時保
存するための受信バッファを持たないため、メモリ容量
の削減にもつながる。
According to the configuration of the present invention as described above, when raster image data is received from a host computer and stored in a storage unit, address management is performed in accordance with a recording head, received data is stored, and transferred to the recording head. , HV conversion and transfer to the recording head, software processing is simplified, and an improvement in throughput can be realized. In addition, since there is no reception buffer for temporarily storing data received from the host computer, the memory capacity can be reduced.

【0020】[0020]

【発明の実施の形態】以下に、本発明の実施の形態を、
一実施例に基づき、図面を用いて詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below.
An embodiment will be described in detail with reference to the drawings.

【0021】[0021]

【実施例】(構成)図1に、本発明の一実施例による画
像記録装置の制御系の構成を示す電気ブロック図を示
す:図1において、100は、記録装置へデータを送る
ホストコンピュータ、101は、ホストコンピュータ1
00等の外部機器との間で通信制御を行い、ホストコン
ピュータ100より送られてくる記録データを受信する
インタフェイス制御部、102は、この装置における動
作、処理を実行するCPU、103は、CPU102の
制御プログラムや文字フォント等各種データを格納する
ROM、110は、CPU102に接続された表示部で
ある。104は、各種データを一時保存するためのRA
Mで、1ライン中のプリントデータを格納するプリント
バッファはここに含まれる。
FIG. 1 is an electric block diagram showing a control system of an image recording apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 100 denotes a host computer for sending data to the recording apparatus; 101 is a host computer 1
An interface control unit 102 that controls communication with an external device such as 00 and receives print data sent from the host computer 100 is a CPU that executes operations and processes in this device. A ROM 110 for storing various data such as a control program and character fonts is a display unit connected to the CPU 102. Reference numeral 104 denotes an RA for temporarily storing various data.
At M, a print buffer for storing print data in one line is included here.

【0022】105は、ラスターイメージデータをプリ
ントバッファRAM104に格納する格納アドレスを制
御する格納アドレス制御部で、106は、記録ヘッド駆
動部107に記録データをプリントバッファ104から
転送する際に、記録ヘッドに合わせ縦横変換を行うHV
変換部である。105,106については後で詳述す
る。107は、記録装置が記録媒体に画像を記録するた
めにCPU102から制御信号をヘッドドライバに供給
し、HV変換部106から記録ヘッドに画像データを転
送して印字するヘッド駆動部である。
Reference numeral 105 denotes a storage address control unit for controlling a storage address for storing raster image data in the print buffer RAM 104. Reference numeral 106 denotes a print head for transferring print data from the print buffer 104 to the print head driving unit 107. HV that performs vertical / horizontal conversion according to
It is a conversion unit. Details of 105 and 106 will be described later. Reference numeral 107 denotes a head driving unit which supplies a control signal from the CPU 102 to a head driver so that the recording apparatus records an image on a recording medium, and transfers image data from the HV conversion unit 106 to a recording head to print.

【0023】キャリッジモータドライバとキャリッジモ
ータのCR駆動部109、紙送りモータドライバと紙送
りモータのLF駆動部108は、CPU102からそれ
ぞれのドライバに制御信号を供給し、印字を記録媒体に
行う際に必要な記録ヘッドの水平方向移動と垂直方向移
動を促す制御系である。
A carriage motor driver and a CR drive unit 109 of the carriage motor, and a paper feed motor driver and an LF drive unit 108 of the paper feed motor supply control signals from the CPU 102 to the respective drivers to perform printing on a recording medium. This is a control system for prompting the necessary horizontal and vertical movements of the recording head.

【0024】(制御手順)次に、本発明実施例の制御の
手順を、同様に図1を用いて説明する:まず、ホストコ
ンピュータ100から画像記録装置に送られたデータ
は、インタフェイス制御部101によって入力され、R
OM103に格納してあるプログラムにそってCPU1
02によりコマンドの解析が行われ、ラスターイメージ
データの場合は、インタフェイス制御部101よりアド
レス制御部105にデータが送られ、この格納アドレス
制御部105において設定された格納アドレスのプリン
トバッファ104に一時保存される。
(Control Procedure) Next, the control procedure of the embodiment of the present invention will be described with reference to FIG. 1 as well. First, data sent from the host computer 100 to the image recording apparatus is processed by an interface control unit. 101 and R
CPU1 according to the program stored in OM103
02, the command is analyzed. In the case of raster image data, data is sent from the interface control unit 101 to the address control unit 105, and temporarily stored in the print buffer 104 of the storage address set in the storage address control unit 105. Will be saved.

【0025】記録ヘッドの縦方向ノズル分のラスター方
向のデータが格納された時点で、CR駆動部109をド
ライブし、HV変換部106にプリントバッファ104
より記録データが転送され、HV変換部106において
縦横変換が行われ、ヘッド駆動部107に記録データが
転送される。印字終了後、LF駆動部108がドライブ
され一連のシーケンスが終了する。
When the raster data for the nozzles in the vertical direction of the recording head is stored, the CR driving unit 109 is driven, and the print buffer 104 is sent to the HV conversion unit 106.
Then, the print data is transferred, the HV conversion unit 106 performs vertical / horizontal conversion, and the print data is transferred to the head drive unit 107. After printing is completed, the LF drive unit 108 is driven, and a series of sequences ends.

【0026】次に、本実施例の格納アドレス制御部10
5とHV変換部106とについて詳細に説明する:縦6
4ドットの記録ヘッドを持った記録装置を例に挙げて説
明する。図3に、格納アドレス制御部の構成ブロック
図、図4にラスターイメージ情報、図8に受信データ格
納方法、図9にHV変換部をそれぞれ示す。
Next, the storage address control unit 10 of this embodiment
5 and the HV converter 106 will be described in detail: Vertical 6
A recording apparatus having a 4-dot recording head will be described as an example. FIG. 3 shows a block diagram of the configuration of the storage address control unit, FIG. 4 shows raster image information, FIG. 8 shows a method of storing received data, and FIG. 9 shows an HV conversion unit.

【0027】図4では、ラスター方向nバイト、カラム
方向8×mビットの構成になっており、ホストコンピュ
ータ100から送られてくるのは、11D1,11D
2,……,11Dnとラスター方向に送られてくる。
FIG. 4 shows a configuration of n bytes in the raster direction and 8 × m bits in the column direction, and the host computer 100 sends 11D1 and 11D
2,..., 11Dn in the raster direction.

【0028】図3の200は、用紙サイズ等によってラ
スター方向の記録バイト数が異なるため、まず横記録バ
イト数を設定しホストコンピュータ100(図1)から
のデータ受信時、ホストコンピュータ100からのスト
ローブ信号をカウントし、ラスター方向の受信データ数
の管理を行う。
In FIG. 3, the number of recording bytes in the raster direction 200 differs depending on the paper size and the like. Therefore, first, the number of horizontal recording bytes is set, and when data is received from the host computer 100 (FIG. 1), the strobe from the host computer 100 The signal is counted and the number of received data in the raster direction is managed.

【0029】予め設定してある横記録バイト数と受信デ
ータ数とが一致したら、ラスターエンド信号を格納アド
レス設定部202,カラムカウンタ204に出力する。
オフセット設定部201には、予め縦記録ドット数の設
定をしておく。縦記録ドット数により受信データの格納
アドレスにオフセットを持たせる。
When the predetermined number of horizontal recording bytes matches the number of received data, a raster end signal is output to the storage address setting unit 202 and the column counter 204.
In the offset setting unit 201, the number of vertical recording dots is set in advance. The storage address of the received data has an offset depending on the number of vertical recording dots.

【0030】図5の受信データ格納方法に示すように、
縦64ビット毎にオフセットを持たせ格納する。まず#
adrに11D1が格納されると、次に受信された11
D2は、#adr+64のアドレスに格納される。この
ように縦記録ドット数に応じてオフセットを設け、格納
アドレスを設定する。
As shown in the received data storage method of FIG.
An offset is stored for every 64 bits vertically and stored. First #
When 11D1 is stored in adr, the next received 11D1
D2 is stored at the address of # adr + 64. In this way, an offset is provided according to the number of vertical recording dots, and a storage address is set.

【0031】格納アドレス設定部202では、オフセッ
ト設定部201において設定されたオフセットに従っ
て、格納アドレスを設定する。プリントバッファ先頭ア
ドレスを予め設定しておく。ホストコンピュータ100
からのストローブ信号により、格納アドレスに前記オフ
セット値を加算し、次の受信データ格納アドレスとす
る。このようにして、格納アドレスはオフセット値毎に
更新される。
The storage address setting unit 202 sets a storage address according to the offset set by the offset setting unit 201. The print buffer start address is set in advance. Host computer 100
Then, the offset value is added to the storage address in accordance with the strobe signal from, and is used as the next received data storage address. In this way, the storage address is updated for each offset value.

【0032】また、ラスターサイズカウンタ200より
出力されるラスターエンド信号で格納アドレスが再設定
される。つまり、1カラムの受信データを格納し終わる
と、2カラム目の受信データはプリントバッファ先頭ア
ドレスにインクリメントされたアドレスに格納される。
図4のラスターイメージ情報の2カラム目のデータ12
D1は、図5の#adr+1のアドレスに格納される。
DMA(ダイレクトメモリアクセス)制御部203は、
格納アドレス設定部202において決定された格納アド
レスに受信データをダイレクトに格納するためで、RA
Mのアドレス,データ制御信号を出力する。
The storage address is reset by the raster end signal output from the raster size counter 200. That is, when the reception data of one column is stored, the reception data of the second column is stored at the address incremented to the print buffer start address.
Data 12 in the second column of the raster image information in FIG.
D1 is stored at the address of # adr + 1 in FIG.
The DMA (direct memory access) control unit 203
This is for directly storing the received data at the storage address determined by the storage address setting unit 202.
The M address and data control signals are output.

【0033】カラムカウンタ204は、ラスターサイズ
カウンタ200からのラスターエンド信号によりカウン
トアップされ、予め設定されている横記録ドット数と一
致したら、プリントバッファフル信号をCPU102に
出力する。以上のように行うことにより、図5に示すよ
うに、ラスターイメージは、記録ドット数に応じたカラ
ム方向のデータに並べ換えられる。しかしながら、それ
ぞれのアドレスに格納されているバイトデータは、ラス
ターデータであるため、これをHV変換しながら記録ヘ
ッドに転送する。図6は、このHV変換部を示す。
The column counter 204 is counted up by a raster end signal from the raster size counter 200, and outputs a print buffer full signal to the CPU 102 when the number of horizontal recording dots matches a preset number of horizontal recording dots. By performing the above, as shown in FIG. 5, the raster image is rearranged into data in the column direction according to the number of recording dots. However, since the byte data stored at each address is raster data, it is transferred to the print head while performing HV conversion. FIG. 6 shows the HV converter.

【0034】R1は、8×8ビットのマトリクスレジス
タで、前述の図9のように、実際にHV変換を行うとこ
ろである。1バイトのラスターデータはそれぞれ横方向
に格納され、8バイトの格納が終了すると、次に各々の
ビット毎に8バイト取り出し、R2に順次格納してゆ
く。つまりR1でのビット8に位置する各々の8ビット
を1バイトとし、R2の先頭に格納されてゆく。次はビ
ット7の1バイト,ビット6の1バイト,……,ビット
1の1バイトというように、R1の縦方向に取り出しR
2に格納する。このように8回R2への転送が完了する
と、再びR1へ8バイト転送される。
R1 is an 8.times.8-bit matrix register for actually performing HV conversion as shown in FIG. One-byte raster data is stored in the horizontal direction, and when storage of eight bytes is completed, eight bytes are taken out for each bit and sequentially stored in R2. That is, each of the 8 bits located at bit 8 in R1 is set as one byte and stored at the head of R2. Next, one byte of bit 7, one byte of bit 6,..., One byte of bit 1 are extracted in the vertical direction of R1.
2 is stored. When the transfer to R2 is completed eight times in this way, eight bytes are transferred to R1 again.

【0035】図5のように受信データは格納されている
ため、縦8ビット単位で縦64ビットのHV変換が実行
される。図6のR2には、HV変換後の8ビット×64
ビットのデータが格納される。R2に格納が終了する
と、記録ヘッドにデータを転送する。縦64ドットの記
録ヘッドに応じてR2のビット単位で順次転送される。
この際R2レジスタの8×64ビットマトリクスの縦方
向にビット単位で転送される。
Since the received data is stored as shown in FIG. 5, the HV conversion is performed in a unit of 8 bits in a unit of 64 bits. R2 of FIG. 6 has 8 bits × 64 after HV conversion.
Bit data is stored. When the storage in R2 is completed, the data is transferred to the recording head. The data is sequentially transferred in R2 bit units in accordance with a recording head of 64 dots vertically.
At this time, the data is transferred bit by bit in the vertical direction of the 8 × 64 bit matrix of the R2 register.

【0036】[0036]

【発明の効果】以上説明したように、本発明によれば、
ラスターイメージデータをホストコンピュータから受信
し、記憶部に格納するとき、記録ヘッドに合わせアドレ
ス管理し、受信データを格納し、記録ヘッドに転送する
際に、HV変換を行いながら記録ヘッドに転送するた
め、ソフトウエアの処理が簡略化され、スループットの
向上を実現し得る。またホストコンピュータからの受信
データを一時保存するための受信バッファを持たないた
め、メモリ容量の削減にもつながる効果が得られる。
As described above, according to the present invention,
When receiving raster image data from a host computer and storing it in a storage unit, the address is managed according to the printhead, the received data is stored, and transferred to the printhead while performing HV conversion when transferred to the printhead. In addition, software processing is simplified, and an improvement in throughput can be realized. Further, since there is no reception buffer for temporarily storing data received from the host computer, an effect of reducing the memory capacity can be obtained.

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

【図1】 実施例の記録装置の制御系の構成電気ブロッ
ク図
FIG. 1 is an electric block diagram illustrating a configuration of a control system of a recording apparatus according to an embodiment.

【図2】 本発明の受信データ格納方法の一例FIG. 2 shows an example of a received data storage method according to the present invention.

【図3】 実施例の格納アドレス制御部の構成ブロック
FIG. 3 is a configuration block diagram of a storage address control unit according to the embodiment;

【図4】 実施例のラスターイメージ情報FIG. 4 is raster image information of an embodiment.

【図5】 実施例の受信データ格納方法FIG. 5 is a method of storing received data according to the embodiment;

【図6】 実施例のHV変換部FIG. 6 is an HV converter according to the embodiment.

【図7】 従来のラスターイメージデータ情報例FIG. 7 shows an example of conventional raster image data information.

【図8】 従来のラスターデータ処理例FIG. 8 shows a conventional raster data processing example.

【図9】 従来のHV変換図例FIG. 9 is an example of a conventional HV conversion diagram

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

100 ホストコンピュータ 101 インタフェイス制御部 102 CPU 103 制御ROM 104 RAMプリントバッファ 105 格納アドレス制御部 106 HV変換部 107 ヘッド駆動部 108 LF駆動部 109 CR駆動部 110 表示部 200 ラスターサイズカウンタ 201 オフセット設定部 202 格納アドレス設定部 203 DMA制御部 204 カラムカウンタ Reference Signs List 100 host computer 101 interface control unit 102 CPU 103 control ROM 104 RAM print buffer 105 storage address control unit 106 HV conversion unit 107 head drive unit 108 LF drive unit 109 CR drive unit 110 display unit 200 raster size counter 201 offset setting unit 202 Storage address setting unit 203 DMA control unit 204 Column counter

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータ等の外部機器からの
キャラクタデータ及びイメージデータを画像データとし
て印刷する画像記録装置において、前記ホストコンピュ
ータからのラスターイメージデータを受信し画像データ
を格納する記憶部を有し、前記画素データは、前記ラス
ター方向に順次受信され、前記記憶部に受信データを格
納する際、カラム方向に対して予めオフセット値を設
け、前記記憶部の格納アドレスに前記オフセット値を加
算し、前記受信ラスターデータを前記加算された格納ア
ドレスに格納するハードウエアを具備し、記録媒体に画
像を形成する際、前記格納アドレスから記録ヘッドにデ
ータを転送するときにデータの縦横変換を行い、この記
録ヘッドに対応したデータを作成し、この記録ヘッドに
転送するハードウエアを具備したことを特徴とする画像
記録装置。
1. An image recording apparatus for printing character data and image data from an external device such as a host computer as image data, comprising a storage unit for receiving raster image data from the host computer and storing the image data. The pixel data is sequentially received in the raster direction, and when storing the received data in the storage unit, an offset value is provided in advance in the column direction, and the offset value is added to a storage address of the storage unit. Hardware for storing the received raster data at the added storage address, and when forming an image on a recording medium, perform vertical / horizontal conversion of data when transferring data from the storage address to a recording head. Hardware that creates data corresponding to the recording head and transfers it to this recording head An image recording apparatus comprising:
【請求項2】 前記、カラム方向のオフセット値は、前
記記録ヘッドによって設定を可変にする手段、または記
録ドットによって可変にする手段、あるいは記憶部の格
納領域によって可変にする手段を有することを特徴とす
る請求項1記載の画像記録装置。
2. The printing apparatus according to claim 1, wherein the offset value in the column direction has means for changing the setting by the printhead, means for changing the print dot, or means for changing the storage area of a storage unit. The image recording apparatus according to claim 1.
【請求項3】 前記記憶部に格納された受信データは、
1バイトのラスターデータであって、前記記録ヘッドに
転送する前にそのラスターデータを前記記録ヘッドに応
じたカラムデータに変更するハードウエアを具備し、前
記記録ヘッドに相当するレジスタに前記縦横変換後のカ
ラムデータを格納する手段と、前記レジスタから順次前
記記録ヘッドにデータを転送する手段を持ち、前記記憶
部から読み出されたラスターデータをDMA方式により
前記レジスタに格納し、前記記録ヘッドに転送すること
を特徴とする請求項1記載の画像記録装置。
3. The received data stored in the storage unit,
Hardware for changing the raster data into column data corresponding to the printhead before transferring the raster data to the printhead, and storing the raster data in a register corresponding to the printhead before and after the transfer to the printhead. Means for storing column data, and means for sequentially transferring data from the register to the printhead, storing raster data read from the storage unit in the register by DMA and transferring the data to the printhead. The image recording apparatus according to claim 1, wherein:
【請求項4】 前記記録ヘッドは、前記カラム方向に並
んだ吐出ノズルを具備したものであって、前記記録ヘッ
ドを搭載したキャリッジを前記記録媒体に対して水平方
向に走査させ、インクを吐出させ画像を形成することを
特徴とする請求項1記載の画像記録装置。
4. The recording head includes discharge nozzles arranged in the column direction, and causes a carriage on which the recording head is mounted to scan the recording medium in a horizontal direction to discharge ink. The image recording apparatus according to claim 1, wherein an image is formed.
JP35104797A 1997-12-19 1997-12-19 Image recorder Withdrawn JPH11179979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35104797A JPH11179979A (en) 1997-12-19 1997-12-19 Image recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35104797A JPH11179979A (en) 1997-12-19 1997-12-19 Image recorder

Publications (1)

Publication Number Publication Date
JPH11179979A true JPH11179979A (en) 1999-07-06

Family

ID=18414689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35104797A Withdrawn JPH11179979A (en) 1997-12-19 1997-12-19 Image recorder

Country Status (1)

Country Link
JP (1) JPH11179979A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004291497A (en) * 2003-03-27 2004-10-21 Canon Inc Recorder
JP2011110808A (en) * 2009-11-26 2011-06-09 Canon Inc Printing apparatus and processing method therefor
CN107521226A (en) * 2016-06-21 2017-12-29 北大方正集团有限公司 A kind of data processing method, device and ink-jet printer

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004291497A (en) * 2003-03-27 2004-10-21 Canon Inc Recorder
JP4510395B2 (en) * 2003-03-27 2010-07-21 キヤノン株式会社 Recording device
US8520248B2 (en) 2003-03-27 2013-08-27 Canon Kabushiki Kaisha Printing apparatus and printer driver
US8724157B2 (en) 2003-03-27 2014-05-13 Canon Kabushiki Kaisha Printing apparatus and printer driver
JP2011110808A (en) * 2009-11-26 2011-06-09 Canon Inc Printing apparatus and processing method therefor
CN107521226A (en) * 2016-06-21 2017-12-29 北大方正集团有限公司 A kind of data processing method, device and ink-jet printer
CN107521226B (en) * 2016-06-21 2019-03-12 北大方正集团有限公司 A kind of data processing method, device and ink-jet printer

Similar Documents

Publication Publication Date Title
US5619622A (en) Raster output interface for a printbar
US5937152A (en) Printer with buffer memory
JP3233173B2 (en) Raster image serial printer
US5579453A (en) Smart direct memory access controller
JPH0948154A (en) Serial type printer
JPH11179979A (en) Image recorder
US5887989A (en) Low cost digital printer
US5570464A (en) Controller for a recording apparatus
US4635081A (en) Apparatus and method for generating dot-matrix characters in graphic patterns
EP0072708B1 (en) Printer
JP3055738B2 (en) Dot matrix pattern printing method and apparatus
JPH0616764Y2 (en) Dot matrix printer
JP2877036B2 (en) Printing method and dot printer
JP4038639B2 (en) Printer and its image data transfer method
JP2734140B2 (en) Serial printer
JP3083024B2 (en) Character processing apparatus and method
JPS61192573A (en) Recording apparatus
JP3570316B2 (en) Image data conversion method and apparatus
JPH09154010A (en) Printing and recording device
JPH01108058A (en) Recording apparatus
JPH0647301B2 (en) Charactor pattern generator
JPS62104769A (en) Image recorder
JPH0584979A (en) Printing data processing control circuit in serial printer
JPH05104784A (en) Serial printer
JPH0930067A (en) Printing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050301