JPH0814784B2 - Print control device - Google Patents

Print control device

Info

Publication number
JPH0814784B2
JPH0814784B2 JP61155850A JP15585086A JPH0814784B2 JP H0814784 B2 JPH0814784 B2 JP H0814784B2 JP 61155850 A JP61155850 A JP 61155850A JP 15585086 A JP15585086 A JP 15585086A JP H0814784 B2 JPH0814784 B2 JP H0814784B2
Authority
JP
Japan
Prior art keywords
data
signal
bit
frame memory
input
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
JP61155850A
Other languages
Japanese (ja)
Other versions
JPS6324320A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP61155850A priority Critical patent/JPH0814784B2/en
Publication of JPS6324320A publication Critical patent/JPS6324320A/en
Publication of JPH0814784B2 publication Critical patent/JPH0814784B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、プリンタ装置に係り、特に画像信号データ
を記憶するフレームメモリを有する印字制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device, and more particularly to a print control device having a frame memory for storing image signal data.

〔従来技術〕[Prior art]

プリンタは、用紙に文字を印字するための出力装置で
あり、通常印字するための文字情報を電子計算機や記録
媒体から受け取り、プリンタ内部で印字データに変換し
出力用紙に印字している。第4図は従来の印字制御装置
の回路ブロック図である。同図において、図示しないホ
ストコンピュータ等からプリンタ内へ文字コード及び特
徴データ等が送られてくる。この中でコートデータは主
制御部の制御に従って図示しないコードバッファを介し
て文字パターン発生部1へ入力し、特徴データは図示し
ないパラメータバッファを介して文字パターン発生部1
へ入力する。コートデータは文字パターン発生部1内の
シリアルデータ発生部2及びキャラクタジェネレータRO
M3により、パターンに変換されてビットシフト回路4へ
出力される。ビットシフト回路4はANDゲート5、シフ
トレジスタ6、ビットシフト制御回路7、フレームメモ
リ書込制御回路8で構成されており、上述のドットパタ
ーンデータは1ビット毎に後述するデータイネーブル
(DEN)信号と共にアンドゲート5に入力する。入力し
たシリアルデータ(ドットパターンデータ)は、例えば
データイネーブル信号が“高レベル”の時のみ有効であ
り、“低レベル”の時、無効である。アンドゲート5に
より、入力シリアルデータはデータ・イネーブル信号
(DEN信号)と論理積をとられシフトレジスタ6に出力
される。
A printer is an output device for printing characters on paper, receives character information for normal printing from an electronic computer or a recording medium, converts it into print data inside the printer, and prints it on output paper. FIG. 4 is a circuit block diagram of a conventional print control device. In the figure, a character code, characteristic data and the like are sent to the printer from a host computer (not shown) or the like. Among them, the coat data is input to the character pattern generator 1 via a code buffer (not shown) under the control of the main controller, and the characteristic data is input to the character pattern generator 1 via a parameter buffer (not shown).
To enter. The coat data is the serial data generator 2 in the character pattern generator 1 and the character generator RO.
The pattern is converted by M3 and output to the bit shift circuit 4. The bit shift circuit 4 is composed of an AND gate 5, a shift register 6, a bit shift control circuit 7, and a frame memory write control circuit 8. The above dot pattern data is a data enable (DEN) signal which will be described later for each bit. And input to AND gate 5. The input serial data (dot pattern data) is valid only when the data enable signal is “high level” and invalid when it is “low level”, for example. The input serial data is ANDed with the data enable signal (DEN signal) by the AND gate 5 and output to the shift register 6.

ビットシフト制御回路7は、前述の主制御部から出力
されるクロック信号(CLK)に同期してシフト(SHIFT)
信号をシフトレジスタ6へ出力する。シフトレジスタ6
はシフト信号に応じてビットシフトを行い書込データを
作成する。ビットシフト制御回路7は、シフトレジスタ
6に書込データがそろった時点で、フレームメモリ書込
み制御回路8に対してセットリクエスト(SETREQ)信号
を送る。フレームメモリ書込み制御回路8はこのセット
リクエスト信号が供給されるとフレームメモリ部9へ書
込アドレスと書込み要求信号を送りフレームメモリ9へ
書込データの書込みを実行する。
The bit shift control circuit 7 shifts (SHIFT) in synchronization with the clock signal (CLK) output from the main control unit described above.
The signal is output to the shift register 6. Shift register 6
Generates write data by performing bit shift according to the shift signal. The bit shift control circuit 7 sends a set request (SETREQ) signal to the frame memory write control circuit 8 when the shift register 6 has write data. When this set request signal is supplied, the frame memory write control circuit 8 sends a write address and a write request signal to the frame memory section 9 and writes write data to the frame memory 9.

一方、前記シルアルデータの入力が所定ビット数終了
した時点でまだ書込みデータが全てそろっていない場合
は、前述のデータ・イネーブル信号(DEN信号)が文字
サイズ制御回路10から入力し、シフトレジスタ6へのシ
リアルデータの入力を無効にする。そして、クロック信
号とシフト信号とによりシフトレジスタ6に空白ビット
データがそろうまでシフト動作を続ける。フレームメモ
リ部9へのデータの書込みは図示しないOR回路によりフ
レームメモリ内部データと書込データ論理和が行われ、
重ね書きされる。フレームメモリ部9にデータを重ね書
きする場合、書込データが空白データであればフレーム
メモリのデータは変化しない。このようにしてフレーム
メモリ9には順次1ページ分のドットパターンデータが
書込まれ、このようにして書込まれた1ページ分のデー
タは主制御部の制御に従って図示しない印字部へ出力さ
れ実際の用紙に印字される。
On the other hand, if the write data is not yet complete at the time when the predetermined number of bits of the serial data are input, the data enable signal (DEN signal) is input from the character size control circuit 10 to the shift register 6. Disable the serial data input of. Then, the shift operation is continued until the blank bit data is prepared in the shift register 6 by the clock signal and the shift signal. To write data to the frame memory unit 9, an OR circuit (not shown) logically sums the internal data of the frame memory with the write data,
It is overwritten. When overwriting data in the frame memory unit 9, if the write data is blank data, the data in the frame memory does not change. In this manner, the dot pattern data for one page is sequentially written in the frame memory 9, and the data for one page thus written is output to the printing unit (not shown) under the control of the main control unit. Is printed on the paper.

〔従来技術の問題点〕[Problems of conventional technology]

しかしながら、上述のような従来の印字制御装置にお
いては、シフトレジスタ6に入力する黒印字データ(及
び空白データ)をビットシフトし、所定のパラレルデー
タ(書込みデータ)に変換してセットリクエスト信号に
よって、全てフレームメモリ部9にデータを書込んでい
る。
However, in the conventional print control device as described above, the black print data (and the blank data) input to the shift register 6 is bit-shifted, converted into predetermined parallel data (write data), and set by the set request signal. All data is written in the frame memory unit 9.

従って、各リクエスト信号毎に黒印字データ及び空白
データの有無に関係なくフレームメモリ部9のアドレス
を指定し、書込みデータを書込むためフレームメモリ部
9のアクセス時間、データ書込み時間等に時間を要し、
データの処理時間が長かった。
Therefore, since the address of the frame memory unit 9 is designated and the write data is written regardless of the presence or absence of the black print data and the blank data for each request signal, it takes time to access the frame memory unit 9 and to write the data. Then
The data processing time was long.

〔発明の目的〕[Object of the Invention]

本発明は上記従来の欠点に鑑み、書込みデータの中に
ドットデータが存在するか否かを検出し、ドットデータ
が存在しなければ、所定ビットの書込みを省略すること
により、データ処理時間の短縮を図ることを可能にした
印字制御装置を提供することを目的とする。
In view of the above-mentioned conventional drawbacks, the present invention shortens the data processing time by detecting whether or not the dot data exists in the write data, and if the dot data does not exist, the writing of a predetermined bit is omitted. It is an object of the present invention to provide a print control device capable of achieving the above.

〔発明の要点〕[Main points of the invention]

本発明は上記目的を達成するために、1ビットづつシ
リアルに入力した画像データを所定ビット毎に一括して
2次元画像データを記憶する記憶手段に書込む書込み手
段を備えた印字制御装置において、該書込み手段は、1
ビット毎に画像データが入力し該画像データの所定量毎
に黒印字データが含まれていないことを検知する黒印字
データ検知手段と、前記黒印字データ検知手段で検知さ
れた検知信号に従って前記画像データが記憶される記憶
手段に前記所定量の画像データが書込まれることを省略
する書込み省略手段とを有することを特徴とする。
In order to achieve the above object, the present invention provides a print control device comprising a writing means for writing image data input serially bit by bit into a storage means for storing two-dimensional image data collectively for every predetermined bit, The writing means is 1
Image data is input bit by bit and black print data detecting means for detecting that black print data is not included for each predetermined amount of the image data, and the image according to the detection signal detected by the black print data detecting means It is characterized by comprising a writing omission means for omitting writing of the predetermined amount of image data in a storage means for storing data.

〔発明の実施例〕Example of Invention

以下本発明の実施例について図面を参照しながら詳述
する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は本実施例の印字制御装置を含むシステム全体
の回路ブロック図である。同図において、ホストコンピ
ュータ等のホスト(HOST)機器からプリンタ内受信バッ
ファ12へ例えば印字すべき用紙1ページ分のデータが文
字コードの形態で入力する。また、文字コードの他に文
字種、改行、文字サイズ等の特徴データも受信バッファ
12へ入力する。文字コード及び特徴データは、これらの
文字コード及び特徴データは主制御部13によって入力制
御され、文字コードはコードバッファ14に格納され、特
徴データは主制御部13内の変換ROMに従って本印字制御
装置の制御パラメータに変換された後パラメータバッフ
ァ15に格納される。コードバッファ14に格納された文字
コードは主制御部13の制御に従って1文字コード毎に文
字パターン発生部16へ出力される。
FIG. 2 is a circuit block diagram of the entire system including the print controller of this embodiment. In the figure, for example, data for one page of paper to be printed is input in the form of character codes from the host device such as a host computer to the in-printer reception buffer 12. In addition to the character code, the character buffer, line feed, character size, and other characteristic data are also received in the receive buffer.
Enter in 12. Regarding the character code and the characteristic data, the character code and the characteristic data are input-controlled by the main control unit 13, the character code is stored in the code buffer 14, and the characteristic data is the print control device according to the conversion ROM in the main control unit 13. After being converted into the control parameter of, the data is stored in the parameter buffer 15. The character codes stored in the code buffer 14 are output to the character pattern generator 16 for each character code under the control of the main controller 13.

文字パターン発生部16は第1図に示す様にシリアルデ
ータ発生部17、CG-ROM(以下、CGで示す)18、文字サイ
ズ制御回路19、ビットシフト回路20で構成されている。
上述の1文字コード毎出力された文字コードはシリアル
データ発生部17へ出力され、シリアルデータ発生部17で
は入力する文字コードをCG18へ読出す。CG18は多数の文
字コードに対応する文字パターンデータを記憶してお
り、入力する文字コードに対応するドットパターンデー
タをシリアルデータ発生部17へ出力する。シリアルデー
タ発生部17は、さらに変換されたドットパターンデータ
を主制御部13からシリアルデータ発生部17へ出力される
クロック信号に同期して1ビット毎にビットシフト回路
20へ出力する。
As shown in FIG. 1, the character pattern generator 16 is composed of a serial data generator 17, a CG-ROM (hereinafter, referred to as CG) 18, a character size control circuit 19, and a bit shift circuit 20.
The character code output for each character code described above is output to the serial data generator 17, and the serial data generator 17 reads the input character code to the CG 18. The CG 18 stores character pattern data corresponding to a large number of character codes, and outputs dot pattern data corresponding to an input character code to the serial data generator 17. The serial data generation unit 17 synchronizes the dot pattern data that has been further converted with the clock signal output from the main control unit 13 to the serial data generation unit 17, and performs a bit shift circuit for each bit.
Output to 20.

ビットシフト回路20は、ANDゲート21、空白データ検
知回路22、シフトレジスタ23a、レジスタ23b、ビットシ
フト制御回路24、フレームメモリ制御回路25で構成され
ている。上述のシルアルデータ発生部17から出力された
1ビット毎のシリアルデータはANDゲート21へ出力され
る。ANDゲート21では、後述する文字サイズ制御回路19
からDEN信号が例えばハイ信号として入力している時の
み空白データ検知回路22、シフトレジスタ23aへ、上述
のシリアルデータを出力する。
The bit shift circuit 20 includes an AND gate 21, a blank data detection circuit 22, a shift register 23a, a register 23b, a bit shift control circuit 24, and a frame memory control circuit 25. The 1-bit serial data output from the serial data generator 17 is output to the AND gate 21. In the AND gate 21, the character size control circuit 19 described later
Only when the DEN signal is input as a high signal, the serial data is output to the blank data detection circuit 22 and the shift register 23a.

シフトレジスタ23aは、シリアルデータ(SD)を主制
御部13から送られてくるクロック信号(CLK)に同期し
て1ビット単位で入力し、順次16ビットのパラレル形態
の書込データに変換する。また、シフトレジスタ23aの1
6ビットのパラレルデータは後述するリクエスト信号に
同期してレジスタ23bへ出力される。
The shift register 23a inputs the serial data (SD) in 1-bit units in synchronization with the clock signal (CLK) sent from the main control unit 13, and sequentially converts the serial data (SD) into 16-bit parallel write data. In addition, 1 of the shift register 23a
The 6-bit parallel data is output to the register 23b in synchronization with a request signal described later.

一方、上述の空白データ検知回路22は第3図に示す具
体的回路で構成されている。同図において上述のシリア
ルデータは後述するシフト信号と共にANDゲートG1へ入
力する。そして、例えばシフト信号が“高レベル”の
時、上述のシルアルデータはANDゲートG1からフリップ
フロップ26の端子に入力し、クロック信号に同期してフ
リップフロップ26のQ端子からハイ信号を出力し、この
ハイ信号をORゲートG2へ入力する。ORゲートG2とANDゲ
ートG3は記憶回路を形成しており、後述するビットシフ
ト制御回路24から入力するクリア信号(CLR)が例えば
“高レベル”の時、フリップフロップ26のQ端子の“高
レベル”出力は、維持される。つまり、入力する所定ビ
ット(16ビット)のシリアルデータの中に“1"信号(黒
印字データ)が含まれていればANDゲートG3の出力は
“高レベル”のまま保持される。ANDゲートG3のこの出
力信号はドット検出信号として後述するフレームメモリ
書込み制御回路25へ出力される。また、上述のANDゲー
トG3の出力はANDゲートG4へインバータを介して出力さ
れ、インバータを介して同じANDゲートG4へ入力するデ
ータイネーブル(DEN)信号、インバータG5を介して入
力するシフト信号に従って後に詳しく詳述するシフト中
止要求信号としてビットシフト制御回路24へ出力され
る。
On the other hand, the blank data detection circuit 22 described above is composed of the specific circuit shown in FIG. In the figure, the above-mentioned serial data is input to the AND gate G 1 together with a shift signal described later. Then, for example, when the shift signal is "high", Shiruaru data described above is inputted from the AND gate G 1 to the terminal of the flip-flop 26 outputs a high signal from the Q terminal of the flip-flop 26 in synchronization with a clock signal , Input this high signal to the OR gate G 2 . The OR gate G 2 and the AND gate G 3 form a memory circuit, and when the clear signal (CLR) input from the bit shift control circuit 24 described later is “high level”, for example, the “Q” terminal of the flip-flop 26 is The "high level" output is maintained. That is, the output of a predetermined bit "1" in the serial data (16-bit) signal AND gate G 3 if it contains (black print data) to be input is kept at the "high level". This output signal of the AND gate G 3 is output as a dot detection signal to the frame memory write control circuit 25 described later. The output of the AND gate G 3 described above is outputted through the inverter to the AND gate G 4, data enable (DEN) signal to be input via the inverter to the same AND gate G 4, and inputs via the inverter G 5 According to the shift signal, it is output to the bit shift control circuit 24 as a shift stop request signal which will be described in detail later.

一方、ビットシフト制御回路24は、上述のシフト信
号、クリア信号、セットリクエスト信号、及び文字サイ
ズ制御回路19へ制御信号cを出力する回路である。ま
た、ビットシフト制御回路24へはクロック信号、DEN信
号、シフト中止信号、及びフレームメモリ書込み制御回
路25から制御信号Aが入力しており、ビットシフト制御
回路24では、入力するクロック信号を基に計数を行い、
上述のシフト中止要求信号が入力しない場合には、クロ
ック信号に同期してシフト信号を上述の空白データ検知
回路22のANDゲートG1及びインバータG5、シフトレジス
タ23a、シルアルデータ発生部17へ出力し、シフトレジ
スタ23aへ書込むべき1ワード16ビットのシリアルデー
タに対応して、クロック信号が16パルス入力するとセッ
トリクエスト信号をフレームメモリ書込み制御回路25、
レジスタ23bへ出力する。また、シフト中止要求信号が
入力した場合は、シフト信号を上述の空白データ検知回
路22のANDゲートG1、シリアルデータ発生部17、シフト
レジスタ23aへ出力することを中止すると同時にセット
リクエスト信号をフレームメモリ書込制御回路25、及び
レジスタ23bへ出力する。またクリア信号は、上述のリ
クエスト信号が出力された後、所定時間後入力する制御
信号Aが入力すると空白データ検知回路22のANDゲートG
3、シフトレジスタ23aへ出力される。
On the other hand, the bit shift control circuit 24 is a circuit that outputs the above-described shift signal, clear signal, set request signal, and control signal c to the character size control circuit 19. A clock signal, a DEN signal, a shift stop signal, and a control signal A from the frame memory write control circuit 25 are input to the bit shift control circuit 24, and the bit shift control circuit 24 uses the input clock signal as a basis. Count,
When the shift stop request signal is not input, the shift signal is output to the AND gate G 1 and the inverter G 5 of the blank data detection circuit 22, the shift register 23a, and the serial data generator 17 in synchronization with the clock signal. Then, when 16 pulses of the clock signal are input corresponding to 1 word 16-bit serial data to be written to the shift register 23a, the set request signal is sent to the frame memory write control circuit 25,
Output to register 23b. When the shift stop request signal is input, the output of the shift signal to the AND gate G 1 of the blank data detection circuit 22, the serial data generator 17, and the shift register 23a is stopped, and at the same time the set request signal is framed. The data is output to the memory write control circuit 25 and the register 23b. Further, the clear signal is the AND gate G of the blank data detection circuit 22 when the control signal A input for a predetermined time after the above-mentioned request signal is input.
3 , output to the shift register 23a.

フレームメモリ書込制御回路25は、前述の空白データ
検知回路22のANDゲートG3からのドット検出信号を入力
し、ビットシフト制御回路24からセットリクエスト信号
を入力し、主制御部13からフレームメモリ部27でデータ
を書込むアドレスの初期値等が入力する。フレームメモ
リ書込制御回路25では、セットリクエスト信号が入力し
た時、ドット検出信号が入力していればクロック信号に
同期して書込み要求信号をフレームメモリ部27へ出力す
る。また、この書込み要求信号はフレームメモリ部27
で、例えば前のデータの書込みが終了している時出力さ
れる制御信号Bを確認した後出力される。また、フレー
ムメモリ書込制御回路25は書込み要求信号出力後、書込
アドレスデータをフレームメモリ部27へ出力し、さらに
その後制御信号Aをビットシフト制御回路24へ出力す
る。
The frame memory write control circuit 25 inputs the dot detection signal from the AND gate G 3 of the blank data detection circuit 22 described above, the set request signal from the bit shift control circuit 24, and the main control unit 13 to the frame memory. The initial value of the address for writing data is input in the section 27. When the set request signal is input, the frame memory write control circuit 25 outputs the write request signal to the frame memory unit 27 in synchronization with the clock signal if the dot detection signal is input. The write request signal is sent to the frame memory unit 27.
Then, for example, it is output after confirming the control signal B output when the writing of the previous data is completed. After outputting the write request signal, the frame memory write control circuit 25 outputs the write address data to the frame memory unit 27, and then outputs the control signal A to the bit shift control circuit 24.

一方、文字サイズ制御回路19には、主制御部13の制御
に従って、パラメータバッファ15から文字サイズのデー
タが入力し、ビットシフト制御回路24から制御信号(レ
ディ信号)cが入力する。上述の文字サイズのデータ
は、フレームメモリ部27に書込むべき文字サイズを指定
するデータであり、前述のシリアルデータ発生部へ入力
する。例えば、この文字サイズのデータは縦24ドット、
横24ドット又は縦32ドット、横32ドット等のドット単位
の文字を構成する縦、横のデータである。そして、ビッ
トシフト制御回路24から制御信号cが入力しない間はク
ロック信号が16パルス(1ワード分)入力すると制御信
号Eをシリアルデータ発生部17へ出力し、シリアルデー
タ発生部17から前述の様にドットパターンデータに変換
された文字データの中の新たな1ワード分をANDゲート2
1へ出力させる。また、ビットシフト制御回路24から制
御信号Cが入力した時はクロック信号を16パルスカウン
トすることなく制御信号Eをシリアルデータ発生部17へ
出力し、シリアルデータ発生部17から前述と同様、ドッ
トパターンデータに変換された文字データの中の新たな
1ワード分をANDゲート21へ出力させる。
On the other hand, the character size control circuit 19 receives character size data from the parameter buffer 15 and a bit shift control circuit 24 receives a control signal (ready signal) c under the control of the main control unit 13. The character size data described above is data that specifies the character size to be written in the frame memory unit 27, and is input to the serial data generation unit described above. For example, the data of this character size is 24 dots vertically,
It is vertical and horizontal data that forms characters in dot units such as horizontal 24 dots or vertical 32 dots, horizontal 32 dots. Then, while the control signal c is not input from the bit shift control circuit 24, if 16 clock signals (one word) are input, the control signal E is output to the serial data generator 17, and the serial data generator 17 outputs the control signal E as described above. AND gate 2 for a new word in the character data converted to dot pattern data
Output to 1. When the control signal C is input from the bit shift control circuit 24, the control signal E is output to the serial data generator 17 without counting 16 pulses of the clock signal, and the serial data generator 17 outputs the dot pattern as described above. The new one word of the character data converted into data is output to the AND gate 21.

また、例えば文字サイズが縦24ドット×横24ドットの
場合、上述のように16ドット(1ワード)で横24ドット
を分割すると16ドット+8ドットとなる。したがって、
最初の16ドットをカウントした後、次のワードの16ドッ
トの後8ドットは空白データとなる。この時にはDEN信
号がクロック信号に同期して、前述のANDゲート21、ビ
ットシフト制御回路24、空白データ検知回路22のANDゲ
ートG4へ出力される。
Further, for example, when the character size is vertical 24 dots × horizontal 24 dots, when the horizontal 24 dots are divided into 16 dots (1 word) as described above, it becomes 16 dots + 8 dots. Therefore,
After counting the first 16 dots, 8 dots after 16 dots of the next word become blank data. At this time, the DEN signal is output to the AND gate 21, the bit shift control circuit 24, and the AND gate G 4 of the blank data detection circuit 22 in synchronization with the clock signal.

記載は前後するが、フレームメモリ部27は図示しない
印字用紙への印字領域と対応するメモリ領域で構成され
ており、前述の書込み要求信号がフレームメモリ書込制
御回路25から入力し、書込アドレスが指定されると、レ
ジスタ23bから16ビット(1ワード)の書込みデータを
入力し指定されたアドレスへデータ(パターンデータ)
を書込む。
Although described before and after, the frame memory section 27 is composed of a memory area corresponding to a print area on a print sheet (not shown), and the above-mentioned write request signal is input from the frame memory write control circuit 25 to write address. Is specified, 16-bit (1 word) write data is input from register 23b and data (pattern data) is sent to the specified address.
Write in.

以上のような回路構成の本実施例の印字制御装置にお
いて、以下にその動作説明を行う。
The operation of the print control device of the present embodiment having the above circuit configuration will be described below.

まず、図示しないホストコンピュータから入力するコ
ードデータは、図示しない受信バッファを介して、シリ
アルデータ発生部17に入力され、そこでドットパターン
に変換される。さらにドットパターンデータがシリアル
にアンドゲート21へ入力する。アンドゲート21では同時
に印字データが有効データである時出力されるイネーブ
ル信号が入力している時、空白データ検知回路22内のア
ンドゲートG1へ印字データを出力する。
First, code data input from a host computer (not shown) is input to the serial data generator 17 via a reception buffer (not shown) and converted into a dot pattern there. Further, the dot pattern data is serially input to the AND gate 21. The AND gate 21 outputs the print data to the AND gate G 1 in the blank data detection circuit 22 when the enable signal output when the print data is valid data is input at the same time.

また、シフトレジスタ23aへもシリアルデータは供給
され、ビットシフト制御回路24からのシフト信号によっ
てANDゲートG1及びシフトレジスタ23aへ入力したシリア
ルデータは順次シフトされる。この間、ビットシフト制
御回路24は、シフト中止要求信号が入力していないか調
べる。即ち、第3図のANDゲートG4から後述する場合に
出力される信号が所定ビット(16ビット)中に入力しな
ければ、ビットシフト制御回路24は、シフトレジスタ23
aによる16ビットの書込データの作成が終了した時点で
シフト信号(SHIFT)を例えば“低レベル”とし、シリ
アルデータ発生部17からのシリアルデータの入力を中断
させ、セットリクエスト信号を例えば“低レベル”から
“高レベル”にしてフレームメモリ書込制御回路25へ加
える。セットリクエスト信号が加わるとフレームメモリ
書込制御回路25は、制御信号Aを例えばハイレベルと
し、さらに、前述のドット検出信号を調べ、例えばドッ
トが検出されていれば(高レベル)フレームメモリ部27
へ書込要求信号を出力する。書込要求信号が加わると、
フレームメモリ部27では、制御信号Bを例えばハイ信号
にし、フレームメモリ書込み制御回路25からフレームメ
モリ部内の該当アドレスに書込データを重ね書きする。
フレームメモリ部27内の該当アドレスへの書込データの
格納が終了すると、フレームメモリ部27では制御信号B
を例えばローレベルとし、フレームメモリ部27への書込
データの書込みが終了したことをフレームメモリ書込制
御回路25に対して知らせる。制御信号Bがローレベルに
なると、フレームメモリ書込制御回路25では書込アドレ
スを更新したのち制御信号Aを同じくローレベルにして
次のセットリクエスト信号を待つ。一方、セットリクエ
スト信号が加わった時に、ドット検出信号が検出されな
ければ(低レベル)フレームメモリ部27への書込要求は
出力せず、書込アドレスを更新したのち制御信号Aを直
ちにローレベルとして次のセットリクエスト信号を待
つ。つまりシフトの途中でDEN信号が例えば低レベルに
なり、かつ、書込データ中に印字ドットが含まれていな
い場合、空白データ検知回路22はシフト中止要求を出力
する。シフト中止要求が加わると、ビットシフト制御回
路はシフトを中止してセットリクエスト信号を出力す
る。このときに、上述の様に制御信号Aがハイレベルで
あれば、ローレベルになるまでセットリクエスト信号を
出力しないで待機する。セットリクエスト信号を出力し
た後に、ビットシフト制御回路24は次の動作に移る。す
なわち、DEN信号が低レベルであるので、制御信号Cを
例えばローレベル(READY)にしてDEN信号が例えば高レ
ベルになるのを待つ。
The serial data is also supplied to the shift register 23a, and the serial data input to the AND gate G 1 and the shift register 23a is sequentially shifted by the shift signal from the bit shift control circuit 24. During this period, the bit shift control circuit 24 checks whether the shift stop request signal is input. That is, unless the signal output from the AND gate G 4 of FIG. 3 described later is input into a predetermined bit (16 bits), the bit shift control circuit 24 shifts the shift register 23.
When the creation of 16-bit write data by a is completed, the shift signal (SHIFT) is set to, for example, “low level”, the serial data input from the serial data generator 17 is interrupted, and the set request signal is set to, for example, “low level”. The level is changed from "level" to "high level" and added to the frame memory write control circuit 25. When the set request signal is applied, the frame memory writing control circuit 25 sets the control signal A to, for example, a high level, and further checks the dot detection signal described above. If, for example, a dot is detected (high level), the frame memory unit 27.
The write request signal is output to. When a write request signal is added,
In the frame memory unit 27, the control signal B is set to, for example, a high signal, and the write data is overwritten from the frame memory write control circuit 25 to the corresponding address in the frame memory unit.
When the storage of the write data to the corresponding address in the frame memory unit 27 is completed, the frame memory unit 27 outputs the control signal B.
Is set to, for example, a low level to notify the frame memory write control circuit 25 that the writing of the write data to the frame memory unit 27 is completed. When the control signal B becomes low level, the frame memory write control circuit 25 updates the write address and then sets the control signal A to low level as well to wait for the next set request signal. On the other hand, when the dot detection signal is not detected (low level) when the set request signal is applied, the write request to the frame memory unit 27 is not output, and the control signal A is immediately changed to low level after updating the write address. And waits for the next set request signal. That is, when the DEN signal becomes low level during the shift and the print data does not include the print dot, the blank data detection circuit 22 outputs the shift stop request. When the shift stop request is added, the bit shift control circuit stops the shift and outputs a set request signal. At this time, if the control signal A is at the high level as described above, it waits without outputting the set request signal until it becomes the low level. After outputting the set request signal, the bit shift control circuit 24 shifts to the next operation. That is, since the DEN signal is at the low level, the control signal C is set to, for example, the low level (READY) and the DEN signal is set to the high level, for example.

DEN信号は前述の様に、文字サイズ制御回路19によっ
て空白データとなるべき1ワード中の残りのビットに対
応して出力される信号である。文字サイズ制御回路19で
は制御信号Cがレディ状態となり、しかもDEN信号が低
レベルの時、制御信号Eを出力し、シリアルデータ発生
部17の1ワードのシリアルデータの入力を指示する。即
ち、16ビットの書込データ作成途中でデータ・イネーブ
ル信号(DEN信号)が低レベルとなった時、その時点ま
での書込データ内に印字ドットが含まれていれば、シフ
トを所定ビット数続行した後、フレームメモリ部27へデ
ータを書込み、印字ドットが含まれていなければフレー
ムメモリ部27へのデータの書込みを行わない。従って、
この処理によれば書込データ内に印字ドットが含まれて
いなければ、残りの書込みデータの作成を中止し、フレ
ームメモリ部27への書込みも省略し次の処理に移行し、
制御信号C(レディ信号)を出力して新しい1ワードの
シリアルデータをシリアルデータ発生部17から出力す
る。以上のようにシフト中止要求が入力している時、制
御信号C(レディ信号)を出力し、順次E信号をシリア
ルデータ発生部17へ出力することにより、従来よりも文
字コードの処理速度が増す。
As described above, the DEN signal is a signal output by the character size control circuit 19 in correspondence with the remaining bits in one word to be blank data. In the character size control circuit 19, when the control signal C is in the ready state and the DEN signal is at a low level, the control signal E is output to instruct the serial data generator 17 to input one word of serial data. In other words, when the data enable signal (DEN signal) becomes low level while the 16-bit write data is being created, if there is a print dot in the write data up to that point, the shift is performed by the specified number of bits. After continuing, the data is written in the frame memory unit 27, and if the print dot is not included, the data is not written in the frame memory unit 27. Therefore,
According to this process, if the print data does not include the print dots, the creation of the remaining write data is stopped, the writing to the frame memory unit 27 is omitted, and the process shifts to the next process.
A control signal C (ready signal) is output to output new 1-word serial data from the serial data generator 17. As described above, when the shift stop request is input, the control signal C (ready signal) is output, and the E signals are sequentially output to the serial data generation unit 17, thereby increasing the character code processing speed as compared with the conventional case. .

さらに、シリアルデータ内に空白データが存在しない
場合には空白データ検知回路22内のフリップフロップ26
ではシリアルデータ内に印字ドットが含まれていないか
常にチェックし、印字信号が1つも含まれていなければ
ドット検出信号がフレームメモリ書き込み制御回路25へ
出力することはない。フレームメモリ書込制御回路25で
は所定ビットクロックをカウントした時点でこれを確認
し、「ドット検出せず」であればフレームメモリ部27へ
の書込要求信号を出さず、ビットシフト制御回路を介し
てレディ信号を文字サイズ制御部19へ出力する。以後の
処理は上述と同様であり、この場合にもフレームメモリ
部27への全体の書込みは速度を増すことができる。
Further, when there is no blank data in the serial data, the flip-flop 26 in the blank data detection circuit 22
Then, it is always checked whether or not the print dot is included in the serial data, and if no print signal is included, the dot detection signal is not output to the frame memory write control circuit 25. The frame memory write control circuit 25 confirms this when the predetermined bit clock is counted. If “no dot detection” is detected, the write request signal to the frame memory unit 27 is not issued, and the bit shift control circuit is used. And outputs a ready signal to the character size control unit 19. The subsequent processing is the same as that described above, and in this case as well, the speed of the entire writing to the frame memory unit 27 can be increased.

尚、以上のようにして高速でフレームメモリ部27へ書
込まれたパターンデータは主制御部13の制御に従って、
ビデオ信号制御部30を介して印字部31へ送出される。
The pattern data written in the frame memory unit 27 at high speed as described above is controlled by the main control unit 13,
It is sent to the printing unit 31 via the video signal control unit 30.

〔発明の効果〕〔The invention's effect〕

以上、詳細に説明したように本発明によれば、空白デ
ータのフレームメモリへの書込みを省略することによ
り、フレームメモリへのアクセス回数を減少することが
できる。また、ビットシフトによる書込データ作成の途
中で、最終的な書込みデータが空白データになることを
検知した場合は、それ以後のビットシフトによる書込み
データへの変換を中止することができる。従って、デー
タ処理時間を短縮することができる。
As described above in detail, according to the present invention, the number of accesses to the frame memory can be reduced by omitting the writing of blank data into the frame memory. Further, when it is detected that the final write data becomes blank data while the write data is created by the bit shift, the conversion to the write data by the bit shift after that can be stopped. Therefore, the data processing time can be shortened.

【図面の簡単な説明】 第1図は、本発明の印字制御装置の回路ブロック図、 第2図は、本実施例の印字制御回路を含むシステム構成
図、 第3図は、空白データ検知回路の詳細な回路図、 第4図は、従来の印字制御回路等の回路ブロック図であ
る。 22……空白データ検知回路、23a……シフトレジスタ、2
3b……レジスタ、24……ビットシフト制御回路、25……
フレームメモリ書込制御回路.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a circuit block diagram of a print control device of the present invention, FIG. 2 is a system configuration diagram including the print control circuit of this embodiment, and FIG. 3 is a blank data detection circuit. 4 is a circuit block diagram of a conventional print control circuit and the like. 22 …… Blank data detection circuit, 23a …… Shift register, 2
3b …… Register, 24 …… Bit shift control circuit, 25 ……
Frame memory write control circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】1ビットづつシリアルに入力した画像デー
タを所定ビット毎に一括して2次元画像データを記憶す
る記憶手段に書込む書込み手段を備えた印字制御装置に
おいて、該書込み手段は、 1ビット毎に画像データが入力し該画像データの所定量
毎に黒印字データが含まれていないことを検知する黒印
字データ検知手段と、前記黒印字データ検知手段で検知
された検知信号に従って前記画像データが記憶される記
憶手段に前記所定量の画像データが書込まれることを省
略する書込み省略手段とを有することを特徴とする印字
制御装置。
1. A print control apparatus comprising a writing means for writing image data serially input bit by bit into a storage means for storing two-dimensional image data collectively for every predetermined bit, wherein the writing means comprises: Image data is input bit by bit and black print data detecting means for detecting that black print data is not included for each predetermined amount of the image data, and the image according to the detection signal detected by the black print data detecting means A printing control device, comprising: a writing omission means for omitting writing of the predetermined amount of image data in a storage means for storing data.
JP61155850A 1986-07-02 1986-07-02 Print control device Expired - Fee Related JPH0814784B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61155850A JPH0814784B2 (en) 1986-07-02 1986-07-02 Print control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61155850A JPH0814784B2 (en) 1986-07-02 1986-07-02 Print control device

Publications (2)

Publication Number Publication Date
JPS6324320A JPS6324320A (en) 1988-02-01
JPH0814784B2 true JPH0814784B2 (en) 1996-02-14

Family

ID=15614867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61155850A Expired - Fee Related JPH0814784B2 (en) 1986-07-02 1986-07-02 Print control device

Country Status (1)

Country Link
JP (1) JPH0814784B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61116559A (en) * 1984-10-19 1986-06-04 Fujitsu Ltd Printing apparatus

Also Published As

Publication number Publication date
JPS6324320A (en) 1988-02-01

Similar Documents

Publication Publication Date Title
JPH0814784B2 (en) Print control device
JP3268644B2 (en) DMA controller
JPS6330256A (en) Printer
JP2739481B2 (en) Page printer
US6577313B1 (en) Image data control apparatus
JPH05150916A (en) Printer
JPS60134334A (en) Print control method
JPH0596811A (en) Printing method
JPH0832472B2 (en) Print control device
JPH03155268A (en) Picture output controller
JPH0467964A (en) Page printer printing control method
JPS63233843A (en) Bitmap memory controller
JPH05147276A (en) Video transfer controller
JPS6228251A (en) Letter-printing system
JPS63243990A (en) Character transmission system
JPH0516452A (en) Printer
JPH047175A (en) page printer control device
JPS61226833A (en) Displaying system for picture information
JPH0461782B2 (en)
JPH04140163A (en) Printer
JPS6039686A (en) Pattern writing circuit
JPH05309875A (en) Printing treatment device
JPS62130862A (en) Controlling system for printer
JPS62135367A (en) Printer controller
JPH082021A (en) Page printer device

Legal Events

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