JPH0939342A - Printer with test printing function - Google Patents

Printer with test printing function

Info

Publication number
JPH0939342A
JPH0939342A JP7191862A JP19186295A JPH0939342A JP H0939342 A JPH0939342 A JP H0939342A JP 7191862 A JP7191862 A JP 7191862A JP 19186295 A JP19186295 A JP 19186295A JP H0939342 A JPH0939342 A JP H0939342A
Authority
JP
Japan
Prior art keywords
image data
data
test print
test
transfer
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.)
Pending
Application number
JP7191862A
Other languages
Japanese (ja)
Inventor
Satomitsu Funabashi
識充 船橋
Hisaki Ubukawa
寿樹 生川
Hajime Usami
元 宇佐美
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP7191862A priority Critical patent/JPH0939342A/en
Publication of JPH0939342A publication Critical patent/JPH0939342A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To conduct test printing by providing mode switching means for switching a normal print mode for sending image data to transfer means and a test print mode for sending test image data of test print data generating means to the transfer means 7 SOLUTION: A CPU 11 instructs the output start of a video signal to an engine controller 14, which gives the allowance of a video signal output to a line buffer 19. The buffer 19 requests the transfer of image data to a DMA controller 17, which accesses a RAM 16, reads test print image data, and transfers it to a decoding circuit 18. The circuit 18 supplies the data to the buffer 19, which generates a video signal according to test print image data, and supplies it to an engine 2. That is, a control signal is supplied to the engine 2 from an engine controller 14, a video signal is supplied from the buffer 19, and the test is executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、テスト印字機能を
有するプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer having a test printing function.

【0002】[0002]

【従来の技術】従来、文書等の画像をドットイメージで
印字可能なプリンタは、各種のプログラムに従ってプリ
ンタを制御するCPUと、外部装置、例えばパーソナル
コンピュータ(以下、PCと称す)から供給された印字
データを格納するメモリと、画像信号に従って印字動作
を行なうエンジンとを備えている。そして、PCからコ
ード化された印字データが供給されると、まずCPUが
印字データをメモリに格納する。次に、CPUは、メモ
リに格納された印字データを読み出して、ビットマップ
データからなる画像データに変換し、再びメモリに格納
する。その後、CPUは、メモリから画像データを読み
出して画像信号としてエンジンに出力し、印字動作を実
行させる。このように、従来のプリンタでは、データ受
信及びデータ処理がソフトウェアによって行なわれてい
た。
2. Description of the Related Art Conventionally, a printer capable of printing an image of a document or the like as a dot image is a printer which is supplied from a CPU for controlling the printer according to various programs and an external device such as a personal computer (hereinafter referred to as a PC). A memory for storing data and an engine for performing a printing operation according to an image signal are provided. When the encoded print data is supplied from the PC, the CPU first stores the print data in the memory. Next, the CPU reads the print data stored in the memory, converts it into image data composed of bitmap data, and stores it again in the memory. After that, the CPU reads the image data from the memory and outputs it as an image signal to the engine to execute the printing operation. As described above, in the conventional printer, data reception and data processing are performed by software.

【0003】従来のプリンタにおいてテスト印字を行な
う際には、プリンタ内でCPUがテスト印字用の画像デ
ータを生成てメモリに格納し、メモリに格納したテスト
印字用画像データを読み出してエンジンに出力する。従
って、PCにプリンタを接続して印字データの供給を受
けなくても、プリンタ単独でテスト印字を実行すること
ができる。このような従来のプリンタでは、印字データ
の格納、印字データの読み出し及び画像データへの変
換、画像データの格納、画像データの読み出しと、何度
もCPUがメモリにアクセスする必要がある。CPUは
エンジンの制御等、他の処理も実行する必要があるた
め、メモリへのアクセスは他の処理の合間に行なうこと
になり、印字処理速度を高めるのに限界があった。
When performing test printing in a conventional printer, a CPU in the printer generates image data for test printing and stores it in a memory, reads the image data for test printing stored in the memory, and outputs it to the engine. . Therefore, even if the printer is connected to the PC and the print data is not supplied, the test printing can be executed by the printer alone. In such a conventional printer, the CPU needs to repeatedly access the memory for storing print data, reading print data, converting to image data, storing image data, and reading image data. Since the CPU needs to execute other processing such as engine control, the memory is accessed between the other processing, and there is a limit to increase the print processing speed.

【0004】一方、最近ビットマップデータからなる画
像データ作成し、この画像データを圧縮してプリンタに
送信できるPCが知られている。PCから画像データが
供給されれば、プリンタはコード化された印字データを
ビットマップの画像データに変換するという比較的複雑
なデータ処理が不要となるため、データ受信及びデータ
処理をすべてハードウェアで行なうことができる。この
ようなデータ受信及びデータ処理をすべてハードウェア
で行なうプリンタは、ホストベースプリンタ(Host Bas
ed Printer)と呼ばれ、印字処理速度が速いため最近普
及しつつある。
On the other hand, a PC is recently known which is capable of creating image data composed of bitmap data, compressing the image data, and transmitting the compressed image data to a printer. If the image data is supplied from the PC, the printer does not need the relatively complicated data processing of converting the coded print data into the image data of the bitmap. Therefore, the data reception and the data processing are all performed by hardware. Can be done. A printer that performs all such data reception and data processing by hardware is a host-based printer (Host Bas
ed Printer), which has recently become popular because of its high printing speed.

【0005】ホストベースプリンタは、プリンタを制御
するCPUと、PCから供給された画像データを格納す
るメモリと、画像信号に従って印字動作を行なうエンジ
ンに加えて、圧縮された画像データを伸長する復号化回
路と、DMAコントローラとを備えている。DMAコン
トローラは、ダイレクト・メモリ・アクセス方式によ
り、CPUを介さずに直接メモリに対するデータの書き
込み、読み出しができる回路である。
The host-based printer has a CPU for controlling the printer, a memory for storing image data supplied from a PC, an engine for performing a printing operation according to an image signal, and a decoding for decompressing the compressed image data. It has a circuit and a DMA controller. The DMA controller is a circuit capable of directly writing and reading data to and from the memory by the direct memory access method without using the CPU.

【0006】従って、ホストベースプリンタでは、PC
から供給される圧縮された画像データが、DMAコント
ローラによって直接メモリに格納され、メモリに格納さ
れた画像データは、DMAコントローラによって直接メ
モリから読み出されて復号化回路へ転送される。復号化
回路は、圧縮された画像データを伸長して、エンジンに
出力する。このように、ホストベースプリンタでは、書
き込み、読み出し、復号化等のデータ受信及びデータ処
理がすべてDMAコントローラ、復号化回路等のハード
ウェアで行なわれるため、CPUが他の処理の合間にい
ちいちメモリにアクセスしてデータ処理をする必要が無
く、印字処理が高速化される。
Therefore, in the host-based printer, the PC
The compressed image data supplied from the CPU is directly stored in the memory by the DMA controller, and the image data stored in the memory is directly read from the memory by the DMA controller and transferred to the decoding circuit. The decoding circuit decompresses the compressed image data and outputs it to the engine. As described above, in the host-based printer, data reception and data processing such as writing, reading, and decoding are all performed by the hardware such as the DMA controller and the decoding circuit, so that the CPU stores in the memory one by one between the other processing. There is no need to access and process data, and the printing process is speeded up.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来の
ホストベースプリンタにおいては、上述したように通常
の印字処理においてCPUがメモリにアクセスする必要
が無く、メモリへのアクセスはすべてDMAコントロー
ラにより行なわれるため、CPUはメモリに直接アクセ
スしない構成になっていた。従って、プリンタ内のCP
Uによりテスト印字用の画像データを生成してメモリに
書き込み、テスト印字を行なうことはできなかった。
However, in the conventional host-based printer, the CPU does not need to access the memory in the normal print processing as described above, and all the access to the memory is performed by the DMA controller. The CPU was configured so as not to directly access the memory. Therefore, the CP in the printer
It was not possible to perform test printing by generating image data for test printing by U and writing it in the memory.

【0008】本発明は、上述した問題点を解決するため
になされたものであり、テスト印字機能を備えたホスト
ベースプリンタを提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object thereof is to provide a host-based printer having a test printing function.

【0009】本発明の別の目的は、CPUがメモリにア
クセスしなくても、テスト印字用の画像データをメモリ
に書き込むことができ、テスト印字を行なうことが可能
なホストベースプリンタを提供することである。
Another object of the present invention is to provide a host-based printer capable of writing test print image data in a memory and performing test print without the CPU having to access the memory. Is.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載のホストベースプリンタでは、モー
ド切り替え手段により、通常印字モードとテスト印字モ
ードとの切換が行われる。通常印字モード時には、転送
手段に外部装置から画像データが供給される。転送手段
は、画像形成手段を制御する制御手段を介することな
く、直接、画像データを記憶手段へ転送すると共に記憶
手段に格納された画像データを画像形成手段に転送す
る。画像形成手段は、制御手段に制御され、転送された
画像データに従って印字を行う。
In order to achieve the above object, in the host-based printer according to the first aspect, the mode switching means switches between the normal print mode and the test print mode. In the normal print mode, the transfer device is supplied with image data from an external device. The transfer means directly transfers the image data to the storage means and transfers the image data stored in the storage means to the image formation means without passing through the control means for controlling the image formation means. The image forming unit is controlled by the control unit and prints according to the transferred image data.

【0011】一方、テスト印字モード時には、転送手段
にテスト印字データ発生手段によって発生されたテスト
印字用の画像データが供給される。転送手段は、画像形
成手段を制御する制御手段を介することなく、直接、テ
スト印字用画像データを記憶手段へ転送すると共に記憶
手段に格納されたテスト印字用画像データを画像形成手
段に転送する。画像形成手段は、制御手段に制御され、
転送されたテスト印字用画像データに従ってテスト印字
を行う。
On the other hand, in the test print mode, the image data for test print generated by the test print data generating means is supplied to the transfer means. The transfer means directly transfers the test print image data to the storage means and also transfers the test print image data stored in the storage means to the image formation means without passing through the control means for controlling the image formation means. The image forming means is controlled by the control means,
Test printing is performed according to the transferred test printing image data.

【0012】また、請求項2に記載のホストベースプリ
ンタでは、モード設定手段により、通常印字モードとテ
スト印字モードとのいずれか一方のモードが設定され
る。通常印字モードが設定された際には、外部装置から
供給された画像データが受信手段によって受信され、第
2のバスを介して転送手段に供給される。転送手段は、
画像データを第2のバスを介して記憶手段に転送すると
共に、記憶手段に格納された画像データを第2のバスを
介して画像形成手段に転送する。転送手段は、画像形成
手段を制御する制御手段を介することなく、直接画像デ
ータの転送を行う。画像形成手段は、制御手段に制御さ
れ、転送された画像データに従って印字を行う。
In the host-based printer according to the second aspect of the invention, the mode setting means sets one of the normal print mode and the test print mode. When the normal print mode is set, the image data supplied from the external device is received by the receiving unit and is supplied to the transfer unit via the second bus. Transfer means
The image data is transferred to the storage unit via the second bus, and the image data stored in the storage unit is transferred to the image forming unit via the second bus. The transfer unit directly transfers the image data without passing through the control unit that controls the image forming unit. The image forming unit is controlled by the control unit and prints according to the transferred image data.

【0013】一方、モード設定手段により、テスト印字
モードが設定された際には、テスト印字データ発生手段
によって発生されたテスト印字用画像データが、第1の
バスを介して受信手段により受信され、第2のバスを介
して転送手段に供給される。転送手段は、テスト印字用
画像データを第2のバスを介して記憶手段に転送すると
共に、記憶手段に格納されたテスト印字用画像データを
第2のバスを介して画像形成手段に転送する。転送手段
は、画像形成手段を制御する制御手段を介することな
く、直接テスト印字用画像データの転送を行う。画像形
成手段は、制御手段に制御され、転送されたテスト印字
用画像データに従ってテスト印字を行う。
On the other hand, when the test print mode is set by the mode setting means, the test print image data generated by the test print data generating means is received by the receiving means via the first bus, It is supplied to the transfer means via the second bus. The transfer means transfers the test print image data to the storage means via the second bus, and transfers the test print image data stored in the storage means to the image forming means via the second bus. The transfer unit directly transfers the test print image data without passing through the control unit that controls the image forming unit. The image forming unit is controlled by the control unit and performs test printing according to the transferred test printing image data.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1は、本発明のホストベースプリンタの
実施の一形態であるレーザープリンタの電気的構成を表
わすブロック図である。レーザープリンタ1は、ホスト
コンピュータとしてのパーソナルコンピュータ4(以
下、PCと称す)に接続され、PC4から供給される画
像データ及び制御データに従って、普通紙等の媒体に画
像を形成する。レーザープリンタ1は、レーザー方式で
画像を形成する画像形成機構や用紙送り機構等の諸機構
を含むエンジン2と、このエンジン2を制御するための
コントローラ3とを有する。エンジン2は、テスト印字
の実行を指示するためのキー等を有する操作パネル26
を備えている。エンジン2のその他の構成については、
既存のレーザープリンタと同様であるため、その詳しい
説明は省略する。
FIG. 1 is a block diagram showing the electrical configuration of a laser printer which is an embodiment of the host-based printer of the present invention. The laser printer 1 is connected to a personal computer 4 (hereinafter referred to as a PC) as a host computer, and forms an image on a medium such as plain paper according to image data and control data supplied from the PC 4. The laser printer 1 has an engine 2 including various mechanisms such as an image forming mechanism for forming an image by a laser system and a paper feeding mechanism, and a controller 3 for controlling the engine 2. The engine 2 has an operation panel 26 having keys and the like for instructing execution of test printing.
It has. For other configurations of the engine 2,
Since it is similar to the existing laser printer, its detailed description is omitted.

【0016】PC4は、画像データと制御データとをレ
ーザープリンタ1に供給する。画像データは、画像を表
わすビットマップデータを所定の方式により圧縮したデ
ータであり、制御データは、解像度を表わすデータ、改
ページを表わすデータ等である。
The PC 4 supplies image data and control data to the laser printer 1. The image data is data obtained by compressing bitmap data representing an image by a predetermined method, and the control data is data representing resolution, data representing a page break, and the like.

【0017】コントローラ3は、PC4から画像データ
及び制御データを受信するためにPC4に接続されたイ
ンターフェイス10と、インターフェイス10を介して
制御データを受信し、プリンタ全体の制御を行なう8ビ
ットのCPU11と、このCPU11によって実行され
る制御プログラムを格納したROM12と、種々のワー
クメモリ等が設けられるRAM13と、CPU11の指
令に基づいて制御信号をエンジン2へ出力するエンジン
コントローラ14と、画像データを格納するDRAM1
6とを備えている。ROM12はさらに、CPU11が
テスト印字用画像データを生成してテスト印字処理を実
行するために必要なプログラム及びデータを格納してい
る。
The controller 3 includes an interface 10 connected to the PC 4 for receiving image data and control data from the PC 4, and an 8-bit CPU 11 that receives the control data via the interface 10 and controls the entire printer. A ROM 12 storing a control program executed by the CPU 11, a RAM 13 provided with various work memories, an engine controller 14 for outputting a control signal to the engine 2 based on a command from the CPU 11, and image data. DRAM 1
6 is provided. The ROM 12 further stores programs and data necessary for the CPU 11 to generate test print image data and execute the test print processing.

【0018】上記インターフェイス10、CPU11、
ROM12、RAM13、エンジンコントローラ14、
DRAM16は、CPUバス21により相互に接続され
ている。エンジンコントローラ14とエンジン2とは、
複数の信号線23により接続されている。
The interface 10, CPU 11,
ROM12, RAM13, engine controller 14,
The DRAMs 16 are connected to each other by the CPU bus 21. The engine controller 14 and the engine 2 are
It is connected by a plurality of signal lines 23.

【0019】コントローラ3は、また、圧縮された画像
データを伸長する復号化回路18と、画像データをイン
ターフェイス10を介して受信し、DRAM16へ転送
すると共に、DRAM16に格納された画像データを読
み出して復号化回路18へ転送するDMAコントローラ
17と、復号化回路18により伸長された画像データを
ビデオ信号としてエンジン2へ出力するラインバッファ
19とを備えている。ラインバッファ19は、エンジン
コントローラ14の指示に従ってビデオ信号をエンジン
2に出力し、DMAコントローラ17は、ラインバッフ
ァ19の要求に従って、DRAM16に格納された画像
データを読み出して復号化回路18へ転送する。なお、
インターフェイス10を介してDMAコントローラ17
が受信する画像データには、PC4から供給される画像
データと、CPU11が発生したテスト印字用画像デー
タとがある。
The controller 3 also receives the image data via the interface 10 and the decoding circuit 18 for decompressing the compressed image data, transfers the image data to the DRAM 16, and reads the image data stored in the DRAM 16. A DMA controller 17 for transferring to the decoding circuit 18 and a line buffer 19 for outputting the image data expanded by the decoding circuit 18 as a video signal to the engine 2 are provided. The line buffer 19 outputs a video signal to the engine 2 according to an instruction from the engine controller 14, and the DMA controller 17 reads out the image data stored in the DRAM 16 and transfers it to the decoding circuit 18 according to a request from the line buffer 19. In addition,
DMA controller 17 via interface 10
The image data received by the CPU includes image data supplied from the PC 4 and test print image data generated by the CPU 11.

【0020】上記インターフェイス10、復号化回路1
8、DRAM16、DMAコントローラ17は、ローカ
ルバス22により相互に接続されている。復号化回路1
8とラインバッファ19とは専用のバス24で、ライン
バッファ19とエンジン2とは信号線25で、エンジン
コントローラ14とラインバッファ19とは信号線27
で、DMAコントローラ17とラインバッファ19とは
信号線28で接続されている。
The interface 10 and the decoding circuit 1
8, the DRAM 16, and the DMA controller 17 are connected to each other by a local bus 22. Decoding circuit 1
8 and the line buffer 19 are dedicated buses 24, the line buffer 19 and the engine 2 are signal lines 25, and the engine controller 14 and the line buffer 19 are signal lines 27.
The signal line 28 connects the DMA controller 17 and the line buffer 19.

【0021】画像データのDRAM16への転送及び書
き込みと、画像データのDRAM16からの読み出し及
び転送は、DMAコントローラ17によって実行される
ため、CPU11は、印字処理のためにDRAM16に
アクセスする必要はない。しかしながら、電源投入時な
どに、DRAM16に異常がないかをチェックするため
には、CPU11がDRAM16にアクセスする必要が
ある。従って、DRAM16は、CPU11によるアク
セスとDMAコントローラ17によるアクセスとを可能
にするため、CPUバス21とローカルバス22との両
方に接続されている。構成上CPU11とDMAコント
ローラ17とが同時にDRAM16にアクセスすること
はできないので、DRAM16は調停回路15を介して
CPUバス21とローカルバス22とに接続されてい
る。調停回路15は、CPU11とDMAコントローラ
17とのいずれか一方によるDRAM16へのアクセス
を許容する。なお、上述したコントローラ3のDRAM
16以外の要素は、ASIC(Application Specified
Integrated Circuit; 用途特定型IC)として、1チップ
化されている。
The transfer and writing of image data to the DRAM 16 and the reading and transfer of image data from the DRAM 16 are executed by the DMA controller 17, so that the CPU 11 does not need to access the DRAM 16 for print processing. However, the CPU 11 needs to access the DRAM 16 in order to check whether there is any abnormality in the DRAM 16 when the power is turned on. Therefore, the DRAM 16 is connected to both the CPU bus 21 and the local bus 22 in order to enable access by the CPU 11 and access by the DMA controller 17. Since the CPU 11 and the DMA controller 17 cannot access the DRAM 16 at the same time due to the configuration, the DRAM 16 is connected to the CPU bus 21 and the local bus 22 via the arbitration circuit 15. The arbitration circuit 15 allows access to the DRAM 16 by either the CPU 11 or the DMA controller 17. The DRAM of the controller 3 described above
Elements other than 16 are ASIC (Application Specified
It is a single chip as an integrated circuit (application-specific IC).

【0022】インターフェイス10は、PC4から供給
される画像データをDMAコントローラ17へ供給する
通常印字モードと、CPU11が発生したテスト印字用
画像データをDMAコントローラ17へ供給するテスト
印字モードとの切り替えを行なう。以下、図2に基づい
て、インターフェイス10のモード切り替え機能に関連
する部分の回路構成について説明する。
The interface 10 switches between the normal print mode for supplying the image data supplied from the PC 4 to the DMA controller 17 and the test print mode for supplying the test print image data generated by the CPU 11 to the DMA controller 17. . Hereinafter, the circuit configuration of the portion related to the mode switching function of the interface 10 will be described with reference to FIG.

【0023】インターフェイス10には、CPU11に
接続されたラッチ30と、CPU11、PC4及びラッ
チ30に接続されたセレクタ31と、セレクタ31及び
DMAコントローラ17に接続されたラッチ32とが設
けられている。ラッチ30は、CPU11から供給され
る書き込み信号CWRに従って、CPU11が生成した
テスト印字用画像データを1バイトずつ一時的に格納す
る。セレクタ31は、CPU11から供給されるモード
選択信号SELに従って、通常印字モードとテスト印字
モードとのいずれか一方を設定する。例えば、モード選
択信号SELがロウレベルの時には、通常印字モードが
設定され、モード選択信号SELがハイレベルの時に
は、テスト印字モードが設定される。ラッチ32は、セ
レクタ31から供給される書き込み信号WRに従って、
画像データあるいはテスト印字用画像データを1バイト
ずつ一時的に格納し、DMAコントローラ17へ供給す
る。
The interface 10 is provided with a latch 30 connected to the CPU 11, a selector 31 connected to the CPU 11, the PC 4 and the latch 30, and a latch 32 connected to the selector 31 and the DMA controller 17. The latch 30 temporarily stores the test printing image data generated by the CPU 11 byte by byte according to the write signal CWR supplied from the CPU 11. The selector 31 sets one of the normal print mode and the test print mode according to the mode selection signal SEL supplied from the CPU 11. For example, when the mode selection signal SEL is low level, the normal print mode is set, and when the mode selection signal SEL is high level, the test print mode is set. The latch 32, according to the write signal WR supplied from the selector 31,
The image data or the image data for test printing is temporarily stored byte by byte and supplied to the DMA controller 17.

【0024】セレクタ31により通常印字モードが設定
されているときに、PC4からストローブ信号STが供
給されると、セレクタ31は、PC4が送信する画像デ
ータを1バイトずつ受信して、書き込み信号WRと共
に、受信した画像データをラッチ32へ供給する。一
方、セレクタ31によりテスト印字モードが設定されて
いるときに、CPU11からストローブ信号CSTが供
給されると、セレクタ31は、書き込み信号WRと共
に、ラッチ30に格納されたテスト印字用画像データを
ラッチ32へ供給する。
When the strobe signal ST is supplied from the PC 4 when the normal print mode is set by the selector 31, the selector 31 receives the image data transmitted by the PC 4 byte by byte and, together with the write signal WR. , And supplies the received image data to the latch 32. On the other hand, when the strobe signal CST is supplied from the CPU 11 when the test print mode is set by the selector 31, the selector 31 latches the test print image data stored in the latch 30 together with the write signal WR to the latch 32. Supply to.

【0025】次に、レーザープリンタ1の動作について
説明する。レーザープリンタ1の電源がONされると、
CPU11は、調停回路15に対してCPUバス21を
介してのDRAM16へのアクセスを要求し、調停回路
15がアクセスを許可すると、DRAM16のチェック
を行なう。CPU11は、また、モード選択信号SEL
をロウレベルにして、セレクタ31を通常印字モードに
設定する。
Next, the operation of the laser printer 1 will be described. When the power of the laser printer 1 is turned on,
The CPU 11 requests the arbitration circuit 15 to access the DRAM 16 via the CPU bus 21, and when the arbitration circuit 15 permits the access, the DRAM 16 is checked. The CPU 11 also uses the mode selection signal SEL
Is set to the low level to set the selector 31 to the normal print mode.

【0026】通常印字モードにおいて、PC4からスト
ローブ信号STに続いて画像データが送信されると、画
像データは、インターフェイス10のセレクタ31及び
ラッチ32を介してDMAコントローラ17に供給され
る。DMAコントローラ17は、ローカルバス22を介
して画像データをDRAM16に転送する。
In the normal print mode, when image data is transmitted from the PC 4 following the strobe signal ST, the image data is supplied to the DMA controller 17 via the selector 31 and the latch 32 of the interface 10. The DMA controller 17 transfers the image data to the DRAM 16 via the local bus 22.

【0027】PC4は1ページ分の画像データを送信す
ると、改ページを表わす制御データを送信する。改ペー
ジを表わす制御データは、インターフェイス10及びC
PUバス21を介してCPU11に供給される。CPU
11は、改ページを表わす制御データに従って、エンジ
ン2による画像形成動作を開始させる。即ち、CPU1
1はエンジンコントローラ14に画像形成機構や用紙送
り機構等の駆動を指令する。エンジンコントローラ14
はCPU11の指令に従ってエンジン2に制御信号を出
力し、エンジン2の駆動を開始する。
After transmitting the image data for one page, the PC 4 transmits the control data indicating the page break. The control data representing the page break is the interface 10 and C.
It is supplied to the CPU 11 via the PU bus 21. CPU
Reference numeral 11 causes the engine 2 to start an image forming operation in accordance with control data representing a page break. That is, CPU1
Reference numeral 1 instructs the engine controller 14 to drive the image forming mechanism, the paper feeding mechanism, and the like. Engine controller 14
Outputs a control signal to the engine 2 according to a command from the CPU 11 to start driving the engine 2.

【0028】一方、CPU11は、エンジンコントロー
ラ14にビデオ信号の出力開始を指令する。エンジンコ
ントローラ14は、信号線27を介してラインバッファ
19にビデオ信号出力の許可を与える。ラインバッファ
19は、信号線28を介してDMAコントローラ17に
画像データの転送を要求する。DMAコントローラ17
はローカルバス22を介してDRAM16にアクセス
し、DRAM16に格納された画像データの読み出しを
開始する。DMAコントローラ17は、DRAM16か
ら画像データを1ライン分ずつ読み出し、ローカルバス
22を介して復号化回路18に転送する。復号化回路1
8は、圧縮されている画像データを伸長し、専用のバス
24を介してラインバッファ19に供給する。ラインバ
ッファ19は、供給された画像データに従ってビデオ信
号を発生し、信号線25を介してエンジン2に供給す
る。
On the other hand, the CPU 11 commands the engine controller 14 to start outputting a video signal. The engine controller 14 gives the permission of the video signal output to the line buffer 19 via the signal line 27. The line buffer 19 requests the DMA controller 17 to transfer image data via the signal line 28. DMA controller 17
Accesses the DRAM 16 via the local bus 22 and starts reading the image data stored in the DRAM 16. The DMA controller 17 reads the image data from the DRAM 16 line by line and transfers it to the decoding circuit 18 via the local bus 22. Decoding circuit 1
Reference numeral 8 decompresses the compressed image data and supplies it to the line buffer 19 via the dedicated bus 24. The line buffer 19 generates a video signal according to the supplied image data and supplies it to the engine 2 via the signal line 25.

【0029】このようにして、エンジン2には、エンジ
ンコントローラ14から制御信号が、ラインバッファ1
9からビデオ信号が供給され、エンジン2によりレーザ
方式の画像形成動作が行なわれる。CPU11によるエ
ンジン2の制御は、CPUバス21を介して実行され、
DMAコントローラ17による画像データのDRAM1
6への書き込み及び読み出しはローカルバス22を介し
て行なわれるため、PC4から複数ページ分の画像デー
タが供給される際には、画像データ受信処理と画像形成
処理とを同時に行なうことができ、印字処理時間を短縮
できる。
In this way, the engine 2 receives the control signal from the engine controller 14 and the line buffer 1
A video signal is supplied from 9 and the engine 2 performs a laser-type image forming operation. The control of the engine 2 by the CPU 11 is executed via the CPU bus 21,
DRAM 1 for image data by DMA controller 17
Since writing and reading to and from 6 are performed via the local bus 22, when the image data for a plurality of pages is supplied from the PC 4, the image data receiving process and the image forming process can be performed at the same time, and printing is performed. The processing time can be shortened.

【0030】一方、操作パネル26のキー操作により、
テスト印字の実行が指示されると、CPU11は、RO
M12に格納されたテスト印字用のプログラム及びデー
タに従って、テスト印字用画像データを作成し、CPU
バス21を介してインターフェイス10に供給する。具
体的には、CPU11は、まず、モード選択信号SEL
をハイレベルにして、セレクタ31をテスト印字モード
に設定する。テスト印字モードにおいて、CPU11
は、ラッチ30に書き込み信号CWRと共に、テスト印
字用画像データを1バイトずつ供給する。そして、CP
U11がセレクタ31にストローブ信号を供給すると、
テスト印字用画像データは、ラッチ30からセレクタ3
1、ラッチ32を介してDMAコントローラ17に供給
される。DMAコントローラ17は、ローカルバス22
を介してテスト印字用画像データをDRAM16に転送
する。
On the other hand, by operating the keys on the operation panel 26,
When the execution of the test print is instructed, the CPU 11 causes the RO
The image data for test printing is created according to the program and data for test printing stored in M12, and the CPU
It is supplied to the interface 10 via the bus 21. Specifically, the CPU 11 firstly, the mode selection signal SEL
Is set to a high level to set the selector 31 to the test print mode. In the test print mode, the CPU 11
Supplies the test print image data byte by byte to the latch 30 together with the write signal CWR. And CP
When U11 supplies the strobe signal to the selector 31,
Image data for test printing is sent from the latch 30 to the selector 3
1, and is supplied to the DMA controller 17 via the latch 32. The DMA controller 17 uses the local bus 22.
The test print image data is transferred to the DRAM 16 via the.

【0031】CPU11は、すべてのテスト印字用画像
データがDRAM16に格納されると、エンジン2によ
る画像形成動作を開始させるため、エンジンコントロー
ラ14に画像形成機構や用紙送り機構等の駆動を指令す
る。エンジンコントローラ14は、CPU11の指令に
従ってエンジン2に制御信号を出力し、エンジン2の駆
動を開始する。
When all the test print image data is stored in the DRAM 16, the CPU 11 instructs the engine controller 14 to drive the image forming mechanism, the paper feeding mechanism, etc. in order to start the image forming operation by the engine 2. The engine controller 14 outputs a control signal to the engine 2 according to a command from the CPU 11 to start driving the engine 2.

【0032】一方、CPU11は、エンジンコントロー
ラ14にビデオ信号の出力開始を指令する。エンジンコ
ントローラ14は、信号線27を介してラインバッファ
19にビデオ信号出力の許可を与える。ラインバッファ
19は、信号線28を介してDMAコントローラ17に
画像データの転送を要求する。DMAコントローラ17
はローカルバス22を介してDRAM16にアクセス
し、DRAM16に格納されたテスト印字用画像データ
の読み出しを開始する。DMAコントローラ17は、D
RAM16からテスト印字用画像データを1ライン分ず
つ読み出し、ローカルバス22を介して復号化回路18
に転送する。復号化回路18は、圧縮されているテスト
印字用画像データを伸長し、専用のバス24を介してラ
インバッファ19に供給する。ラインバッファ19は、
供給されたテスト印字用画像データに従ってビデオ信号
を発生し、信号線25を介してエンジン2に供給する。
On the other hand, the CPU 11 commands the engine controller 14 to start outputting a video signal. The engine controller 14 gives the permission of the video signal output to the line buffer 19 via the signal line 27. The line buffer 19 requests the DMA controller 17 to transfer image data via the signal line 28. DMA controller 17
Accesses the DRAM 16 via the local bus 22 and starts reading the test print image data stored in the DRAM 16. DMA controller 17
The test printing image data is read from the RAM 16 line by line, and the decoding circuit 18 reads the data via the local bus 22.
Transfer to. The decoding circuit 18 expands the compressed test print image data and supplies it to the line buffer 19 via the dedicated bus 24. The line buffer 19 is
A video signal is generated according to the supplied image data for test printing and is supplied to the engine 2 via the signal line 25.

【0033】このようにして、エンジン2には、エンジ
ンコントローラ14から制御信号が、ラインバッファ1
9からビデオ信号が供給され、エンジン2によりテスト
印字用画像データに基づく画像形成動作、即ち、テスト
印字が実行される。
In this way, the engine 2 receives the control signal from the engine controller 14 and the line buffer 1
The video signal is supplied from 9 and the engine 2 executes the image forming operation based on the test print image data, that is, the test print.

【0034】なお、上記実施の形態において、エンジン
2が画像形成手段に、CPU11が制御手段に、DRA
M16が記憶手段に、DMAコントローラ17が転送手
段に、CPU11及びROM12がテスト印字データ発
生手段に、PC4が外部装置に、操作パネル26、CP
U11及びセレクタ31がモード切換手段に相当する。
また、インターフェイス10が受信手段に、CPUバス
21が第1のバスに、ローカルバス22が第2のバス
に、操作パネル26、CPU11及びセレクタ31がモ
ード設定手段に相当する。
In the above embodiment, the engine 2 serves as the image forming means, the CPU 11 serves as the control means, and the DRA serves as the DRA.
M16 is a storage means, DMA controller 17 is a transfer means, CPU11 and ROM12 are a test print data generation means, PC4 is an external device, operation panel 26, CP.
U11 and the selector 31 correspond to the mode switching means.
Further, the interface 10 corresponds to the receiving means, the CPU bus 21 corresponds to the first bus, the local bus 22 corresponds to the second bus, and the operation panel 26, the CPU 11, and the selector 31 correspond to the mode setting means.

【0035】[0035]

【発明の効果】以上説明したことから明らかなように、
請求項1に記載のホストベースプリンタは、テスト印字
データ発生手段とモード切り替え手段とを備えており、
モード切り換え手段によりテスト印字モードへの切換が
行われると、テスト印字データ発生手段が発生したテス
ト印字用画像データが、転送手段に供給され、転送手段
により制御手段を介さずに、記憶手段に転送されると共
に、画像形成手段へ転送される。従って、ホストベース
プリンタにおいて、制御手段が記憶手段にアクセスする
ことなく、テスト印字を実行することができる。
As is apparent from the above description,
The host-based printer according to claim 1 comprises a test print data generating means and a mode switching means,
When the mode switching unit switches to the test printing mode, the test printing image data generated by the test printing data generating unit is supplied to the transfer unit and transferred to the storage unit without the control unit. At the same time, it is transferred to the image forming means. Therefore, in the host-based printer, the test printing can be executed without the control means accessing the storage means.

【0036】また、請求項2に記載のホストベースプリ
ンタでは、テスト印字データ発生手段とモード設定手段
とを備えており、モード設定手段によりテスト印字モー
ドが設定されると、テスト印字データ発生手段が発生し
たテスト印字用画像データが、受信手段を介して転送手
段に供給され、転送手段により制御手段を介さずに、記
憶手段に転送されると共に、画像形成手段へ転送され
る。従って、ホストベースプリンタにおいて、制御手段
が記憶手段にアクセスすることなく、テスト印字を実行
することができる。
The host-based printer according to a second aspect of the invention is provided with the test print data generating means and the mode setting means, and when the test print mode is set by the mode setting means, the test print data generating means operates. The generated test print image data is supplied to the transfer means via the receiving means, and is transferred to the storage means and the image forming means by the transfer means without passing through the control means. Therefore, in the host-based printer, the test printing can be executed without the control means accessing the storage means.

【0037】さらに、請求項2に記載のホストベースプ
リンタでは、第1のバスにより受信手段と制御手段とテ
スト印字データ発生手段とが接続され、第2のバスによ
り受信手段と記憶手段と転送手段とが接続されている。
外部装置から供給された画像データ、あるいはテスト印
字データ発生手段が発生したテスト印字用画像データ
は、転送手段により第2のバスを介して転送される。従
って、転送手段による画像データあるいはテスト印字用
画像データの転送中に、制御手段が接続された第1のバ
スが転送手段によって占有されることがない。それ故、
転送手段による画像データあるいはテスト印字用画像デ
ータの転送と、制御手段による画像形成手段の制御とが
並列的に、同時に実行できるため、印字処理速度を向上
させることができる。
Further, in the host-based printer according to the second aspect, the first bus connects the receiving means, the control means and the test print data generating means, and the second bus connects the receiving means, the storing means and the transferring means. And are connected.
The image data supplied from the external device or the test print image data generated by the test print data generating means is transferred by the transfer means via the second bus. Therefore, the first bus to which the control means is connected is not occupied by the transfer means during the transfer of the image data or the test print image data by the transfer means. Therefore,
Since the transfer of the image data or the test print image data by the transfer unit and the control of the image forming unit by the control unit can be simultaneously executed in parallel, the print processing speed can be improved.

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

【図1】本発明の一実施形態のレーザープリンタの電気
的構成を表わすブロック図である。
FIG. 1 is a block diagram showing an electrical configuration of a laser printer according to an embodiment of the present invention.

【図2】上記レーザープリンタのインターフェイスのモ
ード切り替え機能に関連する部分の回路図である。
FIG. 2 is a circuit diagram of a portion related to a mode switching function of the interface of the laser printer.

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

1 レーザープリンタ 2 エンジン 3 コントローラ 4 パーソナルコンピュータ 10 インターフェイス 11 CPU 12 ROM 16 DRAM 17 DMAコントローラ 21 CPUバス 22 ローカルバス 26 操作パネル 31 セレクタ 1 Laser Printer 2 Engine 3 Controller 4 Personal Computer 10 Interface 11 CPU 12 ROM 16 DRAM 17 DMA Controller 21 CPU Bus 22 Local Bus 26 Operation Panel 31 Selector

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ハードウエアによりデータ受信およびデ
ータ処理を行って印字をするホストベースプリンタにお
いて、 画像データに従って画像を形成するための画像形成手段
と、 前記画像形成手段を制御するための制御手段と、 画像データを格納するための記憶手段と、 画像データの前記記憶手段への転送と、前記記憶手段に
格納された画像データの前記画像形成手段のへ転送と
を、前記制御手段を介さずに直接行うための転送手段
と、 テスト印字用画像データを発生するためのテスト印字デ
ータ発生手段と、 外部装置から供給される画像データを前記転送手段に供
給する通常印字モードと、前記テスト印字データ発生手
段が発生したテスト用画像データを前記転送手段に供給
するテスト印字モードとを切り替えるためのモード切り
替え手段とを備えたことを特徴とするホストベースプリ
ンタ。
1. A host-based printer for receiving data and processing data by hardware for printing, and image forming means for forming an image in accordance with image data, and control means for controlling the image forming means. A storage unit for storing image data; a transfer of the image data to the storage unit; and a transfer of the image data stored in the storage unit to the image forming unit, without passing through the control unit. Transfer means for direct execution, test print data generation means for generating test print image data, normal print mode for supplying image data supplied from an external device to the transfer means, and test print data generation Mode switching means for switching between the test print mode for supplying the test image data generated by the means to the transfer means. A host-based printer, characterized in that it has a step.
【請求項2】 ハードウエアによりデータ受信およびデ
ータ処理を行って印字をするホストベースプリンタにお
いて、 画像データに従って画像を形成するための画像形成手段
と、 前記画像形成手段を制御するための制御手段と、 テスト印字用画像データを発生するためのテスト印字デ
ータ発生手段と、 外部装置から供給される画像データと、前記テスト印字
データ発生手段が発生するテスト印字用画像データとを
受信するための受信手段と、 前記受信手段と前記制御手段と前記テスト印字データ発
生手段とを接続するための第1のバスと、 画像データを格納するための記憶手段と、 前記受信手段が受信した画像データの前記記憶手段への
転送と、前記記憶手段に格納された画像データの前記画
像形成手段への転送とを、前記制御手段を介さずに直接
行なうための転送手段と、 前記受信手段と前記記憶手段と前記転送手段とを接続す
るための第2のバスと、 前記受信手段が前記外部装置から受信した画像データを
前記転送手段に供給する通常印字モードと、前記受信手
段が前記テスト印字データ発生手段から受信したテスト
印字用画像データを前記転送手段に供給するためのテス
ト印字モードとのいずれか一方のモードを設定するため
のモード設定手段とを備えたことを特徴とするホストベ
ースプリンタ。
2. A host-based printer that receives data and processes data by hardware to print, and image forming means for forming an image according to image data, and control means for controlling the image forming means. A test print data generating means for generating test print image data, an image data supplied from an external device, and a receiving means for receiving the test print image data generated by the test print data generating means A first bus for connecting the receiving means, the control means, and the test print data generating means, a storage means for storing image data, the storage of the image data received by the receiving means Transfer to the image forming means and transfer of the image data stored in the storage means to the image forming means via the control means. Transfer means for directly performing the operation, a second bus for connecting the receiving means, the storage means, and the transferring means, and image data received by the receiving means from the external device to the transferring means. A mode for setting one of a normal print mode for supplying and a test print mode for supplying the test print image data received by the receiving means from the test print data generating means to the transfer means. A host-based printer, comprising: a setting unit.
JP7191862A 1995-07-27 1995-07-27 Printer with test printing function Pending JPH0939342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7191862A JPH0939342A (en) 1995-07-27 1995-07-27 Printer with test printing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7191862A JPH0939342A (en) 1995-07-27 1995-07-27 Printer with test printing function

Publications (1)

Publication Number Publication Date
JPH0939342A true JPH0939342A (en) 1997-02-10

Family

ID=16281738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7191862A Pending JPH0939342A (en) 1995-07-27 1995-07-27 Printer with test printing function

Country Status (1)

Country Link
JP (1) JPH0939342A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005205834A (en) * 2004-01-26 2005-08-04 Seiko Epson Corp Host base printer, printing system and printer driver

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005205834A (en) * 2004-01-26 2005-08-04 Seiko Epson Corp Host base printer, printing system and printer driver
JP4507608B2 (en) * 2004-01-26 2010-07-21 セイコーエプソン株式会社 Printing system and printer driver

Similar Documents

Publication Publication Date Title
US5371873A (en) Image data processing terminal equipment coupled to an external device allowing independent use of memory area by the external device
JPH0747335B2 (en) Character generating device and character generating method
JPH0939342A (en) Printer with test printing function
JP3079956B2 (en) Printer
JP3478519B2 (en) Printer device
JP2999662B2 (en) Print control device and print control method
JP2003099391A (en) Dma-forwarding method
JP4356256B2 (en) Printer controller, printer, and memory controller
JP2780974B2 (en) Printer
JP2650416B2 (en) Raster scan type duplex printer
KR100200690B1 (en) Blank data processing method in printer
JP2993377B2 (en) Printing equipment
JPH02193216A (en) Printer interface unit
JP2609274B2 (en) Image output device
JP4032786B2 (en) Printing system
JP3258130B2 (en) Print control device and printer control method
JPH06149735A (en) Data reception controller
JPH11179975A (en) Color printer control device
JPS59221069A (en) Memory control system
JP2756250B2 (en) Recording device
JP2836037B2 (en) Image data processing device
JP2002331713A (en) Printer controller and method for controlling transfer of data
JP2002019196A (en) Printer and data receiver
JPH01206443A (en) Memory access circuit and output device provided with said circuit
JPS63155248A (en) Interface selecting method for computer device