JPH10293669A - Print system and print control method - Google Patents

Print system and print control method

Info

Publication number
JPH10293669A
JPH10293669A JP10019719A JP1971998A JPH10293669A JP H10293669 A JPH10293669 A JP H10293669A JP 10019719 A JP10019719 A JP 10019719A JP 1971998 A JP1971998 A JP 1971998A JP H10293669 A JPH10293669 A JP H10293669A
Authority
JP
Japan
Prior art keywords
character
data
page
image
character set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10019719A
Other languages
Japanese (ja)
Other versions
JP3768670B2 (en
Inventor
Masanari Toda
雅成 戸田
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 JP01971998A priority Critical patent/JP3768670B2/en
Priority to US09/028,343 priority patent/US6317217B1/en
Priority claimed from US09/028,343 external-priority patent/US6317217B1/en
Publication of JPH10293669A publication Critical patent/JPH10293669A/en
Application granted granted Critical
Publication of JP3768670B2 publication Critical patent/JP3768670B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a printer which has its fast processing speed in a simple constitution. SOLUTION: A host computer 101 extracts the characters from the print data, gives an ID to every character and secures the correspondence between the ID and an image to produce a character set 202 in the prescribed length. In regard to the data to be sent to a printer, the character data 205 are shown in its position and the character ID and other data are expanded to the image to be compressed for every band image 203. Both character and image data are produced also in the prescribed length. These obtained data 204 are sent to a printer 102. The printer 102 controls the read/write of data in every prescribed length and opens its idle area. As the idle area of the printer 102 is defined in the prescribed length, all data received from the computer 101 are stored in the idle area. Therefore, the printer 102 never expands the characters and is not required to collect the unused areas.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ホスト・コンピュ
ータからの印刷情報を受けて動作する印刷装置を含む印
刷システム及び印刷制御方法に関するものであり、特に
プリンタ制御言語(PDL(Printer Description Langu
ag))やプリンタ制御コマンドなどと呼ばれるプリンタ
制御機能を持つ印刷装置及び、その印刷装置のためにホ
ストコンピュータ側で用意されるプリンタドライバ、ま
たはプリントスプーラやプリントプロセッサなどと呼ば
れるソフトウェアを含む印刷システムや印刷制御方法に
関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a printing system including a printing apparatus which operates by receiving printing information from a host computer and a printing control method, and more particularly to a printer control language (PDL (Printer Description Language)).
a) a) a printing device having a printer control function called a printer control command, a printer driver prepared on the host computer side for the printing device, or a printing system including software called a print spooler or a print processor. The present invention relates to a print control method.

【0002】[0002]

【従来の技術】近年の印刷装置として、CAD(計算機
支援用設計)、CG(コンピュータグラフィックス)、
デザイン、ビジネスにおけるDTP(デスクトップパブ
リッシング)分野等のマルチメディア処理で利用される
データを高精細に印刷・記録するプリンタが製品化され
ている。
2. Description of the Related Art Recent printing apparatuses include CAD (design for computer support), CG (computer graphics),
2. Description of the Related Art Printers that print and record data used in multimedia processing in the DTP (Desktop Publishing) field in design and business with high definition have been commercialized.

【0003】このようなプリンタとして、ホストコンピ
ュータから送られるPDL(ページ記述言語)コードを
受け取って解析して作成した中間言語をハードウェアま
たはソフトウェアで高速にレンダリング(ラスタライ
ズ)するPDLプリンタと、低価格化するためにプリン
タ側の機能を減らし、ホストコンピュータ側でプリント
が出力可能なイメージデータ形式にまでラスタライズし
てプリンタに送信するイメージプリンタがある。
As such a printer, a PDL (Page Description Language) printer which receives and analyzes a PDL (Page Description Language) code sent from a host computer and renders (rasterizes) an intermediate language at high speed by hardware or software, and a low-cost printer There are image printers that reduce the functions of the printer side in order to realize the rasterization, rasterize the image data into an image data format that can be output on the host computer side, and transmit the image data to the printer.

【0004】PDLプリンタはページ内の情報をページ
記述言語として受取り、中間言語を作成し、1ページ分
溜まったところで描画処理を行うものである。
A PDL printer receives information in a page as a page description language, creates an intermediate language, and performs a drawing process when one page is accumulated.

【0005】文字の描画方法はプリンタ内部のROM内
にあるフォントデータを使う場合と、ホストコンピュー
タでフォントデータを展開してイメージデータにして送
ってくる場合があるが、ディスプレイの表示と同じ印刷
結果を得るために後者の利用率が上がっている。
[0005] There are two methods of drawing characters: one is to use font data stored in the ROM in the printer, and the other is to develop font data by the host computer and send it as image data. The use rate of the latter is increasing in order to gain.

【0006】[0006]

【発明が解決しようとする課題】しかし、文字すべてを
イメージデータとして送ると転送データ量が増え、描画
速度が低下する。
However, if all characters are sent as image data, the amount of transfer data increases and the drawing speed decreases.

【0007】本発明の目的は、前記イメージプリンタに
近い、簡単な構成のイメージ専用プリンタでありなが
ら、文字の部分は文字コードで受信して文字画像に展開
することで、ホストにおける文字の展開処理時間とホス
トからの転送データ量とを非常に小さくし、しかも印刷
装置のメモリ容量を小さく抑えて効率的に利用する印刷
システム及び印刷制御方法を提供することである。
An object of the present invention is to provide an image-only printer having a simple structure similar to the image printer described above, but to receive a character portion by a character code and to develop it into a character image, so that a host can perform character development processing. It is an object of the present invention to provide a printing system and a printing control method that make use of time and the amount of data transferred from a host extremely small, and further reduce the memory capacity of a printing apparatus to be used efficiently.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明は次のような構成からなる。すなわち、文字
データを含む印刷データを作成する情報処理装置と印刷
システムとを接続して成る印刷システムであって、前記
情報処理装置は、1プリントジョブ分の印刷データから
文字データを抽出する文字抽出手段と、前記文字抽出手
段により抽出された文字データの登録番号と文字画像と
それが出現するページとを検索可能に格納する第1の格
納手段と、印刷するページに応じて、前記第1の格納手
段に格納された文字データから、文字の登録番号とその
文字画像とを含む所定長の文字セットデータを生成する
文字セット生成手段と、印刷するページごとに文字の登
録番号を含む文字描画命令を生成し、該文字描画命令
と、前記文字セットデータと、文字セットデータを削除
する削除命令とを印刷装置に送信する送信手段とを備
え、前記印刷装置は、受信した文字描画命令と文字セッ
トデータと削除命令とを格納する第2の格納手段と、前
記第2の格納手段へのデータの書き込み及び削除を所定
長の領域を単位として、ページごとに管理する管理手段
と、前記格納手段に格納された文字描画命令と文字セッ
トデータと削除命令とに基づいてページごとに画像を形
成する出力手段とを備える。
In order to achieve the above object, the present invention has the following arrangement. That is, the present invention provides a printing system in which an information processing apparatus that creates print data including character data and a printing system are connected, and the information processing apparatus is a character extraction apparatus that extracts character data from print data for one print job. Means, first registration means for retrievably storing the registration number and character image of the character data extracted by the character extraction means and the page in which the character image appears, and the first storage means according to the page to be printed. Character set generating means for generating character set data of a predetermined length including a character registration number and its character image from the character data stored in the storage means; and a character drawing instruction including a character registration number for each page to be printed And transmitting means for transmitting the character drawing instruction, the character set data, and a deletion instruction for deleting the character set data to a printing apparatus. The printing apparatus stores a received character drawing command, character set data, and a deletion command in a second storage unit, and writes and deletes data in and from the second storage unit in units of an area having a predetermined length. And an output unit for forming an image for each page based on a character drawing command, character set data, and a deletion command stored in the storage unit.

【0009】あるいは、文字データを含む印刷データを
作成して印刷装置により印刷させる印刷制御装置であっ
て、1プリントジョブ分の印刷データから文字データを
抽出する文字抽出手段と、前記文字抽出手段により抽出
された文字データの登録番号と文字画像とそれが出現す
るページとを検索可能に格納する格納手段と、印刷する
ページに応じて、前記第1の格納手段に格納された文字
データから、文字の登録番号とその文字画像とを含む所
定長の文字セットデータを生成する文字セット生成手段
と、印刷するページごとに文字の登録番号を含む文字描
画命令を生成し、該文字描画命令と、前記文字セットデ
ータと、文字セットデータを削除する削除命令とを印刷
装置に送信する送信手段とを備る。
[0009] Alternatively, a print control apparatus for creating print data including character data and printing the print data with a printing apparatus, wherein the character extraction means extracts character data from print data for one print job, and the character extraction means Storage means for retrievably storing the registration number and the character image of the extracted character data and the page in which the character image appears, and character data from the character data stored in the first storage means according to the page to be printed. Character set generating means for generating character set data of a predetermined length including a registration number and a character image of the character set; generating a character drawing instruction including a registration number of a character for each page to be printed; There is provided transmission means for transmitting the character set data and a deletion instruction for deleting the character set data to the printing apparatus.

【0010】あるいは、文字描画命令と文字セットデー
タと文字セットデータの削除命令とを情報処理装置から
受信して印刷する印刷装置であって、受信した文字描画
命令と文字セットデータと削除命令とを格納する格納手
段と、前記第2の格納手段へのデータの書き込み及び削
除を所定長の領域を単位として、ページごとに管理する
管理手段と、前記格納手段に格納された文字描画命令と
文字セットデータと削除命令とに基づいてページごとに
画像を形成する出力手段とを備える。
[0010] Alternatively, the printing apparatus receives a character drawing instruction, character set data, and a character set data deletion instruction from an information processing apparatus and prints the received character drawing instruction, character set data, and deletion instruction. Storage means for storing, management means for managing writing and deletion of data to and from the second storage means for each page in units of a predetermined length area, character drawing instructions and character sets stored in the storage means Output means for forming an image for each page based on the data and the delete command.

【0011】あるいは、文字データを含む印刷データを
作成して印刷装置により印刷させる印刷制御方法であっ
て、1プリントジョブ分の印刷データから文字データを
抽出する文字抽出工程と、前記文字抽出手段により抽出
された文字データの登録番号と文字画像とそれが出現す
るページとを検索可能にメモリに格納する格納工程と、
印刷するページに応じて、前記メモリに格納された文字
データから、文字の登録番号とその文字画像とを含む所
定長の文字セットデータを生成する文字セット生成工程
と、印刷するページごとに文字の登録番号を含む文字描
画命令を生成し、該文字描画命令と、前記文字セットデ
ータと、文字セットデータを削除する削除命令とを印刷
装置に送信する送信工程とを備る。
Alternatively, there is provided a print control method for generating print data including character data and printing the print data by a printing apparatus, wherein the character extracting step includes extracting character data from print data for one print job. A storage step of storing the registration number and the character image of the extracted character data and the page where the character image appears in a memory in a searchable manner;
A character set generating step of generating character set data of a predetermined length including a character registration number and its character image from the character data stored in the memory in accordance with a page to be printed; and A transmitting step of generating a character drawing command including a registration number, and transmitting the character drawing command, the character set data, and a deletion command for deleting the character set data to a printing apparatus.

【0012】あるいは、文字描画命令と文字セットデー
タと文字セットデータの削除命令とを情報処理装置から
受信して印刷する印刷方法であって、受信した文字描画
命令と文字セットデータと削除命令とをメモリに格納す
る格納手段と、前記第2の格納手段へのデータの書き込
み及び削除を所定長の領域を単位として、ページごとに
管理する管理工程と、前記メモリに格納された文字描画
命令と文字セットデータと削除命令とに基づいてページ
ごとに画像を形成する画像形成工程とを備える。
Alternatively, there is provided a printing method for receiving a character drawing command, character set data, and a character set data deletion command from an information processing apparatus and printing the received character drawing command, character set data, and deletion command. Storage means for storing data in a memory; management step of managing writing and deletion of data to and from the second storage means in units of a predetermined length area for each page; and a character drawing command and a character stored in the memory. An image forming step of forming an image for each page based on the set data and the delete command.

【0013】あるいは、文字データを含む印刷データを
作成して印刷装置により印刷させるプログラムを格納す
るコンピュータ可読記憶媒体であって、1プリントジョ
ブ分の印刷データから文字データを抽出する文字抽出手
段と、前記文字抽出手段により抽出された文字データの
登録番号と文字画像とそれが出現するページとを検索可
能に格納する格納手段と、印刷するページに応じて、前
記第1の格納手段に格納された文字データから、文字の
登録番号とその文字画像とを含む所定長の文字セットデ
ータを生成する文字セット生成手段と、印刷するページ
ごとに文字の登録番号を含む文字描画命令を生成し、該
文字描画命令と、前記文字セットデータと、文字セット
データを削除する削除命令とを印刷装置に送信する送信
手段として前記コンピュータを機能させるプログラムを
記憶する。
[0013] Alternatively, a computer readable storage medium for storing a program for creating print data including character data and causing the printing device to print the print data, wherein character extraction means for extracting character data from print data for one print job; A storage unit for retrievably storing a registration number and a character image of the character data extracted by the character extraction unit and a page where the character image appears, and a first storage unit which stores the registration number and the character image in accordance with the page to be printed. Character set generating means for generating character set data of a predetermined length including a character registration number and a character image thereof from character data; and generating a character drawing instruction including a character registration number for each page to be printed, The transmission means for transmitting a drawing command, the character set data, and a deletion command for deleting the character set data to a printing apparatus includes the command. Storing a program that causes a computer.

【0014】[0014]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(第一実施形態)本発明の印刷手法の実施の形態につい
て説明する。図1は実施の形態における印刷装置の構成
を示すブロック図である。 <システムの構成>図1において、101はホストコン
ピュータである。ホストコンピュータ101において
は、文字や自然画像などを含んだ画像を作成する作画ア
プリケーションを用いて作成したデータを、CPU10
11で実行されるイメージドライバによって、プリンタ
が受け取れるデータ形式に変換する。変換されたデータ
をプリンタコントローラ102に送出する。このイメー
ジドライバは外部メモリ1013あるいは主メモリ10
12に格納されたプログラムである。
(First Embodiment) An embodiment of a printing method according to the present invention will be described. FIG. 1 is a block diagram illustrating a configuration of a printing apparatus according to the embodiment. <System Configuration> In FIG. 1, reference numeral 101 denotes a host computer. In the host computer 101, data created by using a drawing application for creating an image including characters, natural images, and the like is transmitted to the CPU 10.
The image data is converted into a data format that can be received by the printer by the image driver executed in step S11. The converted data is sent to the printer controller 102. This image driver is connected to the external memory 1013 or the main memory 10.
12 is a program stored in the program.

【0015】プリンタコントローラ102に入力された
データはDMA転送によって入力バッファ103(RA
M)に格納される。入力バッファ103に格納されたデ
ータは、CPU105で実行されるプログラム用ROM
104内の転送データ解析プログラムによって処理され
る。また入力バッファ103は文字セットデータを保持
するための領域としても利用される。プログラム用RO
M104は後述する図に示す処理手順(制御プログラ
ム)を格納するメモリであり、CPU105がこの制御
プログラムにしたがってデータを読み込み各処理を実行
する。
The data input to the printer controller 102 is transferred to an input buffer 103 (RA) by DMA transfer.
M). The data stored in the input buffer 103 is a program ROM executed by the CPU 105.
The processing is performed by the transfer data analysis program in 104. The input buffer 103 is also used as an area for holding character set data. RO for program
M104 is a memory for storing processing procedures (control programs) shown in the figures described later, and the CPU 105 reads data according to the control programs and executes each processing.

【0016】CPU105は入力バッファに格納された
イメージデータの描画位置などのパラメータをイメージ
ハードレンダラ107にセットする。イメージハードレ
ンダラ107は入力バッファ内の圧縮されたイメージデ
ータを伸長してバンドメモリ108に描画する。
The CPU 105 sets parameters such as the drawing position of the image data stored in the input buffer in the image hard renderer 107. The image hard renderer 107 expands the compressed image data in the input buffer and draws it on the band memory 108.

【0017】CPU105は入力バッファに格納された
文字描画命令を解析し、既に登録された文字データを文
字ハードレンダラ106にセットする。文字ハードレン
ダラ106は入力バッファ内の文字データを文字のイメ
ージに展開して、バンドメモリ108に既に展開されて
いるイメージがあればその上に直接描画する。
The CPU 105 analyzes the character drawing command stored in the input buffer, and sets the already registered character data in the character hard renderer 106. The character hard renderer 106 expands the character data in the input buffer into a character image, and directly draws the image already expanded on the band memory 108, if any.

【0018】バンドメモリ(ページ幅×128画素程度
のバンドの高さ)は少なくとも2つ備えられ、ひとつの
メモリがシッピング状態(バンドメモリからエンジン部
へとイメージデータが出力されている状態)であれば、
他のメモリは、イメージ展開状態(バンドメモリに文字
データ以外のイメージデータを展開している状態)及び
文字描画状態(バンドメモリに文字イメージを展開して
いる状態)とを続けて行う行うことによってイメージの
合成処理を行っている。合成が終わったバンドの情報は
即座にプリンタインターフェース109を介してプリン
タエンジン110に送られる。一方、シッピングが終え
たバンドメモリには、イメージ展開及び文字描画が行わ
れる。
At least two band memories (page width × band height of about 128 pixels) are provided, and one of the memories is in a shipping state (a state in which image data is output from the band memory to the engine unit). If
The other memories continuously perform an image development state (a state in which image data other than character data is developed in the band memory) and a character drawing state (a state in which a character image is developed in the band memory). The image is being synthesized. The information of the band after the synthesis is immediately sent to the printer engine 110 via the printer interface 109. On the other hand, image development and character drawing are performed on the band memory after shipping.

【0019】プリンタインターフェース109は、プリ
ンタエンジン110、例えばLBPとの間でバンドメモ
リ108との間でプリンタエンジン110へのコマンド
送信やプリンタエンジン110からのステータス(デー
タ格納可能など)受信を行う。
The printer interface 109 transmits a command to the printer engine 110 and a status (data can be stored) from the printer engine 110 to and from the band memory 108 with the printer engine 110, for example, LBP.

【0020】CPU105はプリンタコントローラ10
2の内部処理を制御する演算装置であり、プリンタ全体
を制御している。110はプリンタコントローラ102
から送出されるビデオ信号を印字するプリンタエンジン
であり、電子写真によるLBPでもインクジェット方式
であっても良い。またカラープリンタでもモノクロプリ
ンタでも良い。 <TypeWing方式の説明>上記構成のシステムに
おいては、ホストコンピュータから印刷データをプリン
タに送るに際して、その前にジョブごとにデータの先頭
から順に文字データを拾う。その文字が初めて送られる
文字データであればその登録番号(文字ID)と文字イ
メージとを所定数セットにしてプリンタに登録し(これ
を文字セットと呼び、その識別子を文字セットIDと呼
ぶ)、2回目以降の文字は文字IDと描画位置とをホス
トコンピュータからプリンタに送る。プリンタでは、先
に登録されている文字IDとその文字の文字イメージと
を参照して文字イメージを展開し、印刷するイメージを
作成する。この手法を発明者らはTypeWing方式
と呼んでいる。
The CPU 105 is a printer controller 10
2 is an arithmetic device that controls internal processing, and controls the entire printer. 110 is a printer controller 102
The printer engine prints the video signal sent from the printer, and may be an LBP based on electrophotography or an inkjet system. Further, a color printer or a monochrome printer may be used. <Description of TypeWing Method> In the system having the above configuration, when print data is sent from the host computer to the printer, character data is sequentially picked up from the beginning of the data for each job before the print data is sent to the printer. If the character is character data to be sent for the first time, the registration number (character ID) and character image are registered in a printer in a predetermined number set (this is called a character set, and its identifier is called a character set ID). For the second and subsequent characters, the character ID and the drawing position are sent from the host computer to the printer. The printer develops the character image by referring to the previously registered character ID and the character image of the character, and creates an image to be printed. The inventors call this method the TypeWing method.

【0021】本実施例におけるTypeWing方式
は、ホストコンピュータからプリンタへ文字セットデー
タを登録するための文字セット登録命令、印刷データに
おける文字描画命令、登録されている文字セットを削除
するための文字セット削除命令で実現可能である。プリ
ンタは、各命令に対して次のように動作する。
The TypeWing method according to the present embodiment employs a character set registration command for registering character set data from a host computer to a printer, a character drawing command for print data, and a character set deletion for deleting a registered character set. It can be realized by instructions. The printer operates as follows for each command.

【0022】文字セット登録命令によって、文字セット
IDに対応したフォントセット用アドレステーブル領域
を確保し、その文字セットに含まれる文字IDと文字イ
メージデータを関連づけて登録する。
According to the character set registration command, a font set address table area corresponding to the character set ID is secured, and the character ID included in the character set and the character image data are registered in association with each other.

【0023】登録文字印字(文字描画)命令によって、
既に登録されている文字を指定された位置に描画する。
According to a registered character printing (character drawing) command,
Draws an already registered character at a specified position.

【0024】文字セット削除命令は、プリンタ内部のメ
モリが一杯になった場合などにあまり使わない文字セッ
トを消去するための命令であり、登録されている文字セ
ットから指定された文字セットを削除してその領域を開
放する。
The character set deletion command is a command for deleting a character set which is not frequently used when the memory inside the printer is full, and deletes a designated character set from a registered character set. Open the area.

【0025】このTypeWing方式により、文字は
コード化されるためにデータ量が減り、ホストコンピュ
ータからプリンタへの転送時間も短くなる。そのため、
低価格プリンタで文字印字の高速化を実現するために
は、イメージプリンタにTypeWing方式を取り入
れる方法が有効である。
According to the TypeWing system, characters are encoded, so that the data amount is reduced and the transfer time from the host computer to the printer is also reduced. for that reason,
In order to realize high-speed character printing with a low-cost printer, it is effective to incorporate a TypeWing system into an image printer.

【0026】図2はホストコンピュータで文字と図形が
混ざったデータを作成し、プリンタコントローラで出力
するまでを示す説明図である。
FIG. 2 is an explanatory diagram showing the process of creating data in which characters and graphics are mixed by the host computer and outputting the data by the printer controller.

【0027】201はホストコンピュータ101の作画
アプリケーションで作画した結果をディスプレイに表示
した出力結果の模式図である。ホストコンピュータ10
1においては、文字はキャラクタコード、線はその開始
点と終了点と線幅等のデータ形式で保持している。プリ
ンタドライバはこれらのデータ形式からプリンタコント
ローラ102が出力可能なデータ形式に変換する。 (プリンタドライバの処理) (1)プリントジョブの初期化 1プリントジョブ全体の印刷データをスキャンし、プリ
ンタコントローラ102が描画可能な文字を抽出して、
抽出された文字を文字種毎に管理テーブルに保存する。
管理テーブルの各文字には、出現したページの情報も付
加する。1プリントジョブ全体について、文字の管理テ
ーブルへの保存が終了した後、複数のページで使用され
る文字を集めて、ビットマップフォントデータと文字識
別子とで構成される文字セットを作成する。 (2)ページデータの生成 1ページに必要な文字セットを生成する。印刷データを
再度スキャンし、文字データについては、その文字デー
タが属する文字セットの識別子(ID)、その文字セッ
ト内での文字識別子(ID)、文字のページ内の描画位
置で文字描画命令を生成する。
Reference numeral 201 denotes a schematic diagram of an output result in which the result of drawing by the drawing application of the host computer 101 is displayed on a display. Host computer 10
In 1, the character is stored in a character code, and the line is stored in a data format such as a start point, an end point, and a line width. The printer driver converts these data formats into a data format that can be output by the printer controller 102. (Process of Printer Driver) (1) Initialization of Print Job The print data of the entire print job is scanned, and characters that can be drawn by the printer controller 102 are extracted.
The extracted characters are stored in the management table for each character type.
Information on the page that has appeared is also added to each character in the management table. After the storage of the characters in the management table for one print job is completed, the characters used in a plurality of pages are collected to create a character set including bitmap font data and a character identifier. (2) Generation of page data A character set required for one page is generated. The print data is scanned again, and for the character data, a character drawing instruction is generated based on the identifier (ID) of the character set to which the character data belongs, the character identifier (ID) within the character set, and the drawing position of the character in the page. I do.

【0028】文字として描画する印刷データ以外は全て
イメージデータに展開する。それをバンドメモリ108
のサイズ毎に伸長できるよう、バンド毎に圧縮して圧縮
イメージデータ203とする。こうして生成された1ペ
ージ分の文字描画命令及び圧縮イメージデータ及びその
ページに必要な文字セットデータをページデータと称す
る。 (3)データ転送 ホストコンピュータ101の内部メモリ空間に1ページ
分のページデータがそろうと、プリンタコントローラ1
02に文字セット登録命令及び文字描画命令を送り付
け、プリンタコトローラ102のメモリに余裕がある限
りイメージデータをプリンタに転送する。
Except for print data to be rendered as characters, all data is developed into image data. Band memory 108
The compressed image data 203 is compressed for each band so that the compressed image data 203 can be expanded for each size. The character drawing command and compressed image data for one page thus generated and character set data necessary for the page are referred to as page data. (3) Data transfer When one page of page data is stored in the internal memory space of the host computer 101, the printer controller 1
02, a character set registration command and a character drawing command are sent, and the image data is transferred to the printer as long as the memory of the printer controller 102 has room.

【0029】プリンタコントローラ102からメモリに
十分な余裕ができたことを知らされると、空いた分だけ
続きのイメージデータを送り付ける。 (4)不要データの削除 1ページ分のページデータの転送を終えると、ホストコ
ンピュータ101は、そのページでしか使われない文字
で構成された文字セットの削除命令を作成し、印刷装置
に転送する。
When the printer controller 102 informs the memory that there is enough room, it sends the subsequent image data as much as it becomes available. (4) Deletion of Unnecessary Data When the transfer of the page data for one page is completed, the host computer 101 creates an instruction to delete a character set composed of characters used only in the page, and transfers the instruction to the printing apparatus. .

【0030】なお、ホストコンピュータでは、プリンタ
からの出力が済んだか否かに関わらず命令やデータをプ
リンタに次々と転送する。プリンタは、印刷の状態とホ
ストコンピュータからの命令とに応じて文字セットを管
理する。例えば、あるページを出力し終えたなら、その
後にそのページの文字セット削除命令を処理すること
で、データの整合性を取る。こうすることで、プリンタ
とホストとが双方向通信で接続されなくとも、本実施形
態の処理を行うことが可能となる。
Note that the host computer successively transfers commands and data to the printer irrespective of whether or not output from the printer has been completed. The printer manages a character set according to a printing state and a command from a host computer. For example, after outputting a certain page, data consistency is obtained by processing a character set deletion command of the page after that. By doing so, the processing of the present embodiment can be performed even if the printer and the host are not connected by bidirectional communication.

【0031】図3は、ホストコンピュータ101により
文字セットの管理の為に用意される各種テーブルを示し
ている。
FIG. 3 shows various tables prepared by the host computer 101 for managing character sets.

【0032】図3において、ドライバ管理用文字テーブ
ル群301は、印刷ジョブを単位として用意されるテー
ブル群で、文字セットテーブル303と文字管理テーブ
ル304が含まれる。 (ドライバ管理用文字セット)ドライバ管理用文字セッ
ト301は、プリンタドライバによりプリンタが有する
文字セットを管理する為に、その印刷ジョブ中はホスト
コンピュータに保持されている。
In FIG. 3, a driver management character table group 301 is a table group prepared for each print job, and includes a character set table 303 and a character management table 304. (Driver Management Character Set) The driver management character set 301 is held in the host computer during the print job in order to manage the character set of the printer by the printer driver.

【0033】文字セットテーブル303は、文字種(ポ
イント数や明朝、ゴシックなど)に分けて文字セットを
登録してあるテーブルである。プリンタドライバは、1
ジョブ中の印刷しようとするデータに含まれる文字を調
べ、その文字種をドライバ管理用文字セットテーブル3
03に登録する。この文字種の登録は、ドライバ管理用
文字セットテーブル303のポインタ部に文字種毎に対
応するドライバ管理用文字管理テーブル304へのポイ
ンタがセットされることで行われる。
The character set table 303 is a table in which character sets are registered for each character type (point count, Mincho, Gothic, etc.). The printer driver is 1
A character included in data to be printed in the job is checked, and the character type is determined by the driver management character set table 3.
Register at 03. The registration of the character type is performed by setting a pointer to the driver management character management table 304 corresponding to each character type in the pointer portion of the driver management character set table 303.

【0034】ドライバ管理用文字管理テーブル304は
各文字種毎に作成される。以下図9で文字管理テーブル
304の構造を説明する。
The driver management character management table 304 is created for each character type. Hereinafter, the structure of the character management table 304 will be described with reference to FIG.

【0035】ページデータに含まれる文字は、ホストコ
ンピュータで使用されている文字コードとは別に、各文
字に固有の文字ID901が文字毎に割り当てられる。
割り当てられた文字ID901は、高速に検索可能な方
法、例えばハッシングなどにより文字コードから検索で
きるように登録される。
For the characters included in the page data, a unique character ID 901 is assigned to each character separately from the character code used in the host computer.
The assigned character ID 901 is registered so that it can be searched from the character code by a method that can be searched at high speed, for example, hashing.

【0036】初めて登録される時は、出現したページ番
号を、minPage902、maXPage903に
セットする。ビットマップ形式に展開した文字データは
文字データ格納領域に保管し、その先頭アドレスを文字
ポインタ904にセットする。
When a page is first registered, the page number that appears is set in minPage902 and maXPage903. The character data expanded in the bitmap format is stored in a character data storage area, and the start address is set in a character pointer 904.

【0037】1ジョブ中に同一文字が複数回出現した際
は、ドライバ管理用文字管理テーブル304内の対応す
る文字IDを見つけ、出現したページ番号でmaxPa
ge903を更新する。
When the same character appears a plurality of times in one job, the corresponding character ID in the driver management character management table 304 is found, and the maximum
Update ge903.

【0038】1ジョブ分の文字が登録されると、ドライ
バ管理用文字管理テーブル304に登録された文字の出
現したページ番号を参照し、プリンタ転送用文字セット
を作成する為のグループ分けを行う。プリンタ転送用文
字セットを作成するに当たり、まず複数のページで用い
られる文字のうち、共通するページ範囲で用いられる文
字同士をグループ化する。それによって1ジョブ中で極
力同一文字のビットマップデータ転送を行わないように
する。
When the characters for one job are registered, the grouping for creating a printer transfer character set is performed by referring to the page number where the characters registered in the driver management character management table 304 appear. To create a printer transfer character set, first, of the characters used in a plurality of pages, characters used in a common page range are grouped. This prevents bitmap data transfer of the same character as much as possible in one job.

【0039】このグループが決定したら、1ページ目に
必要となる文字セットのグループ分けを行う。1ページ
目に必要な文字セットのグループが決定したら、プリン
タ転送用文字セットを作成し、プリンタ転送用文字セッ
トの管理テーブル305に登録する。
When this group is determined, the character sets required for the first page are grouped. When the character set group necessary for the first page is determined, a character set for printer transfer is created and registered in the management table 305 for the character set for printer transfer.

【0040】このように、文字セットのグルーピングは
下記の3つのルールに従って行われる。 (1)ページの描画に必要な文字は全て印刷装置内に転
送されていなくてはならない。 (2)印刷装置内のデータ格納メモリがあふれないよ
う、不用になった文字セットは、文字セット削除命令で
消去される。 (3)互いに共通のページ範囲で使われる文字同士は、
同じ文字セットに登録することで再送回数を減らすよう
にする。
As described above, character set grouping is performed according to the following three rules. (1) All characters required for drawing a page must be transferred to the printing device. (2) Unnecessary character sets are deleted by a character set delete command so that the data storage memory in the printing apparatus does not overflow. (3) Characters used in a common page range are
Reduce the number of retransmissions by registering in the same character set.

【0041】文字が格納された文字セットのIDと、文
字セット内のオフセット値(相対アドレス)は、文字管
理テーブル304のCharSetID905,Off
set906に登録される。
The ID of the character set in which the character is stored and the offset value (relative address) in the character set are set in CharSetID 905, Off of the character management table 304.
It is registered in set906.

【0042】なお、ひらがな、数字などの頻繁に出現す
る文字の文字IDは予約されており、文字管理テーブル
304においてその予約されたIDの位置に優先的に登
録される。このことにより、ハッシュ関数の計算や衝突
時の処理などのオーバーヘッドを防止できる。 (文字のグループ化及びプリンタ転送用文字セット作成
例)図10は、こうして生成されたドライバ管理用文字
セットの一例を示す図である。例えば文字1すなわち文
字IDが”1”の文字と、文字7すなわち文字IDが”
7”の文字は、1ページ目から5ページ目までの間で用
いられており、文字8、すなわち文字IDが”8”の文
字は5ページ目でだけ用いられていることがわかる。従
って、文字1と文字7とは、それらが用いられるページ
範囲が同じであるから同一のグループにまとめられる。
そのほかの文字は全て用いられるページ範囲が互いに異
なっているから、別々のグループに分けられる。
It should be noted that character IDs of characters that frequently appear, such as hiragana and numerals, are reserved, and are preferentially registered in the character management table 304 at the positions of the reserved IDs. Thus, overhead such as calculation of a hash function and processing at the time of collision can be prevented. (Example of Character Grouping and Creation of Printer Transfer Character Set) FIG. 10 is a diagram showing an example of the driver management character set generated in this manner. For example, the character 1 or character ID is “1” and the character 7 or character ID is “
It can be seen that the character "7" is used from the first page to the fifth page, and the character 8, that is, the character with the character ID "8" is used only on the fifth page. Characters 1 and 7 are grouped into the same group because they use the same page range.
All other characters are separated into different groups because the page ranges used are different from each other.

【0043】このグループから転送用文字セットを作成
する際には、プリンタ転送用文字セットは固定長である
ことから、文字セットの長さに応じて複数のグループを
ひとつの文字セットにまとめた方が効率的な場合もあ
る。まとめた方が良いグループの条件は、例えば次の2
つの条件をともに満たすことである。 (1)まとめられて作成されたプリンタ転送用文字セット
が前記固定長に収まる。 (2)使用されるページ範囲が連続しているか、あるいは
重複している。
When creating a character set for transfer from this group, the character set for printer transfer has a fixed length. Therefore, it is preferable to combine a plurality of groups into one character set according to the length of the character set. May be more efficient. Group conditions that should be summarized are, for example, the following 2
To satisfy both conditions. (1) The printer transfer character sets created together fall within the fixed length. (2) The page ranges used are continuous or overlapping.

【0044】図10においては、例えば文字1と文字7
の使用範囲は、他のすべての文字の使用範囲を含むた
め、文字セット長に空きがあればどのグループともまと
められる。また、文字4も、他のすべての文字の使用範
囲と重複するか連続しているため、空きさえあればどの
グループともまとめられる。文字2と文字8は上記条件
を満たさないためにまとめることができない。
In FIG. 10, for example, characters 1 and 7
Since the use range includes the use range of all other characters, if there is a space in the character set length, it can be combined with any group. Also, the character 4 overlaps or is continuous with the use range of all other characters, and is therefore combined with any group as long as there is a space. Characters 2 and 8 cannot be combined because they do not satisfy the above conditions.

【0045】これは一例に過ぎないが、このようにして
文字をグループ化し、そのグループから転送用文字セッ
トを作成する。 (プリンタ転送用文字セット)プリンタ転送用文字セッ
ト302は、プリンタに送る文字セット登録命令を作成
するためのデータである。ドライバ管理用文字セット3
01に登録された文字データはプリンタ転送用文字セッ
ト302にも登録される。
Although this is only an example, characters are grouped in this way, and a character set for transfer is created from the group. (Printer Transfer Character Set) The printer transfer character set 302 is data for creating a character set registration command to be sent to the printer. Driver management character set 3
01 is also registered in the printer transfer character set 302.

【0046】プリンタ転送用文字セット302は、文字
セット管理テーブル305と文字セットデータ306と
を含んでいる。なお、文字セットデータ306はドライ
バからプリンタに転送される文字セットデータそのもの
であり、後述する形式を有している。
The printer transfer character set 302 includes a character set management table 305 and character set data 306. Note that the character set data 306 is the character set data itself transferred from the driver to the printer, and has a format described later.

【0047】文字データの実態であるビットマップデー
タは、ホストコンピュータが有するアウトラインフォン
トからの展開などで得られる。文字セット306は文字
セット削除処理によって消去されてしまう。そのため、
ドライバ用の文字管理テーブル304にも1文字単位で
ビットマップデータを登録することによって、文字セッ
ト削除処理後に紙詰まりなどが発生した場合に、ビット
マップデータを新たに展開する処理を行わずとも文字セ
ットを再登録することが出来、処理のスピードアップが
可能である。 <ホストコンピュータからプリンタヘの転送データ>次
に図4を用いて転送データ形式について説明する。
Bitmap data, which is the actual state of character data, can be obtained by, for example, developing an outline font of the host computer. The character set 306 is deleted by the character set deletion processing. for that reason,
By registering bitmap data on a character-by-character basis in the character management table 304 for the driver, even if a paper jam occurs after the character set deletion processing, the character map can be newly developed without performing the processing for newly expanding the bitmap data. The set can be re-registered, and the processing speed can be increased. <Transfer Data from Host Computer to Printer> Next, the transfer data format will be described with reference to FIG.

【0048】図4は、ホストコンピュータで作成される
1ページ分のページデータの構造である。 (ジョブ開始データ部)ジョブ開始データ401は、転
送される各々のデータの情報を登録したテーブルであ
り、ページのレイアウト情報データなど、描画処理を行
う為に必要な初期設定データが含まれている。 (文字セットデータ部)文字セットデータ402は、そ
のページの描画に用いられる文字のビットマップフォン
トデータを文字IDから簡単に探し出せるように構成さ
れているデータである。
FIG. 4 shows the structure of page data for one page created by the host computer. (Job Start Data Section) The job start data 401 is a table in which information of each data to be transferred is registered, and includes initial setting data necessary for performing a drawing process such as page layout information data. . (Character Set Data Section) The character set data 402 is data configured so that bitmap font data of characters used for drawing the page can be easily found from the character ID.

【0049】1つの文字セットのサイズはプリンタによ
って決められた固定長の倍数であり、フォントサイズや
圧縮率などによって登録文字数は変化する。また、固定
長サイズに満たない場合は空白をつめることで固定長サ
イズに調整する。文字セットデータには、文字セットヘ
ッダ部405と相対アドレス406と文字データ部40
7とが含まれている。
The size of one character set is a multiple of a fixed length determined by the printer, and the number of registered characters changes depending on the font size, compression ratio, and the like. If the size is smaller than the fixed size, the space is adjusted to the fixed size by filling the space. The character set data includes a character set header section 405, a relative address 406, and a character data section 40.
7 are included.

【0050】文字セットヘッダ部405には、文字セッ
トID4051や、その文字セットに登録されている文
字数4052、またその文字セットが使われる最初のペ
ージであるfirstPage4053と最後のページ
lastPage4054が含まれている。
The character set header section 405 includes a character set ID 4051, the number of characters 4052 registered in the character set, a first page 4053 as the first page in which the character set is used, and a last page 4054 as the last page. .

【0051】相対アドレス部406には、文字セットデ
ータ内の各文字データにアクセスする為のヘッダ部から
のバイトオフセット値が登録文字数分だけセットされて
いる。
In the relative address portion 406, the byte offset value from the header portion for accessing each character data in the character set data is set for the number of registered characters.

【0052】文字データ部407は、実際に文字データ
が登録されている部分であり、文字の幅、高さ、圧縮タ
イプ、サイズなどの情報が格納された文字ヘッダ部に続
いて各文字のビットマップデータが圧縮されて登録され
ている。 (文字描画命令データ部)文字描画命令データ403
は、文字の描画位置を命令するコマンド群である。各文
字描画命令データはバンド単位に分けられており、印刷
すべき文字が含まれている文字セットのIDと、文字セ
ット内でのその文字のオフセット値により示されてい
る。その描画位置としては、バンド内における相対座標
位置がセットされる。
A character data portion 407 is a portion in which character data is actually registered. The character data portion 407 is followed by a character header portion in which information such as the character width, height, compression type, and size is stored. Map data is compressed and registered. (Character drawing command data section) Character drawing command data 403
Is a group of commands for instructing a character drawing position. Each character drawing command data is divided into band units, and is indicated by an ID of a character set including a character to be printed and an offset value of the character in the character set. As the drawing position, a relative coordinate position in the band is set.

【0053】また、文字描画命令データ全体のデータサ
イズも前記固定長サイズの倍数になるように調整され
る。 (イメージデータ部)イメージデータ部404は、プリ
ンタが処理する単位であるバンドごとの高さ及び幅で生
成され、圧縮されたイメージデータである。 <文字セット管理及び文字描画命令作成手順>次に、図
8のフローチャート及び図3,4,9のデータ構造を用
いて、ホストコンピュータのプリンタドライバによる文
字セットデータの生成及び文字描画命令の生成手順を説
明する。
The data size of the entire character drawing command data is also adjusted to be a multiple of the fixed length size. (Image Data Section) The image data section 404 is image data generated and compressed in height and width for each band, which is a unit processed by the printer. <Character Set Management and Character Drawing Instruction Creation Procedure> Next, using the flowchart of FIG. 8 and the data structure of FIGS. Will be described.

【0054】S801:印刷データを1ジョブ分スプー
ルする。その中で文字データだけを処理し、ドライバ管
理用文字セット301を構築する。この際、文字が出現
するページ番号を、文字管理テーブル304中のmin
Page902,maxPage903で管理する。
S801: The print data is spooled for one job. Among them, only character data is processed to construct a driver management character set 301. At this time, the page number in which the character appears is set in the min.
Page 902 and maxPage 903 are used for management.

【0055】S802:ドライバ管理用文字セットから
複数ページで使われる文字を、文字が出現するページ数
を示すminPage902,maXPage903に
より探し出し、複数のページで用いられる文字をグルー
プにする。
S802: Characters used on a plurality of pages are searched from the driver management character set by minPage 902 and maXPage 903 indicating the number of pages where the characters appear, and characters used on a plurality of pages are grouped.

【0056】S803:処理中の注目ページで用いられ
る文字を、その文字が出現するページ数を示すminP
age902,maXPage903に基づいてグルー
プにする。このグループ及びS802で作成された文字
グループから、注目ページで用いられる文字の転送用文
字セット302を作成する。この際、異なるグループに
属する文字は、異なる文字セットに登録される。
S803: Characters used in the page of interest being processed are represented by minP indicating the number of pages in which the characters appear.
group based on age902 and maXPage903. From this group and the character group created in S802, a character set 302 for transferring characters used in the page of interest is created. At this time, characters belonging to different groups are registered in different character sets.

【0057】S804:注目ページ用の文字描画命令を
作成し、S803で作成した文字セットと共にプリンタ
に転送する。文字描画命令は、文字セットID905
と、文字セット内の相対アドレス906を描画位置と組
み合わせて生成する。それ以外のデータは全てイメージ
に展開され、イメージ描画命令とされ、プリンタに転送
される。
S804: A character drawing command for the page of interest is created and transferred to the printer together with the character set created in S803. The character drawing command is a character set ID 905
And a relative address 906 in the character set in combination with the drawing position. All other data is developed into an image, rendered as an image drawing command, and transferred to the printer.

【0058】S805:注目ページ以降では不必要とな
った文字セットを削除する削除命令を生成して、プリン
タに転送する。削除の対象となる文字セットは、通常S
803でグループ化された文字が含まれる文字セットで
あり、S802でグループ化された文字セットは、注目
ページ以降でも用いられるために削除対象とはならな
い。
S805: A delete command for deleting a character set that is no longer necessary after the page of interest is generated and transferred to the printer. The character set to be deleted is usually S
This is a character set that includes the characters grouped in 803, and the character set grouped in S802 is not used as a target after the page of interest and is not a deletion target.

【0059】S806:このジョブ内に次のページがあ
る場合はそのページを注目ページとしてS803へ戻
り、次のページがない場合は処理終了となる。
S806: If there is a next page in this job, the page is set as the page of interest, and the process returns to S803. If there is no next page, the process ends.

【0060】以上の手順により、プリンタ転送用文字セ
ットを作成し、文字描画命令とともにプリンタに送信す
る。 <プリンタにおけるデータ形式>次に図5及び図11を
用いてプリンタのRAM上にデータが格納される手順及
び登録されるデータ形式について説明する。
According to the above procedure, a character set for printer transfer is created and transmitted to the printer together with a character drawing command. <Data Format in Printer> Next, a procedure for storing data in the RAM of the printer and a registered data format will be described with reference to FIGS.

【0061】S1101プリンタ102はドライバが作
成した転送データ400のジョブ開始データを読み込
み、プリンタの初期設定を行う。
In step S1101, the printer 102 reads the job start data of the transfer data 400 created by the driver, and performs initial settings of the printer.

【0062】S1102:その後、ジョブ開始命令に含
まれているデータのサイズに従ってデータをRAM上に
読み込む。
S1102: Thereafter, data is read into the RAM according to the size of the data included in the job start command.

【0063】受信バッファ103は、多くの固定長の受
信セルから構成されている。各受信セル501は、次の
空きバッファへのポインタであるアドレス部(next
p)とデータ部とを持った構造になっている。ホストコ
ンピュータで作成する1つの文字セットデータのサイズ
は、この受信セルのサイズと一致している。一致してい
なくともデータは管理できるが、プリンタでは受信セル
ごとに領域の使用・未使用の別を管理するため、半端な
サイズのデータも受信セル1つを占めることになり、メ
モリが有効利用できない。
The receiving buffer 103 is composed of a number of fixed-length receiving cells. Each received cell 501 has an address part (next) which is a pointer to the next empty buffer.
p) and a data section. The size of one character set data created by the host computer matches the size of the received cell. Although the data can be managed even if they do not match, the printer manages the use or non-use of the area for each received cell, so data of odd size occupies one received cell, and memory is effectively used Can not.

【0064】受信バッファ103は、受信バッファ制御
構造体502によって管理されている。受信バッファ制
御構造体502は、空き状態の受信セルへのポインタF
reep、空き状態受信セルの最終セルへのポインタF
reeEndp、文字セットデータ部のトップへのポイ
ンタFontp、文字描画命令データ部のトップへのポ
インタRenderp、イメージデータ部のトップへの
ポインタImagepによって構成されている。初期状
態では、ポインタFreepは受信バッファの先頭を、
ポインタFreeEndpは受信バッファの末尾の受信
セルを指し、各々の受信セルのアドレス部には次の受信
セルへのポインタが書き込まれている。
The reception buffer 103 is managed by the reception buffer control structure 502. The reception buffer control structure 502 includes a pointer F to the empty reception cell.
repeat, pointer F to the last cell of the idle reception cell
It is composed of a line EndP, a pointer Fontp to the top of the character set data section, a pointer Renderp to the top of the character drawing command data section, and a pointer Imagep to the top of the image data section. In the initial state, the pointer Freep indicates the head of the reception buffer,
The pointer FreeEndp points to the last reception cell in the reception buffer, and a pointer to the next reception cell is written in the address portion of each reception cell.

【0065】ホストコンピュータから受信したデータ
は、ポインタFreepが示す先に受信バッファセル単
位で詰め込まれる。ポインタFreepは、データが格
納された受信セルのポインタnextpの値で更新され
る。ポインタFreepがポインタFreeEndpと
同じになるまでデータの読み込みが可能である。
Data received from the host computer is packed in units of reception buffer cells at the destination indicated by the pointer Freep. The pointer Freep is updated with the value of the pointer nextp of the received cell in which the data is stored. Data can be read until the pointer Free becomes equal to the pointer FreeEndp.

【0066】S1103:最初に読み込んだジョブ開始
命令のデータサイズから文字セットデータのトップの位
置(Fontp)、文字描画命令データのトップの位置
(Renderp)、イメージデータのトップの位置
(Imagep)が算出でき、その位置を受信バッファ
制御構造体502に登録する。
S1103: Top position of character set data (Fontp), top position of character drawing command data (Renderp), top position of image data (Imageep) are calculated from the data size of the job read command read first. The position is registered in the reception buffer control structure 502.

【0067】なお、イメージデータは1ページ分入りき
れない場合があるが、その場合には格納できるぶんだけ
格納しておく。
It should be noted that the image data may not fit in one page, but in that case, the image data is stored as much as possible.

【0068】S1104:ポインタfontpをたど
り、文字セットごとに、文字セットIDとそれに対応す
る文字セットへのポインタを格納した文字セットテーブ
ル503を作成する。 <印刷の手順>次に、図6を用いて以上のメモリ空間上
で複数ページを受信するところからそれを印刷出力する
までの処理を説明する。
S1104: Following the pointer fontp, a character set table 503 is created for each character set, which stores a character set ID and a pointer to the corresponding character set. <Printing Procedure> Next, a process from receiving a plurality of pages in the above memory space to printing out the pages will be described with reference to FIG.

【0069】600:描画開始時は受信バッファは初期
化状態である。
600: At the start of drawing, the receiving buffer is in the initialized state.

【0070】601:受信バッファ上部からnextp
に従って、受信した文字セットデータ、文字描画データ
を格納する。
601: nextp from the upper part of the receiving buffer
, The received character set data and character drawing data are stored.

【0071】602:イメージデータがメモリフルにな
るまで格納し、ジョブ開始命令に含まれる各々のデータ
サイズからポインタFontp,Renderp,Im
agepをセットする。
602: The image data is stored until the memory becomes full, and pointers Fontp, Renderp, Im are obtained from each data size included in the job start command.
Set agep.

【0072】また、格納された文字セットは各セット毎
に先頭アドレスを文字セットテーブルに登録する。ここ
までが図11の手順である。
For the stored character sets, the head address is registered in the character set table for each set. This is the procedure of FIG.

【0073】603:描画を開始する。ポインタIma
gepが示す先のバンドイメージデータをバンドメモリ
に展開し、その上にポインタRenderpが示す先の
文字描画命令データをCPUが解析して、文字セットデ
ータから対応する文字イメージを獲得して文字の描画を
行う。
603: Drawing is started. Pointer Ima
The CPU then analyzes the band image data indicated by “gep” in the band memory, analyzes the character drawing instruction data indicated by the pointer “Renderer” on the band memory, obtains the corresponding character image from the character set data, and draws characters. I do.

【0074】それに伴い、バンドメモリに展開されたイ
メージデータ部の受信セルを解放する。それまでポイン
タFreeEndpで指し示される受信セルのポインタ
nextp部に解放された受信セルのアドレスをセット
し、その後FreeEndpにも解放された受信セルの
アドレスをセットする。
Accordingly, the receiving cells of the image data section developed in the band memory are released. Until then, the address of the released receiving cell is set in the pointer nextp section of the receiving cell pointed to by the pointer FreeEndp, and then the address of the released receiving cell is also set in FreeEndp.

【0075】解放された受信セルには、受信バッファへ
の格納待ちとなっている状態のデータを随時読み込む。
In the released receiving cell, data waiting to be stored in the receiving buffer is read as needed.

【0076】604:1ページ分のデータが全て受信セ
ルに読み込まれた後は、次のページのデータも取り込
む。状態604では、1ページ目のイメージデータに続
けて、空き領域に2ページ目の文字セットデータを格納
している。
604: After all the data for one page has been read into the reception cell, the data for the next page is also taken in. In the state 604, the character set data of the second page is stored in the empty area following the image data of the first page.

【0077】605:1ページのデータ処理が全て終わ
る直前の状態を示している。1ページ目の文字セットデ
ータと文字描画命令、それとイメージデータの一部が格
納されている。また、2ページ目の文字セットデータと
文字描画命令とイメージデータの一部が格納されてい
る。
FIG. 605 shows a state immediately before all data processing for one page is completed. The character set data of the first page, the character drawing command, and a part of the image data are stored. Also, the character set data of the second page, a character drawing command, and part of the image data are stored.

【0078】606:必要に応じてホストコンピュータ
から文字セットデータの削除命令が送られてくる。注目
ページの文字描画命令の処理を終えたならば、文字セッ
トの削除命令に従って、要らなくなった文字セットデー
タと1ページ目の描画命令を格納していた受信セルを解
放する。その後、2ページ目のジョブ開始命令を読み込
んでパラメータをセットする。
606: A command to delete character set data is sent from the host computer as necessary. When the processing of the character drawing instruction for the page of interest is completed, the received cell storing the character set data that is no longer needed and the drawing instruction for the first page is released in accordance with the character set deletion instruction. After that, the job start command of the second page is read and parameters are set.

【0079】文字データを削除する場合、解放された受
信セルの先頭アドレスを、ポインタFreeEndpが
指し示す先の受信セルのポインタnextpにセット
し、最終アドレスをFreeEndpにセットする。 <削除命令の処理手順>次に、図12を参照して文字セ
ット削除命令に対する処理手順を説明する。
When deleting character data, the start address of the released received cell is set in the pointer nexttp of the destination cell pointed to by the pointer FreeEndp, and the final address is set in FreeEndp. <Processing Procedure of Delete Command> Next, a processing procedure for a character set deleting command will be described with reference to FIG.

【0080】S1201:削除対象として指定された文
字セットIDをプリンタで保持している文字セットテー
ブル503から検索する。
S1201: A character set ID specified as a deletion target is searched from the character set table 503 held in the printer.

【0081】S1202:見つからなければエラー処理
を行う。
S1202: If not found, error processing is performed.

【0082】S1203:指定された文字セットIDに
対応する文字セットの受信セルのアドレスを文字セット
テーブルから得て、その受信セルを開放する。受信セル
の開放は、現在の空き領域と新たに開放する領域とを各
受信セルのポインタnextpにより接続して行われ
る。すなわち、現在の空き領域の末尾へのポインタFr
eeEndpに指し示される受信セルのポインタnex
tpを新たに開放される受信セルのアドレスをセット
し、その後ポインタFreeEndpにも新たに開放さ
れる受信セルのアドレスをセットする。
S1203: The address of the receiving cell of the character set corresponding to the designated character set ID is obtained from the character set table, and the receiving cell is released. The release of the reception cell is performed by connecting the current free area and the area to be newly released by the pointer nextp of each reception cell. That is, the pointer Fr to the end of the current free area
pointer next of the reception cell pointed to by eeEndp
tp is set to the address of the newly released receiving cell, and then the pointer FreeEndp is also set to the address of the newly released receiving cell.

【0083】S1204:削除された文字セットIDに
対応する文字セットテーブルのエントリを削除して更新
する。
S1204: Delete and update the entry in the character set table corresponding to the deleted character set ID.

【0084】以上のようにして文字セットデータを削除
することで、空き領域は受信セルの単位で開放される。
そのため、開放された領域を集めなくともそのままで再
利用することができる。なお、この受信セルの開放の手
順は、文字セットデータに限らず、1ページ分出力しお
えた文字描画命令や、1バンド分出力し終えたバンドイ
メージデータの格納されている受信セルを開放する際に
も用いられる。
By deleting the character set data as described above, the empty area is released for each received cell.
Therefore, the opened area can be reused without collecting it. The procedure for releasing the receiving cell is not limited to the character set data. The receiving cell in which the character drawing command that has been output for one page and the band image data that has been output for one band are stored is released. Also used when.

【0085】図7に描画処理が進んだ時の状態を示す。
ポインタFreepをたどり、その示す受信セルからn
extpをたどる先が空き領域である。なお、next
pが連続する受信セルを示している場合には、そのne
xtpを表す矢印を省略してある。
FIG. 7 shows a state when the drawing processing has progressed.
Follow the pointer Free, and from the indicated reception cell to n
The destination following the ext is the free area. In addition, next
If p indicates a continuous received cell, its ne
The arrow representing xtp is omitted.

【0086】このように、文字セットサイズが非固定長
かつ不連続にメモリを占有する場合には文字セットデー
タを消去したときにできる空き領域のサイズは不均一で
あり、また1文字単位で登録した文字セットを削除する
と不連続な空き領域ができる。そこで、空きメモリを集
めるために文字セットデータの再構築を行うと多くの時
間が掛かり、連続ページ出力時のページ間で文字セット
データの再構築処理を行うことは不可能である。
As described above, when the character set size is non-fixed length and discontinuously occupies the memory, the size of the free area formed when the character set data is deleted is not uniform, and the character set data is registered in units of one character. Deleting a given character set creates a discontinuous free space. Therefore, it takes a lot of time to reconstruct the character set data in order to collect free memory, and it is impossible to reconstruct the character set data between pages during continuous page output.

【0087】これに対して、本実施例に係る印刷システ
ムでは、プリンタのメモリを固定長の受信セル単位で管
理している。そのため、プリンタのメモリにおいて開放
される空き領域は受信セルの単位であり、空き領域の収
集を行わなくとも直ちに再利用できる。
On the other hand, in the printing system according to the present embodiment, the memory of the printer is managed in units of fixed-length receiving cells. Therefore, the free area released in the memory of the printer is a unit of the received cell, and can be reused immediately without collecting the free area.

【0088】このような場合、文字セットデータを例え
ば1文字毎に作成すると、1文字分の文字セットデータ
を1つの受信セルに格納するために多くの領域が無駄に
使用されることになる。本実施例においては、ホストコ
ンピュータでは、文字セットデータを受信セルにあわせ
たサイズを単位として固定長で作成しているため、文字
セットデータは無駄なく受信セルに納まり、メモリの利
用効率を低下させることがない。
In such a case, if the character set data is created for each character, for example, a large amount of area is wasted to store the character set data for one character in one reception cell. In the present embodiment, the host computer creates the character set data in a fixed length in units of the size corresponding to the receiving cell, so that the character set data fits in the receiving cell without waste and reduces the memory utilization efficiency. Nothing.

【0089】以上、プリンタ側で文字セットデータの削
除命令を実行するタイミングを決めて、文字セット削除
命令を実行する印刷システムを説明したが、双方向イン
ターフェースで接続されており、ホストコンピュータが
プリンタから情報を得られるならば、ページの印刷出力
の終了をプリンタからホストコンピュータに通知させ、
ホストコンピュータではその情報に基づいて、そのペー
ジ以降では使用しない文字セット削除命令をプリンタに
送信しても良い。 <プリンタエンジン>上記実施例のプリンタエンジンと
しては特に何を用いるという制限はない。ここでは本実
施例のプリンタに適用できる代表的な2種のエンジンを
説明する。
The printing system that executes the character set deletion command by determining the timing of executing the character set data deletion command on the printer side has been described above. If you can get the information, let the printer notify the host computer of the end of the printout of the page,
The host computer may transmit to the printer a character set deletion command that is not used after that page based on the information. <Printer Engine> There is no particular limitation on what printer engine is used in the above embodiment. Here, two representative types of engines applicable to the printer of this embodiment will be described.

【0090】図13はこの場合のレーザビームプリンタ
(以下、LBPと略す)の内部構造を示す断面図で、こ
のLBPは、文字パターンデータ等を入力して記録紙に
印刷することができる。
FIG. 13 is a cross-sectional view showing the internal structure of a laser beam printer (hereinafter abbreviated as LBP) in this case. This LBP can be inputted with character pattern data and printed on a recording paper.

【0091】図において、740はLBP本体であり、
供給される文字パターン等を基に、記録媒体である記録
紙上に像を形成する。700は操作のためのスイツチ及
びLED表示器などが配されている操作パネル、701
はLBP740全体の制御及び文字パターン情報等を解
析するプリンタ制御ユニツトである。このプリンタ制御
ユニツト701は主に文字パターン情報をビデオ信号に
変換してレーザドライバ702に出力する。
In the figure, reference numeral 740 denotes an LBP main body,
An image is formed on recording paper, which is a recording medium, based on the supplied character pattern and the like. Reference numeral 700 denotes an operation panel on which a switch for operation, an LED display, and the like are arranged.
Is a printer control unit for controlling the entire LBP 740 and analyzing character pattern information and the like. The printer control unit 701 mainly converts character pattern information into a video signal and outputs the video signal to the laser driver 702.

【0092】レーザドライバ702は半導体レーザ70
3を駆動するための回路であり、入力されたビデオ信号
に応じて半導体レーザ703から発射されるレーザ光7
04をオン・オフ切替えする。レーザ光704は回転多
面鏡705で左右方向に振られて静電ドラム706上を
走査する。これにより、静電ドラム706上には文字パ
ターンの静電潜像が形成される。この潜像は静電ドラム
706周囲の現像ユニツト707により現像された後、
記録紙に転写される。この記録紙にはカツトシートを用
い、カツトシート記録紙はLBP740に装着した用紙
カセツト708に収納され、給紙ローラ709及び搬送
ローラ710と711とにより装置内に取込まれて、静
電ドラム706に供給される。
The laser driver 702 is a semiconductor laser 70
And a laser beam emitted from the semiconductor laser 703 in response to an input video signal.
04 is turned on / off. The laser beam 704 is swung right and left by a rotary polygon mirror 705 to scan on an electrostatic drum 706. Thus, an electrostatic latent image of a character pattern is formed on the electrostatic drum 706. This latent image is developed by a developing unit 707 around the electrostatic drum 706,
Transferred to recording paper. A cut sheet is used as the recording paper. The cut sheet recording paper is stored in a paper cassette 708 mounted on the LBP 740, is taken into the apparatus by a paper feed roller 709 and transport rollers 710 and 711, and is supplied to the electrostatic drum 706. Is done.

【0093】図14は、本発明が適用できるインクジェ
ット記録装置IJRAの概観図である。同図において、
駆動モータ5013の正逆回転に連動して駆動力伝達ギ
ア5011,5009を介して回転するリードスクリュ
ー5005の螺旋溝5004に対して係合するキャリッ
ジHCはピン(不図示)を有し、矢印a,b方向に往復
移動される。このキャリッジHCには、インクジェット
カートリッジIJCが搭載されている。5002は紙押
え板であり、キャリッジの移動方向に亙って紙をプラテ
ン5000に対して押圧する。5007,5008はフ
ォトカプラで、キャリッジのレバー5006のこの域で
の存在を確認して、モータ5013の回転方向切り換え
等を行うためのホームポジション検知手段である。50
16は記録ヘッドの前面をキャップするキャップ部材5
022を支持する部材で、5015はこのキャップ内を
吸引する吸引手段で、キャップ内開口5023を介して
記録ヘッドの吸引回復を行う。5017はクリーニング
ブレードで、5019はこのブレードを前後方向に移動
可能にする部材であり、本体支持板5018にこれらが
支持されている。ブレードは、この形態でなく周知のク
リーニングブレードが本例に適用できることは言うまで
もない。又、5021は、吸引回復の吸引を開始するた
めのレバーで、キャリッジと係合するカム5020の移
動に伴って移動し、駆動モータからの駆動力がクラッチ
切り換え等の公知の伝達手段で移動制御される。
FIG. 14 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), , B. An ink jet cartridge IJC is mounted on the carriage HC. Reference numeral 5002 denotes a paper pressing plate, which presses the paper against the platen 5000 in the moving direction of the carriage. Reference numerals 5007 and 5008 denote home position detecting means for confirming the presence of the lever 5006 of the carriage in this area and switching the rotation direction of the motor 5013. 50
16 is a cap member 5 for capping the front surface of the recording head.
Reference numeral 5015 denotes a suction unit for sucking the inside of the cap, and performs suction recovery of the recording head through the opening 5023 in the cap. 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 5021 denotes a lever for starting suction for recovery of suction, which moves with the movement of the cam 5020 which engages with the carriage, and controls the movement of the driving force from the drive motor by a known transmission means such as clutch switching. Is done.

【0094】[0094]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ,インタフェイス機器,リーダ,プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機,ファクシミリ
装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).

【0095】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成される。
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or apparatus.
Or MPU) reads and executes the program code stored in the storage medium.

【0096】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0097】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
Examples of a storage medium for supplying the program code include a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, and CD.
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0098】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれる。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) Performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0099】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれる。
Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The case where the CPU of the function expansion board or the function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing.

【0100】[0100]

