JP3674644B2 - Data generator for printing - Google Patents

Data generator for printing Download PDF

Info

Publication number
JP3674644B2
JP3674644B2 JP04685296A JP4685296A JP3674644B2 JP 3674644 B2 JP3674644 B2 JP 3674644B2 JP 04685296 A JP04685296 A JP 04685296A JP 4685296 A JP4685296 A JP 4685296A JP 3674644 B2 JP3674644 B2 JP 3674644B2
Authority
JP
Japan
Prior art keywords
data
printing
image data
reading
unit block
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
JP04685296A
Other languages
Japanese (ja)
Other versions
JPH09219782A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP04685296A priority Critical patent/JP3674644B2/en
Publication of JPH09219782A publication Critical patent/JPH09219782A/en
Application granted granted Critical
Publication of JP3674644B2 publication Critical patent/JP3674644B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、イメージデータを圧縮して蓄積した後に改めて読み出し、これを伸長することで元のイメージデータに復元して出力する印字用データ発生装置に係り、特に、両面印字モードにおける裏面印字のタイミングではページイメージの上下左右を反転して出力するようにした印字用データ発生装置に関する。
【0002】
【従来の技術】
複数枚の原稿を順次読み取って各ページを必要枚数づつコピー出力する場合、従来は同一原稿を必要なコピー枚数分だけ繰り返し読み取っていたが、近年では例えば特公平7−53454号公報に記載されているように、複数枚の原稿を順番に1回づつ読み取って画像メモリに蓄積し、この蓄積された画像データをメモリから順番に繰り返し読み出すことで必要枚数のコピー出力を1回の読取り操作だけで行えるようにした装置が普及している。
【0003】
しかしながら、画像データは情報量が多いために複数枚のページイメージを蓄積しようとすると必要なメモリ容量が膨大なものとなってしまう。このため、一般には画像データを圧縮する圧縮器および伸長する伸長器を設け、メモリに蓄積する画像データは圧縮器で予め圧縮しておくことで蓄積容量を低減する一方、メモリから読み出した圧縮データは伸長器で元の画像データに復元してから印字部等へ出力するようにしている。
【0004】
一方、両面印字の可能な装置では、例えば特開昭60−204379号公報において論じられているように、裏面となるページのイメージデータは全て上下左右を反転、すなわちイメージデータを180°回転してから印字部等へ出力する必要がある。イメージデータの回転方法に関しては、これまでに以下の2つの方法が提案されている。
【0005】
第1の方法は、入力されたイメージデータを初めに180°だけ回転させ、これを圧縮してメモリに蓄積する方法であり、第2の方法は、圧縮して蓄積する際には回転させず、1ページ分の画像データを読み出して伸長した後に180°回転させる方法である。
【0006】
【発明が解決しようとする課題】
上記した第1の方法では、両面印刷するつもりでメモリに蓄積された画像データは1ページごとに180°回転されているので、何らかの理由でこれを片面印刷する必要性が生じた場合には、改めて原稿の読取り、圧縮、および蓄積をやり直さなければならないという問題があった。
【0007】
また、上記した第2の方法では画像データの180°回転が画像データの読み出し後に行われるので前記第1の方法が抱えている問題はないものの、伸長した1ページ分の画像データを180°回転させるための記憶領域を別途用意しなければならないのでメモリ容量が増えてしまうという問題がった。
【0008】
本発明の目的は、上記した従来技術の問題点を解決し、メモリ容量を大きく増加させることなく、画像データの回転を圧縮データの蓄積後からでも行えるようにした印字用データ発生装置を提供することにある。
【0009】
【課題を解決するための手段】
上記した目的を達成するために、本発明では、イメージデータを予定の単位ブロックごとに圧縮する圧縮手段と、圧縮されたイメージデータを前記単位ブロックごとに蓄積する蓄積手段と、表面印字または裏面印字の指示に応答して、前記蓄積されたイメージデータを、それぞれ正または逆方向から単位ブロックごとに読み出す第1の読出手段と、読み出されたイメージデータを単位ブロックごとに伸長する伸長手段と、伸長された単位ブロック分のイメージデータを記憶するデータバッファと、表面印字または裏面印字の指示に応答して、前記データバッファ上のイメージデータを、それぞれ正および逆方向から読み出す第2の読出手段とを具備した点に特徴がある。
【0010】
上記した構成によれば、各単位ブロックの読み出し方向および各単位ブロックを構成するバイトデータの読み出し方向が、裏面印字タイミングでは常時と逆になってイメージデータが実質上180°だけ回転されるので、メモリ容量を増加させることなく、画像データの回転を圧縮データの蓄積後からでも行えるようになる。
【0011】
【発明の実施の形態】
以下、図面を参照して本発明を詳細に説明する。図1は本発明の印字用データ発生装置を適用したプリンタ制御装置の一実施形態のブロック図である。ネットワークインターフェース回路6は、オペレータ(ユーザ)との間で印字データおよびその属性データの送受信を行う。ユーザインターフェース(以下、UIと表現する)制御回路9は、オペレータからのプリント指令の受付け、およびプリント情報のオペレータへの提供を行う。システムメモリ3は、当該システムのプログラム領域および画像メモリ領域として利用される。ハードディスク装置4には複数ページ分のイメージデータ(非圧縮データ)および圧縮されたイメージデータ(圧縮データ)が蓄積される。
【0012】
圧縮/伸長回路7は、イメージデータの符号化による圧縮および圧縮データの復号化による伸長を行う。通信制御回路8はプリンタ5の動作を制御する。出力回路10は、自身のデータバッファに単位量ごと蓄積されるイメージデータをプリンタ5の印字タイミングに同期して出力する。メインプロセッサ1は、ネットワークインターフェース回路6から転送される印字情報すなわちページ記述言語(以下、PDL)、コピー部数、印字面(片面または両面)等にしたがってシステムメモリ3上にドットイメージを展開し、これを圧縮後にハードディスク装置4に記憶する。
【0013】
図2は本発明の機能ブロック図ならびに表面印字時および裏面印字時の動作を模式的に表現した図である。圧縮手段7aは前記圧縮/伸長回路7の一機能であり、前記システムメモリ3から読み出した1ページ分のビットマップデータDを複数の単位ブロックD1 ,D2 ,…Dm ごとに符号化して圧縮し、それぞれ圧縮データd1 ,d2 ,…dm として出力する。蓄積手段4aは前記ハードディスク装置4の一機能であり、前記圧縮データd1 ,d2 ,…dm を蓄積する。
【0014】
第1の読出手段7cは前記圧縮/伸長回路7の一機能であり、前記蓄積手段4aに蓄積された前記圧縮データd1 〜dm を、メインプロセッサ1からの指示等によって別途指定される表面印字および裏面印字のいずれかの指示に応じて、それぞれ正側すなわち圧縮データd1 側から、あるいは逆側すなわち圧縮データdm 側からDMA転送によって読み出して当該順序で伸長手段7bへ出力する。
【0015】
伸長手段7bも前記圧縮/伸長回路7の一機能であり、前記第1の読出手段7cによって順次読み出された圧縮データdx を当該順序で復号化して伸長することで前記各圧縮データd1 〜dm を、それぞれ前記単位ブロックD1 〜Dm に復元する。データバッファ10aは前記出力回路10の一機能であり、前記伸長手段7bによって復元された前記各単位ブロックD1 〜Dm を1ブロックづつ一時記憶する。
【0016】
第2の読出手段10bも前記出力回路10の一機能であり、データバッファ10aに順次蓄積される前記各単位ブロックDx を構成する各データb1 ,b2 ,…bn を、別途指定される表面印字および裏面印字のいずれかの指示に応じて、図示したようにそれぞれ正方向に(たとえば、図中左側のデータb1 から)、あるいは逆方向に(たとえば、図中右側のデータbn から)順次読み出して当該順序で出力する。印字部5aは前記プリンタ5の一機能であり、前記第2の読出手段10bによって順次読み出される各データbx (b1 〜bn またはbn 〜b1 )を当該順序で印字出力する。この結果、片面印字モードおよび両面印字モードでの表面印字タイミングでは通常のイメージデータが印字出力され、両面印字モードでの裏面印字タイミングでは180°だけ回転したイメージデータが印字出力されるようになる。
【0017】
以下、本実施形態の動作を詳細に説明する。図3は本発明の動作を示したフローチャートである。ステップS1では、複数ページ分のビットマップデータのうちの最初の1ページがシステムメモリ3上に展開される。ステップS2では、システムメモリ3に一時記憶された1ページ分のビットマップデータDが圧縮手段7aによって単位ブロックD1 ,D2 …Dm ごとに符号化圧縮され、それぞれ圧縮データd1 ,d2 …dm として蓄積手段4aに蓄積される。ステップS3では、1ページ分のビットマップデータの圧縮および蓄積が終了したか否がか判定され、全ての単位ブロックD1 〜Dm に関する符号化圧縮および蓄積が終了するとステップS4へ進む。
【0018】
図4は、前記蓄積手段4aに蓄積された前記1ページ分の圧縮データ列のデータ構造を模式的に表現した図であり、ここではビットマップデータDの単位ブロックごとの圧縮がライン単位で行われる例を示している。すなわち、前記図2の圧縮データd1 ,d2 …dm は、それぞれ図4の第1、2〜mライン圧縮データに相当する。
【0019】
圧縮データ列の先頭には、当該データ列の最終アドレスを表すオフセット値として「最終ラインオフセットアドレス」が付加され、その後に各ラインごとの圧縮データが連結されている。また、各圧縮データの両端には当該圧縮データのバイトカウント(データサイズ)が付加されている。但し、最後の第mライン圧縮データについては、バイトカウントはその先端にのみ付加されており、後端には付加されていない。
【0020】
再び図3のフローチャートへ戻り、ステップS4では印字モードが片面印字モードおよび両面印字モードのいずれであるかが判定され、片面印字モードが指示されているとステップS6へ進み、両面印字モードが指示されているとステップS5へ進む。ステップS5では、さらに両面印字モードの表面印字タイミングおよび裏面印字タイミングのいずれであるかが判定され、表面印字のタイミングであると前記片面印字モード時と同様にステップS6へ進み、裏面印字のタイミングであるとステップS7へ進む。
【0021】
ステップS6では、図5に示したように、第1の読出手段7cは蓄積手段4aに蓄積されているm個の第1〜mライン圧縮データを正側すなわち第1ライン圧縮データ側からDMA転送によって順次読み出し、当該順序で伸長手段7bへ転送する。これに対して裏面印字のステップS7では、図6に示したように、第1の読出手段7cはm個の第1〜mライン圧縮データを逆側すなわち第mライン圧縮データ側からDMA転送によって順次読み出し、当該順序で伸長手段7bへ転送する。
【0022】
当該逆側からの読み出しは、前記図4に関して説明した各圧縮データの後端に付加された「バイトカウント」を参照することで高速かつ確実に行うことができる。たとえば、最終ラインの第mライン圧縮データに関する処理が終了したならば、当該第mライン圧縮データの直前に付加された自身の「バイトカウント」の前に付加された「バイトカウント」を読み取る。当該「バイトカウント」は第(m−1)ライン圧縮データのデータ量を表しているので、現在位置から当該「バイトカウント」だけ戻ったアドレスが次に処理すべき第(m−1)ライン圧縮データの先頭アドレスとなる。
【0023】
以上のようにして読み出された各圧縮データは、ステップS8において単位ブロックごとに伸長されて前記データバッファ10aに蓄積される。ステップS9では、印字モードが片面印字モードおよび両面印字モードのいずれであるかが再び判定され、片面印字モードであるとステップS11へ進み、両面印字モードであるとステップS10へ進む。ステップS10では、さらに両面印字モードの表面印字タイミングおよび裏面印字タイミングのいずれであるかが判定され、表面印字のタイミングであると前記片面印字モード時と同様にステップS11へ進み、裏面印字のタイミングであるとステップS11へ進む。
【0024】
ステップS11では、図8に示したように、第2の読出手段10bはデータバッファ10aに蓄積されている1ライン分の圧縮データを構成するn個のバイトデータ1〜nを正側すなわちバイトデータ1側から順次読み出して当該順序で転送する。これに対して裏面印字のステップS12では、図9に示したように、第2の読出手段10bはバイトデータ1〜nを逆側すなわちバイトデータn側から順次読み出して当該順序で転送する。転送されたバイトデータ1〜n(または、バイトデータn〜1)はステップS13において印字出力される。
【0025】
図7は前記第2の読出手段10bを備えた前記出力回路10の構成を示したブロック図であり、前記ステップS11、S12の各処理は図7のブロック図では以下のようにして実行される。
【0026】
出力回路10のラインカウンタ102には前記単位ブロック数mが登録され、ドットカウンタ103には前記バイトデータ数nが登録される。ラインカウンタ102のカウント値はプリンタ5から出力される垂直同期信号に同期して減ぜられる。したがって、1ページ分の処理が終了するとラインカウンタ102のカウント値は“0”になる。また、ドットカウンタ103のカウント値はプリンタ5から出力される水平同期信号に同期して減ぜられる。したがって、1ライン分の処理が終了するとドットカウンタ103のカウント値は“0”になる。ドットカウンタ103のカウント値が“0”になると、読み出し制御回路104はビジー信号の出力を停止して次のデータ入力に備える。
【0027】
アドレスカウンタ101には、片面印字モードおよび両面印字モードでの表面印字タイミングにおいてアップカウントが指示されると共に初期値“0”がセットされる。これとは逆に、両面印字モードの裏面印字タイミングにはダウンカウントが指示されると共に初期値として前記ドットカウンタ103の初期値“n”がセットされる。アドレスカウンタ101は、読み出し制御回路104から出力される読出タイミング信号に同期してアップカウントまたはダウンカウントする。データバッファ10aからはアドレスカウンタ101のカウント値で指示されるアドレスのバイトデータが出力されるので、上記したような正方向あるいは逆方向からの選択的な読み出しが可能になる。
【0028】
なお、最終データがデータバッファ10aのデータ幅よりも短い場合には、出力ビット数変換回路10cが最上位ビットの出力と最下位ビットの出力とを切り替えることでビット数の切り替を行う。
【0029】
再び図3のフローチャートへ戻り、前記ステップS13において1ライン分の印字出力が終了すると、ステップS14では全ライン分の印字出力すなわち1ページ分の印字出力が終了したか否か判断され、終了していなければ前記ステップS4へ戻って上記した各処理を繰り返す。また、1ページ分の印字出力が終了していると、ステップS15では次ページの有無が判定され、次ページが有れば前記ステップS1へ戻り、次ページに対して前記各処理が実行される。
【0030】
【発明の効果】
上記したように、本発明によればビットマップデータを単位ブロックごとに圧縮して記憶すると共に、各単位ブロックの読み出し順序および各単位ブロックを構成するバイトデータの読み出し順序を、印刷モードが片面印字モードおよび両面印字モードのいずれであるか、および両面印字モードであれば表面印字タイミングおよび裏面印字タイミングのいずれであるかに応じて異ならせるようにしたので、メモリ容量を増加させることなく、画像データの回転を圧縮データの蓄積後からでも行えるようになる。
【図面の簡単な説明】
【図1】 本発明の印字用データ発生装置を適用したプリンタ制御装置の一実施形態のブロック図である。
【図2】 本発明の機能ブロック図である。
【図3】 本発明の動作を示したフローチャートである。
【図4】 1ページ分の圧縮データのデータ構造を表した図である。
【図5】 表面用の圧縮データの読出し方法を表わした図である。
【図6】 裏面用の圧縮データの読出し方法を表わした図である。
【図7】 出力回路10の構成を示したブロック図である。
【図8】 表面用の各ラインのデータ読出し方法を表わした図である。
【図9】 裏面用の各ラインのデータ読出し方法を表わした図である。
【符号の説明】
1…メインプロセッサ,3…システムメモリ,4…ハードディスク装置,4a…蓄積手段,5…プリンタ,6…ネットワークインターフェース回路,7…圧縮/伸長回路,7a…圧縮手段,7b…伸長手段,7c…第1の読出手段,8…通信制御回路,9…UI制御回路,10…出力回路,10a…データバッファ,10b…第2の読出手段
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a print data generation apparatus that compresses and accumulates image data, reads it out again, decompresses it, restores it to the original image data, and outputs it. Then, the present invention relates to a print data generating apparatus which outputs a page image by inverting the top, bottom, left and right.
[0002]
[Prior art]
In the case where a plurality of originals are sequentially read and each page is copied for each required number of pages, the same original has been repeatedly read for the required number of copies. However, in recent years, for example, it is described in Japanese Patent Publication No. 7-53454. As described above, a plurality of originals are read one by one in order and stored in the image memory, and the stored image data is repeatedly read out from the memory in order, so that the required number of copy outputs can be obtained by a single reading operation. Devices that can be used are widespread.
[0003]
However, since image data has a large amount of information, an attempt to store a plurality of page images results in an enormous memory capacity. Therefore, in general, a compressor for compressing image data and a decompressor for expanding the image data are provided, and the image data stored in the memory is pre-compressed by the compressor to reduce the storage capacity, while the compressed data read from the memory Is restored to the original image data by the decompressor and then output to the printing unit or the like.
[0004]
On the other hand, in an apparatus capable of double-sided printing, as discussed in, for example, Japanese Patent Laid-Open No. 60-204379, all the image data of the back page is reversed upside down, left and right, that is, the image data is rotated 180 °. It is necessary to output to the printing part. Regarding the image data rotation method, the following two methods have been proposed so far.
[0005]
The first method is a method in which input image data is first rotated by 180 °, and is compressed and stored in a memory. The second method is not rotated when compressed and stored. In this method, image data for one page is read and expanded, and then rotated by 180 °.
[0006]
[Problems to be solved by the invention]
In the first method described above, the image data stored in the memory intended to perform double-sided printing is rotated by 180 ° for each page. If for some reason it becomes necessary to print on one side, There is a problem that the document must be read, compressed, and stored again.
[0007]
In the second method described above, the image data is rotated 180 ° after the image data is read out, so there is no problem with the first method, but the expanded image data for one page is rotated 180 °. There is a problem that the memory capacity increases because a separate storage area is required.
[0008]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art and provide a printing data generator capable of rotating image data even after storing compressed data without greatly increasing the memory capacity. There is.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, in the present invention, compression means for compressing image data for each predetermined unit block, storage means for storing compressed image data for each unit block, and front side printing or back side printing In response to the instruction, the first reading means for reading the accumulated image data for each unit block from the forward or reverse direction, the decompression means for decompressing the read image data for each unit block, A data buffer for storing the image data for the expanded unit block; and second reading means for reading the image data on the data buffer from the forward and reverse directions in response to an instruction for front side printing or back side printing, respectively It is characterized by having
[0010]
According to the above-described configuration, the reading direction of each unit block and the reading direction of the byte data constituting each unit block are opposite to those at the normal time at the back surface printing timing, and the image data is substantially rotated by 180 °. The image data can be rotated even after the compressed data is accumulated without increasing the memory capacity.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of an embodiment of a printer control apparatus to which a printing data generator of the present invention is applied. The network interface circuit 6 transmits / receives print data and its attribute data to / from an operator (user). A user interface (hereinafter referred to as UI) control circuit 9 receives a print command from an operator and provides print information to the operator. The system memory 3 is used as a program area and an image memory area of the system. The hard disk device 4 stores a plurality of pages of image data (uncompressed data) and compressed image data (compressed data).
[0012]
The compression / decompression circuit 7 performs compression by encoding image data and expansion by decoding compressed data. The communication control circuit 8 controls the operation of the printer 5. The output circuit 10 outputs the image data stored for each unit amount in its own data buffer in synchronization with the printing timing of the printer 5. The main processor 1 develops a dot image on the system memory 3 according to print information transferred from the network interface circuit 6, that is, a page description language (hereinafter referred to as PDL), the number of copies, a print surface (one side or both sides), and the like. Is stored in the hard disk device 4 after being compressed.
[0013]
FIG. 2 is a functional block diagram of the present invention and a schematic representation of the operation during front side printing and back side printing. The compression means 7a is a function of the compression / decompression circuit 7, and encodes and compresses one page of bitmap data D read from the system memory 3 for each of a plurality of unit blocks D1, D2,. Output as compressed data d1, d2,. The storage means 4a is a function of the hard disk device 4 and stores the compressed data d1, d2,.
[0014]
The first reading means 7c is a function of the compression / decompression circuit 7, and the compressed data d1 to dm stored in the storage means 4a are subjected to surface printing and printing separately designated by an instruction from the main processor 1 or the like. In response to any of the instructions for printing on the back side, the data is read out from the forward side, ie, the compressed data d1 side, or from the opposite side, ie, the compressed data dm side, by DMA transfer and output to the decompressing means 7b in this order.
[0015]
The decompression means 7b is also a function of the compression / decompression circuit 7, and the compressed data d1 to dm are decoded by decompressing the compressed data dx sequentially read by the first reading means 7c in this order. Are restored to the unit blocks D1 to Dm, respectively. The data buffer 10a is a function of the output circuit 10, and temporarily stores the unit blocks D1 to Dm restored by the decompression means 7b one block at a time.
[0016]
The second reading means 10b is also a function of the output circuit 10, and each of the data b1, b2,... Bn constituting each unit block Dx sequentially stored in the data buffer 10a is separately designated for surface printing and In response to any of the instructions for printing on the back side, the data are sequentially read out in the forward direction (for example, from the data b1 on the left side in the figure) or in the reverse direction (for example, from the data bn on the right side in the figure), respectively. Output in order. The printing unit 5a is a function of the printer 5 and prints and outputs each data bx (b1 to bn or bn to b1) sequentially read by the second reading means 10b. As a result, normal image data is printed out at the front side printing timing in the single-sided printing mode and double-sided printing mode, and image data rotated by 180 ° is printed out at the back side printing timing in the double-sided printing mode.
[0017]
Hereinafter, the operation of this embodiment will be described in detail. FIG. 3 is a flowchart showing the operation of the present invention. In step S 1, the first page of the bitmap data for a plurality of pages is developed on the system memory 3. In step S2, bitmap data D for one page temporarily stored in the system memory 3 is encoded and compressed for each unit block D1, D2... Dm by the compression means 7a, and stored as compressed data d1, d2. Accumulated in 4a. In step S3, it is determined whether or not the compression and accumulation of the bitmap data for one page has been completed. When the encoding compression and accumulation for all the unit blocks D1 to Dm are completed, the process proceeds to step S4.
[0018]
FIG. 4 is a diagram schematically showing the data structure of the compressed data sequence for one page stored in the storage means 4a. Here, the compression for each unit block of the bitmap data D is performed in units of lines. An example is shown. That is, the compressed data d1, d2,... Dm in FIG. 2 correspond to the first, second, and m-th line compressed data in FIG.
[0019]
A “final line offset address” is added to the head of the compressed data string as an offset value indicating the final address of the data string, and then the compressed data for each line is connected. In addition, a byte count (data size) of the compressed data is added to both ends of each compressed data. However, for the last m-th line compressed data, the byte count is added only at the leading end and not at the trailing end.
[0020]
Returning to the flowchart of FIG. 3 again, in step S4, it is determined whether the printing mode is the single-sided printing mode or the double-sided printing mode. If the single-sided printing mode is instructed, the process proceeds to step S6 and the double-sided printing mode is designated. If so, the process proceeds to step S5. In step S5, it is further determined whether it is the front surface printing timing or the back surface printing timing in the double-sided printing mode. If it is the front surface printing timing, the process proceeds to step S6 as in the single-sided printing mode, and at the backside printing timing. If there is, the process proceeds to step S7.
[0021]
In step S6, as shown in FIG. 5, the first reading means 7c performs DMA transfer of the m first to m line compressed data stored in the storage means 4a from the positive side, that is, the first line compressed data side. Are sequentially read out and transferred to the decompression means 7b in this order. On the other hand, in the backside printing step S7, as shown in FIG. 6, the first reading means 7c transfers the m first to m-line compressed data from the reverse side, that is, the m-th line compressed data side by DMA transfer. Read sequentially, and transfer to the decompression means 7b in this order.
[0022]
The reading from the opposite side can be performed at high speed and reliably by referring to the “byte count” added to the rear end of each compressed data described with reference to FIG. For example, when the processing related to the m-th line compressed data of the last line is completed, the “byte count” added before the “byte count” added immediately before the m-th line compressed data is read. Since the “byte count” represents the data amount of the (m−1) th line compressed data, the address returned by the “byte count” from the current position is the (m−1) th line compressed to be processed next. This is the start address of the data.
[0023]
Each compressed data read out as described above is decompressed for each unit block in step S8 and stored in the data buffer 10a. In step S9, it is determined again whether the printing mode is the single-sided printing mode or the double-sided printing mode. If the printing mode is the single-sided printing mode, the process proceeds to step S11. If the printing mode is the double-sided printing mode, the process proceeds to step S10. In step S10, it is further determined whether it is the front surface printing timing or the back surface printing timing in the double-sided printing mode. If it is the front surface printing timing, the process proceeds to step S11 as in the single-sided printing mode. If there is, the process proceeds to step S11.
[0024]
In step S11, as shown in FIG. 8, the second reading means 10b converts the n pieces of byte data 1 to n constituting the compressed data for one line stored in the data buffer 10a to the positive side, that is, byte data. The data are sequentially read from the 1 side and transferred in the order. On the other hand, in step S12 for reverse side printing, as shown in FIG. 9, the second reading means 10b sequentially reads the byte data 1 to n from the reverse side, that is, the byte data n side, and transfers them in this order. The transferred byte data 1 to n (or byte data n to 1) is printed out in step S13.
[0025]
FIG. 7 is a block diagram showing the configuration of the output circuit 10 provided with the second reading means 10b. In the block diagram of FIG. 7, the processes of the steps S11 and S12 are executed as follows. .
[0026]
The unit block number m is registered in the line counter 102 of the output circuit 10, and the byte data number n is registered in the dot counter 103. The count value of the line counter 102 is decreased in synchronization with the vertical synchronization signal output from the printer 5. Therefore, when the processing for one page is completed, the count value of the line counter 102 becomes “0”. Further, the count value of the dot counter 103 is decreased in synchronization with the horizontal synchronizing signal output from the printer 5. Therefore, when the processing for one line is completed, the count value of the dot counter 103 becomes “0”. When the count value of the dot counter 103 becomes “0”, the read control circuit 104 stops outputting the busy signal and prepares for the next data input.
[0027]
The address counter 101 is instructed to count up at the front surface printing timing in the single-sided printing mode and the double-sided printing mode, and is set to an initial value “0”. On the contrary, at the back side printing timing in the duplex printing mode, down count is instructed and the initial value “n” of the dot counter 103 is set as the initial value. The address counter 101 counts up or down in synchronization with the read timing signal output from the read control circuit 104. Since the data buffer 10a outputs byte data at the address indicated by the count value of the address counter 101, selective reading from the forward direction or the reverse direction as described above becomes possible.
[0028]
When the final data is shorter than the data width of the data buffer 10a, the output bit number conversion circuit 10c switches the number of bits by switching the output of the most significant bit and the output of the least significant bit.
[0029]
Returning to the flowchart of FIG. 3 again, when the print output for one line is completed in step S13, it is determined in step S14 whether the print output for all lines, that is, the print output for one page has been completed. If not, the process returns to step S4 to repeat the above processes. When printing for one page has been completed, the presence / absence of the next page is determined in step S15, and if there is a next page, the process returns to step S1 and the processes described above are executed for the next page. .
[0030]
【The invention's effect】
As described above, according to the present invention, the bitmap data is compressed and stored for each unit block, and the reading order of each unit block and the reading order of the byte data constituting each unit block are printed on the single-sided printing mode. Mode and double-sided printing mode, and if it is double-sided printing mode, depending on whether it is front side printing timing or back side printing timing, image data without increasing the memory capacity Can be rotated even after the compressed data is accumulated.
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of a printer control apparatus to which a printing data generation apparatus of the present invention is applied.
FIG. 2 is a functional block diagram of the present invention.
FIG. 3 is a flowchart showing the operation of the present invention.
FIG. 4 is a diagram illustrating a data structure of compressed data for one page.
FIG. 5 is a diagram showing a method for reading compressed data for a surface.
FIG. 6 is a diagram showing a method for reading back-side compressed data.
7 is a block diagram showing a configuration of the output circuit 10. FIG.
FIG. 8 is a diagram showing a data reading method for each surface line.
FIG. 9 is a diagram illustrating a data reading method for each line for the back surface.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Main processor, 3 ... System memory, 4 ... Hard disk apparatus, 4a ... Storage means, 5 ... Printer, 6 ... Network interface circuit, 7 ... Compression / decompression circuit, 7a ... Compression means, 7b ... Expansion means, 7c ... 1st 1 reading means, 8 ... communication control circuit, 9 ... UI control circuit, 10 ... output circuit, 10a ... data buffer, 10b ... second reading means

Claims (2)

イメージデータを圧縮して蓄積した後に改めて読み出し、これを伸長することで元のイメージデータに復元して出力する印字用データ発生装置において、
イメージデータを予定の単位ブロックごとに圧縮する圧縮手段と、
圧縮されたイメージデータを前記単位ブロックごとに蓄積する蓄積手段と、
表面印字または裏面印字の指示に応答して、前記蓄積されたイメージデータを、それぞれ正および逆方向から単位ブロックごとに読み出す第1の読出手段と、
読み出されたイメージデータを単位ブロックごとに伸長する伸長手段と、
伸長された単位ブロック分のイメージデータを記憶するデータバッファと、
前記データバッファ上のイメージデータを、表面印字の指示に応答して正方向から読み出し、裏面印字の指示に応答して逆方向から読み出す第2の読出手段とを具備したことを特徴とする印字用データ発生装置。
In the data generator for printing which reads out anew after compressing and accumulating the image data, decompresses it and restores it to the original image data and outputs it,
Compression means for compressing image data for each scheduled unit block;
Storage means for storing compressed image data for each unit block;
First reading means for reading the accumulated image data for each unit block from the forward and reverse directions in response to an instruction for front side printing or back side printing;
Decompression means for decompressing the read image data for each unit block;
A data buffer for storing the decompressed unit block image data;
A second reading means for reading the image data on the data buffer from the forward direction in response to an instruction for front side printing, and reading from the reverse direction in response to an instruction for back side printing; Data generator.
前記表面印字の指示は片面印字モードおよび両面印字モードでの表面印字タイミングのいずれかで発せられ、裏面印字の指示は両面印字モードでの裏面印字タイミングで発せられることを特徴とする請求項1に記載の印字用データ発生装置。2. The front-surface printing instruction is issued at one of the front-surface printing timings in the single-sided printing mode and the double-sided printing mode, and the back-side printing instruction is issued at the back-side printing timing in the double-sided printing mode. The data generator for printing described.
JP04685296A 1996-02-09 1996-02-09 Data generator for printing Expired - Fee Related JP3674644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04685296A JP3674644B2 (en) 1996-02-09 1996-02-09 Data generator for printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04685296A JP3674644B2 (en) 1996-02-09 1996-02-09 Data generator for printing

Publications (2)

Publication Number Publication Date
JPH09219782A JPH09219782A (en) 1997-08-19
JP3674644B2 true JP3674644B2 (en) 2005-07-20

Family

ID=12758881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04685296A Expired - Fee Related JP3674644B2 (en) 1996-02-09 1996-02-09 Data generator for printing

Country Status (1)

Country Link
JP (1) JP3674644B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3743432B2 (en) 2003-03-20 2006-02-08 コニカミノルタビジネステクノロジーズ株式会社 Data processing device
JP3750666B2 (en) 2003-03-24 2006-03-01 コニカミノルタビジネステクノロジーズ株式会社 Data processing device
JP3755523B2 (en) 2003-08-22 2006-03-15 コニカミノルタビジネステクノロジーズ株式会社 Data processing apparatus and processing method
JP5509957B2 (en) * 2010-03-18 2014-06-04 株式会社リコー Image processing apparatus, image processing method, and image forming apparatus

Also Published As

Publication number Publication date
JPH09219782A (en) 1997-08-19

Similar Documents

Publication Publication Date Title
JP3003319B2 (en) Image processing device
JP3674644B2 (en) Data generator for printing
JP3161031B2 (en) Image processing device
JPH09147093A (en) Printing system, information processor and information processing method
JP3603510B2 (en) Image processing device
JPH09214746A (en) Image output system and image forming device
JP3926030B2 (en) Image forming apparatus
JPH05244367A (en) Image processor
JPH10208031A (en) Image processor
JPS60119170A (en) Connecting device of facsimile
JP2003092674A (en) Image processing apparatus and image processing method
JP3232623B2 (en) Image processing device
JPH11341241A (en) Picture processor
JP3459740B2 (en) Print control apparatus and method and printing apparatus
JPH07195757A (en) Page printer
JPH11331457A (en) Image formation device and image formation method
JPH0825716A (en) Electrophotographic page printer
JPH0815299B2 (en) Image processing system
JPH10108024A (en) Data processing unit and data processing method
JP2001063154A (en) Image processor
JPH0213572A (en) Processing device for information
JPH10257223A (en) Digital copying machine
JPH07193702A (en) Facsimile equipment
JPH09150556A (en) Printer system
JP2008219363A (en) Data transfer device and method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040727

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: 20050406

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050419

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: 20080513

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090513

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100513

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110513

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees