JP3156379B2 - How to compress print data - Google Patents

How to compress print data

Info

Publication number
JP3156379B2
JP3156379B2 JP19733792A JP19733792A JP3156379B2 JP 3156379 B2 JP3156379 B2 JP 3156379B2 JP 19733792 A JP19733792 A JP 19733792A JP 19733792 A JP19733792 A JP 19733792A JP 3156379 B2 JP3156379 B2 JP 3156379B2
Authority
JP
Japan
Prior art keywords
data
print
print data
printer
compression
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
JP19733792A
Other languages
Japanese (ja)
Other versions
JPH0644013A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP19733792A priority Critical patent/JP3156379B2/en
Publication of JPH0644013A publication Critical patent/JPH0644013A/en
Application granted granted Critical
Publication of JP3156379B2 publication Critical patent/JP3156379B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、印刷制御コードが付
加された印刷データを取り込んで、該印刷制御コード
が指示する形式の印刷を行う印刷装置が接続されサーバ
システムと、アプリケーションプログラムを実行して、
該サーバシステムの印刷装置に印刷を依頼するクライア
ントシステムとが、回線制御機構によって統合された計
算機システムにおいて、該クライアントシステムが回線
を経由して、各サーバシステムの印刷装置への印刷を行
う際の印刷データ中に含まれるイメージデータの圧縮方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server system connected to a printing apparatus which fetches print data to which a print control code is added and performs printing in a format specified by the print control code, and executes an application program. hand,
In a computer system integrated by a line control mechanism with a client system that requests printing from a printing device of the server system, when the client system prints to a printing device of each server system via a line, The present invention relates to a method for compressing image data included in print data.

【0002】近年、回線制御機構により統合された計算
機システム上では、多種多様な印刷装置 (以下、プリン
タ装置ということがある) がサーバシステムとして接続
され、回線に接続されている複数の計算機システム (ク
ライアントシステム) から利用することができる(以
降,共用プリンタ装置と呼ぶ)が、回線を経由した印刷
処理は、直結のプリンタ装置への印刷処理に比べ印刷レ
スポンスの性能が劣るため、回線上のデータ転送時間を
短縮する必要がある。
In recent years, on a computer system integrated by a line control mechanism, a variety of printing devices (hereinafter, sometimes referred to as printer devices) are connected as a server system, and a plurality of computer systems ( Client system) (hereafter referred to as a shared printer device), but print processing via a line has inferior print response performance compared to print processing to a directly connected printer device. The transfer time needs to be reduced.

【0003】又、該共用プリンタ装置に対して印刷処理
を行う場合、印刷データを一旦,ハードディスク装置等
の補助記憶装置に蓄積する(以降,スプールと呼ぶ) の
が一般的であるが、このときに、該ディスク資源を圧迫
しないように、蓄積するデータ量をできるだけ少なくす
る必要がある。
When printing is performed on the shared printer, print data is generally temporarily stored in an auxiliary storage device such as a hard disk device (hereinafter, referred to as a spool). In addition, it is necessary to minimize the amount of data to be stored so as not to stress the disk resources.

【0004】このように回線を経由した共用プリンタ装
置への出力機能を提供するにあたって、印刷レスポンス
性能の向上, 及び、ディスク資源削減は必須条件となっ
ており、これらを実現するために、印刷データを効率よ
く圧縮する方法が求められている。
In order to provide an output function to a shared printer via a line as described above, improvement of print response performance and reduction of disk resources are indispensable conditions. There is a demand for a method of efficiently compressing the data.

【0005】[0005]

【従来の技術】図3, 図4は、従来の印刷データの圧縮
方法を説明する図であって、図3は、計算機システムの
構成例を示し、図4は、プリンタ装置のデータ形式の例
を示している。
2. Description of the Related Art FIGS. 3 and 4 are views for explaining a conventional print data compression method. FIG. 3 shows an example of the configuration of a computer system, and FIG. 4 shows an example of the data format of a printer. Is shown.

【0006】図3に示すように、クライアントシステム
1上で実行されるアプリケーションプログラム 10 が、
自計算機システム 1に仮想的に接続されているプリンタ
装置(仮想プリンタ)11に対し出力を行うと、回線 3経
由で、サーバシステム 2に転送され、共用プリンタ装置
22 に出力される。
As shown in FIG. 3, a client system
The application program 10 running on 1
When an output is made to a printer device (virtual printer) 11 virtually connected to the computer system 1, the data is transferred to the server system 2 via the line 3 and shared there.
Output to 22.

【0007】しかし、アプリケーションプログラム 10
がプリンタ装置 11 に出力する印刷データはビットイメ
ージを含んでいるため、回線 3を流れるデータ量, 及
び、サーバシステム 2のスプール 20 に蓄積されるデー
タ量は膨大になる。
However, the application program 10
Since the print data output to the printer device 11 includes a bit image, the amount of data flowing through the line 3 and the amount of data stored in the spool 20 of the server system 2 become enormous.

【0008】そこで、一般には、クライアントシステム
1に備えられている圧縮/送信部 12aにおいて、該印刷
データの圧縮処理を行い、データ量を少なくしている
が、従来の方法では、どのようなプリンタ装置 22 に対
する印刷データに対しても同一の圧縮方法を適用してい
るため、印刷データによっては極端に圧縮率が低下した
り,圧縮処理時間が増大する場合があった。
Therefore, in general, a client system
Although the compression / transmission unit 12a provided in 1 performs the compression processing of the print data to reduce the data amount, the conventional method is the same for print data to any printer device 22. Since the compression method is applied, the compression ratio may be extremely lowered or the compression processing time may increase depending on print data.

【0009】以下、図4によって、具体的に説明する。
図4(a) はレーザビームプリンタ系に対する矩形イメー
ジデータの例を示し、図 (b) はシリアルプリンタ系に
対するプリンタヘッドイメージデータの例を示してい
る。
Hereinafter, a specific description will be given with reference to FIG.
FIG. 4A shows an example of rectangular image data for a laser beam printer system, and FIG. 4B shows an example of printer head image data for a serial printer system.

【0010】矩形イメージデータの場合は、印刷装置
(レーザビームプリンタ装置)がビットマップメモリ上
に展開されているイメージデータを、そのままの形で印
刷する機構のものであるので、アプリケーションプログ
ラム 10 が生成する印刷データは、図示されているよう
に、印刷制御コードの次に、該ビットマップメモリ上
のデータを、例えば、4バイト単位に並べた形で生成さ
れている。
In the case of rectangular image data, since the printing device (laser beam printer device) has a mechanism for printing the image data developed on the bitmap memory as it is, the application program 10 is generated. As shown in the figure, the print data to be generated is generated in such a manner that data on the bitmap memory is arranged next to the print control code, for example, in units of 4 bytes.

【0011】そして、プリンタヘッドイメージデータの
場合には、図示されているように、印刷制御コードの
次に、シリアルプリンタヘッドのドット数に合わせて、
例えば、24ドット分の3バイト単位の印刷データが並
んでいる。
In the case of printer head image data, as shown in the figure, the print control code is followed by the number of dots of the serial printer head.
For example, print data in units of 3 bytes for 24 dots are arranged.

【0012】通常、該矩形イメージデータに対しては、
例えば、4バイト単位に圧縮される。本例の場合には、
「0」が「4バイト」,「1」が「4バイト」,「0」
が「4」バイトといったデータ圧縮が行われる。但し、
該データ圧縮は、同じデータが、例えば、2バイト以上
続いている場合に行われる。
Normally, for the rectangular image data,
For example, it is compressed in units of 4 bytes. In this case,
"0" is "4 bytes", "1" is "4 bytes", "0"
Is compressed to "4" bytes. However,
The data compression is performed when the same data continues, for example, for 2 bytes or more.

【0013】この圧縮方法が、上記プリンタヘッドイメ
ージデータに適用されると、例えば、図示の印刷データ
の場合、「0」が「1バイト」,「1」が「1バイ
ト」,「0」が「2バイト」,「1」が「1バイト」・
・・といったデータ圧縮が行われる。
When this compression method is applied to the printer head image data, for example, in the case of the print data shown in the figure, “0” is “1 byte”, “1” is “1 byte”, and “0” is “1 byte”. "2 bytes", "1" is "1 byte"
Data compression such as .. is performed.

【0014】この場合、矩形イメージデータに対しては
効率の良いデータ圧縮が行われることになるが、プリン
タヘッドイメージデータに対しては、効率の良いデータ
圧縮が行われるとは限らない。
In this case, efficient data compression is performed on rectangular image data, but efficient data compression is not always performed on printer head image data.

【0015】該プリンタヘッドイメージデータは、プリ
ンタヘッドが持っている24ドット分の3バイト単位の
データ転送が行われているので、該プリンタヘッドイメ
ージデータに対しては、例えば、3バイト(24 ドット)
単位のデータ圧縮、図示の例では、「00FF00」が
「4」回続くといったデータ圧縮を行うと効率的であ
る。
Since the printer head image data is transferred in 3-byte units of 24 dots held by the printer head, for example, 3 bytes (24 dots) )
It is efficient to perform data compression in units, for example, data compression such that “00FF00” continues “4” times in the illustrated example.

【0016】然しながら、従来方法においては、どのよ
うなプリンタ装置の印刷データに対しても、同一の圧縮
方法を適用していた。これは、従来の回線制御機構によ
り統合された計算機システムに、多種多用な印刷装置が
接続されることが少なく、各プリンタ装置別にデータ圧
縮を行うという発想が無かったことによる。
However, in the conventional method, the same compression method is applied to print data of any printer. This is because various types of printing apparatuses are rarely connected to the computer system integrated by the conventional line control mechanism, and there is no idea of performing data compression for each printer apparatus.

【0017】[0017]

【発明が解決しようとする課題】従って、1)特定の印刷
データに対する圧縮率の低下,及び圧縮処理時間の増大
によってもたらされる印刷処理時間が増大するという問
題と、2)特定の印刷データに対する圧縮率の低下によっ
てもたらされるスプールへの蓄積量が増大し、該スプー
ルの容量を大きくしなければならず、ディスク資源が大
きくなるという問題があった。
Accordingly, 1) the problem that the compression ratio for specific print data is reduced and the print processing time caused by the increase of the compression processing time is increased, and 2) the compression for specific print data is There is a problem that the storage amount on the spool caused by the decrease in the rate increases, the capacity of the spool must be increased, and the disk resources increase.

【0018】本発明は上記従来の欠点に鑑み、印刷制御
コードが付加された印刷データを取り込んで印刷する印
刷装置が接続され、回線制御機構によって統合された計
算機システムにおいて、回線を経由して印刷装置への印
刷を行う際の印刷データ中に含まれるイメージデータの
圧縮を行うのに、該計算機システムの性能を向上, 資源
削減を図ることかできるデータ圧縮方法を提供すること
を目的とするものである。
In view of the above-mentioned conventional disadvantages, the present invention relates to a computer system in which a printing apparatus that fetches print data to which a print control code is added and prints the data is connected and integrated by a line control mechanism. An object of the present invention is to provide a data compression method capable of improving the performance of a computer system and reducing resources for compressing image data included in print data when performing printing on an apparatus. It is.

【0019】[0019]

【課題を解決するための手段】図1は、本発明の原理説
明図である。上記の問題点は下記の如くに構成されたデ
ータ圧縮方法によって解決される。
FIG. 1 is a diagram illustrating the principle of the present invention. The above problem is solved by a data compression method configured as follows.

【0020】印刷制御コードが付加された印刷データ
を取り込んで、該印刷制御コードが指示する形式の印
刷を行う印刷装置 22 が接続されたサーバシステム 2
と、アプリケーションプログラム 10 を実行して、該サ
ーバシステム 2の印刷装置 22に印刷を依頼するクライ
アントシステム 1とが、回線制御機構によって統合され
た計算機システムにおいて、該クライアントシステム 1
が回線 3を経由して、該サーバシステム 2の印刷装置 2
2 への印刷を行う際の印刷データ中に含まれるイメージ
データの圧縮方法であって、各サーバシステム 2の備え
ている各印刷装置 22 のデータ形式に対応して、クライ
アントシステム 1内に、複数種類の圧縮処理部 120,12
1, 〜を設け、アプリケーションプログラム 10 から出
力される印刷データの印刷制御コードを解析し、出力
対象となる印刷装置 22 のデータ形式に合わせて、上記
圧縮処理部 120, 又は、121,〜を選択し、該出力対象の
印刷装置 22 に応じて、イメージデータの圧縮方法を動
的に変更するように構成する。
A server system 2 to which a printing device 22 for receiving print data to which a print control code is added and performing printing in a format specified by the print control code is connected.
And the client system 1 that executes the application program 10 and requests the printing device 22 of the server system 2 to perform printing, in the computer system integrated by the line control mechanism, the client system 1
Is connected to the printing device 2 of the server system 2 via the line 3.
2 is a method of compressing image data included in print data when performing printing on the client system 1 according to the data format of each printing device 22 provided in each server system 2. Types of compression processing units 120,12
And print control codes of the print data output from the application program 10 and select the compression processing unit 120 or 121, according to the data format of the printing device 22 to be output. The image data compression method is dynamically changed according to the printing device 22 to be output.

【0021】[0021]