【発明の効果】以上説明したように、本発明によれば、
簡単な構成でありながら、文字の部分は文字コードで受
信して文字画像に展開することで、ホストにおける文字
の展開処理時間とホストからの転送データ量とを非常に
小さくし、しかも印刷装置のメモリ容量を小さく抑えて
効率的に利用することができるという効果を奏する。
As described above, according to the present invention,
Despite the simple configuration, the character portion is received as a character code and expanded into a character image, thereby greatly reducing the time required for the character expansion processing in the host and the amount of data transferred from the host, and furthermore, the printing device There is an effect that the memory capacity can be suppressed and the memory capacity can be efficiently used.

【0101】[0101]

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

【図1】実施の形態における印刷制御システムの構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a print control system according to an embodiment.

【図2】ドライバのデータ作成処理とプリンタの印字処
理とを説明する図である。
FIG. 2 is a diagram illustrating a data creation process of a driver and a printing process of a printer.

【図3】ドライバ側の文字セットの管理データの構造を
説明する図である。
FIG. 3 is a diagram illustrating the structure of character set management data on the driver side.

【図4】転送用文字セットの詳細な構造の説明図であ
る。
FIG. 4 is an explanatory diagram of a detailed structure of a transfer character set.

【図5】プリンタの受信バッファの構造と格納形態(1
頁目)を示す図である。
FIG. 5 shows the structure and storage form of a receiving buffer of a printer (1).
FIG.

【図6】プリンタのメモリ管理方法を示す図である。FIG. 6 is a diagram illustrating a memory management method of the printer.

【図7】プリンタの受信バッファの構造と格納形態(複
数ページ出力中)を示す図である。
FIG. 7 is a diagram illustrating a structure and a storage mode (during output of a plurality of pages) of a reception buffer of the printer.

【図8】ホストコンピュータにおける文字処理手順のフ
ローチャートである。
FIG. 8 is a flowchart of a character processing procedure in the host computer.

【図9】ドライバ管理用文字セットの構造を示す図であ
る。
FIG. 9 is a diagram showing the structure of a driver management character set.

【図10】ドライバ管理用文字セットの使われかたの一
例を示す図である。
FIG. 10 is a diagram illustrating an example of how a driver management character set is used.

【図11】プリンタにおいて印刷データを受信する手順
のフローチャートである。
FIG. 11 is a flowchart of a procedure for receiving print data in a printer.

【図12】プリンタにおいて文字セットデータを削除す
る手順のフローチャートである。
FIG. 12 is a flowchart of a procedure for deleting character set data in a printer.

【図13】レーザビームプリンタのエンジンの図であ
る。
FIG. 13 is a diagram of an engine of a laser beam printer.

【図14】インクジェットプリンタのエンジンの図であ
る。
FIG. 14 is a diagram of an engine of the inkjet printer.

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

101 ホストコンピュータ 102 プリンタコントローラ 103 入力バッファ 104 ROM 105 CPU 106 文字ハードレンダラ 107 イメージレンダラ 108 バンドメモリ 110 プリンタエンジン Reference Signs List 101 host computer 102 printer controller 103 input buffer 104 ROM 105 CPU 106 character hard renderer 107 image renderer 108 band memory 110 printer engine

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 文字データを含む印刷データを作成する
情報処理装置と印刷システムとを接続して成る印刷シス
テムであって、 前記情報処理装置は、 1プリントジョブ分の印刷データから文字データを抽出
する文字抽出手段と、 前記文字抽出手段により抽出された文字データの登録番
号と文字画像とそれが出現するページとを検索可能に格
納する第1の格納手段と、 印刷するページに応じて、前記第1の格納手段に格納さ
れた文字データから、文字の登録番号とその文字画像と
を含む所定長の文字セットデータを生成する文字セット
生成手段と、 印刷するページごとに文字の登録番号を含む文字描画命
令を生成し、該文字描画命令と、前記文字セットデータ
と、文字セットデータを削除する削除命令とを印刷装置
に送信する送信手段とを備え、 前記印刷装置は、 受信した文字描画命令と文字セットデータと削除命令と
を格納する第2の格納手段と、 前記第2の格納手段へのデータの書き込み及び削除を所
定長の領域を単位として、ページごとに管理する管理手
段と、 前記格納手段に格納された文字描画命令と文字セットデ
ータと削除命令とに基づいてページごとに画像を形成す
る出力手段とを備えることを特徴とする印刷システム。
1. A printing system comprising an information processing apparatus for creating print data including character data and a printing system, wherein the information processing apparatus extracts character data from print data for one print job. Character extracting means, a registration number of character data extracted by the character extracting means, a character image, and a first storing means for retrievably storing a page in which the character image appears, and a first storing means, A character set generating means for generating character set data of a predetermined length including a character registration number and a character image from the character data stored in the first storage means; and a character registration number for each page to be printed. Transmitting means for generating a character drawing command and transmitting the character drawing command, the character set data, and a delete command for deleting the character set data to a printing apparatus; A second storage unit that stores the received character drawing command, character set data, and deletion command; and writes and deletes data to and from the second storage unit in units of a predetermined length area. A printing unit comprising: a management unit that manages each page; and an output unit that forms an image for each page based on a character drawing command, character set data, and a deletion command stored in the storage unit. .
【請求項2】 前記情報処理装置は、前記抽出手段によ
り抽出された文字データを除く印刷データをイメージデ
ータに変換する変換手段を更に備え、前記送信手段は更
に、イメージデータをページごとに印刷装置に送信する
ことを特徴とする請求項1に記載の印刷システム。
2. The information processing apparatus according to claim 1, further comprising a conversion unit configured to convert print data excluding the character data extracted by the extraction unit into image data, and the transmission unit further includes a printing device that converts the image data for each page. The printing system according to claim 1, wherein the transmission is performed.
【請求項3】 前記送信手段は、前記文字描画データと
イメージデータとを前記所定長単位で送信することを特
徴とする請求項2に記載の印刷システム。
3. The printing system according to claim 2, wherein the transmission unit transmits the character drawing data and the image data in units of the predetermined length.
【請求項4】 前記文字セット生成手段は、前記第1の
格納手段に格納されている各文字データの出現するペー
ジから、複数のページに出現する文字と単一のページに
出現する文字とを別々のグループとして文字セットデー
タを生成し、前記送信手段は、単一のページに出現する
文字セットデータを削除する削除命令を送信することを
特徴とする請求項1に記載の印刷システム。
4. The character set generating means, from a page in which each character data stored in the first storage means appears, a character appearing on a plurality of pages and a character appearing on a single page. 2. The printing system according to claim 1, wherein the character set data is generated as separate groups, and the transmission unit transmits a deletion instruction for deleting character set data appearing on a single page.
【請求項5】 前記管理手段は、1ページの画像形成が
終了した後、削除命令を実行して文字セットデータを削
除することを特徴とする請求項1に記載の印刷システ
ム。
5. The printing system according to claim 1, wherein the management unit executes a delete command to delete the character set data after the image formation of one page is completed.
【請求項6】 前記情報処理装置は、前記印刷装置から
1ページの画像形成の終了の通知を受信する受信手段を
更に備え、前記送信手段は、1ページの画像形成の終了
の通知に基づいて、そのページ以降では使用しない文字
セットデータの削除命令を印刷装置に送信することを特
徴とする請求項1に記載の印刷システム。
6. The information processing apparatus further includes a receiving unit that receives a notification of the end of one-page image formation from the printing device, and the transmitting unit receives the notification of the end of one-page image formation based on the notification of the end of one-page image formation. 2. The printing system according to claim 1, wherein an instruction to delete character set data not used after the page is transmitted to the printing apparatus.
【請求項7】 文字データを含む印刷データを作成して
印刷装置により印刷させる印刷制御装置であって、 1プリントジョブ分の印刷データから文字データを抽出
する文字抽出手段と、 前記文字抽出手段により抽出された文字データの登録番
号と文字画像とそれが出現するページとを検索可能に格
納する格納手段と、 印刷するページに応じて、前記第1の格納手段に格納さ
れた文字データから、文字の登録番号とその文字画像と
を含む所定長の文字セットデータを生成する文字セット
生成手段と、 印刷するページごとに文字の登録番号を含む文字描画命
令を生成し、該文字描画命令と、前記文字セットデータ
と、文字セットデータを削除する削除命令とを印刷装置
に送信する送信手段とを備ることを特徴とする印刷制御
装置。、
7. A print control apparatus for generating print data including character data and printing the print data by a printing apparatus, comprising: character extracting means for extracting character data from print data for one print job; Storage means for retrievably storing the registration number of the extracted character data, the character image, and the page where the character image appears, and character data stored in the first storage means according to the page to be printed. Character set generating means for generating character set data of a predetermined length including the registration number of the character and the character image thereof; and generating a character drawing instruction including the registration number of the character for each page to be printed; A print control device comprising: a transmission unit that transmits character set data and a delete command for deleting character set data to a printing device. ,
【請求項8】 前記抽出手段により抽出された文字デー
タを除く印刷データをイメージデータに変換する変換手
段を更に備え、前記送信手段は更に、イメージデータを
ページごとに印刷装置に送信することを特徴とする請求
項7に記載の印刷制御装置。
8. The printing apparatus according to claim 1, further comprising a conversion unit configured to convert print data excluding the character data extracted by the extraction unit into image data, and the transmission unit further transmits the image data to a printing apparatus page by page. The print control device according to claim 7, wherein:
【請求項9】 前記送信手段は、前記文字描画データと
イメージデータとを前記所定長単位で送信することを特
徴とする請求項8に記載の印刷制御装置。
9. The print control apparatus according to claim 8, wherein the transmission unit transmits the character drawing data and the image data in units of the predetermined length.
【請求項10】 前記文字セット生成手段は、前記格納
手段に格納されている各文字データの出現するページか
ら、複数のページに出現する文字と単一のページに出現
する文字とを別々のグループとして文字セットデータを
生成し、前記送信手段は、単一のページに出現する文字
セットデータを削除する削除命令を送信することを特徴
とする請求項7に記載の印刷制御装置。
10. The character set generation unit separates a character appearing on a plurality of pages and a character appearing on a single page from a page in which each character data stored in the storage unit appears into a separate group. The print control apparatus according to claim 7, wherein character set data is generated, and the transmission unit transmits a delete command for deleting character set data appearing on a single page.
【請求項11】 前記印刷装置から1ページの画像形成
の終了の通知を受信する受信手段を更に備え、前記送信
手段は、1ページの画像形成の終了の通知に基づいて、
そのページ以降では使用しない文字セットデータの削除
命令を印刷装置に送信することを特徴とする請求項7に
記載の印刷制御装置。
11. A printing apparatus, comprising: a receiving unit configured to receive a notification of completion of one-page image formation from the printing apparatus;
8. The print control apparatus according to claim 7, wherein an instruction to delete character set data not used after the page is transmitted to the printing apparatus.
【請求項12】 文字描画命令と文字セットデータと文
字セットデータの削除命令とを情報処理装置から受信し
て印刷する印刷装置であって、 受信した文字描画命令と文字セットデータと削除命令と
を格納する格納手段と、 前記第2の格納手段へのデータの書き込み及び削除を所
定長の領域を単位として、ページごとに管理する管理手
段と、 前記格納手段に格納された文字描画命令と文字セットデ
ータと削除命令とに基づいてページごとに画像を形成す
る出力手段とを備えることを特徴とする印刷装置。
12. A printing apparatus that receives a character drawing command, character set data, and a character set data deletion command from an information processing device and prints the received character drawing command, character set data, and deletion command. Storage means for storing; management means for managing writing and deletion of data to and from the second storage means for each page in units of a predetermined length area; character drawing instructions and character sets stored in the storage means A printing apparatus comprising: an output unit that forms an image for each page based on data and a delete command.
【請求項13】 前記管理手段は、1ページの画像形成
が終了した後、削除命令を実行して文字セットデータを
削除することを特徴とする請求項12に記載の印刷装
置。
13. The printing apparatus according to claim 12, wherein the management unit deletes the character set data by executing a deletion command after image formation of one page is completed.
【請求項14】 文字データを含む印刷データを作成し
て印刷装置により印刷させる印刷制御方法であって、 1プリントジョブ分の印刷データから文字データを抽出
する文字抽出工程と、 前記文字抽出手段により抽出された文字データの登録番
号と文字画像とそれが出現するページとを検索可能にメ
モリに格納する格納工程と、 印刷するページに応じて、前記メモリに格納された文字
データから、文字の登録番号とその文字画像とを含む所
定長の文字セットデータを生成する文字セット生成工程
と、 印刷するページごとに文字の登録番号を含む文字描画命
令を生成し、該文字描画命令と、前記文字セットデータ
と、文字セットデータを削除する削除命令とを印刷装置
に送信する送信工程とを備ることを特徴とする印刷制御
方法。、
14. A print control method for generating print data including character data and printing the print data by a printing apparatus, comprising: a character extracting step of extracting character data from print data for one print job; A storage step of retrievably storing a registration number and a character image of the extracted character data and a page in which the character image appears in a memory; and registering characters from the character data stored in the memory according to a page to be printed. A character set generating step of generating character set data of a predetermined length including a number and a character image thereof; generating a character drawing instruction including a registration number of a character for each page to be printed; A printing control method comprising: transmitting data and a deletion command for deleting character set data to a printing apparatus. ,
【請求項15】 前記抽出工程により抽出された文字デ
ータを除く印刷データをイメージデータに変換する変換
工程を更に備え、前記送信工程は更に、イメージデータ
をページごとに印刷装置に送信することを特徴とする請
求項14に記載の印刷制御方法。
15. The image processing apparatus according to claim 1, further comprising a conversion step of converting print data excluding the character data extracted in the extraction step into image data, wherein the transmission step further transmits the image data page by page to a printing apparatus. The print control method according to claim 14, wherein:
【請求項16】 前記送信工程は、前記文字描画データ
とイメージデータとを前記所定長単位で印刷装置に送信
することを特徴とする請求項15に記載の印刷制御方
法。
16. The print control method according to claim 15, wherein said transmitting step transmits said character drawing data and image data to said printing apparatus in units of said predetermined length.
【請求項17】 前記文字セット生成工程は、前記メモ
リに格納されている各文字データの出現するページか
ら、複数のページに出現する文字と単一のページに出現
する文字とを別々のグループとして文字セットデータを
生成し、前記送信工程は、単一のページに出現する文字
セットデータを削除する削除命令を印刷装置に送信する
ことを特徴とする請求項14に記載の印刷制御方法。
17. The character set generating step includes, as a separate group, a character appearing on a plurality of pages and a character appearing on a single page from a page in which each character data stored in the memory appears. 15. The print control method according to claim 14, wherein character set data is generated, and the transmitting step transmits a deletion command for deleting character set data appearing on a single page to a printing apparatus.
【請求項18】 前記管理工程は、1ページの画像形成
が終了した後、削除命令を実行して文字セットデータを
削除することを特徴とする請求項14に記載の印刷制御
方法。
18. The print control method according to claim 14, wherein the management step deletes the character set data by executing a delete command after image formation of one page is completed.
【請求項19】 印刷装置から1ページの画像形成の終
了の通知を受信する受信工程を更に備え、前記送信工程
は、1ページの画像形成の終了の通知に基づいて、その
ページ以降では使用しない文字セットデータの削除命令
を送信することを特徴とする請求項14に記載の印刷制
御方法。
19. The image forming apparatus according to claim 19, further comprising a receiving step of receiving a notification of the end of the image forming of one page from the printing apparatus, wherein the transmitting step does not use the subsequent pages based on the notification of the end of the image forming of the one page. 15. The print control method according to claim 14, wherein a command to delete character set data is transmitted.
【請求項20】 文字描画命令と文字セットデータと文
字セットデータの削除命令とを情報処理装置から受信し
て印刷する印刷方法であって、 受信した文字描画命令と文字セットデータと削除命令と
をメモリに格納する格納手段と、 前記第2の格納手段へのデータの書き込み及び削除を所
定長の領域を単位として、ページごとに管理する管理工
程と、 前記メモリに格納された文字描画命令と文字セットデー
タと削除命令とに基づいてページごとに画像を形成する
画像形成工程とを備えることを特徴とする印刷方法。
20. A printing method for receiving a character drawing command, character set data, and a character set data deletion command from an information processing apparatus and printing the received character drawing command, character set data, and deletion command. Storage means for storing data in a memory; management step of managing writing and deletion of data to and from the second storage means for each page in units of a predetermined length area; and a character drawing command and characters stored in the memory A printing method comprising: an image forming step of forming an image for each page based on set data and a delete command.
【請求項21】 前記管理工程は、1ページの画像形成
が終了した後、削除命令を実行して文字セットデータを
削除することを特徴とする請求項20に記載の印刷方
法。
21. The printing method according to claim 20, wherein the management step deletes the character set data by executing a deletion command after image formation of one page is completed.
【請求項22】 文字データを含む印刷データを作成し
て印刷装置により印刷させるプログラムを格納するコン
ピュータ可読記憶媒体であって、 1プリントジョブ分の印刷データから文字データを抽出
する文字抽出手段と、 前記文字抽出手段により抽出された文字データの登録番
号と文字画像とそれが出現するページとを検索可能に格
納する格納手段と、 印刷するページに応じて、前記第1の格納手段に格納さ
れた文字データから、文字の登録番号とその文字画像と
を含む所定長の文字セットデータを生成する文字セット
生成手段と、 印刷するページごとに文字の登録番号を含む文字描画命
令を生成し、該文字描画命令と、前記文字セットデータ
と、文字セットデータを削除する削除命令とを印刷装置
に送信する送信手段として前記コンピュータを機能させ
るプログラムを記憶することを特徴とする記憶媒体。
22. A computer-readable storage medium for storing a program for creating print data including character data and causing the printing device to print the print data, comprising: character extracting means for extracting character data from print data for one print job; A storage unit for retrievably storing the registration number of the character data extracted by the character extraction unit, the character image, and the page where the character image appears, and a storage unit for storing in the first storage unit according to the page to be printed. A character set generating means for generating character set data of a predetermined length including a character registration number and a character image from the character data; and a character drawing instruction including a character registration number for each page to be printed. The compiling unit transmits a drawing command, the character set data, and a deletion command for deleting the character set data to a printing apparatus. Storage medium characterized by storing a program that causes a chromatography data.
JP01971998A 1997-02-24 1998-01-30 Printing system and printing control method Expired - Fee Related JP3768670B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP01971998A JP3768670B2 (en) 1997-02-24 1998-01-30 Printing system and printing control method
US09/028,343 US6317217B1 (en) 1998-01-30 1998-02-24 Printing system and printing control method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP3923097 1997-02-24
JP9-39230 1997-02-24
JP01971998A JP3768670B2 (en) 1997-02-24 1998-01-30 Printing system and printing control method
US09/028,343 US6317217B1 (en) 1998-01-30 1998-02-24 Printing system and printing control method

Publications (2)

Publication Number Publication Date
JPH10293669A true JPH10293669A (en) 1998-11-04
JP3768670B2 JP3768670B2 (en) 2006-04-19

Family

ID=27282744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01971998A Expired - Fee Related JP3768670B2 (en) 1997-02-24 1998-01-30 Printing system and printing control method

Country Status (1)

Country Link
JP (1) JP3768670B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011070366A (en) * 2009-09-25 2011-04-07 Brother Industries Ltd Pdl data processor and computer program
CN103373093A (en) * 2012-04-28 2013-10-30 新采国际股份有限公司 Printing control method and relevant printing device system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011070366A (en) * 2009-09-25 2011-04-07 Brother Industries Ltd Pdl data processor and computer program
CN103373093A (en) * 2012-04-28 2013-10-30 新采国际股份有限公司 Printing control method and relevant printing device system

Also Published As

Publication number Publication date
JP3768670B2 (en) 2006-04-19

Similar Documents

Publication Publication Date Title
US6611347B1 (en) Print control apparatus, print control method, storage medium, and computer readable program performing a form overlay process
JP3618884B2 (en) Information processing apparatus, information processing method, printing system, and memory
US6317217B1 (en) Printing system and printing control method
US20130293561A1 (en) Image data producing apparatus, image forming apparatus and computer readable medium
JPH11170655A (en) Method and apparatus for outputting image
JP3634447B2 (en) Image processing apparatus and method
JP2610993B2 (en) Information processing apparatus and method
US6870633B1 (en) Printing device
US6310693B1 (en) Printing control apparatus and method, and printing system for reducing processing overhead
JP2000311069A (en) Information processor, information processing method, printing controller, printing control method, printing system and computer readable recording medium stored with program
JPH09325867A (en) Printing controlling method, and printing system
JP3768670B2 (en) Printing system and printing control method
JP4461361B2 (en) Drawing processing method and program, drawing command output device and image forming apparatus
JP3116354B2 (en) Printer data management method
JP3174624B2 (en) Print information management method in printer device and printer device
JP3281327B2 (en) Information processing apparatus and information processing method
JP4325339B2 (en) Printing system, host computer and printer driver
JP3606985B2 (en) Data compression / decompression method and page printer in page printer
JP2003173446A (en) Image processing device, system and method, storage medium and program
JPH08307695A (en) Page printer and its data processing method
JP2012081711A (en) Image forming apparatus and image processing method
JPH11129553A (en) Memory management method and printer and printing system employing it
JPH10175332A (en) Equipment and method for controlling printing, and storage medium storing program which can be read by computer
JP2003072162A (en) Printing controller, method for processing data, storage medium, and program
JPH09248943A (en) Data compressing method for page printer

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040608

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040608

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20040608

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040608

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050520

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050719

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060202

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees