JP2006224442A - Image forming device and printer driver - Google Patents

Image forming device and printer driver Download PDF

Info

Publication number
JP2006224442A
JP2006224442A JP2005040560A JP2005040560A JP2006224442A JP 2006224442 A JP2006224442 A JP 2006224442A JP 2005040560 A JP2005040560 A JP 2005040560A JP 2005040560 A JP2005040560 A JP 2005040560A JP 2006224442 A JP2006224442 A JP 2006224442A
Authority
JP
Japan
Prior art keywords
font
download
print data
downloaded
stored
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
JP2005040560A
Other languages
Japanese (ja)
Other versions
JP4495611B2 (en
Inventor
Yosuke Kametani
洋亮 亀谷
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2005040560A priority Critical patent/JP4495611B2/en
Publication of JP2006224442A publication Critical patent/JP2006224442A/en
Application granted granted Critical
Publication of JP4495611B2 publication Critical patent/JP4495611B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming device saving on memory capacity necessary for filing and realizing management of downloaded font with a little load of print processing. <P>SOLUTION: The image forming device 10 is provided with: a data receiving section 20 which receives from a host the downloaded font necessary for printing the printing data from among the printing data and the downloaded font classified in advance into a plurality of groups and information of the groups to which the downloaded font belongs; a recording device 3 for storing the printing data and the downloaded font; a job management section 21 which decides whether the received downloaded font belongs to a group different from the downloaded font stored in the storage device on the basis of the information, and stores it in the storage device if the received downloaded font belongs to a downloaded font of a different group; and a printing section for performing printing operation using the stored printing data and the downloaded font stored in the storage device 3. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、印刷データの再印刷が可能な画像形成装置、画像形成方法及び記憶媒体に関し、特に、フォント情報を含んだ印刷データを記憶媒体に格納し、必要に応じて取り出して画像を形成できるようにした画像形成装置、画像形成方法及び記憶媒体に関する。   The present invention relates to an image forming apparatus, an image forming method, and a storage medium capable of reprinting print data, and in particular, print data including font information can be stored in a storage medium, and an image can be formed by taking it out as necessary. The present invention relates to an image forming apparatus, an image forming method, and a storage medium.

近年、プリンタなどの画像形成装置が高機能化し、ハードディスクのような記憶媒体を内蔵し、一度印刷した画像データを格納(ファイリング)しておいて再印刷ができるようにしたり、ネットワークで接続されたホストから受けた印刷データを受信の時点で出力せず、ユーザーがプリンタの操作パネルから暗証コードを入力するまで記憶媒体に格納しておくことによってセキュリティーを強化する機能を持たせたりするいわゆるドキュメントファイリング機能を装備した画像形成装置が提案されている。   In recent years, image forming apparatuses such as printers have become highly functional, have built-in storage media such as a hard disk, and store (filing) image data that has been printed once so that it can be reprinted or connected via a network. The so-called document filing that does not output the print data received from the host at the time of reception, but has a function to enhance security by storing it in a storage medium until the user inputs a code from the printer operation panel. An image forming apparatus equipped with a function has been proposed.

このようなドキュメントファイリング機能を利用した印刷において、記憶媒体に格納された印刷データを再印刷する場合、印刷に必要なダウンロードフォントがRAM上や記憶媒体に格納されているかを判別する必要がある。しかし、この判別は印刷データに含まれる全ての文字について行う必要があり、処理に時間を要する。特に印刷データ中に漢字フォントが含まれる場合は、文字数が多いため、英数字やかな文字だけの印刷データに比べて多くの時間を要する。さらに、ダウンロードフォントがRAM及び記憶媒体から削除されている場合には、外部装置から再度ダウンロードを行う必要があり、印刷処理の負荷が大きい。   In printing using such a document filing function, when reprinting print data stored in a storage medium, it is necessary to determine whether a download font necessary for printing is stored on the RAM or the storage medium. However, this determination needs to be performed for all characters included in the print data, and processing takes time. In particular, when Kanji fonts are included in the print data, since the number of characters is large, it takes a lot of time compared to print data containing only alphanumeric characters. Furthermore, when the downloaded font is deleted from the RAM and the storage medium, it is necessary to download again from the external device, and the load of the printing process is large.

印刷に必要な全てのフォントを画像形成装置に格納しておく考え方もあるが、フォントの種類は非常に多く必要な記憶容量は膨大になる。さらに、後日追加された新たなフォントに対応することができない。近年は、ホスト側の画面表示と印刷結果とを一致させるために、ホスト側が印刷データと共にダウンロードフォントを画像形成装置に提供することが多い。
印刷データの再印刷機能を実現するうえで、印刷処理の負荷の軽減や、ファイリングに必要な記憶容量の節約に関連するいくつかの手法が提案されている。
Although there is a concept of storing all fonts necessary for printing in the image forming apparatus, the number of fonts is very large and the required storage capacity becomes enormous. Furthermore, it cannot cope with a new font added later. In recent years, in order to match the screen display on the host side with the print result, the host side often provides a download font together with print data to the image forming apparatus.
In order to realize the print data reprinting function, several methods related to reducing the load of printing processing and saving the storage capacity necessary for filing have been proposed.

その一つに、記憶媒体に印刷データを格納する際に、画像形成装置が受け取ったページ記述言語を中間言語形式で格納するか、ラスタイメージの画像データ形式として格納するかを、あらかじめ計測したレンダリング時間と設定された制限時間とを比較することより選択するように構成し、印刷時間を増加させることなく記憶媒体のデータ容量の削減を可能にする手法が知られている(例えば、特許文献1)。   For example, when printing data is stored in a storage medium, rendering is performed by measuring whether the page description language received by the image forming apparatus is stored in an intermediate language format or an image data format of a raster image. A method is known in which the selection is made by comparing the time with a set time limit, and the data capacity of the storage medium can be reduced without increasing the printing time (for example, Patent Document 1). ).

また、記憶媒体に格納した印刷データのリスト情報を、キャッシュデータとしてキャッシュ領域に格納することにより、印刷データの再印刷を行う際に外部装置から再送信することなく、且つ、記憶装置にアクセスする回数を少なくして、印刷データの再印刷を可能にする手法が知られている(例えば、特許文献2)。   Also, by storing the print data list information stored in the storage medium in the cache area as cache data, the print data can be reprinted and accessed without being retransmitted from an external device. A technique is known that enables reprinting of print data by reducing the number of times (for example, Patent Document 2).

さらにまた、ダウンロードフォントを含む印刷データを印刷する際に、ダウンロードフォントを格納するRAMの空き容量が不足する場合、RAM上にすでに格納されているデータを圧縮し、作成された空き領域にダウンロードフォントを格納するか、もしくは、RAM上に十分な空き領域がない場合、記憶装置にRAM上のダウンロードフォントを格納しRAM上に記憶媒体に格納されたフォント情報のインデックスを格納することでダウンロードフォントをRAM及び記憶媒体上から削除することなく新たなダウンロードフォントの格納を可能にする手法が知られている(例えば、特許文献3)。   Furthermore, when the print data including the download font is printed, if the free space of the RAM for storing the download font is insufficient, the data already stored in the RAM is compressed and the download font is stored in the created free area. Or if there is not enough free space on the RAM, the downloaded font on the RAM is stored in the storage device and the font information index stored on the storage medium is stored on the RAM. A technique is known that enables storing new downloaded fonts without deleting them from the RAM and storage medium (for example, Patent Document 3).

また、ダウンロードフォントを含む印刷データを印刷する際に、記憶媒体上のフォント情報テーブルを参照し自動整合性判別を行うことで、印刷データに含まれるダウンロードフォントがすでに記憶媒体に格納されているかの判定を行うことを可能にし、さらには、ダウンロードフォントを新たにRAMに格納する場合に、RAMの空き容量をもとに、データ部のみ圧縮するかファイル全体を圧縮するかを選択することでRAM上に効率的にダウンロードフォントを格納可能する手法が知られている(例えば、特許文献4)。
特開2001−347709号公報 特開2002−200798号公報 特開平8−166858号公報 特開2000−347821号公報
In addition, when printing print data including a download font, whether or not the download font included in the print data is already stored in the storage medium by referring to the font information table on the storage medium and performing automatic consistency determination It is possible to make a determination, and when a newly downloaded font is stored in the RAM, it is possible to select whether to compress only the data portion or the entire file based on the free space of the RAM. A technique for efficiently storing downloaded fonts on top is known (for example, Patent Document 4).
JP 2001-347709 A Japanese Patent Laid-Open No. 2002-200808 JP-A-8-166858 JP 2000-347821 A

特許文献1および2においては、ダウンロードフォントを含む印刷データに関して特に言及はされていない。
しかし、特許文献1において印刷データを記憶媒体へ格納するのに、ラスタイメージの画像データ形式に変換して記憶媒体に格納する場合には再印刷の際にダウンロードフォントは必要ないが、ページ記述言語形式で記憶媒体に格納する場合には再印刷の際にダウンロードフォントが必要となる。従って、両者について個別の処理を行うべきであり、いずれか一方だけの処理を行う手法に比べて処理が複雑化し、設計工数やメンテナンスの工数が増大する。
In Patent Documents 1 and 2, there is no particular mention regarding print data including download fonts.
However, in the case where the print data is stored in the storage medium in Japanese Patent Application Laid-Open No. 2004-151867, when the image data format of the raster image is converted into the storage medium and stored in the storage medium, a download font is not necessary at the time of reprinting. When stored in a storage medium in a format, a download font is required for reprinting. Accordingly, the individual processes should be performed for both of them, and the process becomes complicated as compared with the method of performing only one of the processes, and the number of man-hours for design and maintenance increases.

特許文献2の手法は、再印刷のための記憶装置へのアクセス回数を少なくするためにキャッシュの容量を大きくするほど、大容量のキャッシュが必要になる。また、印刷データを記憶媒体にすべて格納するため、特に漢字フォントデータを印刷データとともに格納する場合に大容量の記憶装置が必要となる。   In the method of Patent Document 2, a larger-capacity cache is required as the cache capacity is increased in order to reduce the number of accesses to the storage device for reprinting. Further, since all the print data is stored in the storage medium, a large-capacity storage device is required especially when storing the kanji font data together with the print data.

また、特許文献3の手法も、特許文献2と同様、印刷データを記憶装置にすべて格納するので大容量の記憶装置が必要となる。さらに、RAM上の空き領域が不足する場合に、ダウンロードフォントを記憶領域へ格納するが、RAM容量が不足する毎にインデックスの作成が必要であり、空き容量の不足が連続して発生した場合には、何度もインデックスを作成する必要があり処理に負担がかかる。   Also, the method of Patent Document 3 also requires a large-capacity storage device because all print data is stored in the storage device, as in Patent Document 2. Furthermore, when the free area on the RAM is insufficient, the downloaded font is stored in the storage area. However, an index must be created every time the RAM capacity is insufficient, and the shortage of free capacity occurs continuously. Requires many times to create an index, and the processing is burdensome.

特許文献4の手法は、フォント書体テーブルを用いてダウンロードフォントを管理しているが、管理するダウンロードフォントが増加すると、記憶媒体に格納される印刷データを再印刷する場合や電子ソートする際に、印刷データが必要とするダウンロードフォントが記憶媒体に格納されているかの判別処理の負荷が大きくなってしまう。
印刷処理の負荷が少なく、ファイリングに必要な記憶容量を節約することができる手法が望まれている。
The technique of Patent Literature 4 manages download fonts using a font typeface table. However, when the number of download fonts to be managed increases, when reprinting print data stored in a storage medium or performing electronic sorting, The load for determining whether or not the downloaded font required by the print data is stored in the storage medium increases.
There is a demand for a technique that can reduce the load of printing processing and save the storage capacity necessary for filing.

この発明は、印刷データと予め複数グループに分類されたダウンロードフォントのうち前記印刷データの印刷に必要なグループのダウンロードフォントと当該ダウンロードフォントが属するグループの情報とをホストから受けるデータ受領部と、印刷データとダウンロードフォントとを記憶するための記憶装置と、受領したダウンロードフォントが記憶装置に格納されたダウンロードフォントと異なるグループに属するかどうかを前記情報に基づいて判定し異なるグループのダウンロードフォントであれば記憶装置に格納するジョブ管理部と、記憶された印刷データと記憶装置に記憶されたダウンロードフォントとを用いて印刷を行う印刷部とを備える画像形成装置を提供する。   The present invention includes a data receiving unit that receives, from a host, print data and a download font of a group necessary for printing the print data among download fonts classified in advance into a plurality of groups, and information on a group to which the download font belongs, A storage device for storing data and downloaded fonts, and whether the received downloaded fonts belong to a different group from the downloaded fonts stored in the storage device; An image forming apparatus is provided that includes a job management unit stored in a storage device, and a printing unit that performs printing using stored print data and a downloaded font stored in the storage device.

また、この発明は、印刷データと予め複数グループに分類されたダウンロードフォントのうち前記印刷データの印刷に必要なグループのダウンロードフォントと当該ダウンロードフォントが属するグループの情報とを印刷装置へ送出する処理をコンピュータに実行させるプリンタドライバを提供する。   The present invention also includes a process of sending print data and a download font of a group necessary for printing the print data out of the download fonts previously classified into a plurality of groups and information on a group to which the download font belongs to a printing apparatus. A printer driver to be executed by a computer is provided.

この発明の画像形成装置は、印刷データと予め複数グループに分類されたダウンロードフォントのうち前記印刷データの印刷に必要なグループのダウンロードフォントと当該ダウンロードフォントが属するグループの情報とをホストから受けるデータ受領部と、受領したダウンロードフォントが記憶装置に格納されたダウンロードフォントと異なるグループに属するかどうかを前記情報に基づいて判定し異なるグループのダウンロードフォントであれば記憶装置に格納するジョブ管理部とを備えるので、受領したダウンロードフォントが既に記憶装置に格納されているかどうかを受領した情報に基づいて判断し、重複したダウンロードフォントを格納することなくダウンロードフォントの記憶容量を節約することができる。しかも、ダウンロードフォントがグループ単位に分類されているので各印刷データに必要なダウンロードフォントの判定を各文字について行う必要がなく、従って判定回数が少なく処理の負担がかからない。   The image forming apparatus according to the present invention receives print data and a download font of a group necessary for printing the print data out of download fonts classified in advance into a plurality of groups and information on a group to which the download font belongs from a host. A job management unit that determines whether the received downloaded font belongs to a group different from the downloaded font stored in the storage device based on the information and stores the downloaded font in the storage device if the downloaded font belongs to a different group. Therefore, it is possible to determine whether the received downloaded font is already stored in the storage device based on the received information, and to save the storage capacity of the downloaded font without storing duplicate downloaded fonts. In addition, since the downloaded fonts are classified into groups, it is not necessary to determine the download font necessary for each print data for each character, and therefore the number of determinations is small and the processing load is not required.

また、この発明のプリンタドライバは、印刷データと予め複数グループに分類されたダウンロードフォントのうち前記印刷データの印刷に必要なグループのダウンロードフォントと当該ダウンロードフォントが属するグループの情報とを印刷装置へ送出する処理をコンピュータに実行させるので、送出されたダウンロードフォントが既に印刷装置に格納されているかどうかを情報に基づいて容易に判断させ、重複したダウンロードフォントを格納することなく記憶容量を節約することができる。   In addition, the printer driver of the present invention sends the print data and the download font of the group necessary for printing the print data among the download fonts classified in advance into a plurality of groups and the information of the group to which the download font belongs to the printing apparatus. Since the processing to be executed is executed by the computer, it is possible to easily determine whether or not the sent download font is already stored in the printing apparatus based on the information, and to save the storage capacity without storing the duplicate download font. it can.

画像形成装置には、ホストからの印刷データを記憶装置に格納することなく印刷出力するものと、一旦記憶装置に格納するものとがあるが、この発明の画像形成装置は印刷データを一旦記憶装置に格納することができる画像形成装置に関する。ただし、必ずしも全ての印刷データを記憶装置に格納する必要はなく、必要に応じて格納できるように構成されていればよい。印刷データを記憶装置に格納する印刷形態としては、例えば、頻繁に使用する印刷データを画像形成装置内に格納しておき、必要に応じて即座に印刷できるような形態、いわゆるドキュメントファイリングがある。この他にも、画像形成装置側で頁順を並べ替えて印刷する形態などもある。   There are two types of image forming apparatuses, one that prints print data from the host without storing it in the storage device, and one that temporarily stores the print data in the storage device. The image forming apparatus of the present invention temporarily stores the print data in the storage device. The present invention relates to an image forming apparatus that can be stored in an image forming apparatus. However, it is not always necessary to store all the print data in the storage device, as long as the print data can be stored as necessary. As a printing form in which the print data is stored in the storage device, for example, there is a so-called document filing in which frequently used print data is stored in the image forming apparatus and can be immediately printed as necessary. In addition to this, there is a form in which the page order is rearranged and printed on the image forming apparatus side.

画像形成装置が印刷データを受領したとき、受領した印刷データの印刷に必要なフォントが画像形成装置内にすでに格納されている場合と、格納されていない場合とがある。印刷に必要なフォントが格納されていない場合、そのフォントを外部から取得する必要がある。外部からフォントを取得する手法として、ネットワークを介して接続されたホストからフォントをダウンロードして使用する方法がある。このようにして受けたフォントをダウンロードフォントという。   When the image forming apparatus receives the print data, a font necessary for printing the received print data may or may not be stored in the image forming apparatus. When a font necessary for printing is not stored, it is necessary to obtain the font from the outside. As a method for acquiring a font from the outside, there is a method of downloading and using a font from a host connected via a network. The font received in this way is called a download font.

この発明の画像形成装置は、印刷データと予め複数グループに分類されたダウンロードフォントのうち前記印刷データの印刷に必要なグループのダウンロードフォントと当該ダウンロードフォントが属するグループの情報とをホストから受けるデータ受領部と、印刷データとダウンロードフォントとを記憶するための記憶装置と、受領したダウンロードフォントが記憶装置に格納されたダウンロードフォントと異なるグループに属するかどうかを前記情報に基づいて判定し異なるグループのダウンロードフォントであれば記憶装置に格納するジョブ管理部と、記憶された印刷データと記憶装置に記憶されたダウンロードフォントとを用いて印刷を行う印刷部とを備える。
ここで、印刷データは、例えば、ページ記述言語形式で記述されたデータであってもよいが、これに限定されるものではない。
The image forming apparatus according to the present invention receives print data and a download font of a group necessary for printing the print data out of download fonts classified in advance into a plurality of groups and information on a group to which the download font belongs from a host. And a storage device for storing the print data and the downloaded font, and whether the received downloaded font belongs to a different group from the downloaded font stored in the storage device, and downloads a different group In the case of a font, a job management unit that stores in a storage device, and a printing unit that performs printing using the stored print data and a downloaded font stored in the storage device are provided.
Here, the print data may be, for example, data described in a page description language format, but is not limited thereto.

前記印刷部が、同一グループのダウンロードフォントを使用する複数の印刷データを印刷する場合に、記憶装置に格納されたダウンロードフォントを共用するようにしてもよい。このようにすれば、ダウンロードフォントを複数の印刷データで共用して印刷するので、重複したダウンロードフォントを記憶装置に格納する必要がなく、ダウンロードフォントの記憶容量を節約することができる。   When the printing unit prints a plurality of print data using the same group of downloaded fonts, the downloaded fonts stored in the storage device may be shared. In this way, since the downloaded font is shared and printed by a plurality of print data, it is not necessary to store the duplicate downloaded font in the storage device, and the storage capacity of the downloaded font can be saved.

前記データ受領部が、一方が他方の全てのフォントを包含するようにグループ化されたダウンロードフォントのうち印刷に必要なグループのダウンロードフォントを受領し、前記ジョブ管理部が、受領したダウンロードフォントに包含されるグループのダウンロードフォントが記憶装置に格納されている場合に、当該包含されるダウンロードフォントを記憶装置から削除し、受領したダウンロードフォントを記憶装置に格納するようにしてもよい。このようにすれば、記憶装置に格納されているグループのダウンロードフォントを用いる印刷は、そのグループを包含するグループのダウンロードフォントを用いて印刷できるので、両方のグループを記憶装置に格納する場合に比べて少ない記憶容量で印刷を行うことができ、記憶領域を節約することができる。別の観点からすると、限られたフォントを用いる印刷データに対し、それに応じて限定されたフォントを含むグループのダウンロードフォントを選択すれば、ダウンロードフォントの記憶容量を節約することができる。   The data receiving unit receives a download font of a group necessary for printing out of the download fonts grouped so that one includes all the other fonts, and the job management unit includes the received download font. When the downloaded font of the group to be stored is stored in the storage device, the included download font may be deleted from the storage device, and the received download font may be stored in the storage device. In this way, printing using the downloaded font of the group stored in the storage device can be performed using the downloaded font of the group including the group, so that both groups can be compared with the case of storing in the storage device. Therefore, printing can be performed with a small storage capacity, and the storage area can be saved. From another point of view, if a download font of a group including a limited font is selected for print data using a limited font, the storage capacity of the download font can be saved.

フォントのグループ化は、種々の体系が考えられ用途に応じて好適な体系を用いればよい。また、すべてのグループが互いに包含関係にある必要はなく、一部のグループだけに包含関係のある体系であってもよい。グループ化の一例として、第1グループが英数、かな文字および各種記号、第2グループがJIS第一水準に含まれる文字、第3グループがJIS第二水準に含まれる文字としてもよい。上記の場合、第1グループは第2グループに包含され、第2グループは第3グループに包含される関係にある。上記の各グループに全ての書体が含まれるようにすると、全てのグループが互いに包含関係にあるが、書体別にグループ化すれば、同一書体についての各グループは包含関係にあるが、異なる書体との間では包含関係を有さない。   Various groups can be considered for grouping fonts, and a suitable system may be used according to the application. Further, it is not necessary that all groups have an inclusive relationship with each other, and a system in which only some groups have an inclusive relationship may be used. As an example of grouping, the first group may be alphanumeric characters, kana characters and various symbols, the second group may be characters included in the JIS first level, and the third group may be characters included in the JIS second level. In the above case, the first group is included in the second group, and the second group is included in the third group. If all the fonts are included in each group above, all groups are inclusive, but if grouped by typeface, each group for the same typeface is inclusive, but with different typefaces. There is no inclusive relationship between them.

また、前記画像形成装置が、記憶装置に格納されたダウンロードフォントを使用する印刷データがすべて削除されるまで当該ダウンロードフォントを記憶装置内に保持し、すべての印刷データが削除された後に当該ダウンロードフォントを削除するフォント管理部をさらに備えていてもよい。このようにすれば、フォント管理部が、印刷が完了して印刷データが削除されるまでその印刷に必要なダウンロードフォントを保持するので、印刷時にダウンロードフォントがないために再度ダウンロードを行うといった重複処理が発生したり、あるいは、代替フォントを用いて印刷することによって使用者の意図しない印刷結果が出力されたりすることがなくなる。特に、ドキュメントファイリング機能を用いた印刷など、長期間に渡って印刷データが画像形成装置内に格納される場合に有効である。   The image forming apparatus holds the download font in the storage device until all the print data using the download font stored in the storage device is deleted, and the download font after all the print data is deleted There may be further provided a font management unit that deletes. In this way, the font management unit holds the download font necessary for printing until printing is completed and the print data is deleted. Therefore, there is no download font at the time of printing, so that it is downloaded again. Or printing using an alternative font does not cause a print result unintended by the user to be output. This is particularly effective when print data is stored in the image forming apparatus for a long period of time, such as printing using a document filing function.

あるいは、前記画像形成装置が、記憶装置に格納されたダウンロードフォントを使用する印刷データの削除後、所定期間内の当該ダウンロードフォントの使用頻度を判定し、当該期間中に印刷データが前記ダウンロードフォントを使用した頻度が基準に満たない場合に前記ダウンロードフォントを削除するフォント管理部をさらに備えるようにしてもよい。このようにした場合は、フォント管理部が、使用頻度の高いダウンロードフォントを、当該ダウンロードフォントを使用する印刷データが削除された後も保持するので、頻繁に当該ダウンロードフォントをダウンロードする必要がなくなり、当該ダウンロードに要する処理時間あるいは処理負荷が軽減される。使用頻度の多いダウンロードフォントに対して特に有効である。   Alternatively, the image forming apparatus determines the use frequency of the download font within a predetermined period after deleting the print data using the download font stored in the storage device, and the print data uses the download font during the period. You may make it further provide the font management part which deletes the said download font when the frequency used is less than a reference | standard. In this case, since the font management unit retains the frequently used downloaded font even after the print data using the downloaded font is deleted, it is not necessary to frequently download the downloaded font. The processing time or processing load required for the download is reduced. This is especially effective for frequently used downloaded fonts.

例えば、前記フォント管理部が、各グループのダウンロードフォントに対応するカウンタを有し、印刷データが記憶装置に格納された際に当該印刷データが使用するダウンロードフォントに対応するカウンタをインクリメントし、所定期間内のカウント数が所定数以下の場合に当該ダウンロードフォントの使用頻度が基準に満たないと判定するようにしてもよい。   For example, the font management unit has a counter corresponding to the download font of each group, and increments the counter corresponding to the download font used by the print data when the print data is stored in the storage device. If the count number is less than or equal to the predetermined number, it may be determined that the use frequency of the downloaded font does not satisfy the standard.

前記ジョブ管理部が、フォント形式に応じた格納方法でダウンロードフォントを記憶装置に格納するようにしてもよい。このようにすれば、例えば、ビットマップフォントではフォントのサイズごとにダウンロードフォントを格納する必要があるのに対して、フォント形式の異なるアウトラインフォントはサイズ別にフォントを格納する必要がないなど、それぞれのフォント形式に応じて必要かつ十分な記憶容量を割り当てることによってダウンロードフォントの記憶容量を節約することができる。   The job management unit may store the downloaded font in the storage device by a storage method corresponding to the font format. In this way, for example, bitmap fonts need to store downloaded fonts for each font size, whereas outline fonts with different font formats do not need to store fonts by size, etc. The storage capacity of the downloaded font can be saved by allocating necessary and sufficient storage capacity according to the font format.

さらに、前記ジョブ管理部が、記憶装置に格納されたダウンロードフォントと同一グループでフォント形式の異なるダウンロードフォントを受けた場合に、両者について格納に必要な記憶容量を比較し、記憶容量の少ない方を記憶装置に格納し、他方を格納しないようにしてもよい。このようにすれば、同一グループのダウンロードフォントについて複数のフォント形式がある場合、記憶容量の少ない方を格納するので、ダウンロードフォントの記憶容量を節約することができる。
また、前記ジョブ管理部が、受領したダウンロードフォントであるアウトラインフォントが記憶装置に格納された同一書体のビットマップフォントを包含する場合に前記アウトラインフォントを記憶装置に格納し、格納したアウトラインフォントに包含されるビットマップフォントを削除するようにしてもよい。このようにすれば、サイズごとにフォントデータを格納する必要のあるビットマップフォントをアウトラインフォントに置換することによって、ダウンロードフォントの記憶容量を節約することができる。
Further, when the job management unit receives a download font having the same group as the download font stored in the storage device and having a different font format, the storage capacity required for storage of both is compared, and the smaller storage capacity is determined. You may make it store in a memory | storage device and may not store the other. In this way, when there are a plurality of font formats for the downloaded fonts in the same group, the one with the smaller storage capacity is stored, so that the storage capacity of the downloaded font can be saved.
When the outline font, which is the received download font, includes a bitmap font of the same typeface stored in the storage device, the job management unit stores the outline font in the storage device and includes it in the stored outline font. The bitmap font to be deleted may be deleted. In this way, the storage capacity of the downloaded font can be saved by replacing the bitmap font that needs to store the font data for each size with the outline font.

また、この発明のプリンタドライバは、印刷データと予め複数グループに分類されたダウンロードフォントのうち前記印刷データの印刷に必要なグループのダウンロードフォントと当該ダウンロードフォントが属するグループの情報とを印刷装置へ送出する処理をコンピュータに実行させる。プリンタドライバは、アプリケーションから印刷処理の要求を受けて印刷データを生成するが、前記要求に選択したフォントの書体、サイズ等の情報が含まれる。選択されたフォントは一種類の場合もあるが、ワープロ文書の印刷などでは、多くの場合複数種類のフォントが選択される。プリンタドライバは、印刷データに付加すべきフォント、即ちダウンロードフォントと、ダウンロードが不要なフォントとを区別するように構成されている。ダウンロードが不要なフォントとは、例えば、画像形成装置側がROM等に保持しているフォントであって、プリンタドライバは、画像形成装置側が保持しているフォントを知っている。画像形成装置側が保持するフォントの情報は、画像形成装置と対でメーカーが提供するプリンタドライバに、予めその情報が格納されていたり、プリンタドライバのインストール時に画像形成装置の構成情報を取得したりすることで実現される。   In addition, the printer driver of the present invention sends the print data and the download font of the group necessary for printing the print data among the download fonts classified in advance into a plurality of groups and the information of the group to which the download font belongs to the printing apparatus. Cause the computer to execute the process. The printer driver generates print data in response to a print processing request from an application, and the request includes information such as the typeface and size of the selected font. Although the selected font may be one type, in many cases, a plurality of types of fonts are selected for printing a word processing document. The printer driver is configured to distinguish a font to be added to print data, that is, a downloaded font and a font that does not need to be downloaded. The font that does not need to be downloaded is, for example, a font held in the ROM or the like on the image forming apparatus side, and the printer driver knows the font held on the image forming apparatus side. The font information held by the image forming apparatus is stored in advance in a printer driver provided by the manufacturer in a pair with the image forming apparatus, or the configuration information of the image forming apparatus is acquired when the printer driver is installed. This is realized.

以下、図面を参照してこの発明をさらに詳述する。
図1は、この発明の画像形成装置およびこの発明のプリンタドライバに係る情報処理装置のハードウェア構成の一例を示すブロック図である。図1に示すように、画像形成装置10は、CPU1、プログラムROM2、HDD(ハードディスク装置)3、ホストI/F4、RAM5、プリンタI/F6、プリンタエンジン7、UI(ユーザーインターフェース)部8、バス9から構成される。CPU1は、画像形成処理を実行する。
The present invention will be described in further detail below with reference to the drawings.
FIG. 1 is a block diagram showing an example of a hardware configuration of an information processing apparatus according to the image forming apparatus of the present invention and the printer driver of the present invention. As shown in FIG. 1, the image forming apparatus 10 includes a CPU 1, a program ROM 2, an HDD (hard disk device) 3, a host I / F 4, a RAM 5, a printer I / F 6, a printer engine 7, a UI (user interface) unit 8, and a bus. It is composed of nine. The CPU 1 executes an image forming process.

プログラムROM2は、CPU1に実行させる処理の手順を示すプログラムを格納する。プログラムは、CPU1にデータ受領部としての処理を実行させるプログラム20(以下、データ受領部という)、ジョブ管理部としての処理を実行させるプログラム21(以下、ジョブ管理部という)を含む。また、フォント管理部としての処理を実行させるプログラム22(以下フォント管理部という)を含んでいてもよい。その他に、プログラムROM2は、印刷データを処理してプリンタエンジン7に送出するラスタ信号を作成する処理を行うプログラムなどを含む。また、プリンタエンジン7を制御するプログラムを含んでCPU1がプリンタエンジン7を制御してもよいが、CPU1とは別の図示しないCPUがプリンタエンジン7の制御を行ってもよい。   The program ROM 2 stores a program indicating a procedure of processing to be executed by the CPU 1. The programs include a program 20 (hereinafter referred to as a data receiving unit) that causes the CPU 1 to execute processing as a data receiving unit, and a program 21 (hereinafter referred to as a job managing unit) that executes processing as a job managing unit. Further, it may include a program 22 (hereinafter referred to as a font management unit) for executing processing as a font management unit. In addition, the program ROM 2 includes a program for processing the print data and creating a raster signal to be sent to the printer engine 7. The CPU 1 may control the printer engine 7 including a program for controlling the printer engine 7, but a CPU (not shown) other than the CPU 1 may control the printer engine 7.

ハードディスク装置(HDD)3は、ホスト装置19から受信した印刷データ、ダウンロードフォントおよびダウンロードフォントに関する情報を含むジョブ情報を格納するための記憶装置である。ホストI/F4は、ホスト装置19と接続されて通信を介してホスト装置19から印刷データ等を受信する。RAM5は、CPU1の作業用のワークエリアや印刷データ処理を行うための画像メモリ領域を提供する。プリンタI/F6は、プリンタエンジン7に印刷のためのラスタ信号を送出する。プリンタエンジン7は、受信した印刷データを印刷するための印刷部として機能する。ユーザーインターフェース(UI)部8は、画像形成装置の操作者に画像形成装置に格納された印刷データの内容、フォントの内容および画像形成装置の状態を知らせる液晶画面と、操作入力を受けつけるタッチパネルから構成される。   The hard disk device (HDD) 3 is a storage device for storing job information including print data received from the host device 19, download fonts, and information about download fonts. The host I / F 4 is connected to the host device 19 and receives print data and the like from the host device 19 via communication. The RAM 5 provides a work area for the work of the CPU 1 and an image memory area for performing print data processing. The printer I / F 6 sends a raster signal for printing to the printer engine 7. The printer engine 7 functions as a printing unit for printing the received print data. The user interface (UI) unit 8 includes a liquid crystal screen that informs the operator of the image forming apparatus of the contents of the print data stored in the image forming apparatus, the contents of the font, and the state of the image forming apparatus, and a touch panel that receives operation inputs. Is done.

また、ホスト装置19は、印刷用I/F11、CPU12、入力装置13、RAM14、表示装置15、ハードディスク装置(HDD)16を含む。そして、HDD16には、CPU12にアプリケーションを実行させるアプリケーションプログラム17やプリンタドライバ18が格納されている。プリンタドライバ18は、アプリケーション等からの印刷要求を受けてCPU12に、印刷データを作成させ、当該印刷データをジョブとして実行させるために必要なダウンロードフォントとそのダウンロードフォントが属するグループの情報とを作成された印刷データと共に画像形成装置に送出するように処理を実行させる。   The host device 19 includes a printing I / F 11, a CPU 12, an input device 13, a RAM 14, a display device 15, and a hard disk device (HDD) 16. The HDD 16 stores an application program 17 that causes the CPU 12 to execute an application and a printer driver 18. Upon receiving a print request from an application or the like, the printer driver 18 causes the CPU 12 to create print data and create a download font and group information to which the download font belongs to execute the print data as a job. The processing is executed so as to be sent to the image forming apparatus together with the print data.

この実施形態におけるプリンタドライバ18の処理手順の一例を説明する。図2は、この発明のプリンタドライバが、ファイリングジョブとして印刷データと共に画像形成装置へ送るダウンロードフォントに関する処理の手順を示すフローチャートである。プリンタドライバ18は、アプリケーションから印刷処理の要求を受けて処理を開始する。そして、アプリケーションからの印刷処理要求に含まれるフォントの選択情報に基づいて、作成する印刷データにダウンロードフォントを含めるべきか否かの判別を行う(ステップS101)。印刷データにダウンロードフォントを含めない場合、ルーチンはステップS103へ進む。   An example of the processing procedure of the printer driver 18 in this embodiment will be described. FIG. 2 is a flowchart showing a processing procedure relating to a downloaded font that the printer driver of the present invention sends to the image forming apparatus together with print data as a filing job. The printer driver 18 starts processing upon receiving a print processing request from the application. Then, based on the font selection information included in the print processing request from the application, it is determined whether or not the download font should be included in the print data to be created (step S101). When the download font is not included in the print data, the routine proceeds to step S103.

印刷データにダウンロードフォントを含める場合、プリンタドライバ18は、印刷データを作成する際に印刷データが使用するアウトラインフォントが属するグループの判別を行う(ステップS102)。ステップS102の処理の詳細については後述する。使用するアウトラインフォントのグループを決定したら、プリンタドライバは、決定した前記グループについての情報を画像形成装置に提供するためにジョブフォントリストを作成する(ステップS103)。ジョブフォントリストは、作成された印刷データに含まれる全てのダウンロードフォントの属性(フォント形式、文字サイズ、書体名など)、各ダウンロードフォントが属するグループのID番号、フォントデータを含むリストデータである。図13は、ジョブフォントリストの一例を示す説明図である。ジョブフォントリスト作成の詳細についてはさらに後述する。   When the download font is included in the print data, the printer driver 18 determines the group to which the outline font used by the print data belongs when creating the print data (step S102). Details of the processing in step S102 will be described later. When the outline font group to be used is determined, the printer driver creates a job font list in order to provide information about the determined group to the image forming apparatus (step S103). The job font list is list data including attributes (font format, character size, typeface name, etc.) of all downloaded fonts included in the created print data, ID numbers of groups to which the respective downloaded fonts belong, and font data. FIG. 13 is an explanatory diagram showing an example of a job font list. Details of the job font list creation will be described later.

そして、プリンタドライバ18は、ジョブフォントリストを作成された印刷データにリンクして(ステップS104)画像形成装置10に送信する(ステップS105)。画像形成装置10は、印刷データと、ジョブフォントリスト即ち前記印刷データの印刷に必要なグループのダウンロードフォントならびに当該ダウンロードフォントが属するグループの情報とをホスト装置から受ける。   Then, the printer driver 18 links the job font list to the created print data (step S104) and transmits it to the image forming apparatus 10 (step S105). The image forming apparatus 10 receives print data, a job font list, that is, a download font of a group necessary for printing the print data and information of a group to which the download font belongs from the host device.

図3は、アウトラインフォントが属するグループの判別を行う処理(図2のステップS102)の詳細を示すフローチャートである。まず、書体や文字サイズに対応して系列化されたフォントの各系列についてグループの番号を示す配列変数GourpNumber[j]を全て初期化する(ステップS201)。前記系列は、アウトラインフォントについては書体ごとの系列であり、ビットマップフォントについては書体とサイズごとの系列である。例えば、明朝体のビットマップフォントで、フォントサイズがサイズ14,16および20のフォントが系列1に属する。アウトラインフォントのゴシック体は、系列2に属する。そして、アウトラインフォントの教科書体が系列3に属するといったように系列化される。 また、同じ書体のビットマップフォントとアウトラインフォントは、同系列としてもよい。   FIG. 3 is a flowchart showing details of the process for determining the group to which the outline font belongs (step S102 in FIG. 2). First, all array variables GourpNumber [j] indicating group numbers are initialized for each series of fonts arranged in accordance with the typeface and character size (step S201). The series is a series for each typeface for outline fonts, and is a series for each typeface and size for bitmap fonts. For example, a Mincho font font whose font sizes are 14, 16 and 20 belong to the series 1. The Gothic font of the outline font belongs to series 2. Then, the text fonts of the outline font are grouped so that they belong to the series 3. Also, bitmap fonts and outline fonts of the same typeface may be the same series.

次に、ルーチンは印刷データに含まれる全ての文字について、順次以下に述べるステップS202からステップS212の処理を繰り返すループ処理に入る(ステップS202)。
まず、最初の1文字char[i]を選択し、char[i]の印刷に使うフォントの種類を、アプリケーションからの印刷要求に含まれるフォントの選択情報に基づいて決定する(ステップS203)。決定された系列のIDを仮にnとする。選択文字char[i]が属するグループの判定を以降の処理で行い、得られる結果を、その系列nに対応するグループ番号の配列変数GroupNumber[n]に格納すべく、系列のID値nを保持しておく(ステップS204)。
Next, the routine enters a loop process in which the processes from step S202 to step S212 described below are sequentially repeated for all characters included in the print data (step S202).
First, the first character char [i] is selected, and the type of font used for printing char [i] is determined based on font selection information included in the print request from the application (step S203). Let the determined series ID be n. The determination of the group to which the selected character char [i] belongs is performed in the subsequent processing, and the ID value n of the series is held so as to store the obtained result in the group number array variable GroupNumber [n] corresponding to the series n. (Step S204).

そして、char[i]が各種記号、英数字、かな文字のいずれかに属するものであるかどうかの判定を行う(ステップS205)。char[i]が、各種記号、英数字、かな文字のいずれかであれば、変数GroupNumber[n]の値を1に設定(ステップS209)した後、ルーチンはS212のループ終端へ進む。   Then, it is determined whether or not char [i] belongs to any of various symbols, alphanumeric characters, and kana characters (step S205). If char [i] is one of various symbols, alphanumeric characters, and kana characters, the variable GroupNumber [n] is set to 1 (step S209), and then the routine proceeds to the loop end in S212.

一方、char[i]が、各種記号、英数字、かな文字のいずれにも属さない場合、char[i]がJIS第1水準の文字コードに属するものであるかどうかの判定を行う(ステップS206)。char[i]が、JIS第1水準に属する場合は、変数GroupNumber[n]の値を2に設定(ステップS210)した後、ルーチンはS212のループ終端へ進む。   On the other hand, if char [i] does not belong to any of various symbols, alphanumeric characters, and kana characters, it is determined whether or not char [i] belongs to a JIS first level character code (step S206). ). If char [i] belongs to the JIS first level, the value of the variable GroupNumber [n] is set to 2 (step S210), and then the routine proceeds to the end of the loop in S212.

char[i]が、JIS第1水準に属さない場合、char[i]がJIS第2水準の文字コードに属するものであるかどうかの判定をさらに行う(ステップS207)。選択した文字が、JIS第2水準に属する場合は、変数GroupNumber[n]の値を3に設定(ステップS211)した後、ルーチンはS212のループ終端へ進む。   If char [i] does not belong to the JIS first level, it is further determined whether or not char [i] belongs to the JIS second level character code (step S207). If the selected character belongs to the JIS second level, after setting the value of the variable GroupNumber [n] to 3 (step S211), the routine proceeds to the loop end of S212.

一方、選択した文字が、JIS第2水準に属さない場合、変数GroupNumber[n]の値を4に設定(ステップS208)した後、ルーチンはS212へ進み、次の文字char[i]を選択した後、新たに選択したchar[i]について前述のステップS203からステップS212の処理を繰り返す。全ての文字についての処理が終わるまで前記ループ処理を行う。   On the other hand, if the selected character does not belong to the JIS second level, after setting the value of the variable GroupNumber [n] to 4 (step S208), the routine proceeds to S212 and selects the next character char [i]. Thereafter, the processing from step S203 to step S212 described above is repeated for the newly selected char [i]. The loop processing is performed until the processing for all characters is completed.

ステップS202〜S212のループ処理を終了したときに変数GroupNumber[n]の値は、各系列について、印刷データに含まれる全ての文字を含んだグループの値を示す。同系列のグループ1〜4は、大きな値のグループが小さな値のグループを包含する関係にある。GroupNumber[n]が0の場合は、その系列のフォントが印刷データに使用されないことを示す。GroupNumber[n]が1のグループは、各種記号、英数字、かな文字からなる文字グループであり、2のグループは、JIS第1水準に属するグループ、3のグループはJIS第2水準に属するグループ、4のグループはJIS第2水準に含まれない文字を含むグループであり、例えば、JISの補助漢字として規定される、記述記号・単位記号・汎用的でない外国語のフォント(ダイアクリティカルマーク、ダイアクリティカルマーク付きギリシアアルファベット等)がこのグループ相当する。大きな値のグループがそれより小さい値のグループを包含する関係にある。従って、変数GroupNumberの示すグループのダウンロードフォントがあれば、その印刷データを印刷するのに十分である。   When the loop processing of steps S202 to S212 is completed, the value of the variable GroupNumber [n] indicates the value of the group including all characters included in the print data for each series. The groups 1 to 4 in the same series have a relationship in which a large value group includes a small value group. When GroupNumber [n] is 0, it indicates that the font of that series is not used for print data. The group whose GroupNumber [n] is 1 is a character group composed of various symbols, alphanumeric characters and kana characters, the group 2 is a group belonging to the JIS first level, the group 3 is a group belonging to the JIS second level, Group 4 is a group that includes characters that are not included in JIS Level 2. For example, descriptive symbols, unit symbols, and non-generic foreign language fonts (diacritical marks, diacritical marks, etc.) stipulated as JIS auxiliary kanji. Marked Greek alphabet etc.) correspond to this group. There is a relationship in which a group of large values includes a group of smaller values. Therefore, the download font of the group indicated by the variable GroupNumber is sufficient to print the print data.

図4は、ジョブフォントリストの作成処理(図2のステップS103)の詳細を示すフローチャートである。図4に示すように、プリンタドライバ18は、印刷データにダウンロードフォントが含まれるかどうかの判定を行う(ステップS301)。印刷データにダウンロードフォントが含まれない場合は、空のジョブフォントリストを作成(ステップS303)して処理を終了する。一方、印刷データにダウンロードフォントが含まれる場合は、そのダウンロードフォントのフォント形式がビットマップフォントであるかアウトラインフォントであるかを判断する(ステップS302)。その結果、アウトラインフォントであると判断した場合は、変数GroupNumber[j]で示されるグループのアウトラインフォントデータをジョブフォントリストに追加する(ステップS304)。一方、ダウンロードフォントのフォント形式がアウトラインフォントでなくビットマップフォントであると判断された場合は、変数GroupNumber[j]で示されるグループのビットマップフォントデータをジョブフォントリストに追加する(ステップS305)。   FIG. 4 is a flowchart showing details of job font list creation processing (step S103 in FIG. 2). As shown in FIG. 4, the printer driver 18 determines whether or not a download font is included in the print data (step S301). If the download data is not included in the print data, an empty job font list is created (step S303), and the process ends. On the other hand, if the download data is included in the print data, it is determined whether the font format of the download font is a bitmap font or an outline font (step S302). As a result, when it is determined that the font is an outline font, outline font data of the group indicated by the variable GroupNumber [j] is added to the job font list (step S304). On the other hand, if it is determined that the font format of the download font is not an outline font but a bitmap font, the bitmap font data of the group indicated by the variable GroupNumber [j] is added to the job font list (step S305).

フォントは、その形式によって格納形式が異なっていてもよい。なぜならば、ビットマップフォントは、フォントサイズに応じたデータを持つが、アウトラインフォントは全サイズに共通のデータを持つ。従って、フォントを格納するために必要な記憶容量もフォント形式によって異なる。ビットマップフォントのグループ化の際は、そのグループに含むフォントサイズも一致しなければ同系列のフォントとして扱うことはしない。例えば、明朝体のビットマップフォントで、フォントサイズがサイズ14,16および20のフォントが系列1に属する場合、同じ明朝体のビットマップフォントでフォントサイズがサイズ6,8、10,12のフォントは系列1とは異なるものして扱い、例えば系列4に属する。   The font may have a different storage format depending on the format. This is because the bitmap font has data corresponding to the font size, but the outline font has data common to all sizes. Therefore, the storage capacity required to store the font also differs depending on the font format. When grouping bitmap fonts, if the font sizes included in the group do not match, they are not treated as the same series of fonts. For example, if a Mincho bitmap font and font sizes 14, 16, and 20 belong to the series 1, the same Mincho bitmap font and font sizes 6, 8, 10, and 12 are used. The font is handled differently from the series 1 and belongs to the series 4, for example.

次に、この実施形態における画像形成装置10が実行する印刷処理手順の一例を説明する。
画像形成装置10のプログラムROM2に格納されたデータ受領部20は、ホスト装置19から送られた印刷データとジョブフォントリストとをホストI/F4を介して受領し、RAM5に格納する処理をCPU1に実行させる。ホストI/F4は、例えば、ホスト装置との間をパラレルポートで接続するためのインターフェースであってもよいが、これに限定されず、USBやIEEE1394などで接続するものであってもよく、あるいは図1のようにホスト装置と一対一で接続されるものではなく、ネットワークに接続されるものであってもよい。
Next, an example of a print processing procedure executed by the image forming apparatus 10 in this embodiment will be described.
The data receiving unit 20 stored in the program ROM 2 of the image forming apparatus 10 receives the print data and the job font list sent from the host device 19 via the host I / F 4 and stores the processing in the RAM 5 in the CPU 1. Let it run. For example, the host I / F 4 may be an interface for connecting to a host device through a parallel port, but is not limited to this, and may be connected by USB, IEEE 1394, or the like, or Instead of being connected to the host device on a one-on-one basis as shown in FIG. 1, it may be connected to a network.

RAM5に格納されたホスト装置からの印刷データとジョブフォントリストは、CPU1がジョブ管理部21を実行することによって処理される。
図5は、画像形成装置10のプログラムROM2に含まれるジョブ管理部21の処理を示すフローチャートである。ジョブ管理部21は、RAM5に格納されたジョブフォントリストを参照し、印刷データがダウンロードフォントを含むか否かを判断する(ステップS401)。ジョブフォントリストが空で、ダウンロードフォントを含まないと判断した場合、ルーチンはステップS403へ進む。一方、印刷データがダウンロードフォントを含むと判断した場合、ジョブ管理部21は、内蔵フォントリストの更新処理を行う(ステップS402)。即ち、受領したダウンロードのうち格納が必要なものをHDD3に格納し、HDD3に格納されているフォントの一覧である内蔵フォントリストを更新する。図14は、内蔵フォントリストの一例を示す説明図である。また、図12は、内蔵フォントリストが参照するフォントデータリストの内容を示す説明図である。内蔵フォントリストの更新処理については、その詳細をさらに後述する。
The print data and job font list from the host device stored in the RAM 5 are processed by the CPU 1 executing the job management unit 21.
FIG. 5 is a flowchart showing processing of the job management unit 21 included in the program ROM 2 of the image forming apparatus 10. The job management unit 21 refers to the job font list stored in the RAM 5 and determines whether or not the print data includes a download font (step S401). If it is determined that the job font list is empty and does not include a download font, the routine proceeds to step S403. On the other hand, when it is determined that the print data includes the downloaded font, the job management unit 21 performs an update process of the built-in font list (step S402). That is, the received downloads that need to be stored are stored in the HDD 3, and the built-in font list that is a list of fonts stored in the HDD 3 is updated. FIG. 14 is an explanatory diagram showing an example of a built-in font list. FIG. 12 is an explanatory diagram showing the contents of the font data list referred to by the built-in font list. Details of the update processing of the built-in font list will be described later.

そして、ジョブ管理部21は、RAM5に格納された印刷データをファイリングジョブとしてHDD3に格納し、格納されているファイリングジョブリストを管理するためのファイリングジョブリストに前記印刷データを追加する(ステップS403)。内蔵フォントリストの更新処理については、その詳細をさらに後述する。   Then, the job management unit 21 stores the print data stored in the RAM 5 as a filing job in the HDD 3, and adds the print data to the filing job list for managing the stored filing job list (step S403). . Details of the update processing of the built-in font list will be described later.

図11は、ファイリングジョブリストの一例を示す説明図である。
例えば、ファイリングジョブについて、そのジョブフォントリストの内容が図13に示すものであったとする。前記ファイリングジョブは、文字サイズがサイズ14の明朝体のビットマップフォントJFL(1)、文字サイズがサイズ16の明朝体のビットマップフォントJFL(2)、ゴシック体のアウトラインフォントJFL(3)、教科書体のアウトラインフォントJFL(4)およびその他の系列のフォントを使用する。
FIG. 11 is an explanatory diagram showing an example of a filing job list.
For example, assume that the content of the job font list for a filing job is as shown in FIG. The filing job consists of a Mincho bitmap font JFL (1) having a character size of 14, a Mincho bitmap font JFL (2) having a character size of 16, and a Gothic outline font JFL (3). The text font outline font JFL (4) and other fonts are used.

ジョブ管理部21は、ジョブフォントリストと内蔵フォントリストを比較する。まず、JFL(1)と同じ明朝体のフォントについて調べると、内蔵フォントリストに登録されている内蔵フォントFL(1)は、明朝体であり、文字サイズがサイズ14を含む。そして、JRL(1)のGroupNumberの値が1に対して、内蔵フォントのうちサイズ14のフォントのGroupNumberは2であり、内蔵フォントに包含される。従って、JFL(1)は、新たに内蔵フォントとして格納する必要がないことがないと判断できる。   The job management unit 21 compares the job font list with the built-in font list. First, when examining the same Mincho font as JFL (1), the built-in font FL (1) registered in the built-in font list is Mincho and has a character size of 14. The value of GroupNumber of JRL (1) is 1 while the GroupNumber of the size 14 font among the built-in fonts is 2, which is included in the built-in font. Therefore, it can be determined that JFL (1) does not need to be newly stored as a built-in font.

同様に、JFL(2),JFL(3),JFL(4)についても判断すると、いずれの書体も内蔵フォントリストに一致する書体があるが、JFL(4)のGroupNumberが3であるのに対して、内蔵フォントのFL(3)のGroupNumberは2であり、ファイリングジョブを印刷するためには教科書体のアウトラインフォントFN(3)をJFL(4)で置換する必要があることがわかる。なお、各内蔵フォントは、図12に示すフォントデータリストに格納され、内蔵フォントリストの「フォントデータリストの参照先」を参照してフォントデータにアクセスできる。各フォントデータは、公知のデータ形式でフォントデータリストに格納されている。例えば、フォントFN(1)は、ビットマップフォント形式で、フォントサイズ別のデータが格納されている。サイズ14、16,20が格納されている。   Similarly, if JFL (2), JFL (3), and JFL (4) are also judged, there is a typeface that matches the built-in font list, but the JFL (4) GroupNumber is 3. Thus, it can be seen that the GroupNumber of the built-in font FL (3) is 2, and it is necessary to replace the outline font FN (3) of the text type with JFL (4) in order to print the filing job. Each built-in font is stored in the font data list shown in FIG. 12, and the font data can be accessed by referring to “reference destination of font data list” in the built-in font list. Each font data is stored in the font data list in a known data format. For example, the font FN (1) is a bitmap font format and stores data for each font size. Sizes 14, 16, and 20 are stored.

ホストから受領したファイリングジョブは、図11に示すファイリングジョブリストに追加登録する。図11では、既に登録されているファイリングジョブリストが、少なくとも3つあって、ファイリングジョブFJ(1)の使用フォントは、フォントFL(2)を使用し、ファイリングジョブFJ(2)は、内蔵フォントを何も使用せず、ファイリングジョブFJ(3)は、フォントFN(1)のうち文字サイズがサイズ16のビットマップフォントと、フォントFN(2)を使用することを示している。   The filing job received from the host is additionally registered in the filing job list shown in FIG. In FIG. 11, there are at least three registered filing job lists, and the font used for the filing job FJ (1) is the font FL (2), and the filing job FJ (2) is the built-in font. The filing job FJ (3) indicates that a bitmap font having a character size of 16 and a font FN (2) are used in the font FN (1).

図6は、内蔵フォントリストの更新処理(図5のステップS402)の詳細な処理手順を示すフローチャートである。図6に示すように、ジョブ管理部21は、受領したジョブフォントリストを参照し、ジョブフォントリストに登録された最初のフォントを選択する(ステップS501)。リスト中のダウンロードフォントの書体が、既に内蔵フォントリストに登録され、フォントがHDD3に格納された同一書体のフォントがあるかどうかを判断する(ステップS502)。判断の結果、内蔵フォントリスト中に同一書体のフォントが登録されていない場合、ルーチンはS503へ進み、ジョブフォントリストにあるダウンロードフォントの形式がアウトラインフォントかビットマップフォントかを判断する(ステップS503)。判断の結果がアウトラインフォントであれば、HDD3内のフォントデータリスト(図12参照)にRAM5に格納された当該ダウンロードフォントをフォントデータリストに加える。即ち、ダウンロードフォントをHDD3に格納する。   FIG. 6 is a flowchart showing a detailed processing procedure of the built-in font list update process (step S402 in FIG. 5). As shown in FIG. 6, the job management unit 21 refers to the received job font list and selects the first font registered in the job font list (step S501). It is determined whether the font of the downloaded font in the list is already registered in the built-in font list and there is a font of the same type whose font is stored in the HDD 3 (step S502). If the same font is not registered in the built-in font list as a result of the determination, the routine proceeds to S503, where it is determined whether the downloaded font type in the job font list is an outline font or a bitmap font (step S503). . If the result of the determination is an outline font, the downloaded font stored in the RAM 5 is added to the font data list in the HDD 3 (see FIG. 12). That is, the downloaded font is stored in the HDD 3.

そして、格納したダウンロードフォントを内蔵フォントリストで参照できるように新たなFont No.として追加登録する(ステップS504)。また、図示しないタイマ部を参照して内蔵フォントリストへの「起算日時」の項目に当該ダウンロードフォントの登録日時を登録し、期間内リンク数をゼロにする。一方、前記判断の結果がビットマップフォントであれば、当該ダウンロードフォントをフォントデータリストに加え、HDD3に格納する。そして、格納したダウンロードフォントを内蔵フォントリストで参照できるように新たなFont No.として追加登録する(ステップS505)。また、図示しないタイマ部を参照して登録日時を内蔵フォントリストの「起算日時」に登録し、「期間内リンク数」をゼロにする。そして、ルーチンはS510へ進む。   Then, a new font number is added so that the stored downloaded font can be referred to in the built-in font list. Are additionally registered (step S504). In addition, referring to a timer unit (not shown), the registration date and time of the download font is registered in the item “starting date and time” in the built-in font list, and the number of links in the period is set to zero. On the other hand, if the result of the determination is a bitmap font, the downloaded font is added to the font data list and stored in the HDD 3. Then, a new font number is added so that the stored downloaded font can be referred to in the built-in font list. Are additionally registered (step S505). In addition, referring to a timer unit (not shown), the registration date and time is registered in the “starting date and time” of the built-in font list, and the “number of links in period” is set to zero. Then, the routine proceeds to S510.

一方、前記ステップS502で、ジョブフォントリスト中の対象Font No.のフォントと同一書体のフォントが内蔵フォントリストに登録されていると判断した場合、登録されたフォントの形式がアウトラインフォントか、ビットマップフォントかを判断する(ステップS506)。アウトラインフォントの場合、ル―チンはステップS508へ進む。一方、フォント形式がビットマップフォントの場合、内蔵フォントリスト中に同一サイズのフォントが含まれているかどうかを判断する。ビットマップフォントはフォントサイズによってグループ化され、フォントデータが格納されているからである。内蔵フォントリストに同一サイズのフォントが含まれていない場合、ルーチンは前記ステップS505へ進み、当該サイズのビットマップフォントを内蔵フォントに追加する処理を行う。一方、前記ステップ507で内蔵フォントリストに同一サイズのフォントが含まれる場合、ルーチンはS508へ進む。   On the other hand, in step S502, the target Font No. in the job font list is displayed. When it is determined that a font having the same typeface as that of the first font is registered in the built-in font list, it is determined whether the registered font format is an outline font or a bitmap font (step S506). If it is an outline font, the routine proceeds to step S508. On the other hand, if the font format is a bitmap font, it is determined whether the same font size is included in the built-in font list. This is because bitmap fonts are grouped by font size and font data is stored. If a font of the same size is not included in the built-in font list, the routine proceeds to step S505, and a process of adding a bitmap font of the size to the built-in font is performed. On the other hand, if the same font size is included in the built-in font list in step 507, the routine proceeds to S508.

ステップS508では、ジョブフォントリスト中の対象Font No.のフォントが、それに対応する内蔵フォントリストに含まれるかどうかについて、グループの判定を行う(ステップS508)。ジョブフォントリスト中の対象Font No.の「GroupNumber」の値が、それに対応する内蔵フォントリストの「GroupNumber」の値よりも大きい場合、ジョブフォントリスト中の対象Font No.のダウンロードフォントは、内蔵フォントリストに既に含まれておらず、フォントを登録必要がある。そこで、ジョブフォントリスト中のFont No.のダウンロードフォントをフォントデータリストに加え、HDD3に格納する。そして、格納したダウンロードフォントを内蔵フォントリストで参照できるように新たなFont No.として追加登録する(ステップS509)。また、図示しないタイマ部を参照して登録日時を内蔵フォントリストの「起算日時」に登録し、期間内リンク数をゼロにする。   In step S508, the target Font No. in the job font list is displayed. The group is determined as to whether or not the font is included in the corresponding built-in font list (step S508). The target font number in the job font list. If the value of “GroupNumber” in the job font list is larger than the value of “GroupNumber” in the corresponding built-in font list, the target Font No. in the job font list is displayed. The downloaded font is not already included in the built-in font list, and it is necessary to register the font. Therefore, Font No. in the job font list is displayed. Are added to the font data list and stored in the HDD 3. Then, a new font number is added so that the stored downloaded font can be referred to in the built-in font list. Are additionally registered (step S509). In addition, referring to a timer unit (not shown), the registration date and time is registered in the “starting date and time” in the built-in font list, and the number of links in the period is set to zero.

一方、前記ステップS508で、ジョブフォントリスト中の対象Font No.の「GroupNumber」の値が、それに対応する内蔵フォントリストの「GroupNumber」の値よりも小さいか等しい場合、ジョブフォントリスト中の対象Font No.のダウンロードフォントは、内蔵フォントリストに既に含まれているので、内蔵フォントを追加する必要がない。その場合、ルーチンはステップS510に進む。   On the other hand, in step S508, the target Font No. in the job font list is displayed. If the value of “GroupNumber” in the job font list is smaller than or equal to the value of “GroupNumber” in the corresponding built-in font list, the target Font No. Since the downloaded font is already included in the built-in font list, there is no need to add a built-in font. In that case, the routine proceeds to step S510.

ステップS510で、ジョブ管理部21は、内蔵フォントリストを調べて、同一書体のビットマップフォントとアウトラインフォントが重複していないかどうかを調べる。そして、重複があった場合はビットマップフォントを削除してフォントデータの記憶容量を節約する。ステップS510の処理については、さらのその詳細を後述する。
次に、ステップS511で、ジョブ管理部21は、ジョブフォントリストに含まれる全てのFont No.について前述のステップS502〜S509の一連の処理を行ったかどうかを判断し、未処理のフォントがあれば、次のFont No.を選択してステップS501へ戻り、処理を繰り返す。一方、ジョブフォントリスト中の全てのFont No.のフォントについて処理を行ったと判断した場合は処理を終了する。
In step S510, the job management unit 21 checks the built-in font list to check whether the bitmap font and outline font of the same typeface are not duplicated. If there is an overlap, the bitmap font is deleted to save the font data storage capacity. Details of step S510 will be described later.
In step S511, the job management unit 21 determines that all font numbers included in the job font list. It is determined whether or not the series of processing in steps S502 to S509 described above has been performed, and if there is an unprocessed font, the next Font No. Is selected and the process returns to step S501 to repeat the process. On the other hand, all font numbers in the job font list are displayed. If it is determined that the process has been performed for the font, the process ends.

図15は、図6のフローチャートで、内蔵フォントリストの重複を検出しビットマップフォントをアウトラインフォントに置き換えるステップS510の処理の詳細を示すフローチャートである。図15に示すように、ステップS510の処理では、内蔵フォントリスト中の全てのFont No.について以下に説明するステップS1102〜S1108までの処理を順次行う。まず、対象とするFont No.のフォントが、アウトラインフォントかどうかを調べる(ステップS1102)。アウトラインフォントでない場合はそのフォントについての処理を行わずに次に対象とするFont No.を選択し(ステップS1109)、ステップS1101からのループ先頭へ戻る。   FIG. 15 is a flowchart showing the details of the processing in step S510 in the flowchart of FIG. 6 to detect duplication of the internal font list and replace the bitmap font with the outline font. As shown in FIG. 15, in the process of step S510, the processes from step S1102 to S1108 described below are sequentially performed for all the font numbers in the built-in font list. First, it is checked whether the target Font No. font is an outline font (step S1102). If it is not an outline font, the next font No. is selected without performing processing for that font (step S1109), and the process returns to the top of the loop from step S1101.

一方、対象とするFont No.のフォントが、アウトラインフォントであれば、内蔵フォントリストを検索し、同一書体のビットマップフォントがあるかどうかを調べる(ステップS1103)。内蔵フォントリスト中に対象とするFont No.のフォントと同一書体のビットマップフォントがなければ、そのフォントについての処理を行わずに次に対象とするFont No.を選択する。   On the other hand, if the target font number is an outline font, the built-in font list is searched to check whether there is a bitmap font of the same typeface (step S1103). If there is no bitmap font of the same typeface as the font of the target Font No. in the built-in font list, the target Font No. is selected without performing processing for that font.

一方、対象とするFont No.のフォントと同一書体のビットマップフォントがあれば、ビットマップフォントがアウトラインフォントに包含されるかどうかを調べる。具体的には、ビットマップフォントの全サイズについて、以下に説明するステップS1105〜S1107の処理を順次行う。即ち、対象とする一つのサイズを選択し、そのサイズのビットマップフォントについて、ビットマップフォントのGroupNumberが、比較対象のアウトラインフォントのGroupNumberよりも小さいかもしくは等しいかどうかを判断する(ステップS1105)。ビットマップフォントのGroupNumberが、アウトラインフォントのGroupNumberよりも小さいかもしくは等しければ、そのビットマップフォントは、アウトラインフォントに包含される。そこで、ビットマップフォントのデータを削除(ステップS1106)するとともに、ファイリングジョブリストの使用Font No.を更新(ステップS1107)し、ビットマップフォントをアウトラインフォントに置換する。そして、ステップS1108へ進む。一方、前記ステップS1105の判定で、ビットマップフォントのGroupNumberがアウトラインフォントのGroupNumberよりも大きく、ビットマップフォントがアウトラインフォントに包含されない場合、アウトラインフォントへの置換はできないと判断し、ルーチンはステップS1108へ進む。   On the other hand, if there is a bitmap font of the same typeface as the font of the target Font No., it is checked whether the bitmap font is included in the outline font. Specifically, the processes of steps S1105 to S1107 described below are sequentially performed for all the sizes of the bitmap font. That is, one target size is selected, and for the bitmap font of that size, it is determined whether the GroupNumber of the bitmap font is smaller than or equal to the GroupNumber of the outline font to be compared (step S1105). If the GroupNumber of the bitmap font is less than or equal to the GroupNumber of the outline font, the bitmap font is included in the outline font. Therefore, the bitmap font data is deleted (step S1106), and the font number used in the filing job list is updated (step S1107), and the bitmap font is replaced with the outline font. Then, the process proceeds to step S1108. On the other hand, if it is determined in step S1105 that the bitmap font GroupNumber is larger than the outline font GroupNumber and the bitmap font is not included in the outline font, it is determined that the font cannot be replaced with the outline font, and the routine proceeds to step S1108. move on.

ステップS1108では、次に対象とするビットマップフォントのサイズを選択し、ステップS1104に戻ってループ処理を繰り返す。ステップS1103の判定において対象とするビットマップフォントの全てのサイズに上記ループ処理を行ったのち、ルーチンはステップS1109へ進む。ステップS1109で、ジョブ管理部21は、次に対象とすべきFont No.のフォントを選択し、ステップS1101のループ先頭へ戻って処理を繰り返す。内蔵フォントリスト中の全てのFont No.について前述のループ処理を行った後、ルーチンは終了する。   In step S1108, the next target bitmap font size is selected, and the flow returns to step S1104 to repeat the loop processing. After performing the above loop processing on all the sizes of the target bitmap font in the determination in step S1103, the routine proceeds to step S1109. In step S1109, the job management unit 21 selects a font having a font number to be the next target, returns to the top of the loop in step S1101, and repeats the processing. After performing the above loop processing for all Font Nos. In the built-in font list, the routine ends.

さらに、ファイリングジョブリスト中の使用Font No.を更新する前記ステップS1107の処理の詳細について説明する。
図16は、図15のフローチャートで、内蔵フォントリスト中の対象FontNo.から文字サイズのフォントデータを削除するステップS1106の処理の詳細を示すフォローチャートである。図16に示すように、ジョブ管理部21は、内蔵フォントリスト中の対象FontNo.から文字サイズのフォントデータを削除する場合、まず、フォントデータリスト中のフォントデータからアウトラインフォントで置換することを決定したサイズのビットマップデータを削除する(ステップS1201)。そして、内蔵フォントリストの処理「Font No.」の登録情報のうち「文字サイズ」項目中の登録情報から削除したサイズを削除する(ステップS1202)。さらに、ファイリングジョブリストを検索し、前記「Font No.」の登録情報の「リンク数」の値を更新する(ステップS1203)。また、ビットマップフォントを置換したアウトラインフォントの「リンク数」についても、ファイリングジョブリストを検索し、リンク数及び期間内リンク数の再計算を行ってそれらの値を更新する(ステップS1204)。なお、前のビットマップフォントがアウトラインフォントで置換されたフォントについてのファイリングジョブリスト中の「期間内リンク数」は、更新をせずにその値を保持すればよい。「期間内リンク数」は、フォントの使用頻度を評価する指標にすぎず、厳密に更新を行わなくても大きな支障は生じないからである。
そして、前記ステップS1202の処理によって、「文字サイズ」が存在しない状態であれば(ステップS1205)、内蔵フォントリストから、前記「Font No.」の登録情報をすべて削除する(ステップS1206)。しかし、他の「文字サイズ」登録情報が存在する場合は、前記「Font No.」の登録情報を削除しないでおく。
Further, details of the processing in step S1107 for updating the used font number in the filing job list will be described.
FIG. 16 is a follow chart showing details of the processing in step S1106 for deleting font data of character size from the target FontNo. In the built-in font list in the flowchart of FIG. As shown in FIG. 16, when deleting the font data of the character size from the target FontNo. In the built-in font list, the job management unit 21 first decides to replace the font data in the font data list with the outline font. The bitmap data having the size is deleted (step S1201). Then, the size deleted from the registration information in the “character size” item is deleted from the registration information of the process “Font No.” in the built-in font list (step S1202). Further, the filing job list is searched, and the value of “number of links” in the registration information of “Font No.” is updated (step S1203). For the “link number” of the outline font replaced with the bitmap font, the filing job list is searched, and the values are updated by recalculating the link number and the in-period link number (step S1204). Note that the “number of links in period” in the filing job list for the font in which the previous bitmap font is replaced with the outline font may be maintained without updating. This is because the “number of links within the period” is merely an index for evaluating the frequency of use of the font, and there is no significant problem even if it is not strictly updated.
If the “character size” does not exist in the process of step S1202 (step S1205), all the registered information of “Font No.” is deleted from the built-in font list (step S1206). However, if other “character size” registration information exists, the registration information of “Font No.” is not deleted.

図7は、ファイリングジョブリストに印刷ジョブを追加する処理手順(図5のステップS403)の詳細を示すフローチャートである。図7に示すように、ジョブ管理部21は、RAM5に格納された印刷データを新たな「Filing Job No.」のファイリングジョブとして、ファイリングジョブリストに追加登録する(ステップS601)。   FIG. 7 is a flowchart showing details of a processing procedure for adding a print job to the filing job list (step S403 in FIG. 5). As illustrated in FIG. 7, the job management unit 21 additionally registers the print data stored in the RAM 5 as a new “Filing Job No.” filing job in the filing job list (step S <b> 601).

そして、新たに追加した前記ファイリングジョブについて、印刷ジョブで使用されるフォントに対応する内蔵フォントリストのFont No.を登録する(ステップS602)。印刷ジョブで使用するフォントは、ジョブフォントリストに登録されている。これらのフォントと内蔵フォントリストに登録されたフォントとの対応は、ジョブフォントリストと内蔵フォントリストに格納された各フォントの書体、サイズ等の属性を比較して得る。   For the newly added filing job, the Font No. in the built-in font list corresponding to the font used in the print job is displayed. Is registered (step S602). Fonts used in the print job are registered in the job font list. The correspondence between these fonts and the fonts registered in the built-in font list is obtained by comparing attributes such as the typeface and size of each font stored in the job font list and the built-in font list.

次に、ファイリングジョブリストに新たに登録されたファイリングジョブの「使用Font No.」に対応する内蔵フォントリストのフォントの「リンク数」の値に1を加える(ステップS603)。さらに、前記フォントの「期間内リンク数」の値に1を加える(ステップS604)。さらに、前記フォントの「保護フラグ」を「ON」にする(ステップS605)。   Next, 1 is added to the value of the “number of links” of the font in the built-in font list corresponding to “Use Font No.” of the filing job newly registered in the filing job list (step S603). Further, 1 is added to the value of “number of links in period” of the font (step S604). Further, the “protection flag” of the font is set to “ON” (step S605).

また、ファイリングジョブリストに登録されたファイリングジョブを印刷する場合のジョブ管理部21の処理について説明する。
図8は、ジョブ管理部21がファイリングジョブを印刷する際の処理の手順を示すフローチャートである。図8に示すように、ジョブ管理部21は、ファイリングジョブリストを参照し、印刷すべき「Filing job No.」のファイリングジョブの「使用Font No.」の項目に基づいて内蔵フォントリスト中の対応「Font No.」を取得する(ステップS701)。
The processing of the job management unit 21 when printing a filing job registered in the filing job list will be described.
FIG. 8 is a flowchart illustrating a processing procedure when the job management unit 21 prints a filing job. As shown in FIG. 8, the job management unit 21 refers to the filing job list, and the correspondence in the built-in font list is based on the item “Used Font No.” of the filing job of “Filing job No.” to be printed. “Font No.” is acquired (step S701).

そして、取得した「Fonot No.」に基づいて内蔵フォントリストのデータをRAM5に読み込む(ステップS702)。また、ファイリングジョブリストを参照して「印刷データ」をRAM5に読み込み、印刷のためのデータ処理をCPU1に実行させた後に処理し(ステップS703)、処理した結果のラスタ信号をプリンタエンジン7に送出する(ステップS705)。プリンタエンジン7は、ラスタ信号に応じた画像を形成して印字出力する。   Then, based on the acquired “Font No.”, the data of the built-in font list is read into the RAM 5 (step S702). Further, “print data” is read into the RAM 5 with reference to the filing job list, and the CPU 1 executes the data processing for printing (step S703), and the processed raster signal is sent to the printer engine 7. (Step S705). The printer engine 7 forms an image corresponding to the raster signal and prints it out.

ジョブ管理部21は、印刷出力が完了したら、その印刷データが使用する全てのフォントについて、内蔵フォントリスト中の対応「Font No.」の「リンク数」の値から1を減じる(ステップS705)。そして、減算結果が0かどうかを判定し(ステップS706)、ゼロの場合は内蔵フォントリストからフォントデータの削除する処理を行う(ステップS707)。一方、減算結果が0でない場合、ルーチンはステップS708へ進む。最後に、ファイリングジョブリストから終了したファイリングジョブを削除する(ステップS708)。   When the print output is completed, the job management unit 21 subtracts 1 from the “link number” value of the corresponding “Font No.” in the built-in font list for all the fonts used by the print data (step S705). Then, it is determined whether or not the subtraction result is 0 (step S706). If it is zero, the process of deleting the font data from the built-in font list is performed (step S707). On the other hand, if the subtraction result is not 0, the routine proceeds to step S708. Finally, the completed filing job is deleted from the filing job list (step S708).

内蔵フォントリストからフォントデータを削除する機会としては、いくつかの方法が選択できる。もっとも単純な方法は、内蔵フォントリストに登録されたフォントを使用するファイリングジョブがすべて削除された場合に当該フォントデータを削除する方法である。この方法を実現するには、前述のステップS707において、無条件にフォントデータを削除すればよい。ステップS707が実行されるのは、ステップS706の判定で内蔵フォントリストの当該フォントの「リンク数」がゼロ、即ち、当該フォントを使用する印刷データがない状態に相当するからである。   Several methods can be selected as an opportunity to delete font data from the built-in font list. The simplest method is to delete the font data when all filing jobs that use the font registered in the built-in font list are deleted. In order to realize this method, the font data may be deleted unconditionally in the above-described step S707. Step S707 is executed because the “number of links” of the font in the built-in font list is zero in the determination in step S706, that is, there is no print data using the font.

これとは異なる方法として、「リンク数」がゼロになっても、フォントを内蔵フォントリストに登録した時期から所定期間内の当該フォントの使用頻度が所定の基準以上の場合には、登録を継続し、所定の基準未満の場合にフォントを削除するように構成することもできる。図9は、前述の処理を実現するフォント管理部22として、CPU1に処理を実行させるためのプログラムの一例を示すフローチャートである。図9は、図8においてステップ706を実際に実行するための関数として呼ばれる部分に相当する。この他に、フォントの使用頻度を判定するために、定期的に処理を実行するタイマ処理もある。この関数が呼ばれると、フォント管理部22は、受領したジョブフォントリストを参照し、ジョブフォントリストに登録された最初のフォントを選択する(ステップS801)。   As an alternative method, even if the “Number of links” becomes zero, if the frequency of use of the font within the specified period exceeds the specified standard from the time when the font was registered in the built-in font list, registration will continue. However, the font may be deleted when it is less than a predetermined standard. FIG. 9 is a flowchart illustrating an example of a program for causing the CPU 1 to execute processing as the font management unit 22 that realizes the above-described processing. FIG. 9 corresponds to a portion called as a function for actually executing step 706 in FIG. In addition to this, there is also a timer process that periodically executes a process to determine the font usage frequency. When this function is called, the font management unit 22 refers to the received job font list and selects the first font registered in the job font list (step S801).

そして、対象とするフォントを使用する他のファイリングジョブがあるかどうかをファイリングジョブリストを参照して判断する(ステップS802)。当該フォントを使用する他のファイリングジョブがある場合、ルーチンは、ループ終端のステップS809へ進む。一方、対象とするフォントを使用する他のファイリングジョブがない場合、フォント管理部22は、内蔵フォントリストの「保護フラグ」を「OFF」にして、周期的なタイマ処理で実行される処理に対して、フォントの削除を許可する(ステップS803)。   Then, it is determined by referring to the filing job list whether there is another filing job that uses the target font (step S802). If there is another filing job using the font, the routine proceeds to loop termination step S809. On the other hand, when there is no other filing job that uses the target font, the font management unit 22 sets the “protection flag” in the built-in font list to “OFF” and performs the process executed by the periodic timer process. The deletion of the font is permitted (step S803).

そして、内蔵フォントリストから期間内リンク数と起算日時とを取得する(ステップS804)。さらに、図示しないタイマから現在の日時を取得し、起算日時から現在日時までの判定期間を求める(ステップS805)。そして、期間内リンク数、即ち判定期間中にそのフォントを使用するファイリングジョブが登録された数を判定期間で除し、その値が基準とする閾値よりも小さいかどうかを判定する(ステップS806)。前記閾値は、基準のフォント使用頻度に対応する。判定結果が閾値よりも小さい場合、フォントの使用頻度が基準に満たないことを意味するので、内蔵フォントリストから対象のフォントを削除する(ステップS807)。そして、「期間内リンク数」をゼロに設定する(ステップS808)。一方、前記比較値が閾値以上の場合、ルーチンは、ループ終端のS809へ進む。   Then, the number of links in the period and the starting date and time are acquired from the built-in font list (step S804). Further, the current date and time are acquired from a timer (not shown), and a determination period from the calculation date and time to the current date and time is obtained (step S805). Then, the number of links in the period, that is, the number of registered filing jobs that use the font during the determination period is divided by the determination period, and it is determined whether the value is smaller than a reference threshold (step S806). . The threshold corresponds to a reference font usage frequency. If the determination result is smaller than the threshold value, it means that the font usage frequency does not meet the standard, and the target font is deleted from the built-in font list (step S807). Then, the “number of links in period” is set to zero (step S808). On the other hand, if the comparison value is greater than or equal to the threshold value, the routine proceeds to S809 at the end of the loop.

ステップS809で、フォント管理部22は、ジョブフォントリストに含まれる全てのFont No.について前述のステップS802〜S808の一連の処理を行ったかどうかを判断し、未処理のフォントがあれば、次のFont No.を選択してステップS801へ戻り、処理を繰り返す。一方、ジョブフォントリスト中の全てのFont No.のフォントについて処理を行ったと判断した場合は処理を終了する。   In step S809, the font management unit 22 sets all font numbers included in the job font list. It is determined whether or not the series of processing in steps S802 to S808 described above has been performed, and if there is an unprocessed font, the next Font No. Is selected and the process returns to step S801 to repeat the processing. On the other hand, all font numbers in the job font list are displayed. If it is determined that the process has been performed for the font, the process ends.

図10は、フォントの使用頻度を判定するために、定期的に呼ばれるタイマ処理関数の処理の一例を示すフローチャートである。この関数が呼ばれると、フォント管理部22は、受領したジョブフォントリストを参照し、ジョブフォントリストに登録された最初のフォントを選択する(ステップS901)。そして、対象とするフォントの「保護フラグ」が「OFF」かどうかを判断する(ステップS902)。当該フォントを使用する他のファイリングジョブがある場合、ルーチンは、ループ終端のステップS908へ進む。 一方、対象とするフォントを使用する他のファイリングジョブがない場合、フォント管理部22は、内蔵フォントリストから期間内リンク数と起算日時とを取得する(ステップS903)。さらに、図示しないタイマから現在の日時を取得し、起算日時から現在日時までの判定期間を求める(ステップS904)。   FIG. 10 is a flowchart illustrating an example of processing of a timer processing function that is periodically called to determine the font usage frequency. When this function is called, the font management unit 22 refers to the received job font list and selects the first font registered in the job font list (step S901). Then, it is determined whether or not the “protection flag” of the target font is “OFF” (step S902). If there is another filing job using the font, the routine proceeds to loop termination step S908. On the other hand, if there is no other filing job using the target font, the font management unit 22 acquires the number of links in the period and the date and time of calculation from the built-in font list (step S903). Further, the current date and time are acquired from a timer (not shown), and a determination period from the calculation date and time to the current date and time is obtained (step S904).

そして、期間内リンク数、即ち判定期間中にそのフォントを使用するファイリングジョブが登録された数を判定期間で除し、その値が基準とする閾値よりも小さいかどうかを判定する(ステップS905)。前記閾値は、基準のフォント使用頻度に対応する。判定結果が閾値よりも小さい場合、フォントの使用頻度が基準に満たないことを意味するので、内蔵フォントリストから対象のフォントを削除する(ステップS906)。そして、「期間内リンク数」をゼロに設定する(ステップS907)。一方、前記比較値が閾値以上の場合、ルーチンは、ループ終端のS908へ進む。   Then, the number of links in the period, that is, the number of registered filing jobs that use the font during the determination period is divided by the determination period, and it is determined whether the value is smaller than a reference threshold (step S905). . The threshold corresponds to a reference font usage frequency. If the determination result is smaller than the threshold value, it means that the font usage frequency does not meet the standard, and the target font is deleted from the built-in font list (step S906). Then, the “number of links in period” is set to zero (step S907). On the other hand, if the comparison value is greater than or equal to the threshold, the routine proceeds to S908 at the end of the loop.

ステップS908で、フォント管理部22は、ジョブフォントリストに含まれる全てのFont No.について前述のステップS902〜S907の一連の処理を行ったかどうかを判断し、未処理のフォントがあれば、次のFont No.を選択してステップS901へ戻り、処理を繰り返す。一方、ジョブフォントリスト中の全てのFont No.のフォントについて処理を行ったと判断した場合は処理を終了する。   In step S908, the font management unit 22 determines that all font numbers included in the job font list. It is determined whether or not the series of processing in steps S902 to S907 described above has been performed, and if there is an unprocessed font, the next Font No. Is selected and the process returns to step S901 to repeat the process. On the other hand, all font numbers in the job font list are displayed. If it is determined that the process has been performed for the font, the process ends.

