JPH04185365A - Printer device - Google Patents

Printer device

Info

Publication number
JPH04185365A
JPH04185365A JP2311613A JP31161390A JPH04185365A JP H04185365 A JPH04185365 A JP H04185365A JP 2311613 A JP2311613 A JP 2311613A JP 31161390 A JP31161390 A JP 31161390A JP H04185365 A JPH04185365 A JP H04185365A
Authority
JP
Japan
Prior art keywords
data
print information
compressed
character
information
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.)
Granted
Application number
JP2311613A
Other languages
Japanese (ja)
Other versions
JP2774375B2 (en
Inventor
Masahiko Sakai
昌彦 酒井
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2311613A priority Critical patent/JP2774375B2/en
Publication of JPH04185365A publication Critical patent/JPH04185365A/en
Application granted granted Critical
Publication of JP2774375B2 publication Critical patent/JP2774375B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To ensure that a large amount of print information can be processed efficiently by storing print information sent from a host computer in a storage device in a compressed form, and then decoding the compressed print information after reading it from the storage device, prior to recording said information in a recording medium. CONSTITUTION:If it is interpreted that data entered from a host computer is control information parameters, these parameters are stored in RAM 12. On the other hand, if it is interpreted that entered data is a character code for printing, character code data is compressed. Then, given a single line of character pattern which is output as a continuous character string containing no vector data such as figures, it is calculated that a single line of character code data should be a continuous binary bit pattern of 2112 bits, based on an assumption that 132 characters are output for each single line. Further, it is considered that this bit pattern has a high redundancy, so that a single line of character code data can be compressed on an assumption that it is equal to a binary bit pattern. In this case, said data is processed in a compressed form according to an MH compression method and therefore, complete information restoration during following decoding process is ensured.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はプリンタ装置に関し、特に、ページプリンタ装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a printer device, and particularly to a page printer device.

[従来の技術] 従来のページプリンタ装置におけるページ編集処理の一
例を第3図を参照して説明する。
[Prior Art] An example of page editing processing in a conventional page printer device will be described with reference to FIG.

まず、ホストコンピュータ31から送られた1ペ一ジ分
の印字情報は、インタフェース32を介してページバッ
ファメモリ33に格納される。次にCPU41からの指
令に基づいて、ページバッファメモリ33から印字情報
である文字コードを読み出し文字フォントメモリ34に
格納しである文字フォントを呼び出し、テキスト用ビッ
トマツプメモリ35にビットマツプ展開する。
First, print information for one page sent from the host computer 31 is stored in the page buffer memory 33 via the interface 32. Next, based on a command from the CPU 41, a character code, which is printing information, is read from the page buffer memory 33, stored in the character font memory 34, a certain character font is called, and a bitmap is developed in the text bitmap memory 35.

またフオームオーバレイの指示が印字情報に含まれてい
るなら、フオームオーバレイ用メモリ36にパターン化
した文字や記号などを展開する。
If a form overlay instruction is included in the print information, patterned characters, symbols, etc. are developed in the form overlay memory 36.

さらに、パラレルシリアル変換部37はテキスト用ビッ
トマツプメモリ35及びフォームオーバレイ用ビットマ
ツプメモリ36から各々展開したドツトイメージを読み
出し入力し、読み出したパラレルデータの論理和をとり
、シリアルデータに変換して記録部38へ送る。最後に
、記録部38は入力される画像情報に基づき、感光体に
照射する光ビームを走査し、感光体上に静1!1溜像を
形成する。
Furthermore, the parallel-to-serial converter 37 reads and inputs the developed dot images from the text bitmap memory 35 and the form overlay bitmap memory 36, calculates the logical sum of the read parallel data, converts it into serial data, and records it. Send to Department 38. Finally, the recording unit 38 scans the light beam irradiated onto the photoreceptor based on the input image information, and forms a static 1:1 image on the photoreceptor.

ここでCPU41にはページ編集および印字処理等を実
行する制御プログラムを格納するROM39と、各種プ
ログラムの実行内におけるワークエリアとして用いられ
るRAM40とを有している。また、ページプリンタ装
置の構成要素は互いにCPUバス42を介して情報を交
換する。
Here, the CPU 41 has a ROM 39 that stores a control program for executing page editing, print processing, etc., and a RAM 40 that is used as a work area during the execution of various programs. Additionally, the components of the page printer device exchange information with each other via the CPU bus 42.

[発明が解決しようとする課題] しかしながら上記従来例では、ホストコンピュータから
送られてきた印字情報を、例えば、ASCIIコード等
のような文字コードのままページバッフアメそりに記憶
していたため、1ペ一ジ分の文字コードを収容するため
には大容量のメモリを必要とし、装置のコストが高くな
るという欠点があった。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional example, the print information sent from the host computer was stored in the page buffer as a character code, such as an ASCII code. A large capacity memory is required to accommodate one page's worth of character codes, which has the disadvantage of increasing the cost of the device.

本発明は上記従来例に鑑みてなされたもので、小さい容
量のメモリを用いて効率的に大量のプリント情報を処理
できるプリンタ装置を提供することを目的とする。
The present invention has been made in view of the above conventional example, and an object of the present invention is to provide a printer device that can efficiently process a large amount of print information using a small capacity memory.

[課題を解決するための手段] 上記目的を達成するために本発明のプリンタ装置は以下
の様な構成からなる。即ち、 ホストコンピュータからプリント情報を受信し、前記プ
リント情報を蓄積したあと、記録媒体に前記プリント情
報を記録するプリンタ装置であって、前記ホストコンピ
ュータから送信された前記プリント情報を所定量ごと圧
縮する圧縮手段と、前記圧縮手段によって圧縮された前
記プリント情報を格納する記憶手段と、前記記憶手段か
ら前記圧縮された前記プリント情報を読み出し復号する
復号手段とを有することを特徴とするプリンタ装置を備
える。
[Means for Solving the Problems] In order to achieve the above object, the printer device of the present invention has the following configuration. That is, the printer device receives print information from a host computer, stores the print information, and then records the print information on a recording medium, and compresses the print information transmitted from the host computer into predetermined amounts. A printer device comprising a compression means, a storage means for storing the print information compressed by the compression means, and a decoding means for reading and decoding the compressed print information from the storage means. .

[作用] 以上の構成により本発明は、ホストコンピュータから送
られてきたプリント情報を記憶手段に圧縮して格納し、
記録媒体に記録する前に、前記記憶手段から圧縮された
プリント情報を読み出して復号するよう動作する。
[Operation] With the above configuration, the present invention compresses and stores the print information sent from the host computer in the storage means,
It operates to read compressed print information from the storage means and decode it before recording it on a recording medium.

[実施例] 以下添付図面を参照して本発明の好適な実施例を詳細に
説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明の代表的な実施例であるページプリンタ
装置の構成を示すブロック図である。第1図において、
ページプリンタ装置は、ホストコンピュータ1 (以下
、ホストという)から送られてきた印字情報を受信する
インタフェース2、その印字情報を圧縮する圧縮回路3
、圧縮された印字情報を格納するページバッファメモリ
4(以下、ページバッファという)、圧縮された印字情
報を元のデータに復号化するための復号化回路5、ホス
ト1より入力される文字毎の字体を参照するための文字
フォントを格納しである文字フォントメモリ6、テキス
ト用ビットマツプメモリ7、フオームオーバレイ用ビッ
トマツプメモリ8、テキスト用ビットマツプメモリ7と
、フオームオーバレイ用ビットマツプメモリ8から読み
出したパラレルデータの論理和をとり、シリアルデータ
に変換するパラレルシリアル変換部9、入力されるラス
タデータに基づき感光体に照射される光ビームを走査し
、感光体上に静電潜像を形成する記録部10、及び、ペ
ージプリンタ装置全体を制御するCPU13で構成され
る。
FIG. 1 is a block diagram showing the configuration of a page printer device that is a typical embodiment of the present invention. In Figure 1,
The page printer device includes an interface 2 that receives print information sent from a host computer 1 (hereinafter referred to as the host), and a compression circuit 3 that compresses the print information.
, a page buffer memory 4 (hereinafter referred to as page buffer) that stores compressed print information, a decoding circuit 5 that decodes the compressed print information into original data, and a page buffer memory 4 that stores compressed print information. Reading from character font memory 6 which stores character fonts for referencing fonts, text bitmap memory 7, form overlay bitmap memory 8, text bitmap memory 7, and form overlay bitmap memory 8 A parallel-to-serial conversion unit 9 calculates the logical sum of the parallel data and converts it into serial data, scans the light beam irradiated onto the photoreceptor based on the input raster data, and forms an electrostatic latent image on the photoreceptor. It is composed of a recording section 10 and a CPU 13 that controls the entire page printer device.

ここで、CPU13はページ編集および印字処理等を制
御する制卸プログラムを格納するROM11と主に各種
プログラムの実行中におけるワークエリアとして用いる
RAM12を有している。
Here, the CPU 13 has a ROM 11 that stores a control program for controlling page editing, print processing, etc., and a RAM 12 that is mainly used as a work area during execution of various programs.

また、CPUバス14はページプリンタ装置の構成要素
各々が情報を交換する際の情報伝送路として用いられる
Further, the CPU bus 14 is used as an information transmission path when each component of the page printer device exchanges information.

さらに本実施例の記録部10では、公知の電子写真プロ
セスによって印字が行われるものとし、電子写真プロセ
スに関する説明は省略する。
Further, in the recording unit 10 of this embodiment, it is assumed that printing is performed by a known electrophotographic process, and a description regarding the electrophotographic process will be omitted.

次に上記のような構成をもつページプリンタ装置を用い
て実行されるデータ圧縮処理及びデータ複号化処理各々
について第2図(a)〜(b)に示すフローチャー1・
を用いて説明する。特にここでは、ページプリンタ装置
にプリントされる1行分の文字データ入力ごとにデータ
圧縮処理及びデータ復号処理を行う場合について説明す
る。それでインタフェース2には1行分の文字データ情
報が入力できるものとする。例えば、本実施例のページ
プリンタ装置が1行当たり、最大132文字の印字がで
きるなら、132文字分の文字コードと制御情報(例え
ば、行の終わりやページの終わりを示す制御情報)をイ
ンタフェース2は収容できるものとする。
Next, flowcharts 1 and 2 shown in FIGS. 2(a) and 2(b) are performed for each of the data compression processing and data decoding processing executed using the page printer device having the above configuration.
Explain using. In particular, a case will be described here in which data compression processing and data decoding processing are performed for each line of character data input to be printed on a page printer device. Therefore, it is assumed that one line of character data information can be input into the interface 2. For example, if the page printer device of this embodiment can print a maximum of 132 characters per line, the character codes and control information for 132 characters (for example, control information indicating the end of a line or the end of a page) are sent to the interface 2. shall be able to accommodate.

まず、第2図(a)のステップS1ではホスト1からの
入力データが印字用文字コードもしくは制御情報パラメ
ータのいづれであるかを調べる。
First, in step S1 of FIG. 2(a), it is checked whether the input data from the host 1 is a printing character code or a control information parameter.

ここで入力データが制御情報パラメータであると判断さ
れたなら、処理はステップS2へ進み、そのパラメータ
をRAMI2に格納する。これに対して入力データが印
字用文字コードであると判断されたなら、処理はステッ
プS3へ進み、文字コードデータの圧縮処理を行う。
If it is determined that the input data is a control information parameter, the process proceeds to step S2, and the parameter is stored in RAMI2. On the other hand, if it is determined that the input data is a character code for printing, the process proceeds to step S3, where the character code data is compressed.

さて、本実施例のようなページプリンタ装置が日本語の
ような“かな漢字”出力が可能である場合、通常その文
字コードは1文字当たり2バイトで表現される。ここで
、出力される1行の文字パターンが図形などのベクトル
データを含まない連続する文字列であるとし、1行当た
り132文字出力されるとすると、1行分の文字コード
データは、2バイトメ132文字X8=2112ビツト
、つまり、2112ビツトの連続する2値のビットパタ
ーンと言える。また、このようなビットパターンはビッ
ト“0”やビット“1”が連続する、つまり高い冗長度
を有しているといえるので、1行分の文字コードデータ
を2値のビットパターンとみなして圧縮することが可能
となる。本実施例では、そのデータをファクシミリで用
いられるMH圧縮法に従う圧縮処理を採用する。この方
法は、たとえ、情報を圧縮しても、情報損を伴わないの
で、後の復号化処理において、完全に情報を復元するこ
とができる。
Now, when a page printer device like the present embodiment is capable of outputting "kana-kanji" like Japanese, the character code is usually expressed in 2 bytes per character. Here, if the character pattern of one line to be output is a continuous character string that does not include vector data such as figures, and if 132 characters are output per line, then the character code data for one line is a 2-byte memory. 132 characters x 8 = 2112 bits, that is, it can be said to be a continuous binary bit pattern of 2112 bits. In addition, such a bit pattern has consecutive bits "0" and "1", that is, it can be said to have a high degree of redundancy, so one line of character code data can be regarded as a binary bit pattern. It becomes possible to compress. In this embodiment, the data is compressed according to the MH compression method used in facsimile. This method does not cause information loss even if the information is compressed, so the information can be completely restored in the subsequent decoding process.

次にステップS4では、圧縮後のデータをページバッフ
ァ4に格納する。そして、ステップS5で1ペ一ジ分の
データを受信完了したと判断するまで、ステップ81〜
S5の処理を繰り返す。
Next, in step S4, the compressed data is stored in the page buffer 4. Then, until it is determined in step S5 that data for one page has been received, steps 81 to
Repeat the process of S5.

以上のようにして、文字データの圧縮処理を終了する。In the manner described above, the character data compression process is completed.

次にビットマツプメモリに圧縮された文字データに基づ
いてビットマツプ展開を行うときには、文字データの復
号化処理を行う。まず、第2図(b)のステップS6で
ページバッファ4から1行分の文字情報を読み出す。続
いてステップS7では、ステップS3でMH方式に従っ
て圧縮したデータを復号化する。この復号化処理は公知
の技術に従うものとし説明は省略する。さらにステップ
S8では復号化したデータを元に文字フォントメモリ6
が文字パターンを参照し、ビットマツプメモリに展開す
る。そしてステップS9で1ペ一ジ分のビットマツプ展
開が完了したと判断するまでステップ86〜S9の処理
を繰り返す。
Next, when bitmap expansion is performed based on the character data compressed in the bitmap memory, the character data is decoded. First, in step S6 of FIG. 2(b), one line of character information is read from the page buffer 4. Subsequently, in step S7, the data compressed in step S3 according to the MH method is decoded. This decoding process follows a known technique and will not be described here. Furthermore, in step S8, the character font memory 6 is stored based on the decoded data.
refers to the character pattern and expands it into bitmap memory. The processes of steps 86 to S9 are repeated until it is determined in step S9 that the bitmap development for one page is completed.

以上のようにして文字データの復号化処理を終了する。In this manner, the character data decoding process is completed.

従って本実施例に従うなら、1行分の文字出力単位でホ
ストから送信されてくる文字コードを圧縮化しページバ
ッファに格納するので、ページバッファのメモリ容量を
削減することができる。
Therefore, according to this embodiment, the character code sent from the host is compressed in units of character output for one line and stored in the page buffer, so that the memory capacity of the page buffer can be reduced.

なお上記実施例では、ホストコンピュータからの印字情
報を一行分受信する毎に圧縮処理を行う例について説明
したが、例えば、−ページ分の印字情報を受信後、圧縮
処理を施すことも可能である。
In the above embodiment, an example was explained in which the compression process is performed each time one line of print information is received from the host computer, but it is also possible, for example, to perform the compression process after receiving -pages of print information. .

また上記実施例では、印字情報の圧縮及び復号化処理を
ハードウェアで行う場合について説明したが、同様の処
理をソフトウェアで行うことも可能である。
Further, in the above embodiment, a case has been described in which compression and decoding processing of print information is performed by hardware, but it is also possible to perform similar processing by software.

また上記実施例では、MH圧縮法に従って圧縮処理を行
ったが情報を完全に復号化できる圧縮方式であれば、こ
れに限るものではない。
Further, in the above embodiment, compression processing was performed according to the MH compression method, but the present invention is not limited to this as long as the compression method can completely decode the information.

[発明の効果] 以上説明したように本発明によれば、ホストコンピュー
タから送られてきたプリント情報を圧縮及び復号するこ
とができるので、小さい容量のメモリを用いて多くのプ
リント情報を同時に効率的に処理できる効果がある。
[Effects of the Invention] As explained above, according to the present invention, print information sent from a host computer can be compressed and decoded, so a large amount of print information can be efficiently stored simultaneously using a small memory capacity. There is an effect that can be processed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の代表的な実施例であるページプリンタ
装置の構成を示すブロック図、第2図(a)〜(b)は
文字コード圧縮処理及復号化処理手順を示すフローチャ
ート、そして、第3図は従来例のページプリンタ装置の
構成を示すブロック図である。 図中、1・・・ホストコンピュータ、2・・・インタフ
ェース、3・・・圧縮回路、4・・・ページバッファメ
モリ、5・・・復号化回路、6・・・文字フォントメモ
リ、7・・・テキスト用ビットマツプメモリ、8・・・
フオームオーバレイ用ビットマツプメモリ、9・・・パ
ラレルシリアル変換回路、10・・・記録部、11・・
・ROM、12・・・RAM、13・・・CPLI、1
.4・・・CPUバスである。 特許出願人   キャノン株式会社 代理人 弁理士   大塚康徳(他1名)(0)   
                (b)第2図
FIG. 1 is a block diagram showing the configuration of a page printer device that is a typical embodiment of the present invention, FIGS. 2(a) to 2(b) are flowcharts showing character code compression processing and decoding processing procedures, and FIG. 3 is a block diagram showing the configuration of a conventional page printer device. In the figure, 1... host computer, 2... interface, 3... compression circuit, 4... page buffer memory, 5... decoding circuit, 6... character font memory, 7...・Bitmap memory for text, 8...
Bitmap memory for form overlay, 9... Parallel-serial conversion circuit, 10... Recording section, 11...
・ROM, 12...RAM, 13...CPLI, 1
.. 4...CPU bus. Patent applicant Canon Co., Ltd. agent Patent attorney Yasunori Otsuka (1 other person) (0)
(b) Figure 2

Claims (1)

【特許請求の範囲】 ホストコンピュータからプリント情報を受信し、前記プ
リント情報を蓄積したあと、記録媒体に前記プリント情
報を記録するプリンタ装置であつて、 前記ホストコンピュータから送信された前記プリント情
報を所定量ごと圧縮する圧縮手段と、前記圧縮手段によ
つて圧縮された前記プリント情報を格納する記憶手段と
、 前記記憶手段から前記圧縮された前記プリント情報を読
み出し復号する復号手段とを有することを特徴とするプ
リンタ装置。
[Scope of Claims] A printer device that receives print information from a host computer, stores the print information, and then records the print information on a recording medium, the printer device storing the print information transmitted from the host computer. It is characterized by comprising a compression means for compressing each quantitative amount, a storage means for storing the print information compressed by the compression means, and a decoding means for reading and decoding the compressed print information from the storage means. printer device.
JP2311613A 1990-11-19 1990-11-19 Printer device Expired - Fee Related JP2774375B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2311613A JP2774375B2 (en) 1990-11-19 1990-11-19 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2311613A JP2774375B2 (en) 1990-11-19 1990-11-19 Printer device

Publications (2)

Publication Number Publication Date
JPH04185365A true JPH04185365A (en) 1992-07-02
JP2774375B2 JP2774375B2 (en) 1998-07-09

Family

ID=18019361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2311613A Expired - Fee Related JP2774375B2 (en) 1990-11-19 1990-11-19 Printer device

Country Status (1)

Country Link
JP (1) JP2774375B2 (en)

Also Published As

Publication number Publication date
JP2774375B2 (en) 1998-07-09

Similar Documents

Publication Publication Date Title
US7236636B2 (en) Image compression method, image restoration method, program and apparatus
JPS63185274A (en) Terminal equipment
JPH0753454B2 (en) Text information processing device
USRE37691E1 (en) Output method
US5414530A (en) Image recording method and apparatus
JPH04185365A (en) Printer device
JP2887928B2 (en) Image data output device
JPH04185374A (en) Printer device
JP3218088B2 (en) Printer
JPH04182822A (en) Printer device
JP3683667B2 (en) Printer controller
JP2958138B2 (en) Image processing device
JP3624155B2 (en) Image compression apparatus, image compression method, and information processing system
JPH04282272A (en) Recorder
JP3757297B2 (en) Printing device
JP2001334708A (en) Device for printing
JPH0462080A (en) Printing device
JPS5887622A (en) Controller for printer
JPH08216462A (en) Printer and its control
JPH1027074A (en) Printing system
JPH0825716A (en) Electrophotographic page printer
JPH03112668A (en) Printer
JPS62199458A (en) Apparatus for processing document
JPH01135257A (en) System for transmitting data
JPH10202961A (en) Printer controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees