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
JP2956767B2 - Print data control device in printer - Google Patents
[go: Go Back, main page]

JP2956767B2 - Print data control device in printer - Google Patents

Print data control device in printer

Info

Publication number
JP2956767B2
JP2956767B2 JP63108974A JP10897488A JP2956767B2 JP 2956767 B2 JP2956767 B2 JP 2956767B2 JP 63108974 A JP63108974 A JP 63108974A JP 10897488 A JP10897488 A JP 10897488A JP 2956767 B2 JP2956767 B2 JP 2956767B2
Authority
JP
Japan
Prior art keywords
data
print
signal
suppression
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 - Lifetime
Application number
JP63108974A
Other languages
Japanese (ja)
Other versions
JPH01280576A (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.)
Hitachi High Tech Corp
Original Assignee
Hitachi Electronics Engineering Co 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 Electronics Engineering Co Ltd filed Critical Hitachi Electronics Engineering Co Ltd
Priority to JP63108974A priority Critical patent/JP2956767B2/en
Publication of JPH01280576A publication Critical patent/JPH01280576A/en
Application granted granted Critical
Publication of JP2956767B2 publication Critical patent/JP2956767B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、コンピュータ等の上位装置から供給され
る印字データに基づき印字出力するプリンタにおいて、
印字用紙の有効印字範囲外に対応する印字データの印字
ヘッドに対する供給を抑止制御するようにした印字デー
タ制御装置に関する。
The present invention relates to a printer that prints out based on print data supplied from a host device such as a computer.
The present invention relates to a print data control device configured to suppress and control supply of print data corresponding to an area outside the effective print range of a print sheet to a print head.

[従来の技術] 従来のプリンタの一例を第9図により説明すると、コ
ンピュータ等の図示しない上位装置から供給される印字
データ(印字用紙に印字されるドットパターン)を記憶
する随時読み書き可能なRAMから成るメモリ1が設けら
れている。例えば、供給される印字データは2バイト
(16ビット)単位でメモリ1に書き込まれ、この記憶さ
れた印字データは4バイト(32ビット)単位で読み出さ
れるようになっている。読み出された4バイト単位の該
印字データは制御回路2に与えられる。
[Prior Art] An example of a conventional printer will be described with reference to FIG. 9. A read / write RAM which stores print data (a dot pattern to be printed on a printing paper) supplied from a host device (not shown) such as a computer is used. Is provided. For example, the supplied print data is written to the memory 1 in units of 2 bytes (16 bits), and the stored print data is read in units of 4 bytes (32 bits). The read print data in 4-byte units is supplied to the control circuit 2.

制御回路2は、プリンタの運用及び管理や印字データ
に対する各種処理などを行うものである。制御回路2に
おける印字データの各種処理は、制御ソフトウェアC/W
によって実行される。メモリ1で4バイト(32ビット)
単位で読み出された印字データは該制御回路2において
各種データ処理をされた後、1行分の印字データ量の単
位で(例えば、12バイト単位で)印字ヘッド4に与えら
れる。印字ヘッド4は、制御回路2から供給される印字
データに基づき印字用紙Iに対しドットパターンを印字
出力する。このとき、印字用紙Iに対して印字ヘッド4
が印字出力する印字出力範囲と印字出力方向の一例を示
すと第10図のようであり、該印字ヘッド4は印字用紙I
に対しX軸方向に印字出力する。このようなX軸方向の
印字出力はラスタと呼ばれる。印字用紙Iに印字出力さ
れる画像は、ラスタのドットパターンの集合から成る。
The control circuit 2 performs operation and management of the printer, various processes for print data, and the like. Various processing of print data in the control circuit 2 is performed by the control software C / W
Performed by 4 bytes (32 bits) for memory 1
The print data read out in units are subjected to various data processing in the control circuit 2, and then given to the print head 4 in units of print data for one line (for example, in units of 12 bytes). The print head 4 prints out a dot pattern on the print paper I based on print data supplied from the control circuit 2. At this time, the print head 4
FIG. 10 shows an example of a print output range and a print output direction in which print output is performed.
Is printed out in the X-axis direction. Such print output in the X-axis direction is called a raster. The image printed out on the printing paper I is composed of a set of raster dot patterns.

ところで、制御回路2からの印字ヘッド4に対し1ラ
スタ分を印字するためのデータとして所定のビット幅を
単位とした印字データが供給されるが、実際に印字ヘッ
ド4が印字出力する1ラスタ分に対応するデータ量は制
御回路2から供給されるデータ量とは異なる場合があ
る。例えば、実際に印字用紙Iにおける有効印字範囲ED
の1ラスタ分のデータ量が65ビットであるとすると、制
御回路2ではメモリ1から読み出した4バイト単位のデ
ータを1ラスタに対応して3ブロック分だけ組み合せ
て、4×3=12バイト(96ドット)で出力しなければな
らず、そうすると、第11図に示すように31ビットのデー
タがはみ出してしまう。有効印字範囲EDに対応する印字
データは印字データブロックB1、B2と印字データブロッ
クB3の1ビット目までであり、印字データブロックB3の
2〜32ビット目までの31ビットのデータは有効印字範囲
EDに対応しないデータであるから、印字ヘッド4に対す
る供給を抑止すべきデータである。このように、制御回
路2において印字ヘッド4に供給する1ラスタ分に対応
するデータ量と該印字ヘッド4が実際に印字用紙Iに対
して印字出力するデータ量とが異なるので、はみ出した
データを印字ヘッドに対して供給しないようにするため
に出力抑止若しくはクリア処理を行なう必要がある。
By the way, print data in units of a predetermined bit width is supplied as data for printing one raster from the control circuit 2 to the print head 4. May be different from the data amount supplied from the control circuit 2. For example, the effective printing range ED on the printing paper I is actually
Assuming that the data amount for one raster is 65 bits, the control circuit 2 combines 4 bytes of data read from the memory 1 into 3 blocks corresponding to one raster, and 4 × 3 = 12 bytes ( (96 dots), which would result in 31-bit data overflowing as shown in FIG. The print data corresponding to the effective print range ED is up to the first bit of the print data blocks B1 and B2 and the print data block B3, and the 31-bit data from the 2nd to 32nd bits of the print data block B3 is the effective print range.
Since the data does not correspond to the ED, it is data for which supply to the print head 4 should be suppressed. As described above, since the amount of data corresponding to one raster supplied to the print head 4 in the control circuit 2 is different from the amount of data actually printed out by the print head 4 on the print paper I, the protruding data is It is necessary to perform output suppression or clear processing in order not to supply the print head.

従来のプリンタでは制御回路2におけるソフトウェア
によって、1ラスタ分の印字データ単位で上述のはみ出
しデータに対して事前にクリア処理を繰り返し実行して
いた。例えば、該ソフトウェアによる抑止データのクリ
ア処理は、印字ヘッドに供給すべき1ラスタ分の印字デ
ータとして12バイトをメモリ1から読み出して、該デー
タのうち実際に印字ヘッド4が印字出力すべき印字用紙
Iの有効印字範囲EDに対応するデータとデータ抑止範囲
CDに対応するデータとを判定する。その判定結果に基づ
き、有効印字範囲EDに対応しないデータブロックB3の2
〜32ビットまでの31ビットのはみ出しデータは空データ
と置換される。すなわち、制御回路2におけるソフトウ
ェアによるクリア処理は、有効印字範囲EDに対応する印
字データのデータブロックB1〜B3の1ビット目までの65
ビットとクリア処理したデータブロックB3の2〜32ビッ
トまでの31ビットの空データを、1ラスト分の印字デー
タ12バイト(96ビット)として印字ヘッド4に対して出
力する。このようなソフトウェアによる抑止データに対
する事前のクリア処理は、印字データを印字ヘッド4に
対して供給する1ラスタ分の印字データ単位で繰り返し
実行されるようになっていた。
In a conventional printer, the clearing process is repeatedly executed in advance on the protruding data in units of print data for one raster by software in the control circuit 2. For example, in the clearing process of the suppression data by the software, 12 bytes are read from the memory 1 as print data for one raster to be supplied to the print head, and the printing paper to be actually printed out by the print head 4 out of the data is read out. Data corresponding to the effective print range ED of I and the data suppression range
The data corresponding to the CD is determined. Based on the determination result, the data block B3 2 that does not correspond to the effective print area ED
31-bit protruding data of up to 32 bits is replaced with empty data. That is, the clearing process by the software in the control circuit 2 is performed by the first block of the data block B1 to B3 of the print data corresponding to the effective print range ED.
The bit and the 31-bit empty data of 2 to 32 bits of the cleared data block B3 are output to the print head 4 as 12 bytes (96 bits) of one last print data. The prior clearing process for the suppression data by the software is repeatedly executed in units of one raster print data which supplies the print data to the print head 4.

[発明が解決しようとする課題] 上述のように従来のプリンタにおいては、実際に印字
ヘッドが印字出力しない有効印字範囲に対応しないデー
タを空データに変換する処理はソフトウェアによる事前
のクリア処理によって行うようにしていたため、該デー
タ処理に比較的時間がかかり、高速印字出力のプリンタ
に対応することができず印字作業の効率向上が望めなか
った、という問題があった。
[Problems to be Solved by the Invention] As described above, in the conventional printer, the process of converting data that does not correspond to the effective print range that is not actually output by the print head into empty data is performed by prior clear processing by software. Therefore, there is a problem that the data processing takes a relatively long time, cannot cope with a printer of high-speed printing output, and cannot improve the efficiency of the printing operation.

この発明は上述の点に鑑みてなされたもので、印字ヘ
ッドに対して供給する1ラスタ分の印字データのうち印
字用紙における有効印字範囲に対応しない所定ビット幅
の印字データの供給を抑止する処理をリアルタイムで実
行することができるようにしたプリンタにおける印字デ
ータ制御装置を提供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and suppresses the supply of print data of a predetermined bit width that does not correspond to an effective print range on print paper among print data for one raster supplied to a print head. The present invention is to provide a print data control device in a printer which can execute the print data in real time.

[課題を解決するための手段] この発明に係るプリンタにおける印字データ制御装置
は、コンピュータ等の上位装置から供給される印字デー
タを記憶し、この記憶した印字データを所定のビット数
から成るデータ単位毎に読み出して印字ヘッドに供給す
る記憶手段を有するプリンタにおける印字データ制御装
置において、該プリンタにセットされる印字用紙のサイ
ズを示すデータと、セットされた印字用紙の縦横方向を
示すデータとからなる書式データを供給する書式データ
供給手段と、前記書式データ供給手段から供給された印
字用紙のサイズ及び印字用紙の縦横方向を示す書式デー
タに対応した有効印字範囲とデータ抑止範囲を判定し、
前記記憶手段から出力される印字データのうちデータ抑
止範囲に対応する各ビットに対して抑止信号を出力する
データ抑止手段と、前記データ抑止手段から出力される
抑止信号に応じて前記印字ヘッドに対する前記印字デー
タの供給を各ビット毎に抑止制御するゲート手段とを具
えたものである。
Means for Solving the Problems A print data control device in a printer according to the present invention stores print data supplied from a host device such as a computer, and converts the stored print data into a data unit having a predetermined number of bits. In a print data control device for a printer having storage means for reading out each time and supplying the read out print data to a print head, the print data control device comprises data indicating the size of the print paper set in the printer and data indicating the length and width of the set print paper. A format data supply unit for supplying format data, and determining an effective print range and a data suppression range corresponding to the format data indicating the size and length and width of the print paper supplied from the format data supply unit,
A data suppression unit that outputs a suppression signal for each bit corresponding to a data suppression range in the print data output from the storage unit; and a data suppression unit that outputs the suppression signal to the print head according to the suppression signal output from the data suppression unit. Gate means for controlling the supply of print data for each bit.

[作用] 記憶手段では、コンピュータ等の上位装置から供給さ
れる印字データを記憶し、この記憶した印字データを所
定のビット数から成るデータ単位毎に読み出して印字ヘ
ッドに供給す。書式データ供給手段では、プリンタにセ
ットされる印字用紙のサイズ及び縦横の向きを示す書式
データを供給する。データ抑止手段では、書式データ供
給手段から供給された書式データに基づき有効印字範囲
とデータ抑止範囲を判定し、記憶手段から出力される印
字データのうちデータ抑止範囲に対応する各ビットに対
して抑止信号を出力する。ゲート手段では、データ抑止
手段から出力される抑止信号に応じて印字ヘッドに対す
る印字データの供給を各ビット毎に制御する。
[Operation] The storage unit stores print data supplied from a host device such as a computer, reads out the stored print data for each data unit having a predetermined number of bits, and supplies the read data to the print head. The format data supply means supplies format data indicating the size and length and width directions of the printing paper set in the printer. The data suppression unit determines an effective print range and a data suppression range based on the format data supplied from the format data supply unit, and suppresses each bit corresponding to the data suppression range in the print data output from the storage unit. Output a signal. The gate means controls supply of print data to the print head for each bit in accordance with a suppression signal output from the data suppression means.

このように、印字データを制御するための専用ハード
ウェアを設けることによって、印字ヘッドの印字出力方
向と印字用紙のサイズに基づき、有効印字範囲に対応し
ないデータの該印字ヘッドに対する供給を抑止する処理
をリアルタイムで実行できるようにしたため、高速印字
出力のプリンタにも対応するすることが可能になり印字
作業の効率向上が期待できる。
By providing dedicated hardware for controlling print data in this way, processing for suppressing supply of data that does not correspond to the effective print range to the print head based on the print output direction of the print head and the size of the print paper is suppressed. Can be executed in real time, so that it is possible to cope with a printer of high-speed print output, and an improvement in printing work efficiency can be expected.

[実施例] 以下、この発明に係るプリンタにおける印字データ制
御装置の一実施例につき添付図面を参照しながら詳細に
説明する。
Hereinafter, an embodiment of a print data control device in a printer according to the present invention will be described in detail with reference to the accompanying drawings.

この発明に係る印字データ制御装置を適用したプリン
タの一実施例を示すと第1図のようであり、大別してメ
モリ10と制御部20とデータ処理用の専用ハードウェアか
ら成るデータ抑止部30と印字ヘッド60等から成るもので
ある。メモリ10は第9図で述べたメモリ1と同じ機能を
有し、図示しないコンピュータ等の上位装置から供給さ
れる印字データを記憶するRAMであり、制御部20の制御
によって印字データの読み書き動作を行なう。
FIG. 1 shows an embodiment of a printer to which a print data control device according to the present invention is applied. The printer is roughly divided into a memory 10, a control unit 20, and a data suppression unit 30 composed of dedicated hardware for data processing. It comprises a print head 60 and the like. The memory 10 has the same function as the memory 1 described in FIG. 9, and is a RAM for storing print data supplied from a host device such as a computer (not shown). The read / write operation of the print data is controlled by the control unit 20. Do.

制御部20は、装置全体の運用及び管理等を行なうと共
に、メモリ10から読み出した所定ビット幅を単位とする
印字データに対して抑止すべきデータか否かを判定する
等の各種処理を実行してデータ抑止部30に該データを出
力するものであり、ページモードレジスタ21と抑止判定
回路22などを含むものである。ページモードレジスタ21
は、印字用紙Iのサイズと該用紙Iがプリンタにセット
される縦横の向きを書式データとして記憶する書式記憶
手段であり、記憶された書式データは抑止判定回路22に
与えられる。抑止判定回路22は、与えられる書式データ
に基づき印字ヘッド60に対して供給する1ラスタ分に対
応した所定バイト単位のデータの各ビットに対し抑止す
べきデータか否かを判定する。例えば、1ラスタ分の印
字データとして24バイト(192ビット)単位で印字ヘッ
ド60に印字データを供給する場合、第3図(a)の印字
用紙Iの有効印字範囲EDに対応する1ラスタ分の印字デ
ータが129ビットであるとすると、データ抑止範囲KDに
対応するデータは63ビットになる。このように、印字ヘ
ッド60に供給する1ラスタ分のデータ量と印字ヘッド60
が実際に印字用紙Iに対して印字出力するデータ量とが
異なるため、印字ヘッド60に対する供給を抑止すべきは
み出しデータが発生する。このはみ出しデータの抑止を
行なうために、印字データの各ビットに対して印字用紙
Iの有効印字範囲EDに対応するデータであるのか否かを
抑止判定回路22において判定する。この判定結果が抑止
すべきデータであるとき、すなわち、印字ヘッド60の印
字出力がラスタの終点に達したとき、データ抑止部30を
構成する抑止回路70に対してラスタエンド信号REのアク
テブ“1"を出力する。
The control unit 20 performs operations and management of the entire apparatus, and executes various processes such as determining whether print data read from the memory 10 in units of a predetermined bit width is data to be suppressed. And outputs the data to the data suppression unit 30, and includes a page mode register 21, a suppression determination circuit 22, and the like. Page mode register 21
Is format storage means for storing, as format data, the size of the printing paper I and the vertical and horizontal directions in which the paper I is set in the printer. The stored format data is given to the inhibition determination circuit 22. The inhibition determination circuit 22 determines whether or not each bit of data of a predetermined byte unit corresponding to one raster supplied to the print head 60 is data to be inhibited based on the given format data. For example, when print data is supplied to the print head 60 in units of 24 bytes (192 bits) as print data for one raster, the print data for one raster corresponding to the effective print range ED of the printing paper I in FIG. Assuming that the print data is 129 bits, the data corresponding to the data suppression range KD is 63 bits. Thus, the amount of data for one raster supplied to the print head 60 and the print head 60
Is different from the amount of data actually printed out on the printing paper I, so that protruding data for which supply to the print head 60 should be suppressed is generated. In order to suppress the overflow data, the inhibition determination circuit 22 determines whether each bit of the print data is data corresponding to the effective print range ED of the print paper I. When the result of this determination is data to be suppressed, that is, when the print output of the print head 60 reaches the end point of the raster, an active “1” of the raster end signal RE "Is output.

データ抑止部30は、制御部20を介して入力された1ラ
スタ分の印字データが印字用紙Iの有効印字範囲EDに対
応する印字データである場合は該データを印字ヘッド60
に供給し、入力された印字データのうち印字用紙Iの有
効印字範囲EDに対応しないデータである場合は印字ヘッ
ド60に対する該データの供給を抑止する専用ハードウェ
アである。該データ抑止部30は1ラスタ分の印字データ
の各ビットが抑止すべきデータであるか否かを検出する
抑止データ検出回路40と、印字用紙Iのサイズと印字ヘ
ッド60の印字出力方向に基づき抑止信号を発生する抑止
回路50及び抑止回路70と、該抑止信号に応じて印字ヘッ
ド60に供給する印字データを制御するゲート35などから
成るものである。
When the print data for one raster input through the control unit 20 is print data corresponding to the effective print range ED of the print paper I, the data suppression unit 30
If the input print data does not correspond to the effective print range ED of the print paper I, the hardware is a dedicated hardware for suppressing the supply of the data to the print head 60. The data suppression unit 30 includes a suppression data detection circuit 40 for detecting whether each bit of the print data for one raster is data to be suppressed, and a data output direction of the print head 60 based on the size of the print paper I. It comprises a suppression circuit 50 and a suppression circuit 70 for generating a suppression signal, a gate 35 for controlling print data supplied to the print head 60 according to the suppression signal, and the like.

抑止データ検出回路40の一例を図によって示すと第2
図のようであり、印字用紙Iのデータ抑止範囲KDに対応
するデータを検出する。抑止データ検出回路40を構成す
る横サイズ設定回路41は、セットされる印字用紙Iにお
ける有効印字範囲EDの横サイズを示す値を図示しないス
イッチ等によって設定記憶するものであり、設定された
値はディレイ42を介して比較回路46の一方の入力に信号
BSDとして与えられる。
An example of the inhibition data detection circuit 40 is shown in FIG.
As shown in the figure, data corresponding to the data inhibition range KD of the printing paper I is detected. The horizontal size setting circuit 41 constituting the suppression data detection circuit 40 is for setting and storing a value indicating the horizontal size of the effective print range ED on the printing paper I to be set by a switch (not shown) or the like. A signal to one input of a comparison circuit 46 via a delay 42
Given as BSD.

ドット計数回路43は、印字ヘッド60の印字出力動作に
おける現在のX軸方向の印字出力位置を計数するカウン
タである。該ドット計数回路43のカウント値は、印字用
紙Iに対する印字ヘッド60の絶対的な印字出力位置を示
す値ではなく、印字出力中のデータの所定ビット数を最
大値とするものである。例えば、印字データの8バイト
に対応する64ビットを最大値としてアップカウントす
る。該ドット計数回路43から出力されるカウント値を示
す信号HCは、セレクタ45の一方の入力に与えられる。
The dot counting circuit 43 is a counter that counts the current print output position in the X-axis direction in the print output operation of the print head 60. The count value of the dot counting circuit 43 is not a value indicating the absolute print output position of the print head 60 with respect to the print paper I, but the maximum value of a predetermined number of bits of data being printed. For example, up-counting is performed with 64 bits corresponding to 8 bytes of print data as the maximum value. A signal HC indicating the count value output from the dot counting circuit 43 is given to one input of a selector 45.

ラスタ計数回路44は、印字ヘッド60の印字出力動作に
おける現在のY軸方向の印字出力位置を計数するカウン
タである。該ラスタ計数回路44のカウント値は、印字用
紙Iに対する印字ヘッド60の絶対的な印字出力位置に示
す値ではなく、印字出力中の所定ビット幅を単位とする
該データに対応する各ドット毎の印字ヘッド60のラスタ
位置を示す値である。例えば、印字データの8バイトを
単位とする64ビットに対応する各ドット毎の印字ヘッド
60のラスタ位置を示す値である。該ラスタ計数回路44か
ら出力されるカウント値を示す信号VCは、セレクタ45の
他方の入力に与えられる。
The raster counting circuit 44 is a counter that counts the current print output position in the Y-axis direction in the print output operation of the print head 60. The count value of the raster counting circuit 44 is not a value indicating the absolute print output position of the print head 60 with respect to the print paper I, but is a value for each dot corresponding to the data in units of a predetermined bit width during print output. This is a value indicating the raster position of the print head 60. For example, a print head for each dot corresponding to 64 bits in units of 8 bytes of print data
This is a value indicating 60 raster positions. A signal VC indicating the count value output from the raster counting circuit 44 is supplied to the other input of the selector 45.

セレクタ45は、印字用紙Iに対する印字ヘッド60の印
字出力方向に応じて、ドット計数回路43から与えられる
信号HCかラスタ計数回路44から与えられる信号VCかのい
づれかを選択して信号SELとして比較回路46の他方の入
力に与える。該セレクタ45において信号HCが選択された
場合、ドット計数回路43による64ドット単位のカウント
値HCが信号SELとして比較回路46に与えられる。また、
信号VCが選択されたときは、ラスタ計数回路44のカウン
ト値を示す信号VCが信号SELとして比較回路46に与えら
れる。なお、印字ヘッド60による印字用紙Iに対する印
字出力方向は、第3図(a)の非回転モードのようにX
方向に印字出力するモードと、第3図(b)の回転モー
ドのようにY方向に印字出力するモードとがある。セレ
クタ45は入力信号として、非回転モードのとき信号HCを
選択し、回転モードのとき信号VCを選択するようになっ
ている。
The selector 45 selects either the signal HC given from the dot counting circuit 43 or the signal VC given from the raster counting circuit 44 in accordance with the print output direction of the print head 60 with respect to the printing paper I, and as a signal SEL, Give the other input of 46. When the signal HC is selected by the selector 45, the count value HC in units of 64 dots by the dot counting circuit 43 is given to the comparison circuit 46 as the signal SEL. Also,
When the signal VC is selected, the signal VC indicating the count value of the raster counting circuit 44 is given to the comparison circuit 46 as the signal SEL. Note that the print output direction of the print head 60 on the print paper I is X direction as in the non-rotational mode in FIG.
There is a mode in which printing is performed in the Y direction, and a mode in which printing is performed in the Y direction, such as the rotation mode in FIG. 3B. The selector 45 selects the signal HC as the input signal in the non-rotation mode and selects the signal VC in the rotation mode.

比較回路46は、一方の入力に与えられる信号BSDと他
方の入力に与えられる信号SELとを比較し、印字ヘッド6
0に供給する1ラスタ分のデータ量を単位として抑止デ
ータを検出する。非回転モードにおいて、比較回路46で
は信号SELとして与えられるドット計数回路43のカウン
ト値のカウントアップ回路HCTLに現在のカウント値HCを
加算した値と、印字用紙Iの有効印字範囲EDの横サイズ
を示す信号BSDとを比較し、該計数回路43の累積値HCTL
+HCが信号BSDの値に達すると抑止データ検出信号DIHの
アクテブ“1"を抑止回路70に対して出力する。つまり、
印字ヘッド60の印字出力位置が印字用紙Iのデータ抑止
範囲KDに達したとき、すなわち、印字ヘッド60の印字出
力がラスタエンドに達したとき、それ以降の印字ヘッド
60に対する印字データの供給を抑止するのである。この
ように、印字ヘッド60は横サイズ設定回路41で設定され
た有効印字範囲EDの横サイズを示す値に基づきラスタ始
点から終点までの印字出力を実行し、データ抑止範囲KD
に対しては印字出力を行なわず次のラスタ始点から再び
印字出力動作を繰り返す。
The comparison circuit 46 compares the signal BSD given to one input with the signal SEL given to the other input, and
The suppression data is detected in units of the data amount for one raster supplied to 0. In the non-rotation mode, the comparison circuit 46 calculates the value obtained by adding the current count value HC to the count-up circuit HCTL of the count value of the dot count circuit 43 given as the signal SEL, and the horizontal size of the effective printing range ED of the printing paper I. The signal BSD is compared with the accumulated signal HCTL of the counting circuit 43.
When + HC reaches the value of the signal BSD, an active “1” of the inhibition data detection signal DIH is output to the inhibition circuit 70. That is,
When the print output position of the print head 60 reaches the data inhibition range KD of the print paper I, that is, when the print output of the print head 60 reaches the raster end,
It suppresses the supply of print data to 60. As described above, the print head 60 executes the print output from the raster start point to the end point based on the value indicating the horizontal size of the effective print range ED set by the horizontal size setting circuit 41, and executes the data suppression range KD
, The print output operation is repeated again from the next raster start point without performing the print output.

一方、回転モードにおいて、比較回路46では信号SEL
として与えられるラスタ計数回路44のカウントアップ回
数VCTL+現在のカウント値VCと印字用紙Iの有効印字範
囲EDの横サイズを示す信号BSDとを比較し、該計数回路4
4の累積値VCTL+VCが信号BSDの値に達するまでの期間、
抑止データ検出信号DIHのアクテブ“1"を抑止回路50に
対して出力する。つまり、印字ヘッド60の印字出力位置
が印字用紙Iのデータ抑止範囲KDである場合は該印字ヘ
ッド60に対するデータの供給を抑止し、該印字ヘッド60
の印字出力位置が有効印字範囲EDに達すると印字データ
の供給を開始する。
On the other hand, in the rotation mode, the comparison circuit 46 outputs the signal SEL.
Is compared with a signal BSD indicating the horizontal size of the effective printing range ED of the printing paper I by comparing the count-up count VCTL of the raster counting circuit 44 given as
Period until the accumulated value of 4 VCTL + VC reaches the value of the signal BSD,
The active “1” of the inhibition data detection signal DIH is output to the inhibition circuit 50. That is, when the print output position of the print head 60 is within the data inhibition range KD of the print paper I, the supply of data to the print head 60 is inhibited,
When the print output position of reaches the effective print range ED, supply of print data is started.

抑止回路70は、印字ヘッド60の印字出力方向が非回転
モードにおいて、抑止データ検出回路40から与えられる
抑止データ検出信号DIHがアクテブ“1"のとき、印字ヘ
ッド60に対する印字データの供給を抑止する信号Y2をオ
アゲート34に出力する。抑止回路70の一例を示すと第4
図のようであり、3入力アンドゲート71は、夫々の入力
に与えられる非回転モードを示す信号NROTと抑止データ
検出信号DIHとラスタエンド信号REとがすべてアクテブ
“1"のとき、フリップフロップ74に対してアクテブ“1"
を出力する。フリップフロップ74は、インバータ78を介
してクロック入力CKに印加されるドットクロックパルス
DOTCLKに同期して、アンドゲート71から与えられる信号
をラッチし、このラッチした信号をフリップフロップ75
及びフリップフロップ76に対して信号F1として出力する
(第5図参照)。なお、ドットクロックパルスDOTCLKは
印字データの1ビット当りの伝送時間に同期するクロッ
クパルスであり、例えば、デューティ50%のパルスから
成り、その1/2周期が1ビットの印字データ伝送の時間
に対応する。
The inhibition circuit 70 inhibits supply of print data to the print head 60 when the inhibition data detection signal DIH given from the inhibition data detection circuit 40 is active “1” in the non-rotation mode of the print output direction of the print head 60. The signal Y2 is output to the OR gate 34. An example of the suppression circuit 70 is fourth.
As shown in the figure, the three-input AND gate 71 sets the flip-flop 74 when the signal NROT indicating the non-rotational mode applied to each input, the inhibition data detection signal DIH, and the raster end signal RE are all active "1". Active “1” for
Is output. The flip-flop 74 outputs a dot clock pulse applied to the clock input CK via the inverter 78.
In synchronization with DOTCLK, a signal provided from the AND gate 71 is latched, and the latched signal is flip-flop 75
The signal is output as a signal F1 to the flip-flop 76 (see FIG. 5). The dot clock pulse DOTCLK is a clock pulse synchronized with the transmission time of one bit of print data. For example, the dot clock pulse is composed of a pulse with a duty of 50%, and a half cycle thereof corresponds to a time of one bit of print data transmission. I do.

アンドゲート72は、一方の入力に与えられるインバー
タ79を介して反転された信号BITが“1"のとき、他方の
入力に与えられるドットクロックパルスDOTCLKをフリッ
プフロップ75のクロックCK入力に対して出力する。この
信号BITは、ドット計数回路43のカウント値HCに対応す
る印字データの最下位ビットLSBの偶奇数を示す信号で
あり、奇数のときは、“0"、偶数のときは“1"になる。
The AND gate 72 outputs the dot clock pulse DOTCLK applied to the other input to the clock CK input of the flip-flop 75 when the signal BIT inverted via the inverter 79 applied to one input is “1”. I do. This signal BIT is a signal indicating the even or odd number of the least significant bit LSB of the print data corresponding to the count value HC of the dot counting circuit 43, and is "0" when it is odd and "1" when it is even. .

フリップフロップ75は、クロック入力CKに与えられる
アンドゲート72の出力信号の立上りに同期してフリップ
フロップ74の出力信号F1をラッチし、該ラッチした信号
をオアゲート77の一方の入力に対して信号F2として出力
する。
The flip-flop 75 latches the output signal F1 of the flip-flop 74 in synchronization with the rising of the output signal of the AND gate 72 supplied to the clock input CK, and outputs the latched signal to the signal F2 with respect to one input of the OR gate 77. Output as

アンドゲート73は、一方の入力に与えられる信号BIT
が“1"の状態のとき、インバータ80を介して他方の入力
に与えられるドットクロックパルスDOTCLKの反転信号を
フリップフロップ76のクロック入力CKに対して供給す
る。フリップフロップ76はアンドゲート73の出力信号の
立上りに同期してフリップフロップ74の出力信号F1をラ
ッチし、該ラッチした信号をオアゲート77の一方の入力
に対して信号F3として出力する。
The AND gate 73 outputs the signal BIT applied to one input.
Is "1", an inverted signal of the dot clock pulse DOTCLK supplied to the other input via the inverter 80 is supplied to the clock input CK of the flip-flop 76. The flip-flop 76 latches the output signal F1 of the flip-flop 74 in synchronization with the rising of the output signal of the AND gate 73, and outputs the latched signal as a signal F3 to one input of the OR gate 77.

オアゲート77の出力は抑止信号Y2として、第1図のオ
アゲート34の一方の入力に与えられる。該抑止信号F2若
しくは抑止信号F3のいづれかがアクテブ“1"のとき、オ
アゲート77から出力される抑止信号Y2はアクテブ“1"に
なるため印字ヘッド60に対する印字データの抑止が実行
される。
The output of the OR gate 77 is given to one input of the OR gate 34 in FIG. 1 as a suppression signal Y2. When either the inhibition signal F2 or the inhibition signal F3 is active "1", the inhibition signal Y2 output from the OR gate 77 becomes active "1", so that the print data for the print head 60 is inhibited.

このように、非回転モードにおける印字データの抑止
制御は、抑止データ検出信号DIHがアクテブ“1"で信号B
ITが“0"であることを条件に、第5図に示すようにドッ
トクロックパルスDOTCLKの立上りに同期してフリップフ
ロップ75の出力信号F2がアクテブ“1"になり、オアゲー
ト77から抑止信号Y2のアクテブ“1"が出力される。従っ
て、印字データの最下位ビットLSBが奇数(信号BIT=
“0")であるから、印字データの抑止は次の偶数ビット
から実行される。
As described above, the suppression control of the print data in the non-rotation mode is performed when the suppression data detection signal DIH is active “1” and the signal B is suppressed.
Assuming that IT is "0", the output signal F2 of the flip-flop 75 becomes active "1" in synchronization with the rise of the dot clock pulse DOTCLK as shown in FIG. Is output as "1". Therefore, the least significant bit LSB of the print data is an odd number (signal BIT =
(0)), the suppression of print data is executed from the next even-numbered bit.

また、抑止データ検出信号DIHがアクテブ“1"で信号B
ITが“1"であることを条件に第5図に示すようにドット
クロックパルスDOTCLKの立下りに同期してフリップフロ
ップ76の出力信号F3がアクテブ“1"になる。従って、印
字データの最下位ビットLSBが偶数(信号BIT=“1")で
あるから、印字データの抑止は次の奇数ビットから実行
される。
When the inhibition data detection signal DIH is active “1”, the signal B
Under the condition that IT is "1", the output signal F3 of the flip-flop 76 becomes active "1" in synchronization with the fall of the dot clock pulse DOTCLK as shown in FIG. Accordingly, since the least significant bit LSB of the print data is an even number (signal BIT = “1”), the suppression of the print data is executed from the next odd bit.

抑止回路50の一例を示すと第6図のようであり、印字
ヘッド60の印字出力方向が回転モードにおいて、抑止デ
ータ検出信号DIHがアクテブ“1"のとき印字ヘッド60に
対する印字データの供給を抑止する信号Y1をオアゲート
34に出力する。3入力アンドゲート51は夫々の入力に与
えられる回転モードを示す信号ROTとスタートパルスSP
とラスタエンド信号REが夫々アクテブ“1"のとき、フリ
ップフロップ53に対してアクテブ“1"を出力する。フリ
ップフロップ53は、セット信号SETのアクテブ“1"が与
えられた後に供給されるリセット信号RESがアクテブ
“1"になった時点から次のリセット信号RESが再びアク
テブ“1"になるまでの期間、印字ヘッド60に対する印字
データの供給を抑止する信号Y1のアクテブ“1"をオアゲ
ート34の他方の入力に出力する(第7図参照)。
FIG. 6 shows an example of the suppression circuit 50. In the case where the print output direction of the print head 60 is the rotation mode, the supply of print data to the print head 60 is suppressed when the suppression data detection signal DIH is active "1". OR gate signal Y1
Output to 34. The three-input AND gate 51 includes a signal ROT indicating a rotation mode applied to each input and a start pulse SP
And when the raster end signal RE is active “1”, respectively, it outputs active “1” to the flip-flop 53. The flip-flop 53 performs a period from when the reset signal RES supplied after the active “1” of the set signal SET is given to “1” to when the next reset signal RES becomes “1” again. Then, the active "1" of the signal Y1 for suppressing the supply of the print data to the print head 60 is outputted to the other input of the OR gate 34 (see FIG. 7).

このように、回転モードにおいて信号ROTと抑止デー
タ検出信号DIHとラスタエンド信号REがすべてアクテブ
“1"であることを条件に、印字ヘッド60に対する印字デ
ータの供給を抑止すると共に、スタートパルスSPのアク
テブ“1"により印字ヘッド60の印字出力位置が印字用紙
Iのデータ抑止範囲KDから有効印字範囲EDまで移動する
期間にラスタ数をアップカウントする動作を繰り返す
(第3図参照)。換言するなら、ラスタ計数回路44のカ
ウント回数VCTL+現在のカウント値VCが信号BSDによっ
て示される所定の値に達するまでの期間は、抑止データ
検出信号DIHとラスタエンド信号REが共にアクテブ“1"
の状態で信号ROTもアクテブ“1"であるから、リセット
信号RESのアクテブ“1"になる立上りから次の立上りま
での間は印字ヘッド60に対する印字データの供給を抑止
する信号Y1をオアゲート34に対して出力する。やがて、
印字ヘッド60の印字出力位置が印字用紙Iのデータ抑止
範囲KDから有効印字範囲EDに達すると、すなわち、カウ
ント回数VCTL+現在のカウント値VCの値が信号BSDによ
って示される所定の値に達すると、抑止データ検出信号
DIHは“0"になるのでフリップフロップ53から出力され
る抑止信号Y1は“0"になり該印字ヘッド60に対する印字
データの供給が開始される。
Thus, under the condition that the signal ROT, the suppression data detection signal DIH, and the raster end signal RE are all active “1” in the rotation mode, the supply of the print data to the print head 60 is suppressed and the start pulse SP The operation of counting up the number of rasters is repeated while the print output position of the print head 60 moves from the data inhibition range KD of the print paper I to the effective print range ED by the active “1” (see FIG. 3). In other words, during the period until the count number VCTL of the raster counting circuit 44 + the current count value VC reaches a predetermined value indicated by the signal BSD, both the inhibition data detection signal DIH and the raster end signal RE are active “1”.
In this state, the signal ROT is also active “1”, so the signal Y1 for suppressing the supply of print data to the print head 60 is supplied to the OR gate 34 from the rising of the reset signal RES becoming active “1” until the next rising. Output to Eventually,
When the print output position of the print head 60 reaches the effective print range ED from the data suppression range KD of the print paper I, that is, when the value of the count number VCTL + the current count value VC reaches a predetermined value indicated by the signal BSD, Suppression data detection signal
Since DIH becomes "0", the inhibition signal Y1 output from the flip-flop 53 becomes "0" and supply of print data to the print head 60 is started.

オアゲート34は、抑止回路50と抑止回路70とから夫々
与えられる抑止信号Y1,Y2を加算的に通過させゲート35
の制御信号入力に印加する。ゲート35は制御部20から供
給される印字データを、抑止信号Y1若しくは抑止信号Y2
のアクテブ“1"によって印字ヘッド60に対する供給を制
御する。
The OR gate 34 adds the suppression signals Y1 and Y2 given from the suppression circuit 50 and the suppression circuit 70, and
To the control signal input. The gate 35 transmits the print data supplied from the control unit 20 to the inhibition signal Y1 or the inhibition signal Y2.
The supply to the print head 60 is controlled by the active “1”.

次に、上述した構成による各部の作用を説明する。例
えば、A4サイズの印字用紙Iをプリンタに縦向きにセッ
トして第3図(a)の非回転モードで印字出力する場
合、横サイズ設定回路41において予め印字用紙Iの有効
印字範囲EDを示す横サイズを適宜設定する。印字ヘッド
60による印字用紙Iに対する印字出力が開始されると、
ドット計数回路43では所定ビット幅に対応するドット単
位で印字ヘッド60の印字出力位置をアップカウントし該
カウント値を示す信号HCをセレクタ45に対して出力す
る。セレクタ45では、例えば64ドット毎のカウントアッ
プ回数HCTL+現在のカウント値HCを加えた値を信号SEL
として比較回路46に出力する。比較回路46では、有効印
字範囲EDの横サイズに対応する信号BSDの値と信号SELの
値とを比較する。信号SELの値が信号BSDの値に達しない
場合は、比較回路46から出力される抑止データ検出信号
DIHは“0"の状態であるから、印字ヘッド60に対する印
字データの供給が持続される。
Next, the operation of each unit according to the above configuration will be described. For example, when the A4 size printing paper I is set vertically in the printer and printed out in the non-rotation mode of FIG. 3A, the effective printing range ED of the printing paper I is previously indicated in the horizontal size setting circuit 41. Set the horizontal size appropriately. Print head
When the printing output on the printing paper I by 60 is started,
The dot counting circuit 43 counts up the print output position of the print head 60 in dot units corresponding to a predetermined bit width, and outputs a signal HC indicating the count value to the selector 45. In the selector 45, for example, a value obtained by adding the count-up count HCTL for every 64 dots + the current count value HC is signal SEL.
Is output to the comparison circuit 46. The comparison circuit 46 compares the value of the signal BSD corresponding to the horizontal size of the effective print range ED with the value of the signal SEL. If the value of the signal SEL does not reach the value of the signal BSD, the suppression data detection signal output from the comparison circuit 46
Since DIH is in the state of “0”, supply of print data to the print head 60 is continued.

やがて、印字ヘッド60の印字出力位置が印字用紙Iの
有効印字範囲EDの終端に差し掛かると、つまり、印字出
力動作におけるラスタエンドに達すると、比較回路46で
は信号SELの値が信号BSDの値に達し抑止回路70に対して
抑止データ検出信号DIHのアクテブ“1"を出力する。例
えば、第8図のようにラスタエンドのドットに対応する
印字データ(最下位ビットLSB)が8バイトの内1ビッ
ト目であるとすると、残りの63ビットは印字ヘッド60に
対する供給を抑止すべきはみ出しデータである。この場
合、抑止回路70に与えられる信号BITは奇数を示す“0"
であり、信号NROTと抑止データ検出信号DIH及びラスタ
エンド信号REは夫々アクテブ“1"であるから、該抑止回
路70からはオアゲート34に対して抑止信号Y2のアクテブ
“1"が出力される(第5図参照)。ラスタエンドのドッ
トに対応する最下位ビットLSBが奇数なので、次の偶数
ビットから印字ヘッド60に対する印字データの供給を抑
止する。
Eventually, when the print output position of the print head 60 approaches the end of the effective print range ED of the print paper I, that is, when it reaches the raster end in the print output operation, the comparison circuit 46 changes the value of the signal SEL to the value of the signal BSD. And outputs the active “1” of the inhibition data detection signal DIH to the inhibition circuit 70. For example, if the print data (least significant bit LSB) corresponding to the raster end dot is the first bit of 8 bytes as shown in FIG. 8, the supply of the remaining 63 bits to the print head 60 should be suppressed. This is overflow data. In this case, the signal BIT applied to the suppression circuit 70 is "0" indicating an odd number.
Since the signal NROT, the inhibition data detection signal DIH, and the raster end signal RE are each active "1", the inhibition circuit 70 outputs an active "1" of the inhibition signal Y2 to the OR gate 34 ( (See FIG. 5). Since the least significant bit LSB corresponding to the raster end dot is odd, supply of print data to the print head 60 from the next even bit is suppressed.

一方、例えば、A4サイズの印字用紙Iをプリンタに横
向きにセットして第3図(b)の回転モードで印字出力
する場合、セレクタ45ではラスタ計数回路44のカウント
値を示す信号VCを入力しカウントアップ回数VCTL+現在
のカウント値VCを信号SELとして比較回路46に対して出
力する。比較回路46では、横サイズ設定回路41から入力
される有効印字範囲EDに対応する信号BSDの値と信号SEL
の値とを比較し、信号SELの値が信号BSDの値に達しない
場合は抑止データ検出信号DIHのアクテブ“1"を抑止回
路50に出力する。抑止回路50では、スタートパルス信号
SPと信号ROTが夫々アクテブ“1"の状態なので、該抑止
データ検出信号DIHのアクテブ“1"が入力されることに
より印字データを抑止する抑止信号Y1のアクテブ“1"を
出力する。このような動作は、印字ヘッド60の印字出力
位置が印字用紙Iの有効印字範囲EDに達するまで繰り返
され、その間はデータ抑止部30の制御により印字ヘッド
60に対するデータの供給が抑止される。
On the other hand, for example, when A4 size printing paper I is set horizontally on the printer and printed out in the rotation mode shown in FIG. 3B, the selector 45 receives the signal VC indicating the count value of the raster counting circuit 44. The count number VCTL + the current count value VC is output to the comparison circuit 46 as the signal SEL. In the comparison circuit 46, the value of the signal BSD corresponding to the effective print range ED input from the horizontal size setting circuit 41 and the signal SEL
When the value of the signal SEL does not reach the value of the signal BSD, an active “1” of the inhibition data detection signal DIH is output to the inhibition circuit 50. In the suppression circuit 50, the start pulse signal
Since the SP and the signal ROT are both active "1", when the active "1" of the inhibition data detection signal DIH is input, the activation "1" of the inhibition signal Y1 for inhibiting print data is output. Such an operation is repeated until the print output position of the print head 60 reaches the effective print range ED of the print paper I. During that time, the print head is controlled by the data suppression unit 30.
The supply of data to 60 is suppressed.

やがて、印字ヘッド60の印字出力位置が印字用紙Iの
有効印字範囲EDに達すると、比較回路46では信号SELの
値が信号BSDの値に達し抑止回路50に対して出力してい
た抑止データ検出信号DIHが“0"になる。従って、抑止
回路50から出力されていた抑止信号Y1もアクテブ“1"か
ら“0"になるため、次のラスタ始点から印字データが印
字ヘッド60に順次供給され印字出力が開始される。
When the print output position of the print head 60 reaches the effective print range ED of the printing paper I, the value of the signal SEL reaches the value of the signal BSD and the suppression data detected by the comparison circuit 46 is output to the suppression circuit 50. The signal DIH becomes “0”. Accordingly, the inhibition signal Y1 output from the inhibition circuit 50 also changes from active “1” to “0”, so that print data is sequentially supplied to the print head 60 from the next raster start point, and print output is started.

上述のように、この専用ハードウェアから成る印字デ
ータ制御装置によれば、1ラスタ分の印字データとして
印字ヘッド60に供給されるデータのうち印字用紙Iの有
効印字範囲EDに対応しないデータの供給をリアルタイム
で抑止する処理を実行することができる。
As described above, according to the print data control device including the dedicated hardware, the supply of data that does not correspond to the effective print range ED of the print paper I among the data supplied to the print head 60 as print data for one raster. Can be executed in real time.

なお、この発明に係るプリンタにおける印字データ制
御装置の各回路は、本発明の目的を実現できる回路構成
であればこの実施例に限定されるものではなく他の適宜
の論理回路により構成してもよい。また、データメモリ
に対する印字データの読み書きビット数と印字ヘッドに
対する印字データの供給ビット数は、この実施例に限定
されるものではなく、他の適宜のビット幅で読み書き若
しくは供給するようにしてもよい。
Each circuit of the print data control device in the printer according to the present invention is not limited to this embodiment as long as the circuit configuration can realize the object of the present invention, and may be configured by other appropriate logic circuits. Good. Further, the number of read / write bits of the print data for the data memory and the number of bits of the print data for the print head are not limited to this embodiment, but may be read / write / supplied with another appropriate bit width. .

[発明の効果] 以上のように、この発明によれば、印字ヘッドの印字
出力方向と印字用紙のサイズに基づき印字用紙のデータ
抑止範囲に対応するデータをビット単位で抑止する処理
をリアルタイムで実行できるようにした専用のハードウ
ェアを設けたため、高速印字出力のプリンタにも対応で
きるようになった。従って、印字作業の効率向上とソフ
トウェア作成作業の軽減化が可能である、という種々の
優れた効果を奏する。
[Effects of the Invention] As described above, according to the present invention, the process of suppressing data corresponding to the data suppression range of the print paper in bit units based on the print output direction of the print head and the size of the print paper is executed in real time. By providing dedicated hardware that can be used, it is now possible to support high-speed print output printers. Therefore, various excellent effects such as an improvement in the efficiency of the printing operation and a reduction in the software creation operation can be achieved.

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

第1図は本発明に係るプリンタにおける印字データ制御
装置の一実施例を示すブロック図、 第2図は同実施例における抑止データ検出回路の一例を
示すブロック図、 第3図(a)は同実施例における印字用紙に対する印字
ヘッドの非回転モード時の印字出力動作を説明する略
図、同図(b)は同実施例における印字用紙に対する印
字ヘッドの回転モード時の印字出力動作を説明する略
図、 第4図は同実施例における非回転モードに対応する抑止
回路の一例を示す回路図、 第5図は第4図の抑止回路における各種信号のタイミン
グの一例を示すグラフ、 第6図は同実施例における回転モードに対応する抑止回
路の一例を示す回路図、 第7図は第6図の抑止回路における各種信号のタイミン
グの一例を示すグラフ、 第8図は印字用紙における有効印字範囲とデータ抑止範
囲に夫々対応するデータ構成の一例を説明する略図、 第9図は従来のプリンタにおける印字データ制御装置の
一例を示すブロック図、 第10図は印字用紙の有効印字範囲とデータ抑止範囲に対
する印字ヘッドの印字出力動作を説明する略図、 第11図は印字ヘッドに対して供給される印字データの一
構成例を説明する図、である。 10……メモリ、20……制御部、21……ページモードレジ
スタ、22……抑止判定回路、30……データ抑止部、34,7
7……オアゲート、35……ゲート、40……抑止データ検
出回路、41……横サイズ設定回路、42……ディレイ、43
……ドット計数回路、44……ラスタ計数回路、45……セ
レクタ、46……比較回路、51,52,71〜73……アンドゲー
ト、53,74〜76……フリップフロップ、50,70……抑止回
路、60……印字ヘッド、78…〜80……インバータ。
FIG. 1 is a block diagram showing an embodiment of a print data control device in a printer according to the present invention, FIG. 2 is a block diagram showing an example of a suppression data detecting circuit in the embodiment, and FIG. FIG. 4B is a schematic diagram illustrating a print output operation of the print head on the print paper in the non-rotation mode in the embodiment, and FIG. 4B is a schematic diagram illustrating a print output operation of the print head on the print paper in the rotation mode in the embodiment. FIG. 4 is a circuit diagram showing an example of a suppression circuit corresponding to the non-rotation mode in the embodiment, FIG. 5 is a graph showing an example of the timing of various signals in the suppression circuit of FIG. 4, and FIG. FIG. 7 is a circuit diagram showing an example of a suppression circuit corresponding to the rotation mode in the example, FIG. 7 is a graph showing an example of the timing of various signals in the suppression circuit of FIG. 6, and FIG. FIG. 9 is a schematic diagram illustrating an example of a data configuration corresponding to an effective print range and a data suppression range, FIG. 9 is a block diagram illustrating an example of a print data control device in a conventional printer, and FIG. FIG. 11 is a schematic diagram illustrating a print output operation of the print head with respect to the data suppression range. FIG. 11 is a diagram illustrating an example of a configuration of print data supplied to the print head. 10: memory, 20: control unit, 21: page mode register, 22: inhibition determination circuit, 30: data inhibition unit, 34, 7
7 or gate, 35 gate, 40 inhibition data detection circuit, 41 horizontal size setting circuit, 42 delay, 43
... dot counting circuit, 44 ... raster counting circuit, 45 ... selector, 46 ... comparison circuit, 51, 52, 71 to 73 ... AND gate, 53, 74 to 76 ... flip-flop, 50, 70 ... ... Inhibition circuit, 60 ... Print head, 78 ... 80 ... Inverter.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−186067(JP,A) 特開 昭63−39350(JP,A) 特開 昭60−48664(JP,A) 特開 昭63−276555(JP,A) 特開 昭60−107977(JP,A) 特開 昭62−93800(JP,A) 特開 昭62−128327(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-61-186067 (JP, A) JP-A-63-39350 (JP, A) JP-A-60-48664 (JP, A) JP-A-63-1986 276555 (JP, A) JP-A-60-107977 (JP, A) JP-A-62-93800 (JP, A) JP-A-62-128327 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】コンピュータ等の上位装置から供給される
印字データを記憶し、この記憶した印字データを所定の
ビット数から成るデータ単位毎に読み出して印字ヘッド
に供給する記憶手段を有するプリンタにおける印字デー
タ制御装置において、 該プリンタにセットされる印字用紙のサイズを示すデー
タと、セットされた印字用紙の縦横方向を示すデータと
からなる書式データを供給する書式データ供給手段と、 前記書式データ供給手段から供給された印字用紙のサイ
ズ及び印字用紙の縦横方向を示す書式データに対応した
有効印字範囲とデータ抑止範囲を判定し、前記記憶手段
から出力される印字データのうちデータ抑止範囲に対応
する各ビットに対して抑止信号を出力するデータ抑止手
段と、 前記データ抑止手段から出力される抑止信号に応じて前
記印字ヘッドに対する前記印字データの供給を各ビット
毎に抑止制御するゲート手段と を具えたプリンタにおける印字データ制御装置。
1. A printer having storage means for storing print data supplied from a host device such as a computer, reading out the stored print data for each data unit having a predetermined number of bits, and supplying the read data to a print head. In the data control device, format data supply means for supplying format data including data indicating the size of print paper set in the printer and data indicating the length and width of the set print paper, and the format data supply means From the print data supplied from the storage unit and the format data indicating the vertical and horizontal directions of the print paper and the data suppression range. A data suppression unit for outputting a suppression signal for a bit, and a suppression signal output from the data suppression unit. Print data control device in a printer equipped with a gate means for inhibiting control for each bit of the supply of the print data for the print head according to.
JP63108974A 1988-05-06 1988-05-06 Print data control device in printer Expired - Lifetime JP2956767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63108974A JP2956767B2 (en) 1988-05-06 1988-05-06 Print data control device in printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63108974A JP2956767B2 (en) 1988-05-06 1988-05-06 Print data control device in printer

Publications (2)

Publication Number Publication Date
JPH01280576A JPH01280576A (en) 1989-11-10
JP2956767B2 true JP2956767B2 (en) 1999-10-04

Family

ID=14498372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63108974A Expired - Lifetime JP2956767B2 (en) 1988-05-06 1988-05-06 Print data control device in printer

Country Status (1)

Country Link
JP (1) JP2956767B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009075608A (en) * 2002-02-28 2009-04-09 Oki Data Corp Image forming device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6048664A (en) * 1983-08-29 1985-03-16 Canon Inc Recorder
JPS61186067A (en) * 1985-02-14 1986-08-19 Toshiba Corp Device for forming thermal transfer picture image
JPS6339350A (en) * 1986-08-05 1988-02-19 Fuji Xerox Co Ltd Image direction switching system of printer
JPS63276555A (en) * 1987-05-08 1988-11-14 Hitachi Ltd Image printer print area circuit

Also Published As

Publication number Publication date
JPH01280576A (en) 1989-11-10

Similar Documents

Publication Publication Date Title
JPH0640080A (en) Printer
EP0467598B1 (en) Image processing apparatus
JP2956767B2 (en) Print data control device in printer
EP0091124B1 (en) Video signal generating circuit
JPS6121011B2 (en)
US5606656A (en) Image data processing unit for forming a plurality of identical images in a single output image area
JPS6035687B2 (en) Print data control device
JP2669336B2 (en) Printing equipment
JP2782798B2 (en) Image output device
JPS6194769A (en) Printing speed control method for dot-type serial printers
JP3622628B2 (en) Timing generating apparatus and method
JP3378587B2 (en) Image recording device
JP2955301B2 (en) Image processing method
JP2765118B2 (en) Print data generation circuit for dot matrix printer
JP2875434B2 (en) Halftone signal generator
JP2803560B2 (en) Printer control device
JP2850371B2 (en) Image output device
JP2656673B2 (en) Printer device
JP2878719B2 (en) Image data transfer control method and apparatus for page printer
JPH0375897B2 (en)
JPH0325115B2 (en)
JPS5868093A (en) Output control device
JPH04336261A (en) Page printer
JPH0611552B2 (en) Printer controller
JPH052643A (en) Picture processor