JPH0911552A - Page printer - Google Patents

Page printer

Info

Publication number
JPH0911552A
JPH0911552A JP7165712A JP16571295A JPH0911552A JP H0911552 A JPH0911552 A JP H0911552A JP 7165712 A JP7165712 A JP 7165712A JP 16571295 A JP16571295 A JP 16571295A JP H0911552 A JPH0911552 A JP H0911552A
Authority
JP
Japan
Prior art keywords
image
data
font
dot image
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7165712A
Other languages
Japanese (ja)
Inventor
Akihiro Saito
晃宏 斎藤
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.)
TEC CORP
Original Assignee
TEC CORP
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 TEC CORP filed Critical TEC CORP
Priority to JP7165712A priority Critical patent/JPH0911552A/en
Publication of JPH0911552A publication Critical patent/JPH0911552A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE: To be able to realize high speed printing by conducting the developing process of the second and following pages to a dot image in a short time when a plurality of pages are printed. CONSTITUTION: The print data from a host computer 1 is analyzed by a print data analyzer 23, and a font image and image data are extracted. The extracted font data is developed to dot image by a font developing unit 24, and the image data is developed to a dot image by an image developing unit 25. The dot image developed by the developing units are compressed by a data compressor 30, and respectively stored in a font cache memory 26 and an image cache memory 27. When a print request of a plurality of pages is designated, if there is dot image to be developed in a page memory 33 for the second and following pages, the dot image is read from the cache memory, extended by a data recovering unit 31, and developed in the page memory.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数ページの印字及び
複数枚のラベルへの印字に適したページプリンタに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a page printer suitable for printing a plurality of pages and a plurality of labels.

【0002】[0002]

【従来の技術】例えばモノクロ印字を行うページプリン
タは、上位機器、例えばホストコンピュータからの印字
データに基づいてドットイメージを生成し、このドット
イメージをページメモリに展開し、このページメモリ上
の「1」、「0」の情報により、例えば、サーマルヘッ
ドの発熱素子を発熱動作してインクリボンのインクを溶
融し用紙にインクを転写して印字するようになってい
る。
2. Description of the Related Art A page printer for monochrome printing, for example, generates a dot image based on print data from a host device, such as a host computer, develops this dot image in a page memory, and outputs "1" on the page memory. According to the information of "0" and "0", for example, the heating element of the thermal head is caused to generate heat to melt the ink of the ink ribbon and transfer the ink to the paper for printing.

【0003】また、カラー印刷を行うページプリンタ
は、例えばホストコンピュータからの印字データが指定
する色をイエロー、マゼンタ、シアン、ブラックの基本
色に分解し、各基本色毎に1ページ分のドットイメージ
を生成し、この各基本色毎のドットイメージをそれぞれ
ページメモリに展開し、サーマルヘッドにより各ページ
メモリのドットイメージ毎にイエロー、マゼンタ、シア
ン、ブラックのインクリボンを使用して同一の用紙に印
字を繰返し行って1ページのカラー印刷を行うようにな
っている。
A page printer for color printing decomposes a color designated by print data from a host computer into basic colors of yellow, magenta, cyan and black, and a dot image for one page for each basic color. The dot image for each basic color is generated in the page memory and printed on the same paper by using the yellow, magenta, cyan, and black ink ribbon for each dot image in each page memory by the thermal head. The above process is repeated to perform color printing of one page.

【0004】そして、このようなページプリンタで複数
ページの印字を行う場合、従来は、例えば、1ページ目
と2ページ目以降とで共通の部分が多く、一部のみが異
なる場合であっても、2ページ目以降も1ページ目と同
様のイメージ編集処理を行って印字を行っていた。この
ため、イメージ編集処理に時間がかかり、特にカラー印
刷においては各基本色毎にイメージ編集処理を行うため
多大な時間を要することになる。
When a plurality of pages are printed by such a page printer, conventionally, for example, there are many common parts between the first page and the second and subsequent pages, and even when only some parts are different. The second and subsequent pages were printed by performing the same image editing process as the first page. Therefore, the image editing process takes time, and particularly in color printing, the image editing process is performed for each basic color, which requires a lot of time.

【0005】[0005]

【発明が解決しようとする課題】このように従来のペー
ジプリンタは、複数ページの印字を行う場合に2ページ
目以降のイメージ編集処理に時間がかかり、高速印字が
できない問題があった。
As described above, the conventional page printer has a problem in that when printing a plurality of pages, the image editing process for the second and subsequent pages takes time and high-speed printing cannot be performed.

【0006】そこで、請求項1対応の発明は、複数ペー
ジの印字を行う場合に2ページ目以降のドットイメージ
への展開処理を短時間で迅速に行うことができ高速印字
が実現できるページプリンタを提供する。
In view of this, the invention according to claim 1 provides a page printer capable of rapidly developing the dot images of the second and subsequent pages in a short time when printing a plurality of pages and realizing high-speed printing. provide.

【0007】また、請求項2対応の発明は、複数枚のラ
ベルに印字を行う場合に各ラベル毎にドットイメージへ
の展開処理を短時間で迅速に行うことができラベルに対
する高速印字が実現できるページプリンタを提供する。
Further, in the invention according to claim 2, when printing is performed on a plurality of labels, it is possible to quickly perform a development process into a dot image for each label in a short time and realize high-speed printing on the label. Provide a page printer.

【0008】[0008]

【課題を解決するための手段】請求項1対応の発明は、
上位機器からの印字データに基づいてドットイメージを
作成し、このドットイメージをページメモリに展開した
後印字出力するページプリンタにおいて、上位機器から
の印字データを解析し、フォントデータとイメージデー
タを抽出する印字データ解析手段と、この印字データ解
析手段が抽出したフォントデータをドットイメージに展
開するフォント展開手段と、印字データ解析手段が抽出
したイメージデータをドットイメージに展開するイメー
ジ展開手段と、フォント展開手段及びイメージ展開手段
が展開したドットイメージを圧縮するデータ圧縮手段
と、このデータ圧縮手段が圧縮したフォントデータに対
応するドットイメージを記憶するフォントキャッシュメ
モリと、データ圧縮手段が圧縮したイメージデータに対
応するドットイメージを記憶するイメージキャッシュメ
モリと、フォントキャッシュメモリ及びイメージキャッ
シュメモリに記憶しているドットイメージを伸長するデ
ータ復元手段と、ページメモリに展開すべきドットイメ
ージがフォントキャッシュメモリ又はイメージキャッシ
ュメモリに記憶しているか否かを判断する判断手段とを
備え、複数ページの印字要求があると、2ページ目以降
の印字の場合は、判断手段にて、ページメモリに展開す
べきドットイメージがフォントキャッシュメモリ又はイ
メージキャッシュメモリに記憶しているか否かを判断
し、記憶している場合には対応するドットイメージをフ
ォントキャッシュメモリ又はイメージキャッシュメモリ
から読出してデータ復元手段で伸長しページメモリに展
開するものである。
The invention corresponding to claim 1 is:
In a page printer that creates a dot image based on the print data from the host device, develops this dot image in the page memory, and then prints it out, analyzes the print data from the host device and extracts the font data and image data. Print data analyzing means, font expanding means for expanding the font data extracted by the print data analyzing means into dot images, image expanding means for expanding the image data extracted by the print data analyzing means into dot images, and font expanding means And data compression means for compressing the dot image expanded by the image expansion means, a font cache memory for storing the dot image corresponding to the font data compressed by the data compression means, and the image data compressed by the data compression means. Dot image The image cache memory for storing the image data, the font cache memory and the data restoring means for expanding the dot image stored in the image cache memory, and the dot image to be expanded in the page memory are stored in the font cache memory or the image cache memory. When a print request for a plurality of pages is made, the dot image to be expanded in the page memory is determined by the determining means in the case of printing the second and subsequent pages. It is determined whether or not it is stored in the cache memory, and if it is stored, the corresponding dot image is read from the font cache memory or the image cache memory, decompressed by the data decompression means, and expanded in the page memory.

【0009】請求項2対応の発明は、上位機器からの印
字データに基づいてドットイメージを作成し、このドッ
トイメージをページメモリに展開した後ラベルに印字出
力するページプリンタにおいて、上位機器からの印字デ
ータを解析し、フォントデータとイメージデータを抽出
する印字データ解析手段と、この印字データ解析手段が
抽出したフォントデータをドットイメージに展開するフ
ォント展開手段と、印字データ解析手段が抽出したイメ
ージデータをドットイメージに展開するイメージ展開手
段と、フォント展開手段及びイメージ展開手段が展開し
たドットイメージが予め登録する固定部データのときこ
のドットイメージを格納する固定部イメージメモリと、
フォント展開手段及びイメージ展開手段が展開したドッ
トイメージが固定部データ以外の可変部データのときこ
のドットイメージを格納する可変部イメージメモリと、
固定部イメージメモリのドットイメージと可変部イメー
ジメモリのドットイメージを合成するデータ合成手段と
を備え、固定部イメージメモリ及び可変部イメージメモ
リでページメモリを構成し、データ合成手段にて合成し
たドットイメージをラベルに印字出力するものである。
According to a second aspect of the present invention, in a page printer that creates a dot image based on print data from a host device, develops the dot image in a page memory, and prints it out on a label, printing from the host device is performed. Print data analysis means for analyzing data and extracting font data and image data, font expansion means for expanding the font data extracted by this print data analysis means into dot images, and image data extracted by the print data analysis means An image developing means for developing a dot image, a font developing means and a fixed portion image memory for storing the dot image when the dot image developed by the image developing means is fixed portion data registered in advance,
A variable part image memory for storing the dot image when the dot image expanded by the font expanding means and the image expanding means is variable part data other than the fixed part data,
A dot image composed of a fixed part image memory and a variable part image memory, and a data combining means for combining the dot image of the variable part image memory, a page memory composed of the fixed part image memory and the variable part image memory, and combined by the data combining means. Is printed on a label.

【0010】[0010]

【作用】請求項1対応の発明においては、複数ページの
印字要求があると、2ページ目以降の印字については、
ページメモリに展開すべきドットイメージがフォントキ
ャッシュメモリ又はイメージキャッシュメモリに記憶し
ているか否かを判断し、記憶していなければそのままペ
ージメモリに展開し、また、記憶していれば対応するド
ットイメージをフォントキャッシュメモリ又はイメージ
キャッシュメモリから読出して伸長しページメモリに展
開する。そして、ページメモリに展開したドットイメー
ジにより印字を行う。
In the invention according to claim 1, when there is a print request for a plurality of pages, the printing for the second and subsequent pages is
It is determined whether the dot image to be expanded in the page memory is stored in the font cache memory or the image cache memory. If not stored, the dot image is expanded in the page memory as it is, and if it is stored, the corresponding dot image is stored. Is read from the font cache memory or the image cache memory, decompressed, and expanded in the page memory. Then, printing is performed by the dot image developed in the page memory.

【0011】請求項2対応の発明においては、ラベルに
印字するドットイメージのうち、変更のない固定部につ
いては予めドットイメージに展開して固定部イメージメ
モリに格納しておく。そして、固定部データ以外の可変
部データについてのみ、フォントデータ及びイメージデ
ータをドットイメージに展開して可変部イメージメモリ
に格納し、その後、固定部イメージメモリ及び可変部イ
メージメモリのドットイメージを合成してラベルに印字
する。
According to the second aspect of the invention, of the dot images to be printed on the label, the fixed part that does not change is previously developed into a dot image and stored in the fixed part image memory. Then, only for the variable part data other than the fixed part data, the font data and the image data are expanded into a dot image and stored in the variable part image memory, and then the dot images of the fixed part image memory and the variable part image memory are combined. To print on the label.

【0012】[0012]

【実施例】以下、本発明の実施例を図面を参照して説明
する。 (第1の実施例)この実施例は請求項1に対応した実施
例で、図1において、1は上位機器であるホストコンピ
ュータ、2はこのホストコンピュータ1とケーブル3を
介して電気的に接続したページプリンタである。前記ペ
ージプリンタ2は、制御部本体を構成するCPU(中央
処理装置)21、前記ホストコンピュータ1から受信し
た印字データを格納する受信バッファ22、この受信バ
ッファ22が受信した印字データを取込んで解析し、フ
ォントデータとイメージデータを抽出する印字データ解
析部23を設けている。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) This embodiment is an embodiment corresponding to claim 1, and in FIG. 1, reference numeral 1 is a host computer which is a host device, and 2 is electrically connected to the host computer 1 via a cable 3. Page printer. The page printer 2 includes a CPU (central processing unit) 21 constituting a control unit main body, a reception buffer 22 for storing print data received from the host computer 1, and a print data received by the reception buffer 22 for analysis. However, a print data analysis unit 23 for extracting font data and image data is provided.

【0013】また、前記ページプリンタ2は、フォント
展開部24、イメージ展開部25、フォントキャッシュ
メモリ26、イメージキャッシュメモリ27、フォント
キャッシュ情報管理部28、イメージキャッシュ情報管
理部29、前記フォント展開部24及びイメージ展開部
25で展開したドットイメージデータを圧縮するデータ
圧縮部30、前記フォントキャッシュメモリ26及びイ
メージキャッシュメモリ27に記憶している圧縮したド
ットイメージデータを伸長するデータ復元部31、JI
S第1水準、第2水準などの文字セットに規定される各
種文字コードと対応するアウトラインフォントデータを
記憶したフォントデータ記憶部32、1ページ分のドッ
トイメージデータを格納するページメモリ33、前記C
PU21の指示により、前記ページメモリ33のドット
イメージデータを記録用紙に印字出力するプリンタエン
ジン34を設けている。なお、フォントデータ記憶部3
2に記憶するデータはアウトラインフォントデータに限
定するものではなく、ビットマップフォントデータであ
ってもよい。
The page printer 2 includes a font expanding unit 24, an image expanding unit 25, a font cache memory 26, an image cache memory 27, a font cache information managing unit 28, an image cache information managing unit 29, and the font expanding unit 24. And a data compressing unit 30 for compressing the dot image data expanded by the image expanding unit 25, a data restoring unit 31 for expanding the compressed dot image data stored in the font cache memory 26 and the image cache memory 27, and JI.
S A font data storage unit 32 that stores outline font data corresponding to various character codes defined in the character set such as the first level and the second level, a page memory 33 that stores dot image data for one page, the C
A printer engine 34 that prints out the dot image data of the page memory 33 on a recording sheet according to an instruction from the PU 21 is provided. The font data storage unit 3
The data stored in 2 is not limited to outline font data, but may be bitmap font data.

【0014】前記フォントキャッシュ情報管理部28
は、図2の(a) に示す構成のフォントキャッシュテーブ
ル35を設けている。このフォントキャッシュテーブル
35は、前記フォントキャッシュメモリ26に圧縮した
ドットイメージデータを格納するときに作成されるもの
で、前記フォント展開部24により参照されるようにな
っている。
The font cache information management unit 28
Provides a font cache table 35 having the configuration shown in FIG. The font cache table 35 is created when the compressed dot image data is stored in the font cache memory 26, and is referred to by the font expansion unit 24.

【0015】前記フォントキャッシュテーブル35は、
フォント名格納エリア35a、フォントサイズ格納エリ
ア35b、文字コード格納エリア35c、フォントの水
平方向の幅Xの格納エリア35d、フォントの垂直方向
の高さYの格納エリア35e及び前記フォントキャッシ
ュメモリ26へのポインタ35fとで構成している。例
えば、書体名がCourier、サイズが16ポイントの
「A」という文字のドットイメージデータが前記フォン
トキャッシュメモリ26に格納している場合には、前記
フォントキャッシュテーブル35の各エリア35a〜3
5fに格納するデータは図2の(b) に示すようになる。
なお、フォントの水平方向の幅Xの格納エリア35d、
フォントの垂直方向の高さYの格納エリア35eは、展
開されたドットイメージの水平方向の幅、垂直方向の高
さをドット数で表わした数値を格納する。また、フォン
ト名格納エリア35aは、書体名を識別する定数を格納
する。この場合は、Courierという書体名に対応する定
数が「5」になっている。
The font cache table 35 is
The font name storage area 35a, the font size storage area 35b, the character code storage area 35c, the horizontal width X storage area 35d, the vertical height Y storage area 35e, and the font cache memory 26 are stored in the font cache memory 26. It is composed of a pointer 35f. For example, when dot image data of a character "A" having a typeface name of Courier and a size of 16 points is stored in the font cache memory 26, the areas 35a to 3 of the font cache table 35 are stored.
The data stored in 5f is as shown in FIG.
A storage area 35d having a horizontal width X of the font,
The storage area 35e for the vertical height Y of the font stores a numerical value that represents the horizontal width and vertical height of the developed dot image in dots. The font name storage area 35a stores a constant for identifying a typeface name. In this case, the constant corresponding to the typeface name "Courier" is "5".

【0016】前記イメージキャッシュ情報管理部29
は、図3の(a) に示す構成のイメージキャッシュテーブ
ル36を設けている。このイメージキャッシュテーブル
36は、前記イメージキャッシュメモリ27に圧縮した
ドットイメージデータを格納するときに作成されるもの
で、前記イメージ展開部25により参照されるようにな
っている。
The image cache information management unit 29
Is provided with an image cache table 36 having the configuration shown in FIG. The image cache table 36 is created when the compressed dot image data is stored in the image cache memory 27, and is referred to by the image decompression unit 25.

【0017】前記イメージキャッシュテーブル36は、
オブシェクトの識別名格納エリア36a、オブジェクト
の属性格納エリア36b、オブジェクトの水平方向の幅
Xの格納エリア36c、オブジェクトの垂直方向の高さ
Yの格納エリア36d及び前記イメージキャッシュメモ
リ25へのポインタ36eとで構成している。前記オブ
シェクトの識別名格納エリア36aは、例えば、四角
形、円、ビットマップなどのオブジェクトを識別する定
数値を格納する。前記オブジェクトの属性格納エリア3
6bは、オブジェクトに関連した情報を格納し、例え
ば、オブジェクトが四角形なら、水平方向、垂直方向の
長さ、色情報などを格納する。このオブジェクトの属性
格納エリア36bに格納する情報はオブジェクトの種類
によって異なる。なお、オブジェクトの水平方向の幅X
の格納エリア36c及びオブジェクトの垂直方向の高さ
Yの格納エリア36dは展開されたドットイメージの水
平方向の幅、垂直方向の高さをドット数で表わした数値
を格納するようになっている。
The image cache table 36 is
An object identification name storage area 36a, an object attribute storage area 36b, an object horizontal width X storage area 36c, a vertical height Y storage area 36d, and a pointer 36e to the image cache memory 25. It consists of. The object identification name storage area 36a stores a constant value for identifying an object such as a quadrangle, a circle, or a bitmap. Attribute storage area 3 for the object
6b stores information related to the object. For example, if the object is a quadrangle, horizontal and vertical lengths, color information, and the like are stored. The information stored in the object attribute storage area 36b differs depending on the type of object. Note that the horizontal width X of the object
The storage area 36c and the storage area 36d for the vertical height Y of the object store numerical values representing the horizontal width and vertical height of the developed dot image in dots.

【0018】例えば、オブジェクトが四角形の場合、前
記イメージキャッシュテーブル36の各エリア36a〜
36eに格納するデータは図3の(b) に示すようにな
る。
For example, when the object is a quadrangle, each area 36a of the image cache table 36.
The data stored in 36e is as shown in FIG.

【0019】前記フォント展開部24は、フォントキャ
ッシュ情報管理部28のフォントキャッシュテーブル3
5を検索し、展開すべきフォントデータのドットイメー
ジがフォントキャッシュメモリ26に記憶されている場
合は、前記データ復元部31によりフォントキャッシュ
メモリ26に記憶している圧縮したドットイメージを伸
長して前記ページメモリ33上に展開するようになって
いる。
The font expansion unit 24 is a font cache table 3 of the font cache information management unit 28.
5 is searched, and if the dot image of the font data to be expanded is stored in the font cache memory 26, the compressed dot image stored in the font cache memory 26 is expanded by the data restoration unit 31 and It is developed on the page memory 33.

【0020】また、前記フォント展開部24は、フォン
トキャッシュ情報管理部28のフォントキャッシュテー
ブル35を検索し、展開すべきフォントデータのドット
イメージがフォントキャッシュメモリ26に記憶されて
いない場合は、印字データ内の文字コードに対応するフ
ォントデータを前記フォントデータ記憶部32から読出
し、輪郭描画、塗り潰し等を行い、所望のドットパター
ンを作成して前記ページメモリ33上に展開する。この
とき生成したドットイメージは前記データ圧縮部30に
より圧縮しフォントキャッシュメモリ26に記憶する。
そして前記フォントキャッシュ情報管理部28にフォン
トキャッシュテーブル35を作成する。前記フォントキ
ャッシュメモリ26は、ドットイメージに展開したフォ
ントデータを圧縮した形式で記憶するようになってい
る。
The font expanding unit 24 searches the font cache table 35 of the font cache information managing unit 28, and if the dot image of the font data to be expanded is not stored in the font cache memory 26, the print data is printed. The font data corresponding to the character code in the above is read from the font data storage unit 32, contour drawing, filling, etc. are performed, a desired dot pattern is created and developed on the page memory 33. The dot image generated at this time is compressed by the data compression unit 30 and stored in the font cache memory 26.
Then, a font cache table 35 is created in the font cache information management unit 28. The font cache memory 26 is adapted to store the font data expanded into dot images in a compressed format.

【0021】前記イメージ展開部25は、イメージキャ
ッシュ情報管理部29のイメージキャッシュテーブル3
6を検索し、展開すべきイメージデータのドットイメー
ジがイメージキャッシュメモリ27に記憶されている場
合は、前記データ復元部31によりイメージキャッシュ
メモリ27に記憶している圧縮したドットイメージを伸
長して前記ページメモリ33上に展開するようになって
いる。
The image expanding unit 25 includes the image cache table 3 of the image cache information managing unit 29.
6 is searched, and if the dot image of the image data to be expanded is stored in the image cache memory 27, the compressed dot image stored in the image cache memory 27 is expanded by the data restoration unit 31 and It is developed on the page memory 33.

【0022】また、前記イメージ展開部25は、イメー
ジキャッシュ情報管理部29のイメージキャッシュテー
ブル36を検索し、展開すべきイメージデータのドット
イメージがイメージキャッシュメモリ27に記憶されて
いない場合は、印字データ内のイメージデータ(描画コ
マンド)からイメージデータを生成し、前記ページメモ
リ33上に展開する。このとき生成したドットイメージ
は前記データ圧縮部30により圧縮しイメージキャッシ
ュメモリ27に記憶する。そして前記イメージキャッシ
ュ情報管理部29にイメージキャッシュテーブル36を
作成する。前記イメージキャッシュメモリ27は、展開
したドットイメージを圧縮した形式で記憶するようにな
っている。
The image expanding unit 25 searches the image cache table 36 of the image cache information managing unit 29, and if the dot image of the image data to be expanded is not stored in the image cache memory 27, print data is printed. Image data is generated from the image data (drawing command) in the image data and developed on the page memory 33. The dot image generated at this time is compressed by the data compression unit 30 and stored in the image cache memory 27. Then, the image cache table 36 is created in the image cache information management unit 29. The image cache memory 27 stores the expanded dot image in a compressed format.

【0023】このような構成においては、1ページのみ
の印字の場合は、ホストコンピュータ1から印字データ
が送信されると、ページプリンタ2はこの印字データを
受信バッファ22に格納する。受信バッファ22の印字
データは印字データ解析部23に取込まれ、解析されて
フォントデータとイメージデータが抽出される。そし
て、フォントデータはフォント展開部24に供給され、
イメージデータはイメージ展開部25に供給される。
In such a configuration, in the case of printing only one page, when the print data is transmitted from the host computer 1, the page printer 2 stores this print data in the reception buffer 22. The print data in the reception buffer 22 is taken into the print data analysis unit 23 and analyzed to extract font data and image data. Then, the font data is supplied to the font expansion unit 24,
The image data is supplied to the image developing unit 25.

【0024】フォント展開部24及びイメージ展開部2
5は、それぞれ印字すべきドットの有無をそのまま
「1」、「0」で表現したドットイメージデータを生成
し、これをページメモリ33上に展開する。そして、C
PU21は、所定のタイミングでページメモリ33に格
納されている1ページ分のドットイメージデータをプリ
ントエンジン34に転送し、このプリントエンジン34
に印字を行うように指示を行う。こうして、プリントエ
ンジン34により用紙に対して印字が行われる。
Font expansion unit 24 and image expansion unit 2
Reference numeral 5 generates dot image data in which the presence / absence of dots to be printed is represented by “1” and “0” as they are, and the dot image data is developed on the page memory 33. And C
The PU 21 transfers the dot image data for one page stored in the page memory 33 to the print engine 34 at a predetermined timing, and the print engine 34
Instruct to print on. In this way, the print engine 34 prints on the paper.

【0025】なお、カラー印刷を行う場合は、印字デー
タで指定された色をシアン、マゼンタ、イエロー、ブラ
ックの基本色に分解し、この各基本色毎にドットイメー
ジを生成し、これをページメモリ上に展開して印字す
る。従って、この場合は、ページメモリは各基本色毎に
必要となり、4ページ分の容量が必要となる。
When performing color printing, the color specified by the print data is separated into basic colors of cyan, magenta, yellow, and black, a dot image is generated for each basic color, and the dot image is generated in the page memory. Develop and print on top. Therefore, in this case, a page memory is required for each basic color, and a capacity for four pages is required.

【0026】また、図4に示すような複数ページの印字
を行う場合は、図5に基づいた処理が行われる。1ペー
ジ目の印字処理においては、S2にて、印字データ解析
部23により、フォントデータとイメージデータを抽出
する。フォントデータとしては、文字列であるF1 〜F
4 が該当し、イメージデータとしては、I1 〜I3 が該
当する。なお、I3 は枠を示している。
When printing a plurality of pages as shown in FIG. 4, processing based on FIG. 5 is performed. In the printing process of the first page, the font data and the image data are extracted by the print data analysis unit 23 in S2. As font data, character strings F1 to F
4 corresponds, and as image data, I1 to I3 correspond. I3 indicates a frame.

【0027】抽出されたフォントデータF1 〜F4 は、
S3にて、フォント展開部24によりフォントキャッシ
ュ情報管理部28のフォントキャッシュテーブル35を
検索し、検索した結果、フォントキャッシュメモリ26
内に該当するドットイメージデータが無いと判定する
と、続いて、S5にて、印字データであるフォントデー
タを元にドットイメージデータを生成し、ページメモリ
33上に展開する。続いて、S6にて、生成したドット
イメージデータをデータ圧縮部30により圧縮してフォ
ントキャッシュメモリ26に記憶する。このとき、フォ
ントキャッシュ情報管理部28に、フォントキャッシュ
メモリ26に記憶した圧縮データを識別するフォントキ
ャッシュテーブル35を作成する。
The extracted font data F1 to F4 are
In step S3, the font expansion unit 24 searches the font cache table 35 of the font cache information management unit 28, and as a result of the search, the font cache memory 26
If it is determined that there is no corresponding dot image data, then in step S5, dot image data is generated based on the font data, which is print data, and is developed on the page memory 33. Subsequently, in S6, the generated dot image data is compressed by the data compression unit 30 and stored in the font cache memory 26. At this time, a font cache table 35 for identifying the compressed data stored in the font cache memory 26 is created in the font cache information management unit 28.

【0028】一方、印字データ解析部23で抽出された
イメージデータI1 〜I3 は、S4にて、イメージ展開
部25によりイメージキャッシュ情報管理部29のイメ
ージキャッシュテーブル36を検索し、検索した結果、
イメージキャッシュメモリ27内に該当するドットイメ
ージデータが無いと判定すると、続いて、S7にて、印
字データであるイメージデータ(描画コマンド)を元に
ドットイメージデータを生成し、ページメモリ33上に
展開する。続いて、S8にて、生成したドットイメージ
データをデータ圧縮部30により圧縮してイメージキャ
ッシュメモリ27に記憶する。このとき、イメージキャ
ッシュ情報管理部29に、イメージキャッシュメモリ2
7に記憶した圧縮データを識別するイメージキャッシュ
テーブル36を作成する。
On the other hand, the image data I1 to I3 extracted by the print data analyzing unit 23 are searched in the image cache table 36 of the image cache information managing unit 29 by the image expanding unit 25 in S4.
If it is determined that there is no corresponding dot image data in the image cache memory 27, subsequently, in S7, dot image data is generated based on the image data (drawing command) that is the print data, and is expanded on the page memory 33. To do. Subsequently, in S8, the generated dot image data is compressed by the data compression unit 30 and stored in the image cache memory 27. At this time, the image cache memory 2 is displayed in the image cache information management unit 29.
An image cache table 36 for identifying the compressed data stored in 7 is created.

【0029】こうして、1ページ分の印字データを全て
ページメモリ33上に展開し終わると、S11にて、ペ
ージメモリ33に展開されたドットイメージデータをプ
リントエンジン34に転送し、プリントエンジン34に
より1ページ目の印字が行われる。
In this way, when all the print data for one page has been expanded in the page memory 33, the dot image data expanded in the page memory 33 is transferred to the print engine 34 in step S11, and the print engine 34 The page is printed.

【0030】これに対し、2ページ目以降の印字処理に
おいては、S2にて、印字データ解析部23で抽出され
たフォントデータについて、S3にて、フォント展開部
24によりフォントキャッシュ情報管理部28のフォン
トキャッシュテーブル35を検索することになるが、2
ページ目以降のフォントデータF31、F32は1ページ目
のフォントデータF3 と同一ではなく、これについては
フォントキャッシュメモリ26に記憶されていないの
で、1ページ目の印字処理と同様の処理が行われる。す
なわち、フォントデータF31、F32を元にドッイメージ
を生成し、これをページメモリ33上に展開してからS
6の処理を行うことになる。
On the other hand, in the print processing for the second and subsequent pages, the font data extracted by the print data analysis unit 23 in S2 is stored in the font cache information management unit 28 by the font expansion unit 24 in S3. The font cache table 35 will be searched, but 2
The font data F31 and F32 on and after the first page are not the same as the font data F3 on the first page, and since they are not stored in the font cache memory 26, the same process as the printing process on the first page is performed. That is, a do image is generated based on the font data F31 and F32, and this is expanded on the page memory 33, and then S
The process of 6 will be performed.

【0031】これに対し、2ページ目以降のフォントデ
ータF11,F21,F41、F12,F22,F42は1ページ目
のフォントデータF1 ,F2 ,F4 と全く同一であり、
これについてはすでに圧縮したデータがフォントキャッ
シュメモリ26に記憶してあるので、S3にて、フォン
ト展開部24によりフォントキャッシュ情報管理部28
のフォントキャッシュテーブル35を検索したとき、該
当するドットイメージデータの圧縮データがフォントキ
ャッシュメモリ26に記憶してあると判定され、S9に
て、フォントキャッシュメモリ26から該当する圧縮デ
ータを読出してデータ復元部31により伸長し、これを
ページメモリ33上に展開する。
On the other hand, the font data F11, F21, F41, F12, F22, F42 for the second and subsequent pages are exactly the same as the font data F1, F2, F4 for the first page,
Since the compressed data has already been stored in the font cache memory 26, the font decompression unit 24 causes the font cache information management unit 28 to operate in S3.
When the font cache table 35 is searched, it is determined that the compressed data of the corresponding dot image data is stored in the font cache memory 26, and in S9, the corresponding compressed data is read from the font cache memory 26 to restore the data. It is expanded by the unit 31 and expanded on the page memory 33.

【0032】また、S2にて、印字データ解析部23で
抽出されたイメージデータについて、S4にて、イメー
ジ展開部25によりイメージキャッシュ情報管理部29
のイメージキャッシュテーブル36を検索することにな
るが、2ページ目以降のイメージデータI21、I22は1
ページ目のイメージデータI2 と同一ではなく、これに
ついてはイメージキャッシュメモリ27に記憶されてい
ないので、1ページ目の印字処理と同様の処理が行われ
る。すなわち、イメージデータI21、I22を元にドッイ
メージを生成し、これをページメモリ33上に展開して
からS8の処理を行うことになる。
The image data extracted by the print data analyzing unit 23 in S2 is processed by the image expanding unit 25 in the image cache information managing unit 29 in S4.
However, the image data I21 and I22 of the second and subsequent pages is 1
Since it is not the same as the image data I2 of the page and is not stored in the image cache memory 27, the same process as the printing process of the first page is performed. That is, the do-image is generated based on the image data I21 and I22, and this is expanded on the page memory 33, and then the process of S8 is performed.

【0033】これに対し、2ページ目以降のイメージデ
ータI11,I31、、I12,I32は1ページ目のイメージ
データI1 ,I3 と全く同一であり、これについてはす
でに圧縮したデータがイメージキャッシュメモリ27に
記憶してあるので、S4にて、イメージ展開部25によ
りイメージキャッシュ情報管理部29のイメージキャッ
シュテーブル36を検索したとき、該当するドットイメ
ージデータの圧縮データがイメージキャッシュメモリ2
7に記憶してあると判定され、S10にて、イメージキ
ャッシュメモリ27から該当する圧縮データを読出して
データ復元部31により伸長し、これをページメモリ3
3上に展開する。
On the other hand, the image data I11, I31, I12, I32 of the second and subsequent pages are exactly the same as the image data I1, I3 of the first page, and the already compressed data is the image cache memory 27. Therefore, when the image decompression unit 25 searches the image cache table 36 of the image cache information management unit 29 in S4, the compressed data of the corresponding dot image data is stored in the image cache memory 2
7, the corresponding compressed data is read from the image cache memory 27 and decompressed by the data decompression unit 31, which is stored in the page memory 3 in S10.
Expand to 3.

【0034】そして2ページ目以降についても、それぞ
れ1ページ分の印字データがページメモリ33上に展開
されると、S11にて、ページメモリ33に展開された
ドットイメージデータがプリントエンジン34に転送さ
れてプリントエンジン34により印字が行われる。以上
の動作が全ページの印字が完了するまで繰り返し行われ
る。
Also for the second and subsequent pages, when the print data for one page is developed in the page memory 33, the dot image data developed in the page memory 33 is transferred to the print engine 34 in S11. Printing is performed by the print engine 34. The above operation is repeated until printing of all pages is completed.

【0035】このように、一度展開したフォントデータ
のドットイメージを圧縮した形でフォントキャッシュメ
モリ26に記憶し、また、一度展開したイメージデータ
のドットイメージを圧縮した形でイメージキャッシュメ
モリ27に記憶するようにしているので、図4に示すよ
うに、フォントデータの一部(F3 )やイメージデータ
の一部(I2 )のみが変化する内容で複数ページの印字
を行う場合には、各ページに共通している部分(F1 ,
F2 ,F4 ,I1 ,I3 )については1ページ目のとき
のみドットイメージに展開するだけで、2ページ目以降
についてはフォントキャッシュメモリ26やイメージキ
ャッシュメモリ27からドットイメージを読出して使用
すればよい。従って、各ページにおいて常にドットイメ
ージに展開するのは一部の可変部分でよく、2ページ目
以降のドットイメージの生成処理を短時間で迅速に行う
ことができ高速印字が実現できる。
In this way, the dot image of the once expanded font data is stored in the font cache memory 26 in a compressed form, and the dot image of the expanded image data is stored in the image cache memory 27 in a compressed form. Therefore, as shown in FIG. 4, when printing multiple pages with the contents in which only part of the font data (F3) or part of the image data (I2) changes, it is common for each page. The part (F1,
For F2, F4, I1, I3), the dot image is developed only for the first page, and for the second and subsequent pages, the dot image may be read from the font cache memory 26 or the image cache memory 27 and used. Therefore, only a part of the variable portion is always expanded into a dot image on each page, and the dot image generation processing for the second and subsequent pages can be quickly performed in a short time, and high-speed printing can be realized.

【0036】これを1ページ分の処理に多大なドットイ
メージの生成を必要とするカラー印刷に適用すれば、さ
らに顕著な作用効果が得られ、カラー印刷の多数ページ
の高速印字が実現できる。
If this is applied to color printing which requires generation of a large number of dot images for the processing of one page, more remarkable effects can be obtained, and high speed printing of many pages of color printing can be realized.

【0037】また、ホストコンピュータ1からの印字デ
ータを印字データ解析部23にてフォントデータとイメ
ージデータに分離したが、これはフォントデータとイメ
ージデータとではドットイメージデータを生成するため
の処理時間が異なるためである。すなわち、通常、フォ
ント(文字)に関してはプリンタ自体にROMあるいは
外部記憶装置などに文字データ(ビットマップフォント
であれば各ポイントサイズに対応した文字のビットマッ
プデータ、アウトラインフォントであれば文字の輪郭情
報等)を保持しているので、ホストコンピュータからは
文字コードとして受信し、この文字コードをROMある
いは外部記憶装置などを使用して比較的簡単にドットイ
メージデータを生成できる。
Further, the print data from the host computer 1 is separated into font data and image data by the print data analysis unit 23. This is because the processing time for generating dot image data is different between the font data and the image data. This is because they are different. That is, normally, regarding the font (character), character data (bitmap data of a character corresponding to each point size in the case of a bitmap font, outline information of a character in the case of an outline font) is stored in a ROM or an external storage device in the printer itself. Etc. are held, it is possible to receive dot image data as a character code from the host computer and relatively easily generate the dot image data using the ROM or an external storage device.

【0038】これに対して、イメージデータはホストコ
ンピュータから、例えば、Esc-C 255 64 128(図形色指
定コマンド)、Esc-d 1 (線種指定コマンド)、Esc-S
160320 70(円描画コマンド)のような形式でデータを
受信し、図形として、この場合であれば「円」の描画用
のドットイメージデータを生成する。そして、このドッ
トイメージデータの展開処理はフォントデータの展開処
理に比べて処理時間がかかる。特に、カラー印刷のよう
な場合は、通常、疑似中間調処理などを行うためにドッ
トイメージデータを生成するのにさらに多くの処理時間
がかかる。このようなことから、印字データのうち、特
にイメージデータをドットイメージに展開する処理時間
が短縮されると、1ページ分のページメモリへの展開処
理時間も全体として短縮できることになる。
On the other hand, the image data is sent from the host computer by, for example, Esc-C 255 64 128 (graphic color designation command), Esc-d 1 (line type designation command), Esc-S.
Data is received in a format such as 16032070 (circle drawing command), and dot image data for drawing a "circle" in this case is generated as a figure. The dot image data expansion processing takes longer processing time than the font data expansion processing. In particular, in the case of color printing, it usually takes much more processing time to generate dot image data for performing pseudo halftone processing or the like. For this reason, if the processing time for developing the image data of the print data into a dot image is shortened, the processing time for developing one page of page memory can be shortened as a whole.

【0039】(第2の実施例)この実施例は請求項2に
対応した実施例である。なお、第1の実施例と同一の部
分には同一の符号を付して詳細な説明は省略する。図6
に示すように、ページプリンタ2は、CPU21、受信
バッファ22、印字データ解析部231、フォント展開
部24、イメージ展開部25、フォントデータ記憶部3
2、固定部イメージメモリ37、可変部イメージメモリ
38、データ合成部39及びプリントエンジン34で構
成している。前記印字データ解析部231は、受信バッ
ファ22から印字データを取り込み、フォントデータ、
イメージデータ及び印字制御データを抽出するようにな
っている。なお、印字制御データとは、例えば印字開始
コマンドなどを示している。
(Second Embodiment) This embodiment is an embodiment corresponding to claim 2. The same parts as those in the first embodiment are designated by the same reference numerals and detailed description thereof will be omitted. FIG.
As shown in FIG. 2, the page printer 2 includes a CPU 21, a reception buffer 22, a print data analysis unit 231, a font expansion unit 24, an image expansion unit 25, and a font data storage unit 3.
2, a fixed part image memory 37, a variable part image memory 38, a data synthesizing part 39, and a print engine 34. The print data analysis unit 231 fetches print data from the reception buffer 22,
Image data and print control data are extracted. The print control data indicates, for example, a print start command or the like.

【0040】前記固定部イメージメモリ37は、固定部
登録状態の時に、前記フォント展開部24及びイメージ
展開部25で生成したドッイメージデータを格納するよ
うになっている。前記可変部イメージメモリ38は、固
定部登録状態でない時に、前記フォント展開部24及び
イメージ展開部25で生成したドッイメージデータを格
納するようになっている。前記固定部イメージメモリ3
7及び可変部イメージメモリ38はページメモリを構成
している。前記データ合成部39は、前記固定部イメー
ジメモリ37と可変部イメージメモリ38の内容を合成
して前記プリントエンジン34に転送する出力データを
生成するようになっている。
The fixed part image memory 37 is adapted to store the dot image data generated by the font expanding part 24 and the image expanding part 25 in the fixed part registration state. The variable part image memory 38 is adapted to store the dot image data generated by the font expanding part 24 and the image expanding part 25 when not in the fixed part registration state. Fixed part image memory 3
7 and the variable part image memory 38 constitute a page memory. The data synthesizing unit 39 synthesizes the contents of the fixed part image memory 37 and the variable part image memory 38 to generate output data to be transferred to the print engine 34.

【0041】ホストコンピュータ1から印字データを受
信すると、ページプリンタ2は、図7に示す印字処理を
行う。すなわち、S21にて、印字データ解析部231
は、フォントデータ、イメージデータ及び印字制御デー
タを抽出する。抽出した印字制御データは、それぞれS
22,S23,S24にて固定部登録開始コマンドか、
固定部登録終了コマンドか、印刷開始コマンドかチェッ
クされる。そして、固定部登録開始コマンドであれば、
S25にて、固定部登録フラグをONにする。また、固
定部登録終了コマンドであれば、S26にて、固定部登
録フラグをOFFにする。また、印刷開始コマンドであ
れば、S27にて、データ合成部39により固定部イメ
ージメモリ37の内容と可変部イメージメモリ38の内
容を合成しプリントエンジン34に送出する。
When the print data is received from the host computer 1, the page printer 2 performs the print processing shown in FIG. That is, in S21, the print data analysis unit 231
Extracts font data, image data, and print control data. The extracted print control data is S
22, S23, S24 in the fixed part registration start command,
Whether the fixed part registration end command or the print start command is checked. And if it is the fixed part registration start command,
In S25, the fixed part registration flag is turned on. If the command is a fixed part registration end command, the fixed part registration flag is turned off in S26. If the command is a print start command, in S27, the contents of the fixed part image memory 37 and the contents of the variable part image memory 38 are combined by the data combining part 39 and sent to the print engine 34.

【0042】また、抽出したフォントデータは、フォン
ト展開部24にてドットイメージに展開されるが、固定
部登録フラグのON/OFFによりドットイメージデー
タを格納するイメージメモリが異なる。すなわち、S2
8にて、固定部登録フラグがONかOFFかをチェック
し、ONであれば固定部登録状態であると判断し、S2
9にて、印字データ(フォントデータ)を元にドットイ
メージデータを生成し、固定部イメージメモリ37に格
納する。また、OFFであれば、固定部登録状態でない
と判断し、S30にて、印字データ(フォントデータ)
を元にドットイメージデータを生成し、可変部イメージ
メモリ38に格納する。
Further, the extracted font data is expanded into a dot image by the font expansion unit 24, but the image memory for storing the dot image data differs depending on ON / OFF of the fixed part registration flag. That is, S2
At step 8, it is checked whether the fixed part registration flag is ON or OFF.
At 9, dot image data is generated based on the print data (font data) and stored in the fixed portion image memory 37. If it is OFF, it is determined that the fixed part is not registered, and print data (font data) is determined in S30.
The dot image data is generated based on the above, and stored in the variable part image memory 38.

【0043】また、抽出したイメージデータは、イメー
ジ展開部25にてドットイメージに展開されるが、固定
部登録フラグのON/OFFによりドットイメージデー
タを格納するイメージメモリが異なる。すなわち、S3
1にて、固定部登録フラグがONかOFFかをチェック
し、ONであれば固定部登録状態であると判断し、S3
2にて、印字データ(イメージデータ)を元にドットイ
メージデータを生成し、固定部イメージメモリ37に格
納する。また、OFFであれば、固定部登録状態でない
と判断し、S33にて、印字データ(イメージデータ)
を元にドットイメージデータを生成し、可変部イメージ
メモリ38に格納する。
The extracted image data is expanded into a dot image by the image expansion unit 25, but the image memory for storing the dot image data differs depending on whether the fixed part registration flag is ON or OFF. That is, S3
In step 1, it is checked whether the fixed part registration flag is ON or OFF. If it is ON, it is determined that the fixed part registration state is set, and S3
At 2, the dot image data is generated based on the print data (image data) and stored in the fixed portion image memory 37. If it is OFF, it is determined that the fixed part is not registered, and the print data (image data) is determined in S33.
The dot image data is generated based on the above, and stored in the variable part image memory 38.

【0044】このような構成において、例えば、図8の
(a) に示すラベルを印刷する場合、予め、固定部登録状
態にして固定部イメージメモリ37に図9の(a) に示す
内容を格納しておく。そして、固定部登録状態を解除
し、ホストコンピュータ1から図9の(b) に示す内容を
印字させるための印字データをページプリンタ2に送信
する。
In such a structure, for example, as shown in FIG.
When printing the label shown in (a), the contents shown in (a) of FIG. 9 are stored in the fixed part image memory 37 in advance in the fixed part registration state. Then, the fixed part registration state is released, and the host computer 1 transmits print data for printing the content shown in FIG. 9B to the page printer 2.

【0045】ページプリンタ2では、この印字データを
印字データ解析部231で解析し、フォント展開部24
にてドットイメージに展開し、可変部イメージメモリ3
8に図9の(b) に示す内容を格納する。
In the page printer 2, the print data analysis unit 231 analyzes this print data, and the font expansion unit 24
Expanded to a dot image at the variable image memory 3
8 stores the contents shown in FIG. 9 (b).

【0046】そして、ホストコンピュータ1からの印字
開始コマンドによりデータ合成部39が固定部イメージ
メモリ37の内容と、可変部イメージメモリ38の内容
を合成し、その合成データをプリントエンジン34に転
送する。こうしてプリントエンジン34はラベルに対し
て図8の(a) に示す内容の印字を行うことになる。
Then, in response to a print start command from the host computer 1, the data synthesizing unit 39 synthesizes the contents of the fixed unit image memory 37 and the contents of the variable unit image memory 38, and transfers the synthesized data to the print engine 34. In this way, the print engine 34 prints the content shown in FIG. 8A on the label.

【0047】続いて、図8の(b) に示すラベルを印刷す
る場合は、すでに固定部イメージメモリ37には図9の
(a) に示す内容が格納されているので、ホストコンピュ
ータ1からは図9の(c) に示す内容を印字させるための
印字データがページプリンタ2に送信される。
Subsequently, when printing the label shown in FIG. 8B, the fixed part image memory 37 has already been printed in FIG.
Since the contents shown in (a) are stored, print data for printing the contents shown in (c) of FIG. 9 is transmitted from the host computer 1 to the page printer 2.

【0048】ページプリンタ2では、この印字データを
印字データ解析部231で解析し、フォント展開部24
にてドットイメージに展開し、可変部イメージメモリ3
8に図9の(c) に示す内容を格納する。
In the page printer 2, the print data analysis unit 231 analyzes this print data, and the font expansion unit 24
Expanded to a dot image at the variable image memory 3
8 stores the contents shown in FIG. 9 (c).

【0049】そして、ホストコンピュータ1からの印字
開始コマンドによりデータ合成部39が固定部イメージ
メモリ37の内容と、可変部イメージメモリ38の内容
を合成し、その合成データをプリントエンジン34に転
送する。こうしてプリントエンジン34は用紙に対して
図8の(b) に示す内容の印字を行うことになる。同様に
して、次のラベルには図8の(c) に示す内容が印字され
ることになる。
Then, in response to a print start command from the host computer 1, the data synthesizing unit 39 synthesizes the contents of the fixed unit image memory 37 and the contents of the variable unit image memory 38, and transfers the synthesized data to the print engine 34. In this way, the print engine 34 prints the content shown in FIG. 8B on the paper. Similarly, the content shown in FIG. 8C is printed on the next label.

【0050】このように、複数枚のラベルに印字を行う
場合には、最初の1枚目のラベル印字を開始する前に、
固定部登録状態にして、全てのラベルに共通のフォント
データ及びイメージデータについてドットイメージに展
開したものを固定部イメージメモリ37に格納すること
で、各ラベルの印字においては可変部のデータのみをホ
ストコンピュータ1から受信しドットイメージに展開し
て可変部イメージメモリ38に格納すればよく、ドット
イメージに展開するデータ量が少なくできる。従って、
各ラベルへの印字時において、ドットイメージに展開す
る処理時間が短くなり、高速印字が実現できる。
As described above, when printing a plurality of labels, before printing the first label of the first sheet,
In the fixed part registration state, the font data and image data common to all the labels are expanded into dot images and stored in the fixed part image memory 37, so that only the variable part data is printed by the host when printing each label. It is only necessary to receive from the computer 1 and develop it into a dot image and store it in the variable part image memory 38, and the amount of data developed into a dot image can be reduced. Therefore,
At the time of printing on each label, the processing time for developing a dot image is shortened, and high-speed printing can be realized.

【0051】[0051]

【発明の効果】以上、請求項1対応の発明によれば、複
数ページの印字を行う場合に2ページ目以降について
は、ページメモリに展開すべきドットイメージがフォン
トキャッシュメモリ又はイメージキャッシュメモリに記
憶している場合には、対応するドットイメージをフォン
トキャッシュメモリ又はイメージキャッシュメモリから
読出して伸長しページメモリに展開するようにしている
ので、ドットイメージへの展開処理を短時間で迅速に行
うことができ高速印字が実現できる。
As described above, according to the first aspect of the invention, when printing a plurality of pages, the dot image to be expanded in the page memory is stored in the font cache memory or the image cache memory for the second and subsequent pages. If so, the corresponding dot image is read from the font cache memory or the image cache memory, decompressed, and expanded in the page memory, so that the expansion process into dot images can be performed quickly in a short time. High speed printing can be realized.

【0052】また、請求項2対応の発明によれば、複数
枚のラベルに印字を行う場合に、予め各ラベルの共通に
印字するドットイメージを固定部イメージメモリに格納
し、ラベルへの印字時には、固定部イメージメモリのド
ットイメージをそのまま使用し、変化する印字データの
みをドットイメージに展開するようにしているので、ド
ットイメージへの展開処理を短時間で迅速に行うことが
できラベルに対する高速印字が実現できる。
According to the second aspect of the invention, when printing on a plurality of labels, the dot image to be commonly printed on each label is stored in advance in the fixed part image memory, and at the time of printing on the label. Since the dot image of the fixed part image memory is used as it is and only the changing print data is expanded to the dot image, the expansion process to the dot image can be performed quickly in a short time and high-speed printing on the label. Can be realized.

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

【図1】本発明の第1の実施例を示すブロック図。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】同実施例のフォントキャッシュテーブルの構成
及びデータ格納例を示す図。
FIG. 2 is a diagram showing a configuration and a data storage example of a font cache table of the same embodiment.

【図3】同実施例のイメージキャッシュテーブルの構成
及びデータ格納例を示す図。
FIG. 3 is a diagram showing a configuration and an example of data storage of an image cache table of the same embodiment.

【図4】同実施例の複数ページ印字例を示す図。FIG. 4 is a diagram showing an example of printing multiple pages according to the embodiment.

【図5】同実施例の複数ページ印字処理を示す流れ図。FIG. 5 is a flowchart showing a multi-page printing process of the embodiment.

【図6】本発明の第2の実施例を示すブロック図。FIG. 6 is a block diagram showing a second embodiment of the present invention.

【図7】同実施例のラベル印字処理を示す流れ図。FIG. 7 is a flowchart showing a label printing process of the embodiment.

【図8】同実施例のラベルの複数枚印字例を示す図。FIG. 8 is a diagram showing an example of printing a plurality of labels according to the same embodiment.

【図9】図8の複数枚印字のときに固定部イメージメモ
リ及び可変部イメージメモリに格納するドットイメージ
データを示す図。
9 is a diagram showing dot image data stored in a fixed portion image memory and a variable portion image memory when printing a plurality of sheets in FIG.

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

1…ホストコンピュータ 2…ページプリンタ 21…CPU(中央処理装置) 23…印字データ解析部 24…フォント展開部 25…イメージ展開部 26…フォントキャッシュメモリ 27…イメージキャッシュメモリ 28…フォントキャッシュ情報管理部 29…イメージキャッシュ情報管理部 30…データ圧縮部 31…データ復元部 DESCRIPTION OF SYMBOLS 1 ... Host computer 2 ... Page printer 21 ... CPU (central processing unit) 23 ... Print data analysis unit 24 ... Font development unit 25 ... Image development unit 26 ... Font cache memory 27 ... Image cache memory 28 ... Font cache information management unit 29 Image cache information management unit 30 Data compression unit 31 Data restoration unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 上位機器からの印字データに基づいてド
ットイメージを作成し、このドットイメージをページメ
モリに展開した後印字出力するページプリンタにおい
て、 前記上位機器からの印字データを解析し、フォントデー
タとイメージデータを抽出する印字データ解析手段と、
この印字データ解析手段が抽出したフォントデータをド
ットイメージに展開するフォント展開手段と、前記印字
データ解析手段が抽出したイメージデータをドットイメ
ージに展開するイメージ展開手段と、前記フォント展開
手段及びイメージ展開手段が展開したドットイメージを
圧縮するデータ圧縮手段と、このデータ圧縮手段が圧縮
したフォントデータに対応するドットイメージを記憶す
るフォントキャッシュメモリと、前記データ圧縮手段が
圧縮したイメージデータに対応するドットイメージを記
憶するイメージキャッシュメモリと、前記フォントキャ
ッシュメモリ及びイメージキャッシュメモリに記憶して
いるドットイメージを伸長するデータ復元手段と、前記
ページメモリに展開すべきドットイメージが前記フォン
トキャッシュメモリ又はイメージキャッシュメモリに記
憶しているか否かを判断する判断手段とを備え、 複数ページの印字要求があると、2ページ目以降の印字
の場合は、前記判断手段にて、前記ページメモリに展開
すべきドットイメージが前記フォントキャッシュメモリ
又はイメージキャッシュメモリに記憶しているか否かを
判断し、記憶している場合には対応するドットイメージ
を前記フォントキャッシュメモリ又はイメージキャッシ
ュメモリから読出して前記データ復元手段で伸長し前記
ページメモリに展開することを特徴とするページプリン
タ。
1. A page printer that creates a dot image based on print data from a host device, develops this dot image in a page memory, and then prints it out, analyzes print data from the host device, and outputs font data. And print data analysis means for extracting image data,
A font expanding means for expanding the font data extracted by the print data analyzing means into a dot image, an image expanding means for expanding the image data extracted by the print data analyzing means into a dot image, the font expanding means and the image expanding means. A data compression means for compressing the dot image expanded by, a font cache memory for storing the dot image corresponding to the font data compressed by the data compression means, and a dot image corresponding to the image data compressed by the data compression means. The image cache memory to be stored, the font cache memory and data restoring means for expanding the dot image stored in the image cache memory, and the dot image to be expanded in the page memory are the font cache memory. Or, if there is a print request for a plurality of pages, the determination means determines whether or not it is stored in the image cache memory. It is determined whether or not the dot image to be stored is stored in the font cache memory or the image cache memory, and if it is stored, the corresponding dot image is read from the font cache memory or the image cache memory to restore the data. A page printer which is expanded by means and expanded in the page memory.
【請求項2】 上位機器からの印字データに基づいてド
ットイメージを作成し、このドットイメージをページメ
モリに展開した後ラベルに印字出力するページプリンタ
において、 前記上位機器からの印字データを解析し、フォントデー
タとイメージデータを抽出する印字データ解析手段と、
この印字データ解析手段が抽出したフォントデータをド
ットイメージに展開するフォント展開手段と、前記印字
データ解析手段が抽出したイメージデータをドットイメ
ージに展開するイメージ展開手段と、前記フォント展開
手段及びイメージ展開手段が展開したドットイメージが
予め登録する固定部データのときこのドットイメージを
格納する固定部イメージメモリと、前記フォント展開手
段及びイメージ展開手段が展開したドットイメージが固
定部データ以外の可変部データのときこのドットイメー
ジを格納する可変部イメージメモリと、前記固定部イメ
ージメモリのドットイメージと前記可変部イメージメモ
リのドットイメージを合成するデータ合成手段とを備
え、前記固定部イメージメモリ及び可変部イメージメモ
リで前記ページメモリを構成し、前記データ合成手段に
て合成したドットイメージを前記ラベルに印字出力する
ことを特徴とするページプリンタ。
2. A page printer that creates a dot image based on print data from a host device, develops this dot image in a page memory, and prints out on a label, analyzes print data from the host device, Print data analysis means for extracting font data and image data,
A font expanding means for expanding the font data extracted by the print data analyzing means into a dot image, an image expanding means for expanding the image data extracted by the print data analyzing means into a dot image, the font expanding means and the image expanding means. When the dot image expanded by is fixed part data registered in advance, when the fixed part image memory for storing this dot image and the dot image expanded by the font expanding means and the image expanding means is variable part data other than the fixed part data A variable part image memory for storing this dot image, and a data synthesizing means for synthesizing the dot image of the fixed part image memory and the dot image of the variable part image memory are provided. The page memo Configure, page printer that the dot image synthesized by said data synthesizing means, characterized in that printed out on the label.
JP7165712A 1995-06-30 1995-06-30 Page printer Pending JPH0911552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7165712A JPH0911552A (en) 1995-06-30 1995-06-30 Page printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7165712A JPH0911552A (en) 1995-06-30 1995-06-30 Page printer

Publications (1)

Publication Number Publication Date
JPH0911552A true JPH0911552A (en) 1997-01-14

Family

ID=15817633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7165712A Pending JPH0911552A (en) 1995-06-30 1995-06-30 Page printer

Country Status (1)

Country Link
JP (1) JPH0911552A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016055592A (en) * 2014-09-12 2016-04-21 セイコーエプソン株式会社 Printer and control method of the same
JP2016055593A (en) * 2014-09-12 2016-04-21 セイコーエプソン株式会社 Printer and control method of the same
JP2017077655A (en) * 2015-10-20 2017-04-27 京セラドキュメントソリューションズ株式会社 Image forming device and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016055592A (en) * 2014-09-12 2016-04-21 セイコーエプソン株式会社 Printer and control method of the same
JP2016055593A (en) * 2014-09-12 2016-04-21 セイコーエプソン株式会社 Printer and control method of the same
JP2017077655A (en) * 2015-10-20 2017-04-27 京セラドキュメントソリューションズ株式会社 Image forming device and program

Similar Documents

Publication Publication Date Title
KR960010410B1 (en) Output method and device
JPH0911552A (en) Page printer
JP2004070659A (en) Recording device, recording method, program, and storage medium
JPH04264915A (en) Form overlay printing system
JPH03225395A (en) Output device
JP3308663B2 (en) Image forming device
JPH01165443A (en) printer
JP3204136B2 (en) Image processing apparatus and compression processing method
JPH0863145A (en) Pattern generating method and apparatus
JP3636891B2 (en) Color image output method
JPS63242561A (en) Font reducing system
JP2771680B2 (en) Output device
JP3143520B2 (en) Character processing apparatus and method
JPH0939312A (en) Printing device, printing method, and printing system
JP3083406B2 (en) Printing method and apparatus
JP2004230726A (en) Drawing processing method and drawing processing device
JPH0924642A (en) Character processing apparatus and method
JP2000168150A (en) Image data-forming apparatus
JPH07323602A (en) Printing device and object drawing method of printing device
JPH03112668A (en) printing device
JPH06238860A (en) Character pattern generating method
JPH05281946A (en) Character output method and device
JPH01173094A (en) Image output device having character indicator
JPS63165919A (en) Japanese word line printer
JPH03147017A (en) Image processing device