この発明の画像形成装置およびこの発明のプリンタドライバに係る情報処理装置のハードウェア構成の一例を示すブロック図である。It is a block diagram showing an example of a hardware configuration of an information processing apparatus according to the image forming apparatus of the present invention and the printer driver of the present invention. この発明のプリンタドライバが、ファイリングジョブとして印刷データと共に画像形成装置へ送るダウンロードフォントに関する処理の手順を示すフローチャートである。4 is a flowchart showing a procedure of processing relating to a downloaded font that the printer driver of the present invention sends to the image forming apparatus together with print data as a filing job. アウトラインフォントが属するグループの判別を行う処理(図2のステップS102)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the process (step S102 of FIG. 2) which determines the group to which an outline font belongs. ジョブフォントリストの作成処理(図2のステップS103)の詳細を示すフローチャートである。3 is a flowchart showing details of job font list creation processing (step S103 in FIG. 2). 画像形成装置10のプログラムROM2に含まれるジョブ管理部21の処理を示すフローチャートである。4 is a flowchart illustrating processing of a job management unit 21 included in a program ROM 2 of the image forming apparatus 10. 内蔵フォントリストの更新処理(図5のステップS402)の詳細な処理手順を示すフローチャートである。It is a flowchart which shows the detailed process sequence of the update process (step S402 of FIG. 5) of a built-in font list. ファイリングジョブリストに印刷ジョブを追加する処理手順(図5のステップS403)の詳細を示すフローチャートである。6 is a flowchart showing details of a processing procedure for adding a print job to a filing job list (step S403 in FIG. 5). ジョブ管理部がファイリングジョブを印刷する際の処理の手順を示すフローチャートである。6 is a flowchart illustrating a processing procedure when a job management unit prints a filing job. 所定期間内のフォント使用頻度が基準以上の場合に、内蔵フォントを削除しないように管理する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process managed so that a built-in font is not deleted when the font usage frequency in a predetermined period is more than a reference | standard. フォントの使用頻度を判定するために、定期的に呼ばれるタイマ処理関数の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process of the timer processing function called periodically in order to determine the usage frequency of a font. ファイリングジョブリストの一例を示す説明図である。It is explanatory drawing which shows an example of a filing job list. 内蔵フォントリストが参照するフォントデータリストの内容を示す説明図である。It is explanatory drawing which shows the content of the font data list which an internal font list refers. ジョブフォントリストの一例を示す説明図である。It is explanatory drawing which shows an example of a job font list. 内蔵フォントリストの一例を示す説明図である。It is explanatory drawing which shows an example of a built-in font list. 図6のフローチャートで、内蔵フォントリストの重複を検出しビットマップフォントをアウトラインフォントに置き換える処理の詳細を示すフローチャートである。FIG. 7 is a flowchart showing details of a process of detecting duplication of a built-in font list and replacing a bitmap font with an outline font in the flowchart of FIG. 6. 図15のフローチャートで、内蔵フォントリスト中の選択されたFontNo. から文字サイズ情報を削除する処理の詳細を示すフォローチャートである。16 is a follow chart showing details of processing for deleting character size information from a selected FontNo. In the built-in font list in the flowchart of FIG. 15.

符号の説明Explanation of symbols

1 CPU
2 プログラムROM(ジョブ管理部でジョブの管理を行う)
3 記憶装置、ハードディスク装置、HDD:フォントリストテーブル・ファイリングジョブリスト・フォントデータリストを格納する
4 ホストI/F
5 RAM
6 プリンタI/F
7 プリンタエンジン
8 ユーザーインターフェース部、液晶画面およびタッチパネル
9 バス
10 画像形成装置
19 ホスト装置(印刷データにジョブフォントリストテーブルを付加する)
20 データ受領部
21 ジョブ管理部
22 フォント管理部
1 CPU
2 Program ROM (Job management is performed by the job management unit)
3 Storage device, hard disk device, HDD: storing font list table, filing job list, font data list 4 host I / F
5 RAM
6 Printer I / F
7 Printer Engine 8 User Interface Unit, Liquid Crystal Screen and Touch Panel 9 Bus 10 Image Forming Device 19 Host Device (Add Job Font List Table to Print Data)
20 Data reception part 21 Job management part 22 Font management part

Claims (9)

印刷データと予め複数グループに分類されたダウンロードフォントのうち前記印刷データの印刷に必要なグループのダウンロードフォントと当該ダウンロードフォントが属するグループの情報とをホストから受けるデータ受領部と、
印刷データとダウンロードフォントとを記憶するための記憶装置と、
受領したダウンロードフォントが記憶装置に格納されたダウンロードフォントと異なるグループに属するかどうかを前記情報に基づいて判定し異なるグループのダウンロードフォントであれば記憶装置に格納するジョブ管理部と、
記憶された印刷データと記憶装置に記憶されたダウンロードフォントとを用いて印刷を行う印刷部とを備える画像形成装置。
A data receiving unit for receiving, from a host, a download font of a group necessary for printing the print data and a group to which the download font belongs, among print data and download fonts classified in advance into a plurality of groups;
A storage device for storing print data and downloaded fonts;
A job management unit for determining whether the received downloaded font belongs to a group different from the downloaded font stored in the storage device based on the information and storing the downloaded font in a different group if the downloaded font is in a different group;
An image forming apparatus comprising: a printing unit that performs printing using stored print data and a downloaded font stored in a storage device.
前記印刷部が、同一グループのダウンロードフォントを使用する複数の印刷データを印刷する場合に、記憶装置に格納されたダウンロードフォントを共用する請求項1記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the printing unit shares a downloaded font stored in a storage device when printing a plurality of print data using the same group of downloaded fonts. 前記データ受領部が、一方が他方の全てのフォントを包含するようにグループ化されたダウンロードフォントのうち印刷に必要なグループのダウンロードフォントを受領し、
前記ジョブ管理部が、受領したダウンロードフォントに包含されるグループのダウンロードフォントが記憶装置に格納されている場合に、当該包含されるダウンロードフォントを記憶装置から削除し、受領したダウンロードフォントを記憶装置に格納する請求項1記載の画像形成装置。
The data receiving unit receives a download font of a group necessary for printing among download fonts grouped so that one includes all the other fonts,
When the download font of the group included in the received download font is stored in the storage device, the job management unit deletes the included download font from the storage device, and the received download font is stored in the storage device. The image forming apparatus according to claim 1 for storing.
前記記憶装置に格納されたダウンロードフォントを使用する印刷データがすべて削除されるまで当該ダウンロードフォントを記憶装置内に保持し、すべての印刷データが削除された後に当該ダウンロードフォントを削除するフォント管理部をさらに備える請求項1記載の画像形成装置。   A font management unit that holds the download font in the storage device until all the print data using the downloaded font stored in the storage device is deleted, and deletes the download font after all the print data is deleted; The image forming apparatus according to claim 1, further comprising: 前記記憶装置に格納されたダウンロードフォントを使用する印刷データの削除後、所定期間内の当該ダウンロードフォントの使用頻度を判定し、当該期間中に印刷データが前記ダウンロードフォントを使用した頻度が基準に満たない場合に前記ダウンロードフォントを削除するフォント管理部をさらに備える請求項1記載の画像形成装置。   After deleting the print data using the downloaded font stored in the storage device, the frequency of use of the download font within a predetermined period is determined, and the frequency of use of the download font by the print data during the period satisfies the standard. The image forming apparatus according to claim 1, further comprising a font management unit that deletes the downloaded font when there is not. 前記フォント管理部が、各グループのダウンロードフォントに対応するカウンタを有し、印刷データが記憶装置に格納された際に当該印刷データが使用するダウンロードフォントに対応するカウンタをインクリメントし、所定期間内のカウント数が所定数以下の場合に当該ダウンロードフォントの使用頻度が基準に満たないと判定する請求項5記載の画像形成装置。   The font management unit has a counter corresponding to the download font of each group, and increments the counter corresponding to the download font used by the print data when the print data is stored in the storage device. 6. The image forming apparatus according to claim 5, wherein when the count number is equal to or less than a predetermined number, the use frequency of the downloaded font is determined not to satisfy a standard. 前記ジョブ管理部が、フォント形式に応じた格納方法でダウンロードフォントを記憶装置に格納する請求項1記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the job management unit stores the downloaded font in the storage device by a storage method according to a font format. 前記ジョブ管理部が、受領したダウンロードフォントであるアウトラインフォントが記憶装置に格納された同一書体のビットマップフォントを包含する場合に前記アウトラインフォントを記憶装置に格納し、格納したアウトラインフォントに包含されるビットマップフォントを削除する請求項1記載の画像形成装置。   When the outline font, which is the received download font, includes a bitmap font of the same typeface stored in the storage device, the job management unit stores the outline font in the storage device and is included in the stored outline font. The image forming apparatus according to claim 1, wherein the bitmap font is deleted. 印刷データと予め複数グループに分類されたダウンロードフォントのうち前記印刷データの印刷に必要なグループのダウンロードフォントと当該ダウンロードフォントが属するグループの情報とを印刷装置へ送出する処理をコンピュータに実行させるプリンタドライバ。   A printer driver for causing a computer to execute processing for sending to a printing device a download font of a group necessary for printing the print data and information of a group to which the download font belongs among print fonts and download fonts classified into a plurality of groups in advance. .
JP2005040560A 2005-02-17 2005-02-17 Image forming apparatus Active JP4495611B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005040560A JP4495611B2 (en) 2005-02-17 2005-02-17 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005040560A JP4495611B2 (en) 2005-02-17 2005-02-17 Image forming apparatus

Publications (2)

Publication Number Publication Date
JP2006224442A true JP2006224442A (en) 2006-08-31
JP4495611B2 JP4495611B2 (en) 2010-07-07

Family

ID=36986210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005040560A Active JP4495611B2 (en) 2005-02-17 2005-02-17 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP4495611B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010009587A (en) * 2008-05-16 2010-01-14 Software Imaging Group Ltd Method and apparatus for managing font

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06161688A (en) * 1992-11-20 1994-06-10 Ricoh Co Ltd Printer
JPH09138736A (en) * 1995-11-14 1997-05-27 Ricoh Co Ltd Method for down-loading font
JP2000200165A (en) * 1999-01-07 2000-07-18 Canon Inc Character data management device, character data management method and storage medium
JP2000335025A (en) * 1999-06-01 2000-12-05 Canon Inc Printing system, its control method and memory medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06161688A (en) * 1992-11-20 1994-06-10 Ricoh Co Ltd Printer
JPH09138736A (en) * 1995-11-14 1997-05-27 Ricoh Co Ltd Method for down-loading font
JP2000200165A (en) * 1999-01-07 2000-07-18 Canon Inc Character data management device, character data management method and storage medium
JP2000335025A (en) * 1999-06-01 2000-12-05 Canon Inc Printing system, its control method and memory medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010009587A (en) * 2008-05-16 2010-01-14 Software Imaging Group Ltd Method and apparatus for managing font

Also Published As

Publication number Publication date
JP4495611B2 (en) 2010-07-07

Similar Documents

Publication Publication Date Title
KR100661173B1 (en) Print having a direct printing function and printing method thereof
CN100356312C (en) Electronic document management program and electronic document management apparatus
JP2005534105A (en) Printing system that reduces printer usage
US20020196468A1 (en) Variable data printing with optimized cache
KR101383564B1 (en) Image forming apparatus and method for printing thereof
US20200301636A1 (en) Image forming apparatus, non-transitory computer readable medium, and image forming system
JP2006304276A (en) Printing apparatus, printing method, program and storage medium
US20130057884A1 (en) Information processing apparatus, computer program, and control method
KR100257843B1 (en) Character processor, character processing method, and memory
JP4495611B2 (en) Image forming apparatus
US20150324161A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
EP2237145A2 (en) Image processing apparatus, image forming apparatus, image processing method and program
US20050094172A1 (en) Linking font resources in a printing system
JP6641952B2 (en) Printing system
US9530084B2 (en) Image processing apparatus capable of ascertaining printing reduction effect, control method therefor, storage medium, and image processing system
JP2008310816A (en) System and method for compact representation of multiple markup page data
US7528982B2 (en) Printer, print instruction terminal, printing system, printing program, and printing method
JP6957997B2 (en) Control programs, information processing equipment, printing equipment, and communication systems
JP2002103697A (en) Image processor
JP2007111935A (en) Print controller and print control program
JP2019093559A (en) Image formation apparatus, control method and program thereof
US8756491B2 (en) PDL data processing device
EP3627834A1 (en) Image decompressing apparatus, control method thereof, and computer program
JPS5928190A (en) Character pattern generation system
JP3817077B2 (en) Print processing system and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100317

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: 20100406

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100409

R150 Certificate of patent or registration of utility model

Ref document number: 4495611

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3