JP2006188024A - Printer, printing method, and apparatus and method for printing support - Google Patents

Printer, printing method, and apparatus and method for printing support Download PDF

Info

Publication number
JP2006188024A
JP2006188024A JP2005003065A JP2005003065A JP2006188024A JP 2006188024 A JP2006188024 A JP 2006188024A JP 2005003065 A JP2005003065 A JP 2005003065A JP 2005003065 A JP2005003065 A JP 2005003065A JP 2006188024 A JP2006188024 A JP 2006188024A
Authority
JP
Japan
Prior art keywords
character
printing
resource
download
address
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
JP2005003065A
Other languages
Japanese (ja)
Other versions
JP4591087B2 (en
Inventor
Hiroyasu Ishijima
裕康 石島
Kazuyuki Kooriyama
多幸 郡山
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2005003065A priority Critical patent/JP4591087B2/en
Publication of JP2006188024A publication Critical patent/JP2006188024A/en
Application granted granted Critical
Publication of JP4591087B2 publication Critical patent/JP4591087B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer, a printing method, and an apparatus and method for printing support, wherein character resources are managed in the same level as online printing, and not only ordinary printing but also recovery printing in a case of trouble are made accurately. <P>SOLUTION: An emulation component 30 stores character patterns with their associated character codes in a different area of a character resource storage 46 for each download when the patterns are downloaded from a host computer. Printing data including a character pattern specified by a character code is converted into common PDL data including the character pattern specified by an address in the storage area where the character pattern is stored, and outputs the converted data to a drawing component 44 by a controller 40. The drawing component 44 reads the character pattern from the character resources storage 46 according to the common PDL data, and develops the pattern into image data. The developed image data is printed by a printer engine 48. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、外部から文字資源(文字パターン、フォント)をダウンロードして蓄積し、該文字資源を使用して印刷する印刷装置及び印刷方法、該印刷装置の印刷を支援する印刷支援装置、及び該印刷装置の印刷を支援する印刷支援方法に関する。   The present invention relates to a printing apparatus and printing method for downloading and storing character resources (character patterns, fonts) from the outside, and printing using the character resources, a printing support apparatus for supporting printing of the printing apparatus, and the The present invention relates to a printing support method for supporting printing of a printing apparatus.

ホストコンピュータ(ホスト)と印刷装置(プリンタ)がオンライン接続されている印刷システムでは、ダイナミックロードと呼ばれる機能が提供されている。ダイナミックロードとは、印刷データで印刷指示された文字の文字資源(文字パターン、フォント)がプリンタに内蔵されていない場合に、プリンタがホストから文字資源を取得(ダウンロード)し、印刷を続行する機能である。   In a printing system in which a host computer (host) and a printing apparatus (printer) are connected online, a function called dynamic loading is provided. Dynamic load is a function that allows the printer to acquire (download) the character resource from the host and continue printing when the character resource (character pattern, font) of the character specified in the print data is not built in the printer. It is.

文字の印刷では、文字を取り扱うためにそれぞれの文字にコード(文字コード)を割り当てて処理している。標準的な文字については、文字コードと文字資源とが1対1で対応付けられてプリンタの文字資源記憶部に標準的に内蔵されているが、ユーザやメーカが独自に定義した外字などの文字資源は上記標準的な文字の文字コード以外の文字コードに独自に割り当てられる(すなわち、文字コードと文字資源とが1対多の関係にあり、1つの文字コードに対して多数の文字資源が存在する)ため、プリンタには内蔵されない。従って、このような文字資源は、上記ダイナミックロードの機能により印刷データに応じてホストから取得する必要がある。以下、このような文字をダイナミックロード対象文字と呼称する。   In character printing, a code (character code) is assigned to each character in order to handle the character. For standard characters, character codes and character resources are associated with each other in a one-to-one correspondence and are standardly built in the character resource storage unit of the printer. Resources are uniquely assigned to character codes other than the character codes of the above standard characters (that is, there is a one-to-many relationship between character codes and character resources, and there are many character resources for one character code. Therefore, it is not built in the printer. Therefore, it is necessary to acquire such a character resource from the host according to the print data by the dynamic load function. Hereinafter, such characters are referred to as dynamic load target characters.

また、プリンタ内部に印刷データを格納する記憶装置(スプール)を備えることで、印刷時にホストが稼動していなくとも該スプールに格納した印刷データを順次読み出すことにより印刷するオフライン印刷システムも考案されている。このようなプリンタにおいても、文字資源を蓄積するための文字資源記憶部が備えられ、上記標準的な文字の文字資源の他、ダイナミックロード対象文字の文字資源を、印刷データの取得に先立って予めホストからダウンロードして記憶しておくことができる。従って、必要なデータをホストからダウンロードした後はオフラインで印刷することができる。この方式では、一括大量印刷、ホストの運用コスト改善、操作性の向上等の優れた機能を提供できる。   Also, an off-line printing system has been devised by providing a storage device (spool) for storing print data inside the printer, so that printing can be performed by sequentially reading the print data stored in the spool even when the host is not operating during printing. Yes. Such a printer is also provided with a character resource storage unit for storing character resources. In addition to the standard character resource, the character resource of the dynamically loaded character is preliminarily acquired before the print data is acquired. It can be downloaded from the host and stored. Therefore, after downloading necessary data from the host, it can be printed off-line. With this method, it is possible to provide excellent functions such as batch mass printing, host operating cost improvement, and operability improvement.

更に、図17(A)に示されるように、複数のプリンタ(プリンタ11A、11B)の各々が複数のホスト(ホスト50A〜50D)と接続され、各プリンタが該複数のホストから受信した各ホスト独自の形式の印刷データ(例えばページ記述言語(PDL))を共通のPDL形式の印刷データ(共通PDLデータ)に変換して印刷する印刷システムも考案されている。   Further, as shown in FIG. 17A, each of a plurality of printers (printers 11A and 11B) is connected to a plurality of hosts (hosts 50A to 50D), and each host received by each printer from the plurality of hosts. There has also been devised a printing system that converts print data in a unique format (for example, page description language (PDL)) into print data in a common PDL format (common PDL data) and prints it.

以下、ホスト50A〜50Dを特に区別しないで説明するときにはホスト50と呼称する。また、プリンタ11A、11Bは同一構成であり、プリンタ11A、11Bを特に区別しないで説明するときにはプリンタ11と呼称する。   Hereinafter, the hosts 50 </ b> A to 50 </ b> D will be referred to as the host 50 when they are not particularly distinguished. The printers 11A and 11B have the same configuration, and will be referred to as the printer 11 when the printers 11A and 11B are described without particular distinction.

図17(B)に示されるように、従来のプリンタ11は、ホスト50から印刷データを受信して、ホスト50毎に対応した印刷データ(図17では、PDL−A、PDL−B、PDL−C、PDL−D)を共通PDLデータに変換する変換手段(エミュレーションコンポーネント)12A〜12D、エミュレーションコンポーネント12A〜12Dから出力された共通PDLデータをスプール16に蓄積したり、該スプール16に蓄積した共通PDLデータを読み出して出力するコントローラ14、コントローラ14から出力された共通PDLデータのコマンドを解析して画像データを出力する描画コンポーネント18、描画コンポーネント18から出力された画像データを印刷するプリントエンジン22が備えられている。また、描画コンポーネント18には、文字資源を蓄積するための文字資源記憶部20が備えられている。文字資源記憶部20には、標準的な文字資源が文字コードに対応して予め蓄積されている。また、文字資源記憶部20には、必要に応じてホストコンピュータ50から送信された外字などの文字資源が一時的に蓄積される。描画コンポーネント18は、印刷データで文字コードにより指定された文字資源を該文字資源記憶部20から読み出してプリントエンジン22に出力することができる。   As shown in FIG. 17B, the conventional printer 11 receives print data from the host 50, and print data corresponding to each host 50 (in FIG. 17, PDL-A, PDL-B, PDL- C, PDL-D) is converted to common PDL data (emulation component) 12A to 12D, common PDL data output from the emulation components 12A to 12D is accumulated in the spool 16, or the common accumulated in the spool 16 The controller 14 that reads and outputs the PDL data, the drawing component 18 that outputs the image data by analyzing the command of the common PDL data output from the controller 14, and the print engine 22 that prints the image data output from the drawing component 18 Is provided. The drawing component 18 is provided with a character resource storage unit 20 for storing character resources. In the character resource storage unit 20, standard character resources are stored in advance corresponding to the character codes. Further, the character resource storage unit 20 temporarily stores character resources such as external characters transmitted from the host computer 50 as necessary. The drawing component 18 can read the character resource designated by the character code in the print data from the character resource storage unit 20 and output it to the print engine 22.

従って、ホストとオフラインで印刷することができると共に、プリンタにエミュレーションコンポーネントを追加するだけで、複数種類の印刷データの印刷ができる。これにより、プリンタのラインナップ化、高い汎用性、開発コストダウンが実現される。以下、このようにエミュレーションコンポーネントを複数装備したプリンタをマルチエミュレーションプリンタと呼称する。   Accordingly, printing can be performed off-line with the host, and a plurality of types of print data can be printed by simply adding an emulation component to the printer. As a result, the lineup of printers, high versatility, and reduction in development costs are realized. Hereinafter, such a printer equipped with a plurality of emulation components is referred to as a multi-emulation printer.

その他、ホストとプリンタとを接続するインタフェースの情報を与えることにより文字化けなどの発生を抑える技術として、サーバのリクエスタがアプリケーションからの印刷要求をもとに印刷データにプリンタのインタフェース情報を付加してネットワークを介して該当するプリンタの端末(クライアント)に転送し、該クライアントが、ネットワークから受信したインタフェース情報をもとにプリンタを制御して上記受信した印刷データを当該プリンタに印刷させることにより文字化けなどのない正常な印刷を行うプリンタ制御システムが知られている(例えば、特許文献1参照。)。
特開平9−128173号公報
In addition, as a technology to suppress the occurrence of garbled characters by giving information on the interface that connects the host and printer, the server requester adds the printer interface information to the print data based on the print request from the application. The data is transferred to the terminal (client) of the corresponding printer via the network, and the client controls the printer based on the interface information received from the network and causes the printer to print the received print data. There is known a printer control system that performs normal printing without any problem (for example, see Patent Document 1).
JP-A-9-128173

印刷中に紙ジャムや用紙切れなどの印刷不具合があった場合、ホストとオンライン接続される印刷システムでは、印刷データだけでなく、該印刷データで使用されるダイナミックロード対象文字が再度ホストコンピュータからプリンタにダウンロードされ、自動的に再印刷(リカバリ印刷)が行われ、正しい印刷が保証される。通常、リカバリ印刷では、障害が発生した頁より数頁前から再印刷されるが、オンライン接続の印刷システムでは、数頁前からの印刷データと該印刷データで指定された文字コードの文字資源とが同期して再度プリンタにダウンロードされるため、正しく印刷することができる。   If there is a printing failure such as paper jam or out of paper during printing, in the printing system that is connected online with the host, not only the print data but also the dynamic load target character used in the print data is sent from the host computer to the printer again. And is automatically reprinted (recovery printing) to ensure correct printing. Normally, in recovery printing, reprinting is performed from several pages before the failed page, but in an online connection printing system, print data from several pages before and the character resource of the character code specified by the print data Are synchronously downloaded to the printer again, so that printing can be performed correctly.

ところが、オフラインで運用するプリンタ(マルチエミュレーションプリンタを含む)では、文字資源記憶部に蓄積されたダイナミックロード対象文字の文字資源は、障害が発生した時点の印刷データに対応した最新の文字資源であるため、障害発生時にオフライン状態で数頁前からリカバリ印刷を行っても、リカバリ印刷対象の印刷データで指定された文字資源と、文字資源記憶部に蓄積された文字資源とが正しく対応していない場合があり、正常に印刷することができないことがある。   However, in printers that operate offline (including multi-emulation printers), the character resource of the dynamic load target character stored in the character resource storage unit is the latest character resource corresponding to the print data at the time of the failure. For this reason, even if recovery printing is performed offline several pages before a failure occurs, the character resource specified in the recovery print target print data does not correspond correctly to the character resource stored in the character resource storage unit. In some cases, normal printing may not be possible.

ここで、図18を参照しながら、連続紙を印刷するプリンタであって、障害が発生したときには2頁前まで遡って再印刷するプリンタを例に挙げて説明する。   Here, an example of a printer that prints continuous paper and reprints two pages before when a failure occurs will be described with reference to FIG.

同図の印刷物に印刷されたダイナミックロード対象文字は、同一文字コードに対応付けられた文字資源により印刷された文字である。ここでは、プリンタは各頁の印刷データと共に(あるいは印刷データのダウンロード直前に)該文字コードの文字資源をホストからダウンロードし、ダウンロード後はオフライン状態で印刷する。なお、ダウンロードされ文字資源記憶部などに記憶された文字資源は、新たに同一文字コードの文字資源がダウンロードされた時点で上書きされるため、プリンタには、文字コードに対して常に最新の文字資源のみが保持される。   The dynamic load target characters printed on the printed matter in FIG. 5 are characters printed by the character resource associated with the same character code. Here, the printer downloads the character resource of the character code from the host together with the print data of each page (or immediately before the print data is downloaded), and prints it offline after downloading. Since the character resource downloaded and stored in the character resource storage unit is overwritten when a character resource having the same character code is newly downloaded, the printer always has the latest character resource for the character code. Only retained.

図18に示されるように、5頁めの印刷で障害が発生した時には、3頁めから再印刷されるが、文字資源記憶部に記憶された文字資源は、5頁目の印刷データに対応した最新の文字資源であるため、スプールから3頁めの印刷データを読み出して再印刷したとしても、5頁めの文字資源が印刷されてしまう。このように、遡って印刷された3頁〜4頁めの印刷物には、正しい文字が印刷されない、という問題が発生する。   As shown in FIG. 18, when a failure occurs in the printing of the fifth page, reprinting is performed from the third page, but the character resource stored in the character resource storage unit corresponds to the print data of the fifth page. Therefore, even if the print data for the third page is read from the spool and reprinted, the character resource for the fifth page is printed. In this way, there is a problem that correct characters are not printed on the printed matter of the third to fourth pages printed retroactively.

この場合、仮に文字資源の同期をとろうとすると、再度ホストから該当の文字資源を送出しなくてはならず、オフライン印刷のメリットである「ホスト無しでの印刷」が不可能となり、システムのメリットが大幅に縮小してしまう。   In this case, if you try to synchronize the character resources, you must send the corresponding character resources from the host again, making it impossible to print without the host, which is an advantage of offline printing. Will be greatly reduced.

また、このような文字資源の問題は、上記特許文献1記載のプリンタ制御システムでは、何ら考慮されていない。   Such a problem of character resources is not considered at all in the printer control system described in Patent Document 1.

本発明は、上述した問題を解決するためになされたものであり、オフライン印刷においても、オンライン印刷と同等に文字資源を管理でき、通常の印刷だけでなく障害発生時に行われるリカバリ印刷でも正しく印刷することができる印刷装置、印刷支援装置、印刷方法、及び印刷支援方法を提供することを目的とする。   The present invention has been made to solve the above-described problems. In offline printing, character resources can be managed in the same way as online printing, and not only normal printing but also recovery printing performed when a failure occurs can be printed correctly. An object of the present invention is to provide a printing apparatus, a printing support apparatus, a printing method, and a printing support method.

上記目的を達成するために本発明の印刷装置は、文字資源を記憶するための記憶手段と、文字コードが対応付けられた文字資源を外部からダウンロードするダウンロード手段と、前記ダウンロード手段によりダウンロードされた文字資源を前記記憶手段の前記ダウンロード毎に異なる記憶領域に格納する格納手段と、前記文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された前記記憶領域のアドレスにより該文字資源を指定した印刷情報に変換する変換手段と、前記変換手段により変換された印刷情報に基づいて前記記憶手段から文字資源を読み出して印刷する印刷手段と、を含んで構成されている。   In order to achieve the above object, a printing apparatus according to the present invention includes a storage means for storing character resources, a download means for downloading character resources associated with a character code from the outside, and downloaded by the download means. Storage means for storing the character resource in a different storage area for each download of the storage means, and print information in which the character resource is designated by the character code, the character information by the address of the storage area in which the character resource is stored. It comprises conversion means for converting resources into designated print information, and print means for reading character resources from the storage means and printing based on the print information converted by the conversion means.

すなわち、この印刷装置は、文字コードが対応付けられた文字資源を外部からダウンロードしたときに、該文字資源を記憶手段の該ダウンロード毎に異なる記憶領域に格納する。更に、文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された記憶領域のアドレスにより該文字資源を指定した印刷情報に変換し、該変換した印刷情報に基づいて記憶手段から文字資源を読み出して印刷する。   That is, when the character resource associated with the character code is downloaded from the outside, the printing apparatus stores the character resource in a different storage area for each download of the storage unit. Further, the print information in which the character resource is designated by the character code is converted into the print information in which the character resource is designated by the address of the storage area in which the character resource is stored, and from the storage means based on the converted print information Read and print character resources.

従って、同一の文字コードに対して異なる文字資源が対応付けられる場合であっても、各文字資源が異なるアドレスに格納され、最新の文字資源だけでなく過去にダウンロードした文字資源についても保存されると共に、印刷情報も、印刷する文字資源をアドレスにより指定するように変換するため、オフライン印刷においても、オンライン印刷と同等に文字資源を管理でき、通常の印刷だけでなく障害発生時に行われるリカバリ印刷でも文字化けせずに正しく印刷することができる。   Therefore, even when different character resources are associated with the same character code, each character resource is stored at a different address, and not only the latest character resource but also a character resource downloaded in the past is saved. At the same time, since the print information is converted so that the character resource to be printed is specified by the address, even in offline printing, the character resource can be managed in the same way as online printing, and not only normal printing but also recovery printing performed when a failure occurs But it can print correctly without being garbled.

なお、文字には、漢字やカタカナ、英数字などの文字の他、符号や記号、図形等が含まれる。また、文字資源は、該文字を表現する資源であって、字形データ、文字パターン、フォント等をいう。   Note that characters include symbols such as kanji, katakana, and alphanumeric characters, symbols, symbols, figures, and the like. The character resource is a resource that represents the character, and refers to character data, a character pattern, a font, and the like.

上記印刷装置は、前記文字コード、前記文字コードが対応付けられた文字資源を格納した記憶領域のアドレス、及び該文字資源を用いた印刷が完了したか否かを識別するための識別情報を対応付けて記憶した履歴テーブルを更に備え、前記格納手段は、該履歴テーブルに基づいて前記文字資源を格納する記憶領域を決定し、該決定した記憶領域に前記文字資源を格納することができる。   The printing apparatus corresponds to the character code, an address of a storage area storing the character resource associated with the character code, and identification information for identifying whether printing using the character resource is completed. A history table additionally stored is further provided, and the storage means can determine a storage area for storing the character resource based on the history table, and store the character resource in the determined storage area.

例えば、格納手段は、該履歴テーブルに基づいて、既に文字資源が記憶された記憶領域を除く記憶領域や、既に印刷済みであってこれ以降印刷に使用されない文字資源が記憶されている記憶領域に文字資源を格納することができる。   For example, the storage means stores, based on the history table, a storage area excluding a storage area in which character resources have already been stored, or a storage area in which character resources that have already been printed and are not used for printing are stored. Character resources can be stored.

これにより、ダウンロードされた文字資源を確実に異なるアドレスに記憶することができる。また、記憶手段に格納された文字資源を用いた印刷が完了すれば、該文字資源は不要になるため、格納手段は、識別情報を参照することにより、該文字資源を格納した記憶領域に該新たな文字資源を格納することができ、記憶手段の記憶領域を有効に使用することができる。   This ensures that the downloaded character resource can be stored at a different address. In addition, when printing using the character resource stored in the storage unit is completed, the character resource becomes unnecessary, and the storage unit refers to the identification information to store the character resource in the storage area storing the character resource. New character resources can be stored, and the storage area of the storage means can be used effectively.

また、本発明の印刷支援装置は、文字資源を記憶するための記憶手段が設けられ且つ印刷情報に基づいて該記憶手段から文字資源を読み出して印刷する印刷装置の印刷を支援する印刷支援装置であって、文字コードが対応付けられた文字資源を外部からダウンロードするダウンロード手段と、前記ダウンロード手段によりダウンロードされた文字資源を前記記憶手段の前記ダウンロード毎に異なる記憶領域に格納する格納手段と、前記文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された前記記憶領域のアドレスにより該文字資源を指定した印刷情報に変換する変換手段と、を含んで構成されている。   The printing support apparatus of the present invention is a printing support apparatus that is provided with a storage unit for storing character resources and supports printing of a printing apparatus that reads and prints character resources from the storage unit based on print information. Download means for downloading a character resource associated with a character code from the outside; storage means for storing the character resource downloaded by the download means in a different storage area for each download of the storage means; Conversion means for converting print information in which a character resource is designated by a character code into print information in which the character resource is designated by an address of the storage area in which the character resource is stored.

すなわち、この印刷支援装置は、文字コードが対応付けられた文字資源を外部からダウンロードしたときに、該文字資源を印刷装置の記憶手段の該ダウンロード毎に異なる記憶領域に格納する。更に、文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された記憶領域のアドレスにより該文字資源を指定した印刷情報に変換する。   That is, when a character resource associated with a character code is downloaded from the outside, the printing support apparatus stores the character resource in a different storage area for each download of the storage unit of the printing apparatus. Further, the print information in which the character resource is designated by the character code is converted into the print information in which the character resource is designated by the address of the storage area in which the character resource is stored.

印刷装置は、該変換された印刷情報に基づいて記憶手段から文字資源を読み出して印刷することができる。なお、この印刷支援装置が支援する印刷装置は1台であってもよいし、複数台であってもよい。複数台の場合には、各々の印刷装置の記憶手段毎に、ダウンロードされた文字資源を格納する記憶領域をダウンロード毎に異ならせることができる。   The printing apparatus can read and print the character resource from the storage unit based on the converted print information. Note that the printing support apparatus may support one printing apparatus or a plurality of printing apparatuses. In the case of a plurality of units, the storage area for storing the downloaded character resource can be made different for each download for each storage unit of each printing apparatus.

従って、同一の文字コードに対して異なる文字資源が対応付けられる場合であっても、各文字資源が異なるアドレスに格納され、最新の文字資源だけでなく過去にダウンロードした文字資源についても保存されると共に、印刷情報も、印刷する文字資源をアドレスにより指定するように変換するため、オフライン印刷においても、オンライン印刷と同等に文字資源を管理でき、通常の印刷だけでなく障害発生時に行われるリカバリ印刷でも文字化けせずに正しく印刷することができる。   Therefore, even when different character resources are associated with the same character code, each character resource is stored at a different address, and not only the latest character resource but also a character resource downloaded in the past is saved. At the same time, since the print information is converted so that the character resource to be printed is specified by the address, even in offline printing, the character resource can be managed in the same way as online printing, and not only normal printing but also recovery printing performed when a failure occurs But it can print correctly without being garbled.

また、上記印刷支援装置は、前記文字コード、前記文字コードが対応付けられた文字資源を格納した記憶領域のアドレス、及び該文字資源を用いた印刷が完了したか否かを識別するための識別情報を対応付けて記憶した履歴テーブルを更に備え、前記格納手段は、該履歴テーブルに基づいて前記文字資源を格納する記憶領域を決定し、該決定した記憶領域に前記文字資源を格納することもできる。   In addition, the printing support apparatus includes the character code, an address of a storage area that stores the character resource associated with the character code, and an identification for identifying whether printing using the character resource is completed. A history table storing information in association with each other, wherein the storage means determines a storage area for storing the character resource based on the history table, and stores the character resource in the determined storage area; it can.

例えば、格納手段は、該履歴テーブルに基づいて、既に文字資源が記憶された記憶領域を除く記憶領域や、既に印刷済みであってこれ以降印刷に使用されない文字資源が記憶されている記憶領域に文字資源を格納することができる。   For example, the storage means stores, based on the history table, a storage area excluding a storage area in which character resources have already been stored, or a storage area in which character resources that have already been printed and are not used for printing are stored. Character resources can be stored.

これにより、ダウンロードされた文字資源を確実に異なるアドレスに記憶することができる。また、記憶手段に格納された文字資源を用いた印刷が完了すれば、該文字資源は不要になるため、格納手段は、識別情報を参照することにより、該文字資源を格納した記憶領域に該新たな文字資源を格納することができ、記憶手段の記憶領域を有効に使用することができる。   This ensures that the downloaded character resource can be stored at a different address. In addition, when printing using the character resource stored in the storage unit is completed, the character resource becomes unnecessary, and the storage unit refers to the identification information to store the character resource in the storage area storing the character resource. New character resources can be stored, and the storage area of the storage means can be used effectively.

また、上記印刷支援装置は、前記ダウンロード手段によりダウンロードされた最新の文字資源を前記文字コード毎に記憶する最新文字資源記憶手段と、前記最新文字資源記憶手段に記憶された最新の文字資源を、予め定められたタイミングで前記印刷装置の記憶手段に転送する転送手段と、を更に含むことができる。   In addition, the printing support apparatus includes a latest character resource storage unit that stores the latest character resource downloaded by the download unit for each character code, and a latest character resource stored in the latest character resource storage unit. Transfer means for transferring to the storage means of the printing apparatus at a predetermined timing.

例えば、一連の印刷物を複数の印刷装置を切替えて使用して印刷する場合には、印刷装置を切替えた直後でも、継続して該切替えた印刷装置で確実に正しい文字資源が印刷されるようにしなくてはならない。従って、印刷装置の切替え時に、切替え直前にダウンロードした文字資源を切替えた印刷装置に格納するために、最新の文字資源を前記文字コード毎に記憶する最新文字資源記憶手段を設け、該文字資源を、予め定められたタイミングで(例えば印刷装置の切替え時に)切替えた印刷装置の記憶手段に転送するようにすれば、印刷装置を頻繁に切替えて使用しても各印刷装置で正しい文字資源を使用して正常に印刷することができる。   For example, when printing a series of printed materials by switching between a plurality of printing devices, it is ensured that the correct character resource is continuously printed by the switched printing device immediately after switching the printing device. Must-have. Accordingly, in order to store the character resource downloaded immediately before switching at the time of switching the printing device, the latest character resource storage means for storing the latest character resource for each character code is provided, and the character resource is stored. If the data is transferred to the storage means of the switched printing device at a predetermined timing (for example, when the printing device is switched), the correct character resource is used in each printing device even if the printing device is frequently switched. Can be printed normally.

また、本発明の印刷支援装置は、前記最新文字資源記憶手段を複数個備え、前記ダウンロード手段によりダウンロードされた最新の文字資源を、前記ダウンロード手段のダウンロードのタイミングに応じて該複数個の最新文字資源記憶手段のいずれかに記憶するようにすることもできる。   The printing support apparatus according to the present invention further includes a plurality of the latest character resource storage means, and the plurality of latest character resources downloaded by the download means are updated according to the download timing of the download means. It can also be stored in any of the resource storage means.

このように、複数の最新文字資源記憶手段を備えることにより、ダウンロードするタイミングが異なる文字資源を該タイミングに応じて異なる最新文字資源記憶手段に記憶することができ、文字資源の管理が容易となる。   As described above, by providing a plurality of latest character resource storage means, it is possible to store character resources having different download timings in different latest character resource storage means according to the timing, and it becomes easy to manage character resources. .

また、本発明の印刷方法は、文字コードが対応付けられた文字資源を外部からダウンロードし、前記ダウンロードされた文字資源を、文字資源を記憶するための記憶手段の前記ダウンロード毎に異なる記憶領域に格納し、前記文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された前記記憶領域のアドレスにより該文字資源を指定した印刷情報に変換し、前記変換された印刷情報に基づいて前記記憶手段から文字資源を読み出して印刷するものである。   In the printing method of the present invention, the character resource associated with the character code is downloaded from the outside, and the downloaded character resource is stored in a different storage area for each download of the storage means for storing the character resource. Based on the converted print information, the print information in which the character resource is specified by the character code is stored and converted to the print information in which the character resource is specified by the address of the storage area in which the character resource is stored. The character resource is read from the storage means and printed.

本発明の印刷方法も、本発明の印刷装置と同様に作用するため、オフライン印刷においても、オンライン印刷と同等に文字資源を管理でき、通常の印刷だけでなく障害発生時に行われるリカバリ印刷でも正しく印刷することができる。   Since the printing method of the present invention operates in the same manner as the printing apparatus of the present invention, even in offline printing, character resources can be managed in the same way as in online printing, and not only in normal printing but also in recovery printing performed when a failure occurs. Can be printed.

また、本発明の印刷支援方法は、文字資源を記憶するための記憶手段が設けられ且つ印刷情報に基づいて該記憶手段から文字資源を読み出して印刷する印刷装置の印刷を支援する印刷支援方法であって、文字コードが対応付けられた文字資源を外部からダウンロードし、前記ダウンロードされた文字資源を前記記憶手段の前記ダウンロード毎に異なる記憶領域に格納し、前記文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された前記記憶領域のアドレスにより該文字資源を指定した印刷情報に変換するものである。   The printing support method of the present invention is a printing support method that supports printing of a printing apparatus that is provided with storage means for storing character resources and that reads and prints character resources from the storage means based on print information. The character resource associated with the character code is downloaded from the outside, the downloaded character resource is stored in a different storage area for each download of the storage means, and the character resource is designated by the character code The print information is converted into print information designating the character resource by the address of the storage area in which the character resource is stored.

本発明の印刷支援方法も、本発明の印刷支援装置と同様に作用するため、オフライン印刷においても、オンライン印刷と同等に文字資源を管理でき、通常の印刷だけでなく障害発生時に行われるリカバリ印刷でも正しく印刷することができる。   Since the print support method of the present invention operates in the same manner as the print support apparatus of the present invention, even in offline printing, character resources can be managed in the same way as online printing, and not only normal printing but also recovery printing performed when a failure occurs But you can print correctly.

以上説明したように、本発明によれば、オフライン印刷においても、オンライン印刷と同等に文字資源を管理でき、通常の印刷だけでなく障害発生時に行われるリカバリ印刷でも正しく印刷することができる、という優れた効果を奏する。   As described above, according to the present invention, even in offline printing, character resources can be managed in the same way as in online printing, and not only normal printing but also recovery printing performed when a failure occurs can be printed correctly. Excellent effect.

以下、図面を参照して、本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[第1の実施の形態]
本実施の形態では、例えば図17(A)に示されるように1台のプリンタに複数のホストコンピュータ(ホスト)が接続され、各ホストからダウンロードされた各ホスト独自のPDL形式の印刷データを共通のPDL形式の印刷データに変換して印刷する印刷システムを例に挙げて説明する。ただし、本実施の形態において、プリンタの構成は、図17(B)とは異なる。以下、本実施の形態のプリンタの構成について詳細に説明する。
[First Embodiment]
In this embodiment, for example, as shown in FIG. 17A, a plurality of host computers (hosts) are connected to one printer, and print data in PDL format unique to each host downloaded from each host is shared. An example of a printing system that prints data converted into print data in the PDL format will be described. However, in this embodiment, the configuration of the printer is different from that in FIG. Hereinafter, the configuration of the printer according to the present embodiment will be described in detail.

図1は、本実施の形態の印刷システムを構成するプリンタ10の構成を機能的に示した構成図である。   FIG. 1 is a configuration diagram functionally showing the configuration of a printer 10 constituting the printing system of the present embodiment.

プリンタ10は、複数のエミュレーションコンポーネント30A〜30C、コントローラ40、スプール42、描画コンポーネント44、文字資源記憶部46、及びプリントエンジン48を備えている。   The printer 10 includes a plurality of emulation components 30A to 30C, a controller 40, a spool 42, a drawing component 44, a character resource storage unit 46, and a print engine 48.

文字資源記憶部46には、文字コードと文字パターンが1対1で対応付けられた標準的な文字パターン(プリンタ内蔵の文字パターン)が予め記憶されている。また、プリンタに内蔵されておらず、文字コードと文字パターンが1対多で対応付けられた文字(以下、ダイナミックロード対象文字)の文字パターンがダウンロードされたときには、該ダウンロードされた文字パターンも文字資源記憶部46に(プリンタ内蔵の文字パターンの記憶領域とは異なる記憶領域に)記憶される。   The character resource storage unit 46 stores in advance a standard character pattern (character pattern built in the printer) in which a character code and a character pattern are associated one by one. In addition, when a character pattern of a character (hereinafter referred to as a dynamic load target character) that is not built in the printer and has a one-to-many correspondence between character codes and character patterns is downloaded, the downloaded character pattern is also a character It is stored in the resource storage unit 46 (in a storage area different from the character pattern storage area built in the printer).

複数のエミュレーションコンポーネント30A〜30Cは、複数の印刷データ形式に対応して設けられている。なお、エミュレーションコンポーネント30A〜30Cは同一の構成であるので、以下、エミュレーションコンポーネント30A〜30Cを区別しないで説明するときは単にエミュレーションコンポーネント30と呼称して説明する。   The plurality of emulation components 30A to 30C are provided corresponding to a plurality of print data formats. Since the emulation components 30A to 30C have the same configuration, hereinafter, the emulation components 30A to 30C are simply referred to as the emulation component 30 when they are described without distinction.

エミュレーションコンポーネント30は、主変換部32、アドレス変換部34、及び文字コード−アドレス管理部36から構成されている。この主変換部32、アドレス変換部34、及び文字コード−アドレス管理部36は、ここでは、エミュレーションコンポーネント30用のモジュールに予め組み込まれたファームウェアにより実現される。   The emulation component 30 includes a main conversion unit 32, an address conversion unit 34, and a character code-address management unit 36. Here, the main conversion unit 32, the address conversion unit 34, and the character code-address management unit 36 are realized by firmware pre-installed in a module for the emulation component 30.

主変換部32は、ホストから入力されたホスト独自のPDL(ページ記述言語)形式の印刷データをプリンタ10内部で使用する共通のPDL形式のデータ(以下、共通PDL形式のデータ、あるいは共通PDLデータと呼称する)に変換する。   The main conversion unit 32 uses common PDL (page description language) format print data input from the host to use common PDL format data (hereinafter referred to as common PDL format data or common PDL data). Called).

また、ホストからロードパターンコマンドを入力したときには、ダイナミックロード対象文字の文字パターンをホストからダウンロードし(ダイナミックロード機能)、該ダウンロードした文字パターンを文字資源記憶部46に格納するための「ダウンロードコマンド」を共通PDL形式で生成してコントローラ40に出力する。   Further, when a load pattern command is input from the host, a “download command” for downloading the character pattern of the dynamic load target character from the host (dynamic load function) and storing the downloaded character pattern in the character resource storage unit 46. Are generated in the common PDL format and output to the controller 40.

図2は、このダウンロードコマンドの構成を示した図である。同図に示されるように、先頭2バイトには制御コード、次の4バイトには文字資源を格納する文字資源記憶部46の記憶領域のアドレス(以下、ダウンロードアドレス)、7バイトめ以降には文字パターンのデータ列が格納される。なお、ダウンロードアドレスは、アドレス変換部34から取得する。   FIG. 2 shows the structure of this download command. As shown in the figure, the first 2 bytes are the control code, the next 4 bytes are the address of the storage area of the character resource storage unit 46 for storing the character resources (hereinafter referred to as the download address), and the 7th and subsequent bytes are Stores a character pattern data string. The download address is acquired from the address conversion unit 34.

また、印刷データの共通PDLデータへの変換過程で、印刷データ内に文字コードにより指定されたダイナミックロード対象の文字を描画(印刷)するデータが含まれていた場合には、「ダイナミックロード対象文字の描画コマンド」を生成する。   If the print data includes data for drawing (printing) the dynamic load target character specified by the character code in the conversion process to the common PDL data, the “dynamic load target character” is displayed. A drawing command ".

図3は、ダイナミックロード対象文字の描画コマンドの構成を示した図である。同図に示されるように、先頭2バイトには制御コード、次の2バイトにはダイナミックロード対象文字を描画するX軸方向の位置を指定するX座標値、次の2バイトにはダイナミックロード対象文字を描画するY軸方向の位置を指定するY座標値、最後の4バイトにはダウンロードアドレスが格納される。このダウンロードアドレスは、文字コード−アドレス管理部36から取得する。   FIG. 3 is a diagram showing the configuration of a drawing command for a dynamic load target character. As shown in the figure, the first 2 bytes are the control code, the next 2 bytes are the X coordinate value that specifies the position in the X-axis direction for drawing the dynamic load target character, and the next 2 bytes are the dynamic load target A Y-coordinate value that designates a position in the Y-axis direction for drawing a character, and the download address is stored in the last 4 bytes. This download address is acquired from the character code-address management unit 36.

アドレス変換部34は、主変換部32から要求があったときに(すなわち、主変換部32がダウンロードコマンドを生成するときに)、ダイナミックロード対象文字の文字パターンを格納するための適切なダウンロードアドレスを取得して主変換部32に渡す。具体的には、主変換部32からダイナミックロード対象文字を指定した文字コードを受け取ると、該文字コードと共にアドレス取得要求を文字コード−アドレス管理部36に送出する。文字コード−アドレス管理部36は、該アドレス取得要求に従って適切なダウンロードアドレスを検索し、アドレス変換部34に返す。主変換部32は、アドレス変換部34からダウンロードアドレスを取得することにより、上記ダウンロードコマンドを生成することができる。   When there is a request from the main conversion unit 32 (that is, when the main conversion unit 32 generates a download command), the address conversion unit 34 stores an appropriate download address for storing the character pattern of the dynamic load target character. Is obtained and passed to the main conversion unit 32. Specifically, when a character code specifying a dynamic load target character is received from the main conversion unit 32, an address acquisition request is sent to the character code-address management unit 36 together with the character code. The character code-address management unit 36 searches for an appropriate download address according to the address acquisition request and returns it to the address conversion unit 34. The main conversion unit 32 can generate the download command by acquiring the download address from the address conversion unit 34.

文字コード−アドレス管理部36は、図4に示されるような文字コード−アドレス記憶テーブル80を備えている。この文字コード−アドレス記憶テーブル80には、文字コードと最新のダウンロードアドレスが対応付けて記憶される。本実施の形態では、文字コード−アドレス記憶テーブル80において、文字コードが重複するレコードは存在しない。   The character code / address management unit 36 includes a character code / address storage table 80 as shown in FIG. In this character code-address storage table 80, the character code and the latest download address are stored in association with each other. In the present embodiment, there is no record in which the character code is duplicated in the character code-address storage table 80.

更に文字コード−アドレス管理部36は、図5に示されるようなアドレス使用割当てテーブル82を備えている。このアドレス使用割当てテーブルには、各レコードは、ダウンロードアドレス、該ダイナミックロードアドレスに格納した文字パターンを指定した文字コード、該文字パターンを用いた全ての印刷が既に完了したか否かを示す既印刷フラグにより構成されている。アドレス使用割当てテーブル82は、所謂、ダウンロードされた文字パターンの文字資源記憶部46への格納履歴を示すものであるため、同一文字コードを有するレコードが複数存在する場合もある。   Further, the character code-address management unit 36 includes an address use allocation table 82 as shown in FIG. In this address use allocation table, each record includes a download address, a character code designating the character pattern stored in the dynamic load address, and a preprint indicating whether or not all printing using the character pattern has been completed. It consists of flags. Since the address use allocation table 82 shows a so-called storage history of the downloaded character pattern in the character resource storage unit 46, there may be a plurality of records having the same character code.

なお、既印刷フラグが「0」のときは対応する文字パターンを用いた印刷が未完了であることを示し、「1」のときには、該印刷が全て完了したことを示す。既印刷フラグの初期値は「0」である。また、本実施の形態のプリンタ10は、障害が発生したときには、障害が発生した印刷頁から2頁前まで遡って再印刷(リカバリ印刷)するため、該リカバリ印刷を考慮して、該文字パターンを用いた頁の印刷が完了してから該頁に続く2頁分の印刷が完了するまでは該既印刷フラグを「1」にはせずに、「0」の状態を維持する。   When the already-printed flag is “0”, it indicates that printing using the corresponding character pattern is not completed, and when it is “1”, it indicates that all the printing is completed. The initial value of the already printed flag is “0”. In addition, when a failure occurs, the printer 10 according to the present embodiment performs reprinting (recovery printing) from the print page where the failure occurred to two pages before, so that the character pattern is considered in consideration of the recovery printing. The printing flag is not set to “1” and the state of “0” is maintained until the printing of two pages following the page is completed after the printing of the page using is completed.

文字コード−アドレス管理部36は、アドレス変換部34からアドレス取得要求があったときに、アドレス使用割当てテーブル82を検索し、検索結果からダウンロードアドレスを決定し、該決定したダウンロードアドレスをアドレス変換部34に渡す。また、このとき、文字コード−アドレス管理部36は、文字コード−アドレス記憶テーブル80及びアドレス使用割当てテーブル82を更新する。   When there is an address acquisition request from the address conversion unit 34, the character code-address management unit 36 searches the address use allocation table 82, determines a download address from the search result, and uses the determined download address as the address conversion unit. 34. At this time, the character code / address management unit 36 updates the character code / address storage table 80 and the address use allocation table 82.

また、文字コード−アドレス管理部36は、主変換部32が、ダイナミックロード対象文字の描画コマンドを生成するときに、文字コード−アドレス記憶テーブル80から、該当の文字コードに対する最新のダウンロードアドレスを検索して、主変換部32に渡す。これにより、主変換部32は上記描画コマンドを生成することができる。   Further, the character code-address management unit 36 searches the character code-address storage table 80 for the latest download address for the corresponding character code when the main conversion unit 32 generates a drawing command for the dynamic load target character. Then, it is passed to the main conversion unit 32. Thereby, the main converter 32 can generate the drawing command.

コントローラ40は、CPU、ROM、RAMにより構成されている。コントローラ40は、ROMに記憶されたプログラムを実行することにより所定の処理を行う。コントローラ40は、エミュレーションコンポーネント30に接続され、エミュレーションコンポーネント30から共通PDLデータが入力されたときには、該共通PDLデータをスプール42に格納する。更に、スプール42に格納した共通PDLデータを順次読み出して描画コンポーネント44に出力する。また、障害が発生したときには、障害が発生した頁から2頁前まで遡ってリカバリ印刷されるように、スプール42から共通PDLデータを読み出して描画コンポーネント44に出力する。   The controller 40 includes a CPU, a ROM, and a RAM. The controller 40 performs a predetermined process by executing a program stored in the ROM. The controller 40 is connected to the emulation component 30, and stores the common PDL data in the spool 42 when the common PDL data is input from the emulation component 30. Further, the common PDL data stored in the spool 42 is sequentially read and output to the drawing component 44. When a failure occurs, the common PDL data is read from the spool 42 and output to the drawing component 44 so that recovery printing can be traced back two pages before the page where the failure occurred.

描画コンポーネント44は、コントローラ40から出力された共通PDLデータを順次解釈し、ページ毎にビットマップ形式の画像データに変換してプリントエンジン48に出力する。このとき、共通PDLデータに、ダイナミックロード対象文字の描画コマンドが含まれていた場合には、該描画コマンドに基づいて文字資源記憶部46から該当のダウンロードアドレスに格納された文字パターンを読み出して画像データに展開して、プリントエンジン48に出力する。なお、共通PDLデータには、標準的な文字コードにより指定された文字パターン(プリンタ内蔵の文字パターン)の描画コマンドも存在するが、この描画コマンドの場合には、文字資源記憶部46から該文字コードに対応付けられた文字パターンを読み出して出力する。また、入力された共通PDLデータが、共通PDL形式のダウンロードコマンドであった場合には、文字資源記憶部46の該ダウンロードコマンドで指定されたダウンロードアドレスに文字パターンを格納する。   The drawing component 44 sequentially interprets the common PDL data output from the controller 40, converts the data into bitmap format image data for each page, and outputs the image data to the print engine 48. At this time, if the common PDL data includes a drawing command for the character to be dynamically loaded, the character pattern stored in the corresponding download address is read from the character resource storage unit 46 based on the drawing command and the image is read out. The data is expanded and output to the print engine 48. The common PDL data includes a drawing command for a character pattern (character pattern built in the printer) designated by a standard character code. In the case of this drawing command, the character resource storage unit 46 stores the character. Read and output the character pattern associated with the code. If the input common PDL data is a download command in the common PDL format, the character pattern is stored at the download address specified by the download command in the character resource storage unit 46.

プリントエンジン48は、描画コンポーネント44から出力された画像データに基づいて連続紙などの用紙に印刷する。   The print engine 48 prints on paper such as continuous paper based on the image data output from the drawing component 44.

次に、ホストから何らかのデータが入力されたときにエミュレーションコンポーネント30で実行される処理の流れについて、図6のフローチャートを参照しながら説明する。   Next, the flow of processing executed by the emulation component 30 when some data is input from the host will be described with reference to the flowchart of FIG.

ここでは、ホストからプリンタ10に出力されるデータが、ロードパターンコマンド(文字パターン)、印刷データ、プリンタ10(プリントエンジン48)を制御するためのプリンタ制御コードのいずれかであり、これ以外の他のデータをプリンタ10で受信した場合には、該データに対しては何の処理も行わないこととする。   Here, the data output from the host to the printer 10 is any one of a load pattern command (character pattern), print data, and a printer control code for controlling the printer 10 (print engine 48). When the printer 10 receives this data, no processing is performed on the data.

ステップ100では、主変換部32が、入力されたデータがロードパターンコマンドであるか否かを判定する。例えば、通常、データのヘッダ部分にはデータ種別を識別することができる識別符号が含まれているため、該識別符号から判定することができる。ここで、ロードパターンコマンドであると判定した場合には、ステップ102で、該コマンドに従ってホストから文字パターンを取得(ダウンロード)する。   In step 100, the main converter 32 determines whether or not the input data is a load pattern command. For example, since an identification code that can identify the data type is usually included in the header portion of the data, it can be determined from the identification code. If it is determined that the command is a load pattern command, in step 102, a character pattern is acquired (downloaded) from the host according to the command.

ステップ104で、アドレス変換部34を介してアドレス使用割当てテーブル82を参照して、該文字パターンを格納するダウンロードアドレスを取得する。具体的には、アドレス変換部34が、アドレス取得要求を文字コード−アドレス管理部36に送出する。文字コード−アドレス管理部36は、アドレス使用割当てテーブル82から、文字パターンが記憶されていない未記憶の記憶領域を示すアドレス、または、既に何らかの文字パターンが記憶されてはいるが既印刷フラグが「1」となっているレコードのダウンロードアドレスを、要求のあった文字パターンを格納するためのダウンロードアドレスとして決定する。このように決定されたダウロードアドレスが主変換部32に送出される。   In step 104, the address use allocation table 82 is referred to via the address conversion unit 34 to obtain a download address for storing the character pattern. Specifically, the address conversion unit 34 sends an address acquisition request to the character code-address management unit 36. The character code-address managing unit 36 reads from the address use allocation table 82 an address indicating an unstored storage area in which no character pattern is stored, or the already-printed flag is “ The download address of the record “1” is determined as the download address for storing the requested character pattern. The download address determined in this way is sent to the main conversion unit 32.

ステップ106では、主変換部32は、該ダウンロードアドレスを用いて共通PDL形式のダウンロードコマンドを生成し、コントローラ40に出力する。   In step 106, the main conversion unit 32 generates a download command in the common PDL format using the download address and outputs it to the controller 40.

コントローラ40は該ダウンロードコマンドを受け取ると、一端スプール42に格納する。更にコントローラ40はスプール42からダウンロードコマンドを読み出して、描画コンポーネント44に出力する。描画コンポーネント44は、該ダウンロードコマンドに含まれる文字データを、該ダウンロードコマンドで指定されたダウンロードアドレスに格納する。   When the controller 40 receives the download command, the controller 40 stores the download command in the spool 42. Further, the controller 40 reads the download command from the spool 42 and outputs it to the drawing component 44. The drawing component 44 stores the character data included in the download command at the download address specified by the download command.

ステップ108では、文字コード−アドレス管理部36が、文字コード−アドレス記憶テーブル80を更新する。具体的には、文字コード−アドレス記憶テーブル80を検索し、上記ダウンロードアドレスを決定した文字パターンの文字コードと同一の文字コードのレコードが記憶されているかを検索する。該同一の文字コードのレコードが記憶されていれば、該レコードのダウンロードアドレスを、上記決定したダウンロードアドレスに変更する。また、該同一の文字コードのレコードが記憶されていなければ、該文字コードと上記決定したダウンロードアドレスとが対応付けられた新たなレコードを生成して、文字コード−アドレス記憶テーブル80に追加する。これにより、文字コード−アドレス記憶テーブル80には常に最新のダウンロードアドレスが記憶される。   In step 108, the character code / address management unit 36 updates the character code / address storage table 80. Specifically, the character code-address storage table 80 is searched to search whether a record having the same character code as the character code of the character pattern for which the download address is determined is stored. If a record having the same character code is stored, the download address of the record is changed to the determined download address. If no record of the same character code is stored, a new record in which the character code is associated with the determined download address is generated and added to the character code-address storage table 80. As a result, the latest download address is always stored in the character code-address storage table 80.

ステップ110では、文字コード−アドレス管理部36が、アドレス使用割当てテーブル82を更新する。具体的には、上記アドレス取得要求に応じて決定したダウンロードアドレスと、該ダウンロードアドレスを決定した文字パターンの文字コードと、既印刷フラグ「0」とを対応付けた新たなレコードを生成して、アドレス使用割当てテーブル82に追加する。すなわち、文字コード−アドレス管理部36は、新たに文字パターンがダウンロードされる毎に新たなレコードを生成し、アドレス使用割当てテーブル82に追加する。   In step 110, the character code / address management unit 36 updates the address use allocation table 82. Specifically, a new record in which the download address determined in response to the address acquisition request, the character code of the character pattern for which the download address is determined, and the already printed flag “0” is associated is generated. It adds to the address use allocation table 82. That is, the character code-address management unit 36 generates a new record each time a new character pattern is downloaded and adds it to the address use allocation table 82.

一方、ステップ100で、主変換部32が、ホストから入力されたデータはロードパターンコマンドではないと判定した場合には、ステップ120に移行し、入力されたデータが印刷データであるか否かを判定する。ここで、入力されたデータが印刷データであると判定したときには、ステップ122で、該入力された印刷データを共通PDLデータに変換する変換処理を開始する。変換処理では、入力した印刷データを先頭から順に解釈して共通PDLデータに変換していくが、印刷データのデータがダイナミックロード対象文字を描画(印刷)するデータであるか否かを常に判定しながら変換処理を続行する(ステップ124)。ホストからの印刷データでは、印刷する文字パターンが文字コードにより指定されている。ここでは、印刷データに含まれる文字コードがプリンタ内蔵の文字パターンに対応付けられた文字コードでなければ、該文字コードにより指定された文字(文字パターン)は、ダイナミックロード対象文字であると判別する。   On the other hand, if the main conversion unit 32 determines in step 100 that the data input from the host is not a load pattern command, the process proceeds to step 120 to determine whether the input data is print data. judge. If it is determined that the input data is print data, a conversion process for converting the input print data into common PDL data is started in step 122. In the conversion process, the input print data is interpreted in order from the top and converted into common PDL data. However, it is always determined whether or not the print data is data for drawing (printing) the dynamic load target character. The conversion process is continued (step 124). In the print data from the host, the character pattern to be printed is specified by the character code. Here, if the character code included in the print data is not the character code associated with the character pattern built in the printer, it is determined that the character (character pattern) designated by the character code is the character to be dynamically loaded. .

ステップ124で、処理対象のデータが、ダイナミックロード対象文字を描画(印刷)するデータであると判定した場合には、ステップ132に移行し、そのまま変換処理を続行する。   If it is determined in step 124 that the data to be processed is data for drawing (printing) the dynamic load target character, the process proceeds to step 132 and the conversion process is continued as it is.

ステップ124で、処理対象のデータが、ダイナミックロード対象文字を描画(印刷)するデータであると判定した場合には、ステップ126で、文字コード−アドレス管理部36を介して、文字コード−アドレス記憶テーブル80から該文字コードに対応付けられた最新のダウンロードアドレスを取得する。   If it is determined in step 124 that the data to be processed is data for drawing (printing) the dynamic load target character, in step 126, the character code-address storage unit 36 stores the character code-address. The latest download address associated with the character code is acquired from the table 80.

ステップ128では、取得したダウンロードアドレスを用いて、ダイナミックロード対象文字の描画コマンドを共通PDL形式で生成する。すなわち、印刷する文字パターンが文字コードにより指定されたデータを、該文字パターンが格納されたダウンロードアドレスにより該文字パターンを指定した共通PDL形式のデータに変換する。   In step 128, using the acquired download address, a dynamic loading target character drawing command is generated in a common PDL format. That is, data in which a character pattern to be printed is designated by a character code is converted into data in a common PDL format in which the character pattern is designated by a download address in which the character pattern is stored.

ステップ130では、入力された印刷データ全ての変換が完了したか否かを判定する。ここで、否定判断したときには、ステップ132に移行し、変換処理を続行する。入力された印刷データ全ての変換が完了するまで、ステップ124からステップ132の処理を継続する。   In step 130, it is determined whether or not conversion of all input print data has been completed. Here, when a negative determination is made, the process proceeds to step 132 and the conversion process is continued. Until the conversion of all the input print data is completed, the processing from step 124 to step 132 is continued.

ステップ130で、入力された印刷データ全ての変換が完了したと判定した場合には、ステップ134で、変換した共通PDLデータをコントローラ40に出力する。該共通PDLデータはコントローラ40によりスプール42に格納される。   If it is determined in step 130 that conversion of all input print data has been completed, the converted common PDL data is output to the controller 40 in step 134. The common PDL data is stored in the spool 42 by the controller 40.

一方、ステップ120で、入力されたデータが印刷データではないと判定した場合には、ステップ140に移行し、入力されたデータがプリンタ制御コードであるか否かを判定する。ここで、プリンタ制御コードであると判定した場合には、該プリンタ制御コードに対して何の処理も施さずにスルーでコントローラ40に出力する。コントローラ40は、該プリンタ制御コードを入力したときには、プリントエンジン48に対して所定の制御信号を送出し、プリントエンジン48の動作設定を行う。また、ステップ140で、入力されたデータがプリンタ制御コードではないと判定した場合には、何の処理も行わずに本処理ルーチンを終了する。   On the other hand, if it is determined in step 120 that the input data is not print data, the process proceeds to step 140 to determine whether the input data is a printer control code. If it is determined that the printer control code is used, the printer control code is output to the controller 40 through without performing any processing. When the printer control code is input, the controller 40 sends a predetermined control signal to the print engine 48 to set the operation of the print engine 48. If it is determined in step 140 that the input data is not a printer control code, this processing routine is terminated without performing any processing.

なお、本実施の形態において、ホストからロードパターンコマンド、印刷データ、及びプリンタ制御コードのいずれかが入力された後は、次に何らかのデータが入力されるまではホストとの間はオフライン状態となる。上述したように、プリンタ10では、入力した印刷データを変換した共通PDLデータがスプールに格納され、必要な文字パターンも文字資源記憶部46に格納されるため、必要なデータが入力された後はオフライン状態でも印刷処理が可能となる。   In this embodiment, after any of the load pattern command, print data, and printer control code is input from the host, the host is in an offline state until any data is input next time. . As described above, in the printer 10, the common PDL data obtained by converting the input print data is stored in the spool, and the necessary character pattern is also stored in the character resource storage unit 46. Therefore, after the necessary data is input, Printing processing is possible even in an offline state.

次に、コントローラ40で実行される処理の流れについて、図7及び図8のフローチャートを参照しながら説明する。   Next, the flow of processing executed by the controller 40 will be described with reference to the flowcharts of FIGS.

図7は、共通PDLデータを読み出して描画コンポーネント44に出力する通常の処理の流れを示したフローチャートである。   FIG. 7 is a flowchart showing the flow of normal processing for reading the common PDL data and outputting it to the drawing component 44.

ステップ200では、スプール42から共通PDLデータを読み出す。ステップ202では、該読み出した共通PDLデータを描画コンポーネント44に出力する。ステップ204では、全ての共通PDLデータの出力が完了したか否かを判定し、ここで全ての共通PDLデータの出力が完了していないと判定した場合には、ステップ200に戻って、処理を継続する。   In step 200, the common PDL data is read from the spool. In step 202, the read common PDL data is output to the drawing component 44. In step 204, it is determined whether or not the output of all common PDL data has been completed. If it is determined that the output of all common PDL data has not been completed, the process returns to step 200 to perform the processing. continue.

なお、描画コンポーネント44に出力された共通PDLデータは、描画コンポーネント44で順次解釈され、ページ毎にビットマップ形式の画像データに変換されてプリントエンジン48に出力される。このとき、共通PDLデータがダイナミックロード対象文字の描画コマンドであった場合には、該描画コマンドに基づいて文字資源記憶部46から該当のダウンロードアドレスに格納された文字パターンを読み出して展開し、プリントエンジン48に出力する。また、共通PDLデータがダウンロードコマンドであった場合には、文字資源記憶部46の該ダウンロードコマンドで指定されたダウンロードアドレスに文字パターンを格納する。プリントエンジン48は、描画コンポーネント44から出力された画像データに基づいて連続紙などの用紙に印刷する。   The common PDL data output to the drawing component 44 is sequentially interpreted by the drawing component 44, converted into bitmap format image data for each page, and output to the print engine 48. At this time, if the common PDL data is a drawing command for a character to be dynamically loaded, the character pattern stored in the corresponding download address is read from the character resource storage unit 46 based on the drawing command, expanded, and printed. Output to the engine 48. If the common PDL data is a download command, the character pattern is stored in the download address specified by the download command in the character resource storage unit 46. The print engine 48 prints on paper such as continuous paper based on the image data output from the drawing component 44.

一方、ステップ204で、全ての共通PDLデータの出力が完了したと判定した場合には、ステップ206で、エミュレーションコンポーネント30に対して印刷完了通知を出力する。   On the other hand, if it is determined in step 204 that the output of all common PDL data has been completed, a print completion notification is output to the emulation component 30 in step 206.

なお、印刷完了通知を受け取ったエミュレーションコンポーネント30では、アドレス使用割当てテーブル82を更新する。具体的には、該当の既印刷フラグに「1」をセットする。これにより、印刷済みの文字パターンを格納したダウンロードアドレスが開放され、次に文字パターンをダウンロードしたときに、該開放されたアドレスも文字パターンの格納先として選択できる。なお、前述したように、本実施の形態のプリンタ10では、障害が発生したときには、障害が発生した印刷頁から2頁前まで遡って再印刷(リカバリ印刷)するため、エミュレーションコンポーネント30は、該文字パターンを用いた頁の印刷が完了してから該頁に続く2頁分の印刷が完了するまでは該当の既印刷フラグは「1」にせず、「0」の状態を維持する。   The emulation component 30 that has received the print completion notification updates the address use allocation table 82. Specifically, “1” is set to the corresponding already-printed flag. As a result, the download address storing the printed character pattern is released, and when the character pattern is next downloaded, the released address can also be selected as the character pattern storage destination. As described above, in the printer 10 according to the present embodiment, when a failure occurs, the emulation component 30 performs the reprinting (recovery printing) from the print page where the failure occurs to the previous two pages. The corresponding already-printed flag is not set to “1” but remains in the “0” state until the printing of two pages following the page is completed after the printing of the page using the character pattern is completed.

図8は、紙ジャムなどの障害が発生したときにコントローラ40で行われる処理の流れを示したフローチャートである。   FIG. 8 is a flowchart showing the flow of processing performed by the controller 40 when a failure such as a paper jam occurs.

ステップ300では、所定頁(ここでは2頁)前に遡ってスプール42から共通PDLデータを読み出す。ステップ302では、該読み出した共通PDLデータを描画コンポーネント44に出力する。ステップ304では、全ての共通PDLデータの出力が完了したか否かを判定し、ここで全ての共通PDLデータの出力が完了していないと判定した場合には、ステップ306に移行し、続けて次の共通PDLデータを読み出し、ステップ302に戻る。また、ステップ304で、全ての共通PDLデータの出力が完了したと判定した場合には、ステップ308で、エミュレーションコンポーネント30に対して印刷完了通知を出力する。   In step 300, the common PDL data is read from the spool 42 by going back to a predetermined page (here, two pages). In step 302, the read common PDL data is output to the drawing component 44. In step 304, it is determined whether or not output of all common PDL data has been completed. If it is determined that output of all common PDL data has not been completed, the process proceeds to step 306, and then The next common PDL data is read, and the process returns to step 302. If it is determined in step 304 that the output of all common PDL data has been completed, a print completion notification is output to the emulation component 30 in step 308.

描画コンポーネント44は、コントローラ40から出力された共通PDLデータを順次解釈して画像データに展開してプリントエンジン48に出力する。プリントエンジン48では、障害が発生した頁より所定頁遡ってリカバリ印刷することができる。   The drawing component 44 sequentially interprets the common PDL data output from the controller 40, develops it into image data, and outputs it to the print engine 48. The print engine 48 can perform recovery printing by going back a predetermined page from the page where the failure has occurred.

なお、共通PDLデータにダイナミックロード対象文字を描画するコマンドが含まれていた場合であっても、該コマンドでは、文字パターンは、文字コードではなく、ダウンロードアドレスにより指定されているため、描画コマンドは該当する文字パターンを正しく読み出して出力することができる。また、前述したように、該ダウンロードアドレスに格納された文字パターンは、該文字パターンを用いた印刷が完全に終了するまで(印刷完了通知が発行されるまで)文字資源記憶部46に保持されるため、オフライン状態でリカバリ印刷しても、文字化けせず正常に印刷することができる。   Even when the command for drawing the dynamic load target character is included in the common PDL data, since the character pattern is specified by the download address instead of the character code in the command, the drawing command is The corresponding character pattern can be read and output correctly. Further, as described above, the character pattern stored in the download address is held in the character resource storage unit 46 until printing using the character pattern is completely completed (until a print completion notification is issued). Therefore, even if recovery printing is performed in an offline state, it can be printed normally without being garbled.

次に、本プリンタ10の動作について、より具体的な例を挙げて説明する。   Next, the operation of the printer 10 will be described with a more specific example.

図9は、コントローラ40及び描画コンポーネント44(プリントエンジン48)との間のデータの授受の状態、及び印刷状態の一例を示したシーケンス図である。ここでは、ダウンロード対象の文字コード0x80A1が印刷データ毎に異なる文字パターン(ここでは「あ」「い」「う」「え」「お」)に対応付けられ、各文字パターンが各印刷データの直前にダウンロードされ格納される場合を例に挙げて説明する。   FIG. 9 is a sequence diagram illustrating an example of a data transfer state and a print state between the controller 40 and the drawing component 44 (print engine 48). Here, the character code 0x80A1 to be downloaded is associated with a different character pattern (here, “A”, “I”, “U”, “E”, “O”) for each print data, and each character pattern is immediately before each print data. A case where data is downloaded and stored in will be described as an example.

図10は、図9のシーケンス図の(1)〜(5)の各々の時点における文字資源記憶部46の文字パターンの格納状態を示したテーブルである。   FIG. 10 is a table showing the character pattern storage state of the character resource storage unit 46 at each time point (1) to (5) in the sequence diagram of FIG.

図9に示されるように、コントローラ40から描画コンポーネント44に対して、文字パターン(共通PDL形式のダウンロードロードコマンド)と該文字パターンを用いて印刷する共通PDLデータとが交互に送出される。   As shown in FIG. 9, a character pattern (common PDL format download load command) and common PDL data to be printed using the character pattern are alternately sent from the controller 40 to the drawing component 44.

描画コンポーネント44は、ダウンロードロードコマンドを受け取った場合には、該ダウンロードコマンドに含まれるダウンロードアドレスに文字パターンを記憶する。図9及び図10に示される例では、文字コード0x80A1が対応づけられた文字パターン「あ」「い」「う」「え」「お」が、文字資源記憶部46の互いに異なる記憶領域(0x3000、0x3200、0x3400、0x3600、0x3800)に格納される。   When the drawing component 44 receives the download load command, the drawing component 44 stores the character pattern at the download address included in the download command. In the example shown in FIGS. 9 and 10, the character patterns “A”, “I”, “U”, “E”, “O” associated with the character code 0x80A1 are stored in different storage areas (0x3000) of the character resource storage unit 46. , 0x3200, 0x3400, 0x3600, 0x3800).

また、コントローラ40から描画コンポーネント44に送出される各共通PDLデータは、文字パターンをダウンロードアドレスにより指定した共通PDLデータである。描画コンポーネント44は、共通PDLデータを受け取ると、該ダウンロードアドレスから該当の文字パターンを読み出してプリントエンジン48に出力する。これにより、各頁の文字パターンを正しく印刷することができる。   Each common PDL data sent from the controller 40 to the drawing component 44 is common PDL data in which a character pattern is designated by a download address. Upon receiving the common PDL data, the drawing component 44 reads out the corresponding character pattern from the download address and outputs it to the print engine 48. Thereby, the character pattern of each page can be printed correctly.

図9の(5)の後、5頁めの印刷中に紙ジャムなどの障害が発生した場合には、所定頁前(ここでは2頁前)まで遡ってリカバリ印刷する。このとき、図10の(5)に示されるように、文字資源記憶部46には、5頁めの印刷データで使用する文字パターン「お」だけでなく、遡って印刷する3頁めの印刷データで使用する文字パターン「う」、及び4頁めの印刷データで使用する文字パターン「え」も各々異なるダウンロードアドレスに保持されている。また、各共通PDLデータにおいて、各文字パターン「う」「え」「お」は、文字コード0x80A1ではなくダウンロードアドレス(0x3400、0x3600、0x3800)により指定されているため、各ページに対応した文字パターンを確実に読み出して出力することができ、文字化けせずに正常にリカバリ印刷することができる。   When a failure such as a paper jam occurs during the printing of the fifth page after (5) in FIG. 9, recovery printing is performed retroactively to a predetermined page (in this case, two pages before). At this time, as shown in FIG. 10 (5), the character resource storage unit 46 prints not only the character pattern “O” used in the print data for the fifth page, but also the third page printed retroactively. The character pattern “U” used in the data and the character pattern “E” used in the print data for the fourth page are also held at different download addresses. Also, in each common PDL data, each character pattern “U” “E” “O” is specified by the download address (0x3400, 0x3600, 0x3800) instead of the character code 0x80A1, so the character pattern corresponding to each page Can be reliably read and output, and recovery printing can be normally performed without garbled characters.

以上説明したように、文字パターンをダウンロードしたときに、該文字パターンをダウンロード毎に異なる記憶領域に格納すると共に、文字コードにより文字パターンが指定された印刷データを、該文字パターンが格納された記憶領域のアドレス(ダウンロードアドレス)により該文字パターンを指定した共通PDLデータに変換するようにしたため、オフライン印刷においても、オンライン印刷と同等に文字資源を管理でき、通常の印刷だけでなく障害発生時に行われるリカバリ印刷でも正しく印刷することができる。   As described above, when a character pattern is downloaded, the character pattern is stored in a different storage area for each download, and the print data in which the character pattern is designated by the character code is stored in the character pattern. Since the character pattern is converted to the common PDL data specified by the area address (download address), even in offline printing, character resources can be managed in the same way as in online printing, and not only when normal printing but also when a failure occurs. Even recovery printing can be printed correctly.

なお、本実施の形態において、エミュレーションコンポーネント30、コントローラ40、スプール42、描画コンポーネント44、文字資源記憶部46、及びプリントエンジン48を1台のプリンタ10に装備した場合を例に挙げて説明したが、これに限定されず、例えば、プリンタとは別の外部装置にエミュレーションコンポーネント30を装備し、外部装置から共通PDLデータや文字パターンを描画コンポーネント44、文字資源記憶部46、プリントエンジン48等を備えたプリンタに送出するように構成することもできる。   In the present embodiment, the case where the emulation component 30, the controller 40, the spool 42, the drawing component 44, the character resource storage unit 46, and the print engine 48 are provided in one printer 10 has been described as an example. For example, the emulation component 30 is provided in an external device different from the printer, and the common PDL data and character patterns are drawn from the external device, the character resource storage unit 46, the print engine 48, and the like. It can also be configured to send to another printer.

