JP2006188024A - Printer, printing method, and apparatus and method for printing support - Google Patents
Printer, printing method, and apparatus and method for printing support Download PDFInfo
- 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
Links
- 238000007639 printing Methods 0.000 title claims abstract description 185
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000006243 chemical reaction Methods 0.000 claims description 62
- 238000011084 recovery Methods 0.000 abstract description 24
- 230000008569 process Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 19
- 230000006870 function Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 5
- 230000006872 improvement Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
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 (
以下、ホスト50A〜50Dを特に区別しないで説明するときにはホスト50と呼称する。また、プリンタ11A、11Bは同一構成であり、プリンタ11A、11Bを特に区別しないで説明するときにはプリンタ11と呼称する。
Hereinafter, the
図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
従って、ホストとオフラインで印刷することができると共に、プリンタにエミュレーションコンポーネントを追加するだけで、複数種類の印刷データの印刷ができる。これにより、プリンタのラインナップ化、高い汎用性、開発コストダウンが実現される。以下、このようにエミュレーションコンポーネントを複数装備したプリンタをマルチエミュレーションプリンタと呼称する。 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参照。)。
印刷中に紙ジャムや用紙切れなどの印刷不具合があった場合、ホストとオンライン接続される印刷システムでは、印刷データだけでなく、該印刷データで使用されるダイナミックロード対象文字が再度ホストコンピュータからプリンタにダウンロードされ、自動的に再印刷(リカバリ印刷)が行われ、正しい印刷が保証される。通常、リカバリ印刷では、障害が発生した頁より数頁前から再印刷されるが、オンライン接続の印刷システムでは、数頁前からの印刷データと該印刷データで指定された文字コードの文字資源とが同期して再度プリンタにダウンロードされるため、正しく印刷することができる。 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
本発明は、上述した問題を解決するためになされたものであり、オフライン印刷においても、オンライン印刷と同等に文字資源を管理でき、通常の印刷だけでなく障害発生時に行われるリカバリ印刷でも正しく印刷することができる印刷装置、印刷支援装置、印刷方法、及び印刷支援方法を提供することを目的とする。 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
プリンタ10は、複数のエミュレーションコンポーネント30A〜30C、コントローラ40、スプール42、描画コンポーネント44、文字資源記憶部46、及びプリントエンジン48を備えている。
The
文字資源記憶部46には、文字コードと文字パターンが1対1で対応付けられた標準的な文字パターン(プリンタ内蔵の文字パターン)が予め記憶されている。また、プリンタに内蔵されておらず、文字コードと文字パターンが1対多で対応付けられた文字(以下、ダイナミックロード対象文字)の文字パターンがダウンロードされたときには、該ダウンロードされた文字パターンも文字資源記憶部46に(プリンタ内蔵の文字パターンの記憶領域とは異なる記憶領域に)記憶される。
The character
複数のエミュレーションコンポーネント30A〜30Cは、複数の印刷データ形式に対応して設けられている。なお、エミュレーションコンポーネント30A〜30Cは同一の構成であるので、以下、エミュレーションコンポーネント30A〜30Cを区別しないで説明するときは単にエミュレーションコンポーネント30と呼称して説明する。
The plurality of
エミュレーションコンポーネント30は、主変換部32、アドレス変換部34、及び文字コード−アドレス管理部36から構成されている。この主変換部32、アドレス変換部34、及び文字コード−アドレス管理部36は、ここでは、エミュレーションコンポーネント30用のモジュールに予め組み込まれたファームウェアにより実現される。
The emulation component 30 includes a
主変換部32は、ホストから入力されたホスト独自のPDL(ページ記述言語)形式の印刷データをプリンタ10内部で使用する共通のPDL形式のデータ(以下、共通PDL形式のデータ、あるいは共通PDLデータと呼称する)に変換する。
The
また、ホストからロードパターンコマンドを入力したときには、ダイナミックロード対象文字の文字パターンをホストからダウンロードし(ダイナミックロード機能)、該ダウンロードした文字パターンを文字資源記憶部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
図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
また、印刷データの共通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-
アドレス変換部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
文字コード−アドレス管理部36は、図4に示されるような文字コード−アドレス記憶テーブル80を備えている。この文字コード−アドレス記憶テーブル80には、文字コードと最新のダウンロードアドレスが対応付けて記憶される。本実施の形態では、文字コード−アドレス記憶テーブル80において、文字コードが重複するレコードは存在しない。
The character code /
更に文字コード−アドレス管理部36は、図5に示されるようなアドレス使用割当てテーブル82を備えている。このアドレス使用割当てテーブルには、各レコードは、ダウンロードアドレス、該ダイナミックロードアドレスに格納した文字パターンを指定した文字コード、該文字パターンを用いた全ての印刷が既に完了したか否かを示す既印刷フラグにより構成されている。アドレス使用割当てテーブル82は、所謂、ダウンロードされた文字パターンの文字資源記憶部46への格納履歴を示すものであるため、同一文字コードを有するレコードが複数存在する場合もある。
Further, the 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
文字コード−アドレス管理部36は、アドレス変換部34からアドレス取得要求があったときに、アドレス使用割当てテーブル82を検索し、検索結果からダウンロードアドレスを決定し、該決定したダウンロードアドレスをアドレス変換部34に渡す。また、このとき、文字コード−アドレス管理部36は、文字コード−アドレス記憶テーブル80及びアドレス使用割当てテーブル82を更新する。
When there is an address acquisition request from the
また、文字コード−アドレス管理部36は、主変換部32が、ダイナミックロード対象文字の描画コマンドを生成するときに、文字コード−アドレス記憶テーブル80から、該当の文字コードに対する最新のダウンロードアドレスを検索して、主変換部32に渡す。これにより、主変換部32は上記描画コマンドを生成することができる。
Further, the character code-
コントローラ40は、CPU、ROM、RAMにより構成されている。コントローラ40は、ROMに記憶されたプログラムを実行することにより所定の処理を行う。コントローラ40は、エミュレーションコンポーネント30に接続され、エミュレーションコンポーネント30から共通PDLデータが入力されたときには、該共通PDLデータをスプール42に格納する。更に、スプール42に格納した共通PDLデータを順次読み出して描画コンポーネント44に出力する。また、障害が発生したときには、障害が発生した頁から2頁前まで遡ってリカバリ印刷されるように、スプール42から共通PDLデータを読み出して描画コンポーネント44に出力する。
The
描画コンポーネント44は、コントローラ40から出力された共通PDLデータを順次解釈し、ページ毎にビットマップ形式の画像データに変換してプリントエンジン48に出力する。このとき、共通PDLデータに、ダイナミックロード対象文字の描画コマンドが含まれていた場合には、該描画コマンドに基づいて文字資源記憶部46から該当のダウンロードアドレスに格納された文字パターンを読み出して画像データに展開して、プリントエンジン48に出力する。なお、共通PDLデータには、標準的な文字コードにより指定された文字パターン(プリンタ内蔵の文字パターン)の描画コマンドも存在するが、この描画コマンドの場合には、文字資源記憶部46から該文字コードに対応付けられた文字パターンを読み出して出力する。また、入力された共通PDLデータが、共通PDL形式のダウンロードコマンドであった場合には、文字資源記憶部46の該ダウンロードコマンドで指定されたダウンロードアドレスに文字パターンを格納する。
The
プリントエンジン48は、描画コンポーネント44から出力された画像データに基づいて連続紙などの用紙に印刷する。
The
次に、ホストから何らかのデータが入力されたときにエミュレーションコンポーネント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
ステップ100では、主変換部32が、入力されたデータがロードパターンコマンドであるか否かを判定する。例えば、通常、データのヘッダ部分にはデータ種別を識別することができる識別符号が含まれているため、該識別符号から判定することができる。ここで、ロードパターンコマンドであると判定した場合には、ステップ102で、該コマンドに従ってホストから文字パターンを取得(ダウンロード)する。
In
ステップ104で、アドレス変換部34を介してアドレス使用割当てテーブル82を参照して、該文字パターンを格納するダウンロードアドレスを取得する。具体的には、アドレス変換部34が、アドレス取得要求を文字コード−アドレス管理部36に送出する。文字コード−アドレス管理部36は、アドレス使用割当てテーブル82から、文字パターンが記憶されていない未記憶の記憶領域を示すアドレス、または、既に何らかの文字パターンが記憶されてはいるが既印刷フラグが「1」となっているレコードのダウンロードアドレスを、要求のあった文字パターンを格納するためのダウンロードアドレスとして決定する。このように決定されたダウロードアドレスが主変換部32に送出される。
In
ステップ106では、主変換部32は、該ダウンロードアドレスを用いて共通PDL形式のダウンロードコマンドを生成し、コントローラ40に出力する。
In
コントローラ40は該ダウンロードコマンドを受け取ると、一端スプール42に格納する。更にコントローラ40はスプール42からダウンロードコマンドを読み出して、描画コンポーネント44に出力する。描画コンポーネント44は、該ダウンロードコマンドに含まれる文字データを、該ダウンロードコマンドで指定されたダウンロードアドレスに格納する。
When the
ステップ108では、文字コード−アドレス管理部36が、文字コード−アドレス記憶テーブル80を更新する。具体的には、文字コード−アドレス記憶テーブル80を検索し、上記ダウンロードアドレスを決定した文字パターンの文字コードと同一の文字コードのレコードが記憶されているかを検索する。該同一の文字コードのレコードが記憶されていれば、該レコードのダウンロードアドレスを、上記決定したダウンロードアドレスに変更する。また、該同一の文字コードのレコードが記憶されていなければ、該文字コードと上記決定したダウンロードアドレスとが対応付けられた新たなレコードを生成して、文字コード−アドレス記憶テーブル80に追加する。これにより、文字コード−アドレス記憶テーブル80には常に最新のダウンロードアドレスが記憶される。
In
ステップ110では、文字コード−アドレス管理部36が、アドレス使用割当てテーブル82を更新する。具体的には、上記アドレス取得要求に応じて決定したダウンロードアドレスと、該ダウンロードアドレスを決定した文字パターンの文字コードと、既印刷フラグ「0」とを対応付けた新たなレコードを生成して、アドレス使用割当てテーブル82に追加する。すなわち、文字コード−アドレス管理部36は、新たに文字パターンがダウンロードされる毎に新たなレコードを生成し、アドレス使用割当てテーブル82に追加する。
In step 110, the character code /
一方、ステップ100で、主変換部32が、ホストから入力されたデータはロードパターンコマンドではないと判定した場合には、ステップ120に移行し、入力されたデータが印刷データであるか否かを判定する。ここで、入力されたデータが印刷データであると判定したときには、ステップ122で、該入力された印刷データを共通PDLデータに変換する変換処理を開始する。変換処理では、入力した印刷データを先頭から順に解釈して共通PDLデータに変換していくが、印刷データのデータがダイナミックロード対象文字を描画(印刷)するデータであるか否かを常に判定しながら変換処理を続行する(ステップ124)。ホストからの印刷データでは、印刷する文字パターンが文字コードにより指定されている。ここでは、印刷データに含まれる文字コードがプリンタ内蔵の文字パターンに対応付けられた文字コードでなければ、該文字コードにより指定された文字(文字パターン)は、ダイナミックロード対象文字であると判別する。
On the other hand, if the
ステップ124で、処理対象のデータが、ダイナミックロード対象文字を描画(印刷)するデータであると判定した場合には、ステップ132に移行し、そのまま変換処理を続行する。
If it is determined in
ステップ124で、処理対象のデータが、ダイナミックロード対象文字を描画(印刷)するデータであると判定した場合には、ステップ126で、文字コード−アドレス管理部36を介して、文字コード−アドレス記憶テーブル80から該文字コードに対応付けられた最新のダウンロードアドレスを取得する。
If it is determined in
ステップ128では、取得したダウンロードアドレスを用いて、ダイナミックロード対象文字の描画コマンドを共通PDL形式で生成する。すなわち、印刷する文字パターンが文字コードにより指定されたデータを、該文字パターンが格納されたダウンロードアドレスにより該文字パターンを指定した共通PDL形式のデータに変換する。
In
ステップ130では、入力された印刷データ全ての変換が完了したか否かを判定する。ここで、否定判断したときには、ステップ132に移行し、変換処理を続行する。入力された印刷データ全ての変換が完了するまで、ステップ124からステップ132の処理を継続する。
In
ステップ130で、入力された印刷データ全ての変換が完了したと判定した場合には、ステップ134で、変換した共通PDLデータをコントローラ40に出力する。該共通PDLデータはコントローラ40によりスプール42に格納される。
If it is determined in
一方、ステップ120で、入力されたデータが印刷データではないと判定した場合には、ステップ140に移行し、入力されたデータがプリンタ制御コードであるか否かを判定する。ここで、プリンタ制御コードであると判定した場合には、該プリンタ制御コードに対して何の処理も施さずにスルーでコントローラ40に出力する。コントローラ40は、該プリンタ制御コードを入力したときには、プリントエンジン48に対して所定の制御信号を送出し、プリントエンジン48の動作設定を行う。また、ステップ140で、入力されたデータがプリンタ制御コードではないと判定した場合には、何の処理も行わずに本処理ルーチンを終了する。
On the other hand, if it is determined in
なお、本実施の形態において、ホストからロードパターンコマンド、印刷データ、及びプリンタ制御コードのいずれかが入力された後は、次に何らかのデータが入力されるまではホストとの間はオフライン状態となる。上述したように、プリンタ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
次に、コントローラ40で実行される処理の流れについて、図7及び図8のフローチャートを参照しながら説明する。
Next, the flow of processing executed by the
図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
ステップ200では、スプール42から共通PDLデータを読み出す。ステップ202では、該読み出した共通PDLデータを描画コンポーネント44に出力する。ステップ204では、全ての共通PDLデータの出力が完了したか否かを判定し、ここで全ての共通PDLデータの出力が完了していないと判定した場合には、ステップ200に戻って、処理を継続する。
In
なお、描画コンポーネント44に出力された共通PDLデータは、描画コンポーネント44で順次解釈され、ページ毎にビットマップ形式の画像データに変換されてプリントエンジン48に出力される。このとき、共通PDLデータがダイナミックロード対象文字の描画コマンドであった場合には、該描画コマンドに基づいて文字資源記憶部46から該当のダウンロードアドレスに格納された文字パターンを読み出して展開し、プリントエンジン48に出力する。また、共通PDLデータがダウンロードコマンドであった場合には、文字資源記憶部46の該ダウンロードコマンドで指定されたダウンロードアドレスに文字パターンを格納する。プリントエンジン48は、描画コンポーネント44から出力された画像データに基づいて連続紙などの用紙に印刷する。
The common PDL data output to the
一方、ステップ204で、全ての共通PDLデータの出力が完了したと判定した場合には、ステップ206で、エミュレーションコンポーネント30に対して印刷完了通知を出力する。
On the other hand, if it is determined in
なお、印刷完了通知を受け取ったエミュレーションコンポーネント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
図8は、紙ジャムなどの障害が発生したときにコントローラ40で行われる処理の流れを示したフローチャートである。
FIG. 8 is a flowchart showing the flow of processing performed by the
ステップ300では、所定頁(ここでは2頁)前に遡ってスプール42から共通PDLデータを読み出す。ステップ302では、該読み出した共通PDLデータを描画コンポーネント44に出力する。ステップ304では、全ての共通PDLデータの出力が完了したか否かを判定し、ここで全ての共通PDLデータの出力が完了していないと判定した場合には、ステップ306に移行し、続けて次の共通PDLデータを読み出し、ステップ302に戻る。また、ステップ304で、全ての共通PDLデータの出力が完了したと判定した場合には、ステップ308で、エミュレーションコンポーネント30に対して印刷完了通知を出力する。
In
描画コンポーネント44は、コントローラ40から出力された共通PDLデータを順次解釈して画像データに展開してプリントエンジン48に出力する。プリントエンジン48では、障害が発生した頁より所定頁遡ってリカバリ印刷することができる。
The
なお、共通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
次に、本プリンタ10の動作について、より具体的な例を挙げて説明する。
Next, the operation of the
図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
図10は、図9のシーケンス図の(1)〜(5)の各々の時点における文字資源記憶部46の文字パターンの格納状態を示したテーブルである。
FIG. 10 is a table showing the character pattern storage state of the character
図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
描画コンポーネント44は、ダウンロードロードコマンドを受け取った場合には、該ダウンロードコマンドに含まれるダウンロードアドレスに文字パターンを記憶する。図9及び図10に示される例では、文字コード0x80A1が対応づけられた文字パターン「あ」「い」「う」「え」「お」が、文字資源記憶部46の互いに異なる記憶領域(0x3000、0x3200、0x3400、0x3600、0x3800)に格納される。
When the
また、コントローラ40から描画コンポーネント44に送出される各共通PDLデータは、文字パターンをダウンロードアドレスにより指定した共通PDLデータである。描画コンポーネント44は、共通PDLデータを受け取ると、該ダウンロードアドレスから該当の文字パターンを読み出してプリントエンジン48に出力する。これにより、各頁の文字パターンを正しく印刷することができる。
Each common PDL data sent from the
図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
以上説明したように、文字パターンをダウンロードしたときに、該文字パターンをダウンロード毎に異なる記憶領域に格納すると共に、文字コードにより文字パターンが指定された印刷データを、該文字パターンが格納された記憶領域のアドレス(ダウンロードアドレス)により該文字パターンを指定した共通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
また、本実施の形態では、エミュレーションコンポーネント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
[第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
以下、プリンタ54A、54Bは同一の構成であるので、プリンタ54A、54Bを区別しないで説明するときは、単にプリンタ54と呼称して説明する。
Hereinafter, since the
図12は、FEC52及びプリンタ54の構成を機能的に示した構成図である。図12において、図1と同一もしくは同等の部分には同じ記号を付し、その説明を省略する。
FIG. 12 is a configuration diagram functionally showing the configurations of the
FEC52は、複数のエミュレーションコンポーネント60A〜60C、及び分配部70を備えている。
The
複数のエミュレーションコンポーネント60A〜60Cは、複数のホストから出力される印刷データの形式に対応して設けられている。なお、エミュレーションコンポーネント60A〜60Cは同一の構成であるので、以下、エミュレーションコンポーネント60A〜60Cを区別しないで説明するときは単にエミュレーションコンポーネント60と呼称して説明する。
The plurality of
エミュレーションコンポーネント60は、主変換部32、アドレス変換部34、文字コード−アドレス管理部36、資源イメージ保存部62、及び資源イメージダウンロード部64から構成されている。本実施の形態における主変換部32、アドレス変換部34、及び文字コード−アドレス管理部36は、第1の実施の形態と同一の機能を有するため説明を省略する。
The emulation component 60 includes a
ただし、本実施の形態では、文字コード−アドレス記憶テーブル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
資源イメージ保存部62には、文字コード毎に該文字コードに対応付けられた最新の文字パターンが保存される。資源イメージ保存部62は、図13に示されるような資源イメージ保存テーブル84を備え、この資源イメージ保存テーブル84に、エミュレーションコンポーネント60がホストからダウンロードしたダイナミックロード対象文字の文字コード、文字パターン、及び該文字パターンを格納するダウンロードアドレスが対応付けて記憶される。すなわち、この資源イメージ保存テーブル84には、文字コード−アドレス記憶テーブル80に記憶される情報に加えて、ダウンロードした文字パターンそのものが対応付けられて記憶される。
The resource
資源イメージダウンロード部64は、資源イメージ保存部62に保存した文字パターンを、分配部70を介し対象のプリンタ54に対して印刷させるプリンタの切替えに一括して送出する。送出する際には、資源イメージ保存部62に保存されている文字パターンを切替え先のプリンタ54の文字資源記憶部46に格納するための「ダウンロードコマンド」(第1の実施の形態と同様)を共通PDL形式で生成し、分配部70を介して送出する。本実施の形態では、プリンタ切替え時以外のタイミングで送出されるダウンロードコマンドは、第1の実施の形態と同様に主変換部32で生成され、プリンタの切替え時に送出されるダウンロードコマンドは資源イメージダウンロード部64で生成される。
The resource
分配部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
以下、本実施の形態におけるFEC52及びプリンタ54の動作について説明する。
Hereinafter, operations of the
まず、ホスト50から何らかのデータが入力されたときにFEC52のエミュレーションコンポーネント60で実行される処理の流れについて上記第1の実施の形態で用いた図6のフローチャートを参照しながら説明する。
First, the flow of processing executed by the emulation component 60 of the
ステップ100〜102で、主変換部32は、ホスト50からロードパターンコマンドが発行されたときに、該ロードコマンドに従って、文字パターンをダウンロードする。このとき、ダウンロードした文字パターンを、資源イメージ保存部62(資源イメージ保存テーブル84)に格納する。ここで、資源イメージ保存テーブル84にダウンロードした文字パターンの文字コードと同一文字コードのレコードが格納されていた場合には、該ダウンロードした文字パターンを該レコードに上書きする。資源イメージ保存テーブル84に同一文字コードのレコードが格納されていなければ、新規にレコードを生成して該テーブルに追加する。
In
ステップ104では、主変換部32は、予め定められた印刷先の設定に従い、アドレス変換部34を介して、該文字パターンを使用して印刷するプリンタ54に対応したアドレス使用割当てテーブル82を参照して、該文字パターンを格納するダウンロードアドレスを取得する。また、ここで取得したダウンロードアドレスを、資源イメージ保存テーブル84の上記文字パターンを格納したレコードに格納する。
In
ステップ106では、主変換部32は、文字パターンを上記取得したダウンロードアドレスに格納するためのダウンロードコマンドを共通PDL形式で生成し、分配部70に出力する。分配部70は、該ダウンロードコマンドを受け取ると、上記印刷先の設定に従って、該ダウンロードコマンドの送出先を選定し、該選定した送出先のプリンタ54に送出する。プリンタ54のコントローラ40は該ダウンロードコマンドを受け取ると、上記第1の実施の形態と同様に、描画コンポーネント44を介して、該ダウンロードコマンドに含まれる文字データを、該ダウンロードコマンドで指定されたダウンロードアドレスに格納する。
In
ステップ108では、文字コード−アドレス管理部36が、上記文字パターンを送出したプリンタ54に対応した文字コード−アドレス記憶テーブル80を更新する。
In
ステップ110では、文字コード−アドレス管理部36が、上記文字パターンを送出したプリンタ54に対応したアドレス使用割当てテーブル82を更新する。
In step 110, the character code-
一方、ステップ100で、主変換部32が、ホスト50から入力されたデータはロードパターンコマンドではないと判定し、ステップ120で、入力されたデータが印刷データであると判定した場合には、ステップ122〜132の処理を繰り返して、該入力された印刷データを共通PDLデータに変換する。なお、この変換処理過程で、ダイナミックロード対象文字を描画(印刷)するデータを変換する際には、印刷先のプリンタに対応した文字コード−アドレス記憶テーブル80から最新のダウンロードアドレスを取得し、該ダウンロードアドレスを用いてダイナミックロード対象文字の描画コマンドを生成する。
On the other hand, when the
印刷データが全て共通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
一方、ステップ120で、入力されたデータが印刷データではないと判定し、ステップ140で、入力されたデータがプリンタ制御コードであると判定した場合には、該プリンタ制御コードに対して何の処理も施さずにスルーで分配部70に送出する。分配部70は、該当のプリンタ54に対して該プリンタ制御コードを送出する。
On the other hand, if it is determined in
ステップ140で、入力されたデータがプリンタ制御コードではないと判定した場合には、何の処理も行わずに本処理ルーチンを終了する。
If it is determined in
次に、印刷させるプリンタを切替える時の切替え処理について説明する。 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
該ダウンロードコマンドを受信したプリンタ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
次に、本実施の形態における印刷システムの動作について、図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
図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
FEC52は、ホスト50から文字パターンを受信したときには、ダウンロードコマンドを生成し、印刷先の設定に従ってプリンタ54Aまたはプリンタ54Bのいずれか一方に送信する。プリンタ54Aまたはプリンタ54Bは、該ダウンロードコマンドを受け取ると、該ダウンロードコマンドに含まれるダウンロードアドレスに文字パターンを記憶する。
When the
図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
また、それぞれの文字パターンのダウンロードの後には、印刷データがホスト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
プリンタ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
印刷先をプリンタ54Bに切替える時には、資源イメージ保存部62に記憶された最新の文字パターンを転送してプリンタ54Bの文字資源記憶部46に格納するためのダウンロードコマンドをプリンタ54Bに送出する。
When the printing destination is switched to the
ここでは、資源イメージ保存部62に、プリンタ54Aで既に印刷に使用された文字パターン「い」が最新の文字パターンとして記憶されており、この文字パターンはプリンタ54Bでも使用される。従って、ダウンロードコマンドが、資源イメージダウンロード部64により、資源イメージ保存部62に記憶された最新の文字パターン「い」及び文字コード−アドレス管理部36で決定されたプリンタ54Bのダウンロードアドレスを用いて生成される。
Here, the character pattern “I” already used for printing by the
なお、FEC52のエミュレーションコンポーネント60は、プリンタ54Bのダウンロードアドレスについて、ホスト50から文字パターン「い」をダウンロードしたときに、プリンタ54Aのダウンロードアドレスだけでなく、プリンタ54Bのダウンロードアドレスも同時に決定し、双方のアドレスを文字コード−アドレス記憶テーブル80やアドレス使用割当てテーブル82に格納しておくようにしてもよいし、プリンタ切替え時に、プリンタ54Bのダウンロードアドレスを決定するようにしてもよい。
The emulation component 60 of the
プリンタ54Bは、ダウンロードコマンドを受け取ると、該ダウンロードコマンドに従って文字パターン「い」を文字資源記憶部46の指定されたダウンロードアドレスに格納する(資源マージ)。図14の(3)の時点では、図16(C)に示されるように、ダウンロードアドレス0x3000に文字パターン「い」が格納される。
Upon receiving the download command, the
その後、FEC52は、上記と同様の処理を行い、ホスト50からの印刷データを、ダウンロードアドレスにより文字パターンを指定した共通PDLデータに変換し、プリンタ54Bに送出して印刷頁2_3を印刷させる。
Thereafter, the
文字パターン「う」、文字パターン「え」についても、上記と同様にダウンロードコマンドを生成してプリンタ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
図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
プリンタ54Bでの印刷が完了すると、図15に示されるように、FEC52は、前述のように、印刷先の設定に従って、プリンタの切替え処理(資源マージ)を行う。続いて、必要な文字パターン、共通PDLデータを送出して、文字パターン「え」を含む印刷頁1_6、文字パターン「お」を含む印刷頁1_7をプリンタ54Aに印刷を行わせる。
When printing by the
このように、最新の文字パターンを記憶する資源イメージ保存部62を設けると共に、印刷先のプリンタ54を切替える場合には、該資源イメージ保存部62に記憶された文字パターンを一括して送出するようにしたため、プリンタ54毎に正しい文字パターンを用いて確実に印刷できる。また、障害が発生した場合であっても、各プリンタ54に設けられた文字資源記憶部46に必要な文字パターンが格納されているため、オフライン印刷においても、文字化けせずに正常に印刷することができる。さらにまた、各プリンタ54の文字資源記憶部46には、各プリンタ54の印刷で使用されない不要な文字パターンは格納されないため、最小限の記憶領域で正常に印刷を行うことができ、全ての文字パターンを送出して格納する場合に比べて無駄を省くことができる。
As described above, the resource
また、本実施の形態のように印刷システムを構成すると、プリンタ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
また、上述した第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
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)
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.
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)
| 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)
| 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 |
-
2005
- 2005-01-07 JP JP2005003065A patent/JP4591087B2/en not_active Expired - Fee Related
Patent Citations (3)
| 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)
| 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 |