JP3978805B2 - Printing device - Google Patents
Printing device Download PDFInfo
- Publication number
- JP3978805B2 JP3978805B2 JP08038997A JP8038997A JP3978805B2 JP 3978805 B2 JP3978805 B2 JP 3978805B2 JP 08038997 A JP08038997 A JP 08038997A JP 8038997 A JP8038997 A JP 8038997A JP 3978805 B2 JP3978805 B2 JP 3978805B2
- Authority
- JP
- Japan
- Prior art keywords
- print data
- writing
- memory
- reading
- printing
- 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
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Bus Control (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、メモリを介して印字データを印字する印字装置に関する。
【0002】
【従来技術】
通信装置の一例としてのファクシミリ装置には、パーソナルコンピュータなどのコンピュータと接続可能で、コンピュータから圧縮されて送信されてくる文字や図形などの印字データを印字するように、これらの印字データを解凍しつつ用紙に印字可能なシリアル式の印字装置が備えられているものが存在する。この印字装置は、たとえば、装置全体を制御するCPU、圧縮された印字データを解凍する解凍部、解凍された印字データなどをメモリに対して直接転送制御するDMAコントローラ、1バンド分の印字データを記憶可能な格納領域を有するとともに、CPUによる各種データ処理のための作業領域を有するメモリ、および印字ヘッドを駆動することにより印字データを用紙に印字する印字部を有している。
【0003】
このような従来の構成の印字装置では、受信した印字データを解凍部において自動的に解凍しつつ、DMAコントローラを介して直接上記メモリの格納領域に対して書き込んだ後、上記格納領域から印字データを読み出しながら印字ヘッドを駆動することにより印字動作が行われる。そして、1バンド分の印字動作が終了すると、DMAコントローラが次バンド分の印字データをメモリの格納領域に直接書き込み、上記と同様にして次バンドの印字動作を行うようになっている。
【0004】
【発明が解決しようとする課題】
しかし、上記従来の印字装置では、印字データが、解凍部において自動的に解凍された後、直接メモリに書き込まれるので、転送におけるノイズなどの外的要因により解凍前に印字データが改変されてしまった場合、改変された印字データがそのまま解凍された後、直接メモリに書き込まれると、場合によってはCPUの作業領域にまで印字データが展開されてしまうことがあり、このような場合、装置全体を制御するCPUの処理動作に異常な挙動が現れ、その結果、装置に異常な動作が発生してしまう可能性があるという課題があった。
【0005】
本発明は、上記の点に鑑みて提案されたものであって、CPUの作業領域に対する印字データの展開を回避できる印字装置を提供することを目的としている。
【0006】
【課題を解決するための手段】
上記目的を達成するため、請求項1に記載した発明の印字装置は、被記録体に対して印字される印字データを格納する格納領域を有するとともに、各種データ処理のための作業領域を有するメモリと、前記メモリに印字データを書き込む書込手段と、前記メモリから印字データを読み出す読出手段と、前記読出手段により読み出された印字データを前記被記録体に印字する印字手段とを備えた印字装置であって、前記読出手段は、前記印字手段により印字される印字データのうち、前記書込手段による所定量分の印字データの前記メモリへの書き込みが完了する毎に、この書き込まれた印字データを読出すように構成されており、前記書込手段により前記所定量分全ての印字データの書き込み完了前に、当該印字データが前記メモリの作業領域に書き込まれると判断されると、前記所定量分の印字データの書き込みを停止させ、その所定量分の印字データに関しては前記読出手段により読み出されることなく、次の書込み処理に移行する書込停止手段を有している。
【0007】
この印字装置によれば、所定量分全ての印字データの書き込み完了前に、当該印字データがメモリの作業領域に書き込まれる場合、その所定量分の印字データの書き込みが停止され、その所定量分の印字データに関しては読出手段により読み出されることなく、次の書込み処理に移行するので、印字データが改変されてしまってこの作業領域に書き込まれようとしても、その印字データのメモリへの展開が回避されることから、メモリの作業領域において各種データ処理を行うCPUの処理動作に異常をきたすことがなく、装置における異常動作の発生を防止することができる。
【0008】
また、請求項2に記載した発明の印字装置は、被記録体に対して印字される印字データを格納する格納領域を有するとともに、この格納領域とパーティションで仕切られた各種データ処理のための作業領域を有するメモリと、前記メモリに印字データを書き込む書込手段と、前記メモリから印字データを読み出す読出手段と、前記読出手段により読み出された印字データを前記被記録体に印字する印字手段とを備えた印字装置であって、前記読出手段は、前記印字手段により印字される印字データのうち、前記書込手段による所定量分の印字データの前記メモリへの書き込みが完了する毎に、この書き込まれた印字データを読出すように構成されており、前記書込手段により印字データが書き込まれるとき、その書込領域が前記メモリの格納領域であるか作業領域であるかを前記パーティションに基づいて判断する書込領域判断手段と、前記書込領域判断手段により前記所定量分全ての印字データの書き込み完了前に、当該印字データが前記メモリの作業領域に書き込まれると判断されると、前記所定量分の印字データの書き込みを停止させ、その所定量分の印字データに関しては前記読出手段により読み出されることなく、次の書込み処理に移行する書込停止手段とを有している。
【0009】
この印字装置によれば、所定量分全ての印字データの書き込み完了前に、当該印字データがメモリの作業領域に書き込まれるか否かをパーティションに基づいて判断し、作業領域に書き込まれる場合は、印字データのメモリへの書き込みが停止され、その所定量分の印字データに関しては読出手段により読み出されることなく、次の書込み処理に移行するので、その印字データのメモリへの展開が回避されることから、メモリの作業領域において各種データ処理を行うCPUの処理動作に異常をきたすことがなく、装置における異常動作の発生を防止することができる。
【0010】
さらに、請求項3に記載した発明の印字装置は、請求項1または請求項2に記載の印字装置であって、圧縮された印字データを解凍しつつ前記書込手段に印字データを受け渡すデータ解凍手段を有している。
【0011】
この印字装置によれば、請求項1または請求項2に記載の印字装置による効果に加えて、圧縮された印字データが解凍されつつ書込手段に受け渡されているので、解凍結果が予測できないような改変のなされた印字データであっても、確実に作業領域に対する印字データの展開が禁止される。
【0012】
【発明の実施形態】
以下、本発明の好ましい実施の形態を、図面を参照しつつ具体的に説明する。
【0013】
図1は、本発明に係る印字装置を備えたファクシミリ装置のブロック図であり、このファクシミリ装置は、CPU1、NCU2、RAM3、モデム4、ROM5、EEPROM6、ゲートアレイ7、コーデック8、およびインターフェース9を備えている。CPU1、NCU2、RAM3、モデム4、ROM5、EEPROM6、ゲートアレイ7、コーデック8、およびインターフェース9は、バス線により相互に接続されている。バス線には、アドレスバス、データバス、および制御信号線が含まれる。ゲートアレイ7には、読取部11、印字部12、操作部13、および表示部14が接続されている。NCU2には、通信回線の一例としての電話回線15が接続されている。インターフェース9には、パーソナルコンピュータ31が接続可能である。
【0014】
CPU1は、ファクシミリ装置全体を制御する。NCU2は、電話回線15に接続されて網制御を行う。RAM3は、各種のデータを格納する一方、CPU1に対してワークエリアを提供する。モデム4は、送信データの変調や受信データの復調などを行う。ROM5は、CPU1により実行される各種のプログラムなどを記憶している。EEPROM6は、各種のデータやフラグなどを記憶する。ゲートアレイ7は、CPU1に対する入出力インターフェースとして機能するとともに、印字処理などを行う。コーデック8は、送信ファクシミリデータの符号化などを行う。読取部11は、読取原稿から読取データを取り込む。印字部12は、印字データを印字ヘッドなどにより被記録体としての記録用紙上に印字する。操作部13は、キースイッチ群などからなり、使用者の操作に応じた信号を出力する。表示部14は、LCDなどからなり、CPU21により制御されて各種の表示を行う。
【0015】
図2は、図1におけるゲートアレイ7により実現されている印字処理部のブロック図であって、この図に基づいて本発明に係る印字装置の要点について説明すると、RAM3は、印字ヘッドにより印字される1バンド分の印字データを格納する格納領域を有するとともに、CPU1による各種データ処理のためのワークエリアとなる作業領域を有しており、これら両領域は、1バイト毎にアドレスが割り当てられてポインタに基づくパーティションで仕切られた構成となっている。
【0016】
すなわち、DMAコントローラ23は、レジスタなどからなるポインタを有しており、ポインタの値に基づいて、RAM3に対する書込アドレスおよび読出アドレスを生成するとともに、印字データの書き込みが格納領域の最終アドレスに至ったか否かを判断する。このポインタの初期値は、CPU1により設定されるものであって、格納領域の最初の実アドレスであってもよいし、たとえば0あるいは1であってもよい。この初期値は、たとえばカラー印字用に、シアン、マゼンタ、イエロー、黒の4色に対応して4つの格納領域が設定されている場合、それぞれの格納領域に対応するポインタにCPU1によりそれぞれ設定される。また、モノクロ印字用に1つの格納領域が設定されている場合には、ポインタも1つだけ設けられる。以下の説明では、内容の理解を容易にするために、モノクロ印字の場合について述べる。
【0017】
そして、印字データの書き込み時には、1バイトすなわち8ビットの書き込み毎にDMAコントローラ23はポインタを1ずつインクリメントしていく。この書き込みにより、格納領域が全部使用されると、ポインタが所定値に達するので、これ以上の書き込みを行うと印字データが作業領域に書き込まれてしまうと判断できる。印字データが正しければ、1バンド分の印字データは全て格納領域に書き込むことができるはずであり、格納領域から溢れるということは、印字データが異常であるということなので、DMAコントローラ23は、ポインタが所定値に達すると、そのバンドについては、それ以降の印字データをRAM3に書き込まない。すなわち、この固定された格納領域と作業領域との境界がパーティションである。
【0018】
印字データの読み出し時には、1バイトすなわち8ビットの読み出し毎にDMAコントローラ23はポインタを所定数ずつインクリメントしていく。この所定数は、主走査方向すなわちラスタ方向の画素数によって決定され、たとえば画素数が1728の場合、216バイトのデータ数であるので、216ずつインクリメントされる。これにより、印字ヘッドの副走査方向すなわち印字ヘッドの配列方向の印字データが読み出され、印字制御部24のレジスタに格納される。印字ヘッドは、黒色に対応するインクジェットノズルが64個副走査方向に配列されたものであって、1回の主走査により64ライン分の画素が印字され、これが1バンドに相当する。
【0019】
CPU1は、ROM5に格納されたプログラムに基づいてRAM3のアドレス管理を行っており、このRAM3に対してDMAコントローラ23を介してアドレスを指定しつつ、作業領域に格納されたプログラムやデータを呼び出して各種のデータ処理を実行している。
【0020】
ゲートアレイ7は、I/F制御部21、データ解凍部22、DMAコントローラ23、および印字制御部24を有するハードロジック回路として概略構成されている。このゲートアレイ7の内部バス線には、CPU1が接続されている。
【0021】
I/F制御部21は、インターフェース9を介してパーソナルコンピュータ31と接続されており、インターフェース9を経由した圧縮データをデータ解凍部22に対して転送制御する。
【0022】
データ解凍部22は、TIFF形式により圧縮された印字データを自動的に解凍しつつ、タイミング信号に基づいてDMAコントローラ23に転送する。
【0023】
DMAコントローラ23は、データ解凍部22から転送されてきた印字データを、直接RAM3に対して書き込みまたは読み出すものであり、RAM3の各領域に割り当てられたアドレスを生成しつつ、1バンド分毎に印字データの書き込みまたは読み出しを行う。また、RAM3に対して印字データを書き込むときに、その書込領域が格納領域であるか作業領域であるかを、パーティションで区切られたポインタに基づいて判断し、作業領域への印字データの書き込みであると判断すると、書き込みを停止する。
【0024】
印字制御部24は、DMAコントローラ23によってRAM3から読み出された1バンド分の印字データに基づいて、印字部12の印字ヘッドを駆動制御する。これにより用紙上に文字や図形などの1バンド分の印字データが印字されることとなり、この1バンド分の印字動作が繰り返されることで用紙全体に文字や図形が表されることとなる。
【0025】
すなわち、DMAコントローラ23は、印字データの書込領域がメモリの格納領域であるか作業領域であるかをパーティションに基づいて判断する書込領域判断手段を実現しているとともに、作業領域への印字データの書き込みと判断されたとき、書き込みを停止させる書込停止手段を実現している。また、DMAコントローラ23は、メモリに印字データを書き込む書込手段およびメモリから印字データを読み出す読出手段を実現している。データ解凍部22は、圧縮された印字データを解凍しつつ書込手段に印字データを受け渡すデータ解凍手段を実現している。印字制御部24および印字部12は、印字データを被記録体に印字する印字手段を実現している。
【0026】
次に、このように構成された印字装置の動作の要点について、図3を参照しつつ説明する。
【0027】
図3は、本発明に係る印字装置の印字動作を示したフローチャートであり、この図に示すように、まず、圧縮された印字データがパーソナルコンピュータ31からインターフェース9とI/F制御部21とを経由してデータ解凍部22に転送されてくると、データ解凍部22は、その圧縮形式に基づく復元化により印字データを解凍しつつ、DMAコントローラ23に転送する(S1)。
【0028】
DMAコントローラ23は、印字データが転送されてくると、RAM3の書込領域を指定するための書込アドレスをポインタに基づいて生成する(S2)。
【0029】
さらにDMAコントローラ23は、このDMAコントローラ23によって生成された書込アドレスが、RAM3の格納領域に割り当てられた格納アドレスに存在するかどうかをポインタに基づいて判断する(S3)。
【0030】
書込アドレスが格納アドレスに存在する場合(S3:YES)、DMAコントローラ23は、書込アドレスで指定された格納領域に印字データを書き込む(S4)。
【0031】
このような処理を経て、DMAコントローラ23からのコマンドにより、CPU1が1バンド分の印字データの書き込みを完了したと判断すると(S5:YES)、DMAコントローラ23に対して読出要求信号を送出し、DMAコントローラ23が、RAM3の格納領域からタイミング信号に基づいて1バンド分の印字データを順次読み出す(S6)。
【0032】
順次読み出された印字データに基づいて印字制御部24が印字ヘッドを駆動させることにより、この印字ヘッドが用紙に対して主走査方向に移動しながら1バンド分の印字データを印字する(S7)。
【0033】
1バンド分の印字動作が完了すると、CPU1は、DMAコントローラ23による次バンド分の印字データの書込待ちがないかどうかを判断し(S8)、書込待ちの印字データがない場合(S8:YES)、この印字処理のメインルーチンを終了する。
【0034】
S8において、DMAコントローラ23による次バンド分の印字データの書込待ちがある場合(S8:NO)、S2に戻って処理を継続する。
【0035】
S5において、1バンド分の印字データの書き込みを完了していないとき(S5:NO)、S2に戻って処理を継続する。
【0036】
S3において、DMAコントローラ23によって生成された書込アドレスが、格納アドレスに存在せず、CPU1のワークエリアとして提供されたRAM3の作業領域を指定するアドレスであると(S3:NO)、次のS4のステップにおいて実行されるべきDMAコントローラ23によるRAM3への印字データの書き込みを停止する(S9)。書込停止後、S2のステップに戻って処理を継続する。すなわち、オーバーフローした印字データはRAM3に書き込まれない。
【0037】
したがって、このような印字装置によれば、インターフェース9からの解凍前の印字データにノイズなどの外的要因が加わり、RAM3に対してどのように展開されるか予測できないような改変されたデータとなってしまっても、このRAM3に割り当てられた作業領域へのデータ書込が回避されているので、作業領域において各種データ処理を行うCPU1などの処理動作に異常をきたすことがなく、装置の異常動作の発生を防止することができる。
【0038】
また、一部の印字データがCPU1の作業領域に対して書き込まれようとする場合であっても、他の印字データは、上記作業領域に展開されることなく正常に格納領域に書き込まれるので、正常に格納領域に書き込まれた印字データに基づいて、印字動作を停止させることなくそのまま続行することができる。
【0039】
なお、本実施形態において印字データは、TIFF形式により圧縮されているとしたが、特にこれに限定することはなく、JPEGやGIF形式で圧縮されているものとしても良い。
【0040】
また上記実施形態では、モノクロ印字の場合について説明したが、カラー印字の場合も同様であって、作業領域に隣接する格納領域ポインタによりパーティションを超えるか否かを判断すればよい。
【0041】
また上記実施形態では、パーティションを設定して格納領域および作業領域を固定化したが、格納領域と作業領域との境界をCPU1によりフレキシブルに設定するように構成してもよい。
【0042】
【発明の効果】
以上説明したように、請求項1に記載した発明の印字装置によれば、所定量分全ての印字データの書き込み完了前に、当該印字データがメモリの作業領域に書き込まれる場合、その所定量分の印字データの書き込みが停止され、その所定量分の印字データに関しては読出手段により読み出されることなく、次の書込み処理に移行するので、印字データが改変されてしまってこの作業領域に書き込まれようとしても、その印字データのメモリへの展開が回避されることから、メモリの作業領域において各種データ処理を行うCPUの処理動作に異常をきたすことがなく、装置における異常動作の発生を防止することができる。
【0043】
また、請求項2に記載した発明の印字装置によれば、所定量分全ての印字データの書き込み完了前に、当該印字データがメモリの作業領域に書き込まれるか否かをパーティションに基づいて判断し、作業領域に書き込まれる場合は、印字データのメモリへの書き込みが停止され、その所定量分の印字データに関しては読出手段により読み出されることなく、次の書込み処理に移行するので、その印字データのメモリへの展開が回避されることから、メモリの作業領域において各種データ処理を行うCPUの処理動作に異常をきたすことがなく、装置における異常動作の発生を防止することができる。
【0044】
さらに、請求項3に記載した発明の印字装置によれば、請求項1または請求項2に記載の印字装置による効果に加えて、圧縮された印字データが解凍されつつ書込手段に受け渡されているので、解凍結果が予測できないような改変のなされた印字データであっても、確実に作業領域に対する印字データの展開が禁止される。
【図面の簡単な説明】
【図1】 本発明に係る印字装置を備えたファクシミリ装置のブロック図である。
【図2】 図1に示すファクシミリ装置に備えられた印字処理部のブロック図である。
【図3】 本発明に係る印字装置の印字動作を示したフローチャートである。
【符号の説明】
1 CPU
3 RAM
5 ROM
7 ゲートアレイ
16 印字処理部
22 データ解凍部
23 DMAコントローラ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printing apparatus that prints print data via a memory.
[0002]
[Prior art]
A facsimile apparatus as an example of a communication apparatus can be connected to a computer such as a personal computer, and decompresses the print data so as to print the print data such as characters and figures which are compressed and transmitted from the computer. However, there are those equipped with a serial type printing device capable of printing on paper. This printing apparatus includes, for example, a CPU that controls the entire apparatus, a decompression unit that decompresses compressed print data, a DMA controller that directly controls transfer of decompressed print data to a memory, and print data for one band. It has a storage area that can be stored, a memory that has a work area for various data processing by the CPU, and a print section that prints print data on paper by driving the print head.
[0003]
In the printing apparatus having such a conventional configuration, the received print data is automatically decompressed by the decompression unit and directly written into the storage area of the memory via the DMA controller, and then the print data is read from the storage area. The printing operation is performed by driving the print head while reading. When the printing operation for one band is completed, the DMA controller directly writes the printing data for the next band in the storage area of the memory, and performs the printing operation for the next band in the same manner as described above.
[0004]
[Problems to be solved by the invention]
However, in the above-described conventional printing apparatus, the print data is automatically decompressed by the decompression unit and then directly written into the memory. Therefore, the print data has been altered before decompression due to external factors such as noise during transfer. In this case, if the modified print data is decompressed as it is and directly written in the memory, the print data may be expanded to the work area of the CPU in some cases. There is a problem that an abnormal behavior appears in the processing operation of the CPU to be controlled, and as a result, an abnormal operation may occur in the apparatus.
[0005]
SUMMARY An advantage of some aspects of the invention is that it provides a printing apparatus that can avoid development of print data in a work area of a CPU.
[0006]
[Means for Solving the Problems]
To achieve the above object, a printing apparatus according to a first aspect of the present invention has a storage area for storing print data to be printed on a recording medium, and a memory having a work area for various data processing. And a writing means for writing print data to the memory, a reading means for reading the print data from the memory, and a printing means for printing the print data read by the reading means on the recording medium. an apparatus, said reading means, among the print data to be printed by said printing means, each write is completed to the memory of the print data of a predetermined amount by said writing means, the written The print data is read out before the completion of writing of the print data for the predetermined amount by the writing means. When it is determined to be written to, the predetermined amount of stopping the writing of the print data, without being read by the reading means with respect to the predetermined amount of print data, write stop moving to the next writing process Have means.
[0007]
According to this printing apparatus, before completion of the writing of all the predetermined amount of print data, if the print data is written in the work area of the memory, the writing of the print data of the predetermined amount is stopped, the predetermined amount Since the print data is not read by the reading means and the process proceeds to the next writing process, even if the print data is altered and written in this work area, the development of the print data in the memory is avoided. Therefore, the processing operation of the CPU that performs various data processing in the work area of the memory is not abnormal, and the occurrence of abnormal operation in the apparatus can be prevented.
[0008]
According to a second aspect of the present invention, there is provided a printing apparatus having a storage area for storing print data to be printed on a recording medium, and working for various data processing partitioned by the storage area and partitions. A memory having an area; a writing means for writing print data into the memory; a reading means for reading print data from the memory; and a printing means for printing the print data read by the reading means on the recording medium. a printing apparatus equipped with said reading means, said out of the print data to be printed by the printing means, for each write to the memory of the print data of a predetermined amount by said writing means is completed The written print data is read out, and when the print data is written by the writing means, the write area is stored in the memory. Write area determination means for determining whether the area is a work area or a work area, and before the writing of all the predetermined amount of print data by the write area determination means is completed, When it is determined that the data is to be written into the work area of the memory, writing of the predetermined amount of print data is stopped, and the predetermined amount of print data is not read by the reading unit, and the process proceeds to the next writing process. Writing stop means.
[0009]
According to this printing apparatus, before the completion of writing all the print data for a predetermined amount, it is determined whether or not the print data is written in the work area of the memory based on the partition. Writing of the print data to the memory is stopped, and the predetermined amount of print data is not read by the reading means, and the process proceeds to the next writing process, so that development of the print data in the memory is avoided. Therefore, the CPU does not cause any abnormality in the processing operation of the CPU that performs various data processing in the work area of the memory, and the occurrence of abnormal operation in the apparatus can be prevented.
[0010]
Furthermore, a printing apparatus according to a third aspect is the printing apparatus according to the first or second aspect, wherein the printing data is transferred to the writing means while decompressing the compressed printing data. Has thawing means.
[0011]
According to this printing apparatus, in addition to the effect of the printing apparatus according to
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of the present invention will be specifically described with reference to the drawings.
[0013]
FIG. 1 is a block diagram of a facsimile apparatus having a printing apparatus according to the present invention. I have. The
[0014]
The
[0015]
FIG. 2 is a block diagram of the print processing unit realized by the
[0016]
That is, the
[0017]
When the print data is written, the
[0018]
At the time of reading the print data, the
[0019]
The
[0020]
The
[0021]
The I /
[0022]
The
[0023]
The
[0024]
The print control unit 24 drives and controls the print head of the
[0025]
In other words, the
[0026]
Next, the main points of the operation of the printing apparatus configured as described above will be described with reference to FIG.
[0027]
FIG. 3 is a flowchart showing the printing operation of the printing apparatus according to the present invention. As shown in this figure, first, the compressed print data is sent from the personal computer 31 to the
[0028]
When the print data is transferred, the
[0029]
Further, the
[0030]
When the write address exists in the storage address (S3: YES), the
[0031]
Through such processing, when the
[0032]
The print control unit 24 drives the print head based on the sequentially read print data, whereby the print data for one band is printed while the print head moves in the main scanning direction with respect to the paper (S7). .
[0033]
When the printing operation for one band is completed, the
[0034]
In S8, when the
[0035]
If the writing of print data for one band has not been completed in S5 (S5: NO), the process returns to S2 and continues.
[0036]
In S3, if the write address generated by the
[0037]
Therefore, according to such a printing apparatus, external data such as noise is added to the print data before decompression from the
[0038]
Even when some print data is about to be written to the work area of the
[0039]
In this embodiment, the print data is compressed in the TIFF format. However, the print data is not particularly limited, and may be compressed in the JPEG or GIF format.
[0040]
In the above embodiment, the case of monochrome printing has been described. However, the same applies to color printing, and it may be determined whether or not the partition is exceeded by a storage area pointer adjacent to the work area.
[0041]
In the above embodiment, the partition is set and the storage area and the work area are fixed, but the boundary between the storage area and the work area may be set flexibly by the
[0042]
【The invention's effect】
As described above, according to the printing apparatus of the first aspect of the present invention, when the print data is written in the work area of the memory before the writing of all the print data for the predetermined amount is completed, the predetermined amount. The writing of the print data is stopped, and the predetermined amount of print data is not read by the reading means, and the process proceeds to the next writing process. Therefore, the print data may be altered and written to this work area. However, since the expansion of the print data into the memory is avoided, the processing operation of the CPU that performs various data processing in the work area of the memory is not affected, and the occurrence of the abnormal operation in the apparatus is prevented. Can do.
[0043]
According to the printing apparatus of the second aspect of the present invention, it is determined on the basis of the partition whether or not the print data is written in the work area of the memory before the completion of writing the print data for a predetermined amount. When writing to the work area, the writing of the print data to the memory is stopped, and the predetermined amount of print data is not read by the reading means, and the process proceeds to the next writing process. Since development to the memory is avoided, it is possible to prevent abnormal operation in the apparatus without causing any abnormality in the processing operation of the CPU that performs various data processing in the work area of the memory.
[0044]
Furthermore, according to the printing apparatus of the invention described in
[Brief description of the drawings]
FIG. 1 is a block diagram of a facsimile apparatus including a printing apparatus according to the present invention.
FIG. 2 is a block diagram of a print processing unit provided in the facsimile apparatus shown in FIG.
FIG. 3 is a flowchart showing a printing operation of the printing apparatus according to the present invention.
[Explanation of symbols]
1 CPU
3 RAM
5 ROM
7 Gate array 16
Claims (3)
前記メモリに印字データを書き込む書込手段と、
前記メモリから印字データを読み出す読出手段と、
前記読出手段により読み出された印字データを前記被記録体に印字する印字手段とを備えた印字装置であって、
前記読出手段は、前記印字手段により印字される印字データのうち、前記書込手段による所定量分の印字データの前記メモリへの書き込みが完了する毎に、この書き込まれた印字データを読出すように構成されており、
前記書込手段により前記所定量分全ての印字データの書き込み完了前に、当該印字データが前記メモリの作業領域に書き込まれると判断されると、前記所定量分の印字データの書き込みを停止させ、その所定量分の印字データに関しては前記読出手段により読み出されることなく、次の書込み処理に移行する書込停止手段を有することを特徴とする印字装置。A memory having a storage area for storing print data to be printed on the recording medium, and a work area for various data processing;
Writing means for writing print data into the memory;
Reading means for reading print data from the memory;
A printing apparatus comprising printing means for printing the print data read by the reading means on the recording medium,
The reading unit, of the print data to be printed by said printing means, each write is completed to the memory of the print data of a predetermined amount by said writing means, reading the written print data Is configured to issue,
If it is determined by the writing means that the print data is written to the working area of the memory before the completion of writing the print data for the predetermined amount, the writing of the predetermined amount of print data is stopped, A printing apparatus comprising: a writing stop unit that shifts to the next writing process without reading the predetermined amount of print data by the reading unit .
前記メモリに印字データを書き込む書込手段と、
前記メモリから印字データを読み出す読出手段と、
前記読出手段により読み出された印字データを前記被記録体に印字する印字手段とを備えた印字装置であって、
前記読出手段は、前記印字手段により印字される印字データのうち、前記書込手段による所定量分の印字データの前記メモリへの書き込みが完了する毎に、この書き込まれた印字データを読出すように構成されており、
前記書込手段により印字データが書き込まれるとき、その書込領域が前記メモリの格納領域であるか作業領域であるかを前記パーティションに基づいて判断する書込領域判断手段と、
前記書込領域判断手段により前記所定量分全ての印字データの書き込み完了前に、当該印字データが前記メモリの作業領域に書き込まれると判断されると、前記所定量分の書き込みを停止させ、その所定量分の印字データに関しては前記読出手段により読み出されることなく、次の書込み処理に移行する書込停止手段とを有することを特徴とする印字装置。A memory having a storage area for storing print data to be printed on a recording medium, and a work area for various data processing partitioned by the storage area and partitions;
Writing means for writing print data into the memory;
Reading means for reading print data from the memory;
A printing apparatus comprising printing means for printing the print data read by the reading means on the recording medium,
The reading unit, of the print data to be printed by said printing means, each write is completed to the memory of the print data of a predetermined amount by said writing means, reading the written print data Is configured to issue,
Writing area determination means for determining, based on the partition, whether the writing area is a storage area of the memory or a work area when print data is written by the writing means;
Before the writing area the predetermined amount completion of writing all the print data by determining means, when the print data is determined to be written in the work area of the memory, to stop the writing of the predetermined amount, the A printing apparatus comprising: a writing stop unit that shifts to a next writing process without reading a predetermined amount of print data by the reading unit .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP08038997A JP3978805B2 (en) | 1997-03-31 | 1997-03-31 | Printing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP08038997A JP3978805B2 (en) | 1997-03-31 | 1997-03-31 | Printing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH10275066A JPH10275066A (en) | 1998-10-13 |
JP3978805B2 true JP3978805B2 (en) | 2007-09-19 |
Family
ID=13716942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP08038997A Expired - Fee Related JP3978805B2 (en) | 1997-03-31 | 1997-03-31 | Printing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3978805B2 (en) |
-
1997
- 1997-03-31 JP JP08038997A patent/JP3978805B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH10275066A (en) | 1998-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3978805B2 (en) | Printing device | |
CA2041140A1 (en) | Pcl vertical graphics scaling using macros | |
JP3554237B2 (en) | Image processing apparatus and method | |
JPH1065858A (en) | Multifunctional peripheral device and storage medium | |
US8346001B2 (en) | Image processing apparatus, printing apparatus, and image processing method | |
JP3181633B2 (en) | Color facsimile apparatus and control method thereof | |
US20050062997A1 (en) | Image processing apparatus, and image processing method and program therefor | |
JP3695498B2 (en) | Image processing device | |
JP3689966B2 (en) | Image processing device | |
JP3213209B2 (en) | Printing equipment | |
JP5004322B2 (en) | Data transfer control method, apparatus, and image forming apparatus | |
JP3427975B2 (en) | Printer control circuit, printer and print system | |
JPH1169032A (en) | Facsimile equipment | |
JP2000351224A (en) | Image forming apparatus and control method thereof | |
JPH11355583A (en) | Picture signal processor | |
JP3793988B2 (en) | Image formation information control device | |
JP2000047976A (en) | Printer control unit | |
KR100189085B1 (en) | High speed printing method of inkjet-type complex printer | |
JP3404128B2 (en) | Color image printing system | |
JP3858956B2 (en) | PRINT CONTROL METHOD, PRINT CONTROL DEVICE, MEDIUM RECORDING PRINT CONTROL PROGRAM, AND PRINTING DEVICE | |
JP2000339128A (en) | Printer control device | |
JP2007021809A (en) | Method for controlling printing image data in color four-d printer | |
JP3489450B2 (en) | Image data processing circuit | |
JPH09312776A (en) | Color image processing unit | |
JPH08307677A (en) | Page printer able to print out multi-value image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20031211 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051226 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060110 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060309 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060912 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061102 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070605 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070618 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100706 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110706 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120706 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120706 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130706 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |