JPH09188009A - Printing apparatus and data compression method in printing apparatus - Google Patents
Printing apparatus and data compression method in printing apparatusInfo
- Publication number
- JPH09188009A JPH09188009A JP8018068A JP1806896A JPH09188009A JP H09188009 A JPH09188009 A JP H09188009A JP 8018068 A JP8018068 A JP 8018068A JP 1806896 A JP1806896 A JP 1806896A JP H09188009 A JPH09188009 A JP H09188009A
- Authority
- JP
- Japan
- Prior art keywords
- data
- compression
- compression method
- printing apparatus
- received
- 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
Links
Landscapes
- Record Information Processing For Printing (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
(57)【要約】
【課題】 複数の圧縮方法の中からデータに適合した圧
縮方法を選択して圧縮を行うことにより圧縮率を向上さ
せることを可能とした印刷装置及び印刷装置におけるデ
ータ圧縮方法を提供する。
【解決手段】 レーザビームプリンタは、予め設定され
た複数の圧縮方法を記憶したROM4と、受信したデー
タのコマンドを解析すると共に当該解析結果に基づきデ
ータの種類を判別するデータ種類判別機能,判別したデ
ータの種類に適合した圧縮方法をROM4に記憶された
複数の圧縮方法から選択する圧縮方法選択機能,及び選
択した圧縮方法に基づきデータの圧縮を行うデータ圧縮
機能を有するCPU3とを具備する。
(57) Abstract: A printing apparatus and a data compression method in the printing apparatus capable of improving a compression rate by selecting a compression method suitable for data from a plurality of compression methods and performing compression. I will provide a. A laser beam printer discriminates a ROM 4 storing a plurality of preset compression methods and a data type discriminating function for analyzing a command of received data and discriminating a data type based on the analysis result. The CPU 3 has a compression method selection function of selecting a compression method suitable for the type of data from a plurality of compression methods stored in the ROM 4, and a data compression function of compressing data based on the selected compression method.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、印刷装置及び印刷
装置におけるデータ圧縮方法に係り、更に詳しくは、外
部機器等から受信したデータを当該データに適合した圧
縮方法で圧縮することにより圧縮率の向上を図る場合に
好適な印刷装置及び印刷装置におけるデータ圧縮方法に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus and a data compression method in the printing apparatus, and more specifically, to compressing data received from an external device or the like by a compression method suitable for the data to reduce the compression rate. The present invention relates to a printing apparatus suitable for improvement and a data compression method in the printing apparatus.
【0002】[0002]
【従来の技術】従来、コンピュータ等の外部機器へ接続
されるプリンタ等の印刷装置としては、外部機器から接
続ケーブル等を介して受信した多数のデータをまとめて
ファイル全体の量を減らす、いわゆる圧縮(データ圧
縮)機能を有する印刷装置がある。この種の印刷装置に
おいては、外部機器から受信した何等かのデータに対し
て圧縮を行う場合、予め決定されている圧縮方法を用い
てデータの圧縮を行っていた。2. Description of the Related Art Conventionally, as a printing apparatus such as a printer connected to an external device such as a computer, a large amount of data received from the external device via a connection cable or the like is collected to reduce the amount of the entire file, that is, so-called compression. There is a printing device having a (data compression) function. In this type of printing apparatus, when compressing some data received from an external device, the data is compressed using a predetermined compression method.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、従来の
印刷装置においては、上述した如く外部機器から受信し
たデータの圧縮は予め決定されている圧縮方法を用いて
行っているため、データの種類やデータの形式によって
は、圧縮を行った場合でも圧縮率がそれほど上がらない
データも存在するという問題があった。However, in the conventional printing apparatus, since the data received from the external device is compressed by the compression method determined in advance as described above, the type of the data and the data There is a problem that, depending on the format, there is data whose compression rate does not increase so much even when compressed.
【0004】本発明は、上述した点に鑑みなされたもの
であり、複数の圧縮方法の中からデータに適合した圧縮
方法を選択して圧縮を行うことにより圧縮率を向上させ
ることを可能とした印刷装置及び印刷装置におけるデー
タ圧縮方法を提供することを目的とする。The present invention has been made in view of the above points, and it is possible to improve the compression rate by selecting a compression method suitable for data from a plurality of compression methods and performing compression. An object of the present invention is to provide a printing apparatus and a data compression method in the printing apparatus.
【0005】[0005]
【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、外部機器等から受信したデータ
の圧縮を行うようにした印刷装置において、予め設定さ
れた複数の圧縮方法を記憶した圧縮方法記憶手段と、受
信したデータのコマンドを解析すると共に当該解析結果
に基づきデータの種類を判別するデータ種類判別手段
と、判別したデータの種類に適合した圧縮方法を前記圧
縮方法記憶手段に記憶された複数の圧縮方法から選択す
る圧縮方法選択手段と、選択した圧縮方法に基づきデー
タの圧縮を行うデータ圧縮手段とを具備することを特徴
とする。In order to achieve the above-mentioned object, the invention of claim 1 uses a plurality of preset compression methods in a printing apparatus which compresses data received from an external device or the like. The stored compression method storage means, the data type determination means for analyzing the received data command and determining the data type based on the analysis result, and the compression method suitable for the determined data type are the compression method storage means. It is characterized by comprising a compression method selection means for selecting from a plurality of compression methods stored in, and a data compression means for compressing data based on the selected compression method.
【0006】上記目的を達成するため、請求項2の発明
は、外部機器等から受信したデータの圧縮を行うように
した印刷装置において、予め設定された複数の圧縮方法
を記憶した圧縮方法記憶手段と、受信したデータを展開
してオブジェクトを生成するオブジェクト生成手段と、
生成したオブジェクトの形態をサーチすると共に当該サ
ーチしたオブジェクトの形態に適合した圧縮方法を前記
圧縮方法記憶手段に記憶された複数の圧縮方法から選択
する圧縮方法選択手段と、選択した圧縮方法に基づきデ
ータの圧縮を行うデータ圧縮手段とを具備することを特
徴とする。In order to achieve the above-mentioned object, the invention of claim 2 is a printing apparatus adapted to compress data received from an external device or the like, and a compression method storage means for storing a plurality of preset compression methods. And an object generating means for expanding the received data to generate an object,
A method for searching the form of the generated object and selecting a compression method suitable for the form of the searched object from a plurality of compression methods stored in the compression method storage means, and data based on the selected compression method. And a data compression means for compressing the data.
【0007】上記目的を達成するため、請求項3の発明
は、外部機器等から受信したデータの圧縮を行うように
した印刷装置におけるデータ圧縮方法において、受信し
たデータのコマンドを解析すると共に当該解析結果に基
づきデータの種類を判別するデータ種類判別工程と、判
別したデータの種類に適合した圧縮方法を予め設定され
た複数の圧縮方法から選択する圧縮方法選択工程と、選
択した圧縮方法に基づきデータの圧縮を行うデータ圧縮
工程とを有することを特徴とする。In order to achieve the above object, the invention of claim 3 is a data compression method in a printing apparatus which compresses data received from an external device or the like, and analyzes the command of the received data and the analysis. A data type determination step of determining the type of data based on the result, a compression method selection step of selecting a compression method suitable for the determined data type from a plurality of preset compression methods, and data based on the selected compression method. And a data compression step of performing the compression.
【0008】上記目的を達成するため、請求項4の発明
は、外部機器等から受信したデータの圧縮を行うように
した印刷装置におけるデータ圧縮方法において、受信し
たデータを展開してオブジェクトを生成するオブジェク
ト生成工程と、生成したオブジェクトの形態をサーチす
ると共に当該サーチしたオブジェクトの形態に適合した
圧縮方法を予め設定された複数の圧縮方法から選択する
圧縮方法選択工程と、選択した圧縮方法に基づきデータ
の圧縮を行うデータ圧縮工程とを有することを特徴とす
る。In order to achieve the above object, the invention of claim 4 is a data compression method in a printing apparatus which compresses data received from an external device or the like, and expands the received data to generate an object. An object generation step, a compression method selection step of searching the shape of the generated object and selecting a compression method suitable for the searched object shape from a plurality of preset compression methods, and data based on the selected compression method And a data compression step of performing the compression.
【0009】[0009]
【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0010】(1)第1の実施の形態 先ず、第1の実施の形態に係る印刷装置としてのレーザ
ビームプリンタ(以下LBPと略称)の内部構成を図2
に基づき説明する。LBPは、LBP本体21と、操作
パネル22と、プリンタ制御ユニット23と、レーザド
ライバ24と、半導体レーザ25と、回転多面鏡26
と、反射鏡27と、静電ドラム28と、現像ユニット2
9と、用紙カセット30と、給紙ローラ31と、搬送ロ
ーラ32と、搬送ローラ33とを備える構成となってい
る。LBPは、データ源(図示略)から文字パターンの
登録や定型書式(フォームデータ)等の登録を行うこと
ができるようになっている。(1) First Embodiment First, the internal structure of a laser beam printer (hereinafter abbreviated as LBP) as a printing apparatus according to the first embodiment is shown in FIG.
It will be described based on. The LBP includes an LBP body 21, an operation panel 22, a printer control unit 23, a laser driver 24, a semiconductor laser 25, and a rotary polygon mirror 26.
, Reflecting mirror 27, electrostatic drum 28, and developing unit 2
9, a paper cassette 30, a paper feed roller 31, a transport roller 32, and a transport roller 33. The LBP can register a character pattern and a fixed form (form data) from a data source (not shown).
【0011】上記各部の構成及び機能を詳述すると、L
BP本体21は、LBPの外部に接続されているホスト
コンピュータ(図1参照)から供給される文字情報(文
字コード),フォーム情報,マクロ命令等を入力して記
憶すると共に、これらの情報に基づき対応する文字パタ
ーンやフォームパターン等を作成し、記録媒体である記
録紙上に像を形成する。操作パネル22は、操作者が各
種操作を行うためのスイッチや、メッセージ等を表示す
る例えばLED表示器等の表示部を備えている。プリン
タ制御ユニット23は、LBP本体21の全体を制御す
るものであり、ホストコンピュータから供給される文字
情報等を解析し、主に文字情報を対応する文字パターン
のビデオ信号に変換してレーザドライバ24へ出力す
る。The structure and function of each of the above parts will be described in detail.
The BP main body 21 inputs and stores character information (character code), form information, macro commands, etc. supplied from a host computer (see FIG. 1) connected to the outside of the LBP, and based on these information. A corresponding character pattern, form pattern, or the like is created, and an image is formed on a recording medium, which is recording paper. The operation panel 22 includes switches for the operator to perform various operations and a display unit such as an LED display for displaying messages and the like. The printer control unit 23 controls the entire LBP main body 21, analyzes the character information and the like supplied from the host computer, and mainly converts the character information into a video signal of a corresponding character pattern, and the laser driver 24. Output to.
【0012】レーザドライバ24は、半導体レーザ25
を駆動するための回路であり、プリンタ制御ユニット2
3から入力されたビデオ信号に応じて半導体レーザ25
から発射されるレーザ光Hのオン/オフ切り替えを行
う。半導体レーザ25は、レーザドライバ24による駆
動に基づき回転多面鏡26へ向けてレーザ光Hを発射す
る。回転多面鏡26は、半導体レーザ25から発射され
たレーザ光Hを水平方向へ振ることによりレーザ光Hを
反射鏡27へ入光させる。反射鏡27は、回転多面鏡2
6を介して入光されたレーザ光Hを反射し、静電ドラム
28の表面に照射する。静電ドラム28は、回転多面鏡
26及び反射鏡27を介して照射されたレーザ光Hが当
該静電ドラム28上に走査されることにより、当該静電
ドラム28上には文字パターンの静電潜像が形成され
る。The laser driver 24 is a semiconductor laser 25.
Is a circuit for driving the printer control unit 2
Semiconductor laser 25 in accordance with the video signal input from
The laser light H emitted from is switched on / off. The semiconductor laser 25 emits laser light H toward the rotary polygon mirror 26 based on the driving by the laser driver 24. The rotary polygon mirror 26 allows the laser light H emitted from the semiconductor laser 25 to be horizontally swung so that the laser light H enters the reflecting mirror 27. The reflecting mirror 27 is the rotary polygon mirror 2.
The laser light H that has entered through 6 is reflected and irradiated onto the surface of the electrostatic drum 28. The electrostatic drum 28 scans the electrostatic drum 28 with the laser light H emitted through the rotary polygon mirror 26 and the reflecting mirror 27, so that the electrostatic drum 28 has an electrostatic character pattern. A latent image is formed.
【0013】現像ユニット29は、静電ドラム28の周
囲に配置されており、静電ドラム28上に形成された静
電潜像を現像するものであり、現像された静電潜像は記
録紙へ転写される。用紙カセット30は、LBP本体2
1に着脱自在に装着されており、複数枚のカットシート
記録紙が収納されるものである。給紙ローラ31は、用
紙カセット30に収納されているカットシート記録紙を
1枚ずつLBP本体21の内部へ取り込む。搬送ローラ
32及び搬送ローラ33は、給紙ローラ31によりLB
P本体21内部へ取り込まれたカットシート記録紙を静
電ドラム28へ供給する。The developing unit 29 is arranged around the electrostatic drum 28 and develops the electrostatic latent image formed on the electrostatic drum 28. The developed electrostatic latent image is a recording paper. Is transferred to. The paper cassette 30 is the LBP main body 2
It is removably attached to the recording medium 1 and accommodates a plurality of cut sheet recording sheets. The paper feed roller 31 takes in the cut sheet recording paper stored in the paper cassette 30 one by one into the LBP main body 21. The conveying roller 32 and the conveying roller 33 are LB by the paper feeding roller 31.
The cut sheet recording paper taken into the P body 21 is supplied to the electrostatic drum 28.
【0014】次に、第1の実施の形態に係るLBPのプ
リンタコントローラを中心とした構成を図1に基づき説
明する。プリンタコントローラ1は、上述したプリンタ
制御ユニット23に装備されており、ホストI/F(イ
ンタフェース)2と、CPU3と、ROM4と、DMA
(Direct Memory Acces)5と、パネル部6と、I/
F(インタフェース)回路7と、RAM8と、アドレス
データバス9とを備える構成となっている。また、プリ
ンタコントローラ1には、ホストコンピュータ等の外部
機器10とエンジン11とが接続されている。Next, the configuration centered on the printer controller of the LBP according to the first embodiment will be described with reference to FIG. The printer controller 1 is installed in the printer control unit 23 described above, and includes a host I / F (interface) 2, a CPU 3, a ROM 4, and a DMA.
(Direct Memory Acces) 5, panel section 6, and I /
The F (interface) circuit 7, the RAM 8 and the address data bus 9 are provided. An external device 10 such as a host computer and an engine 11 are connected to the printer controller 1.
【0015】上記各部の構成及び機能を詳述すると、ホ
ストI/F2は、受信バッファ部を備えており、外部機
器10とデータの送受を行う。CPU3は、プログラム
に基づきプリンタコントローラ1各部を制御する。RO
M4は、プリンタコントローラ制御等を行うプログラム
や、後述する複数の圧縮方法(圧縮方法1,2,3)に
係るデータを格納している。DMA5は、CPU3に制
御される。パネル部6は、上述した操作パネル22のス
イッチやLED表示器に接続されている。I/F回路7
は、エンジン11へ送出するデータを格納しておくため
の出力バッファ部を備えている。RAM8は、各種デー
タを記憶する。アドレスデータバス9は、上記各部の信
号の伝送が行われる。The configuration and function of each of the above-described units will be described in detail. The host I / F 2 has a reception buffer unit, and transmits / receives data to / from the external device 10. The CPU 3 controls each part of the printer controller 1 based on the program. RO
The M4 stores a program for controlling the printer controller and the like, and data relating to a plurality of compression methods (compression methods 1, 2, 3) described later. The DMA 5 is controlled by the CPU 3. The panel section 6 is connected to the switches and the LED display device of the operation panel 22 described above. I / F circuit 7
Is provided with an output buffer section for storing data to be sent to the engine 11. The RAM 8 stores various data. The address data bus 9 is used for transmitting signals from the above-mentioned respective parts.
【0016】次に、第1の実施の形態に係るデータ圧縮
処理を図3のフローチャートに基づき説明する。Next, the data compression processing according to the first embodiment will be described with reference to the flowchart of FIG.
【0017】外部機器10がLBPのプリンタコントロ
ーラ1へ所定のデータを送信すると(ステップSA
1)、プリンタコントローラ1のCPU3はホストI/
F2の受信バッファ部を介してデータを受信し(ステッ
プSA2)、受信したデータのコマンドの解析を行う
(ステップSA3)。この場合、前記コマンドにはデー
タの種類の分別が可能なコマンドが含まれているものと
する。尚、データの種類とは、例えば文字データ、多値
データ、2値データ等を指している。When the external device 10 transmits predetermined data to the LBP printer controller 1 (step SA
1), the CPU 3 of the printer controller 1 is the host I /
Data is received via the reception buffer unit of F2 (step SA2), and the command of the received data is analyzed (step SA3). In this case, it is assumed that the command includes a command capable of discriminating data types. The data type refers to, for example, character data, multivalued data, binary data, or the like.
【0018】プリンタコントローラ1のCPU3は上記
データのコマンドの解析を行った後、当該解析結果に基
づきデータの種類を判定し(ステップSA4)、後述す
るようにデータの種類に応じて圧縮方法を分ける。本実
施の形態では、データの種類としては文字データ、多値
データ、2値データのみを扱うものとするが、これに限
定されるものではない。After the CPU 3 of the printer controller 1 analyzes the data command, the CPU 3 determines the data type based on the analysis result (step SA4), and selects the compression method according to the data type as described later. . In the present embodiment, as the data type, only character data, multi-valued data, and binary data are handled, but the present invention is not limited to this.
【0019】プリンタコントローラ1のCPU3は上記
ステップSA4においてデータの種類が文字データであ
ると判定した場合は、ROM4に予め設定記憶されてい
る複数の圧縮方法の中から文字データに有効な圧縮方法
を検索し(ステップSA5)、文字データの圧縮方法と
して圧縮方法1を選択する(ステップSA6)。When the CPU 3 of the printer controller 1 determines in step SA4 that the data type is character data, it selects a compression method effective for character data from a plurality of compression methods preset and stored in the ROM 4. A search is performed (step SA5), and compression method 1 is selected as the compression method for character data (step SA6).
【0020】また、プリンタコントローラ1のCPU3
は上記ステップSA4においてデータの種類が多値デー
タであると判定した場合は、ROM4に予め設定記憶さ
れている複数の圧縮方法の中から多値データに有効な圧
縮方法を検索し(ステップSA7)、多値データの圧縮
方法として圧縮方法2を選択する(ステップSA8)。Further, the CPU 3 of the printer controller 1
When it is determined in step SA4 that the data type is multi-valued data, the effective compression method for multi-valued data is searched from the plurality of compression methods preset and stored in the ROM 4 (step SA7). The compression method 2 is selected as the compression method for multi-valued data (step SA8).
【0021】また、プリンタコントローラ1のCPU3
は上記ステップSA4においてデータの種類が2値デー
タであると判定した場合は、ROM4に予め設定記憶さ
れている複数の圧縮方法の中から2値データに有効な圧
縮方法を検索し(ステップSA9)、2値データの圧縮
方法として圧縮方法3を選択する(ステップSA1
0)。Further, the CPU 3 of the printer controller 1
When it is determined in step SA4 that the data type is binary data, the effective compression method for binary data is retrieved from the plurality of compression methods preset and stored in the ROM 4 (step SA9). , The compression method 3 is selected as the compression method of the binary data (step SA1).
0).
【0022】そして、プリンタコントローラ1のCPU
3はデータの種類が文字データである場合は、上記ステ
ップSA6で選択した圧縮方法1を用いて文字データの
圧縮を行い、データの種類が多値データである場合は、
上記ステップSA8で選択した圧縮方法2を用いて多値
データの圧縮を行い、データの種類が2値データである
場合は、上記ステップSA10で選択した圧縮方法3を
用いて2値データの圧縮を行い(ステップSA11)、
本処理を終了する(ステップSA12)。The CPU of the printer controller 1
If the data type is character data, 3 is used to compress the character data using the compression method 1 selected in step SA6. If the data type is multi-valued data,
Multivalued data is compressed using the compression method 2 selected in step SA8. If the data type is binary data, compression of binary data is performed using the compression method 3 selected in step SA10. Do (step SA11),
This process ends (step SA12).
【0023】尚、第1の実施の形態では、圧縮方法とし
て3つの圧縮方法(圧縮方法1,2,3)を例に上げた
が、圧縮方法は3つに限定されるものではなく任意の個
数とすることができる。In the first embodiment, three compression methods (compression methods 1, 2, and 3) have been taken as an example of the compression method, but the compression method is not limited to three, and any compression method can be used. It can be the number.
【0024】上述したように、第1の実施の形態によれ
ば、LBPは、予め設定された複数の圧縮方法を記憶し
たROM4と、受信したデータのコマンドを解析すると
共に当該解析結果に基づきデータの種類を判別するデー
タ種類判別機能,判別したデータの種類に適合した圧縮
方法をROM4に記憶された複数の圧縮方法から選択す
る圧縮方法選択機能,及び選択した圧縮方法に基づきデ
ータの圧縮を行うデータ圧縮機能を有するCPU3とを
具備しているため、データに適合した圧縮方法を選択し
て圧縮を行うことが可能となり、圧縮率を向上させるこ
とができる。これにより、従来の如く、データの種類や
形式によっては圧縮を行った場合に圧縮率がそれほど上
がらないデータが存在するといった不具合を解消するこ
とができる。As described above, according to the first embodiment, the LBP analyzes the command of the received data and the ROM 4 storing a plurality of preset compression methods, and the data based on the analysis result. Data type discrimination function for discriminating the type of data, a compression method selection function for selecting a compression method suitable for the discriminated data type from a plurality of compression methods stored in the ROM 4, and data compression based on the selected compression method. Since the CPU 3 having the data compression function is provided, it is possible to select the compression method suitable for the data and perform the compression, and it is possible to improve the compression rate. As a result, it is possible to eliminate the problem that there is data whose compression rate does not increase so much when compressed as in the past, depending on the type and format of the data.
【0025】(2)第2の実施の形態 第2の実施の形態に係るLBPは、上記第1の実施の形
態と同様に、LBP本体21と、操作パネル22と、プ
リンタ制御ユニット23と、レーザドライバ24と、半
導体レーザ25と、回転多面鏡26と、反射鏡27と、
静電ドラム28と、現像ユニット29と、用紙カセット
30と、給紙ローラ31と、搬送ローラ32と、搬送ロ
ーラ33とを備える構成となっている(上記図2参
照)。(2) Second Embodiment An LBP according to the second embodiment has an LBP main body 21, an operation panel 22, a printer control unit 23, as in the first embodiment. A laser driver 24, a semiconductor laser 25, a rotary polygon mirror 26, a reflecting mirror 27,
The electrostatic drum 28, the developing unit 29, the paper cassette 30, the paper feed roller 31, the transport roller 32, and the transport roller 33 are provided (see FIG. 2 above).
【0026】また、第2の実施の形態に係るプリンタコ
ントローラ1は、上記第1の実施の形態と同様に、ホス
トI/F2と、CPU3と、ROM4と、DMA5と、
パネル部6と、I/F回路7と、RAM8と、アドレス
データバス9とを備える構成となっている。プリンタコ
ントローラ1には、ホストコンピュータ等の外部機器1
0とエンジン11とが接続されている(上記図1参
照)。上記各部の詳細構成については、上記第1の実施
の形態と同様であるため説明は省略する。The printer controller 1 according to the second embodiment has a host I / F 2, a CPU 3, a ROM 4, a DMA 5, and a DMA 5, as in the first embodiment.
The panel unit 6, the I / F circuit 7, the RAM 8 and the address data bus 9 are provided. The printer controller 1 includes an external device 1 such as a host computer.
0 and the engine 11 are connected (see FIG. 1 above). The detailed configuration of each of the above units is the same as that of the first embodiment described above, and thus the description thereof is omitted.
【0027】次に、第2の実施の形態に係るデータ圧縮
処理を図4のフローチャートに基づき説明する。Next, the data compression processing according to the second embodiment will be described with reference to the flowchart of FIG.
【0028】外部機器10がLBPのプリンタコントロ
ーラ1へ所定のデータを送信すると(ステップSB
1)、プリンタコントローラ1のCPU3はホストI/
F2の受信バッファ部を介してデータを受信し(ステッ
プSB2)、受信したデータのコマンドを解析すると共
に当該コマンドに応じたデータ処理を行う(ステップS
B3)。この場合、前記データにはコマンド等が含まれ
ているものとする。When the external device 10 transmits predetermined data to the LBP printer controller 1 (step SB
1), the CPU 3 of the printer controller 1 is the host I /
Data is received via the reception buffer unit of F2 (step SB2), the command of the received data is analyzed, and data processing according to the command is performed (step S2).
B3). In this case, the data is assumed to include a command and the like.
【0029】プリンタコントローラ1のCPU3は上記
データ処理を行った後、データを展開してオブジェクト
(データの値とそれに関する手続きを合わせたもの)を
生成する(ステップSB4)。この場合、オブジェクト
には文字データ、多値データ、2値データ等が含まれて
いるものとする。After performing the above-mentioned data processing, the CPU 3 of the printer controller 1 expands the data to generate an object (a combination of the data value and the procedure related thereto) (step SB4). In this case, it is assumed that the object includes character data, multivalued data, binary data, and the like.
【0030】プリンタコントローラ1のCPU3は上記
オブジェクトの生成を行った後、当該生成したオブジェ
クトの形態をサーチし、サーチしたオブジェクトの形態
に適切な圧縮方法を判定する(ステップSB5)。この
場合、圧縮方法は、ROM4に複数記憶されており、或
るパターンに対していかなる圧縮方法が有効であるかが
予め決定されているものとする。尚、オブジェクトの形
態のサーチの仕方は問わない。After generating the object, the CPU 3 of the printer controller 1 searches the form of the generated object and determines a compression method suitable for the form of the searched object (step SB5). In this case, it is assumed that a plurality of compression methods are stored in the ROM 4 and which compression method is effective for a certain pattern is determined in advance. The method of searching for the form of the object does not matter.
【0031】プリンタコントローラ1のCPU3は上記
ステップSB5においてサーチしたオブジェクトの形態
に適切な圧縮方法が圧縮方法1であると判定した場合
は、当該圧縮方法1を選択する(ステップSB6)。When the CPU 3 of the printer controller 1 determines that the compression method suitable for the form of the object searched in the step SB5 is the compression method 1, the CPU 3 selects the compression method 1 (step SB6).
【0032】また、プリンタコントローラ1のCPU3
は上記ステップSB5においてサーチしたオブジェクト
の形態に適切な圧縮方法が圧縮方法2であると判定した
場合は、当該圧縮方法2を選択する(ステップSB
7)。Further, the CPU 3 of the printer controller 1
When it is determined that the compression method suitable for the form of the object searched in step SB5 is the compression method 2, the compression method 2 is selected (step SB).
7).
【0033】また、プリンタコントローラ1のCPU3
は上記ステップSB5においてサーチしたオブジェクト
の形態に適切な圧縮方法が圧縮方法Nであると判定した
場合は、当該圧縮方法3を選択する(ステップSB
8)。Further, the CPU 3 of the printer controller 1
When it is determined that the compression method suitable for the form of the object searched for in step SB5 is the compression method N, the compression method 3 is selected (step SB).
8).
【0034】そして、プリンタコントローラ1のCPU
3は、上記ステップSB6または上記ステップSB7ま
たは上記ステップSB8で選択した圧縮方法を用いてデ
ータの圧縮を行い(ステップSB9)、本処理を終了す
る(ステップSB10)。The CPU of the printer controller 1
In step 3, the data is compressed by using the compression method selected in step SB6, step SB7, or step SB8 (step SB9), and this process ends (step SB10).
【0035】尚、第2の実施の形態では、オブジェクト
の種類としては3つの場合を例に上げたが、これに限定
されるものではなく、オブジェクトの種類は任意の個数
とすることができる。また、オブジェクトと圧縮方法と
を1対1に対応させているが、これに限定されるもので
はない。また、オブジェクトの形態をサーチする方法と
しては、オブジェクトの一部分をサーチする方法或いは
オブジェクトの全部をサーチする方法の何れでもよい。In the second embodiment, three types of objects are taken as an example, but the number of types of objects is not limited to this, and the number of types of objects can be arbitrary. Further, although the object and the compression method are made to correspond to each other on a one-to-one basis, the invention is not limited to this. The method of searching for the form of the object may be either a method of searching a part of the object or a method of searching the entire object.
【0036】上述したように、第2の実施の形態によれ
ば、LBPは、予め設定された複数の圧縮方法を記憶し
たROM4と、受信したデータを展開してオブジェクト
を生成するオブジェクト生成機能,生成したオブジェク
トの形態をサーチすると共に当該サーチしたオブジェク
トの形態に適合した圧縮方法をROM4に記憶された複
数の圧縮方法から選択する圧縮方法選択機能,及び選択
した圧縮方法に基づきデータの圧縮を行うデータ圧縮機
能を有するCPU3とを具備しているため、データを展
開したオブジェクトの形態に適合した圧縮方法を選択し
て圧縮を行うことが可能となり、圧縮率を向上させるこ
とができる。これにより、従来の如く、データの種類や
形式によっては圧縮を行った場合に圧縮率がそれほど上
がらないデータが存在するといった不具合を解消するこ
とができる。As described above, according to the second embodiment, the LBP has a ROM 4 storing a plurality of preset compression methods, an object generating function for decompressing received data to generate an object, The form of the generated object is searched, and a compression method selection function for selecting a compression method suitable for the searched form of the object from a plurality of compression methods stored in the ROM 4, and data compression based on the selected compression method. Since the CPU 3 having the data compression function is included, it is possible to select a compression method suitable for the form of the object in which the data is expanded and perform compression, and it is possible to improve the compression rate. As a result, it is possible to eliminate the problem that there is data whose compression rate does not increase so much when compressed as in the past, depending on the type and format of the data.
【0037】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器からなる装置に適用
しても良い。また、本発明は、システム或は装置にプロ
グラムを供給することによって達成される場合にも適用
できることは言うまでもない。この場合、本発明を達成
するためのソフトウエアによって表されるプログラムを
格納した記憶媒体を該システム或は装置に読み出すこと
によって、そのシステム或は装置が、本発明の効果を享
受することが可能となる。The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus. In this case, by reading a storage medium storing a program represented by software for achieving the present invention into the system or the apparatus, the system or the apparatus can enjoy the effects of the present invention. Becomes
【0038】[0038]
【発明の効果】以上説明したように、請求項1の発明に
よれば、印刷装置は、予め設定された複数の圧縮方法を
記憶した圧縮方法記憶手段と、受信したデータのコマン
ドを解析すると共に解析結果に基づきデータの種類を判
別するデータ種類判別手段と、判別したデータの種類に
適合した圧縮方法を複数の圧縮方法から選択する圧縮方
法選択手段と、選択した圧縮方法に基づきデータの圧縮
を行うデータ圧縮手段とを具備しているため、データに
適合した圧縮方法を選択して圧縮を行うことが可能とな
り、圧縮率を向上させることができる。これにより、従
来の如く、データの種類や形式によっては圧縮を行った
場合に圧縮率がそれほど上がらないデータが存在すると
いった不具合を解消することができる。As described above, according to the first aspect of the present invention, the printing apparatus analyzes the command of the received data and the compression method storage means which stores a plurality of preset compression methods. Data type discrimination means for discriminating the data type based on the analysis result, compression method selection means for selecting a compression method suitable for the discriminated data type from a plurality of compression methods, and data compression based on the selected compression method. Since it is provided with a data compression means for performing compression, it is possible to select a compression method suitable for the data and perform compression, and it is possible to improve the compression rate. As a result, it is possible to eliminate the problem that there is data whose compression rate does not increase so much when compressed as in the past, depending on the type and format of the data.
【0039】請求項2の発明によれば、印刷装置は、予
め設定された複数の圧縮方法を記憶した圧縮方法記憶手
段と、受信したデータを展開してオブジェクトを生成す
るオブジェクト生成手段と、生成したオブジェクトの形
態をサーチすると共にサーチしたオブジェクトの形態に
適合した圧縮方法を複数の圧縮方法から選択する圧縮方
法選択手段と、選択した圧縮方法に基づきデータの圧縮
を行うデータ圧縮手段とを具備しているため、データを
展開したオブジェクトの形態に適合した圧縮方法を選択
して圧縮を行うことが可能となり、圧縮率を向上させる
ことができる。これにより、従来の如く、データの種類
や形式によっては圧縮を行った場合に圧縮率がそれほど
上がらないデータが存在するといった不具合を解消する
ことができる。According to the second aspect of the present invention, the printing apparatus includes a compression method storage unit that stores a plurality of preset compression methods, an object generation unit that expands the received data to generate an object, and a generation unit. And a data compression unit for compressing the data based on the selected compression method. The compression method selection unit selects a compression method suitable for the searched object form and selects a compression method suitable for the searched object form. Therefore, it is possible to select a compression method suitable for the form of the object in which the data is expanded and perform compression, and it is possible to improve the compression rate. As a result, it is possible to eliminate the problem that there is data whose compression rate does not increase so much when compressed as in the past, depending on the type and format of the data.
【0040】請求項3の発明によれば、印刷装置におけ
るデータ圧縮方法は、受信したデータのコマンドを解析
すると共に解析結果に基づきデータの種類を判別するデ
ータ種類判別工程と、判別したデータの種類に適合した
圧縮方法を予め設定された複数の圧縮方法から選択する
圧縮方法選択工程と、選択した圧縮方法に基づきデータ
の圧縮を行うデータ圧縮工程とを有しているため、デー
タに適合した圧縮方法を選択して圧縮を行うことが可能
となり、圧縮率を向上させることができる。これによ
り、従来の如く、データの種類や形式によっては圧縮を
行った場合に圧縮率がそれほど上がらないデータが存在
するといった不具合を解消することができる。According to the third aspect of the invention, the data compression method in the printing apparatus analyzes the command of the received data and determines the data type based on the analysis result, and the determined data type. Since it has a compression method selection step of selecting a compression method suitable for the above from a plurality of preset compression methods and a data compression step of compressing the data based on the selected compression method, the compression method suitable for the data It becomes possible to perform compression by selecting a method, and the compression rate can be improved. As a result, it is possible to eliminate the problem that there is data whose compression rate does not increase so much when compressed as in the past, depending on the type and format of the data.
【0041】請求項4の発明によれば、印刷装置におけ
るデータ圧縮方法は、受信したデータを展開してオブジ
ェクトを生成するオブジェクト生成工程と、生成したオ
ブジェクトの形態をサーチすると共にサーチしたオブジ
ェクトの形態に適合した圧縮方法を予め設定された複数
の圧縮方法から選択する圧縮方法選択工程と、選択した
圧縮方法に基づきデータの圧縮を行うデータ圧縮工程と
を有しているため、データを展開したオブジェクトの形
態に適合した圧縮方法を選択して圧縮を行うことが可能
となり、圧縮率を向上させることができる。これによ
り、従来の如く、データの種類や形式によっては圧縮を
行った場合に圧縮率がそれほど上がらないデータが存在
するといった不具合を解消することができる。According to a fourth aspect of the present invention, a data compression method in a printing apparatus is an object generating step of expanding received data to generate an object, a form of the generated object and a form of the searched object. Since it has a compression method selection step of selecting a compression method suitable for the above from a plurality of preset compression methods and a data compression step of compressing the data based on the selected compression method, It is possible to select a compression method suitable for the above mode and perform compression, and it is possible to improve the compression rate. As a result, it is possible to eliminate the problem that there is data whose compression rate does not increase so much when compressed as in the past, depending on the type and format of the data.
【図1】本発明の第1及び第2の実施の形態に係るレー
ザビームプリンタのプリンタコントローラを中心とした
構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration centering on a printer controller of a laser beam printer according to first and second embodiments of the present invention.
【図2】本発明の第1及び第2の実施の形態に係るレー
ザビームプリンタの内部構成を示す断面図である。FIG. 2 is a cross-sectional view showing an internal configuration of the laser beam printer according to the first and second embodiments of the present invention.
【図3】本発明の第1の実施の形態に係るデータ圧縮処
理の流れを示すフローチャートである。FIG. 3 is a flowchart showing a flow of data compression processing according to the first embodiment of the present invention.
【図4】本発明の第2の実施の形態に係るデータ圧縮処
理の流れを示すフローチャートである。FIG. 4 is a flowchart showing a flow of data compression processing according to the second embodiment of the present invention.
1 プリンタコントローラ 3 CPU(データ種類判別手段、圧縮方法選択手段、
オブジェクト生成手段、データ圧縮手段) 4 ROM(圧縮方法記憶手段) 10 外部機器 21 LBP本体(印刷装置)1 printer controller 3 CPU (data type discrimination means, compression method selection means,
Object generation means, data compression means) 4 ROM (compression method storage means) 10 External device 21 LBP main body (printing device)
Claims (4)
行うようにした印刷装置において、 予め設定された複数の圧縮方法を記憶した圧縮方法記憶
手段と、受信したデータのコマンドを解析すると共に当
該解析結果に基づきデータの種類を判別するデータ種類
判別手段と、判別したデータの種類に適合した圧縮方法
を前記圧縮方法記憶手段に記憶された複数の圧縮方法か
ら選択する圧縮方法選択手段と、選択した圧縮方法に基
づきデータの圧縮を行うデータ圧縮手段とを具備するこ
とを特徴とする印刷装置。1. A printing apparatus configured to compress data received from an external device or the like, and a compression method storage unit that stores a plurality of preset compression methods, and a command of the received data, and A data type discriminating means for discriminating the data type based on the analysis result; a compression method selecting means for selecting a compression method suitable for the discriminated data type from a plurality of compression methods stored in the compression method storing means; And a data compression unit that compresses data based on the compression method described above.
行うようにした印刷装置において、 予め設定された複数の圧縮方法を記憶した圧縮方法記憶
手段と、受信したデータを展開してオブジェクトを生成
するオブジェクト生成手段と、生成したオブジェクトの
形態をサーチすると共に当該サーチしたオブジェクトの
形態に適合した圧縮方法を前記圧縮方法記憶手段に記憶
された複数の圧縮方法から選択する圧縮方法選択手段
と、選択した圧縮方法に基づきデータの圧縮を行うデー
タ圧縮手段とを具備することを特徴とする印刷装置。2. A printing apparatus adapted to compress data received from an external device or the like, and a compression method storing means for storing a plurality of preset compression methods, and an object generated by expanding the received data. Object generation means for selecting, a compression method selection means for searching a form of the generated object and selecting a compression method suitable for the searched object form from a plurality of compression methods stored in the compression method storage means, And a data compression unit that compresses data based on the compression method described above.
行うようにした印刷装置におけるデータ圧縮方法におい
て、 受信したデータのコマンドを解析すると共に当該解析結
果に基づきデータの種類を判別するデータ種類判別工程
と、判別したデータの種類に適合した圧縮方法を予め設
定された複数の圧縮方法から選択する圧縮方法選択工程
と、選択した圧縮方法に基づきデータの圧縮を行うデー
タ圧縮工程とを有することを特徴とする印刷装置におけ
るデータ圧縮方法。3. A data compression method in a printing apparatus, which compresses data received from an external device or the like, analyzes a command of the received data, and determines a data type based on the analysis result. A step of selecting a compression method suitable for the determined data type from a plurality of preset compression methods, and a data compression step of compressing data based on the selected compression method. A method for compressing data in a printing device having a feature.
行うようにした印刷装置におけるデータ圧縮方法におい
て、 受信したデータを展開してオブジェクトを生成するオブ
ジェクト生成工程と、生成したオブジェクトの形態をサ
ーチすると共に当該サーチしたオブジェクトの形態に適
合した圧縮方法を予め設定された複数の圧縮方法から選
択する圧縮方法選択工程と、選択した圧縮方法に基づき
データの圧縮を行うデータ圧縮工程とを有することを特
徴とする印刷装置におけるデータ圧縮方法。4. A data compression method for a printing apparatus, which compresses data received from an external device or the like, and an object generating step of expanding the received data to generate an object, and searching a form of the generated object. And a compression method selection step of selecting a compression method suitable for the form of the searched object from a plurality of preset compression methods, and a data compression step of compressing data based on the selected compression method. A method for compressing data in a printing device having a feature.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8018068A JPH09188009A (en) | 1996-01-09 | 1996-01-09 | Printing apparatus and data compression method in printing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8018068A JPH09188009A (en) | 1996-01-09 | 1996-01-09 | Printing apparatus and data compression method in printing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH09188009A true JPH09188009A (en) | 1997-07-22 |
Family
ID=11961359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8018068A Pending JPH09188009A (en) | 1996-01-09 | 1996-01-09 | Printing apparatus and data compression method in printing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH09188009A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015053594A (en) * | 2013-09-06 | 2015-03-19 | 富士機械製造株式会社 | COMMUNICATION SYSTEM, ELECTRONIC COMPONENT MOUNTING APPARATUS AND COMPRESSION PROCESSING METHOD FOR COMMUNICATION SYSTEM |
US9762907B2 (en) | 2001-02-13 | 2017-09-12 | Realtime Adaptive Streaming, LLC | System and methods for video and audio data distribution |
US9792128B2 (en) | 2000-02-03 | 2017-10-17 | Realtime Data, Llc | System and method for electrical boot-device-reset signals |
US9859919B2 (en) | 2000-10-03 | 2018-01-02 | Realtime Data Llc | System and method for data compression |
US9967368B2 (en) | 2000-10-03 | 2018-05-08 | Realtime Data Llc | Systems and methods for data block decompression |
US10019458B2 (en) | 1999-03-11 | 2018-07-10 | Realtime Data Llc | System and methods for accelerated data storage and retrieval |
US10033405B2 (en) | 1998-12-11 | 2018-07-24 | Realtime Data Llc | Data compression systems and method |
-
1996
- 1996-01-09 JP JP8018068A patent/JPH09188009A/en active Pending
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10033405B2 (en) | 1998-12-11 | 2018-07-24 | Realtime Data Llc | Data compression systems and method |
US10019458B2 (en) | 1999-03-11 | 2018-07-10 | Realtime Data Llc | System and methods for accelerated data storage and retrieval |
US9792128B2 (en) | 2000-02-03 | 2017-10-17 | Realtime Data, Llc | System and method for electrical boot-device-reset signals |
US9859919B2 (en) | 2000-10-03 | 2018-01-02 | Realtime Data Llc | System and method for data compression |
US9967368B2 (en) | 2000-10-03 | 2018-05-08 | Realtime Data Llc | Systems and methods for data block decompression |
US10284225B2 (en) | 2000-10-03 | 2019-05-07 | Realtime Data, Llc | Systems and methods for data compression |
US10419021B2 (en) | 2000-10-03 | 2019-09-17 | Realtime Data, Llc | Systems and methods of data compression |
US9762907B2 (en) | 2001-02-13 | 2017-09-12 | Realtime Adaptive Streaming, LLC | System and methods for video and audio data distribution |
US9769477B2 (en) | 2001-02-13 | 2017-09-19 | Realtime Adaptive Streaming, LLC | Video data compression systems |
US10212417B2 (en) | 2001-02-13 | 2019-02-19 | Realtime Adaptive Streaming Llc | Asymmetric data decompression systems |
JP2015053594A (en) * | 2013-09-06 | 2015-03-19 | 富士機械製造株式会社 | COMMUNICATION SYSTEM, ELECTRONIC COMPONENT MOUNTING APPARATUS AND COMPRESSION PROCESSING METHOD FOR COMMUNICATION SYSTEM |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6775712B2 (en) | Network system in which plurality of image processing apparatuses are connected | |
JPH09188009A (en) | Printing apparatus and data compression method in printing apparatus | |
US6353482B1 (en) | Image forming system with individual mode and standard mode | |
US6336144B1 (en) | Apparatus and method for executing a plurality of processes in parallel, and storage medium storing a program for implementing the method | |
JPH09167094A (en) | Data processing apparatus, control method thereof, storage medium, image processing combined apparatus | |
JPH09233315A (en) | Image processing apparatus and method | |
JP4717565B2 (en) | Image processing apparatus, control method therefor, and program | |
JPH07200634A (en) | Image reading device | |
JPH11127288A (en) | Image processing apparatus and method, and memory medium | |
JP3618883B2 (en) | Image processing method and image processing apparatus | |
JPH05221090A (en) | Image processing device | |
JPH10202942A (en) | Laser writing method | |
JPH0983929A (en) | Image processing device | |
JP2915673B2 (en) | Print control device and print data identification method | |
JP2000141785A (en) | Image forming apparatus and control method thereof | |
JPH07200198A (en) | Print control device | |
JPH05270092A (en) | Image forming method and apparatus | |
JP3397514B2 (en) | Output device and output method | |
JPH1153151A (en) | Image processing apparatus and method | |
JP3184307B2 (en) | Image output apparatus and control method thereof | |
JP2000059584A (en) | Scanner control method and device therefor | |
JPH10229468A (en) | Image processing device | |
JPH10111769A (en) | Image processor | |
JPH09191353A (en) | Image forming device | |
JP2000184211A (en) | Image processing device |