【作用】即ち、本発明の印刷データの圧縮方法は、前述
の図3の圧縮/送信部 12aが常に効率的な圧縮処理が行
えるように、各サーバシステム 2が備えているプリンタ
装置 22 の種類によって異なるデータストリームとなる
ことに着目して、該データストリーム毎に、該データス
トリームに適応した印刷データの圧縮を行うようにした
ものである。
That is, according to the print data compression method of the present invention, the type of the printer device 22 included in each server system 2 is set so that the compression / transmission unit 12a shown in FIG. Paying attention to different data streams, print data compression adapted to the data stream is performed for each data stream.

【0022】図1は、本発明の原理説明図である。図
中、10はアプリケーションプログラムであり、印刷要求
を行うプリンタ装置 22 に応じたビットイメージを含む
印刷データを出力する。13は印刷制御コード解析部であ
り、この印刷制御コード解析部13 は、アプリケーショ
ンプログラム 10 から出力された印刷データの印刷制御
コードを解析し、最も効率的な圧縮処理を行える圧縮
方法を選択して、12の個別圧縮部に印刷データを送り出
し、それぞれに対応した圧縮処理部 120,121, 〜におい
て、該印刷制御コードが指示するデータ形式に対応し
たデータ圧縮を行うものである。それぞれの個別圧縮処
理部 120,121, 〜で圧縮された印刷データは、回線 3を
経由し、各サーバシステム 2の共用プリンタ装置 22 へ
出力される。
FIG. 1 is a diagram illustrating the principle of the present invention. In the figure, reference numeral 10 denotes an application program, which outputs print data including a bit image corresponding to the printer device 22 that issues a print request. Reference numeral 13 denotes a print control code analysis unit. The print control code analysis unit 13 analyzes a print control code of print data output from the application program 10 and selects a compression method that can perform the most efficient compression processing. , And 12 respectively, and the corresponding compression processing sections 120, 121,... Perform data compression corresponding to the data format specified by the print control code. The print data compressed by the individual compression processing units 120, 121,... Is output to the shared printer 22 of each server system 2 via the line 3.

【0023】従って、本発明では図1に示した如く、印
刷制御コード解析部 12 で印刷データの印刷制御コード
を解析し、該印刷制御コードによって、該印刷デー
タにとって最も効率的な圧縮方法を施すことができるた
め、どのようなプリンタ装置22 に出力する場合でも印
刷データを効率よく圧縮することができる効果が得られ
る。
Accordingly, in the present invention, as shown in FIG. 1, the print control code analysis section 12 analyzes the print control code of the print data, and applies the most efficient compression method for the print data by the print control code. Therefore, the print data can be efficiently compressed regardless of the output to any printer device 22.

【0024】[0024]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1は、本発明の原理説明図であり、図2
は、本発明の一実施例を模式的に示した図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. FIG. 1 is an explanatory view of the principle of the present invention.
FIG. 1 is a view schematically showing one embodiment of the present invention.

【0025】本発明においては、印刷制御コードが付
加された印刷データを取り込んで、該印刷制御コード
が指示する形式の印刷を行う印刷装置 22 が接続された
サーバシステム 2と、アプリケーションプログラム 10
を実行して、該サーバシステム 2の印刷装置 22 に印刷
を依頼するクライアントシステム 1とが、回線制御機構
によって統合された計算機システムにおいて、各サーバ
システム 2の備えている各印刷装置 22 のデータ形式に
対応して、クライアントシステム 1内に、複数種類の圧
縮処理部 120,121, 〜を設け、アプリケーションプログ
ラム 10 から出力される印刷データの印刷制御コード
を解析し、出力対象となる印刷装置 22のデータ形式に
合わせて、上記圧縮処理部 120, 又は、121,〜を選択
し、該出力対象の印刷装置 22 に応じて、イメージデー
タの圧縮方法を動的に変更する手段が、本発明を実施す
るのに必要な手段である。尚、全図を通して同じ符号は
同じ対象物を示している。
According to the present invention, a server system 2 to which a printing device 22 that fetches print data to which a print control code is added and performs printing in a format indicated by the print control code is connected, and an application program 10.
And the client system 1 that requests the printing device 22 of the server system 2 to perform printing, the data format of each printing device 22 provided in each server system 2 in the computer system integrated by the line control mechanism. In response to this, a plurality of types of compression processing units 120, 121,... Are provided in the client system 1 to analyze the print control code of the print data output from the application program 10, and to output the data format of the printing Means for selecting the compression processing unit 120 or 121,... And dynamically changing the compression method of the image data according to the printing device 22 to be output. It is a necessary means. Note that the same reference numerals indicate the same object throughout the drawings.

【0026】以下、図1を参照しながら、図2によっ
て、本発明の印刷データの圧縮方法を説明する。図2は
本発明の一実施例を模式的に示した図であり、印刷デー
タ圧縮処理の一例をあげている。
Hereinafter, a method of compressing print data according to the present invention will be described with reference to FIG. 2 while referring to FIG. FIG. 2 is a diagram schematically showing one embodiment of the present invention, showing an example of print data compression processing.

【0027】本図において、(a) はレーザビームプリン
タ系で使用される矩形イメージデータの例を示してお
り、(b) はシリアルプリンタ系で使用されるプリンタヘ
ッドイメージデータの例を示している。
In this figure, (a) shows an example of rectangular image data used in a laser beam printer system, and (b) shows an example of printer head image data used in a serial printer system. .

【0028】レーザビームプリンタ系のプリンタ装置 2
2 に対しては、該レーザビームプリンタ装置 22 が、前
述のように、ビットマップメモリ上に展開されているイ
メージデータを、そのままの形で印刷するものであるの
で、クライアントシステム 1のアプリケーションプログ
ラム 10 から、該レーザビームプリンタ系のプリンタ装
置用の印刷データであることを指示する印刷制御コード
の次に、図2(a) に図示されている如くに、該ビット
マップメモリ上に展開された時の各データが、例えば、
4バイト単位に複数個並べた印刷データとして送出さ
れ、該4バイト単位のデータ圧縮、具体的には、図4で
も説明したように、「0」が「4バイト」,「1」が
「4バイト」,「0」が「4バイト」,〜といったデー
タ圧縮が行われて、回線 3に送出され、対応するサーバ
システム 2のスプール 20 に蓄積される。
Laser beam printer system printer device 2
2, since the laser beam printer 22 prints the image data developed on the bitmap memory as it is, as described above, the application program 10 of the client system 1 is used. Then, after the print control code indicating that the data is print data for the laser beam printer type printer device, as shown in FIG. Is, for example,
The print data is transmitted as a plurality of print data arranged in units of 4 bytes, and the data is compressed in units of 4 bytes. Specifically, as described in FIG. 4, “0” indicates “4 bytes” and “1” indicates “4 bytes”. Data compression such as “byte” and “0” is converted to “4 bytes”,... Is transmitted to the line 3 and stored in the spool 20 of the corresponding server system 2.

【0029】サーバシステム 2においては、該スプール
20 に蓄積されている圧縮データを取り出し/伸長部 2
1(図3参照)で取り出し、元の印刷データに伸長して、
図示されていない感光ドラムと同じ容量のビットマップ
メモリ上に展開された後、該感光ドラムに潜像として記
録され、該潜像が印刷用紙に転写される。
In the server system 2, the spool
Extracts / compresses compressed data stored in 20 2
1 (see FIG. 3), decompress it to the original print data,
After being developed on a bitmap memory having the same capacity as a photosensitive drum (not shown), the latent image is recorded on the photosensitive drum as a latent image, and the latent image is transferred to printing paper.

【0030】従って、該レーザビームプリンタ系のプリ
ンタ装置 22 に対する印刷データは、図2(a) に示され
ているように、例えば、3ビット×4バイトからなる罫
線を示すデータは、4バイト単位の「00000000」「1111
1111」「00000000」からなる印刷データとして出力さ
れ、上記のように、4バイトを単位として圧縮される。
Accordingly, as shown in FIG. 2A, the print data for the laser beam printer type printer device 22 is, for example, data indicating a ruled line consisting of 3 bits × 4 bytes in units of 4 bytes. `` 00000000 '' `` 1111
The print data is output as print data including “1111” and “00000000”, and is compressed in units of 4 bytes as described above.

【0031】具体的には、該印刷データの先頭に付加さ
れている印刷制御データ{該印刷制御データは、パ
ソコンのオペレイティングシステム(OS)等において、所
謂、エスケープシーケンスコード(ESQコード) と呼ばれ
ているもので、印刷, 画面表示等を司る制御データであ
る}を、印刷制御コード解析部 13 で解析し、該レーザ
ビームプリンタ系のプリンタ装置 22 に対する矩形イメ
ージデータであることが認識され、対応する矩形イメー
ジ圧縮処理部 120において、上記のデータ圧縮が行わ
れ、回線 3に出力される。
Specifically, print control data added to the head of the print data. The print control data is called an escape sequence code (ESQ code) in an operating system (OS) of a personal computer or the like. }, Which is control data that controls printing, screen display, etc., is analyzed by the print control code analysis unit 13 and recognized as rectangular image data for the printer device 22 of the laser beam printer system. In the corresponding rectangular image compression processing unit 120, the above data compression is performed and output to the line 3.

【0032】シリアルプリンタ系のプリンタ装置 22 に
対しては、クライアントシステム 1のアプリケーション
プログラム 10 から、該シリアルプリンタ系のプリンタ
装置用の印刷データであることを指示する印刷制御コー
ドの次に、図2(b) に図示されている如くに、例え
ば、該シリアルプリンタのヘッドのドット数、例えば、
24ドット (3バイト)×1ビット単位の印刷データが送
出され、対応するサーバシステム 2のスプール 20 に蓄
積された後、該ヘッドを構成しているドット数の3バイ
ト(24 ビット) のデータをバッファリングするレジスタ
(図示せず)に送出され、24ドット×1ドットを単位
としてシリアルな印刷が行われる。
For the printer 22 of the serial printer system, after the print control code indicating from the application program 10 of the client system 1 that the data is print data for the printer of the serial printer system, FIG. As shown in (b), for example, the number of dots of the head of the serial printer, for example,
After the print data of 24 dots (3 bytes) × 1 bit unit is sent out and stored in the spool 20 of the corresponding server system 2, the data of 3 bytes (24 bits) of the number of dots constituting the head is transferred. The data is sent to a register (not shown) for buffering, and serial printing is performed in units of 24 dots × 1 dot.

【0033】従って、該レーザビームプリンタ系のプリ
ンタ装置 22 に対する印刷データは、図2(b) に示され
ているように、例えば、24ドット×4バイトからなる罫
線を示すデータで、該罫線部分が8ドット幅であると、
3バイトの「00FF00」 (該「FF」部分が罫線の幅を示し
ている) で示される印刷データが、1行分の内、該罫線
分続くものとなるので、上記のように、「00FF00」を単
位として、該「00FF00」が何個続くかを示す圧縮データ
となる。図2(b) の例では「00FF00」が「32ビット」続
いていることを示す圧縮データとなる。
Therefore, as shown in FIG. 2B, the print data for the laser beam printer type printer device 22 is, for example, data indicating a ruled line consisting of 24 dots × 4 bytes. Is 8 dots wide,
Since the print data indicated by 3-byte "00FF00" (the "FF" portion indicates the width of the ruled line) is to be continued for the ruled line in one line, as described above, "00FF00" Is the compressed data indicating how many times the "00FF00" continues. In the example of FIG. 2B, the compressed data indicates that "00FF00" continues for "32 bits".

【0034】図2(a) の場合と同様に、該印刷データの
先頭に付加されている印刷制御データを、印刷制御コ
ード解析部 13 で解析し、該シリアルプリンタ系のプリ
ンタ装置 22 に対するプリンタヘッドイメージデータで
あることが認識され、対応するプリンタヘッドイメージ
圧縮処理部 121において、上記のデータ圧縮が行われ、
回線 3に出力される。
As in the case of FIG. 2 (a), the print control data added to the head of the print data is analyzed by the print control code analyzing unit 13, and the printer head for the printer device 22 of the serial printer system is analyzed. The data is recognized as image data, and the corresponding printer head image compression processing unit 121 performs the data compression described above.
Output to line 3.

【0035】尚、印刷データには、上記イメージデータ
の他に、文字等のコードデータが含まれており、該コー
ドデータに対しては、該コードデータを指示する印刷制
御コードにより、コードデータであることが、上記印
刷制御コード解析部 13 で認識されることにより、コー
ドデータ圧縮処理部 123(図1参照)において、該コー
ドデータに適したデータ圧縮が行われる。
It should be noted that the print data includes code data such as characters in addition to the image data, and the code data is converted to the code data by a print control code designating the code data. The fact that the print control code analysis unit 13 recognizes that the code data is present causes the code data compression processing unit 123 (see FIG. 1) to perform data compression suitable for the code data.

【0036】具体的に説明すると、該文字コードが、例
えば、「8080」(16 進) であるとすると、1バイトのデ
ータを構成している「80」が2個以上続いている場合、
該「80」が「2」個というようなデータ圧縮が行われ
る。該1バイトのデータが同じでなければ、その儘、デ
ータ圧縮無しに、回線 3に送出される。
More specifically, assuming that the character code is, for example, "8080" (hexadecimal), when two or more "80" s constituting one byte of data are continued,
Data compression such as "2" of "80" is performed. If the 1-byte data is not the same, it is sent out to the line 3 without any data compression.

【0037】このように、本発明においては、図2(a)
(b)で示した、矩形イメージデータ,プリンタヘッドイメ
ージデータは印刷制御コード解析部 13 で、該印刷制御
コードが解析され、図2(a) に示した矩形イメージデ
ータであることが認識されると、矩形イメージ圧縮処理
部 120,図2(b) に示したプリンタヘッドイメージデー
タであることが認識されると、プリンタヘッドイメージ
圧縮処理部 121に、それぞれ送られ、それぞれの印刷デ
ータの特徴に合わせて効率的に圧縮されるようにしたと
ころに特徴がある。
As described above, in the present invention, FIG.
The print control code analysis unit 13 analyzes the rectangular image data and the printer head image data shown in (b), and recognizes that they are the rectangular image data shown in FIG. When the rectangular image compression processing unit 120 recognizes that the data is the printer head image data shown in FIG. 2B, the data is sent to the printer head image compression processing unit 121, and the characteristics of each print data are obtained. The feature is that the data is compressed efficiently.

【0038】[0038]

【発明の効果】以上、詳細に説明したように、本発明の
印刷データ圧縮方法によれば、回線制御機構により統合
された計算機システム上で、印刷データの圧縮率向上,
及び圧縮処理時間の短縮により、該回線を経由した印刷
データの転送時間の短縮が可能となり、さらにスプール
容量の削減ができ、係る回線制御機構により統合された
計算機システム上で、回線を経由した共用プリンタ装置
への印刷処理の性能向上に寄与するところが大きい。
又、新規の印刷制御コード(プリンタ装置)がサポート
された場合でも、図1の個別圧縮部 12 に新規の圧縮処
理部を追加することによって、容易に対応可能である。
As described above in detail, according to the print data compression method of the present invention, the print data compression ratio can be improved on the computer system integrated by the line control mechanism.
In addition, the shortening of the compression processing time makes it possible to shorten the transfer time of the print data via the line, further reduce the spool capacity, and share the data via the line on the computer system integrated by the line control mechanism. It greatly contributes to the improvement of the performance of the printing process to the printer device.
Also, even when a new print control code (printer device) is supported, it can be easily handled by adding a new compression processing unit to the individual compression unit 12 in FIG.

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

【図1】本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の一実施例を模式的に示した図FIG. 2 is a diagram schematically showing an embodiment of the present invention.

【図3】従来の印刷データの圧縮方法を説明する図(そ
の1)
FIG. 3 is a view for explaining a conventional print data compression method (part 1);

【図4】従来の印刷データの圧縮方法を説明する図(そ
の2)
FIG. 4 illustrates a conventional print data compression method (part 2).

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

1 クライアントシステム 10 アプリケ
ーションプログラム 11 仮想プリンタ 12 個別圧縮
部 12a 圧縮/送信部 120 矩形イメージ圧縮処理部 121 プリンタヘッドイメージ圧縮処理部 123 コードデータ圧縮処理部 13 印刷制御コード解析部 2 サーバシステム 20 スプール 21 取出し/伸長部 22 印刷装
置, 又は、プリンタ装置 3 回線 印刷制御コード
1 Client system 10 Application program 11 Virtual printer 12 Individual compression unit 12a Compression / transmission unit 120 Rectangular image compression processing unit 121 Printer head image compression processing unit 123 Code data compression processing unit 13 Print control code analysis unit 2 Server system 20 Spool 21 Take out / Expansion unit 22 Printing device or printer device 3 lines Print control code

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】印刷制御コード()が付加された印刷デ
ータを取り込んで、該印刷制御コード()が指示する
形式の印刷を行う印刷装置(22)が接続されたサーバシス
テム(2) と、アプリケーションプログラム(10)を実行し
て、該サーバシステム(2) の印刷装置(22)に印刷を依頼
するクライアントシステム(1) とが、回線制御機構によ
って統合された計算機システムにおいて、該クライアン
トシステム(1) が回線(3) を経由して、該サーバシステ
ム(2) の印刷装置(22)への印刷を行う際の印刷データ中
に含まれるイメージデータの圧縮方法であって、 各サーバシステム(2) の備えている各印刷装置(22)のデ
ータ形式に対応して、クライアントシステム(1) 内に、
複数種類の圧縮処理部(120,121, 〜) を設け、 アプリケーションプログラム(10)から出力される印刷デ
ータの印刷制御コード() を解析し、出力対象となる
印刷装置(22)のデータ形式に合わせて、上記圧縮処理部
(120, 又は、121,〜) を選択し、該出力対象の印刷装置
(22)に応じて、イメージデータの圧縮方法を動的に変更
することを特徴とする印刷データの圧縮方法。
1. A server system (2) to which a printing device (22) for taking in print data to which a print control code () is added and performing printing in a format designated by the print control code () is connected. A client system (1) that executes an application program (10) and requests a printing device (22) of the server system (2) to print is integrated with a client system (1) in a computer system integrated by a line control mechanism. 1) is a method for compressing image data included in print data when printing is performed on the printing device (22) of the server system (2) via the line (3), According to the data format of each printing device (22) provided in 2), in the client system (1),
A plurality of types of compression processing units (120, 121, ...) are provided to analyze the print control code () of print data output from the application program (10), and to match the data format of the printing device (22) to be output. , The compression processing unit
(120, or 121, ...) and select the printing device
A method for compressing print data, wherein the method for compressing image data is dynamically changed according to (22).
JP19733792A 1992-07-24 1992-07-24 How to compress print data Expired - Fee Related JP3156379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19733792A JP3156379B2 (en) 1992-07-24 1992-07-24 How to compress print data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19733792A JP3156379B2 (en) 1992-07-24 1992-07-24 How to compress print data

Publications (2)

Publication Number Publication Date
JPH0644013A JPH0644013A (en) 1994-02-18
JP3156379B2 true JP3156379B2 (en) 2001-04-16

Family

ID=16372797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19733792A Expired - Fee Related JP3156379B2 (en) 1992-07-24 1992-07-24 How to compress print data

Country Status (1)

Country Link
JP (1) JP3156379B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102181150B1 (en) * 2019-01-07 2020-11-20 (주)엠제이케미칼 Multi-function chopsticks having winding module for pasta noodles

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2876987B2 (en) * 1994-03-28 1999-03-31 ブラザー工業株式会社 Printing system
JP2814970B2 (en) * 1995-11-29 1998-10-27 日本電気株式会社 Printer system
KR19980065823A (en) * 1997-01-15 1998-10-15 김광호 How to compress print data
JP4247517B2 (en) 2002-11-15 2009-04-02 富士通テン株式会社 Waveform editing program, waveform editing apparatus, and waveform editing method
JP3743432B2 (en) 2003-03-20 2006-02-08 コニカミノルタビジネステクノロジーズ株式会社 Data processing device
JP3750666B2 (en) 2003-03-24 2006-03-01 コニカミノルタビジネステクノロジーズ株式会社 Data processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102181150B1 (en) * 2019-01-07 2020-11-20 (주)엠제이케미칼 Multi-function chopsticks having winding module for pasta noodles

Also Published As

Publication number Publication date
JPH0644013A (en) 1994-02-18

Similar Documents

Publication Publication Date Title
US6449053B2 (en) Printing system, a printing method, a converting device, a data processing method and a printing device
US6707945B2 (en) Method and apparatus for reducing image data storage and processing based on device supported compression techniques
JP3156379B2 (en) How to compress print data
US20030081840A1 (en) Automatic method of identifying image subregions for reuse during datastream transmission
JP2007310450A (en) High-speed rasterizing system by distributed rip processing
JP3154393B2 (en) Information processing apparatus and information processing method
JP2973260B2 (en) Print information processing device
JP3384223B2 (en) Print processing system
JP2002041258A (en) Printer driver, image processing method, and recording medium
JP3120621B2 (en) Image processing device
JP2003112451A (en) Image processor, image processing method, recording medium and program
JPS6145325A (en) Printer
JP3639616B2 (en) Image processing method, apparatus and system
JP3178578B2 (en) PRINTING APPARATUS AND PRINTING SYSTEM USING THE APPARATUS
JP3514027B2 (en) Recording device, recording system, image transfer system
JPH09218762A (en) Printing processing system
JPH10198530A (en) Printer system
JP2002032285A (en) Image transmitter, image receiver, image processing system, image storage medium, image transmission method, image reception method and image processing method
JPH04323058A (en) Output method and apparatus
JPH09218763A (en) Printing processing system
JPH0348924A (en) Printing device
JPH01171960A (en) Printer apparatus
JP2001216100A (en) Printer
JPH09312772A (en) Printer
JPH1124861A (en) File data printing system, file data printing method and storage medium in which file data printing processing program is stored

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010109

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

Free format text: PAYMENT UNTIL: 20080209

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090209

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees