JP2774375B2 - Printer device - Google Patents

Printer device

Info

Publication number
JP2774375B2
JP2774375B2 JP2311613A JP31161390A JP2774375B2 JP 2774375 B2 JP2774375 B2 JP 2774375B2 JP 2311613 A JP2311613 A JP 2311613A JP 31161390 A JP31161390 A JP 31161390A JP 2774375 B2 JP2774375 B2 JP 2774375B2
Authority
JP
Japan
Prior art keywords
character code
code information
character
information
data
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
JP2311613A
Other languages
Japanese (ja)
Other versions
JPH04185365A (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.)
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

Landscapes

  • Record Information Processing For Printing (AREA)

Description

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

[従来の技術] 従来のページプリンタ装置におけるページ編集処理の
一例を第3図を参照して説明する。
[Prior Art] An example of a page editing process in a conventional page printer 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 print information, is read from the page buffer memory 33, the character font stored in the character font memory 34 is called, and the bit map is developed in the bit map memory 35 for text.

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

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

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

[発明が解決しようとする課題] しかしながら上記従来例では、ホストコンピユータか
ら送られてきた印字情報を、例えば、ASCIIコード等の
ような文字コードのままページバツフアメモリに記憶し
ているため、1ページ分の文字コードを収容するために
は大容量のメモリを必要とし、装置のコストが高くなる
という欠点があつた。
[Problem to be Solved by the Invention] However, in the above conventional example, the print information sent from the host computer is stored in the page buffer memory as a character code such as an ASCII code, for example. In order to store character codes for pages, a large-capacity memory is required, and the cost of the apparatus is high.

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

[課題を解決するための手段] 上記目的を達成するために本発明のプリンタ装置は以
下の様な構成からなる。即ち、 ホストコンピュータから文字コード情報を受信し、前
記文字コード情報を蓄積したあと、記録媒体に前記文字
コード情報に基づく画像を記録するプリンタ装置であっ
て、 前記ホストコンピュータから当該プリンタ装置の記録
する記録単位ずつ前記文字コード情報を受信し、その受
信した文字コード情報を「0」と「1」のビット列にみ
なして,その冗長度に基づいて圧縮する圧縮手段と、 前記圧縮手段によって圧縮された前記文字コード情報
を格納する記憶手段と、 前記記憶手段から前記圧縮された前記文字コード情報
を当該プリンタ装置で記録する記録単位ずつ読み出し復
号する復号手段と、 前記復号手段で復号された前記文字コード情報を対応
するパターンに展開する展開手段とを有することを特徴
とするプリンタ装置を備える。
[Means for Solving the Problems] In order to achieve the above object, a printer device of the present invention has the following configuration. That is, a printer device that receives character code information from a host computer, stores the character code information, and records an image based on the character code information on a recording medium, and records the image from the host computer. A compression unit that receives the character code information for each recording unit, regards the received character code information as a bit string of “0” and “1”, and compresses based on the redundancy; Storage means for storing the character code information; decoding means for reading and decoding the compressed character code information from the storage means for each recording unit to be recorded by the printer device; and the character code decoded by the decoding means Developing means for expanding information into a corresponding pattern. .

[作用] 以上の構成により本発明は、ホストコンピュータから
当該プリンタ装置の記録する記録単位ずつ文字コード情
報を受信し、その受信した文字コード情報を「0」と
「1」のビット列にみなして、その冗長度に基づいて圧
縮した記憶手段に格納し、記録媒体に記録する前に、前
記記憶手段から圧縮された前記文字コード情報を当該プ
リント装置で記録する記録単位ずつ読み出し復号するよ
う動作し、復号された文字コード情報を対応する文字コ
ードに展開する。
[Operation] With the configuration described above, the present invention receives character code information from the host computer for each recording unit recorded by the printer device, regards the received character code information as a bit string of “0” and “1”, Storing in the storage means compressed based on the redundancy, before recording on the recording medium, operates to read and decode the compressed character code information from the storage means for each recording unit to be recorded in the printing apparatus, Expands the decoded character code information into the corresponding character code.

[実施例] 以下添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[Embodiment] Hereinafter, a preferred embodiment 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 a configuration of a page printer apparatus as a typical embodiment of the present invention. In FIG. 1, a page printer includes an interface 2 for receiving print information transmitted from a host computer 1 (hereinafter, referred to as a host), a compression circuit 3 for compressing the print information, and storing the compressed print information. Page buffer memory 4 (hereinafter referred to as a page buffer), a decoding circuit 5 for decoding the compressed print information into original data, and a character font for referring to the font of each character input from the host 1. , A bit map memory 7 for text, a bit map memory 8 for form overlay, a bit map memory 7 for text
And a parallel-to-serial conversion unit 9 that takes the logical sum of the parallel data read from the form overlay bit map memory 8 and converts the logical data into serial data, and scans the light beam irradiated on the photoconductor based on the input raster data. It comprises a recording unit 10 for forming an electrostatic latent image on a photoreceptor, and a CPU 13 for controlling the entire page printer.

ここで、CPU13はページ編集および印字処理等を制御
する制御プログラムを格納するROM11と主に各種プログ
ラムの実行中におけるワークエリアとして用いるRAM12
を有している。また、CPUバス14はページプリンタ装置
の構成要素各々が情報を交換する際の情報伝送路として
用いられる。
Here, the CPU 13 has a ROM 11 for storing a control program for controlling page editing and print processing, and a RAM 12 mainly used as a work area during execution of various programs.
have. The CPU bus 14 is used as an information transmission path when each of the components of the page printer exchanges information.

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

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

まず、第2図(a)のステツプS1ではホスト1からの
入力データが印字用文字コードもしくは制御情報パラメ
ータのいづれであるかを調べる。ここで入力データが制
御情報パラメータであると判断されたなら、処理はステ
ツプS2へ進み、そのパラメータをRAM12に格納する。こ
れに対して入力データが印字用文字コードであると判断
されたなら、処理はステツプS3へ進み、文字コードデー
タの圧縮処理を行う。
First, in step S1 of FIG. 2A, it is checked whether the input data from the host 1 is a print character code or a control information parameter. 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 the RAM 12. 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文字×8=2112ビツト、つま
り、2112ビツトの連続する2値のビツトパターンと言え
る。また、このようなビツトパターンはビツト“0"やビ
ツト“1"が連続する、つまり高い冗長度を有していると
いえるので、1行分の文字コードデータを2値のビツト
ターンとみなして圧縮することが可能となる。本実施例
では、そのデータをフアクシミリで用いられるMH圧縮法
に従う圧縮処理を採用する。この方法は、たとえ、情報
を圧縮しても、情報損を伴わないので、後の復号化処理
において、完全に情報を復元することができる。
When the page printer of this embodiment is capable of outputting "Kana-Kanji" such as Japanese, the character code is usually represented by 2 bytes per character. Here, assuming that the output one-line character pattern is a continuous character string that does not include vector data such as figures, and that 132 characters are output per line, the character code data for one line is 2 bytes. X 132 characters x 8 = 2112 bits, that is, a continuous binary bit pattern of 2112 bits. Also, since such a bit pattern can be said to have continuous bits "0" and bits "1", that is, it has a high degree of redundancy, one line of character code data is regarded as a binary bit turn and compressed. It is possible to do. In this embodiment, the data is subjected to compression processing according to the MH compression method used in facsimile. In this method, even if the information is compressed, no information loss is involved, so that the information can be completely restored in the subsequent decoding process.

次にステツプS4では、圧縮後のデータをページバツフ
ア4に格納する。そして、ステツプS5で1ページ分のデ
ータを受信完了したと判断するまで、ステツプS1〜S5の
処理を繰り返す。
Next, in step S4, the data after compression is stored in the page buffer 4. Then, the processing of steps S1 to S5 is repeated until it is determined in step S5 that the reception of one page of data has been completed.

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

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

以上のようにして文字データの復号化処理を終了す
る。
The decoding process of the character data is completed as described above.

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

なお上記実施例では、ホストコンピユータからの印字
情報を一行分受信する毎に圧縮処理を行う例について説
明したが、例えば、一ページ分の印字情報を受信後、圧
縮処理を施すことも可能である。
In the above-described embodiment, an example has been described in which the compression process is performed each time print data for one line is received from the host computer. For example, the compression process may be performed after print information for one page is received. .

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

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

[発明の効果] 以上説明したように本発明によれば、ホストコンピュ
ータから送られてきた文字コード情報をプリント装置の
記録単位で圧縮及び復号することができるので、小さい
容量のメモリを用いて多くの文字コード情報を同時に効
率的に処理できる効果がある。
[Effects of the Invention] As described above, according to the present invention, character code information sent from a host computer can be compressed and decoded in recording units of a printing apparatus. The character code information can be efficiently processed at the same time.

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

第1図は本発明の代表的な実施例であるページプリンタ
装置の構成を示すブロツク図、 第2図(a)〜(b)は文字コード圧縮処理及復号化処
理手順を示すフローチヤート、そして、 第3図は従来例のページプリンタ装置の構成を示すブロ
ツク図である。 図中、1……ホストコンピユータ、2……インタフエー
ス、3……圧縮回路、4……ページバツフアメモリ、5
……復号化回路、6……文字フオントメモリ、7……テ
キスト用ビツトマツプメモリ、8……フオームオーバレ
イ用ビツトマツプメモリ、9……パラレルシリアル変換
回路、10……記録部、11……ROM、12……RAM、13……CP
U、14……CPUバスである。
FIG. 1 is a block diagram showing a configuration of a page printer apparatus as a typical embodiment of the present invention, and FIGS. 2 (a) and 2 (b) are flowcharts showing a character code compression processing and a decoding processing procedure. FIG. 3 is a block diagram showing the configuration of a conventional page printer. In the figure, 1 ... host computer, 2 ... interface, 3 ... compression circuit, 4 ... page buffer memory, 5
...... Decoding circuit, 6 ... Character font memory, 7 ... Bit map memory for text, 8 ... Bit map memory for form overlay, 9 ... Parallel-serial conversion circuit, 10 ... Recording unit, 11 ... ROM , 12 ... RAM, 13 ... CP
U, 14 ... CPU bus.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 5/30 B41J 21/00 G06F 3/12──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 6 , DB name) B41J 5/30 B41J 21/00 G06F 3/12

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ホストコンピュータから文字コード情報を
受信し、前記文字コード情報を蓄積したあと、記録媒体
に前記文字コード情報に基づく画像を記録するプリンタ
装置であって、 前記ホストコンピュータから当該プリンタ装置の記録す
る記録単位ずつ前記文字コード情報を受信し、その受信
した文字コード情報を「0」と「1」のビット列にみな
して、その冗長度に基づいて圧縮する圧縮手段と、 前記圧縮手段によって圧縮された前記文字コード情報を
格納する記憶手段と、 前記記憶手段から前記圧縮された前記文字コード情報を
当該プリンタ装置で記録する記録単位ずつ読み出し復号
する復号手段と、 前記復号手段で復号された前記文字コード情報を対応す
るパターンに展開する展開手段とを有することを特徴と
するプリンタ装置。
1. A printer device that receives character code information from a host computer, stores the character code information, and then records an image based on the character code information on a recording medium. A compression unit that receives the character code information for each recording unit to be recorded, regards the received character code information as a bit string of “0” and “1”, and compresses the character string based on the redundancy. A storage unit that stores the compressed character code information; a decoding unit that reads and decodes the compressed character code information from the storage unit for each recording unit that is recorded by the printer device; and a decoding unit that decodes the character code information. Developing means for expanding the character code information into a corresponding pattern.
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 JPH04185365A (en) 1992-07-02
JP2774375B2 true 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
JPH04185365A (en) 1992-07-02

Similar Documents

Publication Publication Date Title
US4949188A (en) Image processing apparatus
JPH0753454B2 (en) Text information processing device
USRE37691E1 (en) Output method
JP2774375B2 (en) Printer device
EP0503903A2 (en) Image recording method and apparatus
JP2887928B2 (en) Image data output device
JP2958138B2 (en) Image processing device
JPH04185374A (en) Printer device
JP3123795B2 (en) Encoding device and decoding device using arithmetic code
US6985624B2 (en) Image processing apparatus and its method
JP3555241B2 (en) Printer
JPH04205069A (en) Image processor
JP4058157B2 (en) Image processing method, image forming apparatus, and recording medium
JP2004276537A (en) Image processing apparatus and image processing method
JP3046478B2 (en) Printing apparatus and printing method
JPH04182822A (en) Printer device
JPS61180279A (en) Laser printer
JP2001334708A (en) Device for printing
JP3429402B2 (en) Image forming device
JPH09294210A (en) Image processing unit and image processing method
JP2956826B2 (en) Electronic equipment interconnect system
JP2942118B2 (en) Output control method
JPH1027074A (en) Printing system
JP3121124B2 (en) Pattern generator and control method thereof
JPH06292023A (en) Color picture processor

Legal Events

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