Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5482438B2 - Printer driver, printing system, and printer driver control method - Google Patents
[go: Go Back, main page]

JP5482438B2 - Printer driver, printing system, and printer driver control method - Google Patents

Printer driver, printing system, and printer driver control method Download PDF

Info

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
Application number
JP2010114025A
Other languages
Japanese (ja)
Other versions
JP2011242971A (en
Inventor
昇 柳澤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2010114025A priority Critical patent/JP5482438B2/en
Priority to US12/851,619 priority patent/US8599437B2/en
Priority to EP10173117.2A priority patent/EP2287776A3/en
Priority to CN201010258248.XA priority patent/CN101996057B/en
Publication of JP2011242971A publication Critical patent/JP2011242971A/en
Application granted granted Critical
Publication of JP5482438B2 publication Critical patent/JP5482438B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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.

特開2003−182160号公報JP 2003-182160 A

ところが、実際の使用状況では、取扱者が必要とする属性情報が定まらない場合も多い。例えば、スーパー等で商品に貼付されるラベルの場合、消費期限などの属性情報は、生鮮食品や惣菜の場合非常に重要であるが、乾物など消費期限が長く設定されている場合はあまり重要視されない。つまり、同じ属性情報であっても、商品や販売日時などの条件によって、重要度が変化することが考えられる。ところが、従来の技術では、条件に応じて、コード画像に含まれる属性情報の印刷形態を変化するものは存在しない。   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 is a block diagram illustrating a configuration of a printing system according to an embodiment of the present invention. コード画像を印刷するためのコード情報の説明図である。It is explanatory drawing of the code information for printing a code image. 印刷テーブルの一例を示す図である。It is a figure which shows an example of a printing table. 装飾テーブルの一例を示す図である。It is a figure which shows an example of a decoration table. プリンタードライバーに入力される印刷データーと、当該印刷データーに基づく商品ラベルの印刷結果を示す図である。FIG. 6 is a diagram illustrating print data input to a printer driver and a print result of a product label based on the print data. 商品ラベルの編集内容を示す図である。It is a figure which shows the edit content of a product label. プリンタードライバーの制御方法を示すフローチャートである。3 is a flowchart illustrating a method for controlling a printer driver.

以下、本発明の一実施形態に係るプリンタードライバー、印刷システム、プリンタードライバーの制御方法について、添付図面を参照しながら詳細に説明する。図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 printing apparatus 10 and a computer 20 that transmits print data 40 (see FIG. 5A) to the printing apparatus 10.

コンピューター20は、少なくともコード画像30を印刷するためのコード情報42(図2(a)参照)を生成、送信可能なものであれば良く、POS(Point Of Sales)端末やパーソナルコンピューターなど各種情報処理装置を適用可能である。なお、図1では、コード画像30としてバーコードを例示しているが、2次元コードやカラーコードなど、各種コードシンボルを採用可能である。   The computer 20 only needs to be capable of generating and transmitting at least code information 42 (see FIG. 2A) for printing the code image 30, and various information processing such as a POS (Point Of Sales) terminal and a personal computer. The device is applicable. In FIG. 1, a barcode is exemplified as the code image 30, but various code symbols such as a two-dimensional code and a color code can be employed.

また、コンピューター20は、商品データーベース21を備えている。当該商品データーベース21は、各商品について、商品コード、固体識別番号、商品名、単価、割引率、商品属性(広告対象商品、タイムサービス商品など)などが記録されたものである。なお、商品データーベース21をコンピューター20内に備えるのではなく、独立して印刷システムSY内に設けても良い。また、不図示のPOSサーバー内に商品データーベース21を備えても良い。   The computer 20 also includes a product database 21. The product database 21 stores a product code, a solid identification number, a product name, a unit price, a discount rate, a product attribute (such as an advertisement target product and a time service product), and the like for each product. The product database 21 may not be provided in the computer 20 but may be provided independently in the printing system SY. The product database 21 may be provided in a POS server (not shown).

また、コンピューター20は、プリンタードライバー60を備えている。当該プリンタードライバー60は、印刷装置10を制御するためのものであり、コンピューター20にインストールされて用いられる。   The computer 20 includes a printer driver 60. The printer driver 60 is for controlling the printing apparatus 10 and is installed in the computer 20 and used.

ここで、コンピューター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 data generation unit 23 and a timer unit 16 as main functional configurations. The print data generation unit 23 generates print data 40 for printing the product label L. The print data generation unit 23 is realized by application software that can generate the code information 42. For example, when the computer 20 is a POS terminal, it is realized by a POS application.

計時部16は、RTC(Real Time Clock)などにより実現されるものであり、現在時刻を計時する。なお、コンピューター20内に計時部16を備えるのではなく、不図示の外部装置から時刻情報を取得することによって、現在時刻を特定できるようにしても良い。   The timer unit 16 is realized by an RTC (Real Time Clock) or the like, and measures the current time. Note that the current time may be specified by acquiring time information from an external device (not shown) instead of providing the timer unit 16 in the computer 20.

一方、プリンタードライバー60は、主な機能構成として、印刷データー取得部11(コード情報取得部)、属性情報抽出部12、条件判別部13、印刷指令部19および記憶部15を備えている。   On the other hand, the printer driver 60 includes a print data acquisition unit 11 (code information acquisition unit), an attribute information extraction unit 12, a condition determination unit 13, a print command unit 19, and a storage unit 15 as main functional configurations.

印刷データー取得部11は、印刷データー生成部23から印刷データー40を取得する。印刷データー40には、商品ラベルLに、商品名などのテキストを印刷するためのテキスト情報41、コード画像30を印刷するためのコード情報42、および商品ラベルLのラベル枠54を印刷するための枠線情報43などが含まれる(図5(a),(b)参照)。   The print data acquisition unit 11 acquires the print data 40 from the print data generation unit 23. In the print data 40, text information 41 for printing a text such as a product name, code information 42 for printing the code image 30, and a label frame 54 of the product label L are printed on the product label L. Frame line information 43 and the like are included (see FIGS. 5A and 5B).

ここで、図2を参照し、コード情報42について説明する。図2(a)は、コード情報42の一例を示す図である。上記のとおり、コード情報42は、コード画像30を印刷するための情報であって、1以上の属性情報から成る。図2(a)は、コード情報42が、3つの属性情報から構成されている場合を例示している。   Here, the code information 42 will be described with reference to FIG. FIG. 2A is a diagram illustrating an example of the code information 42. As described above, the code information 42 is information for printing the code image 30 and includes one or more attribute information. FIG. 2A illustrates a case where the code information 42 includes three pieces of attribute information.

また、図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 code image 30, and a GS1 application identifier can be applied as an identifier in this case. However, in the present embodiment, identifiers and data items are defined regardless of the GS1 application identifier standard (ISO / IEC 15418 standard).

図1の説明に戻る。記憶部15は、フラッシュメモリーなど不揮発性のメモリーにより実現されるものであり、印刷テーブル15a(図3参照)および装飾テーブル15b(図4参照)を備えている。印刷テーブル15aは、上記の「識別子」と、当該識別子が示す「データー項目」と、編集内容を示す「印刷情報」と、を関連付けたものである。また、装飾テーブル15bは、上記の「識別子」と、当該識別子が示す「データー項目」と、装飾を施すか否かを判定するための「条件」と、編集内容を示す「装飾情報」と、を関連付けたものである。編集内容の詳細については、後述する。   Returning to the description of FIG. The storage unit 15 is realized by a non-volatile memory such as a flash memory, and includes a print table 15a (see FIG. 3) and a decoration table 15b (see FIG. 4). The print table 15a is obtained by associating the “identifier”, the “data item” indicated by the identifier, and the “print information” indicating the editing content. The decoration table 15b includes the “identifier”, a “data item” indicated by the identifier, a “condition” for determining whether or not to apply decoration, “decoration information” indicating editing contents, Are related. Details of the editing contents will be described later.

属性情報抽出部12は、印刷データー取得部11により取得した印刷データー40内のコード情報42から、記憶部15(印刷テーブル15aおよび装飾テーブル15bの少なくとも一方)に記憶されている識別子が含まれる属性情報を抽出する。例えば、識別子「010」(データー項目:固体識別番号)の属性情報を含むコード情報42を取得した場合、印刷テーブル15aおよび装飾テーブル15bには、いずれも当該識別子が記憶されているため(図3の符号A,図4の符号B参照)、取得したコード情報42から、識別子「010」の属性情報が抽出される。   The attribute information extraction unit 12 includes an attribute including an identifier stored in the storage unit 15 (at least one of the print table 15a and the decoration table 15b) from the code information 42 in the print data 40 acquired by the print data acquisition unit 11. Extract information. For example, when the code information 42 including the attribute information of the identifier “010” (data item: solid identification number) is acquired, the identifier is stored in both the print table 15a and the decoration table 15b (FIG. 3). The attribute information of the identifier “010” is extracted from the acquired code information 42.

条件判別部13は、装飾テーブル15bを参照し、属性情報抽出部12により抽出した属性情報に含まれるパラメーターが、当該属性情報に含まれる識別子に関連付けられた条件を満たすか否かを判別する。例えば、識別子「010」の属性情報を含むコード情報42を取得した場合、装飾テーブル15bでは、当該識別子に、条件「和牛を示すものであること」が関連付けられているため(符号B参照)、識別子「010」に続くパラメーターが、「和牛」を示すものであるか否かを判別する。   The condition determination unit 13 refers to the decoration table 15b and determines whether or not the parameter included in the attribute information extracted by the attribute information extraction unit 12 satisfies the condition associated with the identifier included in the attribute information. For example, when the code information 42 including the attribute information of the identifier “010” is acquired, in the decoration table 15b, the condition “must indicate Wagyu” is associated with the identifier (see reference symbol B). It is determined whether or not the parameter following the identifier “010” indicates “Wagyu”.

また、条件判別部13は、例えば条件が、「パラメーターによって特定される商品が広告対象商品であること」など、商品判定が必要なものである場合、商品データーベース21を参照して判別を行う。また、例えば条件が、「パラメーターによって特定される日付までの残り日数が所定日数以内であること」など、日付判定が必要なものである場合、計時部16の計時結果を参照して判別を行う。   In addition, the condition determination unit 13 performs determination with reference to the product database 21 when the condition is a product that requires product determination such as “the product specified by the parameter is an advertisement target product”, for example. . Further, for example, when the condition requires date determination such as “the number of days remaining until the date specified by the parameter is within a predetermined number of days”, the determination is performed with reference to the timing result of the timing unit 16. .

印刷指令部19は、取得した印刷データー40に対し、装飾を施したり、印刷装置10に適した所定のデーター変換を行って、印刷装置10に対する印刷指令を行う。例えば、条件判別部13により、パラメーターが条件を満たすと判定された場合は、識別子に関連付けられた装飾情報に基づいて装飾を施した後、印刷装置10に対し印刷指令を行う。例えば、識別子「010」の属性情報を含むコード情報42を取得した場合であって、識別子「010」に続くパラメーターが「和牛」を示すものであった場合、当該識別子に関連付けられた装飾情報「牛のイラストを、位置****に印刷」(符号B参照)にしたがって、印刷データー40を編集する(装飾データーを付加する)。なお、条件判別部13により、パラメーターが条件を満たさないと判定された場合は、装飾テーブル15bに基づく装飾は行わない。   The print command unit 19 gives a print command to the printing apparatus 10 by decorating the acquired print data 40 or performing predetermined data conversion suitable for the printing apparatus 10. For example, if the condition determining unit 13 determines that the parameter satisfies the condition, the decoration is performed based on the decoration information associated with the identifier, and then a print command is issued to the printing apparatus 10. For example, when the code information 42 including the attribute information of the identifier “010” is acquired and the parameter following the identifier “010” indicates “Wagyu”, the decoration information “ The print data 40 is edited (additional decoration data is added) according to “print cow illustration at position ***” (see symbol B). If the condition determining unit 13 determines that the parameter does not satisfy the condition, the decoration based on the decoration table 15b is not performed.

また、印刷指令部19は、属性情報抽出部12により、印刷テーブル15aに記憶されている識別子が含まれる属性情報を抽出した場合、当該識別子に関連付けられた印刷情報に基づいて印刷指令を行う。例えば、識別子「010」の属性情報を含むコード情報42を取得した場合、当該識別子に関連付けられた印刷情報「パラメーターを、テキスト「固体識別番号:」に続けて、位置****に印刷」(符号A参照)にしたがって、印刷データー40を編集する(テキストデーターを付加する)。   Further, when the attribute information extraction unit 12 extracts attribute information including an identifier stored in the print table 15a, the print command unit 19 issues a print command based on the print information associated with the identifier. For example, when the code information 42 including the attribute information of the identifier “010” is acquired, the printing information associated with the identifier “parameter is printed at the position *** after the text“ solid identification number: ””. The print data 40 is edited (text data is added) according to (see symbol A).

一方、印刷装置10は、印刷データー40に含まれるコード情報42に基づいてコード画像30を印刷可能であることが条件である。本実施形態では、生鮮食品や惣菜などに貼付される商品ラベルLを作成するためのラベルプリンターであって、カラー印刷が可能な印刷装置10を例示する。なお、印刷装置10は、コンピューター20と有線接続されていても良いし、無線接続されていても良い。   On the other hand, it is a condition that the printing apparatus 10 can print the code image 30 based on the code information 42 included in the print data 40. In the present embodiment, a printing apparatus 10 that is a label printer for creating a product label L to be affixed to fresh food, prepared foods, and the like and capable of color printing is illustrated. Note that the printing apparatus 10 may be wired to the computer 20 or may be wirelessly connected.

印刷装置10は、主な機能構成として、印刷部14を備えている。印刷部14は、印刷ヘッド、ヘッド駆動機構、ラベル媒体搬送機構およびラベル切断機構等により実現される。なお、印刷部14の印刷方式としては、インクジェットプリンターやサーマルプリンターなど、各種方式を適用可能である。   The printing apparatus 10 includes a printing unit 14 as a main functional configuration. The printing unit 14 is realized by a print head, a head driving mechanism, a label medium transport mechanism, a label cutting mechanism, and the like. In addition, as a printing method of the printing part 14, various methods, such as an inkjet printer and a thermal printer, are applicable.

次に、図5を参照し、プリンタードライバー60に入力される(アプリケーションソフトから出力される)印刷データー40と、当該印刷データー40に基づく商品ラベルLの印刷結果について説明する。図5(a)は、印刷データー40の一例を概念的に示した図である。例示した印刷データー40には、商品名を示すテキスト情報41と、コード情報42と、枠線情報43と、が含まれている。また、本例では、これら各情報41,42,43の印刷位置およびサイズ、並びにテキスト情報41のフォントおよび色に関する情報も、印刷データー40に含まれるものとする。さらに、コード情報42には、同図に示した6つの属性情報が含まれるものとする。   Next, the print data 40 input to the printer driver 60 (output from the application software) and the print result of the product label L based on the print data 40 will be described with reference to FIG. FIG. 5A is a diagram conceptually illustrating an example of the print data 40. The illustrated print data 40 includes text information 41 indicating a product name, code information 42, and frame line information 43. In this example, the print data 40 also includes information on the print position and size of each piece of information 41, 42, 43 and the font and color of the text information 41. Furthermore, it is assumed that the code information 42 includes the six attribute information shown in FIG.

図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 print data 40 shown in FIG. As shown in the figure, a top logo 51, “product name” 52, detailed information 53, label frame 54, illustration 55, product price 56, and code image 30 on which “Advertisement Product” is printed are printed on the label. ing. The product name 52, the label frame 54, and the code image 30 are items printed based on the text information 41, the frame line information 43, and the code information 42 of the print data 40, respectively.

ここで、図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 condition determination unit 13 refers to the product database 21 and determines whether or not the product specified by the parameter following the identifier satisfies the condition “the product to be advertised” associated with the identifier. As a result, when the condition is satisfied, the top logo 51 is printed based on the decoration information associated with the identifier. In other words, the top logo 51 is not printed when the condition is not satisfied (when it is not an advertising target product). The “logo” refers to image data in a predetermined format, and the color and size are naturally designated by the designation of the logo.

さらに、条件判別部13は、商品データーベース21を参照し、当該識別子に続くパラメーターによって特定される商品が、当該識別子に関連付けられた条件「精肉を示すものであること」を満たすか否かを判別する。その結果、条件を満たす場合、当該識別子に関連付けられた装飾情報に基づいて、ラベル枠54が変更されて印刷される。言い換えれば、条件を満たさない場合(精肉を示すものでない場合)は、枠線情報43に基づく規定の(予め定められた)ラベル枠が印刷される。   Furthermore, the condition determination unit 13 refers to the product database 21 and determines whether or not the product specified by the parameter following the identifier satisfies the condition “represents meat” associated with the identifier. Determine. As a result, when the condition is satisfied, the label frame 54 is changed and printed based on the decoration information associated with the identifier. In other words, when the condition is not satisfied (when it does not indicate meat), a predetermined (predetermined) label frame based on the frame line information 43 is printed.

なお、図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 top logo 51 and an insertion area of the illustration 55, a parameter following the identifier, a label frame 54, and the like).

また、図5(a)に示した印刷データー40には、識別子「010」(データー項目:固体識別番号)も含まれる。さらに、印刷テーブル15aは、当該識別子「010」が記憶されている。したがって、印刷テーブル15aにおいて当該識別子に関連付けられた印刷情報に基づいて印刷が行われる。本実施形態では、識別子「010」に関連付けられた印刷情報に基づいて、詳細情報53の1行目が印刷されたものとする。図3に示すとおり、印刷情報には、印刷位置やテキスト挿入の他、各種装飾(上記の「装飾情報」参照)に関する編集内容が記述されている。   The print data 40 shown in FIG. 5A also includes an identifier “010” (data item: solid identification number). Further, the identifier “010” is stored in the print table 15a. Therefore, printing is performed based on the print information associated with the identifier in the print table 15a. In the present embodiment, it is assumed that the first line of the detailed information 53 is printed based on the print information associated with the identifier “010”. As shown in FIG. 3, the print information describes edit contents related to various decorations (see the above “decoration information”) in addition to the print position and text insertion.

また、識別子「010」は、装飾テーブル15bにも記憶されているため、条件判別部13は、商品データーベース21を参照し、当該識別子に続くパラメーターによって特定される商品が、当該識別子に関連付けられた条件を満たすか否かを判別する。その結果、条件を満たす場合、当該識別子に関連付けられた装飾情報に基づいて、イラスト55が印刷される。   In addition, since the identifier “010” is also stored in the decoration table 15b, the condition determination unit 13 refers to the product database 21, and the product specified by the parameter following the identifier is associated with the identifier. It is determined whether or not the conditions are satisfied. As a result, when the condition is satisfied, the illustration 55 is printed based on the decoration information associated with the identifier.

また、印刷データー40に含まれる識別子「011」(データー項目:消費期限)の属性情報(図5(a)参照)に基づいて、詳細情報53の2行目が印刷される。当該識別子「011」は、装飾テーブル15bにも記憶されているため、条件判別部13は、計時部16の計時結果を参照し、当該識別子に続くパラメーターによって特定される日付が、当該識別子に関連付けられた条件「残り日数が7日以内であること」を満たすか否かを判別する。その結果、条件を満たす場合、当該識別子に関連付けられた装飾情報に基づいて、消費期限のパラメーター部分が、赤色、強調、下線付きで印刷される。つまり、この場合は、装飾の対象となる所定の印刷要素が、識別子に続くパラメーターとなる。   Further, the second line of the detailed information 53 is printed based on the attribute information (see FIG. 5A) of the identifier “011” (data item: expiration date) included in the print data 40. Since the identifier “011” is also stored in the decoration table 15b, the condition determination unit 13 refers to the time measurement result of the time measurement unit 16, and associates the date specified by the parameter following the identifier with the identifier. It is determined whether or not the given condition “remaining days are within 7 days” is satisfied. As a result, when the condition is satisfied, the parameter part of the expiration date is printed in red, emphasis, and underline based on the decoration information associated with the identifier. That is, in this case, a predetermined print element to be decorated is a parameter following the identifier.

同様に、本実施形態では、印刷データー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 detailed information 53 is printed based on the attribute information of the identifier “015” (data item: processing date) included in the print data 40, and the identifier included in the print data 40 Based on the attribute information of “030” (data item: internal capacity), the fourth line of the detailed information 53 is printed, and based on the attribute information of the identifier “045” (data item: price display) included in the print data 40. Thus, the fifth line of the detailed information 53 and the product price 56 are printed. Note that the detailed information 53 is printed by adding text corresponding to each identifier to parameters following the identifier based on the reference result of the print table 15a (parameter text printing).

次に、図7のフローチャートを参照し、プリンタードライバー60の制御方法について説明する。ここでは、記憶部15内に、印刷テーブル15aおよび装飾テーブル15bが、予め設定されているものとして説明する。プリンタードライバー60は、印刷データー取得部11により、印刷データー40(コード情報42)を取得すると(S01)、属性情報抽出部12により、印刷テーブル15a内の識別子を含む属性情報が、取得したコード情報42に含まれるか否かを判別する(S02)。   Next, a control method of the printer driver 60 will be described with reference to the flowchart of FIG. Here, it is assumed that the printing table 15a and the decoration table 15b are set in the storage unit 15 in advance. When the printer driver 60 acquires the print data 40 (code information 42) by the print data acquisition unit 11 (S01), the attribute information including the identifier in the print table 15a is acquired by the attribute information extraction unit 12 by the acquired code information. It is determined whether or not it is included in 42 (S02).

印刷テーブル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 printer driver 60 uses the attribute information extraction unit 12 to determine whether or not the attribute information including the identifier in the decoration table 15b is included in the acquired code information 42 (S04). Here, when the attribute information including the identifier in the decoration table 15b is included in the code information 42 (S04: Yes), the condition determination unit 13 causes the parameter subsequent to the identifier to change the condition described in the decoration table 15b. It is determined whether or not it is satisfied (S05).

条件判別部13により、当該識別子に続くパラメーターが条件を満たすと判定された場合は(S05:Yes)、装飾テーブル15bに記述された装飾情報に基づいて印刷を行うための編集を行う(S06)。一方、装飾テーブル15b内の識別子を含む属性情報がコード情報42に含まれない場合は(S04:No)、S05およびS06を省略し、識別子に続くパラメーターが条件を満たさない場合は(S05:No)、S06を省略する。その後、印刷指令部19により、S03およびS06の編集結果に基づいて(編集を行わなかった場合は、取得した印刷データー40そのものに基づいて)、印刷装置10に対し印刷指令を行う(S07)。   If the condition determination unit 13 determines that the parameter following the identifier satisfies the condition (S05: Yes), editing for printing is performed based on the decoration information described in the decoration table 15b (S06). . On the other hand, if the attribute information including the identifier in the decoration table 15b is not included in the code information 42 (S04: No), S05 and S06 are omitted, and if the parameter following the identifier does not satisfy the condition (S05: No) ), S06 is omitted. Thereafter, the print command unit 19 issues a print command to the printing apparatus 10 based on the editing results of S03 and S06 (or if the editing is not performed, based on the acquired print data 40 itself) (S07).

以上説明したとおり、本実施形態の印刷システム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 printer driver 60 indicates that the arbitrary attribute information in the code information 42 included in the print data 40 transmitted from the application software in the computer 20 is the decoration table. When it is determined that the condition defined in 15b is satisfied, a print command is issued based on the condition and the decoration information associated with the identifier, so that the print form can be changed according to the content of the attribute information. Thereby, for example, it is possible to print by changing the printing form according to the importance of the print content, and the operator can grasp important information accurately and quickly. In addition, since the printer driver 60 is used for decoration, the printing form is changed without requiring major modifications such as changing the application software of the computer 20 that generates the code information 42 or replacing the printing apparatus 10. be able to. Further, the version upgrade of the computer 20 and the printing apparatus 10 can be performed without any trouble.

また、プリンタードライバー60内には、装飾テーブル15b以外に、識別子毎に印刷情報(編集内容)が設定された印刷テーブル15aも記憶されているため、条件を満たすか否かに関わらず、特定の属性情報に対して一律に同様の装飾を施すことも可能である。   In addition to the decoration table 15b, the printer driver 60 also stores a print table 15a in which print information (edit contents) is set for each identifier. It is also possible to apply the same decoration uniformly to the attribute information.

なお、上記の実施形態では、商品ラベルL上に、コード画像30を印刷するものとしたが(図5(b)参照)、必ずしも印刷しなくても良い。つまり、印刷データー40にコード情報42が含まれる場合であっても、当該コード情報42に基づくコード画像30の印刷を省略しても良い。また、コード画像30の印刷の要否について、ユーザーが設定可能としても良い。   In the above embodiment, the code image 30 is printed on the product label L (see FIG. 5B). That is, even when the code information 42 is included in the print data 40, the printing of the code image 30 based on the code information 42 may be omitted. The user may be able to set whether or not the code image 30 needs to be printed.

また、上記の実施形態では、テキスト情報41、コード情報42および枠線情報43の印刷位置およびサイズ、並びにテキスト情報41のフォントおよび色に関する情報が、印刷データー40に含まれるものとしたが、これら印刷位置およびサイズ、並びにフォントおよび色に関する情報を、プリンタードライバー60内の印刷テーブル15aに格納しておくようにしても良い。つまり、コンピューター20のアプリケーションソフトからは、各情報41,42,43の内容のみを送信し、印刷位置やサイズなどについては、印刷テーブル15aの印刷情報に基づいて決定しても良い。この構成によれば、アプリケーションソフトから、印刷位置やサイズなどの情報を送信する必要がないため、簡易なアプリケーションソフトを用いた場合でも、複雑な(見栄えの良い)商品ラベルLを作成することができる。   In the above embodiment, the print data 40 includes the print information and information on the print position and size of the text information 41, the code information 42, and the frame line information 43, and the font and color of the text information 41. Information regarding the print position and size, and the font and color may be stored in the print table 15 a in the printer driver 60. That is, only the contents of the information 41, 42, and 43 may be transmitted from the application software of the computer 20, and the print position and size may be determined based on the print information in the print table 15a. According to this configuration, since it is not necessary to transmit information such as the print position and size from the application software, even when simple application software is used, a complex (good-looking) product label L can be created. it can.

また、上記の実施形態では、ラベル枠54の印刷について、印刷データー40内の枠線情報43に基づく枠線を、装飾情報に基づく枠線に変更する場合を例示したが、印刷データー40内に枠線情報43が含まれない場合、所定の枠線を付加する装飾を行うようにしても良い。つまり、装飾情報として、「所定の枠線を付加して印刷する」旨を記述しても良い。   In the above embodiment, the case where the frame line based on the frame line information 43 in the print data 40 is changed to the frame line based on the decoration information is illustrated for printing the label frame 54. When the frame line information 43 is not included, a decoration for adding a predetermined frame line may be performed. That is, the decoration information may describe “print with a predetermined frame line added”.

また、上記の実施形態では、識別子「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 printer driver 60 described above can be provided as a program. Further, the program can be provided by being stored in various recording media (CD-ROM, flash memory, etc.). That is, a program for causing a general computer to function as each component of the printer driver 60 and a recording medium on which the program is recorded are also included in the scope of the rights of the present invention.

また、上記の実施形態では、印刷装置10としてラベルプリンターを例示したが、他のプリンターや発券機を用いても良い。その他、本発明の要旨を逸脱しない範囲で、適宜変更が可能である。   In the above embodiment, a label printer is exemplified as the printing apparatus 10, but other printers and ticket issuing machines may be used. Other modifications can be made as appropriate without departing from the scope of the present invention.

10…印刷装置 11…印刷データー取得部 12…属性情報抽出部 13…条件判別部 14…印刷部 15…記憶部 15a…印刷テーブル 15b…装飾テーブル 16…計時部 19…印刷指令部 20…コンピューター 21…商品データーベース 23…印刷データー生成部 30…コード画像 40…印刷データー 42…コード情報 60…プリンタードライバー L…商品ラベル   DESCRIPTION OF SYMBOLS 10 ... Printing apparatus 11 ... Print data acquisition part 12 ... Attribute information extraction part 13 ... Condition discrimination | determination part 14 ... Printing part 15 ... Memory | storage part 15a ... Print table 15b ... Decoration table 16 ... Timing part 19 ... Print command part 20 ... Computer 21 ... Product database 23 ... Print data generator 30 ... Code image 40 ... Print data 42 ... Code information 60 ... Printer driver L ... Product label

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に記載のプリンタードライバー。   The print command unit prints the predetermined print element decorated based on the decoration information associated with the identifier and the code image based on the code information acquired by the code information acquisition unit. The printer driver according to claim 1, wherein the printer driver is commanded. 前記所定の印刷要素は、前記識別子に付加された前記パラメーターを指すことを特徴とする請求項1または2に記載のプリンタードライバー。   The printer driver according to claim 1, wherein the predetermined printing element indicates the parameter added to the identifier. 前記印刷指令部は、前記パラメーターに、前記識別子に対応するテキストを付加して印刷するように指令を行うことを特徴とする請求項3に記載のプリンタードライバー。   The printer driver according to claim 3, wherein the print command unit issues a command to add a text corresponding to the identifier to the parameter for printing. 前記識別子は、商品コードを示すものであり、
前記条件判別部は、商品データーベースの参照結果から、前記パラメーターによって特定される商品が広告対象商品であると判定できた場合、前記条件を満たすと判定することを特徴とする請求項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.
前記装飾情報は、文字サイズ、文字スタイル、下線、罫線、枠線、文字飾り、文字色、線色、地紋色、文字種類、画像付加、印刷位置、のうち、1以上に関する情報を含むことを特徴とする請求項1ないし6のいずれか1項に記載のプリンタードライバー。   The decoration information includes information on one or more 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. The printer driver according to claim 1, wherein the printer driver is a printer driver. 請求項1ないし7のいずれか1項に記載のプリンタードライバーが組み込まれたコンピューターと、
前記印刷装置と、を備えたことを特徴とする印刷システム。
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.
JP2010114025A 2009-08-21 2010-05-18 Printer driver, printing system, and printer driver control method Expired - Fee Related JP5482438B2 (en)

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)

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