JP5482438B2 - Printer driver, printing system, and printer driver control method - Google Patents
Printer driver, printing system, and printer driver control method Download PDFInfo
- Publication number
- JP5482438B2 JP5482438B2 JP2010114025A JP2010114025A JP5482438B2 JP 5482438 B2 JP5482438 B2 JP 5482438B2 JP 2010114025 A JP2010114025 A JP 2010114025A JP 2010114025 A JP2010114025 A JP 2010114025A JP 5482438 B2 JP5482438 B2 JP 5482438B2
- Authority
- JP
- Japan
- Prior art keywords
- identifier
- information
- printer driver
- decoration
- printing
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 13
- 238000005034 decoration Methods 0.000 claims description 82
- 238000000605 extraction Methods 0.000 claims description 9
- 239000000284 extract Substances 0.000 claims description 4
- 238000005259 measurement Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 235000013305 food Nutrition 0.000 description 6
- 239000007787 solid Substances 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 235000013372 meat Nutrition 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 235000012046 side dish Nutrition 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 235000021186 dishes Nutrition 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Record Information Processing For Printing (AREA)
Description
コード画像を印刷する印刷装置を制御するためのプリンタードライバー、印刷システム、プリンタードライバーの制御方法に関するものである。 The present invention relates to a printer driver, a printing system, and a printer driver control method for controlling a printing apparatus that prints a code image.
小売や物流の現場では、人や物品の識別などを行う有効な手段として、バーコードを代表とするコード画像(コードシンボル)が用いられている。近年では、情報活用の多様化や識別内容の複雑化などを背景に、コード画像に含まれる情報が増加傾向にある。コンピューター等の情報処理装置にとっては、このような膨大な情報の取り扱いが容易であるが、その物品等の取扱者にとっては、コード画像に含まれる情報を目視だけで把握することは容易ではなく、コード画像に、物品等の取り扱いに関する注意すべき情報が含まれている場合、取扱者にその情報を正確に通知することが困難であった。 In retail and physical distribution sites, code images (code symbols) typified by barcodes are used as effective means for identifying people and goods. In recent years, information included in code images has been increasing due to the diversification of information utilization and the complexity of identification contents. For an information processing device such as a computer, it is easy to handle such a large amount of information, but it is not easy for a handler of the article to grasp the information contained in the code image only by visual observation. When the code image includes information that should be noted regarding the handling of articles and the like, it has been difficult to accurately notify the operator of the information.
そこで、バーコードに含まれる情報のうち、取扱者が必要とする属性情報(実質文字列)を、他の情報(付加文字列)とは異なる印刷形態で印刷する技術が提案されている(例えば、特許文献1)。これにより、取扱者が、実質文字列を的確且つ迅速に認識することができる、といった利点がある。 Therefore, a technique has been proposed in which attribute information (substantial character string) required by a handler among information included in a barcode is printed in a printing form different from other information (additional character string) (for example, Patent Document 1). Thereby, there exists an advantage that a handler can recognize a real character string accurately and rapidly.
ところが、実際の使用状況では、取扱者が必要とする属性情報が定まらない場合も多い。例えば、スーパー等で商品に貼付されるラベルの場合、消費期限などの属性情報は、生鮮食品や惣菜の場合非常に重要であるが、乾物など消費期限が長く設定されている場合はあまり重要視されない。つまり、同じ属性情報であっても、商品や販売日時などの条件によって、重要度が変化することが考えられる。ところが、従来の技術では、条件に応じて、コード画像に含まれる属性情報の印刷形態を変化するものは存在しない。 However, there are many cases where the attribute information required by the operator cannot be determined in actual usage conditions. For example, in the case of labels attached to products at supermarkets, attribute information such as expiry date is very important for fresh foods and prepared dishes, but it is less important when expiry date such as dry food is set longer. Not. That is, even if the attribute information is the same, the degree of importance may change depending on conditions such as the product and the sales date. However, there is no conventional technique that changes the printing mode of attribute information included in a code image according to conditions.
本発明は、このような問題点に鑑み、取扱者が情報を容易に把握できるように、同じ属性情報であっても、条件を満たすか否かに応じて印刷形態を変化させることができるプリンタードライバー、印刷システム、プリンタードライバーの制御方法を提供することを目的とする。 In view of such a problem, the present invention is a printer capable of changing a printing form depending on whether or not a condition is satisfied even if the attribute information is the same so that a handler can easily grasp the information. It is an object to provide a driver, a printing system, and a printer driver control method.
本発明のプリンタードライバーは、コード画像を印刷する印刷装置を制御するためのプリンタードライバーであって、コード画像を印刷するための情報であり、識別子および当該識別子に付加されたパラメーターから成る属性情報を1以上含むコード情報を取得するコード情報取得部と、識別子と、所定の印刷要素に装飾を施して印刷するための装飾情報と、パラメーターに基づいて当該装飾を施すか否かを判定するための条件と、を関連付けて記憶する記憶部と、取得したコード情報から、記憶部に記憶されている識別子が含まれる属性情報を抽出する属性情報抽出部と、抽出した属性情報に含まれるパラメーターが、当該属性情報に含まれる識別子に記憶部で関連付けられた条件を満たすか否かを判別する条件判別部と、条件判別部により、パラメーターが条件を満たすと判定された場合、識別子に関連付けられた装飾情報に基づいて、印刷装置に対し印刷指令を行う印刷指令部と、を備えたことを特徴とする。 The printer driver of the present invention is a printer driver for controlling a printing apparatus that prints a code image, and is information for printing a code image, and includes attribute information including an identifier and a parameter added to the identifier. A code information acquisition unit that acquires code information including one or more, an identifier, decoration information for printing a predetermined print element with decoration, and determining whether or not to apply the decoration based on a parameter A storage unit that associates and stores a condition, an attribute information extraction unit that extracts attribute information that includes an identifier stored in the storage unit from the acquired code information, and a parameter that is included in the extracted attribute information. A condition determination unit that determines whether or not a condition associated with the identifier included in the attribute information is satisfied by the storage unit, and a condition determination unit If the parameter is determined to satisfy, on the basis of the decoration information associated with the identifier and a print command unit that performs printing command to the printing apparatus, comprising the.
本発明のプリンタードライバーの制御方法は、コード画像を印刷する印刷装置を制御するためのプリンタードライバーの制御方法であって、プリンタードライバーは、識別子と、所定の印刷要素に装飾を施して印刷するための装飾情報と、当該装飾を施すか否かを判定するための条件と、を関連付けて記憶する記憶部を備え、コード画像を印刷するための情報であり、識別子および当該識別子に付加されたパラメーターから成る属性情報を1以上含むコード情報を取得するステップと、取得したコード情報から、記憶部に記憶されている識別子が含まれる属性情報を抽出するステップと、抽出した属性情報に含まれるパラメーターが、当該属性情報に含まれる識別子に記憶部で関連付けられた条件を満たすか否かを判別するステップと、パラメーターが条件を満たすと判定された場合、識別子に関連付けられた装飾情報に基づいて、印刷装置に対し印刷指令を行うステップと、を実行することを特徴とする。 A printer driver control method according to the present invention is a printer driver control method for controlling a printing apparatus that prints a code image. The printer driver performs printing by decorating an identifier and a predetermined printing element. Is information for printing a code image, and includes an identifier and a parameter added to the identifier, and a storage unit for storing the decoration information and a condition for determining whether or not to apply the decoration. A step of acquiring code information including one or more attribute information comprising: a step of extracting attribute information including an identifier stored in the storage unit from the acquired code information; and a parameter included in the extracted attribute information. Determining whether or not a condition associated with the identifier included in the attribute information is satisfied in the storage unit; If Ta is determined to satisfy, on the basis of the decoration information associated with the identifier, and executes the steps of: performing a print command to the printing apparatus.
これらの構成によれば、属性情報に含まれるパラメーターが、記憶部において、当該属性情報に含まれる識別子に関連付けられた条件を満たすと判定された場合、当該条件および識別子に関連付けられた装飾情報に基づいて印刷指令を行うため、パラメーターの内容などに応じて印刷形態を変化させることができる。これにより、例えば、印刷内容の重要度に応じて印刷形態を変化させることができ、取扱者は、重要な情報を的確且つ迅速に把握することができる。また、プリンタードライバーで装飾を施す構成であるため、コード情報を生成するコンピューター自体の変更(アプリケーションソフトの変更)や印刷装置の入れ替えなどの大幅な改造を必要とすることなく、プリンタードライバーの変更だけで本発明を実現することができる。また、コンピューターや印刷装置のバージョンアップも支障なく行うことができる。 According to these configurations, when the storage unit determines that the parameter included in the attribute information satisfies the condition associated with the identifier included in the attribute information, the decoration information associated with the condition and the identifier is included in the decoration information. Since the print command is issued based on the print command, the print mode can be changed according to the parameter contents. Thereby, for example, the print form can be changed according to the importance of the print content, and the handler can accurately and quickly grasp important information. In addition, the printer driver is decorated so that only the printer driver can be changed without requiring major modifications such as changing the computer that generates the code information (changing application software) or replacing the printing device. Thus, the present invention can be realized. In addition, it is possible to upgrade the computer and the printing apparatus without any trouble.
上記に記載のプリンタードライバーにおいて、印刷指令部は、識別子に関連付けられた装飾情報に基づいて装飾が施された所定の印刷要素と、コード情報取得部により取得したコード情報に基づくコード画像と、の印刷を指令することが好ましい。 In the printer driver described above, the print command unit includes a predetermined print element that is decorated based on the decoration information associated with the identifier, and a code image based on the code information acquired by the code information acquisition unit. It is preferable to command printing.
この構成によれば、装飾情報に基づく装飾が施された所定の印刷要素だけでなく、コード情報に基づくコード画像も印刷させることができる。 According to this configuration, it is possible to print not only the predetermined print element that is decorated based on the decoration information but also the code image based on the code information.
上記に記載のプリンタードライバーにおいて、記所定の印刷要素は、識別子に付加されたパラメーターを指すことが好ましい。 In the printer driver described above, the predetermined printing element preferably indicates a parameter added to the identifier.
この構成によれば、所定の印刷要素を含む装飾情報に関連付けられているパラメーターに対して、装飾情報に基づく装飾を施すことができる。例えば、識別子が商品コードを示すものである場合、そのパラメーターであるコードに対して装飾を施すことができる。 According to this configuration, the decoration based on the decoration information can be applied to the parameter associated with the decoration information including the predetermined print element. For example, if the identifier indicates a product code, the code that is the parameter can be decorated.
上記に記載のプリンタードライバーにおいて、印刷指令部は、パラメーターに、識別子に対応するテキストを付加して印刷するように指令を行うことが好ましい。 In the printer driver described above, it is preferable that the print command unit instructs the parameter to be added with text corresponding to the identifier for printing.
この構成によれば、装飾情報に基づく装飾が施されたパラメーターと共に、識別子に対応するテキストを印刷させることができる。例えば、識別子が商品コードを示すものである場合、識別子に対応するテキスト(例えば、「商品コード:」)を、そのパラメーターであるコードの先頭に付加して印刷させることができる。 According to this configuration, it is possible to print the text corresponding to the identifier together with the parameter that is decorated based on the decoration information. For example, when the identifier indicates a product code, text corresponding to the identifier (for example, “product code:”) can be added to the head of the code that is the parameter and printed.
上記に記載のプリンタードライバーにおいて、識別子は、商品コードを示すものであり、条件判別部は、商品データーベースの参照結果から、パラメーターによって特定される商品が広告対象商品であると判定できた場合、条件を満たすと判定することが好ましい。 In the printer driver described above, the identifier indicates a product code, and the condition determination unit can determine from the reference result of the product database that the product specified by the parameter is the product to be advertised, It is preferable to determine that the condition is satisfied.
この構成によれば、条件を、「パラメーターによって特定される商品が広告対象商品であること」としているため、広告対象商品を対象としたコード情報を取得した場合のみ、所定の印刷要素に装飾を施すことができる。これにより、例えば、広告対象商品を対象としたラベルに、「広告の品」のロゴを付加するなどの装飾を行うことができる。 According to this configuration, since the condition is “the product specified by the parameter is the advertising target product”, the decoration is applied to the predetermined print element only when the code information for the advertising target product is acquired. Can be applied. As a result, for example, decoration such as adding an “advertisement product” logo to a label targeted for the advertisement target product can be performed.
上記に記載のプリンタードライバーにおいて、識別子は、期限日を示すものであり、条件判別部は、計時部の計時結果から、パラメーターによって特定される日付までの残り日数が所定日数以内であると判定できた場合、条件を満たすと判定することが好ましい。 In the printer driver described above, the identifier indicates an expiration date, and the condition determination unit can determine that the remaining number of days from the timing result of the timing unit to the date specified by the parameter is within a predetermined number of days. It is preferable to satisfy the condition.
この構成によれば、条件を、「パラメーターによって特定される日付までの残り日数が所定日数以内であること」としているため、消費期限日や賞味期限日が残り少ない商品を対象としたコード情報を取得した場合のみ、所定の印刷要素に装飾を施すことができる。これにより、例えば、消費期限日や賞味期限日が近い商品を対象としたラベルに、日付(パラメーター)を強調して印刷するなどの装飾を行うことができる。 According to this configuration, since the condition is that “the number of days remaining until the date specified by the parameter is within a predetermined number of days”, code information for products with few remaining expiration dates or expiration dates is acquired. Only when it is done can decorate a given print element. Thereby, for example, it is possible to perform decoration such as emphasizing the date (parameter) and printing on a label for a product whose expiration date is close to the expiration date.
上記に記載のプリンタードライバーにおいて、装飾情報は、文字サイズ、文字スタイル、下線、罫線、枠線、文字飾り、文字色、線色、地紋色、文字種類、画像付加、印刷位置、のうち、1以上に関する情報を含むことが好ましい。 In the printer driver described above, the decoration information includes 1 of character size, character style, underline, ruled line, frame line, character decoration, character color, line color, tint block color, character type, image addition, and printing position. It is preferable that the information regarding the above is included.
この構成によれば、文字サイズ(フォントサイズ)、文字スタイル(斜体、太字など)、下線、罫線、枠線、文字飾り(取り消し線、中抜き、浮き出し、隠し文字など)、文字色、線色、地紋色、文字種類(フォント種類)、画像付加、印刷位置(印刷媒体上における絶対位置の指定、他情報との相対位置の指定)、などの装飾を施すことができる。 According to this configuration, character size (font size), character style (italic, bold, etc.), underline, ruled line, border, character decoration (strikeout, hollow, embossed, hidden character, etc.), character color, line color , Decoration such as tint block color, character type (font type), image addition, print position (designation of absolute position on print medium, designation of relative position with other information), and the like can be performed.
本発明の印刷システムは、上記に記載のプリンタードライバーが組み込まれたコンピューターと、印刷装置と、を備えたことを特徴とする。 A printing system according to the present invention includes a computer in which the printer driver described above is incorporated, and a printing apparatus.
この構成によれば、同じ属性情報であっても、条件を満たすか否かに応じて印刷形態を変化させることにより、取扱者が情報を容易に把握できる印刷システムを実現することができる。 According to this configuration, even if the attribute information is the same, it is possible to realize a printing system in which the handler can easily grasp the information by changing the printing form depending on whether or not the condition is satisfied.
以下、本発明の一実施形態に係るプリンタードライバー、印刷システム、プリンタードライバーの制御方法について、添付図面を参照しながら詳細に説明する。図1は、印刷システムSYの構成を示すブロック図である。当該印刷システムSYは、印刷装置10と、当該印刷装置10に印刷データー40(図5(a)参照)を送信するコンピューター20と、を備えている。
Hereinafter, a printer driver, a printing system, and a printer driver control method according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing the configuration of the printing system SY. The printing system SY includes a
コンピューター20は、少なくともコード画像30を印刷するためのコード情報42(図2(a)参照)を生成、送信可能なものであれば良く、POS(Point Of Sales)端末やパーソナルコンピューターなど各種情報処理装置を適用可能である。なお、図1では、コード画像30としてバーコードを例示しているが、2次元コードやカラーコードなど、各種コードシンボルを採用可能である。
The
また、コンピューター20は、商品データーベース21を備えている。当該商品データーベース21は、各商品について、商品コード、固体識別番号、商品名、単価、割引率、商品属性(広告対象商品、タイムサービス商品など)などが記録されたものである。なお、商品データーベース21をコンピューター20内に備えるのではなく、独立して印刷システムSY内に設けても良い。また、不図示のPOSサーバー内に商品データーベース21を備えても良い。
The
また、コンピューター20は、プリンタードライバー60を備えている。当該プリンタードライバー60は、印刷装置10を制御するためのものであり、コンピューター20にインストールされて用いられる。
The
ここで、コンピューター20(プリンタードライバー60)の機能構成について説明する。図1に示すように、コンピューター20(本体側)は、主な機能構成として、印刷データー生成部23および計時部16を備えている。印刷データー生成部23は、商品ラベルLを印刷するための印刷データー40を生成する。なお、印刷データー生成部23は、コード情報42を生成可能なアプリケーションソフトにより実現される。例えば、コンピューター20がPOS端末の場合、POSアプリケーションにより実現される。
Here, the functional configuration of the computer 20 (printer driver 60) will be described. As shown in FIG. 1, the computer 20 (main body side) includes a print
計時部16は、RTC(Real Time Clock)などにより実現されるものであり、現在時刻を計時する。なお、コンピューター20内に計時部16を備えるのではなく、不図示の外部装置から時刻情報を取得することによって、現在時刻を特定できるようにしても良い。
The
一方、プリンタードライバー60は、主な機能構成として、印刷データー取得部11(コード情報取得部)、属性情報抽出部12、条件判別部13、印刷指令部19および記憶部15を備えている。
On the other hand, the
印刷データー取得部11は、印刷データー生成部23から印刷データー40を取得する。印刷データー40には、商品ラベルLに、商品名などのテキストを印刷するためのテキスト情報41、コード画像30を印刷するためのコード情報42、および商品ラベルLのラベル枠54を印刷するための枠線情報43などが含まれる(図5(a),(b)参照)。
The print
ここで、図2を参照し、コード情報42について説明する。図2(a)は、コード情報42の一例を示す図である。上記のとおり、コード情報42は、コード画像30を印刷するための情報であって、1以上の属性情報から成る。図2(a)は、コード情報42が、3つの属性情報から構成されている場合を例示している。
Here, the
また、図2(b)に示すように、属性情報は、各属性情報を識別するための識別子と、当該識別子に付加されたパラメーターと、から成る。同図では、識別子を、括弧付の3桁数字で示し、パラメーターを、6桁〜8桁の数字で示している。なお、コード画像30としては、GS1データーバーを用いることが可能であり、この場合の識別子としては、GS1アプリケーション識別子を適用可能である。但し、本実施形態では、GS1アプリケーション識別子の規格(ISO/IEC15418規格)とは関係なく、識別子およびデーター項目を規定するものとする。
As shown in FIG. 2B, the attribute information includes an identifier for identifying each attribute information and a parameter added to the identifier. In the figure, the identifier is indicated by a 3-digit number with parentheses, and the parameter is indicated by a 6- to 8-digit number. Note that a GS1 data bar can be used as the
図1の説明に戻る。記憶部15は、フラッシュメモリーなど不揮発性のメモリーにより実現されるものであり、印刷テーブル15a(図3参照)および装飾テーブル15b(図4参照)を備えている。印刷テーブル15aは、上記の「識別子」と、当該識別子が示す「データー項目」と、編集内容を示す「印刷情報」と、を関連付けたものである。また、装飾テーブル15bは、上記の「識別子」と、当該識別子が示す「データー項目」と、装飾を施すか否かを判定するための「条件」と、編集内容を示す「装飾情報」と、を関連付けたものである。編集内容の詳細については、後述する。
Returning to the description of FIG. The
属性情報抽出部12は、印刷データー取得部11により取得した印刷データー40内のコード情報42から、記憶部15(印刷テーブル15aおよび装飾テーブル15bの少なくとも一方)に記憶されている識別子が含まれる属性情報を抽出する。例えば、識別子「010」(データー項目:固体識別番号)の属性情報を含むコード情報42を取得した場合、印刷テーブル15aおよび装飾テーブル15bには、いずれも当該識別子が記憶されているため(図3の符号A,図4の符号B参照)、取得したコード情報42から、識別子「010」の属性情報が抽出される。
The attribute
条件判別部13は、装飾テーブル15bを参照し、属性情報抽出部12により抽出した属性情報に含まれるパラメーターが、当該属性情報に含まれる識別子に関連付けられた条件を満たすか否かを判別する。例えば、識別子「010」の属性情報を含むコード情報42を取得した場合、装飾テーブル15bでは、当該識別子に、条件「和牛を示すものであること」が関連付けられているため(符号B参照)、識別子「010」に続くパラメーターが、「和牛」を示すものであるか否かを判別する。
The
また、条件判別部13は、例えば条件が、「パラメーターによって特定される商品が広告対象商品であること」など、商品判定が必要なものである場合、商品データーベース21を参照して判別を行う。また、例えば条件が、「パラメーターによって特定される日付までの残り日数が所定日数以内であること」など、日付判定が必要なものである場合、計時部16の計時結果を参照して判別を行う。
In addition, the
印刷指令部19は、取得した印刷データー40に対し、装飾を施したり、印刷装置10に適した所定のデーター変換を行って、印刷装置10に対する印刷指令を行う。例えば、条件判別部13により、パラメーターが条件を満たすと判定された場合は、識別子に関連付けられた装飾情報に基づいて装飾を施した後、印刷装置10に対し印刷指令を行う。例えば、識別子「010」の属性情報を含むコード情報42を取得した場合であって、識別子「010」に続くパラメーターが「和牛」を示すものであった場合、当該識別子に関連付けられた装飾情報「牛のイラストを、位置****に印刷」(符号B参照)にしたがって、印刷データー40を編集する(装飾データーを付加する)。なお、条件判別部13により、パラメーターが条件を満たさないと判定された場合は、装飾テーブル15bに基づく装飾は行わない。
The
また、印刷指令部19は、属性情報抽出部12により、印刷テーブル15aに記憶されている識別子が含まれる属性情報を抽出した場合、当該識別子に関連付けられた印刷情報に基づいて印刷指令を行う。例えば、識別子「010」の属性情報を含むコード情報42を取得した場合、当該識別子に関連付けられた印刷情報「パラメーターを、テキスト「固体識別番号:」に続けて、位置****に印刷」(符号A参照)にしたがって、印刷データー40を編集する(テキストデーターを付加する)。
Further, when the attribute
一方、印刷装置10は、印刷データー40に含まれるコード情報42に基づいてコード画像30を印刷可能であることが条件である。本実施形態では、生鮮食品や惣菜などに貼付される商品ラベルLを作成するためのラベルプリンターであって、カラー印刷が可能な印刷装置10を例示する。なお、印刷装置10は、コンピューター20と有線接続されていても良いし、無線接続されていても良い。
On the other hand, it is a condition that the
印刷装置10は、主な機能構成として、印刷部14を備えている。印刷部14は、印刷ヘッド、ヘッド駆動機構、ラベル媒体搬送機構およびラベル切断機構等により実現される。なお、印刷部14の印刷方式としては、インクジェットプリンターやサーマルプリンターなど、各種方式を適用可能である。
The
次に、図5を参照し、プリンタードライバー60に入力される(アプリケーションソフトから出力される)印刷データー40と、当該印刷データー40に基づく商品ラベルLの印刷結果について説明する。図5(a)は、印刷データー40の一例を概念的に示した図である。例示した印刷データー40には、商品名を示すテキスト情報41と、コード情報42と、枠線情報43と、が含まれている。また、本例では、これら各情報41,42,43の印刷位置およびサイズ、並びにテキスト情報41のフォントおよび色に関する情報も、印刷データー40に含まれるものとする。さらに、コード情報42には、同図に示した6つの属性情報が含まれるものとする。
Next, the
図5(b)は、図5(a)に示した印刷データー40に基づく商品ラベルLの印刷結果を示す図である。同図に示すように、ラベル上には、「広告の品」と記載されたトップロゴ51、商品名52、詳細情報53、ラベル枠54、イラスト55、商品価格56およびコード画像30が印刷されている。なお、商品名52、ラベル枠54およびコード画像30は、それぞれ印刷データー40のテキスト情報41、枠線情報43およびコード情報42に基づいて印刷された項目である。
FIG. 5B is a diagram showing a print result of the product label L based on the
ここで、図6を参照し、印刷テーブル15a(図3参照)および装飾テーブル15b(図4参照)と、商品ラベルLの印刷結果との相関関係について説明する。図5(a)に示したとおり、印刷データー40(コード情報42)には識別子「001」(データー項目:商品コード)が含まれ、装飾テーブル15bに識別子「001」が記憶されているため、条件判別部13は、商品データーベース21を参照し、当該識別子に続くパラメーターによって特定される商品が、当該識別子に関連付けられた条件「広告対象商品であること」を満たすか否かを判別する。その結果、条件を満たす場合、当該識別子に関連付けられた装飾情報に基づいて、トップロゴ51が印刷される。言い換えれば、条件を満たさない場合(広告対象商品でない場合)は、トップロゴ51が印刷されない。なお、「ロゴ」とは、所定形式の画像データーを指すものであり、当該ロゴの指定により、当然、色およびサイズも指定される。
Here, with reference to FIG. 6, the correlation between the print table 15a (see FIG. 3) and the decoration table 15b (see FIG. 4) and the print result of the product label L will be described. As shown in FIG. 5A, the print data 40 (code information 42) includes the identifier “001” (data item: product code), and the identifier “001” is stored in the decoration table 15b. The
さらに、条件判別部13は、商品データーベース21を参照し、当該識別子に続くパラメーターによって特定される商品が、当該識別子に関連付けられた条件「精肉を示すものであること」を満たすか否かを判別する。その結果、条件を満たす場合、当該識別子に関連付けられた装飾情報に基づいて、ラベル枠54が変更されて印刷される。言い換えれば、条件を満たさない場合(精肉を示すものでない場合)は、枠線情報43に基づく規定の(予め定められた)ラベル枠が印刷される。
Furthermore, the
なお、図4に示すとおり、装飾情報には、各種装飾に関する編集内容が記述されている。装飾内容としては、文字サイズ(フォントサイズ)、文字スタイル(斜体、太字など)、下線、罫線、枠線、文字飾り(取り消し線、中抜き、浮き出し、隠し文字など)、文字色、線色、地紋色、文字種類(フォント種類)、画像付加、印刷位置(商品ラベルL上における絶対位置の指定、他情報との相対位置の指定)、などが挙げられる。また、装飾情報には、装飾の対象となる所定の印刷要素(トップロゴ51等のロゴやイラスト55の挿入領域、識別子に続くパラメーター、ラベル枠54など)についても記述されている。
As shown in FIG. 4, the decoration information describes edit contents related to various decorations. Decoration contents include character size (font size), character style (italic, bold, etc.), underline, ruled line, border, character decoration (strikeout, hollow, embossed, hidden character, etc.), character color, line color, Colors of background pattern, character type (font type), image addition, printing position (designation of absolute position on product label L, designation of relative position with other information), and the like. The decoration information also describes a predetermined print element to be decorated (a logo such as the
また、図5(a)に示した印刷データー40には、識別子「010」(データー項目:固体識別番号)も含まれる。さらに、印刷テーブル15aは、当該識別子「010」が記憶されている。したがって、印刷テーブル15aにおいて当該識別子に関連付けられた印刷情報に基づいて印刷が行われる。本実施形態では、識別子「010」に関連付けられた印刷情報に基づいて、詳細情報53の1行目が印刷されたものとする。図3に示すとおり、印刷情報には、印刷位置やテキスト挿入の他、各種装飾(上記の「装飾情報」参照)に関する編集内容が記述されている。
The
また、識別子「010」は、装飾テーブル15bにも記憶されているため、条件判別部13は、商品データーベース21を参照し、当該識別子に続くパラメーターによって特定される商品が、当該識別子に関連付けられた条件を満たすか否かを判別する。その結果、条件を満たす場合、当該識別子に関連付けられた装飾情報に基づいて、イラスト55が印刷される。
In addition, since the identifier “010” is also stored in the decoration table 15b, the
また、印刷データー40に含まれる識別子「011」(データー項目:消費期限)の属性情報(図5(a)参照)に基づいて、詳細情報53の2行目が印刷される。当該識別子「011」は、装飾テーブル15bにも記憶されているため、条件判別部13は、計時部16の計時結果を参照し、当該識別子に続くパラメーターによって特定される日付が、当該識別子に関連付けられた条件「残り日数が7日以内であること」を満たすか否かを判別する。その結果、条件を満たす場合、当該識別子に関連付けられた装飾情報に基づいて、消費期限のパラメーター部分が、赤色、強調、下線付きで印刷される。つまり、この場合は、装飾の対象となる所定の印刷要素が、識別子に続くパラメーターとなる。
Further, the second line of the
同様に、本実施形態では、印刷データー40に含まれる識別子「015」(データー項目:加工日)の属性情報に基づいて、詳細情報53の3行目が印刷され、印刷データー40に含まれる識別子「030」(データー項目:内容量)の属性情報に基づいて、詳細情報53の4行目が印刷され、印刷データー40に含まれる識別子「045」(データー項目:価格表示)の属性情報に基づいて、詳細情報53の5行目および商品価格56が印刷される。なお、詳細情報53は、いずれも、印刷テーブル15aの参照結果に基づいて、各識別子に対応するテキストが、当該識別子に続くパラメーターに付加して印刷されたものである(パラメーターテキスト印刷)。
Similarly, in the present embodiment, the third line of the
次に、図7のフローチャートを参照し、プリンタードライバー60の制御方法について説明する。ここでは、記憶部15内に、印刷テーブル15aおよび装飾テーブル15bが、予め設定されているものとして説明する。プリンタードライバー60は、印刷データー取得部11により、印刷データー40(コード情報42)を取得すると(S01)、属性情報抽出部12により、印刷テーブル15a内の識別子を含む属性情報が、取得したコード情報42に含まれるか否かを判別する(S02)。
Next, a control method of the
印刷テーブル15a内の識別子を含む属性情報がコード情報42に含まれる場合は(S02:Yes)、当該識別子に関連づけられた印刷情報に基づいて印刷を行うための編集を行う(S03)。一方、印刷テーブル15a内の識別子を含む属性情報がコード情報42に含まれない場合は(S02:No)、S03を省略する。 If the attribute information including the identifier in the print table 15a is included in the code information 42 (S02: Yes), editing for performing printing is performed based on the print information associated with the identifier (S03). On the other hand, when the attribute information including the identifier in the print table 15a is not included in the code information 42 (S02: No), S03 is omitted.
続いて、プリンタードライバー60は、属性情報抽出部12により、装飾テーブル15b内の識別子を含む属性情報が、取得したコード情報42に含まれるか否かを判別する(S04)。ここで、装飾テーブル15b内の識別子を含む属性情報がコード情報42に含まれる場合は(S04:Yes)、条件判別部13により、当該識別子に続くパラメーターが、装飾テーブル15bに記述された条件を満たすか否かを判別する(S05)。
Subsequently, the
条件判別部13により、当該識別子に続くパラメーターが条件を満たすと判定された場合は(S05:Yes)、装飾テーブル15bに記述された装飾情報に基づいて印刷を行うための編集を行う(S06)。一方、装飾テーブル15b内の識別子を含む属性情報がコード情報42に含まれない場合は(S04:No)、S05およびS06を省略し、識別子に続くパラメーターが条件を満たさない場合は(S05:No)、S06を省略する。その後、印刷指令部19により、S03およびS06の編集結果に基づいて(編集を行わなかった場合は、取得した印刷データー40そのものに基づいて)、印刷装置10に対し印刷指令を行う(S07)。
If the
以上説明したとおり、本実施形態の印刷システムSYによれば、プリンタードライバー60は、コンピューター20内のアプリケーションソフトから送信された印刷データー40に含まれるコード情報42内の任意の属性情報が、装飾テーブル15bで定められた条件を満たすと判定された場合、当該条件および識別子に関連付けられた装飾情報に基づいて印刷指令を行うため、属性情報の内容などに応じて印刷形態を変化させることができる。これにより、例えば、印刷内容の重要度に応じて印刷形態を変化させて印刷することができ、取扱者は、重要な情報を的確且つ迅速に把握することができる。また、プリンタードライバー60で装飾を施す構成であるため、コード情報42を生成するコンピューター20のアプリケーションソフトの変更や印刷装置10の入れ替えなどの大幅な改造を必要とすることなく、印刷形態を変化させることができる。また、コンピューター20や印刷装置10のバージョンアップも支障なく行うことができる。
As described above, according to the printing system SY of the present embodiment, the
また、プリンタードライバー60内には、装飾テーブル15b以外に、識別子毎に印刷情報(編集内容)が設定された印刷テーブル15aも記憶されているため、条件を満たすか否かに関わらず、特定の属性情報に対して一律に同様の装飾を施すことも可能である。
In addition to the decoration table 15b, the
なお、上記の実施形態では、商品ラベルL上に、コード画像30を印刷するものとしたが(図5(b)参照)、必ずしも印刷しなくても良い。つまり、印刷データー40にコード情報42が含まれる場合であっても、当該コード情報42に基づくコード画像30の印刷を省略しても良い。また、コード画像30の印刷の要否について、ユーザーが設定可能としても良い。
In the above embodiment, the
また、上記の実施形態では、テキスト情報41、コード情報42および枠線情報43の印刷位置およびサイズ、並びにテキスト情報41のフォントおよび色に関する情報が、印刷データー40に含まれるものとしたが、これら印刷位置およびサイズ、並びにフォントおよび色に関する情報を、プリンタードライバー60内の印刷テーブル15aに格納しておくようにしても良い。つまり、コンピューター20のアプリケーションソフトからは、各情報41,42,43の内容のみを送信し、印刷位置やサイズなどについては、印刷テーブル15aの印刷情報に基づいて決定しても良い。この構成によれば、アプリケーションソフトから、印刷位置やサイズなどの情報を送信する必要がないため、簡易なアプリケーションソフトを用いた場合でも、複雑な(見栄えの良い)商品ラベルLを作成することができる。
In the above embodiment, the
また、上記の実施形態では、ラベル枠54の印刷について、印刷データー40内の枠線情報43に基づく枠線を、装飾情報に基づく枠線に変更する場合を例示したが、印刷データー40内に枠線情報43が含まれない場合、所定の枠線を付加する装飾を行うようにしても良い。つまり、装飾情報として、「所定の枠線を付加して印刷する」旨を記述しても良い。
In the above embodiment, the case where the frame line based on the
また、上記の実施形態では、識別子「011」(データー項目:消費期限)に続くパラメーターによって特定される日付が、条件「残り日数が7日以内であること」を満たす場合、当該パラメーター部分を強調印刷するものとしたが、消費期限については、残り日数が少ないときばかりでなく、商品によっては、常に重要となる場合が考えられる。そこで、商品コードから、生鮮食品や惣菜など、消費期限が重要と考えられる商品であると判定された場合、消費期限のパラメーター部分に装飾を施すようにしても良い。この場合、識別子は、商品コードを示すものとし、条件は、「生鮮食品や惣菜を示すものであること」とし、装飾情報は、消費期限のパラメーター(識別子「011」に続くパラメーター)を強調印刷する、として、装飾テーブル15bに記憶させておけばよい。この構成によれば、所定の印刷要素を、特定の識別子に続くパラメーターとすることができ、さらに多様な装飾を実現することができる。 In the above embodiment, when the date specified by the parameter following the identifier “011” (data item: expiration date) satisfies the condition “remaining days are within 7 days”, the parameter portion is emphasized. Although it is supposed to be printed, the expiry date may be important not only when the remaining days are small, but also depending on the product. Therefore, if it is determined from the product code that the expiration date is considered to be important, such as fresh food or side dish, the parameter portion of the expiration date may be decorated. In this case, the identifier indicates a product code, the condition is “represents fresh food or side dish”, and the decoration information highlights the expiration date parameter (the parameter following the identifier “011”). Is stored in the decoration table 15b. According to this configuration, a predetermined printing element can be used as a parameter following a specific identifier, and more various decorations can be realized.
また、上記に示したプリンタードライバー60の各構成要素をプログラムとして提供することが可能である。また、そのプログラムを各種記録媒体(CD−ROM、フラッシュメモリー等)に格納して提供することも可能である。すなわち、一般的なコンピューターをプリンタードライバー60の各構成要素として機能させるためのプログラム、およびそれを記録した記録媒体も、本発明の権利範囲に含まれるものである。
In addition, each component of the
また、上記の実施形態では、印刷装置10としてラベルプリンターを例示したが、他のプリンターや発券機を用いても良い。その他、本発明の要旨を逸脱しない範囲で、適宜変更が可能である。
In the above embodiment, a label printer is exemplified as the
10…印刷装置 11…印刷データー取得部 12…属性情報抽出部 13…条件判別部 14…印刷部 15…記憶部 15a…印刷テーブル 15b…装飾テーブル 16…計時部 19…印刷指令部 20…コンピューター 21…商品データーベース 23…印刷データー生成部 30…コード画像 40…印刷データー 42…コード情報 60…プリンタードライバー L…商品ラベル
DESCRIPTION OF
Claims (9)
前記コード画像を印刷するための情報であり、識別子および当該識別子に付加されたパラメーターから成る属性情報を1以上含むコード情報を取得するコード情報取得部と、
前記識別子と、所定の印刷要素に装飾を施して印刷するための装飾情報と、前記パラメーターに基づいて当該装飾を施すか否かを判定するための条件と、を関連付けて記憶する記憶部と、
取得した前記コード情報から、前記記憶部に記憶されている前記識別子が含まれる属性情報を抽出する属性情報抽出部と、
抽出した前記属性情報に含まれる前記パラメーターが、当該属性情報に含まれる前記識別子に前記記憶部で関連付けられた前記条件を満たすか否かを判別する条件判別部と、
前記条件判別部により、前記パラメーターが前記条件を満たすと判定された場合、前記識別子に関連付けられた前記装飾情報に基づいて、前記印刷装置に対し印刷指令を行う印刷指令部と、を備えたことを特徴とするプリンタードライバー。 A printer driver for controlling a printing apparatus for printing a code image,
A code information acquisition unit for acquiring code information including one or more attribute information including an identifier and a parameter added to the identifier, the information for printing the code image;
A storage unit that associates and stores the identifier, decoration information for performing printing with decoration on a predetermined printing element, and a condition for determining whether to perform the decoration based on the parameter;
An attribute information extraction unit that extracts attribute information including the identifier stored in the storage unit from the acquired code information;
A condition determination unit that determines whether or not the parameter included in the extracted attribute information satisfies the condition associated with the identifier included in the attribute information in the storage unit;
A print command unit that issues a print command to the printing device based on the decoration information associated with the identifier when the condition determining unit determines that the parameter satisfies the condition; A printer driver characterized by
前記条件判別部は、商品データーベースの参照結果から、前記パラメーターによって特定される商品が広告対象商品であると判定できた場合、前記条件を満たすと判定することを特徴とする請求項1ないし4のいずれか1項に記載のプリンタードライバー。 The identifier indicates a product code,
The condition determination unit determines that the condition is satisfied when it can be determined from the reference result of the product database that the product specified by the parameter is the product to be advertised. The printer driver according to any one of the above.
前記条件判別部は、計時部の計時結果から、前記パラメーターによって特定される日付までの残り日数が所定日数以内であると判定できた場合、前記条件を満たすと判定することを特徴とする請求項1ないし4のいずれか1項に記載のプリンタードライバー。 The identifier indicates an expiration date,
The condition determining unit determines that the condition is satisfied when it can be determined from the time measurement result of the time measuring unit that the remaining number of days until the date specified by the parameter is within a predetermined number of days. The printer driver according to any one of 1 to 4.
前記印刷装置と、を備えたことを特徴とする印刷システム。 A computer incorporating the printer driver according to any one of claims 1 to 7,
A printing system comprising the printing apparatus.
前記プリンタードライバーは、
識別子と、所定の印刷要素に装飾を施して印刷するための装飾情報と、当該装飾を施すか否かを判定するための条件と、を関連付けて記憶する記憶部を備え、
前記コード画像を印刷するための情報であり、前記識別子および当該識別子に付加されたパラメーターから成る属性情報を1以上含むコード情報を取得するステップと、
取得した前記コード情報から、前記記憶部に記憶されている前記識別子が含まれる属性情報を抽出するステップと、
抽出した前記属性情報に含まれる前記パラメーターが、当該属性情報に含まれる前記識別子に前記記憶部で関連付けられた前記条件を満たすか否かを判別するステップと、
前記パラメーターが前記条件を満たすと判定された場合、前記識別子に関連付けられた前記装飾情報に基づいて、前記印刷装置に対し印刷指令を行うステップと、を実行することを特徴とするプリンタードライバーの制御方法。 A control method of a printer driver for controlling a printing apparatus that prints a code image,
The printer driver is
A storage unit that associates and stores an identifier, decoration information for performing printing with decoration on a predetermined print element, and a condition for determining whether to perform the decoration;
Information for printing the code image, obtaining code information including one or more attribute information including the identifier and a parameter added to the identifier;
Extracting attribute information including the identifier stored in the storage unit from the acquired code information;
Determining whether the parameter included in the extracted attribute information satisfies the condition associated with the identifier included in the attribute information in the storage unit;
Performing a print command to the printing apparatus based on the decoration information associated with the identifier when the parameter is determined to satisfy the condition, and controlling the printer driver Method.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010114025A JP5482438B2 (en) | 2010-05-18 | 2010-05-18 | Printer driver, printing system, and printer driver control method |
| US12/851,619 US8599437B2 (en) | 2009-08-21 | 2010-08-06 | Printing control device, printer driver, conversion device, printer, printing system, control method for a printing control device, and control method for a printer |
| EP10173117.2A EP2287776A3 (en) | 2009-08-21 | 2010-08-17 | Printing control device, printer driver, conversion device, printer, printing system, control method for a printing control device, and control method for a printer |
| CN201010258248.XA CN101996057B (en) | 2009-08-21 | 2010-08-18 | Printer, printing system, control method and program for printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010114025A JP5482438B2 (en) | 2010-05-18 | 2010-05-18 | Printer driver, printing system, and printer driver control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011242971A JP2011242971A (en) | 2011-12-01 |
| JP5482438B2 true JP5482438B2 (en) | 2014-05-07 |
Family
ID=45409558
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010114025A Expired - Fee Related JP5482438B2 (en) | 2009-08-21 | 2010-05-18 | Printer driver, printing system, and printer driver control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5482438B2 (en) |
-
2010
- 2010-05-18 JP JP2010114025A patent/JP5482438B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011242971A (en) | 2011-12-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101996057B (en) | Printer, printing system, control method and program for printer | |
| JP5263072B2 (en) | Printing apparatus, printing system, printing apparatus control method and program | |
| JP6337778B2 (en) | Data conversion system, data conversion device, and data conversion method | |
| CN103838528B (en) | Recording control system, control method of recording control system, and recording device | |
| JP2014075090A (en) | Display position analysis system | |
| JP5152117B2 (en) | Label printer and information processing apparatus | |
| JP2014102861A (en) | Conversion device, mounting board, and conversion method for conversion device | |
| JP5499896B2 (en) | Conversion device, printing system, mounting board, conversion device control method and program | |
| US20150002889A1 (en) | Control device, control system, and control method of a control device | |
| US10430627B2 (en) | Label creating device, system, and label | |
| JP5482438B2 (en) | Printer driver, printing system, and printer driver control method | |
| JP6079168B2 (en) | RECORDING CONTROL SYSTEM, RECORDING CONTROL SYSTEM CONTROL METHOD, AND RECORDING DEVICE | |
| CN103978791A (en) | Tag making device and tag making method | |
| JP2012141842A (en) | Merchandise sales data processing device | |
| JP6940137B2 (en) | Label issuing device for food | |
| JP6832763B2 (en) | Information reader and program | |
| JP2008027123A (en) | Merchandise sales management system, merchandise sales management system control method and program | |
| JP2014019047A (en) | Image processor, printer, and image processing method | |
| JP6079167B2 (en) | Recording apparatus, recording apparatus control method, and recording control system | |
| JP5293285B2 (en) | Label printing method and label | |
| JP5347586B2 (en) | Label printing method | |
| JP2010067121A (en) | Printing information generating device, printing device, printing system, and method for controlling the printing information generating device | |
| US12056569B2 (en) | Process for creating a simplified label for food products | |
| JP2021099717A (en) | Issuing apparatus | |
| KR20250163958A (en) | Label printing system, server, and method for manufacturing products |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130305 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130305 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20130305 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131218 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140121 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140203 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5482438 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |