[go: up one dir, main page]

JP2006031427A - Printer driver, storage medium, and symbol code printing method - Google Patents

Printer driver, storage medium, and symbol code printing method Download PDF

Info

Publication number
JP2006031427A
JP2006031427A JP2004209639A JP2004209639A JP2006031427A JP 2006031427 A JP2006031427 A JP 2006031427A JP 2004209639 A JP2004209639 A JP 2004209639A JP 2004209639 A JP2004209639 A JP 2004209639A JP 2006031427 A JP2006031427 A JP 2006031427A
Authority
JP
Japan
Prior art keywords
symbol code
character string
information
image data
printer driver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004209639A
Other languages
Japanese (ja)
Other versions
JP2006031427A5 (en
Inventor
Tatsuro Yoshioka
達郎 吉岡
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004209639A priority Critical patent/JP2006031427A/en
Publication of JP2006031427A publication Critical patent/JP2006031427A/en
Publication of JP2006031427A5 publication Critical patent/JP2006031427A5/ja
Pending legal-status Critical Current

Links

Images

Abstract

【課題】 バーコード等のシンボルコードの印刷を、プリンタ以外の環境に依存せずにプリンタドライバでの処理だけで高品質に行えるようにする。
【解決手段】 プリンタドライバ22内において、入力される描画データ中にシンボルコード描画の情報として、例えば[使用するシンボルコード名,シンボルコードに変換する文字列]のような特定書式の文字列情報が含まれているか否かを文字処理モジュール33に解析させ、含まれている場合にはその情報に基づきシンボルコード描画モジュール34でプリンタ1に最適化され色補正処理等を受けないシンボルコードのイメージデータを作成してプリンタ1に出力させてシンボルコードを印刷させることで、プリンタ1以外の環境に依存することなく、高品質なシンボルコードの印刷が可能となる。
【選択図】 図3

PROBLEM TO BE SOLVED: To perform printing of a symbol code such as a barcode with high quality only by processing by a printer driver without depending on an environment other than the printer.
In a printer driver 22, character code information in a specific format such as [name of symbol code to be used, character string to be converted to symbol code] is included as symbol code drawing information in input drawing data. Whether or not it is included is analyzed by the character processing module 33. If it is included, the symbol code image data optimized by the symbol code drawing module 34 for the printer 1 and not subjected to color correction processing or the like based on the information. Is generated and output to the printer 1 to print the symbol code, so that high-quality symbol code can be printed without depending on the environment other than the printer 1.
[Selection] Figure 3

Description

本発明は、バーコード等のシンボルコードの印刷に適したプリンタドライバ、記憶媒体及びシンボルコード印刷方法に関する。   The present invention relates to a printer driver, a storage medium, and a symbol code printing method suitable for printing a symbol code such as a barcode.

バーコード等のシンボルコードの印刷をアプリケーションから行なう場合、専用のソフトウエアを利用し、アプリケーション内でバーコードをイメージ化やグラフィック化して印刷させる方法が一般的である。   When printing a symbol code such as a barcode from an application, a general method is to use a dedicated software and print the barcode as an image or a graphic within the application.

この点、バーコードの印刷をより簡単にするため、例えば、特許文献1によれば、文字の外字領域にバーコードを登録し(即ち、フォントとしてバーコードを作成し)、印刷時にフォントを指定することでバーコードを印刷する方法が提案されている。   In this regard, in order to make barcode printing easier, for example, according to Patent Document 1, a barcode is registered in an external character area of a character (that is, a barcode is created as a font), and a font is designated at the time of printing. Thus, a method for printing a barcode has been proposed.

また、特許文献2によれば、印刷するシンボルを所定の範囲内に正確に印刷させるシンボル印刷方法が提案されている。   According to Patent Document 2, a symbol printing method is proposed in which a symbol to be printed is printed accurately within a predetermined range.

さらに、印刷要求のコマンドをプリンタが使用できるページ記述言語(PDL)に変換する機能を有するプリンタドライバに関して、プリンタに対してバーコードを描画するためのコマンド(バーコード描画コマンド)を持つことで、プリンタドライバがバーコードフォントで作成した文字列をバーコード描画コマンドに置き換えてプリンタに送信させることによりバーコードの描画印刷を行わせるようにしたものが市販されている。   Furthermore, regarding a printer driver having a function of converting a print request command into a page description language (PDL) that can be used by a printer, by having a command (barcode drawing command) for drawing a barcode on the printer, A printer driver that replaces a character string created with a barcode font with a barcode drawing command and transmits the character string to a printer is commercially available.

特開2002−211053公報JP 2002-211053 A 特開2002−264424公報JP 2002-264424 A

ところが、アプリケーションによりイメージデータ又はグラフィックデータとしてバーコードを作成した場合、プリンタドライバやプリンタではバーコードであるとは判断できず、一般の、イメージデータ又はグラフィックデータとして扱われる。このため、プリンタに当該バーコードデータが送信されるまでに、描画サイズや色に対して、OSやアプリケーションによる補正(画像処理)、プリンタドライバによる補正(画像処理)、プリンタによる補正(画像処理)が順次かかって実際の印刷を行うため、必ずしもユーザやアプリケーションが意図した印刷結果とはならず、微妙に異なってしまう場合が多々ある。このような印刷結果となっても、通常のイメージやグラフィックではさほど問題はないが、バーコードは元々バーコードリーダ等の機械で読み取ることを前提としており、各種規格条件が規定されているものであり、描画の過程で各種補正処理を受けることは好ましくないものである。結局、バーコードとしての品質を保障できないケースが多く、バーコード読取り時の精度が低下してしまう懸念がある。   However, when a barcode is created as image data or graphic data by an application, it cannot be determined by the printer driver or printer as a barcode, and is handled as general image data or graphic data. Therefore, before the barcode data is transmitted to the printer, the drawing size and color are corrected by the OS and application (image processing), corrected by the printer driver (image processing), and corrected by the printer (image processing). Since the actual printing is performed sequentially, the printing result is not necessarily intended by the user or the application, and may differ slightly. Even if such a print result is obtained, there is not much problem with normal images and graphics, but barcodes are originally assumed to be read by a machine such as a barcode reader, and various standard conditions are prescribed. Therefore, it is not preferable to receive various correction processes in the drawing process. In the end, there are many cases where the quality of the barcode cannot be guaranteed, and there is a concern that the accuracy at the time of reading the barcode is lowered.

また、特許文献1の場合のように、バーコードをフォントで作成する方式は、一般にも流通しており、例えば“123”と入力すれば、それに対応したバーコードがモニタ上に表示され、プリンタにもTrue Typeフォントとして認識される。この場合、フォントであるので、サイズも任意に設定できる。ところが、全てのサイズに関してバーコードとしての品質は保障できず、アプリケーションがプリンタの解像度に合わせて変倍するので、サイズに誤差が入りやすく、この場合も、バーコード読取り時の精度が低下してしまう懸念がある。つまり、バーコードのピッチやサイズがフォント情報に依存してしまい、誤差が大きく、バーコードとしての認識率が低くなってしまう、という課題がある。フォントであるので、文字用の画像補正を受けた場合も同様である。   Further, as in the case of Patent Document 1, a method for creating a barcode with a font is generally available. For example, if “123” is input, the corresponding barcode is displayed on the monitor, and the printer Also recognized as True Type font. In this case, since the font is used, the size can be arbitrarily set. However, the quality of barcodes for all sizes cannot be guaranteed, and the application scales according to the resolution of the printer, so errors are likely to occur in the size. In this case, the accuracy of barcode reading also decreases. There is a concern. That is, there is a problem that the barcode pitch and size depend on the font information, the error is large, and the recognition rate as a barcode is low. Since it is a font, the same applies to the case where image correction for characters is performed.

さらに、プリンタドライバにバーコード描画コマンドを持たせ、プリンタドライバがプリンタフォントとしてバーコードを印刷させる方式の場合、プリンタ中のプリンタコントローラがバーコード描画コマンドに基づきバーコードを描画できる機能(バーコード専用機能)を有する場合のみ可能で汎用性に欠ける上に、文字列で表現できない制御コードに関するコードはバーコードに変換できない、という不具合がある。   In addition, when the printer driver has a barcode drawing command and the printer driver prints a barcode as a printer font, the printer controller in the printer can draw a barcode based on the barcode drawing command (for barcodes only) This is possible only when it has a function) and lacks versatility. In addition, a code related to a control code that cannot be expressed by a character string cannot be converted into a barcode.

本発明の目的は、バーコード等のシンボルコードの印刷を、プリンタ以外の環境に依存せずに高品質に行えるようにすることである。   An object of the present invention is to enable printing of a symbol code such as a barcode with high quality without depending on an environment other than the printer.

請求項1記載の発明のプリンタドライバは、プリンタに接続されたコンピュータにインストールされ、前記コンピュータに、印刷要求に応じて入力される描画データ中にシンボルコード描画の情報が含まれているか否か当該描画データの内容を判定する機能と、判定の結果、シンボルコード描画の情報が含まれている場合には、当該シンボルコード描画の情報を解析し解析された情報に基づきシンボルコードのイメージデータを作成する機能と、作成されたシンボルコードのイメージデータを前記プリンタに出力させてシンボルコードを印刷させる機能と、を実行させる。   The printer driver according to the first aspect of the present invention is installed in a computer connected to a printer, and whether or not the computer includes symbol code drawing information in drawing data input in response to a print request. A function to determine the contents of drawing data and, if the result of the determination includes symbol code drawing information, analyzes the symbol code drawing information and creates symbol code image data based on the analyzed information And a function for outputting the generated symbol code image data to the printer and printing the symbol code.

本発明及び以下の発明において、「シンボルコード」とは、通常のバーコード(1次元バーコード)に限らず、各種2次元コードを含む意味である。2次元コードには、バーコードを縦に積層させた形のスタック型2次元バーコードや、バーコードとは全く別の発想に基づきマトリクスの交点が黒か白かによってコード化したマトリクス型2次元コード(QRコード)などが含まれる。また、1次元バーコードには、カスタマーコード(郵政用)も含まれるものとする。   In the present invention and the following inventions, the “symbol code” is not limited to a normal bar code (one-dimensional bar code) but includes various two-dimensional codes. Two-dimensional codes include stack-type two-dimensional barcodes in which barcodes are stacked vertically, and matrix-type two-dimensional codes based on whether the intersection of the matrix is black or white based on a completely different concept from barcodes. Code (QR code) and the like are included. The one-dimensional barcode also includes a customer code (for postal service).

請求項2記載の発明は、請求項1記載のプリンタドライバにおいて、前記シンボルコード描画の情報は、予め設定された特定書式の文字列情報であり、前記判定する機能は、入力される前記描画データにおける文字列情報中に当該特定書式の文字列情報が含まれているか否かを判定する。   According to a second aspect of the present invention, in the printer driver according to the first aspect, the symbol code drawing information is character string information in a specific format set in advance, and the determination function is the input drawing data It is determined whether or not character string information in the specific format is included in the character string information in.

請求項3記載の発明は、請求項2記載のプリンタドライバにおいて、前記特定書式の文字列は、[使用するシンボルコード名,シンボルコードに変換する文字列]からなり、前記判定する機能は、前記使用するシンボルコード名が含まれていることによりシンボルコード描画の情報が含まれていると判定し、前記作成する機能は、前記シンボルコードに変換する文字列の情報に基づきシンボルコードのイメージデータを作成する。   According to a third aspect of the present invention, in the printer driver according to the second aspect, the character string in the specific format includes [a symbol code name to be used, a character string to be converted into a symbol code], and the determination function includes the Since the symbol code name to be used is included, it is determined that the symbol code drawing information is included, and the function of creating the symbol code image data based on the information of the character string to be converted into the symbol code. create.

本発明及び以下の発明において、「使用するシンボルコード名」としては、例えばバーコード等のシンボルコードの種類(規格)である「EAN128」「CODE39」「(郵政)カスタマー」「CODE128」「QR」等を例示することができる。   In the present invention and the following invention, the “symbol code name to be used” is, for example, “EAN128”, “CODE39”, “(Postal) customer”, “CODE128”, “QR”, which is the type (standard) of a symbol code such as a barcode. Etc. can be illustrated.

請求項4記載の発明は、請求項2記載のプリンタドライバにおいて、前記特定書式の文字列は、[使用するシンボルコード名,シンボルコードに変換する文字列,シンボルコードのサイズ]からなり、前記判定する機能は、前記使用するシンボルコード名が含まれていることによりシンボルコード描画の情報が含まれていると判定し、前記作成する機能は、前記シンボルコードに変換する文字列の情報に基づき前記シンボルコードのサイズに従うサイズのシンボルコードのイメージデータを作成する。   According to a fourth aspect of the present invention, in the printer driver according to the second aspect, the character string of the specific format includes [a symbol code name to be used, a character string to be converted into a symbol code, a size of the symbol code], and the determination. The function to determine that the symbol code name to be used is included and thereby the symbol code drawing information is included, and the function to be created is based on the information on the character string to be converted to the symbol code. Image data of a symbol code having a size according to the size of the symbol code is created.

請求項5記載の発明は、請求項2記載のプリンタドライバにおいて、前記特定書式の文字列は、使用するシンボルコード名に対応付けて予め設定された特定フォントによるシンボルコードに変換する文字列であり、前記判定する機能は、前記特定フォントの文字列が含まれていることによりシンボルコード描画の情報が含まれていると判定し、前記作成する機能は、前記シンボルコードに変換する文字列の情報に基づきシンボルコードのイメージデータを作成する。   According to a fifth aspect of the present invention, in the printer driver according to the second aspect, the character string in the specific format is a character string that is converted into a symbol code in a specific font set in advance in association with a symbol code name to be used. The determination function determines that symbol code drawing information is included because the character string of the specific font is included, and the function to create is information on a character string to be converted into the symbol code. The image data of the symbol code is created based on the above.

請求項6記載の発明は、請求項5記載のプリンタドライバにおいて、ユーザインターフェースとして前記特定フォントを使用するシンボルコード名に対応付けて予め設定させるシンボルコード置換用フォント設定ダイアログを提供する機能を前記コンピュータに実行させる。   According to a sixth aspect of the present invention, in the printer driver according to the fifth aspect, the computer has a function of providing a symbol code replacement font setting dialog that is set in advance in association with a symbol code name that uses the specific font as a user interface. To run.

請求項7記載の発明は、請求項3ないし6の何れか一記載のプリンタドライバにおいて、文字列で表現できない制御コード部分は、予め設定された文字列を用いて前記シンボルコードに変換する文字列中に指定させる。   According to a seventh aspect of the present invention, in the printer driver according to any one of the third to sixth aspects, a control code portion that cannot be represented by a character string is converted to the symbol code using a preset character string. Let me specify inside.

請求項8記載の発明は、請求項2,3,5,6又は7記載のプリンタドライバにおいて、前記作成する機能は、前記特定書式の文字列情報の文字サイズに応じて作成するシンボルコードのイメージデータのサイズを決定する。   According to an eighth aspect of the present invention, in the printer driver according to the second, third, fifth, sixth, or seventh aspect, the function to be created is an image of a symbol code that is created according to the character size of the character string information in the specific format. Determine the size of the data.

請求項9記載の発明は、請求項2,3,5,6又は7記載のプリンタドライバにおいて、ユーザインターフェースとしてシンボルコードのサイズ設定を含む印刷条件設定印刷ダイアログを提供する機能を前記コンピュータに実行させ、前記作成する機能は、前記印刷条件設定印刷ダイアログを通じて設定されたサイズに応じて作成するシンボルコードのイメージデータのサイズを決定する。   According to a ninth aspect of the invention, in the printer driver according to the second, third, sixth, or seventh aspect, the computer is caused to execute a function of providing a print condition setting print dialog including a symbol code size setting as a user interface. The function to be created determines the size of the image data of the symbol code to be created according to the size set through the print condition setting print dialog.

請求項10記載の発明は、請求項1ないし9の何れか一記載のプリンタドライバにおいて、前記作成する機能は、作成したシンボルコードの背景に空白を付与する機能を前記コンピュータに実行させる。   According to a tenth aspect of the present invention, in the printer driver according to any one of the first to ninth aspects, the function to be created causes the computer to execute a function of adding a blank to the background of the created symbol code.

請求項11記載の発明は、請求項10記載のプリンタドライバにおいて、前記空白を付与する機能は、作成したシンボルコードのサイズに応じて付与する当該空白部分のサイズを決定する。   The invention described in claim 11 is the printer driver according to claim 10, wherein the function of adding blanks determines the size of the blank part to be added according to the size of the created symbol code.

請求項12記載の発明は、請求項10記載のプリンタドライバにおいて、ユーザインターフェースとして付与する前記空白部分のサイズ設定を含む印刷条件設定印刷ダイアログを提供する機能を前記コンピュータに実行させ、前記空白を付与する機能は、前記印刷条件設定印刷ダイアログを通じて設定されたサイズ分の空白を付与する。   According to a twelfth aspect of the invention, in the printer driver according to the tenth aspect, the computer is caused to execute a function of providing a print condition setting print dialog including a size setting of the blank portion to be given as a user interface, and the blank is given. The function to give a blank for the size set through the print condition setting print dialog.

請求項13記載の発明は、請求項1記載のプリンタドライバにおいて、前記シンボルコード描画の情報は、イメージデータで作成されたシンボルコードであり、前記判定する機能は、入力される前記描画データにおけるイメージデータ中にシンボルコードの情報が含まれているか否かを解析し、判定の結果、イメージデータ中にシンボルコードの情報が含まれている場合には、前記作成する機能は、当該シンボルコードの内容を読取りその内容に基づき再度シンボルコードのイメージデータを作成し直す。   According to a thirteenth aspect of the present invention, in the printer driver according to the first aspect, the symbol code drawing information is a symbol code created from image data, and the determination function is an image in the input drawing data. Analyzing whether or not the symbol code information is included in the data, and as a result of the determination, if the symbol data information is included in the image data, the function to create is the content of the symbol code The image data of the symbol code is created again based on the contents.

請求項14記載の発明は、請求項1記載のプリンタドライバにおいて、前記シンボルコード描画の情報は、グラフィックデータで作成されたシンボルコードであり、前記判定する機能は、入力される前記描画データにおけるグラフィックデータ中にシンボルコードの情報が含まれているか否かを解析し、判定の結果、グラフィックデータ中にシンボルコードの情報が含まれている場合には、前記作成する機能は、当該シンボルコードの内容を読取りその内容に基づきシンボルコードのイメージデータを作成する。   According to a fourteenth aspect of the present invention, in the printer driver according to the first aspect, the symbol code drawing information is a symbol code created from graphic data, and the determination function is a graphic in the input drawing data. Analyzing whether or not the symbol code information is included in the data, and as a result of the determination, if the graphic data includes the symbol code information, the function to create is the content of the symbol code The image data of the symbol code is created based on the content of the data.

請求項15記載の発明は、請求項1ないし14の何れか一記載のプリンタドライバにおいて、判定の結果、シンボルコード描画の情報が含まれている場合において当該情報に基づきシンボルコードを作成する上でシンボルコードとしての適合性を判定する機能と、適合しないと判定された場合には、その旨をユーザに知らせる機能と、を前記コンピュータに実行させる。   According to a fifteenth aspect of the present invention, in the printer driver according to any one of the first to fourteenth aspects, when the determination result includes symbol code drawing information, the symbol code is generated based on the information. The computer is caused to execute a function of determining suitability as a symbol code and a function of notifying the user to the effect when it is determined that the symbol code does not match.

請求項16記載の発明は、請求項15記載のプリンタドライバにおいて、前記知らせる機能は、前記作成する機能によりシンボルコードを作成させないことによりその旨をユーザに知らせる。   According to a sixteenth aspect of the present invention, in the printer driver according to the fifteenth aspect, the notifying function notifies the user of the fact by not causing the generating function to generate a symbol code.

請求項17記載の発明は、請求項15記載のプリンタドライバにおいて、前記知らせる機能は、適合しない旨のエラーレポートを前記プリンタに印刷出力させる。   According to a seventeenth aspect of the present invention, in the printer driver according to the fifteenth aspect, an error report indicating that the notification function is not compatible is printed out by the printer.

請求項18記載の発明は、請求項15記載のプリンタドライバにおいて、前記知らせる機能は、適合しない旨をユーザインターフェースとしてエラーダイアログにより表示させる。   According to an eighteenth aspect of the present invention, in the printer driver according to the fifteenth aspect, an error dialog is displayed as a user interface that the notifying function is not compatible.

これらの発明の作用・効果は、請求項19記載の記憶媒体、請求項20ないし37記載のシンボルコード印刷方法によっても実現可能である。   The functions and effects of these inventions can also be realized by the storage medium according to claim 19 and the symbol code printing method according to claims 20 to 37.

請求項1,19,20記載の発明によれば、プリンタドライバにおいて、入力される描画データ中にシンボルコード描画の情報が含まれているか否かを解析させ、含まれている場合にはその情報に基づきシンボルコードのイメージデータを作成してプリンタに出力させてシンボルコードを印刷させるので、プリンタドライバでプリンタに最適化され色補正処理等を受けないシンボルコードのイメージデータを作成し、当該イメージデータに基づきプリンタでシンボルコードを印刷させることができ、プリンタ以外の環境に依存することなく、高品質なシンボルコードの印刷を行わせることができる。   According to the first, nineteenth and twentieth aspects of the present invention, the printer driver analyzes whether or not the input drawing data includes symbol code drawing information. The image data of the symbol code is created and output to the printer based on the image data, and the symbol code is printed. Therefore, the image data of the symbol code that is optimized for the printer and not subjected to color correction processing is created by the printer driver. The symbol code can be printed by the printer based on the above, and the high-quality symbol code can be printed without depending on the environment other than the printer.

請求項2,19,21記載の発明によれば、シンボルコード描画の情報を、予め設定された特定書式の文字列情報とすることにより、シンボルコードの作成に要する専門的な知識や専用のソフトウエアが不要となり、簡単な描画データの入力操作でシンボルコードの印刷を行わせることができる。   According to the invention described in claims 2, 19 and 21, the symbol code drawing information is character string information in a specific format set in advance, so that specialized knowledge and dedicated software required for creating the symbol code are provided. No wear is required, and symbol codes can be printed by a simple drawing data input operation.

請求項3,19,22記載の発明によれば、特定書式の文字列を、[使用するシンボルコード名,シンボルコードに変換する文字列]としているので、請求項2,21記載の発明を容易に実現することができる。   According to the third, nineteenth and twenty-second aspects of the invention, the character string in the specific format is [a symbol code name to be used, a character string to be converted into a symbol code]. Can be realized.

請求項4,19,23記載の発明によれば、特定書式の文字列を、[使用するシンボルコード名,シンボルコードに変換する文字列,シンボルコードのサイズ]としているので、請求項2,21記載の発明を容易に実現できる上に、シンボルコードのサイズ指定も簡単に行なうことができる。   According to the inventions of claims 4, 19, and 23, the character string of the specific format is [symbol code name to be used, character string to be converted to symbol code, size of symbol code]. The described invention can be easily realized, and the symbol code size can be easily specified.

請求項5,19,24記載の発明によれば、特定書式の文字列を、使用するシンボルコード名に対応付けて予め設定された特定フォントによるシンボルコードに変換する文字列としているので、文字列からシンボルコードへの変換作成をフォントに連動させることにより各種フォントを有する文字列の特徴を活かして請求項2,21記載の発明を容易に実現することができる。   According to the inventions of claims 5, 19 and 24, since the character string of the specific format is used as a character string to be converted into a symbol code with a specific font set in advance in association with the symbol code name to be used. The invention according to claims 2 and 21 can be easily realized by utilizing the characteristics of the character string having various fonts by making the conversion from symbol conversion to symbol code in conjunction with the font.

請求項6,19,25記載の発明によれば、シンボルコード置換用フォント設定ダイアログを利用して特定フォントを使用するシンボルコード名に対応付けて予め設定させるので、あまり使用しないようなフォントを特定フォントに設定する等、ユーザインターフェースに優れた設定が可能となり、請求項5,24記載の発明を容易に実現することができる。   According to the invention described in claims 6, 19 and 25, since the symbol code replacement font setting dialog is used in advance to be associated with the symbol code name that uses the specific font, a font that is not frequently used is specified. The user interface can be set with excellent settings such as font, and the inventions of claims 5 and 24 can be easily realized.

請求項7,19,26記載の発明によれば、文字列で表現できない制御コード部分は、予め設定された文字列を用いてシンボルコードに変換する文字列中に指定させるようにしたので、制御コード部分に関してもシンボルコードに含む印刷が可能となり、融通性の高いシンボルコード印刷を可能にすることができる。   According to the seventh, nineteenth and twenty-sixth aspects of the present invention, the control code portion that cannot be expressed by the character string is specified in the character string to be converted into the symbol code using the preset character string. The code portion can be printed including the symbol code, and the symbol code can be printed with high flexibility.

請求項8,19,27記載の発明によれば、特定書式の文字列情報の文字サイズに応じて作成するシンボルコードのイメージデータのサイズを決定するようにしたので、シンボルコードのサイズ変更及びその指定を文字サイズを利用して簡単かつ判りやすく行なわせることができる。   According to the inventions of claims 8, 19, and 27, since the size of the image data of the symbol code to be created is determined according to the character size of the character string information of the specific format, Specification can be made easily and easily using the character size.

請求項9,19,28記載の発明によれば、シンボルコードのサイズ設定を印刷条件設定印刷ダイアログを利用して行わせるようにしたので、シンボルコードのサイズ変更及びその指定を印刷条件設定印刷ダイアログを利用して簡単かつ任意に行なわせることができる。   According to the ninth, nineteenth, and twenty-eighth aspects, since the symbol code size is set using the print condition setting print dialog, the symbol code size can be changed and designated by the print condition setting print dialog. Can be easily and arbitrarily performed using.

請求項10,19,29記載の発明によれば、作成したシンボルコードの背景に空白を付与するようにしたので、印刷されたシンボルコードの読取り精度を向上させることができる。   According to the tenth, nineteenth and twenty-ninth aspects of the present invention, since the blank is added to the background of the created symbol code, the reading accuracy of the printed symbol code can be improved.

請求項11,19,30記載の発明によれば、作成したシンボルコードのサイズに応じて付与する当該空白部分のサイズを決定するようにしたので、ユーザに負担をかけることなく適正な空白部分を確保して、印刷されたシンボルコードの読取り精度を向上させることができる。   According to the inventions of claims 11, 19, and 30, since the size of the blank portion to be assigned is determined according to the size of the created symbol code, an appropriate blank portion can be obtained without imposing a burden on the user. It is possible to improve the reading accuracy of the printed symbol code.

請求項12,19,31記載の発明によれば、空白部分のサイズ設定を印刷条件設定印刷ダイアログを利用して行わせるようにしたので、空白部分のサイズ設定をユーザが任意に行なうことができ、汎用性を高め、印刷されたシンボルコードの読取り精度を向上させることができる。   According to the invention described in claims 12, 19 and 31, since the size of the blank portion is set using the print condition setting print dialog, the user can arbitrarily set the size of the blank portion. Therefore, the versatility can be improved and the reading accuracy of the printed symbol code can be improved.

請求項13,19,32記載の発明によれば、シンボルコード描画の情報を、イメージデータで作成されたシンボルコードとし、その場合に、当該シンボルコードの内容を読取りその内容に基づき再度シンボルコードのイメージデータを作成し直してプリンタに出力させるので、アプリケーションなどのシンボルコード描画に関する既存のリソースを活用しつつ、無用な画像処理等を避け、高品質なシンボルコード印刷を行わせることができる。   According to the thirteenth, nineteenth and thirty-second aspects of the present invention, the symbol code drawing information is a symbol code created from image data. In this case, the content of the symbol code is read and the symbol code is read again based on the content. Since the image data is re-created and output to the printer, it is possible to avoid unnecessary image processing and the like and perform high-quality symbol code printing while utilizing existing resources related to symbol code drawing such as applications.

請求項14,19,33記載の発明によれば、シンボルコード描画の情報を、グラフィックデータで作成されたシンボルコードとし、その場合に、当該シンボルコードの内容を読取りその内容に基づきシンボルコードのイメージデータを作成してプリンタに出力させるので、アプリケーションなどのシンボルコード描画に関する既存のリソースを活用しつつ、無用な画像処理等を避け、高品質なシンボルコード印刷を行わせることができる。   According to the fourteenth, nineteenth and thirty-third aspects of the present invention, the symbol code drawing information is a symbol code created by graphic data, and in this case, the content of the symbol code is read and an image of the symbol code based on the content. Since data is created and output to the printer, it is possible to avoid unnecessary image processing and the like and perform high-quality symbol code printing while utilizing existing resources related to symbol code drawing such as applications.

請求項15,19,34記載の発明によれば、判定の結果、シンボルコード描画の情報が含まれている場合において当該情報に基づきシンボルコードを作成する上でシンボルコードとしての適合性を判定させ、適合しないと判定された場合には、その旨をユーザに知らせるようにしたので、不適なシンボルコード印刷出力を未然に回避することができる。   According to the fifteenth, nineteenth and thirty-fourth aspects of the present invention, when symbol code drawing information is included as a result of the determination, the suitability as the symbol code is determined when the symbol code is created based on the information. If it is determined that the information does not match, the user is notified of this fact, so that inappropriate symbol code printout can be avoided in advance.

請求項16,19,35記載の発明によれば、シンボルコードを作成させないことにより適合しない旨をユーザに知らせるので、無駄となるシンボルコード作成処理をも未然に回避することができる。   According to the sixteenth, nineteenth, and thirty-fifth aspects, the user is informed that the symbol code is not adapted by not creating the symbol code, so that it is possible to avoid unnecessary symbol code creation processing.

請求項17,19,36記載の発明によれば、適合しない旨のエラーレポートをプリンタに印刷出力させることにより、プリンタ資源を活用して確実にユーザに知らせることができる。   According to the inventions of claims 17, 19 and 36, by causing the printer to print out an error report indicating that it does not conform, it is possible to reliably notify the user by utilizing printer resources.

請求項18,19,37記載の発明によれば、適合しない旨をユーザインターフェースとしてエラーダイアログにより表示させることにより、印刷の無駄なく確実にユーザに知らせることができる。   According to the invention described in claims 18, 19, and 37, it is possible to reliably notify the user without waste of printing by displaying an error dialog as a user interface as a user interface.

本発明を実施するための最良の形態を図面に基づいて説明する。   The best mode for carrying out the present invention will be described with reference to the drawings.

[第一の実施の形態]
本実施の形態の画像処理装置は、図1に示す印刷システムのブロック図のように、プリンタ1がネットワーク2等を介して間接的又は直接的に接続されたホストコンピュータ(パーソナルコンピュータ)3への適用例を示す。プリンタ1の印刷方式は任意であるが、例えば、レーザプリンタが用いられている。
[First embodiment]
As shown in the block diagram of the printing system shown in FIG. 1, the image processing apparatus according to the present embodiment is connected to a host computer (personal computer) 3 to which a printer 1 is connected indirectly or directly via a network 2 or the like. An application example is shown. Although the printing method of the printer 1 is arbitrary, for example, a laser printer is used.

このホストコンピュータ3は、コンピュータの主要部であって各部を集中的に制御するCPU(Central Processing Unit)4を備えており、このCPU4には、各種のROM(Read Only Memory)、RAM(Random Access Memory)からなる記憶媒体であるメモリ5と、ネットワーク2と通信を行う所定の通信インターフェイス6と、ユーザから各種の操作を受付ける操作パネル7とが、バス8を介して接続されている。   The host computer 3 includes a CPU (Central Processing Unit) 4 that is a main part of the computer and controls each part centrally. The CPU 4 includes various ROMs (Read Only Memory) and RAMs (Random Access). A memory 5 that is a storage medium made up of Memory, a predetermined communication interface 6 that communicates with the network 2, and an operation panel 7 that receives various operations from the user are connected via a bus 8.

さらには、CRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等の表示装置であるディスプレイ9と、外部記憶装置であるHDD(Hard Disk Drive)10と、配布されたプログラムであるコンピュータソフトウエアを記憶した記憶媒体11からコンピュータソフトウエアを読み取るための機構であるドライブ12と、を備えており、これらのディスプレイ9、HDD10、ドライブ12も、バス8を介してCPU4に接続されている。   Furthermore, a display 9 as a display device such as a CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display), an HDD (Hard Disk Drive) 10 as an external storage device, and computer software as a distributed program are installed. And a drive 12 that is a mechanism for reading computer software from the stored storage medium 11. These display 9, HDD 10, and drive 12 are also connected to the CPU 4 via the bus 8.

このような構成のホストコンピュータ3のメモリ5(のROM)には、制御プログラムの他、アプリケーションプログラムやプリンタドライバなるソフトウエアが記憶されている。   In addition to the control program, the memory 5 (ROM) of the host computer 3 configured as described above stores software such as application programs and printer drivers.

なお、記憶媒体11としては、CDやDVDなどの各種の光ディスク、各種光磁気ディスク、FDなどの各種磁気ディスク、半導体メモリ等、各種方式のメディアを用いることができる。また、ネットワーク2からプログラムをダウンロードし、メモリ5にインストールするようにしてもよい。なお、プログラムは、所定のOS(Operating System)上で動作するものであってもよいし、その場合に後述の各種処理の一部の実行をOSに肩代わりさせるものであってもよいし、所定のアプリケーションソフトやOSなどを構成する一群のプログラムファイルの一部として含まれているものであってもよい。   As the storage medium 11, various types of media such as various optical disks such as CD and DVD, various magneto-optical disks, various magnetic disks such as FD, and semiconductor memory can be used. Alternatively, the program may be downloaded from the network 2 and installed in the memory 5. Note that the program may operate on a predetermined OS (Operating System), and in that case, the OS may take over the execution of some of the various processes described later, It may be included as a part of a group of program files constituting the application software or OS.

図2は、図1に示した印刷システムのソフトウエア構成図を示す。図2に示すように、ホストコンピュータ3内のソフトウエアは、各種描画データ用の複数のアプリケーションプログラム21と、プリンタドライバ22とからなり、プリンタ1はプリンタエンジン23と記憶部24とプリンタコントローラ25とからなる。   FIG. 2 shows a software configuration diagram of the printing system shown in FIG. As shown in FIG. 2, the software in the host computer 3 includes a plurality of application programs 21 for various drawing data and a printer driver 22. The printer 1 includes a printer engine 23, a storage unit 24, a printer controller 25, and the like. Consists of.

ここに、アプリケーションプログラム21上での印刷指示からプリンタ1で通常印刷が行われるまでの基本的な動作について簡単に説明する。ユーザがホストコンピュータ3上で稼動しているアプリケーションプログラム21に対して印刷指示を与えると、アプリケーションプログラム21はそのソフトウエアに依存しない共通の手続きを通じて、そこに保持されている描画データを本文データとしてピクセル毎にプリンタドライバ22に出力する。プリンタドライバ22はアプリケーションプログラム21から入力された指示及び描画データをプリンタ1が理解できるコード形式に変換し、これをプリンタコントローラ25に出力する。プリンタコントローラ25はプリンタドライバ22から入力された描画データを順次解釈し、データに応じたビットマップ画像(イメージデータ)を形成し、プリンタエンジン23に出力することにより印刷動作を行わせる。   Here, a basic operation from a print instruction on the application program 21 to normal printing on the printer 1 will be briefly described. When the user gives a print instruction to the application program 21 running on the host computer 3, the application program 21 uses the drawing data held therein as text data through a common procedure independent of the software. Each pixel is output to the printer driver 22. The printer driver 22 converts the instruction and drawing data input from the application program 21 into a code format that can be understood by the printer 1, and outputs this to the printer controller 25. The printer controller 25 sequentially interprets the drawing data input from the printer driver 22, forms a bitmap image (image data) corresponding to the data, and outputs it to the printer engine 23 to perform a printing operation.

このような前提の下、特定のオブジェクトをバーコード等のオブジェクトに変換する機能を持たせた本実施の形態のプリンタドライバ22の機能ブロック図を図3に示す。このプリンタドライバ22は、アプリケーションプログラム21からの印刷要求を解析するコマンド処理モジュール31と、ユーザがバーコード等のシンボルコードを作成する上での各種条件を設定するためのユーザインターフェース(UI)処理モジュール32と、アプリケーションプログラム21からの印刷要求のうち、文字に関する部分を処理するための文字処理モジュール33(判定する機能、ステップを実現)と、この文字処理モジュール33による解析処理に基づきバーコード等のシンボルコードのイメージデータを作成するためのシンボルコード描画モジュール34(作成する機能、ステップを実現)と、印刷時にページの配置を決定するページ配置モジュール35(出力させてシンボルコードを印刷させる機能、ステップを実現)等を備えている。なお、ページ配置モジュール35とプリンタ1との間には、ホストコンピュータ3がプリンタ1とデータのやり取りを行なうための入出力ポート36が設けられている。   FIG. 3 shows a functional block diagram of the printer driver 22 according to the present embodiment having a function of converting a specific object into an object such as a barcode under such a premise. The printer driver 22 includes a command processing module 31 for analyzing a print request from the application program 21, and a user interface (UI) processing module for setting various conditions for the user to create a symbol code such as a barcode. 32, a character processing module 33 (which realizes a determination function and step) for processing a character-related part of the print request from the application program 21, and a bar code or the like based on the analysis processing by the character processing module 33. Symbol code drawing module 34 for creating symbol code image data (creating functions and steps are realized), and page layout module 35 for determining page layout at the time of printing (function and step for outputting symbol codes by output) The It has a current), and the like. Note that an input / output port 36 for the host computer 3 to exchange data with the printer 1 is provided between the page arrangement module 35 and the printer 1.

ここで、本実施の形態では、シンボルコード描画の情報として、予め設定された特定書式の文字列情報が規定されており、アプリケーションプログラム21から入力される描画データにおける文字列情報中に当該特定書式の文字列情報が含まれている場合には、プリンタドライバ22は、その情報に基づきバーコード等のシンボルコードのイメージデータを作成して、プリンタ1側に送信出力させるように構成されている。特定書式の文字列としては、[使用するシンボルコード名,シンボルコードに変換する文字列]、サイズ指定を伴う場合には、[使用するシンボルコード名,シンボルコードに変換する文字列,シンボルコードのサイズ]からなるものとして予め設定されている。   Here, in the present embodiment, character string information in a specific format set in advance is defined as symbol code drawing information, and the specific format is included in the character string information in the drawing data input from the application program 21. Is included, the printer driver 22 creates image data of a symbol code such as a barcode based on the information, and transmits the image data to the printer 1 side. The character string of a specific format is [symbol code name to be used, character string to be converted to symbol code], and when size specification is specified, [symbol code name to be used, character string to be converted to symbol code, symbol code Size] is set in advance.

このような構成において、或るアプリケーションプログラム21に従い作成された描画データをプリンタ1により印刷出力する際のプリンタドライバ22の動作制御例を図4に示す概略フローチャートを参照して説明する。プリンタドライバ22では、まず、ホストコンピュータ3上で動作するアプリケーションプログラム21からの印刷要求でコマンド処理モジュール31が文字列を含む印刷コマンドを取得すると(ステップS1)、文字処理モジュール33に当該印刷要求を引き渡す。この文字処理モジュール33では、印刷要求された描画データに関して、文字列が含まれている場合には(S2のY)、文字列情報の内容を解析することにより(S3)、シンボルコード描画の情報(シンボルコード描画コマンド)として、予め設定されている特定書式の文字列情報が含まれているか否かを判定する(S4)。判定の結果、特定書式の文字列情報が含まれている場合には(S4のY)、シンボルコード描画モジュール34は、UI処理モジュール32で指定された設定やフォント指定のパラメータ等のシンボルコード描画用パラメータを取得し(S5)、これらのパラメータに従い、特定書式の文字列情報に基づきバーコード等のシンボルコードのイメージデータを作成し(S6)、ページ配置モジュール35に引き渡す。ページ配置モジュール35は印刷用のページメモリ上にシンボルコードのイメージデータを配置し(S7)、入出力ポート36を介してシンボルコードのイメージデータが配置された印刷データをプリンタ1に送信し(S8)、印刷出力させる。なお、文字列が含まれていない場合や(S2のN)、シンボルコード描画コマンドが含まれていない場合には(S4のN)、通常の描画処理を行い(S9)、入出力ポート36を介して印刷データをプリンタ1に送信し(S8)、印刷出力させる。   An example of operation control of the printer driver 22 when the printer 1 prints out drawing data created according to an application program 21 in such a configuration will be described with reference to a schematic flowchart shown in FIG. In the printer driver 22, first, when the command processing module 31 acquires a print command including a character string in response to a print request from the application program 21 operating on the host computer 3 (step S 1), the print request is sent to the character processing module 33. hand over. In the character processing module 33, if a character string is included in the drawing data requested to be printed (Y in S2), the character code information is analyzed by analyzing the contents of the character string information (S3). It is determined whether or not character string information in a specific format set in advance is included as (symbol code drawing command) (S4). If the character string information of a specific format is included as a result of the determination (Y in S4), the symbol code drawing module 34 draws a symbol code such as a setting designated by the UI processing module 32 or a font designation parameter. Parameters are obtained (S5), and image data of a symbol code such as a barcode is created based on the character string information in a specific format according to these parameters (S6) and delivered to the page layout module 35. The page arrangement module 35 arranges the image data of the symbol code on the page memory for printing (S7), and transmits the print data on which the image data of the symbol code is arranged via the input / output port 36 to the printer 1 (S8). ) Print out. If no character string is included (N in S2) or no symbol code drawing command is included (N in S4), normal drawing processing is performed (S9), and the input / output port 36 is set. The print data is transmitted to the printer 1 via the printer 1 (S8) and printed out.

例えば、図5(a)に示すようなアプリケーションプログラム21により作成されて入力される描画データ41中に、例えば内容が[COD128,12345678]のような特定書式の文字列情報42が含まれている場合、当該特定書式の文字列情報42中の“COD128”なる使用するシンボルコード名に基づき文字処理モジュール33がシンボルコード描画の情報(シンボルコード描画コマンド)が含まれているものと解析し、当該特定書式の文字列情報42中の“12345678”なるシンボルコードに変換する文字列に基づきシンボルコード描画モジュール34がシンボルコード(バーコード)のイメージデータを作成してプリンタ1に出力するので、図5(b)に示すように特定書式の文字列情報42に対応する位置にバーコード(シンボルコード)43が印刷された印刷結果物44が得られることになる。   For example, the drawing data 41 created and input by the application program 21 as shown in FIG. 5A includes character string information 42 having a specific format such as [COD128, 12345678]. In this case, the character processing module 33 analyzes that the symbol code drawing information (symbol code drawing command) is included based on the symbol code name “COD128” to be used in the character string information 42 of the specific format, Since the symbol code drawing module 34 creates image data of a symbol code (barcode) based on the character string to be converted to the symbol code “12345678” in the character string information 42 in the specific format, and outputs it to the printer 1. As shown in (b), a bar is placed at a position corresponding to the character string information 42 in a specific format. So that the code printed material 44 (symbol code) 43 is printed is obtained.

即ち、使用するシンボルコード名をCode128として“0123456”なる文字列をシンボルコード(バーコード)に変換して印刷出力させようとする場合であれば、図6(a)に示すように、[CODE128,0123456]の如く、[使用するシンボルコード名,シンボルコードに変換する文字列]なる特定書式の文字列を描画データ中に含ませておけば、プリンタドライバ22では、[ ]で囲まれた文字列を解析し、シンボルコード名が指定されていれば、それに続く文字列を指定シンボルコード名に従いシンボルコードのイメージデータに変換する。この場合であれば、図7(a)に示すようなCODE128規格のバーコードが印刷出力されることとなる。他の場合も同様であり、使用するシンボルコード名を(郵政)カスタマーとして“2345678”なる文字列をシンボルコード(バーコード)に変換して印刷出力させようとする場合であれば、図6(b)に示すように、[CUSTOMER,2345678]なる特定書式の文字列を描画データ中に含ませておけば、文字列“2345678”が指定シンボルコード名(郵政)カスタマーに従いシンボルコードのイメージデータに変換されるので、図7(b)に示すような(郵政)カスタマー規格のシンボルコードが印刷出力されることとなる。また、使用するシンボルコード名をQR Codeとして“0123456”なる文字列をシンボルコードに変換して印刷出力させようとする場合であれば、図6(c)に示すように、[QR,0123456]なる特定書式の文字列を描画データ中に含ませておけば、文字列“0123456”が指定シンボルコード名QR Codeに従いシンボルコードのイメージデータに変換されるので、図7(c)に示すようなQR Code規格のシンボルコードが印刷出力されることとなる。   That is, if the character code “0123456” is converted into a symbol code (bar code) and printed out with the symbol code name to be used as Code 128, as shown in FIG. , 0123456], if a character string of a specific format [symbol code name to be used, character string to be converted to symbol code] is included in the drawing data, the printer driver 22 will use characters enclosed in []. The column is analyzed, and if a symbol code name is designated, the subsequent character string is converted into symbol code image data according to the designated symbol code name. In this case, a CODE128 standard barcode as shown in FIG. 7A is printed out. The same applies to other cases, and the character code “2345678” is converted into a symbol code (bar code) and printed out with the symbol code name used as a (postal) customer. As shown in b), if a character string of a specific format [CUSTOMER, 2345678] is included in the drawing data, the character string “2345678” is converted into the symbol code image data according to the designated symbol code name (postal service) customer. Since conversion is performed, a symbol code of the customer standard as shown in FIG. 7B is printed out. If the character code “0123456” is converted into a symbol code and printed out with the symbol code name to be used as QR Code, as shown in FIG. 6C, [QR, 0123456] If the character string of the specific format is included in the drawing data, the character string “0123456” is converted into the image data of the symbol code in accordance with the designated symbol code name QR Code, and therefore, as shown in FIG. A QR Code standard symbol code is printed out.

よって、本実施の形態によれば、プリンタドライバ22において、入力される描画データ中にシンボルコード描画の情報として、予め設定された特定書式の文字列情報が含まれているか否かを解析させ、含まれている場合にはその情報に基づきシンボルコードのイメージデータをシンボルコード描画モジュール34により作成してプリンタ1に出力させてシンボルコードを印刷させるので、プリンタドライバ22でプリンタ1に最適化され色補正処理等を受けないシンボルコードのイメージデータを作成し、当該イメージデータに基づきプリンタ1でシンボルコードを印刷させることができ、プリンタ1以外の環境に依存することなく、高品質なシンボルコードの印刷を行わせることができる。特に、シンボルコード描画の情報を、予め設定された特定書式の文字列情報としているので、シンボルコードの作成に要する専門的な知識や専用のソフトウエアが不要となり、簡単な描画データの入力操作でシンボルコードの印刷を行わせることができる。また、特定書式の文字列を、[使用するシンボルコード名,シンボルコードに変換する文字列]としているので、容易に実現することができる。   Therefore, according to the present embodiment, the printer driver 22 analyzes whether the input drawing data includes character string information in a predetermined format as symbol code drawing information. If included, the symbol code image data is generated by the symbol code drawing module 34 based on the information and output to the printer 1 to print the symbol code, so that the printer driver 22 optimizes the color for the printer 1. Image data of a symbol code that is not subjected to correction processing or the like can be created, and the symbol code can be printed by the printer 1 based on the image data, and high-quality symbol code can be printed without depending on the environment other than the printer 1 Can be performed. In particular, the symbol code drawing information is character string information in a specific format set in advance, which eliminates the need for specialized knowledge and dedicated software required to create symbol codes, and allows simple drawing data input operations. The symbol code can be printed. Further, since the character string of the specific format is [symbol code name to be used, character string to be converted into symbol code], it can be easily realized.

なお、この場合の特定書式の文字列中には、シンボルコードのサイズ(高さ)に関する情報も含ませることができる。例えば、使用するシンボルコード名をCode128として“0123456”なる文字列を高さ(サイズ)80mmのシンボルコード(バーコード)に変換して印刷出力させようとする場合であれば、図6(d)に示すように、[CODE128,0123456,80]の如く、[使用するシンボルコード名,シンボルコードに変換する文字列,シンボルコードのサイズ]なる特定書式の文字列を描画データ中に含ませておけば、プリンタドライバ22では、[ ]で囲まれた文字列を解析し、シンボルコード名が指定されていれば、それに続く文字列を指定シンボルコード名に従い、かつ、それに続くサイズのシンボルコードのイメージデータに変換する。この場合であれば、図7(d)に示すようなCODE128規格で高さ(サイズ)80mmのバーコードが印刷出力されることとなる。このように、特定書式の文字列を、[使用するシンボルコード名,シンボルコードに変換する文字列,シンボルコードのサイズ]とすることで、シンボルコードのサイズ指定も簡単に行なうことができる。   In this case, information on the size (height) of the symbol code can be included in the character string of the specific format. For example, in the case where a character string “0123456” is converted into a symbol code (bar code) having a height (size) of 80 mm with the symbol code name to be used as Code 128, printing is performed as shown in FIG. As shown in FIG. 5, a character string of a specific format such as [symbol code name to be used, character string to be converted to symbol code, symbol code size] such as [CODE128, 0123456, 80] can be included in the drawing data. For example, the printer driver 22 analyzes the character string enclosed in [], and if a symbol code name is specified, the image of the symbol code of the size that follows the character string that follows and follows the specified symbol code name. Convert to data. In this case, a barcode having a height (size) of 80 mm according to the CODE128 standard as shown in FIG. 7D is printed out. In this way, by specifying a character string of a specific format as [symbol code name to be used, character string to be converted to symbol code, symbol code size], the symbol code size can be easily specified.

ここで、シンボルコードのサイズ指定に関する別の実施の形態について説明する。シンボルコードのサイズに関しては、特定書式の文字列情報の文字サイズ(フォントサイズ)を変更することで、その文字サイズをシンボルコード描画モジュール34に認識させ、その文字サイズに応じたサイズのシンボルコードを作成させるものである。   Here, another embodiment relating to symbol code size designation will be described. Regarding the size of the symbol code, by changing the character size (font size) of the character string information in a specific format, the symbol code drawing module 34 is made to recognize the character size, and a symbol code having a size corresponding to the character size is selected. It is something to be created.

例えば使用するシンボルコード名をCode128として“0123456”なる文字列をシンボルコード(バーコード)に変換して印刷出力させようとする場合において、その特定書式の文字列情報の文字サイズを例えば図8(a)(b)(c)に示す如く8pt,12pt,24ptのように変えて描画データとして入力させれば、文字サイズの認識に基づき、各々の文字サイズ8pt,12pt,24ptに応じたサイズ(バーコード高さ)のバーコードが図9(a)(b)(c)の印刷出力されることとなる。   For example, when a character string “0123456” is converted into a symbol code (bar code) with the symbol code name to be used as Code 128 and printed out, the character size of the character string information of the specific format is, for example, FIG. As shown in a), (b), and (c), if the image data is changed to 8pt, 12pt, and 24pt and input as drawing data, the size corresponding to each character size 8pt, 12pt, and 24pt (based on the recognition of the character size) The barcode of (barcode height) is printed out as shown in FIGS. 9 (a), 9 (b) and 9 (c).

他のシンボルコード名の場合も同様であり、例えば使用するシンボルコード名をカスタマーとして“0123456”なる文字列をシンボルコード(バーコード)に変換して印刷出力させようとする場合において、その特定書式の文字列情報の文字サイズを例えば図8(d)(e)(f)に示す如く8pt,12pt,24ptのように変えて描画データとして入力させれば、文字サイズの認識に基づき、各々の文字サイズ8pt,12pt,24ptに応じたサイズのカスタマー規格のバーコードが図9(d)(e)(f)の印刷出力されることとなる。   The same applies to other symbol code names. For example, when a character string “0123456” is converted into a symbol code (bar code) and printed out with the symbol code name to be used as a customer, the specific format is used. If the character size of the character string information is changed to 8 pt, 12 pt, 24 pt, for example, as shown in FIGS. 8D, 8E, and 8F, and input as drawing data, each character size is recognized based on the recognition of the character size. A customer-standard barcode corresponding to the character size of 8 pt, 12 pt, and 24 pt is printed out as shown in FIGS. 9 (d), (e), and (f).

このように、特定書式の文字列情報の文字サイズに応じて作成するシンボルコードのイメージデータのサイズを決定させることで、シンボルコードのサイズ変更及びその指定を文字サイズを利用して簡単かつ判りやすく行なわせることができる。   In this way, by determining the size of the symbol code image data to be created according to the character size of the character string information in a specific format, the symbol code size can be changed and specified easily and easily using the character size. Can be done.

また、シンボルコードのサイズ指定に関する別の実施の形態について説明する。ここでは、UI処理モジュール32の機能としてアプリケーションプログラム21に従いユーザインターフェースとして提供される図10に示すような印刷条件設定印刷ダイアログ51を利用するようにしたものである。即ち、当該印刷条件設定印刷ダイアログ51のバーコード詳細設定ダイアログ中に例えばシンボルコードのサイズに関する設定欄としてバーコードの高さ設定欄52を用意しておき、当該バーコードの高さ設定欄52を通じてユーザにより設定されたバーコードの高さ情報をUI処理モジュール32で指定された設定情報の一つとしてシンボルコード描画モジュール34に認識させるようにすればよい。   Another embodiment relating to symbol code size designation will be described. Here, as a function of the UI processing module 32, a print condition setting print dialog 51 as shown in FIG. 10 provided as a user interface according to the application program 21 is used. That is, for example, a barcode height setting field 52 is prepared as a setting field related to the size of the symbol code in the bar code detail setting dialog of the print condition setting print dialog 51, and the bar code height setting field 52 is used. The barcode height information set by the user may be recognized by the symbol code drawing module 34 as one of the setting information specified by the UI processing module 32.

このように、シンボルコードのサイズ設定を印刷条件設定印刷ダイアログ51を利用して行わせることで、シンボルコードのサイズ変更及びその指定を印刷条件設定印刷ダイアログ51を利用して簡単かつ任意に行なわせることができる。   In this way, by making the symbol code size setting using the print condition setting print dialog 51, the symbol code size can be changed and designated easily and arbitrarily using the print condition setting print dialog 51. be able to.

ちなみに、上述の実施の形態の文字サイズを利用してバーコードサイズを決定させる場合には、当該印刷条件設定印刷ダイアログ51のバーコード詳細設定ダイアログ中に用意されている「バーコードのサイズをフォントサイズを基に計算する」欄53にチェックを入れておけばよい。   By the way, when the barcode size is determined using the character size of the above-described embodiment, the “Barcode size is set to font” prepared in the barcode detailed setting dialog of the print condition setting print dialog 51 is concerned. It is only necessary to check the “Calculate based on size” column 53.

ところで、前述及び以下の実施の形態において、文字列で表現できないコードも存在し得るが、その場合の設定例について説明する。例えば、バーコードの例を挙げると、通常、バーコードは可読文字に1対1で対応しているので、ASCII文字であればバーコードに変換できるが、CODE128では、FUNC1,FUNC2やBSやESC等の制御コードもバーコードとして使用可能とされているが、これらは文字キャラクタでは表記できないバーコードである。そこで、ここではこのような制御コードの部分も文字列で指定できるようにするものである。   By the way, in the above-mentioned and following embodiments, there may be a code that cannot be expressed by a character string. An example of setting in that case will be described. For example, in the case of barcodes, since barcodes usually correspond to readable characters on a one-to-one basis, ASCII characters can be converted into barcodes, but in CODE128, FUNC1, FUNC2, BS, ESC These control codes can be used as barcodes, but these are barcodes that cannot be represented by character characters. Therefore, here, such a control code portion can also be designated by a character string.

例えば、ASCII文字列だけの場合、[CODE128,1234ABCD]とし、以下の2例を例示する。第1の例として、制御コード(文字列)が“4”と“A”との間に入る場合、[CODE128,1234&ESC&ABCD]の如く予め設定された文字列を用いることで、&で挟まれた部分を制御コードとして解釈させる。第2の例として、制御コード(数値)が“4”と“A”との間に入る場合、[CODE128,1234&1B&ABCD]の如く予め設定された文字列を用いることで、&で挟まれた文字列を16進数の制御コードとして解釈させる。なお、これらの場合で“&”を使用したい場合には&&とすればよい。   For example, in the case of only the ASCII character string, [CODE128, 1234ABCD] is given, and the following two examples are illustrated. As a first example, when the control code (character string) falls between “4” and “A”, it is sandwiched between & by using a preset character string such as [CODE128, 1234 & ESC & ABCD]. The part is interpreted as a control code. As a second example, when the control code (numerical value) is between “4” and “A”, a character string sandwiched between & is used by using a preset character string such as [CODE128, 1234 & 1B & ABCD]. Causes the sequence to be interpreted as a hexadecimal control code. In these cases, “&” may be used when it is desired to use “&”.

このように、文字列で表現できない制御コード部分は、予め設定された文字列を用いてシンボルコードに変換する文字列中に指定させることで、制御コード部分に関してもシンボルコードに含む印刷が可能となり、融通性の高いシンボルコード印刷を可能にすることができる。   In this way, the control code part that cannot be expressed in the character string can be specified in the character string that is converted into the symbol code using a preset character string, so that the control code part can also be printed in the symbol code. Therefore, it is possible to enable highly flexible symbol code printing.

[第二の実施の形態]
本実施の形態では、シンボルコードを変換作成するための特定書式の文字列として、UI処理モジュール32を通じて予め設定された特定フォントによる文字列を利用するようにしたものである。
[Second Embodiment]
In the present embodiment, a character string of a specific font preset through the UI processing module 32 is used as a character string of a specific format for converting and creating a symbol code.

そこで、本実施の形態において、或るアプリケーションプログラム21に従い作成された描画データをプリンタ1により印刷出力する際のプリンタドライバ22の動作制御例を図11に示す概略フローチャートを参照して説明する。プリンタドライバ22では、まず、ホストコンピュータ3上で動作するアプリケーションプログラム21からの印刷要求でコマンド処理モジュール31が文字列を含む印刷コマンドを取得すると(S1)、文字処理モジュール33に当該印刷要求を引き渡す。この文字処理モジュール33では、印刷要求された描画データに関して、文字列が含まれている場合には(S2のY)、文字列情報の内容を解析することにより(S3)、シンボルコード描画の情報(シンボルコード描画コマンド)として、予め設定されている特定書式の文字列情報としてシンボルコード印刷を意味する特定フォントによる文字列が含まれているか否かを判定する(S10)。判定の結果、特定フォントによる文字列情報が含まれている場合には(S10のY)、シンボルコード描画モジュール34は、UI処理モジュール32で指定された設定やフォント指定のパラメータ等のシンボルコード描画用パラメータを取得し(S5)、これらのパラメータに従い、特定書式の文字列情報に基づきバーコード等のシンボルコードのイメージデータを作成し(S6)、ページ配置モジュール35に引き渡す(S7)。ページ配置モジュール35は印刷用のページメモリ上にシンボルコードのイメージデータを配置し(S7)、入出力ポート36を介してシンボルコードのイメージデータが配置された印刷データをプリンタ1に送信し(S8)、印刷出力させる。なお、文字列が含まれていない場合や(S2のN)、シンボルコード描画コマンドが含まれていない場合には(S4のN)、通常の描画処理を行い(S9)、入出力ポート36を介して印刷データをプリンタ1に送信し(S8)、印刷出力させる。   Therefore, in the present embodiment, an example of operation control of the printer driver 22 when drawing data created according to an application program 21 is printed out by the printer 1 will be described with reference to a schematic flowchart shown in FIG. In the printer driver 22, first, when the command processing module 31 acquires a print command including a character string in response to a print request from the application program 21 operating on the host computer 3 (S 1), the print request is delivered to the character processing module 33. . In the character processing module 33, if a character string is included in the drawing data requested to be printed (Y in S2), the character code information is analyzed by analyzing the contents of the character string information (S3). As (symbol code drawing command), it is determined whether or not a character string of a specific font meaning symbol code printing is included as character string information of a predetermined specific format (S10). As a result of the determination, if character string information in a specific font is included (Y in S10), the symbol code drawing module 34 draws a symbol code such as a setting designated by the UI processing module 32 or a font designation parameter. Parameters are obtained (S5), and image data of a symbol code such as a barcode is created based on character string information in a specific format according to these parameters (S6) and delivered to the page layout module 35 (S7). The page arrangement module 35 arranges the image data of the symbol code on the page memory for printing (S7), and transmits the print data on which the image data of the symbol code is arranged via the input / output port 36 to the printer 1 (S8). ) Print out. If no character string is included (N in S2) or no symbol code drawing command is included (N in S4), normal drawing processing is performed (S9), and the input / output port 36 is set. The print data is transmitted to the printer 1 via the printer 1 (S8) and printed out.

ここに、シンボルコードに置換する特定フォントの設定例を図12を参照して説明する。UI処理モジュール32の機能としてアプリケーションプログラム21に従いユーザインターフェースとして提供される図12に示すようなシンボルコード置換用フォント設定ダイアログ61を利用して、使用するシンボルコード名に対応付けて特定フォントを予め設定させるものである。図12は、“Marlett”というフォントで入力された文字列はCODE39規格のシンボルコードに置換し、“Arial”というフォントで入力された文字列はEAN28規格のシンボルコードに置換し、他のフォントの文字列はシンボルコードには変換しない場合の設定例を例示している。   Here, an example of setting a specific font to be replaced with a symbol code will be described with reference to FIG. Using a symbol code replacement font setting dialog 61 as shown in FIG. 12 provided as a user interface according to the application program 21 as a function of the UI processing module 32, a specific font is set in advance in association with the symbol code name to be used. It is something to be made. In FIG. 12, the character string input with the font “Marlett” is replaced with the CODE39 standard symbol code, the character string input with the font “Arial” is replaced with the EAN28 standard symbol code, An example of setting when the character string is not converted to a symbol code is illustrated.

また、“Arial”なるフォント文字列の場合にEAN128規格のシンボルコードに置換する設定の場合、図13(a)左側に示すように“0123456ABC”なるシンボルコードに変換する文字列を“Arial”なる特定フォント文字列として入力させれば、プリンタドライバ22はEAN128規格のシンボルコードに変換しそのイメージデータを作成するので、図13(a)右側に示すようなEAN128規格のシンボルコードが印刷されることとなる。   Further, in the case of setting to replace the symbol character code “Arial” with the EAN128 standard symbol code, the character string to be converted to the symbol code “0123456ABC” is “Arial” as shown on the left side of FIG. If it is input as a specific font character string, the printer driver 22 converts it into an EAN128 standard symbol code and creates its image data, so that the EAN128 standard symbol code as shown on the right side of FIG. It becomes.

同様に、“Century”なるフォント文字列の場合にCODE39規格のシンボルコードに置換する設定の場合、図13(b)左側に示すように“0123456”なるシンボルコードに変換する文字列を“Century”なる特定フォント文字列として入力させれば、プリンタドライバ22はCODE39規格のシンボルコードに変換しそのイメージデータを作成するので、図13(b)右側に示すようなCODE39規格のシンボルコードが印刷されることとなる。さらに、
“Courier New”なるフォント文字列の場合にカスタマー規格のシンボルコードに置換する設定の場合、図13(c)左側に示すように“01234500006”なるシンボルコードに変換する文字列を“Courier New”なる特定フォント文字列として入力させれば、プリンタドライバ22はカスタマー規格のシンボルコードに変換しそのイメージデータを作成するので、図13(c)右側に示すようなカスタマー規格のシンボルコードが印刷されることとなる。
Similarly, when the font character string “Century” is set to be replaced with the CODE39 standard symbol code, the character string to be converted to the symbol code “0123456” is displayed as “Century” as shown on the left side of FIG. If the input is made as a specific font character string, the printer driver 22 converts it into a CODE39 standard symbol code and creates its image data, so a CODE39 standard symbol code as shown on the right side of FIG. 13B is printed. It will be. further,
When the font character string “Courier New” is set to be replaced with a customer standard symbol code, the character string to be converted to the symbol code “01234500006” is “Courier New” as shown on the left side of FIG. If it is input as a specific font character string, the printer driver 22 converts it into a customer standard symbol code and creates its image data, so that a customer standard symbol code as shown on the right side of FIG. 13C is printed. It becomes.

このように、本実施の形態によれば、特定書式の文字列を、使用するシンボルコード名に対応付けて予め設定された特定フォントによるシンボルコードに変換する文字列としているので、文字列からシンボルコードへの変換作成をフォントに連動させることにより各種フォントを有する文字列の特徴を活かすことができる。この際、シンボルコード置換用フォント設定ダイアログ61を利用して特定フォントを使用するシンボルコード名に対応付けて予め設定させるので、あまり使用しないようなフォントを特定フォントに設定する等、ユーザインターフェースに優れた設定が可能となる。   As described above, according to the present embodiment, a character string in a specific format is used as a character string that is converted into a symbol code using a specific font set in advance in association with the symbol code name to be used. By linking the creation of the code into the font, the characteristics of the character string having various fonts can be utilized. At this time, since the symbol code replacement font setting dialog 61 is used in advance in association with the symbol code name that uses the specific font, it is excellent in the user interface, such as setting a font that is not frequently used as the specific font. Can be set.

[第三の実施の形態]
本実施の形態では、前述したような特定書式の文字列に基づきシンボルコードのイメージデータを作成する上で、バーコード等のシンボルコードの読取りに必要な空白部分として規定されているクワイエットゾーン(Quiet Zone)を確保するために、当該シンボルコードの背景に空白を付与するようにしたものである。
[Third embodiment]
In this embodiment, a quiet zone (Quiet zone) defined as a blank portion necessary for reading a symbol code such as a barcode is used to create image data of a symbol code based on a character string of a specific format as described above. In order to secure a (Zone), a blank is added to the background of the symbol code.

そこで、本実施の形態において、或るアプリケーションプログラム21に従い作成された描画データをプリンタ1により印刷出力する際のプリンタドライバ22の動作制御例を図14に示す概略フローチャートを参照して説明する。プリンタドライバ22では、まず、ホストコンピュータ3上で動作するアプリケーションプログラム21からの印刷要求でコマンド処理モジュール31が文字列を含む印刷コマンドを取得し(S11)、前述した実施の形態の如く特定書式の文字列に基づきシンボルコードのイメージデータの作成処理を行ない(S12)、シンボルコードの作成に成功した場合(S13のY)、UI処理モジュール32でシンボルコードの背景を白く抜く設定がなされている場合(S14のY)、シンボルコード描画モジュール34はシンボルコードのイメージデータの作成時に当該シンボルコードの印刷サイズと文字サイズやUI処理モジュール32での設定に従って背景の白くなる部分のサイズを自動的に計算し(S15,S16)、計算された空白部分をシンボルコードのイメージデータに付与し(S17)、ページ配置モジュール35に引き渡す。ページ配置モジュール35は印刷用のページメモリ上に空白部分を含むシンボルコードのイメージデータを配置し(S18)、入出力ポート36を介してシンボルコードのイメージデータが配置された印刷データをプリンタ1に送信し(S19)、印刷出力させる。   Therefore, in this embodiment, an example of operation control of the printer driver 22 when drawing data created according to an application program 21 is printed out by the printer 1 will be described with reference to a schematic flowchart shown in FIG. In the printer driver 22, first, the command processing module 31 obtains a print command including a character string in response to a print request from the application program 21 operating on the host computer 3 (S11), and has a specific format as in the above-described embodiment. When the symbol code image data is created based on the character string (S12), the symbol code is successfully created (Y in S13), and the UI processing module 32 is set to remove the symbol code background white. (Y of S14), the symbol code drawing module 34 automatically calculates the size of the whitened portion of the background according to the print size and character size of the symbol code and the settings in the UI processing module 32 when creating the image data of the symbol code. (S15, S16), calculated blank part Was given to the image data of the symbol code (S17), it delivers the page arrangement module 35. The page arrangement module 35 arranges symbol code image data including a blank portion on the page memory for printing (S18), and print data in which the symbol code image data is arranged via the input / output port 36 is supplied to the printer 1. Transmit (S19) and print out.

本実施の形態によれば、作成したシンボルコードの背景に空白を付与するようにしたので、印刷されたシンボルコードの読取り精度を向上させることができる。この際、作成したシンボルコードのサイズに応じて付与する当該空白部分のサイズを決定するようにしたので、ユーザに負担をかけることなく適正な空白部分を確保して、印刷されたシンボルコードの読取り精度を向上させることができる。   According to the present embodiment, since the blank is added to the background of the created symbol code, the reading accuracy of the printed symbol code can be improved. At this time, since the size of the blank portion to be assigned is determined according to the size of the created symbol code, an appropriate blank portion is secured without burdening the user, and the printed symbol code is read. Accuracy can be improved.

空白部分のサイズ設定に関する別の実施の形態について説明する。ここでは、UI処理モジュール32の機能としてアプリケーションプログラム21に従いユーザインターフェースとして提供される前述の図10に示すような印刷条件設定印刷ダイアログ51を利用するようにしたものである。即ち、当該印刷条件設定印刷ダイアログ51のバーコード詳細設定ダイアログ中に例えばクワイエットゾーンの設定について左右(A)設定欄54と上下(B)設定欄55とを使用するシンボルコード設定欄56に対応付けて個別に用意しておき、設定欄54,55を通じてユーザにより設定されたクワイエットゾーン用の空白部分のサイズ情報をUI処理モジュール32で指定された設定情報の一つとしてシンボルコード描画モジュール34に認識させるようにすればよい。   Another embodiment regarding the size setting of the blank portion will be described. Here, as a function of the UI processing module 32, the print condition setting print dialog 51 as shown in FIG. 10 provided as a user interface according to the application program 21 is used. That is, in the detailed bar code setting dialog of the print condition setting print dialog 51, for example, the setting of the quiet zone is associated with the symbol code setting field 56 using the left and right (A) setting field 54 and the upper and lower (B) setting field 55. The size information of the blank area for the quiet zone set by the user through the setting fields 54 and 55 is recognized by the symbol code drawing module 34 as one of the setting information designated by the UI processing module 32. You can make it.

このように、空白部分のサイズ設定を印刷条件設定印刷ダイアログ51を利用して行わせることで、空白部分のサイズ設定をユーザが任意に行なうことができ、汎用性を高め、印刷されたシンボルコードの読取り精度を向上させることができる。   In this way, by setting the size of the blank portion using the print condition setting print dialog 51, the user can arbitrarily set the size of the blank portion, improving versatility, and printing the printed symbol code. Reading accuracy can be improved.

[第四の実施の形態]
本実施の形態では、シンボルコード描画の情報を、アプリケーションプログラム21を利用してイメージデータにより作成されたシンボルコードとし、アプリケーションプログラム21から入力される描画データのイメージデータ中にシンボルコードの情報が含まれている場合には、プリンタドライバ22は、そのシンボルコードの内容を読取りその内容に基づき再度シンボルコードのイメージデータを作成し直して、プリンタ1側に送信出力させるように構成されている。
[Fourth embodiment]
In the present embodiment, the symbol code drawing information is a symbol code created by image data using the application program 21, and the symbol code information is included in the image data of the drawing data input from the application program 21. In this case, the printer driver 22 is configured to read the contents of the symbol code, regenerate the image data of the symbol code based on the contents, and transmit the image data to the printer 1 side.

このため、本実施の形態のプリンタドライバ22の機能ブロック図においては、図15に示すように、文字処理モジュール33に代えて、アプリケーションプログラム21からの印刷要求のうち、イメージデータやグラフィックデータといった画像の描画処理に関する部分を処理するための画像処理モジュール37が設けられ、この画像処理モジュール37により処理された描画データのイメージデータ中にシンボルコードの情報が含まれている否かを解析するためのシンボルコード抽出モジュール38が付加されている。   For this reason, in the functional block diagram of the printer driver 22 of the present embodiment, as shown in FIG. 15, in place of the character processing module 33, an image such as image data or graphic data in the print request from the application program 21. An image processing module 37 for processing a portion related to the drawing processing is provided, and whether or not symbol code information is included in the image data of the drawing data processed by the image processing module 37 is analyzed. A symbol code extraction module 38 is added.

また、UI処理モジュール32の機能としてアプリケーションプログラム21に従いユーザインターフェースとして提供される図16に示すような印刷条件設定印刷ダイアログ71のバーコード詳細設定ダイアログでは、「イメージ中のバーコードを補正する」欄72にチェックをすると、このシンボルコード抽出モジュール38等の機能を生かすモード設定となる。   Also, in the barcode detailed setting dialog of the print condition setting print dialog 71 as shown in FIG. 16 provided as a user interface according to the application program 21 as a function of the UI processing module 32, the “correct barcode in image” column When the check box 72 is checked, the mode is set to make use of the functions of the symbol code extraction module 38 and the like.

このような構成において、或るアプリケーションプログラム21に従い作成された描画データをプリンタ1により印刷出力する際のプリンタドライバ22の動作制御例を図17に示す概略フローチャートを参照して説明する。プリンタドライバ22では、まず、ホストコンピュータ3上で動作するアプリケーションプログラム21からの印刷要求でコマンド処理モジュール31が文字列を含む印刷コマンドを取得すると(S21)、画像処理モジュール37に当該印刷要求を引き渡す。その後、画像処理モジュール37では、イメージデータであれば(S22のY)、シンボルコード抽出モジュール38を用いてイメージデータを解析することにより(S23)、イメージデータ中に特定の規則、特定のデータの並び等からなるシンボルコードの描画データがあるか判定する(S24)。シンボルコードの描画データがあれば、当該シンボルコードの内容を読取るとともにUI処理モジュール32等で設定されている当該シンボルコード描画用パラメータを取得し(S25)、読取ったシンボルコードの内容及びシンボルコード描画用パラメータに従いシンボルコード描画モジュール34によりシンボルコードのイメージデータを作成し直し(S26)、ページ配置モジュール35に引き渡す。ページ配置モジュール35は印刷用のページメモリ上にシンボルコードのイメージデータを配置し(S27)、入出力ポート36を介してシンボルコードのイメージデータが配置された印刷データをプリンタ1に送信し(S28)、印刷出力させる。なお、イメージデータが含まれていない場合や(S22のN)、シンボルコードが含まれていない場合には(S24のN)、通常の描画処理を行い(S29)、入出力ポート36を介して印刷データをプリンタ1に送信し(S28)、印刷出力させる。   An example of operation control of the printer driver 22 when the printer 1 prints out drawing data created according to an application program 21 in such a configuration will be described with reference to a schematic flowchart shown in FIG. In the printer driver 22, first, when the command processing module 31 acquires a print command including a character string in response to a print request from the application program 21 operating on the host computer 3 (S 21), the print request is delivered to the image processing module 37. . Thereafter, in the image processing module 37, if it is image data (Y of S22), the image data is analyzed using the symbol code extraction module 38 (S23), so that a specific rule or specific data in the image data is analyzed. It is determined whether or not there is drawing data of a symbol code consisting of an array (S24). If there is drawing data for the symbol code, the contents of the symbol code are read and the parameters for drawing the symbol code set by the UI processing module 32 or the like are acquired (S25). The symbol code image data is recreated by the symbol code drawing module 34 in accordance with the parameters for use (S26), and delivered to the page layout module 35. The page arrangement module 35 arranges the image data of the symbol code on the page memory for printing (S27), and transmits the print data on which the image data of the symbol code is arranged via the input / output port 36 to the printer 1 (S28). ) Print out. If no image data is included (N in S22) or no symbol code is included (N in S24), normal drawing processing is performed (S29) via the input / output port 36. The print data is transmitted to the printer 1 (S28) and printed out.

例えば、図18(a)に示すようなアプリケーションプログラム21により作成されて入力される描画データ81中に、イメージデータとしてのバーコード(シンボルコード)82の貼付けが含まれている場合、従来であれば、当該バーコード82を通常一般のイメージデータなるオブジェクトとして取り扱うため、図18(b)に示すように画像補正等を受けてバーコードシンボルが滲む等の悪影響を受けた印刷結果となってしまうことがある。これに対して、本実施の形態の場合には、当該バーコード82の部分を通常一般のイメージデータと同一視せずバーコード部分であるとの解析結果に基づき、プリンタドライバ22内でバーコード82のイメージデータを作成し直して(再描画)いるので、無用な画像補正等が払拭され、図18(c)に示すように、バーコード82を規定通りに印刷再現することができる。   For example, when the drawing data 81 created and input by the application program 21 as shown in FIG. 18A includes a barcode (symbol code) 82 as image data, it is conventional. For example, since the barcode 82 is normally handled as an object as general image data, as shown in FIG. 18B, an image correction or the like is performed, resulting in a printing result that is adversely affected such as a barcode symbol blurring. Sometimes. On the other hand, in the case of the present embodiment, based on the analysis result that the portion of the barcode 82 is not normally identified as general image data and is a barcode portion, the barcode is generated in the printer driver 22. Since the image data 82 is re-created (redrawn), unnecessary image correction or the like is eliminated, and the barcode 82 can be printed and reproduced as specified, as shown in FIG.

なお、例えば図16に示した印刷条件設定印刷ダイアログ71のバーコード詳細設定ダイアログ中で、「補正情報を表示する」欄72にチェックをすると、読取り作成し直したシンボルコードの内容を表示させたり印刷出力させたりすることができる。例えば、「ダイアログ」欄74にチェックすると、シンボルコードの配置処理終了後、ページ配置モジュール35がシンボルコード描画モジュール34からシンボルコード処理内容を取得し、実際の印刷前にUI処理モジュール32を使用してダイアログを作成し(S30)、作成し直されたシンボルコードの内容を当該ダイアログに表示させる(S31)ようにすれば、シンボルコードの変換結果を確認でき、ユーザはシンボルコードの運用に間違いがないか容易にチェックすることができる。   For example, when the “display correction information” field 72 is checked in the bar code detail setting dialog of the print condition setting / printing dialog 71 shown in FIG. 16, the contents of the symbol code read and recreated are displayed. It can be printed out. For example, when the “dialog” column 74 is checked, after the symbol code placement processing is completed, the page placement module 35 acquires the symbol code processing content from the symbol code drawing module 34 and uses the UI processing module 32 before actual printing. By creating a dialog (S30) and displaying the contents of the recreated symbol code on the dialog (S31), the conversion result of the symbol code can be confirmed, and the user has an error in the operation of the symbol code. You can easily check for it.

例えば、図19に示すような描画データ中に貼付けられたバーコードのデータが存在する場合において、プリンタドライバ22内で作成し直されたバーコードの内容が図20の如くダイアログ表示される。この場合、図20(b)は例えば、「プリンタドライバ内でCODE39に置換しました」等のレポート付きの例を示している。   For example, when there is barcode data pasted in the drawing data as shown in FIG. 19, the contents of the barcode recreated in the printer driver 22 are displayed in a dialog as shown in FIG. In this case, FIG. 20B shows an example with a report such as “Replaced with CODE 39 in the printer driver”.

さらに、「補正情報を表示する」欄72にチェックし、さらに、「用紙に印刷する」欄75にチェックした場合には、シンボルコードの配置処理終了後、ページ配置モジュール35がシンボルコード描画モジュール34からシンボルコード処理内容を取得し、実際の印刷後に、シンボルコードの内容に関するレポートを作成し、入出力ポート36からプリンタ1に対してシンボルコードの印刷に関する詳細レポートを送信出力して印刷させる(S32)ことによっても、シンボルコードの変換結果を確認でき、ユーザはシンボルコードの運用に間違いがないか容易にチェックすることができる。   Further, when the “display correction information” column 72 is checked, and when the “print on paper” column 75 is checked, the page layout module 35 displays the symbol code drawing module 34 after the symbol code layout process ends. After the actual printing, a report regarding the content of the symbol code is generated, and a detailed report regarding the printing of the symbol code is transmitted from the input / output port 36 to the printer 1 for printing (S32). ), The conversion result of the symbol code can be confirmed, and the user can easily check whether there is a mistake in the operation of the symbol code.

なお、「本文中に追記する」欄76にチェックすることにより、置換内容をバーコードに影響を与えない部分に表記させたりすることもできる。   It should be noted that by checking the “Append to text” column 76, the replacement content can be written in a portion that does not affect the barcode.

本実施の形態によれば、シンボルコード描画の情報を、イメージデータで作成されたシンボルコードとし、その場合に、プリンタドライバ22において当該シンボルコードの内容を読取りその内容に基づき再度シンボルコードのイメージデータを作成し直してプリンタ1に出力させるので、アプリケーションプログラム21などのシンボルコード描画に関する既存のリソースを活用しつつ、無用な画像処理等を避け、高品質なシンボルコード印刷を行わせることができる。   According to the present embodiment, the symbol code drawing information is the symbol code created from the image data. In this case, the printer driver 22 reads the content of the symbol code and re-reads the symbol code image data based on the content. Can be generated and output to the printer 1, while using existing resources related to symbol code drawing such as the application program 21, unnecessary image processing can be avoided and high-quality symbol code printing can be performed.

[第五の実施の形態]
本実施の形態では、シンボルコード描画の情報を、アプリケーションプログラム21を利用して四角や線などのグラフィックデータにより作成されたシンボルコードとし、アプリケーションプログラム21から入力される描画データのグラフィックデータ中にシンボルコードの情報が含まれている場合には、プリンタドライバ22は、そのシンボルコードの内容を読取りその内容に基づき再度シンボルコードのイメージデータを作成し、プリンタ1側に送信出力させるように構成されている。
[Fifth embodiment]
In the present embodiment, the symbol code drawing information is a symbol code created from graphic data such as a square or a line using the application program 21, and the symbol is included in the graphic data of the drawing data input from the application program 21. When the code information is included, the printer driver 22 reads the contents of the symbol code, creates image data of the symbol code again based on the contents, and transmits the data to the printer 1 for transmission. Yes.

このための、本実施の形態のプリンタドライバ22の機能ブロック図は図15の場合と同様であり、シンボルコード抽出モジュール38は画像処理モジュール37により処理された描画データのグラフィックデータ中にシンボルコードの情報が含まれている否かを判定する。   For this purpose, the functional block diagram of the printer driver 22 of the present embodiment is the same as that in FIG. 15, and the symbol code extraction module 38 includes symbol codes in the graphic data of the drawing data processed by the image processing module 37. It is determined whether or not information is included.

また、UI処理モジュール32の機能としてアプリケーションプログラム21に従いユーザインターフェースとして提供される図16に示すような印刷条件設定印刷ダイアログ71のバーコード詳細設定ダイアログでは、「グラフィックで描画されたバーコードを補正する」欄77にチェックをすると、このシンボルコード抽出モジュール38等の機能を生かすモード設定となる。   Further, in the detailed bar code setting dialog of the print condition setting / printing dialog 71 as shown in FIG. 16 provided as a user interface in accordance with the application program 21 as a function of the UI processing module 32, “correct the bar code drawn in graphics”. When the "" column 77 is checked, the mode setting that makes use of the functions of the symbol code extraction module 38 and the like is set.

このような構成において、或るアプリケーションプログラム21に従い作成された描画データをプリンタ1により印刷出力する際のプリンタドライバ22の動作制御例を図21に示す概略フローチャートを参照して説明する。プリンタドライバ22では、まず、ホストコンピュータ3上で動作するアプリケーションプログラム21からの印刷要求でコマンド処理モジュール31が文字列を含む印刷コマンドを取得すると(S41)、画像処理モジュール37に当該印刷要求を引き渡す。その後、画像処理モジュール37では、グラフィックデータであれば(S42のY)、シンボルコード抽出モジュール38を用いてグラフィックデータを解析することにより(S43)、グラフィックデータ中に特定の規則、特定のデータの並び等からなるシンボルコードの描画データがあるか判定する(S44)。シンボルコードの描画データがあれば、当該シンボルコードの内容を読取るとともにUI処理モジュール32等で設定されている当該シンボルコード描画用パラメータを取得し(S45)、読取ったシンボルコードの内容及びシンボルコード描画用パラメータに従いシンボルコード描画モジュール34によりシンボルコードのイメージデータを作成し(S46)、ページ配置モジュール35に引き渡す。ページ配置モジュール35は印刷用のページメモリ上にシンボルコードのイメージデータを配置し(S47)、入出力ポート36を介してシンボルコードのイメージデータが配置された印刷データをプリンタ1に送信し(S48)、印刷出力させる。なお、グラフィックデータが含まれていない場合や(S42のN)、シンボルコードが含まれていない場合には(S44のN)、通常の描画処理を行い(S49)、入出力ポート36を介して印刷データをプリンタ1に送信し(S48)、印刷出力させる。   An example of operation control of the printer driver 22 when the printer 1 prints out drawing data created according to an application program 21 in such a configuration will be described with reference to a schematic flowchart shown in FIG. In the printer driver 22, first, when the command processing module 31 acquires a print command including a character string in response to a print request from the application program 21 operating on the host computer 3 (S 41), the print request is delivered to the image processing module 37. . Thereafter, in the case of graphic data (Y in S42), the image processing module 37 analyzes the graphic data using the symbol code extraction module 38 (S43), and thereby the specific rule and specific data in the graphic data are analyzed. It is determined whether or not there is drawing data of a symbol code composed of an array or the like (S44). If there is drawing data for the symbol code, the contents of the symbol code are read and the symbol code drawing parameters set by the UI processing module 32 or the like are acquired (S45). The symbol code image data is created by the symbol code drawing module 34 in accordance with the parameters for use (S46) and delivered to the page layout module 35. The page arrangement module 35 arranges the image data of the symbol code on the page memory for printing (S47), and transmits the print data on which the image data of the symbol code is arranged via the input / output port 36 to the printer 1 (S48). ) Print out. If graphic data is not included (N in S42) or symbol code is not included (N in S44), normal drawing processing is performed (S49) via the input / output port 36. The print data is transmitted to the printer 1 (S48) and printed out.

この場合も例えば、図18を参酌すれば、図18(a)に示すようなアプリケーションプログラム21により作成されて入力される描画データ81中に、グラフィックデータとしてのバーコード(シンボルコード)82の貼付けが含まれている場合、従来であれば、当該バーコード82を通常一般のグラフィックデータなるオブジェクトとして取り扱うため、図18(b)に示すように画像補正等を受けてバーコードシンボルが滲む等の悪影響を受けた印刷結果となってしまうことがある。これに対して、本実施の形態の場合には、当該バーコード82の部分を通常一般のグラフィックデータと同一視せずバーコード部分であるとの解析結果に基づき、プリンタドライバ22内でバーコード82のイメージデータを作成して(再描画)いるので、無用な画像補正等が払拭され、図18(c)に示すように、バーコード82を規定通りに印刷再現することができる。   Also in this case, for example, referring to FIG. 18, a barcode (symbol code) 82 as graphic data is pasted into the drawing data 81 created and inputted by the application program 21 as shown in FIG. In the conventional case, since the barcode 82 is normally handled as an object of general graphic data, the barcode symbol is blurred due to image correction or the like as shown in FIG. Printing results may be adversely affected. On the other hand, in the case of the present embodiment, based on the analysis result that the portion of the barcode 82 is not the same as ordinary graphic data and is a barcode portion, the barcode is generated in the printer driver 22. Since the image data 82 is created (redrawn), unnecessary image correction and the like are wiped out, and the barcode 82 can be printed and reproduced as specified as shown in FIG.

なお、ステップS50,S51並びにステップS52の処理は、図17におけるステップS30,S31並びにステップS32の場合と同様である。   Note that the processes in steps S50, S51 and S52 are the same as those in steps S30, S31 and S32 in FIG.

本実施の形態によれば、シンボルコード描画の情報を、グラフィックデータで作成されたシンボルコードとし、その場合に、プリンタドライバ22内で当該シンボルコードの内容を読取りその内容に基づきシンボルコードのイメージデータを作成してプリンタ1に出力させるので、アプリケーションプログラム21などのシンボルコード描画に関する既存のリソースを活用しつつ、無用な画像処理等を避け、高品質なシンボルコード印刷を行わせることができる。   According to the present embodiment, the symbol code drawing information is a symbol code created by graphic data, and in this case, the content of the symbol code is read in the printer driver 22 and the image data of the symbol code is based on the content. Is generated and output to the printer 1, while utilizing existing resources related to symbol code drawing such as the application program 21, unnecessary image processing can be avoided and high-quality symbol code printing can be performed.

[第六の実施の形態]
本実施の形態では、作成されるシンボルコードについての適合性判定機能並びに不適合な場合の報知機能を追加したものである。即ち、シンボルコード、例えばバーコードに変換する文字列の構文がバーコードの仕様に適合していなかったり、イメージ中のバーコードの画像品質が悪くバーコードとして正常に読込めないような場合に、適合しない旨をダイアログを通じてユーザに知らせたり、バーコード等のシンボルコードへの置換処理(作成処理)を行なわなかったり、エラーレポートして印刷出力させるようにしたものである。
[Sixth embodiment]
In the present embodiment, a conformity determination function for a created symbol code and a notification function in the case of nonconformity are added. That is, when the syntax of a symbol code, for example, a character string to be converted to a barcode, does not conform to the barcode specification, or the image quality of the barcode in the image is poor and cannot be read normally as a barcode, The user is informed through the dialog that it does not conform, or is not replaced with a symbol code such as a barcode (creation processing), or an error report is printed out.

そこで、本実施の形態により或るアプリケーションプログラム21に従い作成された描画データをプリンタ1により印刷出力する際のプリンタドライバ22の動作制御例を図22に示す概略フローチャートを参照して説明する。プリンタドライバ22では、まず、ホストコンピュータ3上で動作するアプリケーションプログラム21からの印刷要求でコマンド処理モジュール31が文字列を含む印刷コマンドを取得すると(S61)、画像処理モジュール37に当該印刷要求を引き渡す。その後、前述した実施の形態のようにシンボルコード描画モジュール34によりシンボルコードのイメージデータの作成処理を行なう(S62)。   An example of operation control of the printer driver 22 when the printer 1 prints out drawing data created according to an application program 21 according to the present embodiment will be described with reference to a schematic flowchart shown in FIG. In the printer driver 22, first, when the command processing module 31 acquires a print command including a character string in response to a print request from the application program 21 operating on the host computer 3 (S 61), the print request is delivered to the image processing module 37. . After that, the symbol code image data is created by the symbol code drawing module 34 as in the above-described embodiment (S62).

この一連の処理において、シンボルコードの作成に成功したか否かを判定する(S63)。この判定処理は、文字処理モジュール33や画像処理モジュール37による描画データの判定の結果、シンボルコード描画の情報(特定書式の文字列や、イメージ又はグラフィックによるシンボルコード)が含まれている場合において当該情報に基づきシンボルコードを作成する上でシンボルコードとしての適合性があるか否かを判定させる機能として実行される。例えば、特定書式の文字列をなす構文がシンボルコードの仕様に適合しているか否かを判定したり、イメージ中のシンボルコードをシンボルコードとして正常に読込めたか否かを判定したりすることにより処理される。適合する場合には(S63のY)、前述した実施の形態通り、作成されたシンボルコードのイメージデータを含む印刷データを入出力ポート36を介してプリンタ1に送信することにより(S64)、印刷動作を実行させる。一方、適合しないと判定された場合には(S63のN)、適合しない旨のエラー表示をダイアログを通じて表示させる(S65)。このステップS65の処理が知らせる機能又はステップとして実行される。図23に、エラーダイアログ91の表示例を示す。この例では、例えば特定書式の文字列によりバーコード印刷を指定した場合において、その文字列の構文が適合しない場合のエラーメッセージ例を示している。   In this series of processing, it is determined whether or not the symbol code has been successfully created (S63). This determination processing is performed when symbol code drawing information (a character string of a specific format or a symbol code by an image or graphic) is included as a result of determination of drawing data by the character processing module 33 or the image processing module 37. This is executed as a function for determining whether or not there is suitability as a symbol code in creating a symbol code based on information. For example, by determining whether the syntax that forms a character string in a specific format conforms to the symbol code specification, or by determining whether the symbol code in the image has been read correctly as a symbol code It is processed. If it is suitable (Y in S63), the print data including the image data of the generated symbol code is transmitted to the printer 1 via the input / output port 36 (S64) as in the above-described embodiment, thereby printing. Run the action. On the other hand, if it is determined that it does not match (N of S63), an error display indicating that it does not match is displayed through a dialog (S65). This is executed as a function or step informed by the process of step S65. FIG. 23 shows a display example of the error dialog 91. In this example, for example, when barcode printing is specified by a character string of a specific format, an example of an error message when the syntax of the character string does not match is shown.

本実施の形態によれば、判定の結果、シンボルコード描画の情報が含まれている場合において当該情報に基づきシンボルコードを作成する上でシンボルコードとしての適合性を判定させ、適合しないと判定された場合には、その旨をユーザに知らせるようにしたので、不適なシンボルコード印刷出力を未然に回避することができる。この際、適合しない旨をユーザインターフェースとしてエラーダイアログ91により表示させることにより、印刷の無駄なく確実にユーザに知らせることができる。   According to the present embodiment, when the symbol code drawing information is included as a result of the determination, the suitability as the symbol code is determined in creating the symbol code based on the information, and it is determined that the information does not match. In such a case, the user is informed of this fact, so that inappropriate symbol code printout can be avoided in advance. At this time, the fact that it is not compatible is displayed as a user interface by the error dialog 91, so that the user can be surely notified without waste of printing.

なお、シンボルコードとしての適合性判定において、適合しない場合に、ユーザに知らせる態様としては、例えば描画データの解析段階で判定するので、図24の左側に示すような不適合な描画データの場合に、図24の右側に示すようにシンボルコードへの変換処理(シンボルコードを作成する処理ないしは作成し直す処理)を行なわないことにより知らせるようにしてもよい。なお、図24(a)はイメージデータによるバーコードの場合、図24(b)は特定書式の文字列による場合を各々例示している。これによれば、シンボルコードを作成させないことにより適合しない旨をユーザに知らせるので、無駄となるシンボルコード作成処理をも未然に回避することができる。   In addition, in the suitability determination as the symbol code, as an aspect to notify the user when it does not match, for example, since it is determined at the drawing data analysis stage, in the case of incompatible drawing data as shown on the left side of FIG. As shown on the right side of FIG. 24, notification may be performed by not performing conversion processing to symbol code (processing to create or re-create symbol code). FIG. 24A illustrates the case of a barcode using image data, and FIG. 24B illustrates the case of a character string having a specific format. According to this, since the user is notified that the symbol code is not created by not creating the symbol code, it is possible to avoid unnecessary symbol code creation processing.

また、別の態様として、図25の左側に示すような不適合な描画データの場合に、図25の右側に示すようにシンボルコードの印刷出力に代えて、「バーコードとして認識できません」「このバーコードは構文に問題があります」等のエラーメッセージを付記したエラーレポート92,93をプリンタ1から印刷出力させるようにしてもよい。この場合も、図25(a)はイメージデータによるバーコードの場合、図25(b)は特定書式の文字列による場合を各々例示している。これによれば、適合しない旨のエラーレポート92又は93をプリンタ1に印刷出力させることで、プリンタ資源を活用して確実にユーザに知らせることができる。   Further, as another aspect, in the case of non-conforming drawing data as shown on the left side of FIG. 25, “cannot be recognized as a bar code” instead of symbol code printout as shown on the right side of FIG. Error reports 92 and 93 with an error message such as “The code has a syntax problem” may be printed out from the printer 1. Also in this case, FIG. 25A illustrates a case of a bar code based on image data, and FIG. 25B illustrates a case of a character string having a specific format. According to this, by causing the printer 1 to print out the error report 92 or 93 indicating that it does not conform, the user can be surely notified using the printer resources.

[従来例との対比]
前述した各実施の形態を踏まえ、本発明と従来技術との違いを図26の略図的な処理遷移図を参照して説明する(シンボルコードは、例えばバーコードの場合とする)。
[Contrast with conventional example]
Based on each of the embodiments described above, the difference between the present invention and the prior art will be described with reference to the schematic process transition diagram of FIG. 26 (the symbol code is, for example, a barcode).

まず、従来方式から説明すると、処理遷移経路Aは、バーコードをアプリケーションプログラムがイメージデータとして作成してプリンタドライバに入力させ、プリンタではイメージデータとして印刷する例を示している。この場合、プリンタドライバやプリンタは、バーコードをバーコードとして判断できず、一般イメージデータと同等に扱うため、この処理遷移経路A上(OSやアプリケーション、プリンタドライバ、或いはプリンタ上)で、一般イメージデータと同等の画像補正処理を受けるため、バーコードとしての品質を保障できない欠点がある。また、アプリケーションプログラムに関しては、バーコード専用の機能が必要となる。   First, from the conventional method, the process transition path A shows an example in which an application program creates a barcode as image data and inputs it to a printer driver, and the printer prints it as image data. In this case, the printer driver or printer cannot determine the barcode as a barcode, and handles it in the same way as general image data. Therefore, on the processing transition path A (OS, application, printer driver, or printer), the general image Since the image correction processing equivalent to the data is performed, there is a drawback that the quality as a barcode cannot be guaranteed. In addition, for the application program, a barcode-dedicated function is required.

処理遷移経路Bは、バーコードをフォントで作成してプリンタドライバに入力させ、プリンタでは文字としてバーコードを印刷する例を示している。バーコードをフォントで作成する方式は、前述したように、一般にも流通しており、例えば“123”と入力すれば、それに対応したバーコードがモニタ上に表示され、プリンタにもTrue Typeフォントとして認識される。この場合、フォントであるので、サイズも任意に設定できる。ところが、全てのサイズに関してバーコードとしての品質は保障できず、アプリケーションがプリンタの解像度に合わせて変倍するので、サイズに誤差が入りやすく、この場合も、バーコード読取り時の精度が低下してしまう懸念がある。つまり、バーコードのピッチやサイズがフォント情報に依存してしまい、誤差が大きく、バーコードとしての認識率が低くなってしまう可能性がある。また、フォントであるので、文字用の画像補正を受けた場合も同様である。   The process transition path B shows an example in which a barcode is created with fonts and input to the printer driver, and the printer prints the barcode as characters. As described above, the method of creating barcodes with fonts is generally available. For example, if “123” is entered, the corresponding barcode is displayed on the monitor, and the printer also uses True Type fonts. Be recognized. In this case, since the font is used, the size can be arbitrarily set. However, the quality of barcodes for all sizes cannot be guaranteed, and the application scales according to the resolution of the printer, so errors are likely to occur in the size. In this case, the accuracy of barcode reading also decreases. There is a concern. That is, the barcode pitch and size depend on the font information, and there is a possibility that the error is large and the recognition rate as a barcode is low. Moreover, since it is a font, it is the same when it receives the image correction for characters.

処理遷移経路Cは、プリンタドライバに特定のフォントを提供するバーコード描画コマンドを持たせ、バーコードフォントで作成した文字列をプリンタドライバに入力させ、特定のフォントが指定された場合にはプリンタドライバがプリンタにバーコード描画コマンドを送信してバーコードを描画させることで印刷する例を示している。しかし、プリンタ中のプリンタコントローラがバーコード描画コマンドに基づきバーコードを描画できる機能(バーコード専用機能)を有する場合のみ可能で汎用性に欠ける上に、文字列で表現できない制御コードに関するコードはバーコードに変換できない、という不具合がある。   The process transition path C allows the printer driver to have a barcode drawing command for providing a specific font, causes the printer driver to input a character string created with the barcode font, and if the specific font is specified, the printer driver Shows an example of printing by sending a barcode drawing command to the printer and drawing the barcode. However, this is possible only when the printer controller in the printer has a function (barcode dedicated function) that can draw barcodes based on barcode drawing commands. There is a bug that cannot be converted to code.

次に、本発明方式を説明する。処理遷移経路Dは、例えば第一ないし第三の実施の形態の如く、アプリケーションプログラム21では特定書式の文字列を含む描画データをプリンタドライバ22に入力させ、当該プリンタドライバ22内で特定書式の文字列を解析しバーコードに変換(バーコードのイメージデータを作成)し、これをプリンタ1に送信することでプリンタ1ではバーコードをイメージデータとして印刷する例を示している。この方式の場合、アプリケーションプログラム21においては、バーコード専用の機能は不要な上に、プリンタドライバ22においては、バーコード部分を認識しているので画像補正等の無用な処理を施すことがなく、プリンタ1に最適化されたバーコードのイメージデータの作成が可能であり、品質が保障されるバーコードの印刷出力が可能となる。また、プリンタ1としてはイメージデータの印刷機能は最低限有しているので、バーコードを描画するためのバーコード専用の機能は不要である。   Next, the method of the present invention will be described. In the process transition path D, for example, as in the first to third embodiments, the application program 21 causes the printer driver 22 to input drawing data including a character string in a specific format, and the characters in the specific format are input in the printer driver 22. In the example, the column is analyzed and converted into a barcode (barcode image data is created) and transmitted to the printer 1 so that the printer 1 prints the barcode as image data. In the case of this method, the application program 21 does not require a barcode-dedicated function, and the printer driver 22 recognizes the barcode portion, so that unnecessary processing such as image correction is not performed. The barcode image data optimized for the printer 1 can be created, and the barcode can be printed out to ensure the quality. Further, since the printer 1 has a minimum image data printing function, a barcode-dedicated function for drawing a barcode is unnecessary.

処理遷移経路Eは、例えば第四又は第五の実施の形態の如く、アプリケーションプログラム21によりイメージやグラフィックで描画されたバーコードを含む描画データをプリンタドライバ22に入力させ、プリンタドライバ22内でバーコードを解析することでバーコードであることを認識させ、バーコードと認識された場合には、当該プリンタドライバ22内でバーコードのイメージデータを作成し又は作成し直し、これをプリンタ1に送信することでプリンタ1ではバーコードをイメージデータとして印刷する例を示している。この方式の場合、アプリケーションプログラム21においては、バーコード専用の機能は必要とするものの、プリンタドライバ22においては、バーコード部分を認識しているのでイメージやグラフィックであっても画像補正等の無用な処理を施すことがなく、プリンタ1に最適化されたバーコードのイメージデータの作成又は作成し直しが可能であり、品質が保障されるバーコードの印刷出力が可能となる。また、プリンタ1としてはイメージデータの印刷機能は最低限有しているので、バーコードを描画するためバーコード専用の機能は不要である。   For example, as in the fourth or fifth embodiment, the process transition path E causes the printer driver 22 to input drawing data including a barcode drawn with an image or graphic by the application program 21, and By analyzing the code, it is recognized that it is a bar code, and when it is recognized as a bar code, image data of the bar code is created or recreated in the printer driver 22 and transmitted to the printer 1. As a result, the printer 1 shows an example of printing a barcode as image data. In the case of this method, the application program 21 requires a barcode-dedicated function, but the printer driver 22 recognizes the barcode portion, so that image correction or the like is unnecessary even for images and graphics. Barcode image data optimized for the printer 1 can be created or recreated without processing, and barcode printout with guaranteed quality can be achieved. Further, since the printer 1 has a minimum image data printing function, a barcode-dedicated function is not required for drawing a barcode.

本発明の第一の実施の形態を示す印刷システムの概略ブロック図である。1 is a schematic block diagram of a printing system showing a first embodiment of the present invention. そのソフトウエア構成例を示す概略ブロック図である。It is a schematic block diagram which shows the software structural example. プリンタドライバの機能ブロック図である。2 is a functional block diagram of a printer driver. FIG. プリンタドライバの動作制御例を示す概略フローチャートである。3 is a schematic flowchart illustrating an example of operation control of a printer driver. 作成文書に対する印刷結果例を示す説明図である。It is explanatory drawing which shows the example of a printing result with respect to a created document. 特定書式の文字列例を例示する説明図である。It is explanatory drawing which illustrates the example of the character string of a specific format. 特定書式の文字列例に対応するシンボルコードの印刷出力例を例示する説明図である。It is explanatory drawing which illustrates the example of the print output of the symbol code corresponding to the character string example of a specific format. 特定書式の文字列の文字サイズを変えた例を例示する説明図である。It is explanatory drawing which illustrates the example which changed the character size of the character string of a specific format. 特定書式の文字列の文字サイズに対応するシンボルコードの印刷出力例を例示する説明図である。It is explanatory drawing which illustrates the example of the print output of the symbol code corresponding to the character size of the character string of a specific format. 印刷条件設定印刷ダイアログ画面例を示す説明図である。It is explanatory drawing which shows the example of a printing condition setting print dialog screen. 本発明の第二の実施の形態のプリンタドライバの動作制御例を示す概略フローチャートである。6 is a schematic flowchart illustrating an example of operation control of a printer driver according to a second embodiment of the present invention. シンボルコード置換用フォント設定ダイアログ画面例を示す説明図である。It is explanatory drawing which shows the example of a font setting dialog screen for symbol code replacement. 特定フォントの文字列例及び対応するシンボルコードの印刷出力例を例示する説明図である。It is explanatory drawing which illustrates the example of the character string of a specific font, and the example of the printing output of a corresponding symbol code. 本発明の第三の実施の形態のプリンタドライバの動作制御例を示す概略フローチャートである。10 is a schematic flowchart illustrating an example of operation control of a printer driver according to a third embodiment of the present invention. 本発明の第四の実施の形態のプリンタドライバの機能ブロック図である。FIG. 10 is a functional block diagram of a printer driver according to a fourth embodiment of the present invention. 印刷条件設定印刷ダイアログ画面例を示す説明図である。It is explanatory drawing which shows the example of a printing condition setting print dialog screen. プリンタドライバの動作制御例を示す概略フローチャートである。3 is a schematic flowchart illustrating an example of operation control of a printer driver. 作成文書に対する印刷結果例を従来例と対比して示す説明図である。It is explanatory drawing which shows the example of the printing result with respect to a created document compared with a prior art example. 作成文書に貼付けられたバーコード例を示す説明図である。It is explanatory drawing which shows the example of a barcode affixed on the created document. そのバーコードの作成し直された結果のダイアログ表示例を示す説明図である。It is explanatory drawing which shows the example of a dialog display of the result of having produced the barcode again. 本発明の第五の実施の形態のプリンタドライバの動作制御例を示す概略フローチャートである。10 is a schematic flowchart illustrating an example of operation control of a printer driver according to a fifth embodiment of the present invention. 本発明の第六の実施の形態のプリンタドライバの動作制御例を示す概略フローチャートである。14 is a schematic flowchart illustrating an example of operation control of a printer driver according to a sixth embodiment of the present invention. エラーダイアログ表示例を示す説明図である。It is explanatory drawing which shows the example of an error dialog display. 不適合な場合の描画データ及び置換処理しないその結果例を示す説明図である。It is explanatory drawing which shows the drawing data in the case of incompatibility, and the result example which does not perform a replacement process. 不適合な場合の描画データ及びエラーレポート出力例を示す説明図である。It is explanatory drawing which shows the drawing data and error report output example in the case of nonconformity. 従来例と対比して本発明の特徴を示す略図的な処理遷移図である。It is a schematic process transition diagram showing characteristics of the present invention in contrast to the conventional example.

符号の説明Explanation of symbols

1 プリンタ
3 コンピュータ
11 記憶媒体
22 プリンタドライバ
33 判定する機能
34 作成する機能
35 印刷させる機能
37,38 判定する機能
41 描画データ
42 特定書式の文字列情報
44 シンボルコード
51 印刷条件設定印刷ダイアログ
61 シンボルコード置換用フォント設定ダイアログ
81 描画データ
82 シンボルコード
91 エラーダイアログ
92,93 エラーレポート
DESCRIPTION OF SYMBOLS 1 Printer 3 Computer 11 Storage medium 22 Printer driver 33 Determination function 34 Creation function 35 Printing function 37, 38 Determination function 41 Drawing data 42 Character string information 44 in a specific format Symbol code 51 Print condition setting print dialog 61 Symbol code Replacement font setting dialog 81 Drawing data 82 Symbol code 91 Error dialog 92, 93 Error report

Claims (37)

プリンタに接続されたコンピュータにインストールされ、前記コンピュータに、
印刷要求に応じて入力される描画データ中にシンボルコード描画の情報が含まれているか否かを判定する機能と、
判定の結果、シンボルコード描画の情報が含まれている場合には、当該シンボルコード描画の情報を解析し解析された情報に基づきシンボルコードのイメージデータを作成する機能と、
作成されたシンボルコードのイメージデータを前記プリンタに出力させてシンボルコードを印刷させる機能と、
を実行させるプリンタドライバ。
Installed on a computer connected to a printer,
A function for determining whether or not symbol code drawing information is included in drawing data input in response to a print request;
As a result of the determination, if symbol code drawing information is included, a function of analyzing the symbol code drawing information and creating image data of the symbol code based on the analyzed information;
A function of outputting the created symbol code image data to the printer and printing the symbol code;
A printer driver that runs
前記シンボルコード描画の情報は、予め設定された特定書式の文字列情報であり、
前記判定する機能は、入力される前記描画データにおける文字列情報中に当該特定書式の文字列情報が含まれているか否かを判定する、請求項1記載のプリンタドライバ。
The symbol code drawing information is character string information in a specific format set in advance,
The printer driver according to claim 1, wherein the determination function determines whether or not character string information of the specific format is included in character string information in the input drawing data.
前記特定書式の文字列は、[使用するシンボルコード名,シンボルコードに変換する文字列]からなり、
前記判定する機能は、前記使用するシンボルコード名が含まれていることによりシンボルコード描画の情報が含まれていると判定し、
前記作成する機能は、前記シンボルコードに変換する文字列の情報に基づきシンボルコードのイメージデータを作成する、請求項2記載のプリンタドライバ。
The character string in the specific format consists of [name of symbol code to be used, character string to be converted to symbol code],
The determination function determines that the symbol code drawing information is included by including the symbol code name to be used,
The printer driver according to claim 2, wherein the creating function creates image data of a symbol code based on information on a character string to be converted into the symbol code.
前記特定書式の文字列は、[使用するシンボルコード名,シンボルコードに変換する文字列,シンボルコードのサイズ]からなり、
前記判定する機能は、前記使用するシンボルコード名が含まれていることによりシンボルコード描画の情報が含まれていると判定し、
前記作成する機能は、前記シンボルコードに変換する文字列の情報に基づき前記シンボルコードのサイズに従うサイズのシンボルコードのイメージデータを作成する、請求項2記載のプリンタドライバ。
The character string of the specific format consists of [symbol code name to be used, character string to be converted to symbol code, symbol code size]
The determination function determines that the symbol code drawing information is included by including the symbol code name to be used,
The printer driver according to claim 2, wherein the creating function creates image data of a symbol code having a size according to a size of the symbol code based on information of a character string to be converted into the symbol code.
前記特定書式の文字列は、使用するシンボルコード名に対応付けて予め設定された特定フォントによるシンボルコードに変換する文字列であり、
前記判定する機能は、前記特定フォントの文字列が含まれていることによりシンボルコード描画の情報が含まれていると判定し、
前記作成する機能は、前記シンボルコードに変換する文字列の情報に基づきシンボルコードのイメージデータを作成する、請求項2記載のプリンタドライバ。
The character string of the specific format is a character string to be converted into a symbol code with a specific font set in advance in association with the symbol code name to be used,
The determination function determines that symbol code drawing information is included by including a character string of the specific font,
The printer driver according to claim 2, wherein the creating function creates image data of a symbol code based on information on a character string to be converted into the symbol code.
ユーザインターフェースとして前記特定フォントを使用するシンボルコード名に対応付けて予め設定させるシンボルコード置換用フォント設定ダイアログを提供する機能を前記コンピュータに実行させる、請求項5記載のプリンタドライバ。   6. The printer driver according to claim 5, wherein the computer is caused to execute a function of providing a symbol code replacement font setting dialog that is set in advance in association with a symbol code name that uses the specific font as a user interface. 文字列で表現できない制御コード部分は、予め設定された文字列を用いて前記シンボルコードに変換する文字列中に指定させる、請求項3ないし6の何れか一記載のプリンタドライバ。   7. The printer driver according to claim 3, wherein a control code portion that cannot be expressed by a character string is designated in a character string to be converted into the symbol code using a preset character string. 前記作成する機能は、前記特定書式の文字列情報の文字サイズに応じて作成するシンボルコードのイメージデータのサイズを決定する、請求項2,3,5,6又は7記載のプリンタドライバ。   8. The printer driver according to claim 2, wherein the function to create determines a size of image data of a symbol code to be created according to a character size of character string information in the specific format. ユーザインターフェースとしてシンボルコードのサイズ設定を含む印刷条件設定印刷ダイアログを提供する機能を前記コンピュータに実行させ、
前記作成する機能は、前記印刷条件設定印刷ダイアログを通じて設定されたサイズに応じて作成するシンボルコードのイメージデータのサイズを決定する、請求項2,3,5,6又は7記載のプリンタドライバ。
Causing the computer to execute a function of providing a print condition setting print dialog including a symbol code size setting as a user interface;
8. The printer driver according to claim 2, wherein the function to be created determines a size of symbol code image data to be created according to a size set through the print condition setting print dialog.
前記作成する機能は、作成したシンボルコードの背景に空白を付与する機能を前記コンピュータに実行させる、請求項1ないし9の何れか一記載のプリンタドライバ。   The printer driver according to claim 1, wherein the function to be created causes the computer to execute a function of adding a blank to the background of the created symbol code. 前記空白を付与する機能は、作成したシンボルコードのサイズに応じて付与する当該空白部分のサイズを決定する、請求項10記載のプリンタドライバ。   The printer driver according to claim 10, wherein the function of assigning a blank determines the size of the blank to be imparted according to the size of the created symbol code. ユーザインターフェースとして付与する前記空白部分のサイズ設定を含む印刷条件設定印刷ダイアログを提供する機能を前記コンピュータに実行させ、
前記空白を付与する機能は、前記印刷条件設定印刷ダイアログを通じて設定されたサイズ分の空白を付与する、請求項10記載のプリンタドライバ。
Causing the computer to execute a function of providing a print condition setting print dialog including a size setting of the blank portion to be provided as a user interface;
The printer driver according to claim 10, wherein the function of adding a blank adds a blank of a size set through the print condition setting print dialog.
前記シンボルコード描画の情報は、イメージデータで作成されたシンボルコードであり、
前記判定する機能は、入力される前記描画データにおけるイメージデータ中にシンボルコードの情報が含まれているか否かを解析し、
判定の結果、イメージデータ中にシンボルコードの情報が含まれている場合には、前記作成する機能は、当該シンボルコードの内容を読取りその内容に基づき再度シンボルコードのイメージデータを作成し直す、請求項1記載のプリンタドライバ。
The symbol code drawing information is a symbol code created with image data,
The determination function analyzes whether or not symbol code information is included in the image data in the input drawing data,
As a result of the determination, when the symbol data is included in the image data, the creating function reads the content of the symbol code and creates symbol code image data again based on the content. Item 2. The printer driver according to Item 1.
前記シンボルコード描画の情報は、グラフィックデータで作成されたシンボルコードであり、
前記判定する機能は、入力される前記描画データにおけるグラフィックデータ中にシンボルコードの情報が含まれているか否かを判定し、
判定の結果、グラフィックデータ中にシンボルコードの情報が含まれている場合には、前記作成する機能は、当該シンボルコードの内容を読取りその内容に基づきシンボルコードのイメージデータを作成する、請求項1記載のプリンタドライバ。
The symbol code drawing information is a symbol code created with graphic data,
The determination function determines whether or not symbol code information is included in graphic data in the input drawing data,
2. As a result of the determination, when the symbol data is included in the graphic data, the creating function reads the content of the symbol code and creates image data of the symbol code based on the content. The printer driver described.
判定の結果、シンボルコード描画の情報が含まれている場合において当該情報に基づきシンボルコードを作成する上でシンボルコードとしての適合性を判定する機能と、
適合しないと判定された場合には、その旨をユーザに知らせる機能と、
を前記コンピュータに実行させる、請求項1ないし14の何れか一記載のプリンタドライバ。
As a result of determination, when symbol code drawing information is included, a function for determining suitability as a symbol code in creating a symbol code based on the information;
A function to notify the user when it is determined to be non-conforming, and
The printer driver according to claim 1, wherein the printer is executed by the computer.
前記知らせる機能は、前記作成する機能によりシンボルコードを作成させないことによりその旨をユーザに知らせる、請求項15記載のプリンタドライバ。   The printer driver according to claim 15, wherein the notifying function notifies the user of the fact by not causing the creating function to create a symbol code. 前記知らせる機能は、適合しない旨のエラーレポートを前記プリンタに印刷出力させる、請求項15記載のプリンタドライバ。   The printer driver according to claim 15, wherein the notification function causes the printer to print out an error report indicating that the information does not conform. 前記知らせる機能は、適合しない旨をユーザインターフェースとしてエラーダイアログにより表示させる、請求項15記載のプリンタドライバ。   The printer driver according to claim 15, wherein the notification function displays an error dialog as a user interface indicating that the function is not compatible. 請求項1ないし18の何れか一記載のプリンタドライバが格納されているコンピュータに読取り可能な記憶媒体。   A computer-readable storage medium in which the printer driver according to any one of claims 1 to 18 is stored. アプリケーションからの印刷要求をプリンタに送信する際に印刷要求に応じてプリンタドライバに入力される描画データ中にシンボルコード描画の情報が含まれているか否か当該描画データの内容を判定するステップと、
判定の結果、シンボルコード描画の情報が含まれている場合には、前記プリンタドライバにおいて当該シンボルコード描画の情報に基づきシンボルコードのイメージデータを作成するステップと、
作成されたシンボルコードのイメージデータを前記プリンタドライバから前記プリンタに出力させてシンボルコードを印刷させるステップと、
を備えるシンボルコード印刷方法。
Determining whether or not symbol code drawing information is included in drawing data input to the printer driver in response to a print request when a print request from an application is transmitted to the printer;
If the determination result includes symbol code drawing information, the printer driver creates symbol code image data based on the symbol code drawing information;
Outputting image data of the created symbol code from the printer driver to the printer, and printing the symbol code;
A symbol code printing method comprising:
前記シンボルコード描画の情報は、予め設定された特定書式の文字列情報であり、
前記判定するステップは、入力される前記描画データにおける文字列情報中に当該特定書式の文字列情報が含まれているか否かを判定する、請求項20記載のシンボルコード印刷方法。
The symbol code drawing information is character string information in a specific format set in advance,
21. The symbol code printing method according to claim 20, wherein the determining step determines whether or not character string information of the specific format is included in character string information in the input drawing data.
前記特定書式の文字列は、[使用するシンボルコード名,シンボルコードに変換する文字列]からなり、
前記判定するステップは、前記使用するシンボルコード名が含まれていることによりシンボルコード描画の情報が含まれていると判定し、
前記作成するステップは、前記シンボルコードに変換する文字列の情報に基づきシンボルコードのイメージデータを作成する、請求項21記載のシンボルコード印刷方法。
The character string in the specific format consists of [name of symbol code to be used, character string to be converted to symbol code],
The determining step determines that the symbol code drawing information is included by including the symbol code name to be used,
The symbol code printing method according to claim 21, wherein the creating step creates image data of a symbol code based on information on a character string to be converted into the symbol code.
前記特定書式の文字列は、[使用するシンボルコード名,シンボルコードに変換する文字列,シンボルコードのサイズ]からなり、
前記判定するステップは、前記使用するシンボルコード名が含まれていることによりシンボルコード描画の情報が含まれていると判定し、
前記作成するステップは、前記シンボルコードに変換する文字列の情報に基づき前記シンボルコードのサイズに従うサイズのシンボルコードのイメージデータを作成する、請求項2記載のシンボルコード印刷方法。
The character string of the specific format consists of [symbol code name to be used, character string to be converted to symbol code, symbol code size]
The determining step determines that the symbol code drawing information is included by including the symbol code name to be used,
The symbol code printing method according to claim 2, wherein the creating step creates image data of a symbol code having a size according to a size of the symbol code based on information of a character string to be converted into the symbol code.
前記特定書式の文字列は、使用するシンボルコード名に対応付けて予め設定された特定フォントによるシンボルコードに変換する文字列であり、
前記判定するステップは、前記特定フォントの文字列が含まれていることによりシンボルコード描画の情報が含まれていると判定し、
前記作成するステップは、前記シンボルコードに変換する文字列の情報に基づきシンボルコードのイメージデータを作成する、請求項2記載のシンボルコード印刷方法。
The character string of the specific format is a character string to be converted into a symbol code with a specific font set in advance in association with the symbol code name to be used,
The determining step determines that symbol code drawing information is included by including the character string of the specific font;
The symbol code printing method according to claim 2, wherein the creating step creates image data of a symbol code based on information on a character string to be converted into the symbol code.
ユーザインターフェースとして前記特定フォントを使用するシンボルコード名に対応付けて予め設定させるシンボルコード置換用フォント設定ダイアログを提供するステップを含む、請求項24記載のシンボルコード印刷方法。   25. The symbol code printing method according to claim 24, further comprising a step of providing a symbol code replacement font setting dialog that is set in advance in association with a symbol code name that uses the specific font as a user interface. 文字列で表現できない制御コード部分は、予め設定された文字列を用いて前記シンボルコードに変換する文字列中に指定させる、請求項22ないし25の何れか一記載のシンボルコード印刷方法。   26. The symbol code printing method according to claim 22, wherein a control code portion that cannot be expressed by a character string is specified in a character string to be converted into the symbol code using a preset character string. 前記作成するステップは、前記特定書式の文字列情報の文字サイズに応じて作成するシンボルコードのイメージデータのサイズを決定する、請求項21,22,24,25又は26記載のシンボルコード印刷方法。   27. The symbol code printing method according to claim 21, 22, 24, 25, or 26, wherein the creating step determines a size of symbol code image data to be created according to a character size of the character string information of the specific format. ユーザインターフェースとしてシンボルコードのサイズ設定を含む印刷条件設定印刷ダイアログを提供するステップを含み、
前記作成するステップは、前記印刷条件設定印刷ダイアログを通じて設定されたサイズに応じて作成するシンボルコードのイメージデータのサイズを決定する、請求項21,22,24,25又は26記載のシンボルコード印刷方法。
Providing a print condition setting print dialog including a symbol code size setting as a user interface,
27. The symbol code printing method according to claim 21, wherein the size of the symbol code image data to be created is determined in accordance with a size set through the print condition setting print dialog. .
前記作成するステップは、作成したシンボルコードの背景に空白を付与するステップを含む、請求項20ないし28の何れか一記載のシンボルコード印刷方法。   The symbol code printing method according to any one of claims 20 to 28, wherein the creating step includes a step of adding a blank to a background of the created symbol code. 前記空白を付与するステップは、作成したシンボルコードのサイズに応じて付与する当該空白部分のサイズを決定する、請求項29記載のシンボルコード印刷方法。   30. The symbol code printing method according to claim 29, wherein in the step of assigning a blank, the size of the blank portion to be assigned is determined according to the size of the created symbol code. ユーザインターフェースとして付与する前記空白部分のサイズ設定を含む印刷条件設定印刷ダイアログを提供するステップを含み、
前記空白を付与するステップは、前記印刷条件設定印刷ダイアログを通じて設定されたサイズ分の空白を付与する、請求項29記載のシンボルコード印刷方法。
Providing a print condition setting print dialog including a size setting of the blank portion to be provided as a user interface;
30. The symbol code printing method according to claim 29, wherein in the step of assigning a blank, a blank corresponding to a size set through the print condition setting print dialog is given.
前記シンボルコード描画の情報は、イメージデータで作成されたシンボルコードであり、
前記判定するステップは、入力される前記描画データにおけるイメージデータ中にシンボルコードの情報が含まれているか否かを解析し、
判定の結果、イメージデータ中にシンボルコードの情報が含まれている場合には、前記作成するステップは、当該シンボルコードの内容を読取りその内容に基づき再度シンボルコードのイメージデータを作成し直す、請求項20記載のシンボルコード印刷方法。
The symbol code drawing information is a symbol code created with image data,
The determining step analyzes whether or not symbol code information is included in the image data in the input drawing data;
As a result of the determination, when the symbol data is included in the image data, the creating step reads the content of the symbol code and recreates the symbol code image data again based on the content. Item 20. The symbol code printing method according to Item 20.
前記シンボルコード描画の情報は、グラフィックデータで作成されたシンボルコードであり、
前記判定するステップは、入力される前記描画データにおけるグラフィックデータ中にシンボルコードの情報が含まれているか否かを解析し、
判定の結果、グラフィックデータ中にシンボルコードの情報が含まれている場合には、前記作成するステップは、当該シンボルコードの内容を読取りその内容に基づきシンボルコードのイメージデータを作成する、請求項20記載のシンボルコード印刷方法。
The symbol code drawing information is a symbol code created with graphic data,
The determining step analyzes whether or not symbol code information is included in graphic data in the input drawing data;
21. As a result of the determination, if the graphic data includes symbol code information, the creating step reads the content of the symbol code and creates image data of the symbol code based on the content. The described symbol code printing method.
判定の結果、シンボルコード描画の情報が含まれている場合において当該情報に基づきシンボルコードを作成する上でシンボルコードとしての適合性を判定するステップと、
適合しないと判定された場合には、その旨をユーザに知らせるステップと、
を備える、請求項20ないし33の何れか一記載のシンボルコード印刷方法。
As a result of the determination, when symbol code drawing information is included, a step of determining suitability as a symbol code in creating a symbol code based on the information;
If it is determined that it does not fit, informing the user to that effect;
34. The symbol code printing method according to claim 20, further comprising:
前記知らせるステップは、前記作成するステップによりシンボルコードを作成させないことによりその旨をユーザに知らせる、請求項34記載のシンボルコード印刷方法。   35. The symbol code printing method according to claim 34, wherein in the notifying step, the user is informed by not creating a symbol code in the creating step. 前記知らせるステップは、適合しない旨のエラーレポートを前記プリンタに印刷出力させる、請求項34記載のシンボルコード印刷方法。   35. The symbol code printing method according to claim 34, wherein the notifying step causes the printer to print out an error report indicating that it does not conform. 前記知らせるステップは、適合しない旨をユーザインターフェースとしてエラーダイアログにより表示させる、請求項34記載のシンボルコード印刷方法。
35. The symbol code printing method according to claim 34, wherein in the notifying step, an error dialog is displayed as a user interface to the effect that the information is not compatible.
JP2004209639A 2004-07-16 2004-07-16 Printer driver, storage medium, and symbol code printing method Pending JP2006031427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004209639A JP2006031427A (en) 2004-07-16 2004-07-16 Printer driver, storage medium, and symbol code printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004209639A JP2006031427A (en) 2004-07-16 2004-07-16 Printer driver, storage medium, and symbol code printing method

Publications (2)

Publication Number Publication Date
JP2006031427A true JP2006031427A (en) 2006-02-02
JP2006031427A5 JP2006031427A5 (en) 2007-05-10

Family

ID=35897686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004209639A Pending JP2006031427A (en) 2004-07-16 2004-07-16 Printer driver, storage medium, and symbol code printing method

Country Status (1)

Country Link
JP (1) JP2006031427A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007304799A (en) * 2006-05-10 2007-11-22 Hypergear:Kk Program for printing
JP2008146406A (en) * 2006-12-11 2008-06-26 Seiko Epson Corp Printing system and printing control method in printing system
US7841013B2 (en) 2006-02-07 2010-11-23 Murata Kikai Kabushiki Kaisha Image forming device, computer program, and data file
JP2012194688A (en) * 2011-03-15 2012-10-11 Fujitsu Component Ltd Print control program
US8328319B2 (en) 2008-10-10 2012-12-11 Seiko Epson Corporation Print control apparatus, print control method, and storage medium
JP2014002697A (en) * 2012-06-21 2014-01-09 Seiko Epson Corp Image processing device, image processing system, and printing method
CN103516952A (en) * 2012-06-21 2014-01-15 精工爱普生株式会社 Image processing device, image processing system, and printing method
JP2014182692A (en) * 2013-03-21 2014-09-29 Seiko Epson Corp Print control program, print control device, and print control method
JP2015005194A (en) * 2013-06-21 2015-01-08 富士通コンポーネント株式会社 Printer, print control program, and printing system
JP2016133979A (en) * 2015-01-19 2016-07-25 富士ゼロックス株式会社 Printing instruction apparatus, printing system, and program
US10732914B2 (en) 2018-06-28 2020-08-04 Ricoh Company, Ltd. Information processing apparatus configured to determine a character code compatible with an external device, method, and non-transitory recording medium storing instructions for executing an information processing method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7841013B2 (en) 2006-02-07 2010-11-23 Murata Kikai Kabushiki Kaisha Image forming device, computer program, and data file
JP2007304799A (en) * 2006-05-10 2007-11-22 Hypergear:Kk Program for printing
JP2008146406A (en) * 2006-12-11 2008-06-26 Seiko Epson Corp Printing system and printing control method in printing system
US8328319B2 (en) 2008-10-10 2012-12-11 Seiko Epson Corporation Print control apparatus, print control method, and storage medium
JP2012194688A (en) * 2011-03-15 2012-10-11 Fujitsu Component Ltd Print control program
CN103516952A (en) * 2012-06-21 2014-01-15 精工爱普生株式会社 Image processing device, image processing system, and printing method
JP2014002697A (en) * 2012-06-21 2014-01-09 Seiko Epson Corp Image processing device, image processing system, and printing method
EP2677418A3 (en) * 2012-06-21 2014-05-21 Seiko Epson Corporation Image processing device, image processing system, and printing method
US9135534B2 (en) 2012-06-21 2015-09-15 Seiko Epson Corporation Image processing device, image processing system, and printing method
JP2014182692A (en) * 2013-03-21 2014-09-29 Seiko Epson Corp Print control program, print control device, and print control method
JP2015005194A (en) * 2013-06-21 2015-01-08 富士通コンポーネント株式会社 Printer, print control program, and printing system
JP2016133979A (en) * 2015-01-19 2016-07-25 富士ゼロックス株式会社 Printing instruction apparatus, printing system, and program
US10732914B2 (en) 2018-06-28 2020-08-04 Ricoh Company, Ltd. Information processing apparatus configured to determine a character code compatible with an external device, method, and non-transitory recording medium storing instructions for executing an information processing method

Similar Documents

Publication Publication Date Title
US9753677B2 (en) Apparatus and methods for image processing optimization for variable data printing
US8614833B2 (en) Printer, printer driver, printing system, and print controlling method
EP2575024B1 (en) Print data processing apparatus, a print data processing method, a printing system and program, a page data creating apparatus, and a rasterization processing apparatus
JP2006031427A (en) Printer driver, storage medium, and symbol code printing method
US6633890B1 (en) Method for washing of graphic image files
JP2006031427A5 (en)
JP2005227865A (en) Print control device, method, and program
US6903839B1 (en) Apparatus for washing of graphic image files
US20080174824A1 (en) Print data processing device and print data processing program
JPH11221946A (en) Printing system and printing method
US20100147960A1 (en) Methods, devices, and systems for printing bar codes
JP4470828B2 (en) Printer, printer driver
JPH08160934A (en) Character information processing device
KR100742332B1 (en) Print control device and print control method
JP4218517B2 (en) Color correction device
US8045227B2 (en) Print controlling device, image forming device, print controlling method, and computer readable recording medium storing control program
EP3346376B1 (en) Printer script autocorrect
JP6437076B2 (en) Information processing apparatus, control method therefor, and program
JP4968417B1 (en) Print data conversion apparatus and program
JP7480612B2 (en) Image processing device, image forming device and program
US20250292001A1 (en) Information processing apparatus, information processing method, and storage medium
JP2009187168A (en) Information processor and information processing program
KR100571788B1 (en) How to enlarge the designated area of the document
WO2001018690A2 (en) Method and apparatus for normalization of image files and load balancing of operations
CN118132015A (en) Page generation method and device and image forming equipment

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20051021

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070209

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070209

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090804

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091001

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091201