Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH085220B2 - High-speed printing method - Google Patents
[go: Go Back, main page]

JPH085220B2 - High-speed printing method - Google Patents

High-speed printing method

Info

Publication number
JPH085220B2
JPH085220B2 JP62245282A JP24528287A JPH085220B2 JP H085220 B2 JPH085220 B2 JP H085220B2 JP 62245282 A JP62245282 A JP 62245282A JP 24528287 A JP24528287 A JP 24528287A JP H085220 B2 JPH085220 B2 JP H085220B2
Authority
JP
Japan
Prior art keywords
print data
recording
memory
bit
output
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
JP62245282A
Other languages
Japanese (ja)
Other versions
JPS6487266A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP62245282A priority Critical patent/JPH085220B2/en
Publication of JPS6487266A publication Critical patent/JPS6487266A/en
Publication of JPH085220B2 publication Critical patent/JPH085220B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、ドットマトリックスの縦のドットに対応す
る複数の記録素子を互いに横方向にドットピッチの整数
倍の間隔をおいて配置した記録ヘッドを、横方向に相対
移動させながら印字を行なうプリンタの高速印字方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial field of application> The present invention relates to a recording head in which a plurality of recording elements corresponding to vertical dots of a dot matrix are arranged laterally at intervals of an integral multiple of a dot pitch. The present invention relates to a high-speed printing method for a printer that performs printing while moving the printer in the horizontal direction.

<従来の技術> 従来、この種の記録ヘッドを有するプリンタとして、
例えばインクジェットプリンタが知られている。このイ
ンクジェットプリンタは、記録素子であるノズルにディ
ジタルの記録信号を印加し、信号が“1"のときノズルか
らインクを噴射して記録紙にドット状の記録を得るもの
である。しかし、ノズルが構造上縦長になるため、複数
のノズルをドットマトリックスの縦のドットに対応して
縦一列に配置すると記録ヘッドが高くなりすぎ、また縦
一列に配置すると各ノズルへのインクの供給力に差がで
きることから、縦のドットに対応する複数のノズルを互
いに横方向にドットピッチの整数倍の間隔をおいて配置
しており、第5図に示す例では、上記間隔lはドットピ
ッチdの10倍(l=10d)である。そして、例えば第5
図の如くノズルN1,N2,N3,N4を配置した記録ヘッドHを
矢印方向に速度vで走行させながら、各ノズルで縦一列
4個のドットを印字するには、各ドットに対応する記録
信号即ちプリントデータを時間l/vずつ順次遅延させて
出力する必要がある。
<Prior Art> Conventionally, as a printer having this type of recording head,
For example, an inkjet printer is known. In this ink jet printer, a digital recording signal is applied to a nozzle which is a recording element, and when the signal is "1", ink is ejected from the nozzle to obtain dot recording on recording paper. However, since the nozzles are vertically long due to the structure, if multiple nozzles are arranged in a vertical row corresponding to the vertical dots of the dot matrix, the printhead becomes too high, and if they are arranged in a vertical row, ink is supplied to each nozzle. Because of the difference in force, a plurality of nozzles corresponding to vertical dots are arranged laterally at intervals of an integral multiple of the dot pitch. In the example shown in FIG. It is ten times d (l = 10d). And, for example, the fifth
In order to print four dots vertically in one line with each nozzle while running the recording head H having the nozzles N1, N2, N3, N4 as shown in the figure at a speed v in the direction of the arrow, the recording signal corresponding to each dot That is, it is necessary to sequentially delay the print data by l / v and output the print data.

ところが、プリンタ内部でのプリントデータの処理
は、CPUやメモリの関係上8ビット即ち1バイト単位で
行なわれ、出力すべきプリントデータはノズルの配置と
は無関係にバイト単位でホストから送られ印字順に行方
向に並べてメモリ内の連続アドレスに格納されている。
そのため、ノズル間隔lが第5図のようにドットピッチ
dの8n倍(n:整数)でない場合は、上記メモリに格納さ
れたプリントデータをノズル毎にビット単位でシフトし
てノズルに出力する必要があり、この例ではl/8dの余り
即ち2ビット単位で、ノズルN1に対して、N2:2ビット,N
3:4ビット,N4:6ビットという具合にプリントデータをシ
フトしなければならない。そして、従来のインクジェッ
トプリンタは、上記プリントデータのビット単位のシフ
トを、CPUが上記メモリからプリントデータを1バイト
ずつ読み出し、これをビットシフトして各ノズルへ出力
するというプログラム制御方式で行なっている。
However, due to the CPU and memory, the processing of print data inside the printer is performed in 8-bit or 1-byte units, and the print data to be output is sent from the host in byte units regardless of the nozzle layout, and in print order. They are arranged in the row direction and stored at consecutive addresses in the memory.
Therefore, when the nozzle interval 1 is not 8n times the dot pitch d (n: integer) as shown in FIG. 5, it is necessary to shift the print data stored in the above memory for each nozzle bit by bit and output it to the nozzles. In this example, in the remainder of l / 8d, that is, in units of 2 bits, for the nozzle N1, N2: 2 bits, N
Print data must be shifted in the order of 3: 4 bits, N4: 6 bits. The conventional inkjet printer shifts the print data bit by bit by a program control method in which the CPU reads the print data byte by byte from the memory, bit-shifts the print data, and outputs the bit-shifted data to each nozzle. .

