JP2957448B2 - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JP2957448B2
JP2957448B2 JP7233314A JP23331495A JP2957448B2 JP 2957448 B2 JP2957448 B2 JP 2957448B2 JP 7233314 A JP7233314 A JP 7233314A JP 23331495 A JP23331495 A JP 23331495A JP 2957448 B2 JP2957448 B2 JP 2957448B2
Authority
JP
Japan
Prior art keywords
data
printing
shift register
bit
memory
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.)
Expired - Fee Related
Application number
JP7233314A
Other languages
Japanese (ja)
Other versions
JPH0958067A (en
Inventor
正也 福島
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.)
Toyo Denki Seizo KK
Original Assignee
Toyo Denki Seizo KK
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 Toyo Denki Seizo KK filed Critical Toyo Denki Seizo KK
Priority to JP7233314A priority Critical patent/JP2957448B2/en
Publication of JPH0958067A publication Critical patent/JPH0958067A/en
Application granted granted Critical
Publication of JP2957448B2 publication Critical patent/JP2957448B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Heads (AREA)
  • Facsimiles In General (AREA)
  • Record Information Processing For Printing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、記録媒体の少なくとも
移動方向に、同時印字が可能な複数の印字機構を有する
プロッタまたはプリンタ等の印字装置において、印字す
べき画像データの2次元のビットマップデータを前記印
字機構部分へ転送する手段に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a two-dimensional bit map of image data to be printed in a printing apparatus such as a plotter or a printer having a plurality of printing mechanisms capable of simultaneously printing at least in a moving direction of a recording medium. Means for transferring data to the printing mechanism.

【0002】[0002]

【従来の技術】従来のかかる印字装置は、印字すべき画
像データの2次元のビットマップデータを印字機構部分
への転送または変換をCPUを用いて印字すべきデータ
を演算算出している。
2. Description of the Related Art In such a conventional printing apparatus, two-dimensional bitmap data of image data to be printed is transferred or converted to a printing mechanism using a CPU to calculate data to be printed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、かよう
な印字装置において、メモリ上の印字すべき2次元のビ
ットマップデータが、その行方向ビット並びがメモリの
データビットの並びに対応し、さらに記録媒体の移動方
向と直交する方向に対応する場合においては、記録媒体
の移動方向に同時に印字をする場合、ビットマップデー
タを列方向のビット並びがメモリのデータビットの並び
に対応するようにあらかじめ変換しておくことが転送速
度を高速化するうえで有効である。従来の1アドレスが
1バイトに対応したバイトアドレッサブルなCPUを用
いてファームウェアでおこなう装置では、処理の低速化
を招くことになる。本発明は上述した点に鑑みて創案さ
れたもので、その目的とするところは、これらの欠点を
解決するものである。
However, in such a printing apparatus, the two-dimensional bit map data to be printed on the memory has the bit arrangement in the row direction corresponding to the data bits in the memory, and the recording medium. When printing is performed simultaneously in the moving direction of the recording medium in the case where the direction corresponds to the direction orthogonal to the moving direction of Is effective in increasing the transfer speed. In a conventional device that performs firmware using a byte addressable CPU in which one address corresponds to one byte, the processing speed is reduced. The present invention has been made in view of the above points, and an object thereof is to solve these disadvantages.

【0004】[0004]

【課題を解決するための手段】つまり、その目的を達成
する手段は、印字すべき画像データの2次元のビットマ
ップデータを印字機構部分へ転送する経路上に、順方向
印字と逆方向印字とを制御するデータ変換器と、前記ビ
ットマップデータの行と列とを変換する変換器と、行列
変換後のデータを少なくとも1ブロック分を貯える記憶
器とを有し、この記憶出力に対応した印字機構に転送す
ることにある。
Means for achieving the object is to provide two-dimensional bitmap data of the image data to be printed on a path for transferring the two-dimensional bitmap data to a printing mechanism, by performing forward printing and reverse printing. , A converter for converting the row and column of the bitmap data, and a storage for storing at least one block of matrix-converted data, and printing corresponding to the storage output. To transfer to the mechanism.

【0005】すなわち、ビットマップデータの行方向に
対応した8ビット以上のシフトレジスタを列方向に8行
以上を配置し、各行のシフトレジスタはバイトアドレッ
サブルに構成する。シフトレジスタは、各D形フリップ
フロップの出力をマルチプレクスすることによって代用
することが可能であるが、ハードウェアの簡略化を考慮
すれば、現実的ではない。各行のシフトレジスタの最終
段ビットまたは初段ビットは、変換後の記憶器に対し
て、バイトアドレッサブルに構成する。順方向印字と逆
方向印字とに対応するためには、各行のシフトレジスタ
を左右両方行にシフトが可能なように構成することも可
能であるが、ハードウェアの簡略化のために、ビットマ
ップデータのLSB〜MSBがシフトレジスタのLSB
〜MSBとが対応する場合と、ビットマップデータのL
SB〜MSBがシフトレジスタのMSB〜LSBとが対
応する場合とが可能となるマルチプレクサを1組装備す
る。
That is, eight or more shift registers corresponding to the row direction of the bitmap data are arranged in eight or more rows in the column direction, and the shift registers in each row are configured to be byte-addressable. The shift register can be substituted by multiplexing the output of each D-type flip-flop, but is not realistic in view of hardware simplification. The last-stage bit or the first-stage bit of the shift register in each row is configured to be byte-addressable with respect to the converted storage device. In order to support forward printing and reverse printing, it is possible to configure the shift register of each row so that it can be shifted to both left and right rows.However, in order to simplify hardware, a bit map is used. LSB to MSB of data are LSB of shift register
.. MSB correspond to L of the bitmap data.
A set of multiplexers that enables the case where SB to MSB corresponds to the MSB to LSB of the shift register is provided.

【0006】[0006]

【作用】次に、その作用を説明する。マルチプレクサの
各出力ビットは、各行のシフトレジスタの対応する入力
ビットに接続されている。マルチプレクサの制御はプロ
グラマブルである。シフトレジスタの入力ビットは、ビ
ットマップデータに対してバイトアドレッサブルに構成
されているので、デコーダによってシフトレジスタは選
択されながら書き込まれる。メモリIO型のDMAに対
応できるように、デコーダの代わりに、カウンタ等によ
ってアドレスジェネレータを構成し、シーケンシャルに
アクセスできるように構成してもよい。所望の行数分の
書き込みが終了した時点で、すべてのシフトレジスタは
シフトを開始する。シフトクロックと同期して、最終段
の出力はメモリに蓄積する。蓄積されたデータは、外部
の印字信号にしたがって順次呼び出され、印字機構部へ
転送される。
Next, the operation will be described. Each output bit of the multiplexer is connected to a corresponding input bit of the shift register in each row. The control of the multiplexer is programmable. Since the input bits of the shift register are byte addressable with respect to the bitmap data, the shift register is selected and written by the decoder. Instead of a decoder, an address generator may be configured by a counter or the like so as to support a memory IO type DMA, so that sequential access is possible. When the writing for the desired number of rows is completed, all the shift registers start shifting. The output of the last stage is stored in the memory in synchronization with the shift clock. The stored data is sequentially called in accordance with an external print signal and transferred to the print mechanism.

【0007】[0007]

【実施例】以下、本発明の実施例を図面に基づいて詳述
する。図1は本発明の一実施例を示す構成図、図2は図
1の○部の詳細図である。図1において、印字すべき画
像データの2次元のビットマップデータを印字機構部分
へ転送する経路上に、順方向印字と逆方向印字とを制御
するデータ変換器と、前記ビットマップデータの行と列
とを変換する変換器と、行列変換後のデータを少なくと
も1ブロック分を貯える記憶器とを有し、この記憶出力
に対応した印字機構に転送することにある。なお、説明
では行方向のシフトレジスタを32ビットに設定し、そ
れを列方向に8行分配置した場合を想定する。したがっ
て、前段の双方向印字に対応するためのマルチプレクサ
は32ビットである。その制御は外部ロジックからコマ
ンドとして指定されるものとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a detailed view of a portion ○ in FIG. In FIG. 1, a data converter for controlling forward printing and reverse printing is provided on a path for transferring two-dimensional bitmap data of image data to be printed to a printing mechanism portion, and a line for the bitmap data. It has a converter for converting a column and a storage for storing at least one block of data after matrix conversion, and transfers the data to a printing mechanism corresponding to the storage output. In the description, it is assumed that the shift register in the row direction is set to 32 bits, and the shift register is arranged for eight rows in the column direction. Therefore, the multiplexer for supporting the preceding bidirectional printing is 32 bits. The control is specified as a command from external logic.

【0008】また本想定では、バイトアドレッサブルな
シフトレジスタ4が32個あることになり、書き込み制
御は1本のチップセクタ信号と5本の外部アドレスおよ
びライト信号をデコードすることによりおこなうものと
する。各シフトレジスタの書き込み、保持およびシフト
動作は、M1、M2の2本の制御信号で各レジスタの前
段にある3対1マルチプレクサを制御することによって
おこなう。記憶器への書き込みは、32個のシフトレジ
スタ4に書き込みが終了したことを自動的に検出し、シ
フトクロック7に同期して書き込みを32回おこなう。
32回の書き込み中は、シフトレジスタへの書き込みを
防止するためにビジー信号(シフトステータス信号)を
出力する。記憶器として本例では、FIFO(ファース
トイン・ファーストアウト)メモリ9を用いている。F
IFOメモリ9からの読みだしは印字タイミングを生成
する外部ロジックが行い、1回の読みだしは印字機構の
移動方向の1ドットを印字するタイミングに相当する。
図では印字機構に相当する部分を、8ビットのD形フリ
ップフロップで代用している。図3は印字開始から印字
終了までのフローチャートを示している。
In this assumption, there are 32 byte-addressable shift registers 4, and the write control is performed by decoding one chip sector signal and five external address and write signals. I do. The writing, holding, and shifting operations of each shift register are performed by controlling a three-to-one multiplexer at the preceding stage of each register by two control signals M1 and M2. In the writing to the storage device, the completion of the writing to the 32 shift registers 4 is automatically detected, and the writing is performed 32 times in synchronization with the shift clock 7.
During writing 32 times, a busy signal (shift status signal) is output to prevent writing to the shift register. In this example, a FIFO (first-in first-out) memory 9 is used as a storage device. F
The reading from the IFO memory 9 is performed by an external logic that generates print timing, and one read corresponds to the timing of printing one dot in the moving direction of the printing mechanism.
In the figure, the part corresponding to the printing mechanism is substituted by an 8-bit D-type flip-flop. FIG. 3 shows a flowchart from the start of printing to the end of printing.

【0009】[0009]

【発明の効果】印字装置では、メモリ上の印字すべき2
次元のビットマップデータが、その行方向ビット並びが
メモリのデータビットの並びに対応し、さらに記録媒体
の移動方向と直交する方向に対応する場合においては、
記録媒体の移動方向に同時に印字をする場合、ビットマ
ップデータを列方向のビット並びがメモリのデータビッ
トの並びに対応するようにあらかじめ変換しておくこと
が転送速度を高速化するうえで有効である。本発明によ
れば、従来の1アドレスが1バイトに対応したバイトア
ドレッサブルなCPUを用いてファームウェアでおこな
う装置に比べ、処理の高速化が図られる。
According to the printing apparatus, the number of prints to be printed on the memory is 2.
In the case where the dimensional bitmap data has a row direction bit arrangement corresponding to the data bit sequence of the memory and further corresponding to a direction orthogonal to the moving direction of the recording medium,
When printing is performed simultaneously in the moving direction of the recording medium, it is effective to convert the bitmap data in advance so that the bit arrangement in the column direction corresponds to the arrangement of the data bits in the memory in order to increase the transfer speed. . According to the present invention, the processing can be performed at a higher speed than in a conventional apparatus that performs firmware using a byte addressable CPU in which one address corresponds to one byte.

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

【図1】図1は本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】図2は図1の○部の詳細図である。FIG. 2 is a detailed view of a circle portion in FIG.

【図3】図3はフローチャート図である。FIG. 3 is a flowchart.

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

1 双方向印字用のデータマルチプレクサ 2 1のマルチプレクスされるデータの並び 3 1の制御信号 4 1行分のシフトレジスタ 5 シフトレジスタの書き込み、シフト、および保持を
制御する2ビットの信号 6 前段からのデータ 7 シフトクロック 8 制御ブロック 9 FIFOメモリ 10 D形フリップフロップ 11 FIFOメモリの読みだしとラッチ信号を生成す
る外部ロジック
Reference Signs List 1 Data multiplexer for bidirectional printing 2 Sequence of multiplexed data of 1 3 Control signal of 1 4 Shift register for 1 row 5 2-bit signal for controlling writing, shifting and holding of shift register 6 From the previous stage 7 Shift clock 8 Control block 9 FIFO memory 10 D-type flip-flop 11 External logic for reading FIFO memory and generating latch signal

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印字すべき画像データの2次元のビット
マップデータを印字機構部分へ転送する経路上に、順方
向印字と逆方向印字とを制御するデータ変換器と、前記
ビットマップデータの行と列とを変換する変換器と、行
列変換後のデータを少なくとも1ブロック分を貯える記
憶器とを有し、この記憶出力に対応した印字機構に転送
することを特徴としたデータの転送装置。
1. A data converter for controlling forward printing and reverse printing on a path for transferring two-dimensional bitmap data of image data to be printed to a printing mechanism, and a line for the bitmap data. A data transfer device, comprising: a converter for converting a matrix and a column; and a storage for storing at least one block of data after matrix conversion, and transferring the data to a printing mechanism corresponding to the storage output.
JP7233314A 1995-08-18 1995-08-18 Data transfer device Expired - Fee Related JP2957448B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7233314A JP2957448B2 (en) 1995-08-18 1995-08-18 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7233314A JP2957448B2 (en) 1995-08-18 1995-08-18 Data transfer device

Publications (2)

Publication Number Publication Date
JPH0958067A JPH0958067A (en) 1997-03-04
JP2957448B2 true JP2957448B2 (en) 1999-10-04

Family

ID=16953194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7233314A Expired - Fee Related JP2957448B2 (en) 1995-08-18 1995-08-18 Data transfer device

Country Status (1)

Country Link
JP (1) JP2957448B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7259895B2 (en) * 2002-11-21 2007-08-21 Hewlett-Packard Development Company, L.P. Device and method for scanning a first image of a document and printing a second image on the document

Also Published As

Publication number Publication date
JPH0958067A (en) 1997-03-04

Similar Documents

Publication Publication Date Title
JP3081986B2 (en) Small printer
US5347617A (en) Printer having a multiple scan line printhead controller
JP2957448B2 (en) Data transfer device
JP3836529B2 (en) Video interlace system for multi-beam raster output scanner
JP3357972B2 (en) Data DMA transfer circuit for thermal transfer line printer
JP3180822B2 (en) Video printer
US5233365A (en) Dot-matrix printer having interchangeable line head and moving head technologies
JP2825501B2 (en) Printer
JPS58211285A (en) Data editing system in chinese character printer
JP2002200785A (en) Data sequence conversion circuit and printer comprising it
JPS5961359A (en) Line buffer controller
JP2617252B2 (en) Printer
JP3703273B2 (en) Image data conversion apparatus, printing apparatus including image data conversion apparatus, and image data conversion method
JP3706726B2 (en) Recording device
JP2875434B2 (en) Halftone signal generator
JP2760303B2 (en) Thermal head drive
JP3098435B2 (en) Control system for multiple thermal heads
JP2564435B2 (en) Pixel mosaic and quad device for image transfer
JPH06234243A (en) Raster data printing apparatus
JPH05193175A (en) Thermal recording control circuit
JPS5947384B2 (en) magnetic bubble memory device
JPS6362026A (en) Control system for transfer of data
JPS63141766A (en) Printing system
JPS63221045A (en) Data generation circuit for zigzag head
JPS61140986A (en) Character rotation apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees