JP6060534B2 - Image processing apparatus, image processing system, and printing method - Google Patents

Image processing apparatus, image processing system, and printing method Download PDF

Info

Publication number
JP6060534B2
JP6060534B2 JP2012139501A JP2012139501A JP6060534B2 JP 6060534 B2 JP6060534 B2 JP 6060534B2 JP 2012139501 A JP2012139501 A JP 2012139501A JP 2012139501 A JP2012139501 A JP 2012139501A JP 6060534 B2 JP6060534 B2 JP 6060534B2
Authority
JP
Japan
Prior art keywords
image data
image
resolution
symbol
unit
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
JP2012139501A
Other languages
Japanese (ja)
Other versions
JP2014002697A (en
JP2014002697A5 (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 JP2012139501A priority Critical patent/JP6060534B2/en
Priority to CN201310198531.1A priority patent/CN103516952B/en
Priority to EP13172202.7A priority patent/EP2677418B1/en
Priority to US13/922,906 priority patent/US9135534B2/en
Publication of JP2014002697A publication Critical patent/JP2014002697A/en
Publication of JP2014002697A5 publication Critical patent/JP2014002697A5/ja
Application granted granted Critical
Publication of JP6060534B2 publication Critical patent/JP6060534B2/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 an image processing apparatus, an image processing system, and a printing method that perform image processing for printing a symbol image.

従来、シンボル画像(例えば、バーコード画像)の印刷に関する技術として、特許文献1が提案されている。当該特許文献1は、ホストから送信されたバーコードコード描画コマンドを解釈してイメージ展開する機能を備えたプリンターに関するものであり、オペレーターによりバーコードの拡大縮小率を入力可能とすることで、プリンターのエンジン特性、解像度、搬送方向等の違いによる、バーコードの縮みや間延びを防止するものである。   Conventionally, Patent Document 1 has been proposed as a technique related to printing of symbol images (for example, barcode images). Patent Document 1 relates to a printer having a function of interpreting a barcode code drawing command transmitted from a host and developing an image. By enabling an operator to input a barcode enlargement / reduction ratio, This prevents bar codes from shrinking or extending due to differences in engine characteristics, resolution, conveyance direction, and the like.

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

ところで、バーコード画像を印刷する場合、ホスト(アプリケーション)からバーコードコード描画コマンドではなく、シンボル画像の画像データそのものが送信される場合がある。このような場合であって、ホストが想定している解像度と、プリンターの解像度とが異なる場合(プリンターを置き換えた場合など)、プリンタードライバーやプリンター内で、バーコード画像の拡大・縮小が行われるため、画像が崩れてしまい、バーコードリーダーで正常な読み取りができなくなってしまう。例えば、解像度300dpiのバーコード画像を360dpiのプリンターで印刷しようとした場合であって、用紙に合わせて画像の幅を合わせたい場合、300dpiから360dpiへの画像データの拡大処理によりバーコード精度が落ちてしまう。また、画像の幅を合わせず、そのまま印刷しようとしても、1ドットの大きさが異なるため、バーとバー間の比率が狂ってしまう。このような不具合を解決するため、アプリケーションを変更し、プリンターの解像度に見合ったバーコード画像を生成することが望ましいが、アプリケーションの変更には多額のコストを要するため、解決策として現実的ではない。   By the way, when printing a barcode image, the image data itself of the symbol image may be transmitted from the host (application) instead of the barcode code drawing command. In such a case, if the resolution assumed by the host and the resolution of the printer are different (such as when the printer is replaced), the barcode image is enlarged or reduced in the printer driver or printer. For this reason, the image is destroyed and the barcode reader cannot perform normal reading. For example, if you want to print a barcode image with a resolution of 300 dpi on a 360 dpi printer and want to adjust the width of the image to fit the paper, the barcode accuracy will drop due to the image data enlargement process from 300 dpi to 360 dpi. End up. Even if the image width is not adjusted and printing is performed as it is, since the size of one dot is different, the ratio between the bars is out of order. To solve such problems, it is desirable to change the application and generate a barcode image that matches the resolution of the printer. However, changing the application requires a large amount of money, so it is not practical as a solution. .

本発明は、このような問題点に鑑み、解像度の異なるプリンターへの置き換えを行った場合でも、アプリケーションの変更を必要とすることなく、シンボル画像の印刷品質を維持することが可能な画像処理装置、画像処理システムおよび印刷方法を提供することを課題とする。   In view of such a problem, the present invention is an image processing apparatus capable of maintaining the print quality of a symbol image without requiring application changes even when replacement with a printer having a different resolution is performed. It is an object of the present invention to provide an image processing system and a printing method.

本発明の画像処理装置は、第1の解像度に対応したシンボル画像の情報を有する第1の画像データを取得する画像データ取得部と、第1の解像度に対応したシンボル画像の情報を、バーコードリーダー機能を用いてデコードする解析部と、解析部による第1の解像度に対応したシンボル画像のデコード結果を、第2の解像度に対応したシンボル画像の情報に変換する情報変換部と、情報変換部で変換された第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成する画像データ生成部と、を備え、画像データ生成部は、第2の解像度に対応したシンボル画像の情報の第2の画像データ内における印刷位置を指定する印刷位置指定部の指定にしたがって、第2の画像データを生成することを特徴とする。
上記の画像処理装置において、第2の画像データは、プリンターに印刷させる印刷コマンドを有することを特徴とする。
記の画像処理装置において、第1の解像度が指定される解像度指定部を有し、画像データ生成部は、第1の解像度及び第2の解像度に基づいて、第1の画像データの拡大または縮小処理を行い、拡大または縮小処理された第1の画像データの第1の解像度に対応したシンボル画像の情報の配置に応じて、第2の画像データ内の第2の解像度に対応したシンボル画像の情報の印刷位置を設定することを特徴とする。
上記の画像処理装置において、第1の画像データは、印刷用紙サイズに関する情報を有し、画像データ生成部は、印刷用紙サイズに関する情報に基づいて、第1の画像データの拡大または縮小処理を行い、拡大または縮小処理された第1の画像データの第1の解像度に対応したシンボル画像の情報の配置に応じて、第2の画像データ内の第2の解像度に対応したシンボル画像の情報の印刷位置を設定することを特徴とする。
本発明の画像処理システムは、第1の解像度に対応したシンボル画像の情報を有する第1の画像データを生成するアプリケーションを実行させる実行部、アプリケーションで生成された第1の画像データを取得する画像データ取得部、第1の解像度に対応したシンボル画像の情報を、バーコードリーダー機能を用いてデコードする解析部、解析部による第1の解像度に対応したシンボル画像のデコード結果を第2の解像度に対応したシンボル画像の情報に変換する情報変換部、情報変換部で変換された第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成する画像データ生成部、及び画像データ生成部で生成された第2の画像データを送信する送信部を有し、画像データ生成部は、第2の解像度に対応したシンボル画像の情報の第2の画像データ内における印刷位置を指定する印刷位置指定部の指定にしたがって、第2の画像データを生成する画像処理装置と、画像処理装置の送信部から送信された第2の画像データを受信する受信部、第2の解像度で印刷を行う印刷ヘッド、及び受信部で受信された第2の画像データを印刷ヘッドで印刷させる制御部を有するプリンターと、を備えることを特徴とする。
本発明の印刷方法は、プリンターが、第1の解像度に対応したシンボル画像の情報を有する第1の画像データを取得し、第1の画像データ内の第1の解像度に対応したシンボル画像の情報を、バーコードリーダー機能を用いてデコードし、第1の解像度に対応したシンボル画像のデコード結果を、第2の解像度に対応したシンボル画像の情報に変換し、変換された第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成し、生成された第2の画像データを第2の解像度で印刷を行う印刷ヘッドで印刷し、第2の画像データを生成する際には、第2の解像度に対応したシンボル画像の情報の第2の画像データ内における印刷位置の指定にしたがうことを特徴とする。
なお、以下の構成としても良い。
本発明の画像処理装置は、第1の解像度に対応したシンボル画像の情報を有する第1の画像データを取得する画像データ取得部と、第1の解像度に対応したシンボル画像の情報を解析する解析部と、解析部の解析結果を、第2の解像度に対応したシンボル画像の情報に変換する情報変換部と、第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成する画像データ生成部と、を備えることを特徴とする。
An image processing apparatus according to the present invention includes an image data acquisition unit that acquires first image data having symbol image information corresponding to a first resolution, and a symbol image information corresponding to the first resolution. An analysis unit that decodes using a reader function, an information conversion unit that converts a decoding result of a symbol image corresponding to the first resolution by the analysis unit into information of a symbol image corresponding to the second resolution, and an information conversion unit An image data generation unit that generates second image data having symbol image information corresponding to the second resolution converted in step (b), and the image data generation unit includes a symbol image corresponding to the second resolution. The second image data is generated in accordance with the designation of the print position designation unit that designates the print position in the second image data of the information .
In the image processing apparatus, the second image data has a print command for causing the printer to print.
In the image processing apparatus above SL has a resolution designation unit that the first resolution is specified, the image data generating unit based on the first resolution and a second resolution, the first image data enlarged or The symbol image corresponding to the second resolution in the second image data according to the arrangement of the symbol image information corresponding to the first resolution of the first image data subjected to the reduction processing and enlarged or reduced. The printing position of the information is set.
In the image processing apparatus, the first image data includes information related to the print paper size, and the image data generation unit performs an enlargement or reduction process of the first image data based on the information related to the print paper size. Printing of symbol image information corresponding to the second resolution in the second image data in accordance with the arrangement of the symbol image information corresponding to the first resolution of the enlarged or reduced first image data The position is set.
An image processing system according to the present invention includes an execution unit that executes an application that generates first image data having symbol image information corresponding to a first resolution, and an image that acquires first image data generated by the application. The data acquisition unit, the analysis unit that decodes the symbol image information corresponding to the first resolution using the barcode reader function, and the decoding result of the symbol image corresponding to the first resolution by the analysis unit to the second resolution An information conversion unit that converts information into corresponding symbol image information, an image data generation unit that generates second image data having symbol image information corresponding to the second resolution converted by the information conversion unit, and image data generation have a transmission unit that transmits second image data generated by the section, the image data generating section, a symbol image corresponding to the second resolution Of as specified in the print position designating section for designating a print position in the second image data in the information, and an image processing apparatus for generating a second image data, a second transmitted from the transmitting unit of the image processing apparatus And a printer having a receiving unit that receives image data, a print head that performs printing at a second resolution, and a control unit that causes the print head to print second image data received by the receiving unit. To do.
According to the printing method of the present invention, the printer acquires the first image data having the symbol image information corresponding to the first resolution, and the symbol image information corresponding to the first resolution in the first image data. Is decoded using the barcode reader function, and the decoding result of the symbol image corresponding to the first resolution is converted into the symbol image information corresponding to the second resolution, and the converted second resolution is supported. When generating the second image data having the symbol image information, printing the generated second image data with a print head that performs printing at the second resolution, and generating the second image data , According to the designation of the print position in the second image data of the symbol image information corresponding to the second resolution .
The following configuration may be used.
An image processing apparatus according to the present invention includes an image data acquisition unit that acquires first image data having symbol image information corresponding to a first resolution, and an analysis that analyzes information about the symbol image corresponding to the first resolution. And an information conversion unit for converting the analysis result of the analysis unit into symbol image information corresponding to the second resolution, and generating second image data having symbol image information corresponding to the second resolution And an image data generation unit.

本発明の画像処理システムは、第1の解像度に対応したシンボル画像の情報を有する第1の画像データを生成するアプリケーションを実行させる実行部、アプリケーションで生成された第1の画像データを取得する画像データ取得部、第1の解像度に対応したシンボル画像の情報を解析する解析部、解析部の解析結果を第2の解像度に対応したシンボル画像の情報に変換する情報変換部、第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成する画像データ生成部、及び画像データ生成部で生成された第2の画像データを送信する送信部を有する画像処理装置と、画像処理装置の送信部から送信された第2の画像データを受信する受信部、第2の解像度で印刷を行う印刷ヘッド、及び受信部で受信された第2の画像データを印刷ヘッドで印刷させる制御部を有するプリンターと、を備えたことを特徴とする。   An image processing system according to the present invention includes an execution unit that executes an application that generates first image data having symbol image information corresponding to a first resolution, and an image that acquires first image data generated by the application. A data acquisition unit, an analysis unit that analyzes information of a symbol image corresponding to the first resolution, an information conversion unit that converts an analysis result of the analysis unit into symbol image information corresponding to the second resolution, and a second resolution An image processing apparatus having an image data generation unit that generates second image data having information of a corresponding symbol image, a transmission unit that transmits the second image data generated by the image data generation unit, and an image processing apparatus A receiving unit that receives the second image data transmitted from the transmitting unit, a print head that performs printing at the second resolution, and the second image data received by the receiving unit. A printer having a control unit to print the data in the print head, characterized by comprising a.

本発明の印刷方法は、第1の解像度に対応したシンボル画像の情報を有する第1の画像データを生成し、生成された第1の画像データの第1の解像度に対応したシンボル画像の情報を解析し、解析された結果を、第2の解像度に対応したシンボル画像の情報に変換し、変換された第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成し、生成された第2の画像データを第2の解像度で印刷を行う印刷ヘッドで印刷することを特徴とする。   The printing method of the present invention generates first image data having symbol image information corresponding to the first resolution, and generates symbol image information corresponding to the first resolution of the generated first image data. Analyzing, converting the analyzed result into symbol image information corresponding to the second resolution, generating second image data having symbol image information corresponding to the converted second resolution, and generating The printed second image data is printed by a print head that prints at the second resolution.

本発明の構成によれば、第1の解像度に対応したシンボル画像の情報を解析し、その解析結果を、第2の解像度に対応したシンボル画像の情報に変換するため、置き換え前のプリンターの解像度(第1の解像度)と、置き換え後のプリンターの解像度(第2の解像度)が異なる場合でも、アプリケーションの変更を必要とすることなく、シンボル画像の印刷品質を維持することができる。
なお、「シンボル画像」とは、バーコード画像、2次元コード画像、カラーコード画像など、情報をコード化した画像を指す。
また、画像処理装置は、ホストとプリンターとを備える印刷システムにおいて、ホスト側に搭載されても良いし、プリンター側に搭載されても良い。前者の場合、画像処理装置は、プリンタードライバーとして実装可能である。
また、第2の解像度に対応したシンボル画像の情報は、第2の解像度に対応したシンボル画像の画像データであっても良い。この構成によれば、画像処理装置で、第2の解像度に対応したシンボル画像の画像データを含む第2の画像データを生成することができる。
According to the configuration of the present invention, the information of the symbol image corresponding to the first resolution is analyzed, and the analysis result is converted into the symbol image information corresponding to the second resolution. Even when the (first resolution) and the replaced printer resolution (second resolution) are different, the print quality of the symbol image can be maintained without requiring application changes.
The “symbol image” refers to an image in which information is coded, such as a barcode image, a two-dimensional code image, or a color code image.
The image processing apparatus may be mounted on the host side or the printer side in a printing system including a host and a printer. In the former case, the image processing apparatus can be implemented as a printer driver.
The symbol image information corresponding to the second resolution may be image data of the symbol image corresponding to the second resolution. According to this configuration, the image processing apparatus can generate the second image data including the image data of the symbol image corresponding to the second resolution.

上記の画像処理装置において、第2の画像データは、プリンターに印刷させる印刷コマンドを有することを特徴とする。   In the image processing apparatus, the second image data has a print command for causing the printer to print.

本発明の構成によれば、画像処理装置で、第2の解像度に対応したシンボル画像をプリンターに印刷させる印刷コマンドを生成することができる。本構成の場合、画像処理装置は、プリンタードライバーとしてホスト側に搭載されることが想定される。   According to the configuration of the present invention, the image processing apparatus can generate a print command that causes the printer to print a symbol image corresponding to the second resolution. In the case of this configuration, the image processing apparatus is assumed to be mounted on the host side as a printer driver.

上記の画像処理装置において、第2の画像データの第2の解像度に対応したシンボル画像の情報の印刷位置を指定する印刷位置指定部を備え、画像データ生成部は、印刷位置指定部の指定にしたがって、第2の画像データを生成することを特徴とする。   The image processing apparatus includes a print position designating unit that designates the print position of the symbol image information corresponding to the second resolution of the second image data, and the image data generation unit designates the print position designating unit. Therefore, the second image data is generated.

本発明の構成によれば、印刷情報の印刷位置(シンボル画像の画像データまたは印刷コマンドの挿入位置)を指定可能であるため、解像度の違いによる画像データの拡大縮小処理(例えば、ユーザーによる拡大縮小率の指定に基づく処理)によりシンボル画像の印刷領域が拡大または縮小された場合、若しくは画像データの拡大縮小処理を行わないことにより実印刷サイズが異なる場合でも、印刷物の見栄えを損ねることがない。   According to the configuration of the present invention, the print position of the print information (the image data of the symbol image or the insertion position of the print command) can be specified. Even if the print area of the symbol image is enlarged or reduced by the processing based on the designation of the rate) or the actual print size is different by not performing the enlargement / reduction processing of the image data, the appearance of the printed matter is not impaired.

上記の画像処理装置において、第1の解像度が指定される解像度指定部を有し、画像データ生成部は、第1の解像度と第2の解像度に基づいて、第1の画像データの拡大または縮小処理を行い、拡大または縮小処理された第1の画像データの第1の解像度に対応したシンボル画像の配置に応じて、第2の画像データ内における第2の解像度に対応したシンボル画像の印刷位置を設定することを特徴とする。   The image processing apparatus includes a resolution designating unit for designating a first resolution, and the image data generating unit enlarges or reduces the first image data based on the first resolution and the second resolution. The printing position of the symbol image corresponding to the second resolution in the second image data according to the arrangement of the symbol image corresponding to the first resolution of the first image data that has been processed and enlarged or reduced Is set.

本発明の構成によれば、第1の解像度を指定するだけで、第1の解像度と第2の解像度の違いに応じた拡大縮小処理を正確に行うことができる。また、当該拡大縮小処理後のシンボル画像の配置に応じて、第2の画像データ内における印刷情報の印刷位置(シンボル画像の画像データまたは印刷コマンドの挿入位置)を、適切な位置に設定することができる。   According to the configuration of the present invention, the enlargement / reduction process corresponding to the difference between the first resolution and the second resolution can be accurately performed only by designating the first resolution. Also, according to the arrangement of the symbol image after the enlargement / reduction processing, the print position of the print information (symbol image image data or print command insertion position) in the second image data is set to an appropriate position. Can do.

上記の画像処理装置において、第1の画像データは、印刷用紙サイズに関する情報を有し、画像データ生成部は、印刷用紙サイズに関する情報に基づいて、第1の画像データの拡大または縮小処理を行うことを特徴とする。   In the above-described image processing apparatus, the first image data has information related to the print paper size, and the image data generation unit performs enlargement or reduction processing of the first image data based on the information related to the print paper size. It is characterized by that.

本発明の構成によれば、第2の画像データが、第1の画像データに付加された印刷用紙サイズに関する情報に見合った大きさで印刷されるように、適切な拡大縮小処理を行うことができる。   According to the configuration of the present invention, it is possible to perform an appropriate enlargement / reduction process so that the second image data is printed in a size corresponding to the information relating to the print paper size added to the first image data. it can.

本発明の一実施形態に係る印刷システムのシステム構成図である。1 is a system configuration diagram of a printing system according to an embodiment of the present invention. 第1実施形態に係る印刷処理の流れを示すフローチャートである。4 is a flowchart illustrating a flow of printing processing according to the first embodiment. 第1実施形態に係るプリンタードライバーの機能ブロック図である。FIG. 3 is a functional block diagram of a printer driver according to the first embodiment. バーコード画像の印刷位置の設定に関する説明図である。It is explanatory drawing regarding the setting of the printing position of a barcode image. 変形例に係るバーコード画像の印刷位置の設定に関する説明図である。It is explanatory drawing regarding the setting of the printing position of the barcode image which concerns on a modification. 第2実施形態に係る印刷処理の流れを示すフローチャートである。10 is a flowchart illustrating a flow of a printing process according to the second embodiment. 第3実施形態に係る印刷処理の流れを示すフローチャートである。10 is a flowchart illustrating a flow of a printing process according to a third embodiment.

[第1実施形態]
以下、本発明の一実施形態に係る画像処理装置、画像処理システムおよび印刷方法について、添付図面を参照しながら詳細に説明する。第1実施形態では、本発明の画像処理装置を、プリンタードライバーとして実装する場合について例示する。
[First Embodiment]
Hereinafter, an image processing apparatus, an image processing system, and a printing method according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In the first embodiment, an example in which the image processing apparatus of the present invention is mounted as a printer driver will be described.

図1は、印刷システムSY(画像処理システム)のシステム構成図である。印刷システムSYは、上位装置となるPC1と、PC1からの印刷指令に基づいて印刷を行うプリンター2と、を備える。パーソナルコンピューター(以下、「PC」と表記する)1とプリンター2は、ケーブルまたはLAN等のネットワークを介して接続される。   FIG. 1 is a system configuration diagram of a printing system SY (image processing system). The printing system SY includes a PC 1 serving as a host device and a printer 2 that performs printing based on a print command from the PC 1. The personal computer (hereinafter referred to as “PC”) 1 and the printer 2 are connected via a network such as a cable or a LAN.

PC1は、バーコード画像(シンボル画像)を生成するアプリケーション11と、プリンター2に対応したプリンタードライバー12と、印刷対象となる画像データなど各種情報を表示するディスプレイ13と、各種情報を入力するキーボード14およびマウス15と、を備えている。アプリケーション11としては、医療現場で用いられる帳票アプリケーションなどを想定する。一方、プリンター2は、PC1とのデータ入出力制御および印刷制御など各種制御を行うプリンター制御部21と、印刷ヘッドおよび用紙搬送機構を含む印刷機構22と、を備えている。   The PC 1 includes an application 11 for generating a barcode image (symbol image), a printer driver 12 corresponding to the printer 2, a display 13 for displaying various information such as image data to be printed, and a keyboard 14 for inputting various information. And a mouse 15. As the application 11, a form application used in a medical field is assumed. On the other hand, the printer 2 includes a printer control unit 21 that performs various controls such as data input / output control and printing control with the PC 1, and a printing mechanism 22 including a print head and a paper transport mechanism.

本実施形態のプリンター2は、解像度360dpiに対応しており、300dpiの旧プリンターから置き換えられたものとする。また、アプリケーション11は、300dpiの旧プリンターに対応した画像データを生成するものであり、当該画像データには、バーコード画像の画像データ(情報)が含まれているものとする。このようなシステム構成では、解像度の違いによりバーコード画像の印刷品質が悪化する。そのため、本実施形態では、プリンタードライバー12により解像度の違いを吸収し、バーコード画像の印刷品質を保持する。   The printer 2 of this embodiment corresponds to a resolution of 360 dpi, and is assumed to be replaced with an old printer with 300 dpi. The application 11 generates image data corresponding to a 300 dpi old printer, and the image data includes image data (information) of a barcode image. In such a system configuration, the print quality of the barcode image deteriorates due to the difference in resolution. For this reason, in this embodiment, the printer driver 12 absorbs the difference in resolution and maintains the print quality of the barcode image.

図2は、第1実施形態に係る印刷処理の大まかな流れを示す簡易フローチャートである。まず、アプリケーション11は、例えば“12345678”という数値を300dpi用に作成したバーコード画像を生成する(S01)。次に、プリンタードライバー12は、バーコードリーダー機能を用いてバーコード画像を解析し、“12345678”という数値に変換する(S02)。その後、数値“12345678”を新しいプリンター2の360dpiで保証できるバーコード画像に変換して、プリンター2への印刷指令を行う(S03)。プリンター2は、当該印刷指令に基づき、360dpi用のバーコード画像を所定の印刷用紙に印刷する(S04)。   FIG. 2 is a simplified flowchart showing a rough flow of the printing process according to the first embodiment. First, the application 11 generates a barcode image in which a numerical value “12345678” is created for 300 dpi, for example (S01). Next, the printer driver 12 analyzes the barcode image using the barcode reader function and converts the barcode image into a numerical value “12345678” (S02). Thereafter, the numerical value “12345678” is converted into a barcode image that can be guaranteed at 360 dpi of the new printer 2, and a print command is issued to the printer 2 (S 03). Based on the print command, the printer 2 prints a barcode image for 360 dpi on a predetermined print sheet (S04).

なお、実際にアプリケーション11は、バーコード画像のみを生成するのではなく、バーコード画像(B1)を一部とした画像データ(D1)を生成する(図4(a)等参照)。そして、プリンタードライバー12は、取得した画像データにバーコード画像が含まれるか否かを判別し、バーコード画像が含まれる場合、図2に示した各処理を行う。以下、プリンタードライバー12の機能について詳述する。   Actually, the application 11 does not generate only the barcode image, but generates image data (D1) including the barcode image (B1) as a part (see FIG. 4A and the like). Then, the printer driver 12 determines whether or not the acquired image data includes a barcode image. If the barcode image is included, the printer driver 12 performs each process illustrated in FIG. Hereinafter, functions of the printer driver 12 will be described in detail.

図3は、第1実施形態に係るプリンタードライバー12の機能ブロック図である。プリンタードライバー12は、主な機能構成として、画像データ取得部120、解析部130、情報変換部140、印刷位置指定部150、画像データ生成部160および画像データ出力部170を備えている。   FIG. 3 is a functional block diagram of the printer driver 12 according to the first embodiment. The printer driver 12 includes an image data acquisition unit 120, an analysis unit 130, an information conversion unit 140, a print position designation unit 150, an image data generation unit 160, and an image data output unit 170 as main functional configurations.

画像データ取得部120は、アプリケーション11より、旧プリンターの解像度(第1の解像度,本実施形態では300dpi)に対応したバーコード画像の画像データ(情報)を含む第1の画像データを取得する。解析部130は、第1の画像データに含まれる旧プリンターの解像度に対応したバーコード画像の情報を解析する。ここで「解析」とは、第1の画像データを画像として読み取り、バーコード画像をデコードすることを指す。   The image data acquisition unit 120 acquires first image data including image data (information) of a barcode image corresponding to the resolution of the old printer (first resolution, 300 dpi in the present embodiment) from the application 11. The analysis unit 130 analyzes the barcode image information corresponding to the resolution of the old printer included in the first image data. Here, “analysis” refers to reading the first image data as an image and decoding the barcode image.

情報変換部140は、解析部130の解析結果を、新プリンター2の解像度(第2の解像度,本実施形態では360dpi)に対応したバーコード画像を印刷する印刷情報(バーコード画像の情報)に変換する。本実施形態では、「印刷情報」として、新プリンター2の解像度に対応したバーコード画像の画像データに変換する。つまり、解析部130の解析結果である数字列を、360dpi用のバーコード画像の画像データに変換する。   The information conversion unit 140 converts the analysis result of the analysis unit 130 into print information (barcode image information) for printing a barcode image corresponding to the resolution of the new printer 2 (second resolution, 360 dpi in the present embodiment). Convert. In this embodiment, “print information” is converted into image data of a barcode image corresponding to the resolution of the new printer 2. That is, the numeric string that is the analysis result of the analysis unit 130 is converted into image data of a barcode image for 360 dpi.

印刷位置指定部150は、画像データ(第2の画像データ)内におけるバーコード画像の画像データ(印刷情報)の印刷位置を指定する。印刷位置の指定方法については、後述する。画像データ生成部160は、情報変換部140により変換された印刷情報(バーコード画像の画像データ)を、印刷位置指定部150の指定に基づく位置に配置した第2の画像データを生成する。画像データ出力部170は、画像データ生成部160により生成された第2の画像データを、プリンター2に出力する。   The print position designation unit 150 designates the print position of the image data (print information) of the barcode image in the image data (second image data). A method for specifying the print position will be described later. The image data generation unit 160 generates second image data in which the print information (barcode image image data) converted by the information conversion unit 140 is arranged at a position based on the designation of the print position designation unit 150. The image data output unit 170 outputs the second image data generated by the image data generation unit 160 to the printer 2.

なお、特に図示しないが、PC1は、プリンタードライバー12以外の機能構成として、第1の解像度に対応したシンボル画像の情報を有する第1の画像データを生成するアプリケーション11を実行させる実行部と、画像データ生成部160で生成された第2の画像データ(画像データ出力部170から出力された第2の画像データ)をプリンター2に送信する送信部と、を有する。また、プリンター2は、送信部から送信された第2の画像データを受信する受信部と、第2の解像度で印刷を行う印刷ヘッドと、受信部で受信された第2の画像データを印刷ヘッド(印刷機構22)で印刷させる制御部(プリンター制御部21)と、を有する。   Although not particularly illustrated, the PC 1 has an execution unit that executes an application 11 that generates first image data having symbol image information corresponding to the first resolution as a functional configuration other than the printer driver 12, and an image. A transmission unit that transmits the second image data generated by the data generation unit 160 (second image data output from the image data output unit 170) to the printer 2. The printer 2 also includes a receiving unit that receives the second image data transmitted from the transmitting unit, a print head that performs printing at the second resolution, and a print head that receives the second image data received by the receiving unit. And a control unit (printer control unit 21) that performs printing by the (printing mechanism 22).

図4は、バーコード画像の印刷位置の設定に関する説明図である。なお、図4内の各図は、画像データのイメージを示したものであり、印刷結果を示すものではない。図4(a)は、300dpi用のバーコード画像(以下、「第1のバーコード画像B1」と称する)を含む第1の画像データD1を示す。また、図4(b)は、第1のバーコード画像B1を除く第1の画像データD1を拡大処理した第2の画像データD2を示す。これは、300dpiに対応した第1の画像データD1をそのまま360dpi用のプリンター2で印刷すると、若干小さく印刷されてしまうため(規定の用紙上における印刷範囲が狭くなるため)、規定の用紙幅に合うように拡大したものである。なお、拡大率については、ユーザーが指定(入力)したものとする。   FIG. 4 is an explanatory diagram regarding setting of the print position of the barcode image. Each drawing in FIG. 4 shows an image of image data, and does not show a printing result. FIG. 4A shows first image data D1 including a barcode image for 300 dpi (hereinafter referred to as “first barcode image B1”). FIG. 4B shows second image data D2 obtained by enlarging the first image data D1 excluding the first barcode image B1. This is because if the first image data D1 corresponding to 300 dpi is printed as it is by the printer 2 for 360 dpi, it is printed slightly smaller (because the printing range on the prescribed paper becomes narrow), so that the prescribed paper width is achieved. Enlarged to fit. Note that the enlargement rate is specified (input) by the user.

図4(c)は、第2の画像データD2上で印刷範囲E1を指定した様子を示す。印刷範囲E1の指定は、例えば図4(b)の第2の画像データD2をディスプレイ13上に表示し、ユーザーがキーボード14またはマウス15を操作することにより行う。また、図4(d)は、第2の画像データD2の、指定された印刷範囲E1に360dpi用のバーコード画像(以下、「第2のバーコード画像B2」と称する)を配置した状態を示す。ここで、第2のバーコード画像B2は、印刷範囲E1の基準位置(印刷範囲E1の中心、印刷範囲E1の4つの頂点のいずれか、など)に合わせて配置される。また、印刷範囲E1の大きさ(横幅および/または縦幅)に応じて、第2のバーコード画像B2の拡大または縮小処理を行っても良い。但し、拡大または縮小処理を行う場合、単にバーコード画像を拡大・縮小するのではなく、変換後の解像度に合わせて、バーコードの各バーを印刷するドット数を調整することが好ましい。   FIG. 4C shows a state where the print range E1 is designated on the second image data D2. The print range E1 is specified by, for example, displaying the second image data D2 of FIG. 4B on the display 13 and operating the keyboard 14 or the mouse 15 by the user. FIG. 4D shows a state in which a barcode image for 360 dpi (hereinafter referred to as “second barcode image B2”) is arranged in the designated print range E1 of the second image data D2. Show. Here, the second barcode image B2 is arranged in accordance with the reference position of the print range E1 (the center of the print range E1, one of the four vertices of the print range E1, etc.). Further, the second barcode image B2 may be enlarged or reduced according to the size of the print range E1 (horizontal width and / or vertical width). However, when performing enlargement or reduction processing, it is preferable not to simply enlarge or reduce the barcode image, but to adjust the number of dots printed on each bar of the barcode in accordance with the resolution after conversion.

このように、第2の画像データD2上における第2のバーコード画像B2の印刷範囲E1をユーザーが指定できるため、ユーザーによる拡大・縮小率の指定にしたがって、第2のバーコード画像B2の印刷領域が拡大または縮小された場合でも、バーコード位置がずれてしまうなど、印刷物の見栄えを損ねることがない。   Thus, since the user can designate the print range E1 of the second barcode image B2 on the second image data D2, the printing of the second barcode image B2 is performed according to the designation of the enlargement / reduction ratio by the user. Even when the area is enlarged or reduced, the appearance of the printed matter is not impaired, for example, the barcode position is shifted.

なお、図4の例では、印刷範囲E1を指定したが、印刷範囲E1の基準位置(印刷位置)を指定しても良い。また、図4の例では、第1の画像データD1を拡大処理して第2の画像データD2を生成したが、必ずしも拡大処理する必要はない。拡大処理を行わない場合は、第1の画像データD1から第1のバーコード画像B1を除いた第2の画像データD2上で、印刷範囲E1(または印刷位置)を指定すれば良い。   In the example of FIG. 4, the print range E1 is specified, but a reference position (print position) of the print range E1 may be specified. In the example of FIG. 4, the first image data D1 is enlarged to generate the second image data D2. However, the enlargement processing is not necessarily required. When the enlargement process is not performed, the print range E1 (or print position) may be specified on the second image data D2 obtained by removing the first barcode image B1 from the first image data D1.

以上説明したとおり、第1実施形態によれば、旧プリンターに対応したバーコード画像を解析し、その解析結果を、新プリンター2に対応したバーコード画像を印刷する画像データに変換するため、置き換え前後のプリンター2の解像度が異なる場合でも、アプリケーション11の変更を必要とすることなく、バーコード画像の印刷品質を維持することができる。   As described above, according to the first embodiment, the barcode image corresponding to the old printer is analyzed, and the analysis result is converted to the image data for printing the barcode image corresponding to the new printer 2. Even when the front and rear printers 2 have different resolutions, the print quality of the barcode image can be maintained without requiring the application 11 to be changed.

また、第2の画像データD2上における第2のバーコード画像B2の印刷範囲E1を指定可能であるため、解像度の違いによる画像データの拡大縮小処理によりバーコード画像の印刷領域が拡大または縮小された場合、若しくは画像データ全体の拡大縮小処理を行わないことにより用紙上における実印刷サイズが異なる場合でも、印刷物の見栄えを損ねることがない。   Further, since the print range E1 of the second barcode image B2 on the second image data D2 can be designated, the print area of the barcode image is enlarged or reduced by the enlargement / reduction processing of the image data due to the difference in resolution. In this case, even if the actual print size on the paper is different by not performing the enlargement / reduction process on the entire image data, the appearance of the printed matter is not impaired.

なお、上記の第1実施形態では、第2の画像データD2上における第2のバーコード画像B2の印刷位置を特定するため、ユーザーが直接印刷範囲E1を指定したが、これに代えて、旧プリンターの解像度を指定しても良い(解像度指定部)。以下、この構成を、第1の変形例として説明する。図5は、第1の変形例に係るバーコード画像の印刷位置の設定に関する説明図である。図5(a)は、第1のバーコード画像B1を含む第1の画像データD1を示す。また、図5(b)は、指定された旧プリンターの解像度と新プリンター2の解像度(プリンタードライバー12が対応している解像度)に応じて、第1の画像データD1を拡大処理した第2の画像データD2を示す。ここでは、第1のバーコード画像B1を含む第1の画像データD1をそのまま拡大したため、バーコード部分については品質保証ができないものとなっている。なお、図5(b)では、図4の例と同様に、規定の用紙幅に合うように拡大したが、拡大処理を省略し実印刷サイズを小さくしても良い。   In the first embodiment, the user directly designates the print range E1 in order to specify the print position of the second barcode image B2 on the second image data D2. The printer resolution may be designated (resolution designation section). Hereinafter, this configuration will be described as a first modification. FIG. 5 is an explanatory diagram regarding the setting of the print position of the barcode image according to the first modification. FIG. 5A shows the first image data D1 including the first barcode image B1. FIG. 5B shows a second image obtained by enlarging the first image data D1 in accordance with the resolution of the designated old printer and the resolution of the new printer 2 (resolution supported by the printer driver 12). Image data D2 is shown. Here, since the first image data D1 including the first barcode image B1 is enlarged as it is, the quality of the barcode portion cannot be guaranteed. In FIG. 5B, as in the example of FIG. 4, enlargement is performed to fit the specified paper width, but enlargement processing may be omitted to reduce the actual print size.

図5(c)は、第2の画像データD2上でバーコード画像領域E2を自動的にトリミングした様子を示す。また、図5(d)は、そのトリミングした領域(=バーコード画像領域E2)に、別途生成された360dpi用のバーコード画像(第2のバーコード画像B2)を配置した状態を示す。ここで、第2のバーコード画像B2は、バーコード画像領域E2の基準位置(印刷範囲E1の中心、印刷範囲E1の4つの頂点のいずれか、など)に合わせて配置される。また、バーコード画像領域E2の大きさ(横幅および/または縦幅)に応じて、第2のバーコード画像B2の拡大または縮小処理を行っても良い。なお、図5(b)〜(c)は、プリンタードライバー12(画像データ生成部160)による処理工程である。   FIG. 5C shows a state in which the barcode image area E2 is automatically trimmed on the second image data D2. FIG. 5D shows a state where a separately generated barcode image for 360 dpi (second barcode image B2) is arranged in the trimmed region (= barcode image region E2). Here, the second barcode image B2 is arranged in accordance with the reference position of the barcode image area E2 (the center of the printing range E1, one of the four vertices of the printing range E1, etc.). Further, the second barcode image B2 may be enlarged or reduced according to the size (horizontal width and / or vertical width) of the barcode image area E2. 5B to 5C show processing steps by the printer driver 12 (image data generation unit 160).

このように第1の変形例によれば、第1の解像度を指定するだけで、第1の解像度と第2の解像度の違いに応じた処理を正確に行うことができる。また、当該拡大縮小処理後のバーコード画像の配置(=バーコード画像領域E2)に応じて、第2の画像データD2内における第2のバーコード画像B2を、適切な位置に設定することができる。   As described above, according to the first modification, it is possible to accurately perform the process according to the difference between the first resolution and the second resolution only by designating the first resolution. Further, the second barcode image B2 in the second image data D2 can be set at an appropriate position according to the arrangement of the barcode image after the enlargement / reduction processing (= barcode image region E2). it can.

また、第2の変形例として、印刷用紙サイズに関する情報から、第1の画像データD1の拡大縮小率を決定しても良い。特に図示しないが、この場合、アプリケーション11から出力される第1の画像データD1に、印刷用紙サイズに関する情報が付加されている(または含まれている)ものとする。プリンタードライバー12(画像データ生成部160)は、印刷用紙サイズと第1の画像データD1に基づいて、第1の画像データD1の拡大縮小率を決定する。そして、決定した拡大縮小率で第1の画像データD1の拡大または縮小処理を行い(図5(b)参照)、当該拡大または縮小処理後のバーコード画像領域E2に応じて(品質保証できないバーコード画像のトリミング領域に応じて,図5(c)参照)、第2の画像データD2内における第2のバーコード画像B2の位置を設定する。このように、第2の変形例によれば、第2の画像データD2が、予め第1の画像データD1に設定されている印刷用紙サイズに見合った大きさで印刷されるように、適切な拡大縮小処理を行うことができる。なお、第1の変形例および第2の変形例を組み合わせ、指定された第1の解像度と、印刷用紙サイズに関する情報に基づいて、第1の画像データD1の拡大縮小率を決定しても良い。   As a second modification, the enlargement / reduction ratio of the first image data D1 may be determined from information on the print paper size. Although not particularly illustrated, in this case, it is assumed that information about the print paper size is added (or included) to the first image data D1 output from the application 11. The printer driver 12 (image data generation unit 160) determines the enlargement / reduction ratio of the first image data D1 based on the print paper size and the first image data D1. Then, enlargement or reduction processing of the first image data D1 is performed at the determined enlargement / reduction ratio (see FIG. 5B), and the barcode image area E2 after the enlargement or reduction processing (bars for which quality cannot be guaranteed). The position of the second barcode image B2 in the second image data D2 is set according to the trimming area of the code image (see FIG. 5C). As described above, according to the second modification, the second image data D2 is appropriately printed so as to be printed in a size corresponding to the print paper size set in advance in the first image data D1. Enlargement / reduction processing can be performed. Note that the first and second modifications may be combined, and the enlargement / reduction ratio of the first image data D1 may be determined based on the designated first resolution and information on the print paper size. .

[第2実施形態]
次に、図6を参照し、本発明の第2実施形態について説明する。上記の第1実施形態では、プリンタードライバー12により、第2のバーコード画像B2への変換を行ったが、本実施形態では、プリンター2側で第2のバーコード画像B2への変換を行う点で異なる。つまり、本実施形態では、プリンター2が、バーコード画像の印刷コマンド(バーコードコード描画コマンド)を解釈可能であることを前提としている。以下、第1実施形態と異なる点を中心に説明する。なお、本実施形態において、第1実施形態と同様の構成部分については同様の符号を付し、詳細な説明を省略する。また、第1実施形態と同様の構成部分について適用される変形例は、本実施形態についても同様に適用される。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to FIG. In the first embodiment, the printer driver 12 performs conversion to the second barcode image B2. However, in the present embodiment, conversion to the second barcode image B2 is performed on the printer 2 side. It is different. That is, in the present embodiment, it is assumed that the printer 2 can interpret a barcode image print command (barcode code drawing command). Hereinafter, a description will be given focusing on differences from the first embodiment. In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted. Moreover, the modification applied about the component similar to 1st Embodiment is applied similarly about this embodiment.

図6は、第2実施形態に係る印刷処理の大まかな流れを示す簡易フローチャートである。まず、アプリケーション11は、例えば“12345678”という数値を300dpi用に作成した第1のバーコード画像B1を生成する(S11)。次に、プリンタードライバー12は、バーコードリーダー機能を用いて第1のバーコード画像B1を解析し、“12345678”という数値に変換する(S12)。ここまでは、第1実施形態と同様である。その後、プリンタードライバー12は、数値“12345678”という数値のバーコード画像を印刷する印刷コマンドに変換し(S13)、当該印刷コマンドと、第2の画像データD2(第1の画像データD1の拡大処理を行ったもの、若しくは第1の画像データD1そのもの)をプリンター2に出力する。プリンター2は、印刷コマンドに基づいて、数値“12345678”を新しいプリンター2の360dpiで保証できる第2のバーコード画像B2に変換し(S14)、当該第2のバーコード画像B2を含む第2の画像データD2の印刷を行う(S15)。   FIG. 6 is a simplified flowchart showing a rough flow of the printing process according to the second embodiment. First, the application 11 generates a first barcode image B1 in which a numerical value “12345678” is created for 300 dpi, for example (S11). Next, the printer driver 12 analyzes the first barcode image B1 using the barcode reader function, and converts it into a numerical value “12345678” (S12). Up to this point, the process is the same as in the first embodiment. Thereafter, the printer driver 12 converts the barcode image having the numerical value “12345678” into a print command for printing (S13), and the print command and the second image data D2 (enlargement processing of the first image data D1). Or the first image data D1 itself) is output to the printer 2. Based on the print command, the printer 2 converts the numerical value “12345678” into the second barcode image B2 that can be guaranteed at 360 dpi of the new printer 2 (S14), and the second barcode image B2 including the second barcode image B2 is converted. The image data D2 is printed (S15).

以上説明したとおり、第2実施形態によれば、プリンター2側で第2のバーコード画像B2への変換を行うため、プリンタードライバー12の処理負荷を軽減できる。なお、本実施形態においても、印刷位置指定部150による指定は可能であり、その指定結果は、バーコード画像を印刷するための印刷コマンドと共にプリンター2に出力される。また、変形例1および2として示した、第2の画像データD2上におけるバーコード画像領域E2の位置を示す情報も、バーコード画像を印刷するための印刷コマンドと共にプリンター2に出力される。   As described above, according to the second embodiment, since the conversion to the second barcode image B2 is performed on the printer 2 side, the processing load on the printer driver 12 can be reduced. Also in this embodiment, the designation by the print position designation unit 150 is possible, and the designation result is output to the printer 2 together with a print command for printing a barcode image. Information indicating the position of the barcode image area E2 on the second image data D2 shown as the first and second modifications is also output to the printer 2 together with the print command for printing the barcode image.

[第3実施形態]
次に、図7を参照し、本発明の第3実施形態について説明する。上記の第1,第2実施形態では、プリンタードライバー12により、第1のバーコード画像B1の解析を行ったが、本実施形態では、プリンター2側で第1のバーコード画像B1の解析を行う点で異なる。つまり、本実施形態は、本発明の「画像処理装置を、プリンター2で実現している。以下、上記の各実施形態と異なる点を中心に説明する。なお、本実施形態でも、上記の各実施形態と同様の構成部分について適用される変形例は、同様に適用される。
[Third Embodiment]
Next, a third embodiment of the present invention will be described with reference to FIG. In the first and second embodiments, the first barcode image B1 is analyzed by the printer driver 12, but in the present embodiment, the first barcode image B1 is analyzed on the printer 2 side. It is different in point. That is, the present embodiment is “the image processing apparatus is realized by the printer 2” according to the present invention. Hereinafter, the description will focus on the points different from the above-described embodiments. The modification applied about the component similar to embodiment is applied similarly.

図7は、第3実施形態に係る印刷処理の大まかな流れを示す簡易フローチャートである。まず、アプリケーション11は、例えば“12345678”という数値を300dpi用に作成した第1のバーコード画像B1を生成する(S21)。次に、プリンタードライバー12は、その第1のバーコード画像B1を含む第1の画像データD1をプリンター2に出力する(S22)。プリンター2は、バーコードリーダー機能を用いて第1のバーコード画像B1を解析し、 “12345678”という数値に変換する(S23)。また、数値“12345678”を新しいプリンター2の360dpiで保証できる第2のバーコード画像B2に変換し(S24)、当該第2のバーコード画像B2を含む第2の画像データD2の印刷を行う(S25)。   FIG. 7 is a simplified flowchart showing a rough flow of the printing process according to the third embodiment. First, the application 11 generates a first barcode image B1 in which a numerical value “12345678” is created for 300 dpi, for example (S21). Next, the printer driver 12 outputs the first image data D1 including the first barcode image B1 to the printer 2 (S22). The printer 2 analyzes the first barcode image B1 using the barcode reader function, and converts it into a numerical value “12345678” (S23). Also, the numerical value “12345678” is converted into the second barcode image B2 that can be guaranteed at 360 dpi of the new printer 2 (S24), and the second image data D2 including the second barcode image B2 is printed (S24). S25).

以上説明したとおり、第3実施形態によれば、プリンター2側で第1のバーコード画像B1の解析および第2のバーコード画像B2への変換を行うため、第2実施形態と比較して、プリンタードライバー12の処理負荷をさらに軽減できる。なお、本実施形態でも、印刷位置指定部150による指定を可能としても良い。この場合、プリンター2側に表示手段および入力手段が必要となる。また、変形例1を適用する場合も、入力手段が必要となる。   As described above, according to the third embodiment, since the first barcode image B1 is analyzed and converted into the second barcode image B2 on the printer 2 side, compared to the second embodiment, The processing load on the printer driver 12 can be further reduced. In this embodiment as well, the designation by the print position designation unit 150 may be possible. In this case, display means and input means are required on the printer 2 side. Also, when the first modification is applied, an input unit is required.

以上、第1ないし第3実施形態を示したが、各実施形態に示したプリンタードライバー12またはプリンター2の各構成要素をプログラムとして提供することが可能である。また、そのプログラムを各種記録媒体(CD−ROM、フラッシュメモリー等)に格納して提供することも可能である。すなわち、コンピューターをプリンタードライバー12またはプリンター2の各構成要素として機能させるためのプログラム、およびそれを記録した記録媒体も、本発明の権利範囲に含まれる。   Although the first to third embodiments have been described above, it is possible to provide each component of the printer driver 12 or the printer 2 described in each embodiment 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 computer to function as each component of the printer driver 12 or the printer 2 and a recording medium on which the program is recorded are also included in the scope of rights of the present invention.

また、上記の実施形態では、「シンボル画像」として、バーコード画像を例示したが、2次元コード画像やカラーコード画像など他のコード画像にも本発明を適用可能である。その他、本発明の要旨を逸脱しない範囲で、適宜変更が可能である。   In the above embodiment, a barcode image is exemplified as the “symbol image”. However, the present invention can be applied to other code images such as a two-dimensional code image and a color code image. Other modifications can be made as appropriate without departing from the scope of the present invention.

1…PC 2…プリンター 11…アプリケーション 12…プリンタードライバー 13…ディスプレイ 14…キーボード 15…マウス 21…プリンター制御部 22…印刷機構 120…画像データ取得部 130…解析部 140…情報変換部 150…印刷位置指定部 160…画像データ生成部 170…画像データ出力部 B1…第1のバーコード画像 B2…第2のバーコード画像 D1…第1の画像データ D2…第2の画像データ E1…印刷範囲 E2…バーコード画像領域 SY…印刷システム   DESCRIPTION OF SYMBOLS 1 ... PC 2 ... Printer 11 ... Application 12 ... Printer driver 13 ... Display 14 ... Keyboard 15 ... Mouse 21 ... Printer control part 22 ... Printing mechanism 120 ... Image data acquisition part 130 ... Analysis part 140 ... Information conversion part 150 ... Printing position Designation unit 160 ... Image data generation unit 170 ... Image data output unit B1 ... First barcode image B2 ... Second barcode image D1 ... First image data D2 ... Second image data E1 ... Print range E2 ... Barcode image area SY ... Printing system

Claims (6)

第1の解像度に対応したシンボル画像の情報を有する第1の画像データを取得する画像データ取得部と、
前記第1の解像度に対応したシンボル画像の情報を、バーコードリーダー機能を用いてデコードする解析部と、
前記解析部による前記第1の解像度に対応したシンボル画像のデコード結果を、第2の解像度に対応したシンボル画像の情報に変換する情報変換部と、
前記情報変換部で変換された前記第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成する画像データ生成部と、を備え
前記画像データ生成部は、前記第2の解像度に対応したシンボル画像の情報の前記第2の画像データ内における印刷位置を指定する印刷位置指定部の指定にしたがって、前記第2の画像データを生成することを特徴とする画像処理装置。
An image data acquisition unit that acquires first image data having symbol image information corresponding to the first resolution;
An analysis unit that decodes information of a symbol image corresponding to the first resolution using a barcode reader function;
An information converting unit that converts a decoding result of the symbol image corresponding to the first resolution by the analyzing unit into information of a symbol image corresponding to the second resolution;
An image data generation unit that generates second image data having symbol image information corresponding to the second resolution converted by the information conversion unit ,
The image data generation unit generates the second image data in accordance with a designation of a print position designation unit that designates a print position in the second image data of symbol image information corresponding to the second resolution. An image processing apparatus.
前記第2の画像データは、プリンターに印刷させる印刷コマンドを有する請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the second image data includes a print command to be printed by a printer. 前記第1の解像度が指定される解像度指定部を有し、
前記画像データ生成部は、前記第1の解像度及び前記第2の解像度に基づいて、前記第1の画像データの拡大または縮小処理を行い、拡大または縮小処理された前記第1の画像データの前記第1の解像度に対応したシンボル画像の情報の配置に応じて、前記第2の画像データ内の前記第2の解像度に対応したシンボル画像の情報の印刷位置を設定する請求項1または2に記載の画像処理装置。
A resolution designating unit for designating the first resolution;
The image data generation unit performs an enlargement or reduction process of the first image data based on the first resolution and the second resolution, and the enlargement or reduction process of the first image data The print position of the symbol image information corresponding to the second resolution in the second image data is set according to the arrangement of the symbol image information corresponding to the first resolution. Image processing apparatus.
前記第1の画像データは、印刷用紙サイズに関する情報を有し、
前記画像データ生成部は、前記印刷用紙サイズに関する情報に基づいて、前記第1の画像データの拡大または縮小処理を行い、拡大または縮小処理された前記第1の画像データの前記第1の解像度に対応したシンボル画像の情報の配置に応じて、前記第2の画像データ内の前記第2の解像度に対応したシンボル画像の情報の印刷位置を設定する請求項1ないしのいずれか1項に記載の画像処理装置。
The first image data has information related to a printing paper size,
The image data generation unit performs an enlargement or reduction process of the first image data based on the information on the print paper size, and sets the first resolution of the first image data subjected to the enlargement or reduction process. depending on the arrangement of the information of the corresponding symbol images, according to any one of claims 1 to 3 to set the print position information of the second of the symbol image corresponding to the second resolution in the image data Image processing apparatus.
第1の解像度に対応したシンボル画像の情報を有する第1の画像データを生成するアプリケーションを実行させる実行部、前記アプリケーションで生成された前記第1の画像データを取得する画像データ取得部、前記第1の解像度に対応したシンボル画像の情報を、バーコードリーダー機能を用いてデコードする解析部、前記解析部による前記第1の解像度に対応したシンボル画像のデコード結果を第2の解像度に対応したシンボル画像の情報に変換する情報変換部、前記情報変換部で変換された前記第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成する画像データ生成部、及び前記画像データ生成部で生成された前記第2の画像データを送信する送信部を有し、前記画像データ生成部は、前記第2の解像度に対応したシンボル画像の情報の前記第2の画像データ内における印刷位置を指定する印刷位置指定部の指定にしたがって、前記第2の画像データを生成する画像処理装置と、
前記画像処理装置の前記送信部から送信された前記第2の画像データを受信する受信部、前記第2の解像度で印刷を行う印刷ヘッド、及び前記受信部で受信された前記第2の画像データを前記印刷ヘッドで印刷させる制御部を有するプリンターと、を備えることを特徴とする画像処理システム。
An execution unit that executes an application that generates first image data having symbol image information corresponding to a first resolution; an image data acquisition unit that acquires the first image data generated by the application; An analysis unit that decodes symbol image information corresponding to the first resolution using a barcode reader function, and a decoding result of the symbol image corresponding to the first resolution by the analysis unit is a symbol corresponding to the second resolution. An information conversion unit for converting to image information, an image data generation unit for generating second image data having symbol image information corresponding to the second resolution converted by the information conversion unit, and the image data generation It has a transmitter for transmitting the second image data generated by section, the image data generating unit, against the said second resolution As specified in the print position designating section for designating a printing position in said second image data of the information symbol image, an image processing apparatus for generating the second image data,
A receiving unit that receives the second image data transmitted from the transmitting unit of the image processing apparatus, a print head that performs printing at the second resolution, and the second image data received by the receiving unit. An image processing system comprising: a printer having a control unit that causes the print head to print the image.
プリンターが、
第1の解像度に対応したシンボル画像の情報を有する第1の画像データを取得し、
前記第1の画像データ内の前記第1の解像度に対応したシンボル画像の情報を、バーコードリーダー機能を用いてデコードし、
前記第1の解像度に対応したシンボル画像のデコード結果を、第2の解像度に対応したシンボル画像の情報に変換し、
変換された前記第2の解像度に対応したシンボル画像の情報を有する第2の画像データを生成し、
生成された前記第2の画像データを前記第2の解像度で印刷を行う印刷ヘッドで印刷し、
前記第2の画像データを生成する際には、前記第2の解像度に対応したシンボル画像の情報の前記第2の画像データ内における印刷位置の指定にしたがうことを特徴とする印刷方法。
The printer
Obtaining first image data having symbol image information corresponding to the first resolution;
The symbol image information corresponding to the first resolution in the first image data is decoded using a barcode reader function,
Converting a decoding result of the symbol image corresponding to the first resolution into information of a symbol image corresponding to the second resolution;
Generating second image data having symbol image information corresponding to the converted second resolution;
Printing the generated second image data with a print head for printing at the second resolution ;
When generating the second image data, a printing method according to designating a print position in the second image data of symbol image information corresponding to the second resolution .
JP2012139501A 2012-06-21 2012-06-21 Image processing apparatus, image processing system, and printing method Expired - Fee Related JP6060534B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2012139501A JP6060534B2 (en) 2012-06-21 2012-06-21 Image processing apparatus, image processing system, and printing method
CN201310198531.1A CN103516952B (en) 2012-06-21 2013-05-24 Image processing apparatus, image processing system and Method of printing
EP13172202.7A EP2677418B1 (en) 2012-06-21 2013-06-17 Image processing device, image processing system, and printing method
US13/922,906 US9135534B2 (en) 2012-06-21 2013-06-20 Image processing device, image processing system, and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012139501A JP6060534B2 (en) 2012-06-21 2012-06-21 Image processing apparatus, image processing system, and printing method

Publications (3)

Publication Number Publication Date
JP2014002697A JP2014002697A (en) 2014-01-09
JP2014002697A5 JP2014002697A5 (en) 2015-07-02
JP6060534B2 true JP6060534B2 (en) 2017-01-18

Family

ID=50035790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012139501A Expired - Fee Related JP6060534B2 (en) 2012-06-21 2012-06-21 Image processing apparatus, image processing system, and printing method

Country Status (1)

Country Link
JP (1) JP6060534B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6424579B2 (en) * 2014-11-19 2018-11-21 セイコーエプソン株式会社 Printer driver and printing method
JP2016133901A (en) 2015-01-16 2016-07-25 富士ゼロックス株式会社 Print instruction apparatus, printing system, and program
JP7381211B2 (en) * 2019-03-18 2023-11-15 セイコーエプソン株式会社 Image processing device and image processing method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2691637B2 (en) * 1990-11-30 1997-12-17 富士通株式会社 Bar code printer
JPH06284282A (en) * 1993-03-25 1994-10-07 Toshiba Corp Image forming device
JP2006031427A (en) * 2004-07-16 2006-02-02 Ricoh Co Ltd Printer driver, storage medium and symbol code printing method
JP4797826B2 (en) * 2006-06-20 2011-10-19 富士ゼロックス株式会社 Print processing apparatus, method, and system
JP4946408B2 (en) * 2006-12-11 2012-06-06 セイコーエプソン株式会社 Printing system and printing control method in printing system
JP4796486B2 (en) * 2006-12-28 2011-10-19 株式会社リコー Image processing device
JP4553000B2 (en) * 2007-11-26 2010-09-29 富士ゼロックス株式会社 Image forming apparatus, image forming system, and image forming program
JP2010067106A (en) * 2008-09-12 2010-03-25 Kyocera Mita Corp Printer driver device, printing system, and printer driver program
JP2011076359A (en) * 2009-09-30 2011-04-14 Nec Personal Products Co Ltd Printer driver, print control method, and printer system
JP2011084039A (en) * 2009-10-19 2011-04-28 Fuji Xerox Co Ltd Image forming apparatus and image forming system

Also Published As

Publication number Publication date
JP2014002697A (en) 2014-01-09

Similar Documents

Publication Publication Date Title
US9135534B2 (en) Image processing device, image processing system, and printing method
JP4468404B2 (en) Information processing apparatus control method, information processing apparatus, and program
US8441667B2 (en) Printer driver and image forming apparatus
WO2014147907A1 (en) Printing system and printing control program
JP6060534B2 (en) Image processing apparatus, image processing system, and printing method
JP6576224B2 (en) Information processing apparatus, control method therefor, and program
JP2009193428A (en) Barcode printing system and print program
JP6330790B2 (en) Print control system, print control apparatus, and program
JP4978416B2 (en) Code information processing apparatus and code information processing program
JP6208477B2 (en) Printer, print control program, and printing system
JP4576896B2 (en) Image processing device
JP6437076B2 (en) Information processing apparatus, control method therefor, and program
JP5200791B2 (en) Image processing apparatus, information processing method, computer program, and information recording medium
JP2008046856A (en) Document processing apparatus, document processing program and document processing method
JP2009101662A (en) Printing processor
JP2017148979A (en) Printer and printing method
JP4735128B2 (en) Document processing device
JP4665754B2 (en) Image generating apparatus, image generating method, and program
JP2011170850A (en) Information processing apparatus and method of controlling the same
JP2006148753A (en) Printing data creating device, printing system, method for backing up printing data and program
JP2009027336A (en) Image processor
JP2016200999A (en) Printing instruction device, printing system, and program
JP6613872B2 (en) Information processing apparatus, image reading apparatus, code image generating apparatus, and program
JP2006264224A (en) Variable printer and variable printing system
JP4747624B2 (en) Print data generation apparatus and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150514

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150514

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160628

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161017

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20161024

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161128

R150 Certificate of patent or registration of utility model

Ref document number: 6060534

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees