JP3110879B2 - Printing method and apparatus - Google Patents

Printing method and apparatus

Info

Publication number
JP3110879B2
JP3110879B2 JP04198136A JP19813692A JP3110879B2 JP 3110879 B2 JP3110879 B2 JP 3110879B2 JP 04198136 A JP04198136 A JP 04198136A JP 19813692 A JP19813692 A JP 19813692A JP 3110879 B2 JP3110879 B2 JP 3110879B2
Authority
JP
Japan
Prior art keywords
data
print
printing
code data
print code
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
JP04198136A
Other languages
Japanese (ja)
Other versions
JPH0644015A (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 JP04198136A priority Critical patent/JP3110879B2/en
Publication of JPH0644015A publication Critical patent/JPH0644015A/en
Application granted granted Critical
Publication of JP3110879B2 publication Critical patent/JP3110879B2/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 printing method and apparatus for inputting and printing print data from an external device, and more particularly to a printing method and apparatus capable of inputting a page description language for printing.

【0002】[0002]

【従来の技術】従来の印刷装置の制御回路の構成例を図
7に示す。図示しないホストコンピュータ等より送られ
る画像データ等の印刷データは外部インターフェース1
を経由して入力部2に入力される。CPU3は、常時こ
の入力部2を監視しており、入力部2に印刷データが入
力されると、CPU3は直ちにそのデータを入力部2か
ら呼び出しワーキングRAM4に記憶する。フォントメ
モリ5は文字コード等に対応して、その文字のパターン
情報等を記憶している。従って、CPU3はワーキング
RAM4に記憶された印刷データをフォントメモリ5を
参照して実際に印刷するイメージデータに展開してFI
FOメモリ6に書き込む。このFIFOメモリ6に書込
まれたイメージデータは印字ヘッド制御部7に出力さ
れ、このデータに基づいて印字ヘッド駆動信号8が出力
される。この印字ヘッド駆動信号8によって図示しない
記録ヘッドが制御されて記録紙等への印刷が行なわれ
る。
2. Description of the Related Art FIG. 7 shows a configuration example of a control circuit of a conventional printing apparatus. Print data such as image data sent from a host computer or the like (not shown)
Is input to the input unit 2 via the. The CPU 3 constantly monitors the input unit 2. When print data is input to the input unit 2, the CPU 3 immediately retrieves the data from the input unit 2 and stores the data in the working RAM 4. The font memory 5 stores pattern information of the character corresponding to the character code and the like. Therefore, the CPU 3 expands the print data stored in the working RAM 4 into image data to be actually printed with reference to the font memory 5 and performs the FI processing.
Write to the FO memory 6. The image data written in the FIFO memory 6 is output to the print head control unit 7, and a print head drive signal 8 is output based on this data. The recording head (not shown) is controlled by the print head drive signal 8 to perform printing on recording paper or the like.

【0003】10は操作パネルで、オペレータがプリン
タの状態設定を直接入力する際に使用する。11は操作
パネルインタフェース部で、操作パネル10よりの信号
をデータバス12やアドレスバス13に出力している。
12,13はそれぞれデータバス、アドレスバスで、C
PU3とメモリなどの各部を接続している。このプリン
タによる印刷動作に関わる一連の動作は、プログラムR
OM9に書き込まれている制御プログラムに従ってCP
U3が各種制御信号を出力することにより達成される。
このように従来のシリアル式のドットプリンタでは、入
力された印刷コードは順次ドットパターンに変換されて
ライン単位に印刷されるため、ページ単位にイメージを
展開するためのビットマップメモリは設けられていない
のが普通である。
An operation panel 10 is used when an operator directly inputs printer status settings. An operation panel interface unit 11 outputs a signal from the operation panel 10 to a data bus 12 or an address bus 13.
Reference numerals 12 and 13 denote a data bus and an address bus, respectively.
The PU3 is connected to each unit such as a memory. A series of operations related to the printing operation by the printer is performed by a program R
CP according to the control program written in OM9
This is achieved by U3 outputting various control signals.
As described above, in the conventional serial dot printer, an input print code is sequentially converted into a dot pattern and printed in line units, and therefore, a bitmap memory for developing an image in page units is not provided. Is common.

【0004】[0004]

【発明が解決しようとする課題】前述したような従来の
ドットプリンタでは、大量のメモリ容量を必要とする1
ページ分のビットマップメモリを内蔵していないため、
極めて廉価にシステムを構築できる。しかしその一方、
ページプリンタ等では一般的であるページ記述言語に対
応することができなかった。これはドットプリンタに、
1ページ分のビットマップメモリを持たせることにより
解決できるが、このような1ページ分のイメージデータ
を記憶するビットマップメモリを設けると、その回路構
成が高価なものとなってしまい、シリアル式のドットプ
リンタの利点である廉価なプリンタシステムが構築でき
なくなってしまう。
A conventional dot printer as described above requires a large amount of memory capacity.
Because it does not have a bitmap memory for the page,
The system can be built at very low cost. But on the other hand,
A page printer or the like cannot support a general page description language. This is a dot printer,
This problem can be solved by providing a bit map memory for one page. However, if such a bit map memory for storing image data for one page is provided, the circuit configuration becomes expensive and a serial type The inexpensive printer system which is an advantage of the dot printer cannot be constructed.

【0005】本発明は上記従来例に鑑みてなされたもの
で、印刷コードデータに基づく印刷イメージデータを圧
縮した圧縮データを、その印刷コードデータを記憶して
いるアドレス情報とともに記憶しておき、印刷位置に対
応して圧縮データを走査することにより得られるアドレ
ス情報に基づいて印刷コードデータを読み出し、その印
刷コードデータを印刷イメージデータに変換して印刷す
る印刷装置及び方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned prior art, and stores compressed data obtained by compressing print image data based on print code data, together with address information storing the print code data. It is an object of the present invention to provide a printing apparatus and method for reading print code data based on address information obtained by scanning compressed data corresponding to a position, converting the print code data into print image data, and printing the print code data. I do.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明の印刷装置は以下のような構成を備える。即
ち、外部機器よりの印刷コードデータを入力して印刷す
る印刷装置であって、印刷コードデータを入力する入力
手段と、前記入力手段により入力された印刷コードデー
タを格納する格納手段と、 前記印刷コードデータに基づ
く印刷イメージデータを圧縮した圧縮データを生成する
生成手段と、 前記生成手段により生成された前記圧縮デ
ータを、前記印刷コードデータの前記格納手段における
アドレス情報とともに記憶する記憶手段と、印刷イメー
ジデータに基づいて印刷する印刷手段と、前記印刷手段
による印刷位置に対応して前記記憶手段に記憶された前
記圧縮データを走査することにより得られる前記アドレ
ス情報に基づいて、前記格納手段から前記印刷コードデ
ータを読み出して前記印刷イメージデータに変換する変
換手段と、前記印刷手段による印刷に応じて、前記記憶
手段に記憶された印刷コードデータのアドレス情報を参
照して前記格納手段より印刷コードデータを読み出し、
前記変換手段によりその読み出した印刷コードデータを
印刷イメージデータに変換して前記印刷手段に印刷させ
る手順を、1ページ分の印刷コードデータについて処理
すべく、繰り返し遂行する制御手段と、を有することを
特徴とする。
In order to achieve the above object, a printing apparatus according to the present invention has the following arrangement. That is, a printing apparatus for inputting and printing print code data from an external device, comprising: input means for inputting print code data; and print code data input by the input means.
Storage means for storing data, based on the print code data.
Generating compressed data by compressing print image data
Generating means; and the compressed data generated by the generating means.
Data storing the print code data together with address information in the storage unit, a printing unit printing based on print image data, and the printing unit.
Before being stored in the storage means corresponding to the printing position by
The address obtained by scanning the compressed data.
The print code data from the storage means based on the
Conversion means for converting the print image data by reading the chromatography data, in accordance with the printing by the printing means, the print code data from the reference to the storage means the address information of the print code data stored in said storage means reading,
Control means for repeatedly performing the procedure of converting the read print code data into print image data by the conversion means and causing the printing means to print the print code data for one page. Features.

【0007】又上記目的を達成するために本発明の印刷
方法は以下のような工程を備える。即ち、外部機器より
の印刷コードデータを入力して印刷する印刷方法であっ
て、印刷コードデータを入力してバッファに格納する格
納工程と、 前記バッファに格納された印刷コードデータ
に基づく印刷イメージデータを圧縮した圧縮データを生
成する生成工程と、 前記生成工程で生成された前記圧縮
データを、前記バッファに格納された前記印刷コードデ
ータのアドレス情報とともにメモリに記憶する記憶工程
と、 印刷部による印刷位置に対応して前記メモリに記憶
された前記圧縮データを走査することにより得られる前
記アドレス情報に基づいて、前記バッファから前記印刷
コードデータを読み出して印刷イメージデータに変換す
る変換工程と、 前記変換工程で変換された前記印刷イメ
ージデータに基づいて前記印刷部により印刷させる印刷
工程と、前記印刷部による印刷に応じて、前記メモリに
記憶されている印刷コードデータのアドレス情報を参照
して前記バッファより印刷コードデータを読み出し、そ
の読み出した印刷コードデータを印刷イメージデータに
変換して印刷させる手順を、1ページ分の印刷コード
ータについて処理すべく、繰り返し遂行する工程と、を
有することを特徴とする。
In order to achieve the above object, the printing method of the present invention comprises the following steps. That is, this is a printing method in which print code data is input from an external device and printed, and the print code data is input and stored in a buffer.
Delivery process and print code data stored in the buffer
Generates compressed data obtained by compressing print image data based on
Generating step, and the compression generated in the generating step
The data is stored in the print code data stored in the buffer.
Storage process for storing in a memory together with data address information
And stored in the memory corresponding to the printing position by the printing unit.
Before being obtained by scanning the compressed data
The printing from the buffer based on the address information.
Reads code data and converts it to print image data
Conversion step, and the printing image converted in the conversion step.
A printing step for printing by the printing unit based on the print data, and, in accordance with printing by the printing unit , print code data from the buffer with reference to address information of print code data stored in the memory. reads, the procedure for printing by converting the print code data thus read out to the print image data, to process the print code de <br/> over data of one page, that has a repetitive performing step, the Features.

【0008】[0008]

【作用】以上の構成において、印刷コードデータを入力
して格納手段に格納し、その印刷コードデータに基づく
印刷イメージデータを圧縮した圧縮データを生成して、
それら印刷コードデータの格納手段におけるアドレス情
報とともに記憶する。そして印刷イメージデータに基づ
いて印刷する印刷手段の印刷位置に対応して、記憶され
た圧縮データを走査することにより得られるアドレス情
報に基づいて、格納手段から印刷コードデータを読み出
して印刷イメージデータに変換し、その印刷イメージデ
ータに基づいて印刷手段により印刷させる。更に、その
印刷に応じて、記憶されている印刷コードデータのアド
レス情報を参照して印刷コードデータを読み出し、その
読み出した印刷コードデータを印刷イメージデータに変
換して印刷手段に印刷させる手順を、1ページ分の印刷
コードデータについて処理すべく繰り返し遂行するよう
に動作する。
In the above construction, print code data is inputted and stored in the storage means, and compressed data is generated by compressing print image data based on the print code data.
The print code data is stored together with the address information in the storage means. Then, based on the address information obtained by scanning the stored compressed data, the print code data is read from the storage means corresponding to the printing position of the printing means for printing based on the print image data, and converted into print image data. The print data is converted and printed by the printing unit based on the print image data. Further, in accordance with the printing, a procedure for reading the print code data with reference to the address information of the stored print code data, converting the read print code data into print image data, and causing the printing means to print the print code data. The operation is performed so as to be repeatedly performed to process the print code data for one page.

【0009】[0009]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0010】図1は本発明の第1実施例のプリンタ装置
の概略構成を示すブロック図で、図7に示す従来のプリ
ンタ装置と共通する部分は同じ番号で示し、それらの説
明を省略する。
FIG. 1 is a block diagram showing a schematic configuration of a printer according to a first embodiment of the present invention. Parts common to those of the conventional printer shown in FIG. 7 are denoted by the same reference numerals, and description thereof is omitted.

【0011】図1において、14はデータバッファで、
入力部2を介して入力されたコードデータ(文字コード
等)を1ページ分保存する。15は圧縮メモリで、デー
タバッファ14におけるコードデータのアドレスを保存
する。この圧縮メモリ15は本来のビットマップメモリ
に対して大幅な縮小率を持っているものとする。16は
ビットマップメモリで、データを印字する際、コードデ
ータをビットマップに展開するためのメモリである。な
お、このビットマップメモリ16は、本実施例において
は1ページ分の印刷イメージの全てを表現する容量は有
していない。3aはこの実施例のプリンタ装置全体を制
御するためのCPU、9aはCPU3aの制御プログラ
ムや各種データを記憶しているROMである。
In FIG. 1, reference numeral 14 denotes a data buffer.
The code data (character code or the like) input via the input unit 2 is stored for one page. A compression memory 15 stores the address of the code data in the data buffer 14. It is assumed that the compression memory 15 has a significant reduction ratio with respect to the original bitmap memory. Reference numeral 16 denotes a bit map memory for expanding code data into a bit map when printing data. In this embodiment, the bitmap memory 16 does not have a capacity for expressing all the print images for one page. Reference numeral 3a denotes a CPU for controlling the entire printer of this embodiment, and 9a denotes a ROM that stores a control program of the CPU 3a and various data.

【0012】次に図2のフローチャートを参照して、本
実施例のプリンタ装置の動作を詳しく説明する。
Next, the operation of the printer of this embodiment will be described in detail with reference to the flowchart of FIG.

【0013】まず、ステップS11で、図示しないホス
トコンピュータ等の外部機器より送られてくるコードデ
ータ(印刷データ)は、外部インターフェース1を経由
して入力部2に入力される。こうして入力されたコード
データはデータバッファ14に蓄えられる(ステップS
12)。CPU3aは常にデータバッファ14を監視し
ており、ステップS13で、データバッファ14にペー
ジの終了を示す印字命令が入力されるかどうかを調べ
る。
First, in step S11, code data (print data) sent from an external device such as a host computer (not shown) is input to the input unit 2 via the external interface 1. The code data thus input is stored in the data buffer 14 (step S
12). The CPU 3a constantly monitors the data buffer 14, and checks in step S13 whether a print command indicating the end of a page is input to the data buffer 14.

【0014】ステップS13で、データバッファ14に
1ページ分の印字コードが蓄えられ、印字処理の開始が
指示されるとステップS14に進み、CPU3aはデー
タバッファ14に蓄えられたデータを、圧縮メモリ15
の解像度に対応させて展開する。こうして圧縮メモリ1
5には、データバッファ14に蓄えられているコードデ
ータのアドレスが格納される。この処理はステップS1
4からステップS16の処理に相当している。
In step S13, a print code for one page is stored in the data buffer 14, and when the start of the printing process is instructed, the process proceeds to step S14, where the CPU 3a stores the data stored in the data buffer 14 in the compression memory 15
Expands to correspond to the resolution of. Thus, the compressed memory 1
5 stores the address of the code data stored in the data buffer 14. This processing is performed in step S1.
4 to step S16.

【0015】これらの処理ステップS14〜ステップS
16について、図3及び図4を参照して更に詳しく説明
する。
These processing steps S14 to S
16 will be described in more detail with reference to FIGS.

【0016】図3及び図4は圧縮メモリ15とデータバ
ッファ14との関係を説明するための図である。
FIGS. 3 and 4 are diagrams for explaining the relationship between the compression memory 15 and the data buffer 14. FIG.

【0017】図中、21はビットマップに展開したとき
のイメージデータのサイズを表わしている。22は圧縮
メモリ15の1ブロックを表わしており、本実施例では
8×8ドットのイメージデータを圧縮メモリ15の1ブ
ロックに対応させている。23〜25は圧縮メモリ15
の各ワードに展開されたデータ例を示し、24及び25
はワード23に引き続いてリンクされる次のワードデー
タを表わしている。図4はデータバッファ14に記憶さ
れたデータ例を示している。
In the figure, reference numeral 21 denotes the size of the image data when it is developed into a bit map. Reference numeral 22 denotes one block of the compression memory 15, and in this embodiment, 8 × 8 dot image data corresponds to one block of the compression memory 15. 23 to 25 are compression memories 15
Shows an example of data expanded to each word of
Represents the next word data linked following the word 23. FIG. 4 shows an example of data stored in the data buffer 14.

【0018】圧縮メモリ15へのデータの書き込みは次
のように行なわれる。図2のステップS14にて、CP
U3aは、圧縮メモリ15の1ブロックに対応させて、
ビットマップの解像度を8分の1としてコードデータを
圧縮メモリ15に展開する。次に展開したコードデータ
のアドレス(C1)を、圧縮メモリ15のワード23の
アドレスエリアに書き込む。このワード23の次のデー
タのアドレスエリアには最初は「ENDマーク」が書き
込まれる。次に別のコードデータを展開した時に圧縮メ
モリ15の1ブロックに相当するコードが展開され、C
PU3aはワード23の次のデータのアドレスエリア
に、空いている他のワード24の先頭アドレス(D1)
を格納する。そして、このワード24に新たなコードデ
ータのアドレス(C2)を格納するとともに、このワー
ド24の次のデータのアドレスエリアに「ENDマー
ク」を書き込む。
The writing of data to the compression memory 15 is performed as follows. In step S14 of FIG.
U3a corresponds to one block of the compression memory 15,
The code data is expanded in the compression memory 15 with the bitmap resolution set to 1/8. Next, the address (C1) of the expanded code data is written to the address area of the word 23 of the compression memory 15. An "END mark" is first written in the address area of the data following the word 23. Next, when another code data is expanded, a code corresponding to one block of the compression memory 15 is expanded, and C
The PU 3a stores the head address (D1) of another vacant word 24 in the address area of the data following the word 23.
Is stored. Then, the address (C2) of the new code data is stored in the word 24, and the "END mark" is written in the address area of the data next to the word 24.

【0019】図3は、このようにして3つのコードデー
タが圧縮メモリ15の1ブロックに書き込まれたことを
示している。これは図2のステップS15に相当する。
この作業を1ページ分のコードデータに対して行なう。
FIG. 3 shows that three pieces of code data are written in one block of the compression memory 15 in this manner. This corresponds to step S15 in FIG.
This operation is performed for one page of code data.

【0020】次に再び図2に戻り、1ページ分のコード
データの圧縮メモリ15に対する処理が終了するとステ
ップS17に進み、CPU3aは圧縮メモリ15のデー
タを印字ヘッドが用紙に印刷する順に走査する。ここで
圧縮メモリ15にデータが書き込まれている場合、デー
タバッファ14から対応するコードデータを取り出す
(ステップS18)。こうして取り出されたコードデー
タはCPU3aによって再度ビットマップに展開され、
ビットマップメモリ16に格納される(ステップS1
9)。この時の解像度はビットマップメモリ16の解像
度に対応する。
Returning to FIG. 2, when the processing of the code data for one page to the compression memory 15 is completed, the process proceeds to step S17, and the CPU 3a scans the data in the compression memory 15 in the order in which the print head prints on the paper. If data has been written to the compression memory 15, the corresponding code data is extracted from the data buffer 14 (step S18). The code data extracted in this way is expanded again into a bitmap by the CPU 3a,
It is stored in the bitmap memory 16 (step S1).
9). The resolution at this time corresponds to the resolution of the bitmap memory 16.

【0021】次にステップS20に進み、ビットマップ
メモリ16の各ビットに対して一通りデータの展開が終
わると、ビットマップメモリ16のデータはFIFOメ
モリ6に送られる。こうしてFIFOメモリ6に送られ
たデータは印字ヘッド制御部7に送られ、記録紙等の記
録媒体に印刷される。次にステップS21に進み、ビッ
トマップメモリ16の内容をクリアし、圧縮メモリ15
の次の領域に対して同じ処理を1ページのデータが終わ
るまで繰り返す。
Next, the process proceeds to step S 20, and when the data has been completely developed for each bit of the bit map memory 16, the data of the bit map memory 16 is sent to the FIFO memory 6. The data sent to the FIFO memory 6 in this way is sent to the print head control unit 7 and printed on a recording medium such as recording paper. Next, the process proceeds to step S21, where the contents of the bitmap memory 16 are cleared,
The same processing is repeated for the next area until the data of one page is completed.

【0022】図5は、圧縮メモリ15内のブロック22
とビットマップメモリ16との関係を示す図である。
FIG. 5 shows a block 22 in the compression memory 15.
FIG. 4 is a diagram showing a relationship between the bitmap memory 16 and the memory.

【0023】この図において、ビットマップメモリ16
は縦方向に8ビット、横方向は印字ヘッドのドット数と
する。図中ビットマップメモリ16の縦横8ドットの領
域はハッチングされている。これは圧縮メモリ15の1
ブロックが含む領域を表している。
In this figure, a bit map memory 16
Is 8 bits in the vertical direction and the number of dots of the print head in the horizontal direction. In the figure, an area of 8 dots vertically and horizontally in the bit map memory 16 is hatched. This is one of the compression memories 15
This represents the area that the block contains.

【0024】以下添付図面を参照して、本発明の第2実
施例を説明する。
Hereinafter, a second embodiment of the present invention will be described with reference to the accompanying drawings.

【0025】図6は本発明の第2実施例のプリンタ装置
の概略構成を示すブロック図で、前述の図1と共通する
部分は同じ番号で示し、それらの説明を省略する。
FIG. 6 is a block diagram showing a schematic configuration of a printer according to a second embodiment of the present invention. Portions common to those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted.

【0026】この第2実施例と前述の第1実施例の構成
とを比較すると、データバッファ14はデータ入力制御
回路26を介して圧縮メモリ15に接続されている。ま
たデータバッファ14と圧縮メモリ15は、データ入力
制御回路26にてCPU3bとは独立して制御されてい
る。この第2実施例において、データ入力制御回路26
はデータバッファ14と圧縮メモリ15の制御、さらに
コードデータを圧縮メモリ15に展開するように動作し
ている。
Comparing the configuration of the second embodiment with that of the first embodiment, the data buffer 14 is connected to the compression memory 15 via the data input control circuit 26. The data buffer 14 and the compression memory 15 are controlled by the data input control circuit 26 independently of the CPU 3b. In the second embodiment, the data input control circuit 26
Operates to control the data buffer 14 and the compression memory 15 and to expand the code data in the compression memory 15.

【0027】また、ビットマップメモリ16は、印字ヘ
ッド制御部7に直接印字データを出力しており、図1に
示すFIFOメモリ6を介さずに印字ヘッド制御部7に
接続されている。
The bit map memory 16 outputs print data directly to the print head control unit 7, and is connected to the print head control unit 7 without going through the FIFO memory 6 shown in FIG.

【0028】この第2実施例の構成において、コードデ
ータが入力されるとデータ入力制御回路26はCPU3
bの動作と関係なくデータバッファ14のデータを圧縮
メモリ15に展開する。CPU3bはデータ入力制御回
路26が1ページ分のコードデータを圧縮メモリ15に
展開したことを確認した後、圧縮メモリ15のデータを
走査し、データバッファ14の該当するコードデータを
ビットマップメモリ16に再度展開する。ここで、ビッ
トマップメモリ16は直接印字ヘッド制御部に接続され
ており、ビットマップ16にデータが書き込まれると同
時に印字ヘッド制御部に出力される。
In the configuration of the second embodiment, when code data is input, the data input control circuit 26
The data in the data buffer 14 is expanded in the compression memory 15 regardless of the operation of b. After confirming that the data input control circuit 26 has expanded the code data for one page in the compression memory 15, the CPU 3b scans the data in the compression memory 15 and stores the corresponding code data in the data buffer 14 into the bit map memory 16. Deploy again. Here, the bit map memory 16 is directly connected to the print head controller, and data is written to the bit map 16 and output to the print head controller at the same time.

【0029】以上説明したように本実施例によれば、1
ページ分のビットマップメモリを持たない低価格なプリ
ンタ装置であっても、ページ記述言語による印刷ができ
る効果がある。
As described above, according to this embodiment, 1
There is an effect that printing can be performed in a page description language even with a low-cost printer device that does not have a bitmap memory for pages.

【0030】尚、本実施例のプリンタ装置としては、例
えば以下で説明するインクジェットプリンタ等にであっ
ても良い。 <装置本体の概略説明>図8は、本発明が適用できるイ
ンクジェット記録装置IJRAの概観図である。同図に
おいて、駆動モータ5013の正逆回転に連動して駆動
力伝達ギア5011,5009を介して回転するリード
スクリュー5005の螺旋溝5004に対して係合する
キャリッジHCはピン(不図示)を有し、矢印a,b方
向に往復移動される。このキャリッジHCには、インク
ジェットカートリッジIJCが搭載されている。500
2は紙押え板であり、キャリッジの移動方向に亙って紙
をプラテン5000に対して押圧する。5007,50
08はフォトカプラで、キャリッジのレバー5006の
この域での存在を確認して、モータ5013の回転方向
切り換え等を行うためのホームポジション検知手段であ
る。5016は記録ヘッドの前面をキャップするキャッ
プ部材5022を支持する部材で、5015はこのキャ
ップ内を吸引する吸引手段で、キャップ内開口5023
を介して記録ヘッドの吸引回復を行う。5017はクリ
ーニングブレードで、5019はこのブレードを前後方
向に移動可能にする部材であり、本体支持板5018に
これらが支持されている。ブレードは、この形態でなく
周知のクリーニングブレードが本例に適用できることは
言うまでもない。又、5012は、吸引回復の吸引を開
始するためのレバーで、キャリッジと係合するカム50
20の移動に伴って移動し、駆動モータからの駆動力が
クラッチ切り換え等の公知の伝達手段で移動制御され
る。
The printer of the present embodiment may be, for example, an ink jet printer described below. <Schematic Description of Apparatus Main Body> FIG. 8 is a schematic view of an ink jet recording apparatus IJRA to which the present invention can be applied. In the figure, the carriage HC that engages with the spiral groove 5004 of the lead screw 5005 that rotates via the driving force transmission gears 5011 and 5009 in conjunction with the forward and reverse rotation of the drive motor 5013 has a pin (not shown). Then, it is reciprocated in the directions of arrows a and b. An ink jet cartridge IJC is mounted on the carriage HC. 500
Reference numeral 2 denotes a paper pressing plate, which presses the paper against the platen 5000 in the moving direction of the carriage. 5007,50
Reference numeral 08 denotes a home position detecting means for confirming the presence of the carriage lever 5006 in this area and switching the rotation direction of the motor 5013. Reference numeral 5016 denotes a member for supporting a cap member 5022 for capping the front surface of the recording head. Reference numeral 5015 denotes suction means for sucking the inside of the cap.
, The suction recovery of the recording head is performed. Reference numeral 5017 denotes a cleaning blade. Reference numeral 5019 denotes a member which allows the blade to move in the front-rear direction. These members are supported by a main body support plate 5018. It goes without saying that the blade is not limited to this form and a known cleaning blade can be applied to this example. Reference numeral 5012 denotes a lever for starting suction for suction recovery.
It moves with the movement of 20, and the driving force from the drive motor is controlled by known transmission means such as clutch switching.

【0031】これらのキャッピング、クリーニング、吸
引回復は、キャリッジがホームポジション側の領域に来
た時にリードスクリュー5005の作用によってそれら
の対応位置で所望の処理が行えるように構成されている
が、周知のタイミングで所望の作動を行うようにすれ
ば、本例にはいずれも適用できる。 <制御構成の説明>次に、上述した装置の記録制御を実
行するための制御構成について、図9に示すブロック図
を参照して説明する。制御回路を示す同図において、1
700は記録信号を入力するインターフェース、170
1はMPU、1702はMPU1701が実行する制御
プログラムを格納するプログラムROM、1703は各
種データ(上記記録信号やヘッドに供給される記録デー
タ等)を保存しておくダイナミック型のRAMである。
1704は記録ヘッド1708に対する記録データの供
給制御を行うゲートアレイであり、インターフェース1
700、MPU1701、RAM1703間のデータ転
送制御も行う。1710は記録ヘッド1708を搬送す
るためのキャリアモータ、1709は記録紙搬送のため
の搬送モータである。1705はヘッドを駆動するヘッ
ドドライバ、1706,1707はそれぞれ搬送モータ
1709、キャリアモータ1710を駆動するためのモ
ータドライバである。
The capping, cleaning, and suction recovery are configured so that desired operations can be performed at the corresponding positions by the action of the lead screw 5005 when the carriage comes to the area on the home position side. If a desired operation is performed at a timing, any of the examples can be applied. <Description of Control Configuration> Next, a control configuration for executing the recording control of the above-described apparatus will be described with reference to a block diagram shown in FIG. In the figure showing the control circuit, 1
700 is an interface for inputting a recording signal, 170
Reference numeral 1 denotes an MPU; 1702, a program ROM for storing a control program executed by the MPU 1701; 1703, a dynamic RAM for storing various data (such as the print signal and print data supplied to the head).
Reference numeral 1704 denotes a gate array which controls supply of print data to the print head 1708.
It also controls data transfer between the MPU 700, MPU 1701, and RAM 1703. Reference numeral 1710 denotes a carrier motor for transporting the recording head 1708, and reference numeral 1709 denotes a transport motor for transporting the recording paper. Reference numeral 1705 denotes a head driver for driving the head, and reference numerals 1706 and 1707 denote motor drivers for driving the transport motor 1709 and the carrier motor 1710, respectively.

【0032】上記制御構成の動作を説明すると、インタ
ーフェース1700に記録信号が入るとゲートアレイ1
704とMPU1701との間で記録信号がプリント用
の記録データに変換される。そして、モータドライバ1
706、1707が駆動されると共に、ヘッドドライバ
1705に送られた記録データに従って記録ヘッドが駆
動され、印字が行われる。
The operation of the above control configuration will be described. When a recording signal is input to the interface 1700, the gate array 1
The recording signal is converted into recording data for printing between the 704 and the MPU 1701. And the motor driver 1
The printheads 706 and 1707 are driven, and the printhead is driven according to the print data sent to the head driver 1705 to perform printing.

【0033】以上のようなインクジェットプリンタの制
御構成に、本発明の構成要素を組み込むことが可能であ
り、本発明はレーザビームプリンタに限らず、上記イン
クジェットプリンタ等にも適用できることは明らかであ
る。
It is apparent that the components of the present invention can be incorporated in the above-described control structure of the ink jet printer, and that the present invention can be applied not only to the laser beam printer but also to the above ink jet printer and the like.

【0034】尚、本発明は複数の機器から構成されるシ
ステムに適用しても、1つの機器からなる装置に適用し
ても良い。また、本発明はシステム或は装置に、本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Needless to say, the present invention can also be applied to a case where the present invention is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0035】[0035]

【発明の効果】以上説明したように本発明によれば、印
刷コードデータに基づく印刷イメージデータを圧縮した
圧縮データを、その印刷コードデータを記憶しているア
ドレス情報とともに記憶しておき、印刷位置に対応し
て、記憶されている圧縮データを走査することにより得
られるアドレス情報に基づいて印刷コードデータを読み
出し、その印刷コードデータを印刷イメージデータに変
換して印刷するため、1ページ分の印刷イメージデータ
を展開するメモリを備えなくても、印刷コードデータを
入力して印刷イメージデータに変換して印刷できるとい
う効果がある。
As described above, according to the present invention, the compressed data obtained by compressing the print image data based on the print code data is stored together with the address information storing the print code data, and the printing position is stored. In response to the above, print code data is read out based on address information obtained by scanning the stored compressed data, and the print code data is converted into print image data and printed, so that printing of one page is performed. Even if a memory for expanding image data is not provided, there is an effect that print code data can be input and converted into print image data for printing.

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

【図1】本発明の第1実施例のプリンタ装置の制御部の
概略構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a control unit of a printer device according to a first embodiment of the present invention.

【図2】本発明の第1実施例のプリンタ装置の処理を示
すフローチャートである。
FIG. 2 is a flowchart illustrating processing of the printer according to the first embodiment of the present invention.

【図3】第1実施例の圧縮メモリの概念を説明するため
の図である。
FIG. 3 is a diagram for explaining the concept of a compression memory according to the first embodiment.

【図4】データバッファのデータ構成例を示す図であ
る。
FIG. 4 is a diagram illustrating a data configuration example of a data buffer.

【図5】第1実施例の圧縮メモリの1ブロックとビット
マップメモリの対応を説明するための図である。
FIG. 5 is a diagram for explaining the correspondence between one block of a compression memory and a bitmap memory according to the first embodiment;

【図6】本発明の第2実施例のプリンタ装置の制御部の
概略構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a schematic configuration of a control unit of a printer device according to a second embodiment of the present invention.

【図7】従来例のプリンタ装置の制御部の構成を示すブ
ロック図である。
FIG. 7 is a block diagram illustrating a configuration of a control unit of a conventional printer device.

【図8】本発明が適用できるインクジェット記録装置I
JRAの概観図である。
FIG. 8 is an inkjet recording apparatus I to which the present invention can be applied.
FIG. 2 is a schematic view of JRA.

【図9】図8のインクジェット記録装置における記録制
御を実行するための制御構成を示すブロック図である。
FIG. 9 is a block diagram illustrating a control configuration for executing printing control in the inkjet printing apparatus of FIG. 8;

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

2 コードデータ入力部 3,3a,3b CPU 4 ワーキングRAM 5 フォントメモリ 6 FIFOメモリ 7 印字ヘッド制御部 9,9a,9b プログラムROM 10 操作パネル 14 データバッファ 15 圧縮メモリ 16 ビットマップメモリ 26 データ入力制御回路 2 Code data input unit 3, 3a, 3b CPU 4 Working RAM 5 Font memory 6 FIFO memory 7 Print head control unit 9, 9a, 9b Program ROM 10 Operation panel 14 Data buffer 15 Compression memory 16 Bit map memory 26 Data input control circuit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部機器よりの印刷コードデータを入力
して印刷する印刷装置であって、 印刷コードデータを入力する入力手段と、前記入力手段により入力された印刷コードデータを格納
する格納手段と、 前記印刷コードデータに基づく印刷イメージデータを圧
縮した圧縮データを生成する生成手段と、 前記生成手段により生成された前記圧縮データを、前記
印刷コードデータの前記格納手段における アドレス情報
とともに記憶する記憶手段と、 印刷イメージデータに基づいて印刷する印刷手段と、前記印刷手段による印刷位置に対応して前記記憶手段に
記憶された前記圧縮データを走査することにより得られ
る前記アドレス情報に基づいて、前記格納手段から前記
印刷コードデータを読み出して前記 印刷イメージデータ
に変換する変換手段と、 前記印刷手段による印刷に応じて、前記記憶手段に記憶
された印刷コードデータのアドレス情報を参照して前記
格納手段より印刷コードデータを読み出し、前記変換手
段によりその読み出した印刷コードデータを印刷イメー
ジデータに変換して前記印刷手段に印刷させる手順を、
1ページ分の印刷コードデータについて処理すべく、繰
り返し遂行する制御手段と、 を有することを特徴とする印刷装置。
1. A printing apparatus for inputting and printing print code data from an external device, comprising: input means for inputting print code data; and print code data input by the input means.
Storage means for compressing print image data based on the print code data.
Generating means for generating a reduced and compressed data, the compressed data generated by said generating means, said
Storage means for storing print code data together with address information in the storage means; printing means for printing based on print image data; and storage means corresponding to a printing position by the printing means.
Obtained by scanning the stored compressed data
From the storage means based on the address information
A conversion unit that reads out print code data and converts the print code data into the print image data; and, in accordance with printing by the print unit, refers to address information of the print code data stored in the storage unit, and
Reading the print code data from the storage unit, converting the read print code data into print image data by the conversion unit, and causing the printing unit to print.
Control means for repeatedly performing processing for processing one page of print code data.
【請求項2】 外部機器よりの印刷コードデータを入力
して印刷する印刷方法であって、 印刷コードデータを入力してバッファに格納する格納工
程と、 前記バッファに格納された印刷コードデータに基づく印
刷イメージデータを圧縮した圧縮データを生成する生成
工程と、 前記生成工程で生成された前記圧縮データを、前記バッ
ファに格納された前記印刷コードデータのアドレス情報
とともにメモリに記憶する記憶工程と、 印刷部による印刷位置に対応して前記メモリに記憶され
た前記圧縮データを走査することにより得られる前記ア
ドレス情報に基づいて、前記バッファから前記 印刷コー
ドデータを読み出して印刷イメージデータに変換する変
換工程と、 前記変換工程で変換された前記印刷イメージデータに基
づいて前記印刷部により印刷させる 印刷工程と、前記印刷部による 印刷に応じて、前記メモリに記憶され
ている印刷コードデータのアドレス情報を参照して前記
バッファより印刷コードデータを読み出し、その読み出
した印刷コードデータを印刷イメージデータに変換して
印刷させる手順を、1ページ分の印刷コードデータにつ
いて処理すべく、繰り返し遂行する工程と、 を有することを特徴とする印刷方法。
2. A printing method for inputting and printing print code data from an external device, comprising: a storage method for inputting print code data and storing the data in a buffer.
And a mark based on the print code data stored in the buffer.
Generation to generate compressed data by compressing printing image data
And compressing the compressed data generated in the generating step.
Address information of the print code data stored in the
Together with a storage step of storing in a memory,
The compressed data obtained by scanning the compressed data.
The print code is output from the buffer based on the dress information.
To read the print data and convert it to print image data.
And conversion process, converted the print image data based on the above conversion step
A printing step of printing by the printing unit Zui, depending on the printing by the printing unit, referring to the address information of the print code data stored in said memory said
Reading the print code data from the buffer , converting the read print code data into print image data, and printing the print code data. The process is repeated to process one page of print code data. And printing method.
JP04198136A 1992-07-24 1992-07-24 Printing method and apparatus Expired - Fee Related JP3110879B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04198136A JP3110879B2 (en) 1992-07-24 1992-07-24 Printing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04198136A JP3110879B2 (en) 1992-07-24 1992-07-24 Printing method and apparatus

Publications (2)

Publication Number Publication Date
JPH0644015A JPH0644015A (en) 1994-02-18
JP3110879B2 true JP3110879B2 (en) 2000-11-20

Family

ID=16386050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04198136A Expired - Fee Related JP3110879B2 (en) 1992-07-24 1992-07-24 Printing method and apparatus

Country Status (1)

Country Link
JP (1) JP3110879B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6870633B1 (en) 1996-09-30 2005-03-22 Brother Kogyo Kabushiki Kaisha Printing device

Also Published As

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

Similar Documents

Publication Publication Date Title
US5740335A (en) Method and device for transmitting and processing print data used for printer
JP3245239B2 (en) Method and apparatus for generating character pattern
JP3110879B2 (en) Printing method and apparatus
JP3757621B2 (en) Printer
JP3245270B2 (en) Character processing apparatus and method
JPH08244314A (en) Printer system and printer and information processing apparatus in said system
JPH09188041A (en) Output device
JPH06340127A (en) Printer controlling method and apparatus
JP3083024B2 (en) Character processing apparatus and method
JP3413002B2 (en) Data processing device and data processing method
JPH09325752A (en) Font processing device and method therefor
JP2689886B2 (en) Dot printer device
JP2001205884A (en) Recording system, recording apparatus, and recording method
JP2984156B2 (en) Recording method and apparatus
JPH0695814A (en) Printing data transfer system
JPH1158873A (en) Page printer
JP3313919B2 (en) Output device and output method
JPH09327947A (en) Apparatus and method for output of image
JPH09188040A (en) Output device
JPH0615930A (en) Printing device
JPH0620014A (en) Image forming device and data transfer method to and from the same
JPH11167476A (en) Printing method, its device and recording medium
JPH02295772A (en) Raster scan type perfecting printer
JPH10151814A (en) Apparatus and method for printing text data
JPH0620056A (en) Method and device for picture processing

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991122

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000815

LAPS Cancellation because of no payment of annual fees