<発明が解決しようとする問題点> しかしながら、上記従来のインクジェットプリンタ
は、各ノズルへ出力するプリントデータのビットシフト
をCPUのシフトレジスタにより1バイトずつ行なってい
るため、この処理に多大の時間を費やし、極めて効率が
悪く、高速印字ができないという欠点がある。
<Problems to be Solved by the Invention> However, in the above-described conventional inkjet printer, since bit shift of print data to be output to each nozzle is performed byte by byte by the shift register of the CPU, this processing requires a lot of time. It has a drawback that it is expensive and extremely inefficient, and high-speed printing cannot be performed.

そこで、本発明の目的は、上記プリントデータのビッ
トシフトを高速処理することにより、高速印字を実現で
き、プリンタシステム効率を著しく向上させることがで
きる高速印字方式を提供することである。
Therefore, an object of the present invention is to provide a high-speed printing method capable of realizing high-speed printing and significantly improving the printer system efficiency by processing the bit shift of the print data at high speed.

<問題点を解決するための手段> 上記目的を達成するため、本発明の高速印字方式は、
ドットマトリックスの縦のドットに対応する複数の記録
素子を互いに横方向にドットピッチの整数倍を間隔をお
いて配置した記録ヘッドを、プロセッサの制御下で記録
紙に対して相対的に横方向に移動させながら各記録素子
にプリントデータを出力して印字を行なうプリンタにお
いて、上記各記録素子のプリントデータを印字順に連続
アドレスに一括して格納するメモリと、このメモリから
入力される各記録素子のプリントデータを上記記録素子
の間隔に応じたシフト信号に基づいてバイト単位でビッ
トシフトする配列変換回路と、この配列変換回路から出
力されるシフトされたプリントデータを記録素子毎に連
続アドレスで記憶した後、各記録素子へ出力するバッフ
ァメモリと、上記プロセッサの制御下で上記シフト信号
を出力し、上記メモリとバッファメモリ間のプリントデ
ータの直接転送を制御するDMAコントローラを備えて、
プリントデータの高速印字を行なうようにしたことを特
徴とする。
<Means for Solving Problems> In order to achieve the above object, the high-speed printing method of the present invention is
Under the control of the processor, the recording head, in which a plurality of recording elements corresponding to the vertical dots of the dot matrix are arranged in the lateral direction at intervals of an integral multiple of the dot pitch, moves in the lateral direction relative to the recording paper. In a printer that outputs print data to each recording element while moving to perform printing, a memory that collectively stores the print data of each recording element at consecutive addresses in the printing order and a recording element that is input from this memory An array conversion circuit that bit-shifts the print data on a byte-by-byte basis based on a shift signal corresponding to the interval between the recording elements, and the shifted print data output from the array conversion circuit is stored at successive addresses for each recording element. After that, the shift signal is output under the control of the buffer memory for outputting to each recording element and the processor, Includes a DMA controller for controlling the direct transfer of print data between Li and the buffer memory,
The feature is that high-speed printing of print data is performed.

<作用> 一例として、記録ヘッドに4個の記録素子P1,P2,P3,P
4が互いに横方向にドットピッチのN倍(N:整数)の間
隔をおいて配置されている場合、プロセッサは、例えば
上記Nを8で除した余りの値Sに基づき、記録素子P1の
プリントデータに対してP2,P3,P4のプリントデータを夫
々S,2S,3Sビットずつシフトさせるシフト信号を配列変
換回路に出力する。次に、DMAコントローラは、メモリ
の連続アドレスに印字順に一括格納されたプリントデー
タを、上記配列変換回路を介してバッファメモリに直接
転送し、このとき配列変換回路は上記シフト信号に応じ
て各記録素子のプリントデータをバイト単位でビットシ
フトし、ビットシフトされたプリントデータがバッファ
メモリに記憶される。上記DMAコントローラによる直接
メモリアクセス方式は、従来のプログラム制御方式のよ
うにCPUを介さないため、処理が高速で、上記バッファ
メモリに記録素子の間隔に応じてシフトされた状態で記
憶されたプリントデータは、直ちに各記録素子に出力さ
れ、高速で印字が行なわれる。
<Operation> As an example, the recording head includes four recording elements P1, P2, P3, and P.
When the four are arranged laterally at intervals of N times the dot pitch (N: integer), the processor prints the recording element P1 based on the value S of the remainder obtained by dividing N by 8, for example. A shift signal that shifts the print data of P2, P3, and P4 with respect to the data by S, 2S, and 3S bits respectively is output to the array conversion circuit. Next, the DMA controller transfers the print data collectively stored in the memory in consecutive addresses in the printing order to the buffer memory directly through the array conversion circuit, and the array conversion circuit records each print in response to the shift signal. The print data of the element is bit-shifted byte by byte, and the bit-shifted print data is stored in the buffer memory. Unlike the conventional program control method, the direct memory access method by the DMA controller has a high processing speed, and print data stored in the buffer memory in a state shifted according to the intervals of the recording elements. Is immediately output to each recording element, and printing is performed at high speed.

<実施例> 以下、本発明を図示の実施例により詳細に説明する。<Examples> Hereinafter, the present invention will be described in detail with reference to illustrated examples.

第1図は本発明の高速印字方式を採用したインクジェ
ットプリンタのブロック図であり、1はこのプリンタの
各ブロックを制御し、ドットマトリックスの縦のドット
に対応する複数のノズルを互いに横方向にドットピッチ
dの整数N倍の間隔l(l=N・d)をおいて配置した
記録ヘッドH(第5図参照)の横方向走行を制御するCP
U、2は上記各ノズルのプリントデータを印字順に連続
アドレスに一括して格納するメモリとしてのRAM、3は
このRAM2から入力される各ノズルのプリントデータを上
記間隔lに応じたシフト信号に基づいてバイト単位でビ
ットシフトする配列変換回路、4はこの配列変換回路3
から出力されるビットシフトされたプリントデータをノ
ズル毎に連続アドレスで記憶した後、各ノズルへ出力す
るバッファメモリとしてのRAM、5は上記シフト信号を
出力し、上記RAM2とRAM4間のプリントデータの直接転送
を制御するDMA(直接メモリアクセス)コントローラで
あり、各ブロックはデータバス6のコントロールバス7
で互いに接続されている。
FIG. 1 is a block diagram of an inkjet printer adopting the high-speed printing method of the present invention. Reference numeral 1 is a block for controlling each block of the printer, and a plurality of nozzles corresponding to vertical dots of a dot matrix are dotwise in a horizontal direction. CP for controlling the lateral running of the recording head H (see FIG. 5) arranged at intervals l (l = N · d) that is an integer N times the pitch d
U, 2 is a RAM as a memory for collectively storing the print data of each nozzle in consecutive addresses in the printing order, and 3 is the print data of each nozzle input from the RAM 2 based on the shift signal corresponding to the interval l. Array conversion circuit for bit-shifting in byte units, 4 is this array conversion circuit 3
After storing the bit-shifted print data output from each of the nozzles at consecutive addresses, the RAM 5 serving as a buffer memory that outputs to each nozzle outputs the shift signal, and print data between the RAM 2 and RAM 4 It is a DMA (direct memory access) controller that controls direct transfer, and each block is a control bus 7 of the data bus 6.
Are connected to each other.

上記ノズルが例えば第5図に示すようにN1,N2,N3,N4
の4個の場合、上記RAM2には、縦一列のドットに対応す
る各ノズルの最初のプリントデータを、例えば第4図に
示すように、右端の4つの列方向チャンネルに1バイト
でQ11,Q21,Q31,Q41と並べ、これらに続くプリントデー
タを印字順に行方向左方へバイト単位(図中の実線格子
参照)で並べて連続で格納し、印字一行分の最後のプリ
ントデータQ1n〜Q4nに続いてバイト単位で“00H"を格納
し、さらに図示しない続く印字一行分のデータを同様に
次々に格納している。上記CPU1は、ノズル間隔l=N・
dのN値を8で除した余りの値Sに基づき基準ノズルの
プリントデータに対して各ノズルのプリントデータを夫
々S,2S,3Sビットだけシフトさせるシフト信号を出力
し、このシフト信号を受けた配列変換回路3が上記RAM2
に格納されたプリントデータのバイト単位のビットシフ
トを行なう。即ち、第5図に示すN=10の場合、10/8の
余りS=2に基づき、第4図中の破線で示すように基準
の第1チャンネルのデータQ11,Q12,…に対し、第2チャ
ンネルQ21,Q22,…が2ビット,第3チャンネルがQ31,Q
32,…が4ビット,第4チャンネルQ41,Q42,…が6ビッ
トだけ夫々後方へシフトされ、シフトされたプリントデ
ータは、印字一行分ずつRAM4に格納される。なお、上記
配列変換回路3はCPU1が、この配列変換回路3を介さず
直接RAM4にプリントデータの書き込みやRAM4からの読み
出しを行なえるようにもなっている。
The nozzles are, for example, N1, N2, N3, N4 as shown in FIG.
Four cases, the above RAM2 is a first print data of each nozzle corresponding to one column of dots, for example, as shown in FIG. 4, Q 11 one byte to the right end of the four column channels, Q 21, Q 31, alongside Q 41, stored in a continuous arranged in these subsequent bytes of print data to the print order in the row direction leftward (see a solid line grid in the drawing), the final print data Q printing one line After 1 n to Q 4 n, “00H” is stored in byte units, and data for one subsequent printing line (not shown) is similarly stored one after another. The CPU 1 has a nozzle interval l = N.
A shift signal for shifting the print data of each nozzle by S, 2S, 3S bits is output to the print data of the reference nozzle based on the remainder S obtained by dividing the N value of d by 8, and the shift signal is received. The array conversion circuit 3 is the RAM 2
The print data stored in is bit-shifted in byte units. That is, in the case of N = 10 shown in FIG. 5, based on the remainder S = 2 of 10/8, as shown by the broken line in FIG. 4, for the reference first channel data Q 11 , Q 12 , ... , The second channel Q 21 , Q 22 , ... has 2 bits, and the third channel Q 31 , Q
32, ... is 4 bits, the 4-channel Q 41, Q 42, ... it is shifted to the respective backward by 6 bits, the shifted print data is stored in the printing line minutes by RAM 4. The array conversion circuit 3 is designed so that the CPU 1 can directly write print data to the RAM 4 and read it from the RAM 4 without going through the array conversion circuit 3.

第2図は、上記配列変換回路3の具体的構成例を示す
図である。この配列変換回路は、データバス6aを介して
RAM2に接続される8ビットの第1バッファレジスタ11
と、この第1バッファレジスタに従続接続される8ビッ
トの第2バッファレジスタ12と、これら両バッファレジ
スタ11,12の出力を組み合わせてデータバス6bを介してR
AM4に出力する8個の論理素子13a,13b,13c,13d,13e,13
f,13g,13hと、これらの論理素子のいずれか1つを選択
するため3ビットの2進コードをY0〜Y7の10進コードに
変換するデコーダ14と、データバス6bとデータバス6aを
この配列変換回路を介さず直接接続するためのバッファ
15からなる。
FIG. 2 is a diagram showing a specific configuration example of the array conversion circuit 3. This array conversion circuit uses the data bus 6a
8-bit first buffer register 11 connected to RAM2
And an 8-bit second buffer register 12 connected in series with the first buffer register, and the outputs of these two buffer registers 11 and 12 are combined to form an R via the data bus 6b.
Eight logic elements 13a, 13b, 13c, 13d, 13e, 13 output to AM4
f, 13g, 13h, a decoder 14 for converting a 3-bit binary code into a decimal code Y0 to Y7 for selecting one of these logic elements, a data bus 6b and a data bus 6a. Buffer for direct connection without going through the array conversion circuit
It consists of 15.

上記第1バッファレジスタ11と第2バッファレジスタ
12のクロック端子にはアンドゲート16を介して第3図に
示すような書き込み信号▲▼とRAM4のチップセレク
ト信号▲▼のアンド出力が入力される。そし
て、書き込み信号▲▼の立上りエッジに同期して、
第3図に示すように第1バッファレジスタ11にRAM2から
の最初の1バイトのプリントデータQ11が記憶され、次
のクロックで上記Q11が第2バッファレジスタ12に、Q11
に続く1バイトのプリントデータQ12が第1バッファレ
ジスタ11に夫々記憶され、両バッファレジスタの内容が
クロックに同期してバイト単位で順次更新されるように
なっている。一方、上記デコーダ14およびバッファ15の
ゲート端子にはノアゲート17を介してビットシフト実行
信号▲▼が入力され、ノアゲート17の他方の
入力は上記チップセレクト信号▲▼である。そ
して、上記ビットシフト実行信号▲▼によ
り、デコーダ14は、ノズル間隔を示すN値を8で除した
余りの値Sを表わす2進コード入力を10進コードに変換
し、対応する出力端子YSを介して論理素子13a〜13hのい
ずれかを選んで、これを動作させる一方、バッファ15
は、データバス6aと6bを配列変換回路を介して接続する
ようになっている。
The first buffer register 11 and the second buffer register
An AND output of a write signal ▲ ▼ and a chip select signal ▲ ▼ of the RAM 4 as shown in FIG. 3 is input to the clock terminal 12 via the AND gate 16. Then, in synchronization with the rising edge of the write signal ▲ ▼,
As shown in FIG. 3, the first 1-byte print data Q 11 from RAM 2 is stored in the first buffer register 11, and at the next clock, the above Q 11 is stored in the second buffer register 12 and Q 11.
The 1-byte print data Q 12 following is stored in the first buffer register 11, and the contents of both buffer registers are sequentially updated byte by byte in synchronization with the clock. On the other hand, the gate terminals of the decoder 14 and the buffer 15 are input with the bit shift execution signal () via the NOR gate 17, and the other input of the NOR gate 17 is the chip select signal (). Then, in response to the bit shift execution signal ▲ ▼, the decoder 14 converts the binary code input representing the remainder S obtained by dividing the N value indicating the nozzle interval by 8 into a decimal code, and outputs the corresponding output terminal YS. One of the logic elements 13a to 13h is selected via the
Connects the data buses 6a and 6b via an array conversion circuit.

上記各論理素子13a〜13hによる両バッファレジスタ1
1,12の出力の組み合わせ方は、第2図の結線から明らか
である。即ち、デコーダ14に例えば“000"が入力され、
出力端子Y0を介して論理素子13aが動作したとき、第2
バッファレジスタ12に第1チャンネルのデータQ
11(,……,)が、第1バッファレジスタ11に次
のデータQ12(7,……,1,0)が夫々格納されているとす
ると、論理素子13aは第2バッファレジスタ12のデータQ
11(,……,)をそのままデータバス6bに出力
し、出力されたデータV1は第3図に示すアンドゲート16
の出力信号に同期してRAM4に書き込まれる。またデコー
ダ14に例えば“010"が入力され、出力端子Y2を介して論
理素子13cが動作したとき、第2バッファレジスタ12に
第2チャンネルのデータQ21(,……,)が、第
1バッファレジスタ11に次のデータQ22(7,……,1,0)
が夫々格納されていれば、論理素子13cは第2バッファ
レジスタ12のデータQ21の上位2ビット(,)と第
1バッファレジスタ11のデータQ22の下位6ビット(5,
……0)を組み合わせてデータV1(5,……0,,)と
し、これを同様のタイミングでRAM4の第4図に示すアド
レスAdに書き込む。
Both buffer registers 1 by the above logic elements 13a to 13h
How to combine the outputs of 1 and 12 is clear from the connection in FIG. That is, for example, "000" is input to the decoder 14,
When the logic element 13a operates via the output terminal Y0, the second
Data Q of the first channel in the buffer register 12
11 (, ...,), the next data Q 12 (7, ..., 1,0) is stored in the first buffer register 11, respectively. Q
11 (, ...,) is output to the data bus 6b as it is, and the output data V 1 is the AND gate 16 shown in FIG.
It is written to RAM4 in synchronization with the output signal of. Further, for example, when "010" is input to the decoder 14 and the logic element 13c operates via the output terminal Y2, the second buffer register 12 receives the data Q 21 (, ...,) of the second channel in the first buffer. The next data Q 22 in register 11 (7, ……, 1,0)
, Respectively, the logic element 13c determines that the upper 2 bits (,) of the data Q 21 of the second buffer register 12 and the lower 6 bits (5, 5) of the data Q 22 of the first buffer register 11 (5,
... 0) are combined to form data V 1 (5, ... 0,,), and this is written to the address Ad shown in Fig. 4 of RAM 4 at the same timing.

上記構成のインクジェットプリンタの動作をノズル数
4個のものについて次に述べる。
The operation of the ink jet printer having the above-described structure will be described below for the case of four nozzles.

印字に先立ち、CPU1はアンドゲート16およびノアゲー
ト17にビットシフト実行信号を送り、RAM2に第4図に実
線格子の如く連続して一括格納されたプリントデータ
を、印字一行分ごとに配列変換回路3を介してRAM4に直
接転送して、各ノズルへの出力に必要なビットシフト処
理を行なう。即ち、RAM2の印字一行分のプリントデータ
は、第1ノズルに対応する第1チャンネルから行方向に
まず、Q11,Q12,……Q1n,00H,00H、続いて第2チャンネ
ルに移ってQ21,……Q2n,……,00Hと順次Q4n,00Hまで読
み出され、データバス6aを経て配列変換回路3の2段の
バッファレジスタ11,12に入力される。DMAコントローラ
5は、ノズル間隔l=N・dのN値を8で除した余りの
値Sを算出し、iチャンネルの最後のデータ1バイト
“00H"が第1バッファレジスタ11に書き込まれた時点
で、デコーダ14に3ビットの2進コードで数値i・Sを
入力する。例えばN=10ならS=2となり、第1チャン
ネルの終りで2,第2チャンネルの終りで4,第3チャンネ
ルの終りで6がデコーダ14に入力され、これに応じた出
力Y2,Y4,Y6により次にチャンネルのデータをビットシフ
トさせるべく夫々論理素子13c,13e,13gが動作する。従
って、第1チャンネルのデータQ11,…Q1nは論理素子13a
によってビットシフトされずに第2バッファレジスタ12
からそのままRAM4に第4図の破線の如く書き込まれ、第
1チャンネルの終りから2番目の“00H"1バイトもその
ままRAM4の2行目先頭に書き込まれ、最後の“00H"1バ
イトが第2バッファレジスタ12にあり、第2チャンネル
の最初の1バイトQ21が第1バッファレジスタ11にある
時点で論理素子13cが動作して、第2バッファレジスタ1
2の上位2ビット“0,0"と第1バッファレジスタ11のQ21
の下位6ビットを(q5,……,q0,0,0)のように組み合わ
せてRAM4の2行2行目に第4図の破線の如く書き込む。
こうして、RAM4の2行目に格納された第2ノズルに対応
するプリントデータは、先頭が第1ノズルのプリントデ
ータに対して10ドット分ずれて連続して格納されること
になる。同様に、第2チャンネルの終りには3バイトの
“00H"データがあり、第3チャンネルの終りには4バイ
トの“00H"データがあって、夫々最後の“00H"で論理素
子13e,13gが動作するから、第4図の破線の如くRAM4の
3行目のプリントデータは先頭が(2×8+4)ドット
分ずれ、RAM4の4行目のプリントデータは先頭が(3×
8+6)ドット分ずれるのである。
Prior to printing, the CPU 1 sends a bit shift execution signal to the AND gate 16 and the NOR gate 17, and print data stored in the RAM 2 continuously and collectively as shown by the solid line grid in FIG. The data is directly transferred to the RAM 4 via and the bit shift processing required for output to each nozzle is performed. That is, the print data for one line of printing in the RAM2 first moves in the row direction from the first channel corresponding to the first nozzle to Q 11 , Q 12 , ... Q 1 n, 00H, 00H, and then to the second channel. Q 21, ... Q 2 n, Te ..., sequentially Q 4 n and 00H, is read to 00H, are input via the data bus 6a in two stages buffer register 11 and 12 of the array conversion circuit 3. The DMA controller 5 calculates a remainder value S obtained by dividing the N value of the nozzle interval l = N · d by 8, and when the last data 1 byte “00H” of the i channel is written in the first buffer register 11. Then, the numerical value i · S is input to the decoder 14 as a 3-bit binary code. For example, if N = 10, then S = 2, 2 at the end of the first channel, 4 at the end of the second channel, and 6 at the end of the third channel are input to the decoder 14, and outputs Y2, Y4, Y6 corresponding thereto. As a result, the logic elements 13c, 13e and 13g respectively operate to bit shift the channel data next. Therefore, the data Q 11 , ... Q 1 n of the first channel is the logic element 13a.
The second buffer register 12 without being bit-shifted by
Is written as it is to RAM4 as shown by the broken line in Fig. 4, and the second "00H" 1 byte from the end of the first channel is also written as it is at the beginning of the second line of RAM4, and the last "00H" 1 byte is the second. When the first 1-byte Q 21 of the second channel is in the buffer register 12 and the first buffer register 11, the logic element 13c operates and the second buffer register 1
2 high-order 2 bits “0,0” and Q 21 of the first buffer register 11
Lower six bits of the write (q 5, ......, q 0 , 0,0) as the dashed line of FIG. 4 in two rows and two row RAM4 combination as.
In this way, the print data corresponding to the second nozzle stored in the second row of the RAM 4 is continuously stored with the start being shifted by 10 dots from the print data of the first nozzle. Similarly, there is 3 bytes of "00H" data at the end of the second channel, and 4 bytes of "00H" data at the end of the third channel. As shown by the broken line in FIG. 4, the head of the print data on the third row of RAM4 is shifted by (2 × 8 + 4) dots, and the head of the print data on the fourth row of RAM4 is (3 ×
It is offset by 8 + 6) dots.

こうして、RAM4に印字一行分のプリントデータがビッ
トシフトされた状態で格納されると、CPU1は、アンドゲ
ート16とノアゲート17の実行信号▲▼,▲
▼,▲▼を止め、続いてRAM4の内容が、各チ
ャンネル1バイト一括で印字順にデータバス6bからバッ
ファ15を通り配列変換回路を介さず直接データバス6aを
経て記録素子である各ノズルに出力される。各ノズル
は、ノズル間隔に応じて適切にビットシフトされた上記
記録信号に従ってインクを噴射し、記録紙上には噴射イ
ンクによるドットが縦一列に並んだ状態で記録が得られ
る。
In this way, when the print data for one print line is stored in the RAM 4 in a bit-shifted state, the CPU 1 causes the AND gate 16 and the NOR gate 17 to execute the execution signals ▲ ▼, ▲.
After stopping ▼ and ▲ ▼, the contents of RAM4 are output to the nozzles that are recording elements directly from the data bus 6b through the buffer 15 through the data bus 6a directly through the data bus 6b in the print order of 1 byte for each channel. To be done. Each nozzle ejects ink according to the recording signal that is bit-shifted appropriately according to the nozzle interval, and recording can be obtained in a state where dots of the ejected ink are aligned in a vertical line on the recording paper.

このように、上記実施例を含む本発明では、プロセッ
サで制御されるDMAコントローラ5によって、メモリに
印字順に一括格納されたノズル等の各記録素子のプリン
トデータを、配列変換回路3を介してバッファメモリ4
に直接転送し、その際記録素子の間隔に応じたシフト信
号を配列変換回路3に出力して、転送されるプリントデ
ータを適切にバイト単位でビットシフトするようにして
いるので、従来のプログラム制御方式に比べてビットシ
フト処理が格段に高速に行なえ、従って記録素子による
高速印字が実現できる。また、上記実施例では、バッフ
ァ15を設けて配列変換回路をバイパスしてRAM4とCPU1等
の間でプリントデータの読み出し、書き込みができるよ
うにもしているので、システム制御上非常に便利であ
る。
As described above, according to the present invention including the above-described embodiment, the print data of the respective recording elements such as nozzles collectively stored in the memory in the print order are buffered via the array conversion circuit 3 by the DMA controller 5 controlled by the processor. Memory 4
Directly to the array conversion circuit 3 at that time, a shift signal corresponding to the distance between the recording elements is output to the print data to be appropriately bit-shifted in byte units. Bit shift processing can be performed at a much higher speed than that of the system, and therefore high-speed printing by the recording element can be realized. Further, in the above embodiment, the buffer 15 is provided to bypass the array conversion circuit so that the print data can be read and written between the RAM 4 and the CPU 1 and the like, which is very convenient for system control.

なお、上記実施例では、記録素子が4個のインクジェ
ットノズルの場合について述べたが、ノズル数は4個に
限らず、記録素子がインクジェットノズルに限られない
のはいうまでもない。また、上記実施例の各ノズルを夫
々3個横方向に並べ、赤、青、黄のインクを噴射して重
ね合わせるカラー記録用インクジェットプリンタでも、
本発明を効果的に適用することができる。
In addition, in the above-described embodiment, the case where the recording element is the inkjet nozzle is described, but the number of nozzles is not limited to four, and it goes without saying that the recording element is not limited to the inkjet nozzle. Also, in an inkjet printer for color recording in which three nozzles of each of the above-described embodiments are arranged in the lateral direction and red, blue, and yellow inks are ejected to be overlaid,
The present invention can be effectively applied.

<発明の効果> 以上の説明で明らかなように、本発明の高速印字方式
は、ドットマトリックスの縦のドットに対応する複数の
記録素子を互いに横方向にドットピッチの整数倍の間隔
をおいて配置した記録ヘッドをもつプリンタにおいて、
プロセッサで制御されるDMAコントローラによって、メ
モリに印字順に一括格納された各記録素子のプリントデ
ータを、配列変換回路を介してバッファメモリに直接転
送し、その際、記録素子の間隔に応じたシフト信号を配
列変換回路に出力して転送されるプリントデータを適切
にバイト単位でビットシフトし、上記バッファメモリに
転送されたビットシフトされたプリントデータを記録素
子に出力して印字を行なうようにしているので、従来の
プロセッサを介するプログラム制御方式に比べてビット
シフト処理が格段に高速に行なえ、従って記録素子によ
る高速印字が実現でき、プリンタシステムの効率を著し
く向上させることができる。
<Effects of the Invention> As is apparent from the above description, in the high-speed printing method of the present invention, the plurality of recording elements corresponding to the vertical dots of the dot matrix are laterally spaced from each other by an integer multiple of the dot pitch. In a printer with a recording head placed,
By the DMA controller controlled by the processor, the print data of each recording element stored in the memory in the printing order at once is directly transferred to the buffer memory through the array conversion circuit. At that time, the shift signal corresponding to the interval between the recording elements is transferred. To the array conversion circuit and appropriately bit-shift the print data in byte units, and the bit-shifted print data transferred to the buffer memory is output to the recording element for printing. Therefore, the bit shift processing can be performed at a significantly higher speed than that of the conventional program control method using a processor, and therefore high-speed printing by the recording element can be realized, and the efficiency of the printer system can be remarkably improved.

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

第1図は本発明の高速印字方式を採用したインクジェッ
トプリンタのブロック図、第2図は第1図の配列変換回
路の具体的構成を示す図、第3図は上記配列変換回路の
動作を示すタイミングチャート、第4図は第1図のRAM
2,4に格納されるプリントデータの状態を示す図、第5
図はインクジェットプリンタの記録ヘッドのノズル配置
を示す図である。 1……CPU、2……RAM(メモリ)、3……配列変換回
路、4……RAM(バッファメモリ)、5……DMAコントロ
ーラ。
FIG. 1 is a block diagram of an inkjet printer adopting the high-speed printing method of the present invention, FIG. 2 is a diagram showing a concrete configuration of the array conversion circuit of FIG. 1, and FIG. 3 is a diagram showing the operation of the array conversion circuit. Timing chart, Figure 4 is the RAM of Figure 1
The figure which shows the state of the print data which is housed in 2,4, 5th
The figure shows the nozzle arrangement of the recording head of the inkjet printer. 1 ... CPU, 2 ... RAM (memory), 3 ... array conversion circuit, 4 ... RAM (buffer memory), 5 ... DMA controller.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 B41J 2/51 B41J 3/04 104 D 3/10 101 H ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location B41J 2/51 B41J 3/04 104 D 3/10 101 H

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ドットマトリックスの縦のドットに対応す
る複数の記録素子を互いに横方向にドットピッチの整数
倍の間隔をおいて配置した記録ヘッドを、プロセッサの
制御下で記録紙に対して相対的に横方向に移動させなが
ら各記録素子にプリントデータを出力して印字を行なう
プリンタにおいて、 上記各記録素子のプリントデータを印字順に連続アドレ
スに一括して格納するメモリと、このメモリから入力さ
れる各記録素子のプリントデータを上記記録素子の間隔
に応じたシフト信号に基づいてバイト単位でビットシフ
トする配列変換回路と、この配列変換回路から出力され
るシフトされたプリントデータを記録素子毎に連続アド
レスで記憶した後、各記録素子へ出力するバッファメモ
リと、上記プロセッサの制御下で上記シフト信号を出力
し、上記メモリとバッファメモリ間のプリントデータの
直接転送を制御するDMAコントローラを備えて、プリン
トデータの高速印字を行なうようにしたことを特徴とす
る高速印字方式。
1. A recording head, in which a plurality of recording elements corresponding to vertical dots of a dot matrix are arranged laterally at intervals of an integral multiple of a dot pitch, relative to a recording paper under the control of a processor. In a printer that prints by outputting print data to each recording element while moving horizontally in a horizontal direction, a memory that collectively stores the print data of each recording element described above in consecutive addresses in a printing order, and a memory that is input from this memory. An array conversion circuit that bit-shifts the print data of each recording element on a byte-by-byte basis based on a shift signal corresponding to the interval between the recording elements, and the shifted print data output from this array conversion circuit for each recording element. After storing at consecutive addresses, output the buffer memory to each recording element, and output the shift signal under the control of the processor. The high-speed printing method is characterized by including a DMA controller that controls direct transfer of print data between the memory and the buffer memory to perform high-speed printing of the print data.
JP62245282A 1987-09-29 1987-09-29 High-speed printing method Expired - Fee Related JPH085220B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62245282A JPH085220B2 (en) 1987-09-29 1987-09-29 High-speed printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62245282A JPH085220B2 (en) 1987-09-29 1987-09-29 High-speed printing method

Publications (2)

Publication Number Publication Date
JPS6487266A JPS6487266A (en) 1989-03-31
JPH085220B2 true JPH085220B2 (en) 1996-01-24

Family

ID=17131350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62245282A Expired - Fee Related JPH085220B2 (en) 1987-09-29 1987-09-29 High-speed printing method

Country Status (1)

Country Link
JP (1) JPH085220B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5944999A (en) * 1982-09-06 1984-03-13 Mitsubishi Electric Corp Operating device for motor
JPS6216156A (en) * 1985-07-16 1987-01-24 Fuji Xerox Co Ltd Apparatus for controlling printer

Also Published As

Publication number Publication date
JPS6487266A (en) 1989-03-31

Similar Documents

Publication Publication Date Title
US4567570A (en) Electronic control system for a linearly slanted print head
JPH0773920B2 (en) n × n bit dot matrix 90 ° rotation circuit
JPS5850589A (en) Display processor
JPS60258589A (en) Character/graphic display circuit
JPH0560425B2 (en)
US5347617A (en) Printer having a multiple scan line printhead controller
US7092115B1 (en) Data processing method, data processing apparatus and image printing apparatus
JPS60154082A (en) Method for printing italic character in dot printer
JPH085220B2 (en) High-speed printing method
JPS6133711B2 (en)
US4935897A (en) Semiconductor memory device suitable for use as a dot image buffer for a printer
JPS6362740A (en) Dot-matrix-printer
US5793939A (en) Print controlling apparatus
JPH034390B2 (en)
JP2003145726A (en) Print head drive
JPS61209483A (en) Memory pattern converter
JPH0228474B2 (en)
JPS63188052A (en) recording device
JP2560742B2 (en) Character pattern generator
JPH02107459A (en) Contract printing method
JPS61140986A (en) Character rotation apparatus
JP2834738B2 (en) Printing equipment
JPH0525673B2 (en)
JPS58183273A (en) Apparatus for controlling printing
JPS63112160A (en) Print size control device for dot printers

Legal Events

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