また、本実施の形態では、エミュレーションコンポーネント30A〜30Cの各々を、主変換部32、アドレス変換部34、及び文字コード−アドレス管理部36により構成した例について説明したが、これに限定されず、例えば、エミュレーションコンポーネント30A〜30Cの各々を主変換部32のみで構成し、エミュレーションコンポーネント30外部に、アドレス変換部34及び文字コード−アドレス管理部36により構成されたモジュールを1つ設けるようにしてもよい。このように、ダウンロードアドレスの決定・管理を行う機能をエミュレーションコンポーネント30の外部に設けることにより、装置構成の冗長性を排除し、ダウンロードアドレスを一元的に決定・管理できる。   Further, in the present embodiment, the example in which each of the emulation components 30A to 30C is configured by the main conversion unit 32, the address conversion unit 34, and the character code-address management unit 36 has been described. For example, each of the emulation components 30 </ b> A to 30 </ b> C is configured only by the main conversion unit 32, and one module including the address conversion unit 34 and the character code-address management unit 36 is provided outside the emulation component 30. Good. Thus, by providing a function for determining and managing the download address outside the emulation component 30, redundancy of the device configuration can be eliminated and the download address can be determined and managed centrally.

[第2の実施の形態]
図11は、第2の実施の形態の印刷システムの構成を示した図である。同図に示されるように、この印刷システムは、ホスト50、フロントエンドコントローラ(FEC)52、及び2台のプリンタ54A、54Bにより構成されている。この印刷システムでは、用紙の切り替えや、一方のプリンタの消耗品交換などを目的に、印刷するプリンタが切り替えられる。なお、図示は省略するが、FEC52には複数台のホスト50を接続することができ、複数台のホスト50からの形式の異なる印刷データを処理することができる。
[Second Embodiment]
FIG. 11 is a diagram illustrating a configuration of a printing system according to the second embodiment. As shown in the figure, the printing system includes a host 50, a front end controller (FEC) 52, and two printers 54A and 54B. In this printing system, the printer to be printed is switched for the purpose of switching paper or exchanging consumables of one printer. Although not shown, a plurality of hosts 50 can be connected to the FEC 52, and print data of different formats from the plurality of hosts 50 can be processed.

以下、プリンタ54A、54Bは同一の構成であるので、プリンタ54A、54Bを区別しないで説明するときは、単にプリンタ54と呼称して説明する。   Hereinafter, since the printers 54A and 54B have the same configuration, when the printers 54A and 54B are described without being distinguished from each other, they are simply referred to as the printer 54 and described.

図12は、FEC52及びプリンタ54の構成を機能的に示した構成図である。図12において、図1と同一もしくは同等の部分には同じ記号を付し、その説明を省略する。   FIG. 12 is a configuration diagram functionally showing the configurations of the FEC 52 and the printer 54. 12, parts that are the same as or equivalent to those in FIG. 1 are given the same reference numerals, and descriptions thereof are omitted.

FEC52は、複数のエミュレーションコンポーネント60A〜60C、及び分配部70を備えている。   The FEC 52 includes a plurality of emulation components 60 </ b> A to 60 </ b> C and a distribution unit 70.

複数のエミュレーションコンポーネント60A〜60Cは、複数のホストから出力される印刷データの形式に対応して設けられている。なお、エミュレーションコンポーネント60A〜60Cは同一の構成であるので、以下、エミュレーションコンポーネント60A〜60Cを区別しないで説明するときは単にエミュレーションコンポーネント60と呼称して説明する。   The plurality of emulation components 60A to 60C are provided corresponding to the format of print data output from a plurality of hosts. Since the emulation components 60A to 60C have the same configuration, the emulation components 60A to 60C will be simply referred to as the emulation component 60 in the following description without distinguishing them.

エミュレーションコンポーネント60は、主変換部32、アドレス変換部34、文字コード−アドレス管理部36、資源イメージ保存部62、及び資源イメージダウンロード部64から構成されている。本実施の形態における主変換部32、アドレス変換部34、及び文字コード−アドレス管理部36は、第1の実施の形態と同一の機能を有するため説明を省略する。   The emulation component 60 includes a main conversion unit 32, an address conversion unit 34, a character code-address management unit 36, a resource image storage unit 62, and a resource image download unit 64. Since the main conversion unit 32, the address conversion unit 34, and the character code-address management unit 36 in the present embodiment have the same functions as those in the first embodiment, description thereof is omitted.

ただし、本実施の形態では、文字コード−アドレス記憶テーブル80及びアドレス使用割当てテーブル82が、各プリンタ54A、54B毎に備えられている。文字コード−アドレス管理部36は、主変換部32やアドレス変換部34から要求があったときには、指定されたプリンタ54に対応する文字コード−アドレス記憶テーブル80及びアドレス使用割当てテーブル82を検索して応答する。   However, in this embodiment, a character code-address storage table 80 and an address use allocation table 82 are provided for each printer 54A, 54B. When there is a request from the main conversion unit 32 or the address conversion unit 34, the character code-address management unit 36 searches the character code-address storage table 80 and the address use allocation table 82 corresponding to the designated printer 54. respond.

資源イメージ保存部62には、文字コード毎に該文字コードに対応付けられた最新の文字パターンが保存される。資源イメージ保存部62は、図13に示されるような資源イメージ保存テーブル84を備え、この資源イメージ保存テーブル84に、エミュレーションコンポーネント60がホストからダウンロードしたダイナミックロード対象文字の文字コード、文字パターン、及び該文字パターンを格納するダウンロードアドレスが対応付けて記憶される。すなわち、この資源イメージ保存テーブル84には、文字コード−アドレス記憶テーブル80に記憶される情報に加えて、ダウンロードした文字パターンそのものが対応付けられて記憶される。   The resource image storage unit 62 stores the latest character pattern associated with the character code for each character code. The resource image storage unit 62 includes a resource image storage table 84 as shown in FIG. 13, and the resource image storage table 84 includes a character code, a character pattern, and a character code of a dynamic load target character downloaded from the host by the emulation component 60. A download address for storing the character pattern is associated and stored. That is, in the resource image storage table 84, in addition to the information stored in the character code-address storage table 80, the downloaded character pattern itself is associated and stored.

資源イメージダウンロード部64は、資源イメージ保存部62に保存した文字パターンを、分配部70を介し対象のプリンタ54に対して印刷させるプリンタの切替えに一括して送出する。送出する際には、資源イメージ保存部62に保存されている文字パターンを切替え先のプリンタ54の文字資源記憶部46に格納するための「ダウンロードコマンド」(第1の実施の形態と同様)を共通PDL形式で生成し、分配部70を介して送出する。本実施の形態では、プリンタ切替え時以外のタイミングで送出されるダウンロードコマンドは、第1の実施の形態と同様に主変換部32で生成され、プリンタの切替え時に送出されるダウンロードコマンドは資源イメージダウンロード部64で生成される。   The resource image download unit 64 sends the character patterns stored in the resource image storage unit 62 to the target printer 54 via the distribution unit 70 at the same time for printer switching. At the time of transmission, a “download command” (similar to the first embodiment) for storing the character pattern stored in the resource image storage unit 62 in the character resource storage unit 46 of the switching destination printer 54 is used. Generated in the common PDL format and sent through the distribution unit 70. In this embodiment, a download command sent at a timing other than the time of printer switching is generated by the main conversion unit 32 as in the first embodiment, and the download command sent at the time of printer switching is a resource image download. Generated by the unit 64.

分配部70は、エミュレーションコンポーネント60で変換された共通PDLデータを、指定されたプリンタ54に送出する。なお、本実施の形態では、どのタイミングで印刷させるプリンタを切替えるかについては、予めFEC52に設定されている(印刷先の設定)。分配部70は、該設定に従って、共通PDLデータの送出先(プリンタ)を切替える。   The distribution unit 70 sends the common PDL data converted by the emulation component 60 to the designated printer 54. In this embodiment, the timing at which the printer to be printed is switched is set in advance in the FEC 52 (print destination setting). The distribution unit 70 switches the common PDL data transmission destination (printer) according to the setting.

プリンタ54は、コントローラ40、スプール42、描画コンポーネント44、文字資源記憶部46、及びプリントエンジン48を備えている。コントローラ40、スプール42、描画コンポーネント44、文字資源記憶部46、及びプリントエンジン48は、第1の実施の形態と同一の機能を有するため説明を省略する。ただし、本実施の形態において、コントローラ40は、FEC52の分配部70から共通PDLデータを取得する。   The printer 54 includes a controller 40, a spool 42, a drawing component 44, a character resource storage unit 46, and a print engine 48. Since the controller 40, the spool 42, the drawing component 44, the character resource storage unit 46, and the print engine 48 have the same functions as those in the first embodiment, description thereof is omitted. However, in the present embodiment, the controller 40 acquires common PDL data from the distribution unit 70 of the FEC 52.

以下、本実施の形態におけるFEC52及びプリンタ54の動作について説明する。   Hereinafter, operations of the FEC 52 and the printer 54 in the present embodiment will be described.

まず、ホスト50から何らかのデータが入力されたときにFEC52のエミュレーションコンポーネント60で実行される処理の流れについて上記第1の実施の形態で用いた図6のフローチャートを参照しながら説明する。   First, the flow of processing executed by the emulation component 60 of the FEC 52 when some data is input from the host 50 will be described with reference to the flowchart of FIG. 6 used in the first embodiment.

ステップ100〜102で、主変換部32は、ホスト50からロードパターンコマンドが発行されたときに、該ロードコマンドに従って、文字パターンをダウンロードする。このとき、ダウンロードした文字パターンを、資源イメージ保存部62(資源イメージ保存テーブル84)に格納する。ここで、資源イメージ保存テーブル84にダウンロードした文字パターンの文字コードと同一文字コードのレコードが格納されていた場合には、該ダウンロードした文字パターンを該レコードに上書きする。資源イメージ保存テーブル84に同一文字コードのレコードが格納されていなければ、新規にレコードを生成して該テーブルに追加する。   In steps 100 to 102, when a load pattern command is issued from the host 50, the main conversion unit 32 downloads a character pattern according to the load command. At this time, the downloaded character pattern is stored in the resource image storage unit 62 (resource image storage table 84). If a record having the same character code as the character code of the downloaded character pattern is stored in the resource image storage table 84, the downloaded character pattern is overwritten on the record. If no record of the same character code is stored in the resource image storage table 84, a new record is generated and added to the table.

ステップ104では、主変換部32は、予め定められた印刷先の設定に従い、アドレス変換部34を介して、該文字パターンを使用して印刷するプリンタ54に対応したアドレス使用割当てテーブル82を参照して、該文字パターンを格納するダウンロードアドレスを取得する。また、ここで取得したダウンロードアドレスを、資源イメージ保存テーブル84の上記文字パターンを格納したレコードに格納する。   In step 104, the main conversion unit 32 refers to the address use allocation table 82 corresponding to the printer 54 that prints using the character pattern via the address conversion unit 34 according to the predetermined print destination setting. To obtain a download address for storing the character pattern. The download address acquired here is stored in the record storing the character pattern in the resource image storage table 84.

ステップ106では、主変換部32は、文字パターンを上記取得したダウンロードアドレスに格納するためのダウンロードコマンドを共通PDL形式で生成し、分配部70に出力する。分配部70は、該ダウンロードコマンドを受け取ると、上記印刷先の設定に従って、該ダウンロードコマンドの送出先を選定し、該選定した送出先のプリンタ54に送出する。プリンタ54のコントローラ40は該ダウンロードコマンドを受け取ると、上記第1の実施の形態と同様に、描画コンポーネント44を介して、該ダウンロードコマンドに含まれる文字データを、該ダウンロードコマンドで指定されたダウンロードアドレスに格納する。   In step 106, the main conversion unit 32 generates a download command for storing the character pattern in the acquired download address in the common PDL format and outputs it to the distribution unit 70. When the distribution unit 70 receives the download command, the distribution unit 70 selects a transmission destination of the download command according to the setting of the printing destination, and transmits the transmission command to the printer 54 of the selected transmission destination. When the controller 40 of the printer 54 receives the download command, the character data included in the download command is transferred to the download address specified by the download command via the drawing component 44, as in the first embodiment. To store.

ステップ108では、文字コード−アドレス管理部36が、上記文字パターンを送出したプリンタ54に対応した文字コード−アドレス記憶テーブル80を更新する。   In step 108, the character code-address management unit 36 updates the character code-address storage table 80 corresponding to the printer 54 that has sent the character pattern.

ステップ110では、文字コード−アドレス管理部36が、上記文字パターンを送出したプリンタ54に対応したアドレス使用割当てテーブル82を更新する。   In step 110, the character code-address management unit 36 updates the address use allocation table 82 corresponding to the printer 54 that has transmitted the character pattern.

一方、ステップ100で、主変換部32が、ホスト50から入力されたデータはロードパターンコマンドではないと判定し、ステップ120で、入力されたデータが印刷データであると判定した場合には、ステップ122〜132の処理を繰り返して、該入力された印刷データを共通PDLデータに変換する。なお、この変換処理過程で、ダイナミックロード対象文字を描画(印刷)するデータを変換する際には、印刷先のプリンタに対応した文字コード−アドレス記憶テーブル80から最新のダウンロードアドレスを取得し、該ダウンロードアドレスを用いてダイナミックロード対象文字の描画コマンドを生成する。   On the other hand, when the main conversion unit 32 determines in step 100 that the data input from the host 50 is not a load pattern command, and in step 120 determines that the input data is print data, The processes 122 to 132 are repeated to convert the input print data into common PDL data. In the conversion process, when converting the data for drawing (printing) the dynamic load target character, the latest download address is acquired from the character code-address storage table 80 corresponding to the printer to be printed, Use the download address to generate a drawing command for dynamically loaded characters.

印刷データが全て共通PDLデータに変換されたときに、ステップ134で、変換した共通PDLデータを分配部70に出力する。分配部70は、該共通PDLデータを、印刷先の設定に従って、該当のプリンタ54に送出する。該共通PDLデータを受信したプリンタ54のコントローラ40は、該共通PDLデータをスプール42に格納し、適宜スプールから共通PDLデータを読み出して描画コンポーネント44に送出し、プリントエンジン48に印刷させる。なお、このプリンタ54には、該共通PDLデータで使用されるダイナミックロード対象文字の文字パターンが既に文字資源記憶部46に格納されているため、該文字パターンを使用して正しく印刷することができる。   When all the print data is converted into common PDL data, the converted common PDL data is output to the distribution unit 70 in step 134. The distribution unit 70 sends the common PDL data to the corresponding printer 54 according to the print destination setting. The controller 40 of the printer 54 that has received the common PDL data stores the common PDL data in the spool 42, reads out the common PDL data from the spool as appropriate, sends it to the drawing component 44, and causes the print engine 48 to print it. In this printer 54, since the character pattern of the dynamic load target character used in the common PDL data is already stored in the character resource storage unit 46, it can be correctly printed using the character pattern. .

一方、ステップ120で、入力されたデータが印刷データではないと判定し、ステップ140で、入力されたデータがプリンタ制御コードであると判定した場合には、該プリンタ制御コードに対して何の処理も施さずにスルーで分配部70に送出する。分配部70は、該当のプリンタ54に対して該プリンタ制御コードを送出する。   On the other hand, if it is determined in step 120 that the input data is not print data, and it is determined in step 140 that the input data is a printer control code, no processing is performed on the printer control code. Without being applied to the distributor 70. The distribution unit 70 sends the printer control code to the corresponding printer 54.

ステップ140で、入力されたデータがプリンタ制御コードではないと判定した場合には、何の処理も行わずに本処理ルーチンを終了する。   If it is determined in step 140 that the input data is not a printer control code, this processing routine is terminated without performing any processing.

次に、印刷させるプリンタを切替える時の切替え処理について説明する。   Next, switching processing when switching the printer to be printed will be described.

プリンタ54を切替えるタイミングが到来したときには、エミュレーションコンポーネントの資源イメージダウンロード部64は、資源イメージ保存機構62に格納されている最新の文字パターンと、切替え先のプリンタ54に送出するためのダウンロードコマンドを生成して、分配部70に送出する。分配部70は、印刷先の設定に従って、該ダウンロードコマンドをプリンタ54Aまたは54Bのいずれか一方に送出する。   When it is time to switch the printer 54, the resource image download unit 64 of the emulation component generates the latest character pattern stored in the resource image storage mechanism 62 and a download command to be sent to the printer 54 to be switched to. Then, the data is sent to the distribution unit 70. The distribution unit 70 sends the download command to either the printer 54A or 54B in accordance with the print destination setting.

該ダウンロードコマンドを受信したプリンタ54では、該ダウンロードコマンドに従って、指定されたダウンロードアドレスに文字パターンを格納する。なお、プリンタ54のコントローラ40での処理は、第1の実施の形態において図7及び図8を用いて説明した処理と同様であるため、説明を省略する。   The printer 54 that has received the download command stores the character pattern at the specified download address in accordance with the download command. Note that the processing in the controller 40 of the printer 54 is the same as the processing described in the first embodiment with reference to FIGS.

次に、本実施の形態における印刷システムの動作について、図14〜図16を参照しながら、より具体的な例を挙げて説明する。   Next, the operation of the printing system according to the present embodiment will be described with reference to FIGS. 14 to 16 with more specific examples.

図14及び図15は、ホスト50、FEC52、及び各プリンタ54A、54Bの各装置間のデータの授受の状態、及び印刷状態の一例を示したシーケンス図であって、プリンタ54Aで、文字パターン「あ」「い」を使用して印刷し、次にプリンタ54Bに切替えて文字パターン「い」「う」「え」を使用して印刷し、更にプリンタ54Aに再度切替えて文字パターン「え」「お」を使用して印刷する処理の流れが示されている。なお、該文字パターン「あ」「い」「う」「え」「お」には、同一の文字コード0x80A1が対応付けられている。   FIG. 14 and FIG. 15 are sequence diagrams showing an example of a data transfer state and a print state between the host 50, the FEC 52, and the printers 54A and 54B. The printer 54A uses the character pattern “ Print using “A” and “I”, then switch to the printer 54B and print using the character patterns “I”, “U” and “E”, then switch back to the printer 54A and switch back to the character pattern “E” and “E”. The flow of processing for printing using “O” is shown. The same character code 0x80A1 is associated with the character patterns “a”, “i”, “u”, “e”, and “o”.

図16(A)は、図14及び図15のシーケンス図に示される(1)〜(7)の各々の時点での、FEC52の資源イメージ保存部62における文字コード0x80A1に対する文字パターンの格納状態を示した図である。また、図16(B)は、プリンタ54Aの文字資源記憶部46の文字パターンの記憶状態を示した図である。図16(C)は、図14及び図15に示される(1)〜(7)の各々の時点でのプリンタ54Bの文字資源記憶部46の文字パターンの記憶状態を示した図である。なお、図16(B)及び図16(C)において、下線で示された文字パターンは、FEC52の資源イメージ保存部62に格納された最新の文字パターンと同期している文字パターンを示している。   FIG. 16A shows the storage state of the character pattern for the character code 0x80A1 in the resource image storage unit 62 of the FEC 52 at each time point (1) to (7) shown in the sequence diagrams of FIGS. FIG. FIG. 16B is a diagram showing a character pattern storage state in the character resource storage unit 46 of the printer 54A. FIG. 16C is a diagram showing a character pattern storage state of the character resource storage unit 46 of the printer 54B at each time point (1) to (7) shown in FIG. 14 and FIG. In FIG. 16B and FIG. 16C, the underlined character pattern indicates a character pattern synchronized with the latest character pattern stored in the resource image storage unit 62 of the FEC 52. .

FEC52は、ホスト50から文字パターンを受信したときには、ダウンロードコマンドを生成し、印刷先の設定に従ってプリンタ54Aまたはプリンタ54Bのいずれか一方に送信する。プリンタ54Aまたはプリンタ54Bは、該ダウンロードコマンドを受け取ると、該ダウンロードコマンドに含まれるダウンロードアドレスに文字パターンを記憶する。   When the FEC 52 receives a character pattern from the host 50, the FEC 52 generates a download command and transmits it to either the printer 54A or the printer 54B according to the print destination setting. Upon receiving the download command, the printer 54A or the printer 54B stores the character pattern at the download address included in the download command.

図14の(1)及び(2)の時点では、プリンタ54Aにダウンロードコマンドが送出される。プリンタ54Aは、該ダウンロードコマンドに従って、図16(B)の(1)及び(2)に示されるように、各文字パターン「あ」「い」を異なるダウンロードアドレス(0x3000、0x3200)に格納する。   At the time of (1) and (2) in FIG. 14, a download command is sent to the printer 54A. According to the download command, the printer 54A stores the character patterns “A” and “I” in different download addresses (0x3000, 0x3200) as shown in (1) and (2) of FIG.

また、それぞれの文字パターンのダウンロードの後には、印刷データがホスト50から送信され、FEC52のエミュレーションコンポーネント60は、各印刷データを、印刷する文字パターンをダウンロードアドレスで指定した共通PDLデータに変換して印刷先として設定されているプリンタ54に送出する。図14では、文字パターン「あ」をダウンロードアドレス0x3000で指定した共通PDLデータ1_1、文字パターン「い」をダウンロードアドレス0x3200で指定した共通PDLデータ1_2がプリンタ54Aに送出される。   Also, after downloading each character pattern, print data is transmitted from the host 50, and the emulation component 60 of the FEC 52 converts each print data into common PDL data in which the character pattern to be printed is designated by the download address. The data is sent to the printer 54 set as the printing destination. In FIG. 14, the common PDL data 1_1 in which the character pattern “A” is designated by the download address 0x3000 and the common PDL data 1_2 in which the character pattern “I” is designated by the download address 0x3200 are sent to the printer 54A.

プリンタ54Aの描画コンポーネント44は、共通PDLデータ1_1をコントローラ40を介して入力すると、ダウンロードアドレス0x3000で指定された文字パターン「あ」を読み出して、プリントエンジン48に出力する。プリントエンジン48は、描画コンポーネント44からの画像データに基づいて、印刷頁1_1を正しく印刷することができる。また、共通PDLデータ1_2を入力すると、上記同様に、ダウンロードアドレス0x3200で指定された文字パターン「い」を読み出して、プリントエンジン48に出力する。プリントエンジン48は、描画コンポーネント44からの画像データに基づいて、印刷頁1_2を正しく印刷することができる。   When the common PDL data 1_1 is input via the controller 40, the drawing component 44 of the printer 54A reads the character pattern “A” designated by the download address 0x3000 and outputs it to the print engine 48. The print engine 48 can correctly print the print page 1_1 based on the image data from the drawing component 44. When the common PDL data 1_2 is input, the character pattern “I” designated by the download address 0x3200 is read out and output to the print engine 48 as described above. The print engine 48 can correctly print the print page 1_2 based on the image data from the drawing component 44.

印刷先をプリンタ54Bに切替える時には、資源イメージ保存部62に記憶された最新の文字パターンを転送してプリンタ54Bの文字資源記憶部46に格納するためのダウンロードコマンドをプリンタ54Bに送出する。   When the printing destination is switched to the printer 54B, a download command for transferring the latest character pattern stored in the resource image storage unit 62 and storing it in the character resource storage unit 46 of the printer 54B is sent to the printer 54B.

ここでは、資源イメージ保存部62に、プリンタ54Aで既に印刷に使用された文字パターン「い」が最新の文字パターンとして記憶されており、この文字パターンはプリンタ54Bでも使用される。従って、ダウンロードコマンドが、資源イメージダウンロード部64により、資源イメージ保存部62に記憶された最新の文字パターン「い」及び文字コード−アドレス管理部36で決定されたプリンタ54Bのダウンロードアドレスを用いて生成される。   Here, the character pattern “I” already used for printing by the printer 54A is stored in the resource image storage unit 62 as the latest character pattern, and this character pattern is also used by the printer 54B. Therefore, the download command is generated by the resource image download unit 64 using the latest character pattern “I” stored in the resource image storage unit 62 and the download address of the printer 54B determined by the character code-address management unit 36. Is done.

なお、FEC52のエミュレーションコンポーネント60は、プリンタ54Bのダウンロードアドレスについて、ホスト50から文字パターン「い」をダウンロードしたときに、プリンタ54Aのダウンロードアドレスだけでなく、プリンタ54Bのダウンロードアドレスも同時に決定し、双方のアドレスを文字コード−アドレス記憶テーブル80やアドレス使用割当てテーブル82に格納しておくようにしてもよいし、プリンタ切替え時に、プリンタ54Bのダウンロードアドレスを決定するようにしてもよい。   The emulation component 60 of the FEC 52 determines not only the download address of the printer 54A but also the download address of the printer 54B when the character pattern “I” is downloaded from the host 50 for the download address of the printer 54B. May be stored in the character code-address storage table 80 or the address use allocation table 82, or the download address of the printer 54B may be determined when the printer is switched.

プリンタ54Bは、ダウンロードコマンドを受け取ると、該ダウンロードコマンドに従って文字パターン「い」を文字資源記憶部46の指定されたダウンロードアドレスに格納する(資源マージ)。図14の(3)の時点では、図16(C)に示されるように、ダウンロードアドレス0x3000に文字パターン「い」が格納される。   Upon receiving the download command, the printer 54B stores the character pattern “I” at the specified download address in the character resource storage unit 46 according to the download command (resource merge). At the time of (3) in FIG. 14, as shown in FIG. 16C, the character pattern “I” is stored in the download address 0x3000.

その後、FEC52は、上記と同様の処理を行い、ホスト50からの印刷データを、ダウンロードアドレスにより文字パターンを指定した共通PDLデータに変換し、プリンタ54Bに送出して印刷頁2_3を印刷させる。   Thereafter, the FEC 52 performs the same processing as described above, converts the print data from the host 50 into common PDL data in which a character pattern is designated by the download address, and sends it to the printer 54B to print the print page 2_3.

文字パターン「う」、文字パターン「え」についても、上記と同様にダウンロードコマンドを生成してプリンタ54Bの文字資源記憶部46に格納し、ホスト50からの印刷データを、ダウンロードアドレスにより文字パターンを指定した共通PDLデータに変換し、プリンタ54Bに送出して印刷頁2_4、2_5を印刷させる。   As for the character pattern “U” and the character pattern “E”, a download command is generated and stored in the character resource storage unit 46 of the printer 54B in the same manner as described above, and the print data from the host 50 is converted into the character pattern by the download address. The data is converted into designated common PDL data and sent to the printer 54B to print the print pages 2_4 and 2_5.

図14に示されるように、印刷頁2_5の印刷途中で紙ジャムが発生した場合には、プリンタ54Bのプリントエンジン48で復旧作業が行われる。復旧した後は、前述の図8に示されるように所定頁前から遡ってリカバリ印刷が行われる。ここでは2頁前から遡ってリカバリ印刷されるため、印刷頁2_3から再印刷される。図16(C)の(5)に示されるように、各頁の印刷に必要な文字パターン「い」「う」「え」が消去されずに異なるアドレスに記憶された状態にあり、上記変換した共通PDLデータにおいては、各文字パターンがダウンロードアドレスにより指定されているため、図14に示されるように、該ダウンロードアドレスから各頁毎に適切に文字パターンを読み出して正常にリカバリ印刷することができる。   As shown in FIG. 14, when a paper jam occurs during the printing of the print page 2_5, a recovery operation is performed by the print engine 48 of the printer 54B. After the restoration, recovery printing is performed retroactively from a predetermined page as shown in FIG. Here, since recovery printing is performed retroactively from the previous two pages, reprinting is performed from the printed page 2_3. As shown in (5) of FIG. 16C, the character patterns “I”, “U”, and “E” necessary for printing each page are not erased but are stored in different addresses, and the above conversion is performed. In the common PDL data, each character pattern is designated by a download address. Therefore, as shown in FIG. 14, the character pattern can be appropriately read from the download address for each page, and recovery printing can be normally performed. it can.

プリンタ54Bでの印刷が完了すると、図15に示されるように、FEC52は、前述のように、印刷先の設定に従って、プリンタの切替え処理(資源マージ)を行う。続いて、必要な文字パターン、共通PDLデータを送出して、文字パターン「え」を含む印刷頁1_6、文字パターン「お」を含む印刷頁1_7をプリンタ54Aに印刷を行わせる。   When printing by the printer 54B is completed, as shown in FIG. 15, the FEC 52 performs printer switching processing (resource merging) according to the setting of the printing destination as described above. Subsequently, the necessary character pattern and common PDL data are transmitted to cause the printer 54A to print the print page 1_6 including the character pattern “e” and the print page 1_7 including the character pattern “o”.

このように、最新の文字パターンを記憶する資源イメージ保存部62を設けると共に、印刷先のプリンタ54を切替える場合には、該資源イメージ保存部62に記憶された文字パターンを一括して送出するようにしたため、プリンタ54毎に正しい文字パターンを用いて確実に印刷できる。また、障害が発生した場合であっても、各プリンタ54に設けられた文字資源記憶部46に必要な文字パターンが格納されているため、オフライン印刷においても、文字化けせずに正常に印刷することができる。さらにまた、各プリンタ54の文字資源記憶部46には、各プリンタ54の印刷で使用されない不要な文字パターンは格納されないため、最小限の記憶領域で正常に印刷を行うことができ、全ての文字パターンを送出して格納する場合に比べて無駄を省くことができる。   As described above, the resource image storage unit 62 for storing the latest character pattern is provided, and when the printer 54 as the printing destination is switched, the character patterns stored in the resource image storage unit 62 are collectively transmitted. Therefore, printing can be reliably performed using a correct character pattern for each printer 54. Even when a failure occurs, a necessary character pattern is stored in the character resource storage unit 46 provided in each printer 54. Therefore, even in offline printing, normal printing is performed without garbled characters. be able to. Furthermore, since the character resource storage unit 46 of each printer 54 does not store unnecessary character patterns that are not used for printing by each printer 54, it can be printed normally with a minimum storage area, and all characters can be printed. It is possible to save waste compared to the case of sending and storing the pattern.

また、本実施の形態のように印刷システムを構成すると、プリンタ54を交互使用して印刷できるため、一方のプリンタ54は、共通PDLデータを送出するまで電源を投入しなくて良いなど、省エネルギー効果もある。   Further, if the printing system is configured as in the present embodiment, printing can be performed by alternately using the printers 54, and therefore, one printer 54 does not have to be turned on until the common PDL data is sent out. There is also.

なお、本実施の形態では、複数のエミュレーションコンポーネント60の各々を、主変換部32、アドレス変換部34、文字コード−アドレス管理部36、資源イメージ保存部62、及び資源イメージダウンロード部64により構成した例について説明したが、これに限定されず、例えば、複数のエミュレーションコンポーネント60の各々を、主変換部32のみで構成し、複数のエミュレーションコンポーネント60外部に、各エミュレーションコンポーネント60に共通の、アドレス変換部34、文字コード−アドレス管理部36、資源イメージ保存部62、及び資源イメージダウンロード部64を設けるようにしてもよい。このように、ダウンロードアドレスの決定・管理を行う機能、最新の文字パターンを記憶しておく記憶部、及び該文字パターンを各プリンタに送出して格納する機能をエミュレーションコンポーネント60の外部に設けることにより、装置構成の冗長性を排除し、ダウンロードアドレスを一元的に管理できる。   In the present embodiment, each of the plurality of emulation components 60 includes the main conversion unit 32, the address conversion unit 34, the character code-address management unit 36, the resource image storage unit 62, and the resource image download unit 64. Although the example has been described, the present invention is not limited to this. For example, each of the plurality of emulation components 60 is configured by only the main conversion unit 32, and the address conversion common to each emulation component 60 is provided outside the plurality of emulation components 60. A unit 34, a character code-address management unit 36, a resource image storage unit 62, and a resource image download unit 64 may be provided. In this way, by providing a function for determining and managing a download address, a storage unit for storing the latest character pattern, and a function for sending and storing the character pattern to each printer, outside the emulation component 60. , Device configuration redundancy can be eliminated and download addresses can be managed centrally.

また、上述した第1及び第2の実施の形態では、文字資源として文字パターンを例に挙げて説明したが、フォントや字形データとしてもよい。   In the first and second embodiments described above, a character pattern has been described as an example of a character resource, but a font or character shape data may be used.

また、上述した第1及び第2の実施の形態では、ダイナミックロード対象文字を、1文字単位でダウンロードして格納する例について説明したが、複数文字単位でダウンロードして格納するようにしてもよい。例えば、ダウンロードするタイミングに応じて、ダウンロードして格納する文字数の単位を異ならせて処理することもできる。すなわち、上記第1及び第2の実施の形態では、1文字単位でダウンロードし、ダウンロード毎に使用する文字パターンが切替えられる場合を例に挙げて説明したが、切替えタイミングが異なる文字パターンが複数存在する場合でも、上記と同様に処理できる。   In the above-described first and second embodiments, the example of downloading and storing the dynamic load target character in units of one character has been described. However, the character may be downloaded and stored in units of a plurality of characters. . For example, the unit of the number of characters to be downloaded and stored can be changed according to the download timing. That is, in the first and second embodiments described above, an example has been described in which a character pattern is downloaded in units of characters and the character pattern used for each download is switched. However, there are a plurality of character patterns having different switching timings. Even in this case, the same processing as described above can be performed.

具体的には、例えば、一連の印刷データに先だって最初に複数文字単位で送出される文字パターン(プレロード文字)と、印刷頁の途中で1文字単位で送出される文字パターン(ダウンロード文字)とを混在させて処理する場合が挙げられる。   Specifically, for example, a character pattern (preloaded character) that is first transmitted in units of multiple characters prior to a series of print data, and a character pattern (downloaded character) that is transmitted in units of one character in the middle of a print page The case where it processes by mixing is mentioned.

このようにダウンロードするタイミングが異なる文字パターンを取り扱う場合には、上記第2の実施の形態において、資源イメージ保存部62を切替えタイミングに応じて複数設け、タイミングに応じて使用する資源イメージ保存部62を切替えるようにすることが好ましい。これによりプリンタ切替え時に適切に処理できる。   When handling character patterns with different download timings, a plurality of resource image storage units 62 are provided according to the switching timing in the second embodiment, and the resource image storage unit 62 used according to the timing is used. Is preferably switched. Thereby, it is possible to appropriately process at the time of printer switching.

第1の実施の形態のプリンタの構成を機能的に示した構成図である。1 is a configuration diagram functionally illustrating a configuration of a printer according to a first embodiment. FIG. ダウンロードコマンドの構成を示した図である。It is the figure which showed the structure of the download command. ダイナミックロード対象文字の描画コマンドの構成を示した図である。It is the figure which showed the structure of the drawing command of the dynamic load object character. 文字コード−アドレス記憶テーブルの一例を示した図である。It is the figure which showed an example of the character code-address storage table. アドレス使用割当てテーブルの一例を示した図である。It is the figure which showed an example of the address use allocation table. ホストから何らかのデータが入力されたときにエミュレーションコンポーネントで実行される処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process performed with an emulation component when some data are input from a host. 共通PDLデータを読み出して描画コンポーネントに出力する通常のコントローラの処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process of the normal controller which reads common PDL data and outputs it to a drawing component. 紙ジャムなどの障害が発生したときに行われるコントローラの処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process of the controller performed when troubles, such as paper jam, generate | occur | produce. コントローラ及び描画コンポーネント(プリントエンジン)との間のデータの授受の状態、及び印刷状態の一例を示したシーケンス図である。FIG. 5 is a sequence diagram illustrating an example of a state of data exchange between a controller and a drawing component (print engine) and a print state. 図9のシーケンス図の(1)〜(5)の各々の時点における文字資源記憶部の文字パターンの格納状態を示したテーブルである。10 is a table showing a character pattern storage state of the character resource storage unit at each time point (1) to (5) in the sequence diagram of FIG. 9. 第2の実施の形態の印刷システムの構成を示した図である。It is the figure which showed the structure of the printing system of 2nd Embodiment. FEC及びプリンタの構成を機能的に示した構成図である。FIG. 2 is a configuration diagram functionally illustrating configurations of an FEC and a printer. 資源イメージ保存テーブルの一例を示した図である。It is the figure which showed an example of the resource image preservation | save table. ホスト、FEC、及び各プリンタの各装置間のデータの授受の状態、及び印刷状態の一例を示したシーケンス図である。FIG. 5 is a sequence diagram illustrating an example of a state of data exchange between a host, an FEC, and each apparatus of each printer, and a print state. 図14に続くシーケンス図である。It is a sequence diagram following FIG. (A)は、図14及び図15のシーケンス図に示される(1)〜(7)の各々の時点での、FEC52の資源イメージ保存部62における文字コード0x80A1に対する文字パターンの格納状態を示した図であり、(B)は、プリンタ54Aの文字資源記憶部の文字パターンの記憶状態を示した図であり、(C)は、図14及び図15に示される(1)〜(7)の各々の時点でのプリンタ54Bの文字資源記憶部の文字パターンの記憶状態を示した図である。(A) shows the storage state of the character pattern for the character code 0x80A1 in the resource image storage unit 62 of the FEC 52 at each time point (1) to (7) shown in the sequence diagrams of FIGS. 14 and 15. (B) is a diagram showing a character pattern storage state of the character resource storage unit of the printer 54A, and (C) is a diagram of (1) to (7) shown in FIG. 14 and FIG. It is the figure which showed the memory | storage state of the character pattern of the character resource memory | storage part of the printer 54B at each time. (A)は、複数のプリンタの各々が複数のホストと接続され、各プリンタが該複数のホストから受信した各ホスト独自の形式の印刷データを共通のPDL形式の印刷データ(共通PDLデータ)に変換して印刷する印刷システムを示した図であり、(B)は、該印刷システムの各プリンタの従来の構成を示した図である。(A) shows that each of a plurality of printers is connected to a plurality of hosts, and each printer receives print data in a format unique to each host received from the plurality of hosts as common PDL format print data (common PDL data). It is the figure which showed the printing system which converts and prints, (B) is the figure which showed the conventional structure of each printer of this printing system. 連続紙を印刷する従来のプリンタによる印刷結果を示した一例である。It is an example which showed the printing result by the conventional printer which prints a continuous paper.

符号の説明Explanation of symbols

10 プリンタ
30(30A、30B、30C) エミュレーションコンポーネント
32 主変換部
34 アドレス変換部
36 文字コード−アドレス管理部
40 コントローラ
42 スプール
44 描画コンポーネント
46 文字資源記憶部
48 プリントエンジン
54(54A、54B) プリンタ
60(60A、60B、60C) エミュレーションコンポーネント
62 資源イメージ保存部
64 資源イメージダウンロード部
70 分配部
80 文字コード−アドレス記憶テーブル
82 アドレス使用割当てテーブル
84 資源イメージ保存テーブル
10 Printer 30 (30A, 30B, 30C) Emulation component 32 Main conversion unit 34 Address conversion unit 36 Character code-address management unit 40 Controller 42 Spool 44 Drawing component 46 Character resource storage unit 48 Print engine 54 (54A, 54B) Printer 60 (60A, 60B, 60C) Emulation component 62 Resource image storage unit 64 Resource image download unit 70 Distribution unit 80 Character code-address storage table 82 Address use allocation table 84 Resource image storage table

Claims (8)

文字資源を記憶するための記憶手段と、
文字コードが対応付けられた文字資源を外部からダウンロードするダウンロード手段と、
前記ダウンロード手段によりダウンロードされた文字資源を前記記憶手段の前記ダウンロード毎に異なる記憶領域に格納する格納手段と、
前記文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された前記記憶領域のアドレスにより該文字資源を指定した印刷情報に変換する変換手段と、
前記変換手段により変換された印刷情報に基づいて前記記憶手段から文字資源を読み出して印刷する印刷手段と、
を含む印刷装置。
Storage means for storing character resources;
Download means for downloading a character resource associated with a character code from the outside;
Storage means for storing the character resource downloaded by the download means in a different storage area for each download of the storage means;
Conversion means for converting print information in which a character resource is designated by the character code into print information in which the character resource is designated by an address of the storage area in which the character resource is stored;
Printing means for reading and printing character resources from the storage means based on the print information converted by the conversion means;
Including printing device.
前記文字コード、前記文字コードが対応付けられた文字資源を格納した記憶領域のアドレス、及び該文字資源を用いた印刷が完了したか否かを識別するための識別情報を対応付けて記憶した履歴テーブルを更に備え、
前記格納手段は、該履歴テーブルに基づいて前記文字資源を格納する記憶領域を決定し、該決定した記憶領域に前記文字資源を格納する
請求項1記載の印刷装置。
History in which the character code, the address of the storage area storing the character resource associated with the character code, and the identification information for identifying whether printing using the character resource is completed are stored in association with each other A table,
The printing apparatus according to claim 1, wherein the storage unit determines a storage area for storing the character resource based on the history table, and stores the character resource in the determined storage area.
文字資源を記憶するための記憶手段が設けられ且つ印刷情報に基づいて該記憶手段から文字資源を読み出して印刷する印刷装置の印刷を支援する印刷支援装置であって、
文字コードが対応付けられた文字資源を外部からダウンロードするダウンロード手段と、
前記ダウンロード手段によりダウンロードされた文字資源を前記記憶手段の前記ダウンロード毎に異なる記憶領域に格納する格納手段と、
前記文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された前記記憶領域のアドレスにより該文字資源を指定した印刷情報に変換する変換手段と、
を含む印刷支援装置。
A printing support device provided with storage means for storing character resources and supporting printing of a printing apparatus that reads and prints character resources from the storage means based on print information,
Download means for downloading a character resource associated with a character code from the outside;
Storage means for storing the character resource downloaded by the download means in a different storage area for each download of the storage means;
Conversion means for converting print information in which a character resource is designated by the character code into print information in which the character resource is designated by an address of the storage area in which the character resource is stored;
A printing support apparatus including:
前記文字コード、前記文字コードが対応付けられた文字資源を格納した記憶領域のアドレス、及び該文字資源を用いた印刷が完了したか否かを識別するための識別情報を対応付けて記憶した履歴テーブルを更に備え、
前記格納手段は、該履歴テーブルに基づいて前記文字資源を格納する記憶領域を決定し、該決定した記憶領域に前記文字資源を格納する
請求項3記載の印刷支援装置。
History in which the character code, the address of the storage area storing the character resource associated with the character code, and the identification information for identifying whether printing using the character resource is completed are stored in association with each other A table,
The printing support apparatus according to claim 3, wherein the storage unit determines a storage area for storing the character resource based on the history table, and stores the character resource in the determined storage area.
前記ダウンロード手段によりダウンロードされた最新の文字資源を前記文字コード毎に記憶する最新文字資源記憶手段と、
前記最新文字資源記憶手段に記憶された最新の文字資源を、予め定められたタイミングで前記印刷装置の記憶手段に転送する転送手段と、
を更に含む請求項3または請求項4記載の印刷支援装置。
Latest character resource storage means for storing the latest character resource downloaded by the download means for each character code;
Transfer means for transferring the latest character resource stored in the latest character resource storage means to the storage means of the printing apparatus at a predetermined timing;
The printing support apparatus according to claim 3 or 4, further comprising:
前記最新文字資源記憶手段を複数個備え、
前記ダウンロード手段によりダウンロードされた最新の文字資源を、前記ダウンロード手段のダウンロードのタイミングに応じて該複数個の最新文字資源記憶手段のいずれかに記憶した
請求項5記載の印刷支援装置。
A plurality of the latest character resource storage means,
The printing support apparatus according to claim 5, wherein the latest character resource downloaded by the download unit is stored in any of the plurality of latest character resource storage units according to a download timing of the download unit.
文字コードが対応付けられた文字資源を外部からダウンロードし、
前記ダウンロードされた文字資源を、文字資源を記憶するための記憶手段の前記ダウンロード毎に異なる記憶領域に格納し、
前記文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された前記記憶領域のアドレスにより該文字資源を指定した印刷情報に変換し、
前記変換された印刷情報に基づいて前記記憶手段から文字資源を読み出して印刷する
印刷方法。
Download a character resource associated with the character code from the outside,
Storing the downloaded character resource in a different storage area for each download of the storage means for storing the character resource;
Converting print information in which a character resource is designated by the character code into print information in which the character resource is designated by an address of the storage area in which the character resource is stored;
A printing method in which character resources are read from the storage unit based on the converted print information and printed.
文字資源を記憶するための記憶手段が設けられ且つ印刷情報に基づいて該記憶手段から文字資源を読み出して印刷する印刷装置の印刷を支援する印刷支援方法であって、
文字コードが対応付けられた文字資源を外部からダウンロードし、
前記ダウンロードされた文字資源を前記記憶手段の前記ダウンロード毎に異なる記憶領域に格納し、
前記文字コードにより文字資源が指定された印刷情報を、該文字資源が格納された前記記憶領域のアドレスにより該文字資源を指定した印刷情報に変換する
印刷支援方法。
A printing support method for supporting printing of a printing apparatus provided with storage means for storing character resources and reading out the character resources from the storage means based on the print information and printing the print data,
Download a character resource associated with the character code from the outside,
Storing the downloaded character resource in a different storage area for each download of the storage means;
A print support method for converting print information in which a character resource is designated by the character code into print information in which the character resource is designated by an address of the storage area in which the character resource is stored.
JP2005003065A 2005-01-07 2005-01-07 Printing apparatus, printing support apparatus, printing method, and printing support method Expired - Fee Related JP4591087B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005003065A JP4591087B2 (en) 2005-01-07 2005-01-07 Printing apparatus, printing support apparatus, printing method, and printing support method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005003065A JP4591087B2 (en) 2005-01-07 2005-01-07 Printing apparatus, printing support apparatus, printing method, and printing support method

Publications (2)

Publication Number Publication Date
JP2006188024A true JP2006188024A (en) 2006-07-20
JP4591087B2 JP4591087B2 (en) 2010-12-01

Family

ID=36795641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005003065A Expired - Fee Related JP4591087B2 (en) 2005-01-07 2005-01-07 Printing apparatus, printing support apparatus, printing method, and printing support method

Country Status (1)

Country Link
JP (1) JP4591087B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310590A (en) * 2007-06-14 2008-12-25 Fuji Xerox Co Ltd Printing system
JP7007220B2 (en) 2018-03-14 2022-01-24 理想科学工業株式会社 Image processing equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09136458A (en) * 1995-11-14 1997-05-27 Ricoh Co Ltd Font management method applied to a device with a printing mechanism
JP2000011251A (en) * 1998-06-24 2000-01-14 Sony Corp Information sales equipment
JP2004062786A (en) * 2002-07-31 2004-02-26 Canon Inc Font downloading apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09136458A (en) * 1995-11-14 1997-05-27 Ricoh Co Ltd Font management method applied to a device with a printing mechanism
JP2000011251A (en) * 1998-06-24 2000-01-14 Sony Corp Information sales equipment
JP2004062786A (en) * 2002-07-31 2004-02-26 Canon Inc Font downloading apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310590A (en) * 2007-06-14 2008-12-25 Fuji Xerox Co Ltd Printing system
JP7007220B2 (en) 2018-03-14 2022-01-24 理想科学工業株式会社 Image processing equipment

Also Published As

Publication number Publication date
JP4591087B2 (en) 2010-12-01

Similar Documents

Publication Publication Date Title
US7283266B2 (en) Information processing apparatus and print control apparatus, data processing method, storage medium and program
JPH11327856A (en) Print control device, data processing method of print control device, and storage medium storing computer readable program
JP3039396B2 (en) Print control apparatus and method
EP0684546B1 (en) Printing apparatus, printing system, and a method for acquiring character resources of the printing system
JP4591087B2 (en) Printing apparatus, printing support apparatus, printing method, and printing support method
JPH0635634A (en) Printer
JP3017343B2 (en) Print control apparatus and method
JP2021033314A (en) Information processing system and program
JP2000029642A (en) Printing apparatus, printing method, printing system, information processing apparatus, information processing method, and storage medium
JP2003044239A (en) Printer system, page recovery printing control device, page recovery printing method, and spool program
JPH11143652A (en) Network system
JPH086746A (en) Printer device
JP2001047706A (en) Image formation system in network environment
JP2000315141A (en) Printer, recording medium and printer memory management method
JPH1097395A (en) Print control apparatus, print control method for print apparatus, and storage medium storing computer-readable program
JPH09269877A (en) Image forming device
JP2007179371A (en) Printing system
JP2001228996A (en) Image forming system
JP2001138595A (en) Printing system and printing device
KR100243125B1 (en) Processing method of printing image information of computer
KR100509455B1 (en) Printer and printing method for supporting automatic emulation switching
JP2001306287A (en) Heterogeneous agency printing system
KR100306752B1 (en) Method for managing print error in printer
JPH08137638A (en) Printing device and printing method
JP2001080144A (en) Output device, information processing device, control method of output device, control method of information processing device, and storage medium storing computer-readable program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100720

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

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

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

Free format text: PAYMENT UNTIL: 20130924

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4591087

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees