JP6318771B2 - Control device, printing system, and control method of control device - Google Patents

Control device, printing system, and control method of control device Download PDF

Info

Publication number
JP6318771B2
JP6318771B2 JP2014068254A JP2014068254A JP6318771B2 JP 6318771 B2 JP6318771 B2 JP 6318771B2 JP 2014068254 A JP2014068254 A JP 2014068254A JP 2014068254 A JP2014068254 A JP 2014068254A JP 6318771 B2 JP6318771 B2 JP 6318771B2
Authority
JP
Japan
Prior art keywords
image data
comparison
block
processing target
control
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.)
Active
Application number
JP2014068254A
Other languages
Japanese (ja)
Other versions
JP2015191456A5 (en
JP2015191456A (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 JP2014068254A priority Critical patent/JP6318771B2/en
Priority to US14/474,874 priority patent/US9811292B2/en
Publication of JP2015191456A publication Critical patent/JP2015191456A/en
Publication of JP2015191456A5 publication Critical patent/JP2015191456A5/ja
Application granted granted Critical
Publication of JP6318771B2 publication Critical patent/JP6318771B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、印刷装置を制御する制御装置、印刷装置と制御装置とを含む印刷システム、及び、制御装置の制御方法に関する。   The present invention relates to a control apparatus that controls a printing apparatus, a printing system that includes the printing apparatus and the control apparatus, and a control method for the control apparatus.

従来、制御装置(ホスト装置)と、印刷装置(プリンター)とが通信するシステムが知られている(例えば、特許文献1参照)。
一般に、制御装置は、印刷装置を制御する場合、制御に係るデータを印刷装置に送信する。印刷装置は、制御装置から受信したデータに基づいて処理を実行する。
Conventionally, a system in which a control device (host device) and a printing device (printer) communicate with each other is known (for example, see Patent Document 1).
Generally, when controlling a printing apparatus, the control apparatus transmits data related to the control to the printing apparatus. The printing device executes processing based on the data received from the control device.

特開2006−11809号公報JP 2006-11809 A

上述したシステムのように、制御装置から印刷装置にデータを送信するものでは、通信効率の向上のため、制御装置から印刷装置に送信するデータのデータ量を低減したいとするニーズがある。
本発明は、上述した事情に鑑みてなされたものであり、制御装置、印刷システム、及び、制御装置の制御方法について、制御装置から印刷装置に送信するデータのデータ量を低減することを目的とする。
In the case of transmitting data from the control device to the printing device as in the above-described system, there is a need to reduce the amount of data transmitted from the control device to the printing device in order to improve communication efficiency.
The present invention has been made in view of the circumstances described above, and it is an object of the present invention to reduce the data amount of data transmitted from the control device to the printing device with respect to the control device, the printing system, and the control method of the control device. To do.

上記目的を達成するために、本発明は、印刷装置に通信可能な制御装置であって、比較用の画像データである比較画像データを区分するブロックについて、所定の計算式で算出される算出値を記憶する記憶部と、前記印刷装置に印刷させる画像の画像データである印刷画像データを区分するブロックについて、前記所定の計算式で算出値を算出し、前記比較画像データと前記印刷画像データとの対応するブロックの算出値を比較し、前記印刷画像データのブロックのうち、算出値の異なるブロックの画像データを前記印刷装置に送信する制御部と、を備えることを特徴とする。
本発明の構成によれば、制御装置は、印刷させる画像の印刷画像データのブロックのうち、記憶した比較画像データのブロックと算出値が相違するブロックの画像データを、印刷装置に送信する。このため、印刷装置で事前に比較画像データを記憶することにより、印刷装置は、記憶した比較画像データと、受信したブロックの画像データとに基づいて、画像を印刷できる。従って、画像の印刷に際し、制御装置は、印刷させる画像の印刷画像データのブロックのうち、記憶した比較画像データのブロックと算出値が相違するブロックの画像データを印刷装置に送信すればよく、制御装置から印刷装置に送信するデータのデータ量を低減できる。
In order to achieve the above object, the present invention provides a control value that is communicable with a printing apparatus and that is calculated by a predetermined calculation formula for a block that divides comparison image data that is image data for comparison. A storage unit for storing, and a block for dividing print image data that is image data of an image to be printed by the printing apparatus, a calculated value is calculated using the predetermined calculation formula, and the comparison image data and the print image data A control unit that compares the calculated values of the blocks corresponding to each other and transmits image data of blocks having different calculated values among the blocks of the print image data to the printing apparatus.
According to the configuration of the present invention, the control device transmits, to the printing device, image data of a block whose calculated value is different from the stored comparison image data block among the blocks of the print image data of the image to be printed. Therefore, by storing the comparison image data in advance in the printing apparatus, the printing apparatus can print an image based on the stored comparison image data and the received block image data. Therefore, when printing an image, the control device only has to transmit image data of a block whose calculated value is different from the stored comparison image data block among the blocks of the print image data of the image to be printed to the printing device. The amount of data transmitted from the apparatus to the printing apparatus can be reduced.

また、本発明は、前記記憶部は、1又は複数の前記比較画像データについて、前記比較画像データを識別する識別情報と、前記比較画像データのブロックの算出値とを対応付けて記憶し、前記制御部は、前記印刷画像データと1又は複数の前記比較画像データとの対応するブロックの算出値を比較し、算出値の異なるブロックの数が少ない前記比較画像データを選択し、前記印刷画像データのブロックのうち、選択した前記比較画像データの対応するブロックと算出値が異なるブロックの画像データ、及び、選択した前記比較画像データの識別情報を前記印刷装置に送信することを特徴とする。
本発明の構成によれば、制御装置は、印刷画像データと1又は複数の比較画像データとの対応するブロックの算出値を比較し、算出値の異なるブロックの数が少ない比較画像データを決定する。このような方法で比較画像データを決定するため、制御装置は、印刷画像データと近似する比較画像データを、ブロックの算出値の比較という簡易な手段で、決定できる。また、上記方法で比較画像データを決定するため、印刷画像データを構成する各ドットと、比較画像データを構成する各ドットとを比較して、比較画像データを決定する場合と比較して、処理負荷が小さく、また、決定までに要する時間が短い。また、本発明の構成によれば、制御装置は、印刷装置に、決定した画像データを、識別情報により通知できる。印刷装置は、識別情報と比較画像データとを対応付けて記憶することにより、制御装置が決定した比較画像データを特定でき、特定した比較画像データ、及び、受信したブロックの画像データに基づいて、画像の印刷を実行できる。
Further, in the present invention, the storage unit stores, for one or a plurality of the comparison image data, identification information for identifying the comparison image data and a calculated value of the block of the comparison image data in association with each other, The control unit compares the calculated values of the corresponding blocks of the print image data and the one or more comparison image data, selects the comparison image data having a small number of blocks having different calculated values, and selects the print image data. Among the blocks, the image data of a block having a calculated value different from the corresponding block of the selected comparison image data and the identification information of the selected comparison image data are transmitted to the printing apparatus.
According to the configuration of the present invention, the control device compares the calculated values of the corresponding blocks of the print image data and the one or more comparative image data, and determines comparative image data with a small number of blocks having different calculated values. . Since the comparison image data is determined by such a method, the control device can determine the comparison image data approximate to the print image data by a simple means of comparing the calculated values of the blocks. In addition, since the comparison image data is determined by the above method, each dot constituting the print image data is compared with each dot constituting the comparison image data, so that the comparison image data is determined. The load is small and the time required for determination is short. Further, according to the configuration of the present invention, the control device can notify the printing device of the determined image data using the identification information. The printing apparatus can identify the comparison image data determined by the control apparatus by storing the identification information and the comparison image data in association with each other. Based on the identified comparison image data and the received block image data, You can print an image.

また、本発明は、前記制御部は、ブロックの画像データを圧縮して前記印刷装置に送信することを特徴とする。
本発明の構成によれば、制御装置から印刷装置に送信されるデータのデータ量をより低減できる。
In the invention, it is preferable that the control unit compresses image data of a block and transmits the compressed image data to the printing apparatus.
According to the configuration of the present invention, the amount of data transmitted from the control device to the printing device can be further reduced.

また、本発明は、前記制御部は、複数のブロックの画像データを送信する場合、隣接するブロックの画像データを結合して結合後の画像データを圧縮可能か否か判別し、可能な場合は、隣接するブロックの画像データを結合し、結合後の画像データを圧縮して前記印刷装置に送信することを特徴とする。
本発明の構成によれば、制御装置から印刷装置に送信されるデータのデータ量をより効率よく低減できる。
Further, in the present invention, when transmitting the image data of a plurality of blocks, the control unit determines whether or not the combined image data can be compressed by combining the image data of adjacent blocks. The image data of adjacent blocks are combined, and the combined image data is compressed and transmitted to the printing apparatus.
According to the configuration of the present invention, the amount of data transmitted from the control device to the printing device can be more efficiently reduced.

また、上記目的を達成するために、本発明は、印刷装置と、前記印刷装置と通信可能な制御装置とを備える印刷システムであって、前記制御装置は、比較用の画像データである比較画像データを区分するブロックについて、所定の計算式で算出される算出値を記憶する記憶部と、前記印刷装置に印刷させる画像の画像データである印刷画像データを区分するブロックについて、前記所定の計算式で算出値を算出し、前記比較画像データと前記印刷画像データとの対応するブロックの算出値を比較し、前記印刷画像データのブロックのうち、算出値の異なるブロックの画像データを含む制御データを前記印刷装置に送信する制御部と、を備え、前記印刷装置は、印刷を行う印刷部と、前記比較画像データを記憶する装置記憶部と、前記制御データを受信した場合、前記装置記憶部が記憶する前記比較画像データ、及び、前記制御データに含まれるブロックの画像データに基づいて、前記印刷部により画像を印刷する装置制御部と、を備えることを特徴とする。
本発明の構成によれば、制御装置は、印刷装置に画像を印刷させる際に、印刷させる画像の印刷画像データのブロックのうち、記憶した比較画像データのブロックと算出値が相違するブロックの画像データを、印刷装置に送信すればよく、制御装置から印刷装置に送信するデータのデータ量の低減を実現できる。
In order to achieve the above object, the present invention provides a printing system including a printing apparatus and a control apparatus capable of communicating with the printing apparatus, wherein the control apparatus is a comparative image that is image data for comparison. A storage unit that stores a calculation value calculated by a predetermined calculation formula for a block that classifies data, and a predetermined calculation formula for a block that classifies print image data that is image data of an image to be printed by the printing apparatus The calculated value is calculated by comparing the calculated values of the corresponding blocks of the comparison image data and the print image data, and control data including image data of blocks having different calculated values among the blocks of the print image data is obtained. A control unit that transmits to the printing apparatus, wherein the printing apparatus performs printing, a device storage unit that stores the comparison image data, and the control data. A device control unit that prints an image by the printing unit based on the comparison image data stored in the device storage unit and the block image data included in the control data. Features.
According to the configuration of the present invention, when the control device prints an image on the printing device, the image of the block whose calculated value is different from the stored comparison image data block among the print image data blocks of the image to be printed. Data may be transmitted to the printing apparatus, and the data amount of data transmitted from the control apparatus to the printing apparatus can be reduced.

また、本発明は、前記制御装置の前記制御部は、算出値の異なるブロックの画像データと、当該ブロックの前記比較画像データにおける位置を示す位置情報とを含む前記制御データを前記印刷装置に送信し、前記印刷装置の前記装置制御部は、前記制御データを受信した場合、前記装置記憶部が記憶する前記比較画像データに対して、前記制御データに含まれる前記位置情報が示す位置に、前記制御データに含まれる対応するブロックの画像データを重畳し、重畳後の前記比較画像データに基づいて、前記印刷部により画像を印刷することを特徴とする。
本発明の構成によれば、印刷装置は、記憶した比較画像データと、制御装置から受信したブロックの画像データに基づいて、所望の画像を印刷できる。
Further, according to the present invention, the control unit of the control device transmits the control data including image data of blocks having different calculated values and position information indicating positions of the blocks in the comparison image data to the printing device. When the control data is received, the device control unit of the printing device is located at a position indicated by the position information included in the control data with respect to the comparison image data stored in the device storage unit. The image data of the corresponding block included in the control data is superimposed, and the image is printed by the printing unit based on the comparison image data after the superimposition.
According to the configuration of the present invention, the printing apparatus can print a desired image based on the stored comparison image data and the block image data received from the control apparatus.

また、本発明は、前記制御装置の前記記憶部は、1又は複数の前記比較画像データについて、前記比較画像データのブロックの算出値と、前記比較画像データを識別する識別情報とを対応付けて記憶し、前記印刷装置の前記装置記憶部は、1又は複数の前記比較画像データと、前記比較画像データの識別情報と対応付けて記憶し、前記制御装置の前記制御部は、前記印刷画像データと、前記記憶部が記憶する1又は複数の前記比較画像データとの対応するブロックの算出値を比較し、算出値の異なるブロックの数が少ない前記比較画像データを選択し、前記印刷画像データのブロックのうち選択した前記比較画像データの対応するブロックと算出値が異なるブロックの画像データ、及び、選択した前記比較画像データの識別情報を含む前記制御データを前記印刷装置に送信し、前記印刷装置の前記装置制御部は、前記制御データに含まれる識別情報と対応付けて前記記憶部が記憶する前記比較画像データ、及び、前記制御データに含まれるブロックの画像データに基づいて、前記印刷部により画像を印刷することを特徴とする。
本発明の構成によれば、制御装置は、印刷画像データと1又は複数の比較画像データとの対応するブロックの算出値を比較し、算出値の異なるブロックの数が少ない比較画像データを決定する。このような方法で比較画像データを決定するため、制御装置は、印刷画像データと近似する比較画像データを、ブロックの算出値の比較という簡易な手段で、決定できる。また、上記方法で比較画像データを決定するため、印刷画像データを構成する各ドットと、比較画像データを構成する各ドットとを比較して、比較画像データを決定する場合と比較して、処理負荷が小さく、また、決定までに要する時間が短い。また、本発明の構成によれば、制御装置は、印刷装置に、決定した画像データを、識別情報により通知できる。印刷装置は、識別情報に基づいて、記憶する比較画像データから、制御装置が決定した比較画像データを特定でき、特定した比較画像データ、及び、受信したブロックの画像データに基づいて、画像の印刷を実行できる。
Further, according to the present invention, the storage unit of the control device associates a calculated value of the block of the comparison image data with identification information for identifying the comparison image data for one or a plurality of the comparison image data. And the device storage unit of the printing device stores one or more of the comparison image data and identification information of the comparison image data in association with each other, and the control unit of the control device stores the print image data And the calculated value of the corresponding block with one or a plurality of the comparative image data stored in the storage unit, the comparative image data with a small number of blocks having different calculated values is selected, and the print image data The block includes image data of a block having a calculated value different from the corresponding block of the selected comparison image data, and the identification information of the selected comparison image data. Data is transmitted to the printing apparatus, and the apparatus control unit of the printing apparatus is included in the control image and the comparison image data stored in the storage unit in association with identification information included in the control data. The printing unit prints an image based on the block image data.
According to the configuration of the present invention, the control device compares the calculated values of the corresponding blocks of the print image data and the one or more comparative image data, and determines comparative image data with a small number of blocks having different calculated values. . Since the comparison image data is determined by such a method, the control device can determine the comparison image data approximate to the print image data by a simple means of comparing the calculated values of the blocks. In addition, since the comparison image data is determined by the above method, each dot constituting the print image data is compared with each dot constituting the comparison image data, so that the comparison image data is determined. The load is small and the time required for determination is short. Further, according to the configuration of the present invention, the control device can notify the printing device of the determined image data using the identification information. The printing apparatus can identify the comparison image data determined by the control apparatus from the stored comparison image data based on the identification information, and print the image based on the identified comparison image data and the received block image data. Can be executed.

また、本発明は、前記制御装置の前記制御部は、複数の前記制御データを連続して前記印刷装置に送信し、前記印刷装置の前記装置制御部は、前記制御装置から受信した複数の前記制御データに基づいて、前記制御データに対応する画像の印刷を連続して実行し、前記制御装置の前記制御部は、1の前記制御データを生成する場合、当該1の前記制御データによって印刷させる画像の前記印刷画像データを生成し、生成した前記印刷画像データのブロックの算出値を算出し、生成した前記印刷画像データと1又は複数の前記比較画像データとの対応するブロックの算出値を比較し、算出値の異なるブロックの数が少ない前記比較画像データを選択し、生成した前記印刷画像データの識別情報である印刷画像データ識別情報を生成し、選択した前記比較画像データの識別情報である選択画像データ識別情報と、生成した前記印刷画像データ識別情報と、前記印刷画像データのブロックのうち決定した前記比較画像データの対応するブロックと算出値が異なるブロックの画像データと、を含む前記制御データを前記印刷装置に送信し、また、算出した前記印刷画像データのブロックの算出値を、前記比較画像データのブロックの算出値として、生成した前記印刷画像データ識別情報と対応付けて記憶し、前記印刷装置の前記装置制御部は、前記制御データを受信した場合、前記制御データに基づいて前記印刷画像データの画像を印刷し、印刷する画像の画像データを、前記比較画像データとして、前記制御データに含まれる前記印刷画像データ識別情報と対応付けて記憶することを特徴とする。
本発明の構成によれば、制御装置は、印刷装置に連続して印刷させる画像の画像データのブロックの算出値を、比較画像データのブロックの算出値として、識別情報と対応付けて累積的に記憶し、また、印刷装置は、印刷する画像の画像データを、比較画像データとして、識別情報と対応付けて累積的に記憶する。このため、制御装置が複数の制御データを連続して印刷装置に送信し、また、印刷装置が制御装置から受信した複数の制御データに基づいて、制御データに対応する画像の印刷を連続して実行する、という構成を踏まえ、制御装置は、比較用の比較画像データを累積的に記憶でき、また、印刷装置は、制御装置に対応して、比較画像データを記憶できる。
In the present invention, the control unit of the control device continuously transmits a plurality of the control data to the printing device, and the device control unit of the printing device receives the plurality of the control data received from the control device. Based on the control data, printing of an image corresponding to the control data is continuously executed, and when the control unit of the control device generates the control data of one, the control data is printed by the control data of the one Generating the print image data of an image, calculating a calculated value of a block of the generated print image data, and comparing the calculated value of a corresponding block between the generated print image data and one or a plurality of the comparison image data The comparison image data having a small number of blocks having different calculated values is selected, and print image data identification information that is identification information of the generated print image data is generated and selected. Selected image data identification information which is identification information of comparison image data, the generated print image data identification information, and a block having a calculated value different from the corresponding block of the determined comparison image data among the blocks of the print image data The control data including the image data is transmitted to the printing apparatus, and the calculated print image data block is used as the calculated value of the block of the comparison image data. When the control unit receives the control data, the device control unit of the printing device prints the image of the print image data based on the control data, and stores the image data of the image to be printed. The comparison image data is stored in association with the print image data identification information included in the control data. To.
According to the configuration of the present invention, the control device cumulatively associates the calculated value of the image data block of the image to be continuously printed by the printing device with the identification information as the calculated value of the block of the comparison image data. The printing apparatus stores the image data of the image to be printed in a cumulative manner as comparison image data in association with the identification information. For this reason, the control device continuously transmits a plurality of control data to the printing device, and the printing device continuously prints an image corresponding to the control data based on the plurality of control data received from the control device. Based on the configuration of executing, the control device can cumulatively store comparative image data for comparison, and the printing device can store comparative image data corresponding to the control device.

また、本発明は、前記制御装置の前記制御部は、前記比較画像データと前記印刷画像データとの対応するブロックの算出値を比較し、前記印刷画像データのブロックのうち、算出値が同一のブロックについて、当該算出値が同一のブロックの画像データと前記比較画像データの対応するブロックの画像データとを比較し、異なる場合は、当該算出値が同一のブロックの画像データを前記制御データに含めることを特徴とする。
ここで、算出値は、ブロックから所定の計算式で算出される値であるため、比較画像データのブロックの算出値と、印刷画像データのブロックの算出値とが同一である場合であっても、各ブロックの画像データの内容が互いに異なる可能性がある。そして、本発明の構成によれば、制御装置は、比較画像データのブロックの算出値と、印刷画像データのブロックの算出値とが同一である場合であっても、各ブロックの画像データの内容が互いに異なる場合は、印刷画像データのブロックの画像データを制御データに含めることができる。
Further, according to the present invention, the control unit of the control device compares calculated values of corresponding blocks of the comparison image data and the print image data, and the calculated values of the blocks of the print image data are the same. For the block, the image data of the block having the same calculated value is compared with the image data of the corresponding block of the comparison image data, and if different, the image data of the block having the same calculated value is included in the control data. It is characterized by that.
Here, since the calculated value is a value calculated from the block by a predetermined calculation formula, even if the calculated value of the block of the comparison image data and the calculated value of the block of the print image data are the same. The contents of the image data in each block may be different from each other. According to the configuration of the present invention, the control device can determine the contents of the image data of each block even when the calculated value of the block of the comparison image data is the same as the calculated value of the block of the print image data. Are different from each other, the image data of the block of the print image data can be included in the control data.

また、本発明は、前記制御装置の前記制御部は、ブロックの画像データを圧縮して前記制御データに含め、前記印刷装置に送信することを特徴とする。
本発明の構成によれば、制御装置から印刷装置に送信されるデータのデータ量をより低減できる。
Further, the present invention is characterized in that the control unit of the control device compresses block image data, includes the compressed image data in the control data, and transmits the compressed data to the printing device.
According to the configuration of the present invention, the amount of data transmitted from the control device to the printing device can be further reduced.

また、本発明は、前記制御装置の前記制御部は、複数のブロックの画像データを送信する場合、隣接するブロックの画像データを結合し、結合後の画像データを圧縮可能か否か判別し、可能な場合は、隣接するブロックの画像データを結合し、結合後の画像データを圧縮して前記制御データに含め、前記印刷装置に送信することを特徴とする。
本発明の構成によれば、制御装置から印刷装置に送信されるデータのデータ量をより効率よく低減できる。
Further, in the present invention, when the control unit of the control device transmits image data of a plurality of blocks, the image data of adjacent blocks are combined to determine whether the combined image data can be compressed, If possible, the image data of adjacent blocks are combined, the combined image data is compressed, included in the control data, and transmitted to the printing apparatus.
According to the configuration of the present invention, the amount of data transmitted from the control device to the printing device can be more efficiently reduced.

また、上記目的を達成するために、本発明は、印刷装置に接続可能な制御装置の制御方法であって、比較用の画像データである比較画像データを区分するブロックについて、所定の計算式で算出される算出値を記憶し、前記印刷装置に印刷させる画像の画像データである印刷画像データを区分するブロックについて、前記所定の計算式で算出値を算出し、前記比較画像データと前記印刷画像データとの対応するブロックの算出値を比較し、前記印刷画像データのブロックのうち、算出値の異なるブロックの画像データを前記印刷装置に送信することを特徴とする。
本発明の構成によれば、制御装置は、印刷させる画像の印刷画像データのブロックのうち、記憶した比較画像データのブロックと算出値が相違するブロックの画像データを、印刷装置に送信する。このため、印刷装置で事前に比較画像データを記憶することにより、印刷装置は、記憶した比較画像データと、受信したブロックの画像データとに基づいて、画像を印刷できる。従って、画像の印刷に際し、制御装置は、印刷させる画像の印刷画像データのブロックのうち、記憶した比較画像データのブロックと算出値が相違するブロックの画像データを、印刷装置に送信すればよく、制御装置から印刷装置に送信するデータのデータ量を低減できる。
In order to achieve the above object, the present invention provides a control method for a control apparatus connectable to a printing apparatus, wherein a block that divides comparison image data, which is comparison image data, has a predetermined calculation formula. A calculated value is stored, and a calculated value is calculated by the predetermined calculation formula for a block that classifies print image data that is image data of an image to be printed by the printing apparatus, and the comparison image data and the print image are calculated. Comparing the calculated values of the corresponding blocks with the data, the image data of blocks having different calculated values among the blocks of the print image data are transmitted to the printing apparatus.
According to the configuration of the present invention, the control device transmits, to the printing device, image data of a block whose calculated value is different from the stored comparison image data block among the blocks of the print image data of the image to be printed. Therefore, by storing the comparison image data in advance in the printing apparatus, the printing apparatus can print an image based on the stored comparison image data and the received block image data. Therefore, when printing an image, the control device may transmit image data of a block having a calculated value different from the stored comparison image data block among the blocks of the print image data of the image to be printed to the printing device, The amount of data transmitted from the control device to the printing device can be reduced.

本発明によれば、制御装置から印刷装置に送信するデータのデータ量を低減できる。   According to the present invention, the amount of data transmitted from the control device to the printing device can be reduced.

本実施形態に係るインクジェットプリンターの構成を示す図。1 is a diagram illustrating a configuration of an ink jet printer according to an embodiment. インクジェットプリンターにセット可能なラベル用紙を示す図。The figure which shows the label paper which can be set to an inkjet printer. 印刷システムの機能的構成を示すブロック図。1 is a block diagram showing a functional configuration of a printing system. ラベル部に印刷される画像を示す図。The figure which shows the image printed on a label part. ホストコンピューター、インクジェットプリンターの動作を示すフローチャート。The flowchart which shows operation | movement of a host computer and an inkjet printer. 画像データの一例を示す図。The figure which shows an example of image data. ハッシュ値比較処理の説明に利用する図。The figure used for description of hash value comparison processing. ブロック圧縮処理の詳細を示す図。The figure which shows the detail of a block compression process. ブロック圧縮処理の説明に利用する図。The figure utilized for description of block compression processing. バッファーに画像データに基づく印刷の説明に利用する図。The figure used for description of printing based on image data in a buffer.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係るインクジェットプリンター5(印刷装置)の構成を模式的に示す図である。
インクジェットプリンター5は、ライン型のインクジェット式プリンターである。インクジェットプリンター5は、搬送ローラー10によってラベル用紙14を搬送正方向YJ1に搬送し、ラインインクジェットヘッド12からラベル用紙14に対してインクを吐出して、ラベル用紙14に画像を印刷する。
インクジェットプリンター5には、以下で説明するラベル用紙14以外の記録媒体もセット可能である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram schematically illustrating a configuration of an inkjet printer 5 (printing apparatus) according to the present embodiment.
The ink jet printer 5 is a line type ink jet printer. The inkjet printer 5 transports the label paper 14 in the forward transport direction YJ1 by the transport roller 10, ejects ink from the line inkjet head 12 to the label paper 14, and prints an image on the label paper 14.
A recording medium other than the label paper 14 described below can be set in the inkjet printer 5.

図2は、インクジェットプリンター5にセット可能なラベル用紙14を模式的に示す図である。
図2に示すように、ラベル用紙14は、帯状のシートであり、印刷面15において、剥離紙に、所定間隔をあけて複数のラベル部Sが貼付される。ラベル部Sの裏面はシールとなっており、剥離紙から取り剥がすことができる。ラベル部Sの長手方向の形状は一定であり、各ラベル部Sの間隔も一定である。後述するように、インクジェットプリンター5は、ラベル用紙14に形成された複数のラベル部Sに、連続して画像を印刷できる。インクジェットプリンター5によってラベル用紙14への印刷が行われる場合は、ラベル用紙14の長手方向と、搬送正方向YJ1とが対応するように、ラベル用紙14がインクジェットプリンター5にセットされる。
図2に示すように、ラベル用紙14の裏面には、ラベル部Sのそれぞれに対応して、ブラックマークBMが形成されている。図1における図示は省略したが、インクジェットプリンター5において、ラベル用紙14の搬送路上の所定の位置には、搬送されるラベル用紙14に形成されたブラックマークBMを光学的に検出するブラックマークセンサー42(図3)が設けられる。インクジェットプリンター5のプリンター制御部27(後述)は、ブラックマークセンサー42の検出値に基づいて、当該センサーに対応する位置にブラックマークBMが位置していることを検出する。プリンター制御部27は、検出結果に基づいて、ラベル用紙14の搬送量の調整や、ラベル用紙14の位置の調整等を実行する。
FIG. 2 is a diagram schematically showing the label paper 14 that can be set in the ink jet printer 5.
As shown in FIG. 2, the label paper 14 is a belt-like sheet, and a plurality of label portions S are attached to the release paper at predetermined intervals on the printing surface 15. The back surface of the label portion S is a seal and can be peeled off from the release paper. The shape of the label portion S in the longitudinal direction is constant, and the interval between the label portions S is also constant. As will be described later, the inkjet printer 5 can continuously print images on a plurality of label portions S formed on the label paper 14. When printing on the label paper 14 is performed by the ink jet printer 5, the label paper 14 is set in the ink jet printer 5 so that the longitudinal direction of the label paper 14 corresponds to the forward conveyance direction YJ1.
As shown in FIG. 2, black marks BM are formed on the back surface of the label paper 14 corresponding to each of the label portions S. Although not shown in FIG. 1, in the inkjet printer 5, a black mark sensor 42 that optically detects a black mark BM formed on the conveyed label paper 14 at a predetermined position on the transport path of the label paper 14. (FIG. 3) is provided. A printer control unit 27 (described later) of the inkjet printer 5 detects that the black mark BM is located at a position corresponding to the sensor based on the detection value of the black mark sensor 42. Based on the detection result, the printer control unit 27 adjusts the conveyance amount of the label paper 14, adjusts the position of the label paper 14, and the like.

図1に示すように、インクジェットプリンター5は、上流ヘッドユニット17と、下流ヘッドユニット18とを備える。
上流ヘッドユニット17には、上流側トップ印刷ヘッド17T、上流側左印刷ヘッド17L、及び、上流側右印刷ヘッド17Rの3つの印刷ヘッドが配置されている。下流ヘッドユニット18には、下流側トップ印刷ヘッド18T、下流側左印刷ヘッド18L、及び、下流側右印刷ヘッド18Rの3つの印刷ヘッドが配置されている。
As shown in FIG. 1, the inkjet printer 5 includes an upstream head unit 17 and a downstream head unit 18.
In the upstream head unit 17, three print heads, that is, an upstream top print head 17T, an upstream left print head 17L, and an upstream right print head 17R are arranged. The downstream head unit 18 is provided with three print heads: a downstream top print head 18T, a downstream left print head 18L, and a downstream right print head 18R.

上流側トップ印刷ヘッド17Tには、ブラックノズル列20と、このブラックノズル列20の下流に配置されたシアンノズル列21が設けられている。
ブラックノズル列20は、インクを微細なインク粒として吐出するノズル孔(不図示)が、搬送正方向YJ1と交わる方向であるノズル列方向YJ2に延在して形成されたノズル列である。ブラックノズル列20には、ブラック(K)のインクカートリッジ(不図示)から、インクが供給される構成となっている。上流側トップ印刷ヘッド17Tは、例えばピエゾ素子を用いて構成されるアクチュエーターによって、ブラック(K)のインクカートリッジから供給されるインクをラベル用紙14へ向かって押し出して、所定のノズル孔から微細なインク粒を吐出する。
シアンノズル列21は、ブラックノズル列20と同様、ノズル孔がノズル列方向に延在して形成されたノズル列であり、シアン(C)のインクカートリッジ(不図示)からインクが供給される構成となっている。
上流側右印刷ヘッド17R、及び、上流側左印刷ヘッド17Lは、上流側トップ印刷ヘッド17Tと同様の構成であり、それぞれ、ブラックノズル列20、及び、このブラックノズル列20の下流に配置されたシアンノズル列21を備えている。
The upstream top print head 17T is provided with a black nozzle row 20 and a cyan nozzle row 21 disposed downstream of the black nozzle row 20.
The black nozzle row 20 is a nozzle row in which nozzle holes (not shown) that discharge ink as fine ink particles extend in a nozzle row direction YJ2 that is a direction intersecting the forward conveyance direction YJ1. The black nozzle row 20 is configured to be supplied with ink from a black (K) ink cartridge (not shown). The upstream top print head 17T pushes the ink supplied from the black (K) ink cartridge toward the label paper 14 by an actuator configured using, for example, a piezo element, and fine ink from a predetermined nozzle hole. Discharge the grains.
Similar to the black nozzle row 20, the cyan nozzle row 21 is a nozzle row formed with nozzle holes extending in the nozzle row direction, and ink is supplied from a cyan (C) ink cartridge (not shown). It has become.
The upstream right print head 17R and the upstream left print head 17L have the same configuration as the upstream top print head 17T, and are arranged downstream of the black nozzle row 20 and the black nozzle row 20, respectively. A cyan nozzle row 21 is provided.

下流側トップ印刷ヘッド18Tには、マゼンタノズル列22と、このマゼンタノズル列22の下流に配置されたイエローノズル列23が設けられている。
マゼンタノズル列22は、ブラックノズル列20と同様、ノズル孔がノズル列方向に延在して形成されたノズル列であり、マゼンタ(M)のインクカートリッジ(不図示)からインクが供給される構成となっている。
イエローノズル列23は、ブラックノズル列20と同様、ノズル孔がノズル列方向に延在して形成されたノズル列であり、イエロー(Y)のインクカートリッジ(不図示)からインクが供給される構成となっている。
下流側右印刷ヘッド18R、及び、下流側左印刷ヘッド18Lは、下流側トップ印刷ヘッド18Tと同様の構成であり、それぞれ、マゼンタノズル列22、及び、このマゼンタノズル列22の下流に配置されたイエローノズル列23を備えている。
なお、図1では、説明の便宜のため、各印刷ヘッド、及び、印刷ヘッドが備えるノズル列を明示しているが、実際は、ノズル列を構成するノズル孔から鉛直下方へ向かってインクが吐出される構成となっており、当該構成を実現するように各部材が配置されている。
The downstream top print head 18T is provided with a magenta nozzle row 22 and a yellow nozzle row 23 arranged downstream of the magenta nozzle row 22.
Similar to the black nozzle row 20, the magenta nozzle row 22 is a nozzle row formed with nozzle holes extending in the nozzle row direction, and ink is supplied from a magenta (M) ink cartridge (not shown). It has become.
Similar to the black nozzle row 20, the yellow nozzle row 23 is a nozzle row in which nozzle holes are formed extending in the nozzle row direction, and ink is supplied from a yellow (Y) ink cartridge (not shown). It has become.
The downstream right print head 18R and the downstream left print head 18L have the same configuration as the downstream top print head 18T, and are arranged downstream of the magenta nozzle row 22 and the magenta nozzle row 22, respectively. A yellow nozzle row 23 is provided.
In FIG. 1, for convenience of explanation, each print head and the nozzle row included in the print head are clearly shown. However, actually, ink is ejected vertically downward from the nozzle holes constituting the nozzle row. Each member is arranged so as to realize the configuration.

インクジェットプリンター5は、ラベル用紙14にインクを吐出してドットを形成し、ドットの組み合わせにより、画像を印刷する。以下、ラベル用紙14に、ある1つのドットを形成する場合の基本的な動作について図1を用いて説明する。
ラベル用紙14が図1に示す位置に存在しており、このラベル用紙14上の位置P1に所定の色のドットを形成する場合を例にして説明する。所定の色は、ブラック(K)、シアン(C)、マゼンタ(M)、及び、イエロー(Y)のインクがそれぞれ所定量ずつ吐出されることによって表現される色であるものとする。図1中、位置P2は、上流側トップ印刷ヘッド17Tに形成されたブラックノズル列20において、搬送される記録媒体の位置P1が通過する位置である。位置P3、位置P4、及び、位置P5についてもそれぞれ同様である。
インクジェットプリンター5は、ラベル用紙14にドットを形成している間、ラベル用紙14を、略一定の速さで搬送正方向YJ1へ向かって搬送する。そして、図1に示す状態からラベル用紙14の搬送正方向YJ1への搬送が進行し、ラベル用紙14上の位置P1が位置P2に対応する位置に至ったタイミングで、位置P2に対応するノズルから所定量のブラック(K)のインクを吐出する。同様にして、ラベル用紙14上の位置P1が位置P3に至ったタイミングで、位置P3に対応するノズルから所定量のシアン(C)のインクを吐出し、ラベル用紙14上の位置P1が位置P4に至ったタイミングで、位置P4に対応するノズルから所定量のマゼンタ(M)のインクを吐出し、ラベル用紙14上の位置P1が位置P5に至ったタイミングで、位置P5に対応するノズルから所定量のイエロー(Y)のインクを吐出する。
このようにして、ラベル用紙14上の位置P1に、ブラック(K)、シアン(C)、マゼンタ(M)、及び、イエロー(Y)のインクがそれぞれ所定量ずつ吐出され、位置P1に所定の色のドットが形成される。
つまり、本実施形態に係るインクジェットプリンター5では、画像の印刷に係る処理中は、ラインインクジェットヘッド12はその位置が固定された状態であり、この固定されたラインインクジェットヘッド12に対してラベル用紙14が相対的に一定速度で移動しつつ、ラインインクジェットヘッド12から適宜インクが吐出されてドットが形成され、画像が印刷される。
The ink jet printer 5 ejects ink onto the label paper 14 to form dots, and prints an image by combining the dots. Hereinafter, a basic operation in the case of forming one dot on the label paper 14 will be described with reference to FIG.
An example in which the label paper 14 exists at the position shown in FIG. 1 and dots of a predetermined color are formed at the position P1 on the label paper 14 will be described. The predetermined color is a color expressed by ejecting black (K), cyan (C), magenta (M), and yellow (Y) inks by a predetermined amount. In FIG. 1, a position P2 is a position through which the transported recording medium position P1 passes in the black nozzle row 20 formed in the upstream top print head 17T. The same applies to the position P3, the position P4, and the position P5.
The ink jet printer 5 transports the label paper 14 toward the positive transport direction YJ1 at a substantially constant speed while dots are formed on the label paper 14. Then, when the conveyance of the label paper 14 in the positive conveyance direction YJ1 proceeds from the state shown in FIG. 1, the position P1 on the label paper 14 reaches the position corresponding to the position P2, and from the nozzle corresponding to the position P2. A predetermined amount of black (K) ink is ejected. Similarly, at a timing when the position P1 on the label paper 14 reaches the position P3, a predetermined amount of cyan (C) ink is ejected from the nozzle corresponding to the position P3, and the position P1 on the label paper 14 becomes the position P4. A predetermined amount of magenta (M) ink is ejected from the nozzle corresponding to the position P4 at the timing of reaching the position P4, and the position corresponding to the position P5 from the nozzle corresponding to the position P5 is reached when the position P1 on the label paper 14 reaches the position P5. A fixed amount of yellow (Y) ink is ejected.
In this way, black (K), cyan (C), magenta (M), and yellow (Y) inks are ejected by a predetermined amount to the position P1 on the label paper 14, respectively, and a predetermined amount is ejected to the position P1. Color dots are formed.
In other words, in the inkjet printer 5 according to the present embodiment, the position of the line inkjet head 12 is fixed during the processing related to image printing, and the label paper 14 is fixed to the fixed line inkjet head 12. While moving at a relatively constant speed, ink is appropriately ejected from the line inkjet head 12 to form dots, and an image is printed.

図3は、本実施形態に係る印刷システム8の機能的構成を示すブロック図である。
図3に示すように、印刷システム8は、インクジェットプリンター5と、このインクジェットプリンター5に通信可能(接続可能)であり、インクジェットプリンター5を制御するホストコンピューター1(制御装置)と、を備えている。
FIG. 3 is a block diagram showing a functional configuration of the printing system 8 according to the present embodiment.
As shown in FIG. 3, the printing system 8 includes an inkjet printer 5 and a host computer 1 (control device) that can communicate (connect to) the inkjet printer 5 and controls the inkjet printer 5. .

図3に示すように、インクジェットプリンター5は、プリンター制御部27(装置制御部)と、ラインインクジェットヘッド12(印刷部)と、紙送りモーター36と、ブラックマークセンサー42と、プリンター表示部39と、プリンター入力部40と、プリンター記憶部50(装置記憶部)と、インターフェース(I/F)41と、を備える。
プリンター制御部27は、演算実行部としてのCPUや、CPUによって実行可能なファームウェアやファームウェアに係るデータを不揮発的に記憶するROM、CPUが使用するワークエリアが形成されるRAM、その他の周辺回路等を備える。プリンター制御部27は、例えば、ファームウェアを読み出して実行することにより、インクジェットプリンター5を制御する。
ラインインクジェットヘッド12は、プリンター制御部27の制御で、印刷を実行する。プリンター制御部27は、ラインインクジェットヘッド12の各インクジェットヘッドが備えるアクチュエーターを駆動し、各ノズルから必要量のインクを吐出してラベル用紙14にドットを形成し画像を印刷する。
As shown in FIG. 3, the inkjet printer 5 includes a printer control unit 27 (apparatus control unit), a line inkjet head 12 (printing unit), a paper feed motor 36, a black mark sensor 42, and a printer display unit 39. A printer input unit 40, a printer storage unit 50 (device storage unit), and an interface (I / F) 41.
The printer control unit 27 includes a CPU as an operation execution unit, a firmware that can be executed by the CPU, a ROM that stores data relating to the firmware in a nonvolatile manner, a RAM in which a work area used by the CPU is formed, and other peripheral circuits. Is provided. For example, the printer control unit 27 controls the inkjet printer 5 by reading and executing firmware.
The line inkjet head 12 executes printing under the control of the printer control unit 27. The printer control unit 27 drives an actuator included in each inkjet head of the line inkjet head 12 to eject a necessary amount of ink from each nozzle to form dots on the label paper 14 and print an image.

紙送りモーター36は、搬送ローラー10に接続され、搬送ローラー10を回転させて、ラベル用紙14を、所定量、搬送する。プリンター制御部27は、紙送りモーター36を駆動して、ラベル用紙14を、所定量、搬送する。本実施形態では、紙送りモーター36は、ステッピングモーターで構成されており、プリンター制御部27は、ステップ数によりラベル用紙14の搬送量を管理する。
ブラックマークセンサー42は、プリンター制御部27に検出値を出力する。ブラックマークセンサー42による検出位置にブラックマークBMが位置している場合と、位置していない場合とでは、ブラックマークセンサー42の検出値が異なる。プリンター制御部27は、ラベル用紙14の搬送中、ブラックマークセンサー42の検出値に基づいて、ブラックマークセンサー42による検出位置にブラックマークBMが位置していることを検出する。
プリンター制御部27は、ラベル用紙14の搬送中、紙送りモーター36のステップ数によってラベル用紙14の搬送量を管理し、ブラックマークセンサー42の検出値に基づいて、ラベル用紙14の位置を管理する。プリンター制御部27は、管理する紙送りモーター36のステップ数、及び、ラベル用紙14の位置に基づいて、ラベル用紙14の搬送量の調整や、ラベル用紙14の位置の調整等を行う。
The paper feed motor 36 is connected to the transport roller 10 and rotates the transport roller 10 to transport the label paper 14 by a predetermined amount. The printer control unit 27 drives the paper feed motor 36 to convey the label paper 14 by a predetermined amount. In the present embodiment, the paper feed motor 36 is configured by a stepping motor, and the printer control unit 27 manages the transport amount of the label paper 14 by the number of steps.
The black mark sensor 42 outputs a detection value to the printer control unit 27. The detection value of the black mark sensor 42 differs depending on whether or not the black mark BM is located at the detection position by the black mark sensor 42. The printer control unit 27 detects that the black mark BM is located at the detection position by the black mark sensor 42 based on the detection value of the black mark sensor 42 during conveyance of the label paper 14.
The printer control unit 27 manages the transport amount of the label paper 14 by the number of steps of the paper feed motor 36 during the transport of the label paper 14, and manages the position of the label paper 14 based on the detection value of the black mark sensor 42. . The printer control unit 27 adjusts the transport amount of the label paper 14 and the position of the label paper 14 based on the number of steps of the paper feed motor 36 to be managed and the position of the label paper 14.

プリンター表示部39は、複数のLEDを備え、プリンター制御部27の制御で、LEDを所定の態様で点灯/消滅させ、インクジェットプリンター5の状態を報知したり、エラーの発生の有無を報知したりする。
プリンター入力部40はインクジェットプリンター5に設けられた各種操作スイッチに接続され、各種操作スイッチに対する操作を検出し、プリンター制御部27に出力する。
プリンター記憶部50は、EEPROMや、ハードディスク等の不揮発性メモリーを備え、データを記憶する。プリンター記憶部50に記憶される各種データについては後述する。
インターフェース41は、プリンター制御部27の制御で、ホストコンピューター1と所定のプロトコルで通信する。
The printer display unit 39 includes a plurality of LEDs. Under the control of the printer control unit 27, the LEDs are turned on / off in a predetermined manner to notify the state of the ink jet printer 5 or to notify the occurrence of an error. To do.
The printer input unit 40 is connected to various operation switches provided in the inkjet printer 5, detects operations on the various operation switches, and outputs them to the printer control unit 27.
The printer storage unit 50 includes a nonvolatile memory such as an EEPROM or a hard disk, and stores data. Various data stored in the printer storage unit 50 will be described later.
The interface 41 communicates with the host computer 1 using a predetermined protocol under the control of the printer control unit 27.

図3に示すように、ホストコンピューター1は、ホストコンピューター1を制御するホスト制御部45(制御部)を備える。ホスト制御部45は、機能ブロックとして、アプリケーション実行部45aと、プリンタードライバー実行部45bと、を備えるが、これらについては後述する。
また、ホストコンピューター1は、各種情報を表示するホスト表示部46と、接続された入力デバイスに対する操作を検出するホスト入力部47と、各種データを記憶するホスト記憶部48と、インクジェットプリンター5との間で所定のプロトコルで通信するインターフェース(I/F)49とを備える。
ホスト記憶部48や、RAM、ROM、その他の記憶媒体に形成された記憶領域が「記憶部」に該当する。
As shown in FIG. 3, the host computer 1 includes a host control unit 45 (control unit) that controls the host computer 1. The host control unit 45 includes an application execution unit 45a and a printer driver execution unit 45b as functional blocks, which will be described later.
The host computer 1 includes a host display unit 46 that displays various information, a host input unit 47 that detects an operation on a connected input device, a host storage unit 48 that stores various data, and an inkjet printer 5. And an interface (I / F) 49 that communicates with each other using a predetermined protocol.
A storage area formed in the host storage unit 48, RAM, ROM, or other storage medium corresponds to the “storage unit”.

次に、ラベル用紙14の複数のラベル部Sに連続して画像を印刷するときのホストコンピューター1、及び、インクジェットプリンター5の基本的な動作について説明する。
以下の説明では、ラベル用紙14は、少なくとも、ラベル部Sとして、搬送方向下流から上流へ向かって、第1ラベル部S1、第2ラベル部S2、及び、第3ラベル部S3を有する。そして以下では、インクジェットプリンター5により、第1ラベル部S1、第2ラベル部S2、第3ラベル部S3の順に画像を連続して印刷する場合を例にして、画像を連続印刷するときの各装置の動作を説明する。以下の説明では、第1ラベル部S1に印刷される画像を「第1画像GQ1」と表現し、第2ラベル部S2に印刷される画像を「第2画像GQ2」と表現し、第3ラベル部S3に印刷される画像を「第3画像GQ3」と表現する。
ここで、アプリケーション実行部45a、及び、プリンタードライバー実行部45bについて説明する。
アプリケーション実行部45aは、ホストコンピューター1にインストールされたアプリケーション、及び、付随するプログラムを読み出して実行することにより処理を実行する機能ブロックである。アプリケーションは、少なくとも、ラベル部Sに印刷する画像の画像データをプリンタードライバーに出力する機能を有するソフトウェアである。
プリンタードライバー実行部45bは、ホストコンピューター1にインストールされたプリンタードライバー、及び、付随するプログラムを読み出して実行することにより処理を実行する機能ブロックである。プリンタードライバーは、インクジェットプリンター5が対応するコマンド体系に従ったデータを生成し、出力する機能を有する。
Next, basic operations of the host computer 1 and the inkjet printer 5 when images are continuously printed on the plurality of label portions S of the label paper 14 will be described.
In the following description, the label paper 14 has at least a first label portion S1, a second label portion S2, and a third label portion S3 as the label portion S from the downstream in the transport direction to the upstream. In the following, each apparatus for continuously printing images by using the inkjet printer 5 as an example in which images are continuously printed in the order of the first label portion S1, the second label portion S2, and the third label portion S3. The operation of will be described. In the following description, the image printed on the first label portion S1 is expressed as “first image GQ1”, the image printed on the second label portion S2 is expressed as “second image GQ2”, and the third label The image printed on the part S3 is expressed as “third image GQ3”.
Here, the application execution unit 45a and the printer driver execution unit 45b will be described.
The application execution unit 45a is a functional block that executes processing by reading and executing an application installed in the host computer 1 and an accompanying program. The application is software having a function of outputting at least image data of an image to be printed on the label portion S to a printer driver.
The printer driver execution unit 45b is a functional block that executes processing by reading and executing a printer driver installed in the host computer 1 and an accompanying program. The printer driver has a function of generating and outputting data according to the command system supported by the inkjet printer 5.

複数のラベル部Sに画像を連続して印刷する場合、ホストコンピューター1のホスト制御部45のアプリケーション実行部45aは、以下の処理を実行する。アプリケーション実行部45aは、第1画像GQ1の画像データ(以下、「第1画像データD1」と表現する。)、第2画像GQ2の画像データ(以下、「第2画像データD2」と表現する。)、及び、第3画像GQ3の画像データ「以下、「第3画像データD3」と表現する。」を生成する。
本実施形態では、画像データは、ドットマトリクス状に配置されるドットについて、ドットごとに、色に関する情報を保持するデータである。色に関する情報とは、例えば、赤(R)、青(B)、及び、緑(G)のそれぞれの色成分を256階調の階調値として有する情報である。
次いで、アプリケーション実行部45aは、第1画像データD1、第2画像データD2、及び、第3画像データD3を、順次、プリンタードライバー実行部45bに出力する。1の画像データの出力に係る処理と、他の画像データの生成に係る処理は並行して行われてもよい。
When images are continuously printed on the plurality of label portions S, the application execution unit 45a of the host control unit 45 of the host computer 1 executes the following processing. The application execution unit 45a expresses image data of the first image GQ1 (hereinafter referred to as “first image data D1”) and image data of the second image GQ2 (hereinafter referred to as “second image data D2”). ) And image data of the third image GQ3 “hereinafter referred to as“ third image data D3 ”. Is generated.
In the present embodiment, the image data is data that holds information about the color for each dot with respect to dots arranged in a dot matrix. The color information is information having, for example, each color component of red (R), blue (B), and green (G) as a gradation value of 256 gradations.
Next, the application execution unit 45a sequentially outputs the first image data D1, the second image data D2, and the third image data D3 to the printer driver execution unit 45b. The processing related to the output of one image data and the processing related to the generation of other image data may be performed in parallel.

プリンタードライバー実行部45bは、入力された第1画像データD1に基づいて、第1画像GQ1の印刷を指示する制御データ(以下、「第1制御データC1」と表現する。)を生成し、インターフェース49を制御して、インクジェットプリンター5に送信する。同様にして、プリンタードライバー実行部45bは、入力された第2画像データD2に基づく制御データ(以下、「第2制御データC2」と表現する。)、及び、第3画像データD3に基づく制御データ(以下、「第3制御データC3」と表現する。)を、順次、インクジェットプリンター5に送信する。制御データの内容は後に詳述する。
インクジェットプリンター5がインターフェース41を介して受信する制御データは、図示しない受信バッファーに、順次、格納される。
インクジェットプリンター5のプリンター制御部27は、受信バッファーに格納された各制御データを、順次、読み出す。
プリンター制御部27は、制御データの読み出しに応じて、ラベル用紙14の搬送正方向YJ1への搬送を開始する。プリンター制御部27は、複数のラベル部Sへの画像の連続印刷の実行中、ラベル用紙14を所定の速度で搬送正方向YJ1へ搬送した状態を維持する。上述したように、ラベル用紙14の搬送中、プリンター制御部27は、ブラックマークセンサー42の検出値に基づいて、ラベル用紙14の位置を管理する。
プリンター制御部27は、第1制御データC1に基づいて、図示しない画像バッファーに第1画像GQ1の画像データを展開する。当該処理については後に詳述する。プリンター制御部27は、画像バッファーに展開した画像データに基づいて、適切なタイミングで適切な態様でラインインクジェットヘッド12を制御して、第1ラベル部S1に第1画像GQ1を印刷する。同様に、プリンター制御部27は、第2制御データC2に基づいて、図示しない画像バッファーに第2画像GQ2の画像データを展開し、展開した画像データに基づいて、第2ラベル部S2に第2画像GQ2を印刷する。また、プリンター制御部27は、第3制御データC3に基づいて、図示しない画像バッファーに第3画像GQ3の画像データを展開し、展開した画像データに基づいて、第3ラベル部S3に第3画像GQ3を印刷する。
Based on the input first image data D1, the printer driver execution unit 45b generates control data for instructing printing of the first image GQ1 (hereinafter referred to as “first control data C1”), and an interface. 49 is controlled and transmitted to the inkjet printer 5. Similarly, the printer driver execution unit 45b controls data based on the input second image data D2 (hereinafter referred to as “second control data C2”) and control data based on the third image data D3. (Hereinafter, expressed as “third control data C3”) is sequentially transmitted to the inkjet printer 5. The contents of the control data will be described in detail later.
Control data received by the inkjet printer 5 via the interface 41 is sequentially stored in a reception buffer (not shown).
The printer control unit 27 of the inkjet printer 5 sequentially reads each control data stored in the reception buffer.
The printer control unit 27 starts transporting the label paper 14 in the forward transport direction YJ1 in response to reading of the control data. The printer control unit 27 maintains the state in which the label paper 14 is conveyed in the conveyance normal direction YJ1 at a predetermined speed during execution of continuous printing of images on the plurality of label units S. As described above, the printer control unit 27 manages the position of the label paper 14 based on the detection value of the black mark sensor 42 during conveyance of the label paper 14.
The printer control unit 27 develops the image data of the first image GQ1 in an image buffer (not shown) based on the first control data C1. This process will be described in detail later. The printer control unit 27 prints the first image GQ1 on the first label unit S1 by controlling the line inkjet head 12 at an appropriate timing based on the image data developed in the image buffer. Similarly, the printer control unit 27 develops the image data of the second image GQ2 in an image buffer (not shown) based on the second control data C2, and the second label unit S2 stores the second image data on the basis of the developed image data. The image GQ2 is printed. Further, the printer control unit 27 expands the image data of the third image GQ3 in an image buffer (not shown) based on the third control data C3, and the third image is displayed on the third label unit S3 based on the expanded image data. Print GQ3.

図4は、本実施形態に係る印刷システム8によってラベル用紙14のラベル部Sに印刷される画像の一例を示す図である。図4の例では、ラベル部Sは、画像の印刷後、剥離紙から取り剥がされ、ラベルとして所定の製品や、製品の包装に貼付される。
図4に示すように、ラベル部Sのそれぞれには、ラベル画像G1が印刷される。各ラベル画像G1は、ラベル画像G1ごとに態様を異ならせることが可能な可変画像G2と、ラベル画像G1ごとに態様が同じ固定画像G3とを含んで構成される。
図4の例では、固定画像G3は、ラベル部Sの外縁に沿って形成された赤色の枠状の画像である。固定画像G3において、ラベル部Sの外縁の上辺に対応する部位には、「AAACompany」という製品を製造するメーカーの名称が記されている。図4に例示するように、各ラベル部Sに印刷される固定画像G3の態様は、同一である。
可変画像G2は、枠状の固定画像G3に囲まれた領域に印刷される画像である。可変画像G2は、製品の機種名を示す文字列(図4の例では、「XX−YYYY」。)と、製品ごとに一意に割り振られたコードを示すバーコードと、製品ごとに一意に付与されるシリアル番号を示す文字列と、を含んで構成される。
FIG. 4 is a diagram illustrating an example of an image printed on the label portion S of the label paper 14 by the printing system 8 according to the present embodiment. In the example of FIG. 4, the label portion S is removed from the release paper after the image is printed, and is affixed to a predetermined product or product packaging as a label.
As shown in FIG. 4, a label image G1 is printed on each of the label portions S. Each label image G1 includes a variable image G2 that can have a different aspect for each label image G1, and a fixed image G3 that has the same aspect for each label image G1.
In the example of FIG. 4, the fixed image G <b> 3 is a red frame-shaped image formed along the outer edge of the label portion S. In the fixed image G <b> 3, the name of the manufacturer that manufactures the product “AAACompany” is written in a portion corresponding to the upper side of the outer edge of the label portion S. As illustrated in FIG. 4, the aspect of the fixed image G <b> 3 printed on each label portion S is the same.
The variable image G2 is an image printed in an area surrounded by the frame-shaped fixed image G3. The variable image G2 is uniquely assigned to each character string indicating the model name of the product (“XX-YYYY” in the example of FIG. 4), a barcode indicating a code uniquely assigned to each product, and each product. And a character string indicating a serial number to be processed.

ここで、ラベル画像G1は、固定画像G3を有するため、連続して印刷される複数のラベル画像G1のうち、1のラベル画像G1と、他のラベル画像G1とは、所定の領域で画像が共通する、という特徴がある。
本実施形態に係るホストコンピューター1は、上記特徴に基づいて、インクジェットプリンター5に、複数のラベル部Sに画像を連続して印刷させる場合に、インクジェットプリンター5に送信するデータのデータ量を低減する。送信するデータのデータ量を低減することによって、通信効率の向上等を図ることが可能である。
以下、ラベル用紙14の複数のラベル部Sに画像を連続して印刷するときのホストコンピューター1、及び、インクジェットプリンター5の動作について詳細に説明する。
Here, since the label image G1 includes the fixed image G3, one label image G1 and the other label images G1 out of a plurality of continuously printed label images G1 are images in a predetermined region. There is a common feature.
Based on the above characteristics, the host computer 1 according to the present embodiment reduces the data amount of data to be transmitted to the inkjet printer 5 when the inkjet printer 5 continuously prints images on the plurality of label portions S. . By reducing the amount of data to be transmitted, it is possible to improve communication efficiency.
Hereinafter, operations of the host computer 1 and the inkjet printer 5 when images are continuously printed on the plurality of label portions S of the label paper 14 will be described in detail.

図5(A)はホストコンピューター1の動作を示すフローチャートであり、(B)はインクジェットプリンター5の動作を示すフローチャートである。
以下では、ラベル用紙14の搬送については詳述しないが、プリンター制御部27は、ラベル部Sへの画像の印刷に対応したラベル用紙14の搬送、搬送時のラベル用紙14の位置の管理、ラベル用紙14の搬送量の調整、位置の調整を実行する。
アプリケーション実行部45aは、連続印刷を実行するのに必要な情報(例えば、各ラベル部Sに印刷する画像の画像データの保存場所を示す情報)の入力や、画像の印刷の開始を指示可能なユーザーインターフェースをユーザーに提供する。ユーザーは、当該ユーザーインターフェースに対して、必要な情報を入力し、画像の印刷の開始を指示する(ステップSX1)。
アプリケーション実行部45aは、ユーザーによる画像の印刷の開始の指示に応じて、以下の処理を実行する。アプリケーション実行部45aは、複数のラベル部Sに連続して印刷する画像のそれぞれの画像データを生成する(ステップSA1)。
以下、ステップSA1でアプリケーション実行部45aが生成した画像データを「印刷画像データ」という。つまり、印刷画像データは、ラベル部Sに印刷する画像の画像データである。
次いで、アプリケーション実行部45aは、生成した印刷画像データを、順次、プリンタードライバー実行部45bに出力する(ステップSA2)。
FIG. 5A is a flowchart showing the operation of the host computer 1, and FIG. 5B is a flowchart showing the operation of the inkjet printer 5.
In the following, although the transport of the label paper 14 is not described in detail, the printer control unit 27 transports the label paper 14 corresponding to the printing of the image on the label portion S, manages the position of the label paper 14 during the transport, label Adjustment of the conveyance amount and position of the paper 14 is executed.
The application execution unit 45a can input information necessary for executing continuous printing (for example, information indicating a storage location of image data of an image to be printed on each label unit S) and can instruct start of image printing. Provide a user interface to the user. The user inputs necessary information to the user interface and instructs the start of image printing (step SX1).
The application execution unit 45a executes the following processing in response to an instruction to start image printing by the user. The application execution unit 45a generates image data of images to be printed continuously on the plurality of label units S (step SA1).
Hereinafter, the image data generated by the application execution unit 45a in step SA1 is referred to as “print image data”. That is, the print image data is image data of an image to be printed on the label portion S.
Next, the application execution unit 45a sequentially outputs the generated print image data to the printer driver execution unit 45b (step SA2).

次いで、プリンタードライバー実行部45bは、アプリケーション実行部45aから入力された印刷画像データのうち、1の印刷画像データを取得する(ステップSA3)。ステップSA3で、プリンタードライバー実行部45bは、アプリケーション実行部45aから入力された複数の印刷画像データについて、入力された順番で(=印刷させる順番で)、1つずつ、印刷画像データを取得する。以下、ステップSA2でプリンタードライバー実行部45bが取得した1の印刷画像データを「処理対象画像データGD1」と表現する。
次いで、プリンタードライバー実行部45bは、所定の記憶領域(記憶部)に、1つ以上の比較画像データハッシュ値情報J1(後述)が記憶されているか否かを判別する(ステップSA4)。後に明らかになるとおり、プリンタードライバー実行部45bは、処理対象画像データGD1に基づく処理の実行に応じて、処理対象画像データGD1に基づいて生成される比較画像データハッシュ値情報J1を所定の記憶領域に記憶する。従って、処理対象画像データGD1が、アプリケーション実行部45aから入力された複数の印刷画像データのうちの1つ目の印刷画像データである場合、所定の記憶領域に比較画像データハッシュ値情報J1が記憶されていない状態である。この場合、ステップSA4で、プリンタードライバー実行部45bは、所定の記憶領域に比較画像データハッシュ値情報J1が1つも記憶されていないと判別する(ステップSA4:NO)。一方、処理対象画像データGD1が、アプリケーション実行部45aから入力された複数の印刷画像データのうちの2つ目以降の印刷画像データである場合、所定の記憶領域に比較画像データハッシュ値情報J1が記憶された状態である。この場合、ステップSA4で、プリンタードライバー実行部45bは、所定の記憶領域に1つ以上の比較画像データハッシュ値情報J1が記憶されていると判別する(ステップSA4:YES)。
Next, the printer driver execution unit 45b acquires one print image data among the print image data input from the application execution unit 45a (step SA3). In step SA3, the printer driver execution unit 45b acquires the print image data one by one in the input order (= printing order) for the plurality of print image data input from the application execution unit 45a. Hereinafter, one print image data acquired by the printer driver execution unit 45b in step SA2 is expressed as “processing target image data GD1”.
Next, the printer driver execution unit 45b determines whether or not one or more comparison image data hash value information J1 (described later) is stored in a predetermined storage area (storage unit) (step SA4). As will be apparent later, the printer driver execution unit 45b stores the comparison image data hash value information J1 generated based on the processing target image data GD1 in a predetermined storage area in accordance with the execution of the processing based on the processing target image data GD1. To remember. Therefore, when the processing target image data GD1 is the first print image data of the plurality of print image data input from the application execution unit 45a, the comparison image data hash value information J1 is stored in a predetermined storage area. It is a state that has not been done. In this case, in step SA4, the printer driver execution unit 45b determines that no comparison image data hash value information J1 is stored in the predetermined storage area (step SA4: NO). On the other hand, when the processing target image data GD1 is the second or later print image data among the plurality of print image data input from the application execution unit 45a, the comparison image data hash value information J1 is stored in a predetermined storage area. It is a memorized state. In this case, in step SA4, the printer driver execution unit 45b determines that one or more comparison image data hash value information J1 is stored in a predetermined storage area (step SA4: YES).

ステップSA4で、所定の記憶領域に比較画像データハッシュ値情報J1が1つも記憶されていないと判別した場合(ステップSA4:NO)、プリンタードライバー実行部45bは、以下の処理を実行する。
プリンタードライバー実行部45bは、処理対象画像データGD1を一意に識別する識別情報である画像データ識別情報DCを生成する(ステップSA5)。
次いで、プリンタードライバー実行部45bは、処理対象画像データGD1を、所定の圧縮形式で、圧縮する(ステップSA6)。
次いで、プリンタードライバー実行部45bは、以下の処理を実行する(ステップSA7)。プリンタードライバー実行部45bは、ステップSA5で生成した画像データ識別情報DC、及び、ステップSA6で圧縮した処理対象画像データGD1を含み、処理対象画像データGD1に基づく印刷を指示する制御データを生成する。
次いで、プリンタードライバー実行部45bは、インターフェース49を制御して、生成した制御データを、インクジェットプリンター5に送信する(ステップSA8)。
以下、ステップSA8で送信した制御データに含まれる画像データ識別情報DCを、「印刷画像データ識別情報DC1」と表現し、後に説明する「選択画像データ識別情報DC2」と区別する。
If it is determined in step SA4 that no comparison image data hash value information J1 is stored in the predetermined storage area (step SA4: NO), the printer driver execution unit 45b executes the following processing.
The printer driver execution unit 45b generates image data identification information DC that is identification information for uniquely identifying the processing target image data GD1 (step SA5).
Next, the printer driver execution unit 45b compresses the processing target image data GD1 in a predetermined compression format (step SA6).
Next, the printer driver execution unit 45b executes the following processing (step SA7). The printer driver execution unit 45b includes the image data identification information DC generated in step SA5 and the processing target image data GD1 compressed in step SA6, and generates control data instructing printing based on the processing target image data GD1.
Next, the printer driver execution unit 45b controls the interface 49 to transmit the generated control data to the inkjet printer 5 (step SA8).
Hereinafter, the image data identification information DC included in the control data transmitted in step SA8 is expressed as “print image data identification information DC1” and is distinguished from “selected image data identification information DC2” described later.

次いで、プリンタードライバー実行部45bは、処理対象画像データGD1の各ブロックのハッシュ値(算出値)を算出する(ステップSA9)。
以下、ブロック、及び、ハッシュ値を説明する。
図6は、処理対象画像データGD1(印刷画像データ)上に、処理対象画像データGD1に形成されるブロックを模式的に示す図である。
本例では、処理対象画像データGD1は、縦2400ドット×横14000ドットのデータであり、ドットごとに赤(R)、緑(G)、及び、青(B)の色成分を256階調の階調値として保持する。
ブロックは、図6に示すように、処理対象画像データGD1を格子状に区分して形成される領域である。詳述すると、図6に示すように、ブロックは、処理対象画像データGD1の図中左上の頂点Oを基点として、処理対象画像データGD1を縦64ドット、横64ドットで格子状に区分することによって形成された領域である。このため、ブロックの基本的なサイズは、縦64ドット×横64ドットである。ただし、処理対象画像データGD1の縦の長さは2400ドットであるが、「2400」が「64」で割り切れないため、処理対象画像データGD1の下辺に接する各ブロックの縦の長さは32ドットである。また、処理対象画像データの横の長さは14000ドットであるが、「14000」が「64」で割り切れないため、処理対象画像データの右辺に接する各ブロックの横の長さは48ドットである。
ステップSA9で、プリンタードライバー実行部45bは、所定のハッシュ関数(所定の計算式)で、処理対象画像データGD1の各ブロックのハッシュ値(算出値)を求める。
なお、各ブロックには、処理対象画像データGD1における位置を示す位置情報が割り振られており、当該位置情報により、各ブロックの画像データにおける位置を特定できる。
本実施形態では、位置情報は、処理対象画像データGD1を、頂点Oを原点とする直交座標系に展開した場合の、ブロックの画像データの基点(本例では、図6中左上の頂点)の座標を示す情報である。
Next, the printer driver execution unit 45b calculates a hash value (calculated value) of each block of the processing target image data GD1 (step SA9).
Hereinafter, the block and the hash value will be described.
FIG. 6 is a diagram schematically showing blocks formed in the processing target image data GD1 on the processing target image data GD1 (print image data).
In this example, the processing target image data GD1 is data of vertical 2400 dots × horizontal 14000 dots, and each of the red (R), green (G), and blue (B) color components has 256 gradations. Stored as a gradation value.
As shown in FIG. 6, the block is an area formed by dividing the processing target image data GD1 into a grid pattern. More specifically, as shown in FIG. 6, the block divides the processing target image data GD1 into a grid of 64 dots in the vertical direction and 64 dots in the horizontal direction with the vertex O at the upper left of the processing target image data GD1 as the base point. It is the area | region formed by. For this reason, the basic size of a block is 64 dots long x 64 dots wide. However, although the vertical length of the processing target image data GD1 is 2400 dots, since “2400” cannot be divided by “64”, the vertical length of each block in contact with the lower side of the processing target image data GD1 is 32 dots. It is. Further, the horizontal length of the processing target image data is 14000 dots, but since “14000” cannot be divided by “64”, the horizontal length of each block in contact with the right side of the processing target image data is 48 dots. .
In step SA9, the printer driver execution unit 45b obtains a hash value (calculated value) of each block of the processing target image data GD1 using a predetermined hash function (predetermined calculation formula).
Each block is assigned position information indicating the position in the processing target image data GD1, and the position of each block in the image data can be specified by the position information.
In this embodiment, the position information is the base point of the block image data (vertex in the upper left in FIG. 6 in this example) when the processing target image data GD1 is developed in an orthogonal coordinate system having the vertex O as the origin. This is information indicating coordinates.

以下、1のブロックのハッシュ値の算出方法の一例を示す。
1のブロックは、ドットを、n個有する。例えば、縦64ドット×横64ドットのブロックについては、n=4096(64×64)である。
プリンタードライバー実行部45bは、n個の各ドットのドット値を以下の式によって算出する。「(式)ドット値=(赤(R)の色成分の階調値)+((緑(G)の色成分の階調値)×256」)+((青(B)の色成分の階調値)×65536)」。
以下、n個のドットのそれぞれのドット値をp[i](0≦i≦n−1)とする。
次いで、プリンタードライバー実行部45bは、変数h[i](0≦i≦n−1)を定義し、以下の計算式により、h[n−1]を求める。
まず、プリンタードライバー実行部45bは、h[0]に、p[0]の値を代入する。
次いで、プリンタードライバー実行部45bは、「h[i]←3×h[i−1]+p[i]」として、「i=1」から「i=n−1」となるまで、順次、「i」の値をインクリメントし、h[n−1]の値を求める。
プリンタードライバー実行部45bは、h[n−1]の値を、ハッシュ値とする。なお、h[n−1]に格納可能な値の範囲を考慮して、h[n−1]の値が、値T1を上回る場合は、h[n−1]を値T2(値T1と同一の値であってもよい)で割ったときの余りをハッシュ値とする等してもよい。
なお、例示したハッシュ値の算出方法は一例であり、他の方法でハッシュ値を求めてもよい。
Hereinafter, an example of a method for calculating the hash value of one block will be described.
One block has n dots. For example, n = 4096 (64 × 64) for a block of 64 vertical dots × 64 horizontal dots.
The printer driver execution unit 45b calculates the dot value of each of n dots by the following formula. “(Expression) dot value = (tone value of red (R) color component) + ((tone value of green (G) color component) × 256”) + ((blue (B) color component Gradation value) × 65536) ”.
Hereinafter, each dot value of n dots is assumed to be p [i] (0 ≦ i ≦ n−1).
Next, the printer driver execution unit 45b defines a variable h [i] (0 ≦ i ≦ n−1) and obtains h [n−1] by the following calculation formula.
First, the printer driver execution unit 45b substitutes the value of p [0] for h [0].
Next, the printer driver execution unit 45b sequentially sets “h [i] ← 3 × h [i−1] + p [i]” until “i = 1” to “i = n−1”. The value of “i” is incremented to obtain the value of h [n−1].
The printer driver execution unit 45b sets the value of h [n−1] as a hash value. In consideration of the range of values that can be stored in h [n−1], when the value of h [n−1] exceeds the value T1, h [n−1] is set to the value T2 (value T1). The remainder when dividing by the same value may be used as a hash value.
Note that the hash value calculation method illustrated is an example, and the hash value may be obtained by another method.

ステップSA9で、処理対象画像データGD1の各ブロックのハッシュ値を算出した後、プリンタードライバー実行部45bは、比較画像データハッシュ値情報J1を生成する(ステップSA10)。比較画像データハッシュ値情報J1は、ステップSA5で生成した処理対象画像データGD1の画像データ識別情報DCと、処理対象画像データGD1と、ステップSA9で算出した処理対象画像データGD1の各ブロックのハッシュ値とを対応付けた情報である。
以下、比較画像データハッシュ値情報J1に含まれる処理対象画像データGD1のことを、「比較画像データGD2」と表現する。後に明らかとなるとおり、比較画像データGD2は、アプリケーション実行部45aが出力した印刷画像データのうち、過去に処理対象画像データGD1となった印刷画像データを意味する。
比較画像データハッシュ値情報J1は、比較画像データGD2の画像データ識別情報DCと、比較画像データGD2と、比較画像データGD2の各ブロックのハッシュ値とを含む情報である。
次いで、プリンタードライバー実行部45bは、ステップSA10で生成した比較画像データハッシュ値情報J1を所定の記憶領域(記憶部)に記憶する(ステップSA11)。所定の記憶領域(記憶部)は、ホスト記憶部48に形成された記憶領域であってもよく、RAMのワークエリア等のホスト記憶部48以外の記憶媒体に形成された記憶領域であってもよい。次いで、プリンタードライバー実行部45bは、処理手順をステップSA3に戻す。
After calculating the hash value of each block of the processing target image data GD1 in step SA9, the printer driver execution unit 45b generates comparison image data hash value information J1 (step SA10). The comparison image data hash value information J1 includes the image data identification information DC of the processing target image data GD1 generated in step SA5, the processing target image data GD1, and the hash value of each block of the processing target image data GD1 calculated in step SA9 Is associated with each other.
Hereinafter, the processing target image data GD1 included in the comparison image data hash value information J1 is expressed as “comparison image data GD2”. As will be apparent later, the comparison image data GD2 means print image data that has been processed image data GD1 in the past among the print image data output by the application execution unit 45a.
The comparison image data hash value information J1 is information including the image data identification information DC of the comparison image data GD2, the comparison image data GD2, and the hash value of each block of the comparison image data GD2.
Next, the printer driver execution unit 45b stores the comparison image data hash value information J1 generated in step SA10 in a predetermined storage area (storage unit) (step SA11). The predetermined storage area (storage unit) may be a storage area formed in the host storage unit 48 or a storage area formed in a storage medium other than the host storage unit 48 such as a RAM work area. Good. Next, the printer driver execution unit 45b returns the processing procedure to Step SA3.

図5(B)に示すように、インクジェットプリンター5のプリンター制御部27は、ホストコンピューター1から制御データを受信したか否かを監視する(ステップSB1)。
受信した場合(ステップSB1)、プリンター制御部27は、受信バッファーに格納された1の制御データを読み出す(ステップSB2)。ステップSB2で、プリンター制御部27は、受信バッファーに格納された制御データを、順番に、読み出す。
次いで、プリンター制御部27は、制御データに、選択画像データ識別情報DC2(後述)が含まれているか否かを判別する(ステップSB3)。
上述したように、ステップSA8でホストコンピューター1が送信する制御データ(1つ目の印刷画像データに基づく制御データ)には、選択画像データ識別情報DC2は含まれない。一方、後述するように、ステップSA19でホストコンピューター1が送信する制御データ(2つ目以降の印刷画像データに基づく制御データ)には、選択画像データ識別情報DC2が含まれる。
As shown in FIG. 5B, the printer control unit 27 of the inkjet printer 5 monitors whether control data is received from the host computer 1 (step SB1).
If received (step SB1), the printer control unit 27 reads 1 control data stored in the reception buffer (step SB2). In step SB2, the printer control unit 27 sequentially reads the control data stored in the reception buffer.
Next, the printer control unit 27 determines whether or not the selected image data identification information DC2 (described later) is included in the control data (step SB3).
As described above, the selected image data identification information DC2 is not included in the control data (control data based on the first print image data) transmitted by the host computer 1 in step SA8. On the other hand, as will be described later, the control data (control data based on the second and subsequent print image data) transmitted by the host computer 1 in step SA19 includes selected image data identification information DC2.

制御データに選択画像データ識別情報DC2が含まれていない場合(ステップSB3:NO)、プリンター制御部27は、制御データに含まれる圧縮された処理対象画像データGD1を、所定の圧縮形式に対応する解凍方式で解凍する(ステップSB4)。
次いで、プリンター制御部27は、解凍した処理対象画像データGD1を、画像バッファーに展開する(ステップSB5)。
次いで、プリンター制御部27は、画像バッファーに展開した画像データに基づいて、適切なタイミングで、適切な態様でラインインクジェットヘッド12を制御し、対応するラベル部Sに画像を印刷する(ステップSB6)。
次いで、プリンター制御部27は、制御データに含まれる印刷画像データ識別情報DC1(画像データ識別情報DC)を取得する(ステップSB7)。
次いで、プリンター制御部27は、後述する記憶画像データテーブルTB1においてステップSB7で取得した印刷画像データ識別情報DC1と、画像バッファーに展開した画像データとを対応付けて記憶する(ステップSB8)。以下、記憶した画像データを、記憶画像データGD3と表現する。記憶画像データGD3は、「比較画像データ」に該当する。
次いで、プリンター制御部27は、処理手順をステップSB2に戻し、受信バッファーから次の制御データを読み出す。
If the selected image data identification information DC2 is not included in the control data (step SB3: NO), the printer control unit 27 corresponds to the compressed processing target image data GD1 included in the control data in a predetermined compression format. Defrost using the thawing method (step SB4).
Next, the printer control unit 27 develops the decompressed processing target image data GD1 in the image buffer (step SB5).
Next, the printer control unit 27 controls the line inkjet head 12 in an appropriate manner at an appropriate timing based on the image data developed in the image buffer, and prints an image on the corresponding label unit S (step SB6). .
Next, the printer control unit 27 acquires print image data identification information DC1 (image data identification information DC) included in the control data (step SB7).
Next, the printer control unit 27 stores the print image data identification information DC1 acquired in step SB7 in the stored image data table TB1 described later in association with the image data developed in the image buffer (step SB8). Hereinafter, the stored image data is expressed as stored image data GD3. The stored image data GD3 corresponds to “comparison image data”.
Next, the printer control unit 27 returns the processing procedure to step SB2, and reads the next control data from the reception buffer.

図5(A)に示すように、ステップSA4で、所定の記憶領域(記憶部)に、比較画像データハッシュ値情報J1が記憶されていると判別した場合(ステップSA4:YES)、プリンタードライバー実行部45bは、以下の処理を実行する。なお、所定の記憶領域に、比較画像データハッシュ値情報J1が記憶されている場合とは、ステップSA3で取得する処理対象画像データが、アプリケーション実行部45aが出力する印刷画像データのうち、2つ目以降の印刷画像データである場合である。
プリンタードライバー実行部45bは、処理対象画像データGD1の各ブロックのハッシュ値を算出する(ステップSA12)。
次いで、プリンタードライバー実行部45bは、ハッシュ値比較処理を実行する(ステップSA13)。
以下、ハッシュ値比較処理について詳述する。
As shown in FIG. 5A, when it is determined in step SA4 that the comparison image data hash value information J1 is stored in the predetermined storage area (storage unit) (step SA4: YES), the printer driver is executed. The unit 45b executes the following processing. Note that the case where the comparison image data hash value information J1 is stored in the predetermined storage area means that the processing target image data acquired in step SA3 is two pieces of print image data output by the application execution unit 45a. This is the case of the print image data after the first.
The printer driver execution unit 45b calculates a hash value of each block of the processing target image data GD1 (step SA12).
Next, the printer driver execution unit 45b executes a hash value comparison process (step SA13).
Hereinafter, the hash value comparison process will be described in detail.

図7は、ステップSA13のハッシュ値比較処理の説明に用いる図である。
ハッシュ値比較処理は、所定の記憶領域に記憶された1又は複数の比較画像データハッシュ値情報J1に含まれる比較画像データGD2の各ブロックのハッシュ値と、処理対象画像データGD1の各ブロックのハッシュ値とを比較し、ハッシュ値の異なるブロックの少ない比較画像データGD2を含む比較画像データハッシュ値情報J1を選択する処理である。
また、ステップSA13の時点では、所定の記憶領域に、1又は複数の比較画像データハッシュ値情報J1が記憶されている。図7(A)では、所定の記憶領域に、複数の比較画像データハッシュ値情報J1が記憶された状態を示す。
FIG. 7 is a diagram used for explaining the hash value comparison processing in step SA13.
The hash value comparison process includes a hash value of each block of the comparison image data GD2 included in one or a plurality of comparison image data hash value information J1 stored in a predetermined storage area, and a hash of each block of the processing target image data GD1. This is a process of comparing the values and selecting the comparison image data hash value information J1 including the comparison image data GD2 with a small number of blocks having different hash values.
At the time of step SA13, one or a plurality of comparison image data hash value information J1 is stored in a predetermined storage area. FIG. 7A shows a state in which a plurality of comparison image data hash value information J1 is stored in a predetermined storage area.

ハッシュ値比較処理について詳述すると、プリンタードライバー実行部45bは、1又は複数の比較画像データハッシュ値情報J1のそれぞれについて、以下の処理を実行する。
すなわち、プリンタードライバー実行部45bは、処理対象画像データGD1の各ブロックのハッシュ値と、1の比較画像データハッシュ値情報J1に含まれる比較画像データGD2の各ブロックのハッシュ値とを比較し、ハッシュ値が異なるブロックの数を計測する。
各ブロックのハッシュ値の比較は、処理対象画像データGD1のそれぞれのブロックについて、各ブロックのハッシュ値と、比較画像データGD2の対応する位置に配置されたブロックのハッシュ値と比較することによって行われる。図7(B)は、左側に比較画像データGD2のブロックを示し、右側に処理対象画像データGD1のブロックを示す。例えば、比較画像データGD2のブロックのうち、位置X1に対応する位置に配置されたブロックP1と、処理対象画像データGD1のブロックのうち、位置X1に対応する位置に配置されたブロックQ1とが、対応するブロックである。従って、プリンタードライバー実行部45bは、ブロックP1のハッシュ値と、ブロックQ1のハッシュ値とを比較する。プリンタードライバー実行部45bは、処理対象画像データGD1が有する全てのブロックについて、対応するブロックのハッシュ値と、ハッシュ値が一致するか異なるかを判別し、ハッシュ値が異なるブロックの数を計測する。プリンタードライバー実行部45bは、以上のようなハッシュ値が異なるブロックの数の計測を、記憶する全ての比較画像データGD2との比較に基づいて実行する。次いで、プリンタードライバー実行部45bは、1又は複数の比較画像データハッシュ値情報J1のうち、ハッシュ値が異なるブロックの数が最も少ない比較画像データGD2に係る比較画像データハッシュ値情報J1を選択する。
The hash value comparison process will be described in detail. The printer driver execution unit 45b executes the following process for each of one or a plurality of comparison image data hash value information J1.
That is, the printer driver execution unit 45b compares the hash value of each block of the processing target image data GD1 with the hash value of each block of the comparison image data GD2 included in the one comparison image data hash value information J1, Count the number of blocks with different values.
The hash value of each block is compared by comparing the hash value of each block with the hash value of the block arranged at the corresponding position of the comparison image data GD2 for each block of the processing target image data GD1. . FIG. 7B shows a block of the comparison image data GD2 on the left side and a block of the processing target image data GD1 on the right side. For example, among the blocks of the comparison image data GD2, a block P1 arranged at a position corresponding to the position X1, and among the blocks of the processing target image data GD1, a block Q1 arranged at a position corresponding to the position X1. Corresponding block. Therefore, the printer driver execution unit 45b compares the hash value of the block P1 with the hash value of the block Q1. The printer driver execution unit 45b determines whether the hash value of the corresponding block is the same as or different from the hash value for all the blocks included in the processing target image data GD1, and measures the number of blocks having different hash values. The printer driver execution unit 45b executes the measurement of the number of blocks having different hash values as described above based on comparison with all the stored comparison image data GD2. Next, the printer driver execution unit 45b selects the comparison image data hash value information J1 related to the comparison image data GD2 having the smallest number of blocks having different hash values from one or a plurality of comparison image data hash value information J1.

ここで、比較画像データGD2のうち、処理対象画像データGD1の各ブロックとハッシュ値が異なるブロックの数が最も少ない比較画像データGD2は、処理対象画像データGD1と近似する画像データである。
ここで、複数の比較画像データGD2から、処理対象画像データGD1に近似するものを選択する処理として、以下の処理を実行することも可能である。すなわち、比較画像データGD2と、処理対象画像データGD1との対応するドットを比較して一致/不一致を判別し、不一致のドットが最も少ない比較画像データGD2を選択することも可能である。一方、本実施形態に係るハッシュ値比較処理では、プリンタードライバー実行部45bは、予め比較画像データGD2(過去にインクジェットプリンター5に印刷させた画像の画像データ)の各ブロックのハッシュ値を算出して記憶する。プリンタードライバー実行部45bは、処理対象画像データGD1の各ブロックのハッシュ値を算出し、処理対象画像データGD1の各ブロックのハッシュ値と、記憶した比較画像データGD2の各ブロックのハッシュ値との比較に基づいて、近似する比較画像データGD2を選択する。このため、処理対象画像データGD1と近似する比較画像データGD2を選択する処理について、処理負荷が小さく、また、選択までに要する時間が短い。
Here, among the comparison image data GD2, the comparison image data GD2 having the smallest number of blocks having different hash values from the respective blocks of the processing target image data GD1 is image data that approximates the processing target image data GD1.
Here, as a process of selecting an approximation to the processing target image data GD1 from the plurality of comparison image data GD2, the following process may be executed. That is, it is also possible to compare the corresponding dots of the comparison image data GD2 and the processing target image data GD1 to determine matching / mismatching, and to select the comparison image data GD2 with the least number of mismatching dots. On the other hand, in the hash value comparison process according to the present embodiment, the printer driver execution unit 45b calculates the hash value of each block of the comparison image data GD2 (image data of an image previously printed on the inkjet printer 5) in advance. Remember. The printer driver execution unit 45b calculates the hash value of each block of the processing target image data GD1, and compares the hash value of each block of the processing target image data GD1 with the hash value of each block of the stored comparison image data GD2. Based on this, the approximate comparison image data GD2 is selected. For this reason, regarding the process of selecting the comparison image data GD2 that approximates the processing target image data GD1, the processing load is small and the time required for selection is short.

図5(A)に示すように、ステップSA13でハッシュ値比較処理を実行した後、プリンタードライバー実行部45bは、処理対象画像データGD1を一意に識別する識別情報である画像データ識別情報DCを生成する(ステップSA14)。
次いで、プリンタードライバー実行部45bは、ステップSA13のハッシュ値比較処理で選択した比較画像データハッシュ値情報J1に含まれる画像データ識別情報DC(比較画像データGD2の識別情報)を取得する(ステップSA15)。
次いで、プリンタードライバー実行部45bは、画像データ比較処理を実行する(ステップSA16)。
以下、ステップSA16の画像データ比較処理について詳述する。
As shown in FIG. 5A, after executing the hash value comparison process in step SA13, the printer driver execution unit 45b generates image data identification information DC that is identification information for uniquely identifying the processing target image data GD1. (Step SA14).
Next, the printer driver execution unit 45b acquires the image data identification information DC (identification information of the comparison image data GD2) included in the comparison image data hash value information J1 selected in the hash value comparison process in step SA13 (step SA15). .
Next, the printer driver execution unit 45b executes image data comparison processing (step SA16).
Hereinafter, the image data comparison process in step SA16 will be described in detail.

画像データ比較処理は、処理対象画像データGD1のブロックのうち、ステップSA13のハッシュ値比較処理で選択した比較画像データハッシュ値情報J1に含まれる比較画像データGD2のブロックとハッシュ値が一致すると判別されたものについて、各ブロックに属する画像データ(以下、「ブロック画像データ」という。)の各ドットを比較する。そして、ハッシュ値が一致する一方、ブロック画像データが異なるブロックを特定する処理である。
例えば、図7(B)を参照し、ハッシュ値比較処理において、比較画像データGD2の位置X1に配置されたブロックP1のハッシュ値と、処理対象画像データGD1の位置X1に配置されたブロックQ1のハッシュ値とが一致すると判別されたとする。この場合、画像データ比較処理において、プリンタードライバー実行部45bは、ブロックP1に属する画像データ(ブロック画像データ)と、ブロックQ1に属する画像データ(ブロック画像データ)との各ドットを比較し、一致/不一致を判別する。プリンタードライバー実行部45bは、当該判別を、ハッシュ値が一致すると判別したブロックのそれぞれについて実行し、ハッシュ値が一致する一方、ブロック画像データが異なるブロックを特定する。
画像データ比較処理は、以下を目的とする処理である。すなわち、処理対象画像データGD1と比較画像データGD2の対応するブロックについて、対応するブロック画像データが異なる場合であっても、ハッシュ値が一致する可能性がある。そして、画像データ比較処理は、処理対象画像データGD1のブロックのうち、対応するブロックとハッシュ値が一致する一方、対応するブロックのブロック画像データが異なるブロックを特定することを目的とする。
In the image data comparison process, it is determined that the hash value matches the block of the comparison image data GD2 included in the comparison image data hash value information J1 selected in the hash value comparison process in step SA13 among the blocks of the processing target image data GD1. Each dot of image data belonging to each block (hereinafter referred to as “block image data”) is compared. And it is the process which specifies the block from which block values differ while a hash value is matched.
For example, referring to FIG. 7B, in the hash value comparison process, the hash value of the block P1 arranged at the position X1 of the comparison image data GD2 and the block Q1 arranged at the position X1 of the processing target image data GD1. Assume that it is determined that the hash value matches. In this case, in the image data comparison process, the printer driver execution unit 45b compares the dots of the image data (block image data) belonging to the block P1 and the image data (block image data) belonging to the block Q1 to find a match / Determine discrepancies. The printer driver execution unit 45b performs the determination for each of the blocks that are determined to have the same hash value, and identifies blocks that have the same hash value but different block image data.
The image data comparison process is a process for the following purposes. That is, for the corresponding blocks of the processing target image data GD1 and the comparison image data GD2, the hash values may match even when the corresponding block image data is different. The object of the image data comparison process is to specify a block whose hash value matches that of the corresponding block among the blocks of the processing target image data GD1, but whose block image data of the corresponding block is different.

次いで、プリンタードライバー実行部45bは、ブロック圧縮処理を実行する(ステップSA17)。
以下、ブロック圧縮処理について説明する。
なお、ブロック圧縮処理では、画像データを所定の圧縮方式で圧縮する。この所定の圧縮方式は、矩形の画像データについて圧縮可能であり、また、圧縮対象の画像データのサイズが大きければ大きいほど、圧縮の効率がよい。
図8は、ブロック圧縮処理の詳細を示すフローチャートである。
図9は、ブロック圧縮処理の説明に利用する図である。図9(A)は、処理対象画像データGD1のデータ上にブロックを示す図である。図9(A)に示す処理対象画像データGD1は、説明の明確化のため、縦に4個、横に6個、合計24個のブロックR1〜ブロックR24を有する。
図8に示すように、プリンタードライバー実行部45bは、処理対象画像データGD1のブロックのうち、ステップSA13のハッシュ値比較処理において比較画像データGD2の対応するブロックとハッシュ値が異なると判別したブロックを特定する(ステップSC1)。次いで、プリンタードライバー実行部45bは、処理対象画像データGD1のブロックのうち、ステップSA16の画像データ比較処理において比較画像データGD2の対応するブロックとハッシュ値が一致する一方、ブロック画像データが異なると判別したブロックを特定する(ステップSC2)。
図9(A)では、ステップSC1、及び、ステップSC2で特定したブロックを、斜線で表す。すなわち、ブロックR1、R5、R7、R8、R12、R14、R16、R17、及び、R20が、ステップSC1、及び、ステップSC2で特定されたブロックである。
次いで、プリンタードライバー実行部45bは、ステップSC1、及び、ステップSC2で特定したブロックのうち、隣接するブロックが存在しないブロックを特定する(ステップSC3)。1のブロックに他のブロックが隣接するとは、1のブロックの上辺、下辺、左辺、又は、右辺に接する他のブロックが存在することをいう。図8(A)で、ブロックR16は、ブロックR17と隣接する。一方、ブロックR5と、ブロックR12とは隣接しない。なお、隣接するブロックが存在しないブロックが無い場合は、ステップSC3でブロックが特定されず、ステップSC4の処理は実行されない。
図9(A)の例では、ステップSC3で、プリンタードライバー実行部45bは、ブロックR5、及び、ブロックR12を特定する。
Next, the printer driver execution unit 45b executes block compression processing (step SA17).
Hereinafter, block compression processing will be described.
In the block compression process, the image data is compressed by a predetermined compression method. This predetermined compression method can compress rectangular image data, and the greater the size of the image data to be compressed, the better the compression efficiency.
FIG. 8 is a flowchart showing details of the block compression processing.
FIG. 9 is a diagram used for explaining the block compression processing. FIG. 9A shows a block on the data of the processing target image data GD1. The processing target image data GD1 shown in FIG. 9A has a total of 24 blocks R1 to R24, four vertically and six horizontally, for clarity of explanation.
As illustrated in FIG. 8, the printer driver execution unit 45b determines, among the blocks of the processing target image data GD1, blocks that are determined to have different hash values from the corresponding blocks of the comparison image data GD2 in the hash value comparison processing in step SA13. Specify (step SC1). Next, the printer driver execution unit 45b determines that, among the blocks of the processing target image data GD1, the hash value matches the corresponding block of the comparison image data GD2 in the image data comparison processing in step SA16, but the block image data is different. The identified block is specified (step SC2).
In FIG. 9A, the blocks identified in step SC1 and step SC2 are represented by diagonal lines. That is, the blocks R1, R5, R7, R8, R12, R14, R16, R17, and R20 are the blocks specified in Step SC1 and Step SC2.
Next, the printer driver execution unit 45b specifies a block in which no adjacent block exists among the blocks specified in Step SC1 and Step SC2 (Step SC3). The fact that another block is adjacent to one block means that there is another block in contact with the upper side, the lower side, the left side, or the right side of the one block. In FIG. 8A, the block R16 is adjacent to the block R17. On the other hand, the block R5 and the block R12 are not adjacent. If there is no block that does not have an adjacent block, the block is not specified at step SC3, and the process at step SC4 is not executed.
In the example of FIG. 9A, in step SC3, the printer driver execution unit 45b identifies the block R5 and the block R12.

次いで、プリンタードライバー実行部45bは、ステップSC3で特定したブロックのブロック画像データについて、所定の圧縮方式で圧縮し、圧縮したブロック画像データを、ブロックの位置を示す位置情報と対応付けて記憶領域に記憶する(ステップSC4)。
9(A)の例では、ステップSC4で、プリンタードライバー実行部45bは、ブロックR5のブロック画像データを圧縮し、位置Y5を示す位置情報と対応付けて記憶する。また、プリンタードライバー実行部45bは、ブロックR12のブロック画像データを圧縮し、位置Y12を示す位置情報と対応付けて記憶する。
Next, the printer driver execution unit 45b compresses the block image data of the block identified in step SC3 by a predetermined compression method, and associates the compressed block image data with the position information indicating the position of the block in the storage area. Store (step SC4).
In the example of 9 (A), in step SC4, the printer driver execution unit 45b compresses the block image data of the block R5 and stores it in association with the position information indicating the position Y5. In addition, the printer driver execution unit 45b compresses the block image data of the block R12 and stores it in association with the position information indicating the position Y12.

次いで、プリンタードライバー実行部45bは、ステップSC1、SC2で特定したブロックの内、隣接するブロックを含んで構成されるブロック群を特定する(ステップSC5)。
図9(A)の例では、プリンタードライバー実行部45bは、ブロックR1、R7、R8、R14、及び、R20を含むブロック群BG1(図9(B)も併せて参照)、及び、ブロックR16、及び、ブロックR17を含むブロック群BG2(図9(B)も併せて参照)を特定する。なお、ブロック群が無い場合は、ステップSC5でブロック群が特定されず、ステップSC6〜ステップSC10の処理は行われない。
次いで、プリンタードライバー実行部45bは、ステップSC5で特定したブロック群のうち、矩形のブロック群を特定する(ステップSC6)。
図9(A)の例では、プリンタードライバー実行部45bは、ブロック群BG2を矩形のブロック群として特定する。なお、矩形のブロック群が無い場合は、ステップSC6で矩形のブロック群が特定されず、ステップSC7の処理は行われない。
Next, the printer driver execution unit 45b specifies a block group including adjacent blocks among the blocks specified in steps SC1 and SC2 (step SC5).
In the example of FIG. 9A, the printer driver execution unit 45b includes a block group BG1 including blocks R1, R7, R8, R14, and R20 (see also FIG. 9B), and a block R16, In addition, the block group BG2 including the block R17 (see also FIG. 9B) is specified. If there is no block group, the block group is not specified in step SC5, and the processes in steps SC6 to SC10 are not performed.
Next, the printer driver execution unit 45b specifies a rectangular block group among the block groups specified in step SC5 (step SC6).
In the example of FIG. 9A, the printer driver execution unit 45b specifies the block group BG2 as a rectangular block group. If there is no rectangular block group, the rectangular block group is not specified in step SC6, and the process of step SC7 is not performed.

次いで、プリンタードライバー実行部45bは、ステップSC6で特定した矩形のブロック群に属する画像データを、1つの画像データとして、所定の圧縮方式で圧縮する。プリンタードライバー実行部45bは、圧縮したブロック群に係る画像データを、ブロック群の位置を示す位置情報と対応付けて記憶領域に記憶する(ステップSC7)。
図9(A)の例では、プリンタードライバー実行部45bは、ブロック群BG2に属する画像データを、1つの画像データとして、所定の圧縮方式で圧縮する。プリンタードライバー実行部45bは、圧縮したブロック群BG2に係る画像データを、位置Y16を示す位置情報と対応づけて記憶する。
次いで、プリンタードライバー実行部45bは、ステップSC5で特定したブロック群のうち、矩形でないブロック群を特定する(ステップSC8)。
図9(A)の例では、プリンタードライバー実行部45bは、ブロック群BG1を矩形でないブロック群として特定する。なお、矩形でないブロック群が無い場合は、ステップSC8で矩形のブロック群が特定されず、ステップSC9、ステップSC10の処理は行われない。
次いで、プリンタードライバー実行部45bは、ステップSC8で特定した矩形でないブロック群を、矩形のブロック群、又は、ブロックに分割する(ステップSC9)。以下、分割された矩形のブロック群、及び、ブロックを総称して「分割ブロック」という。分割に際し、プリンタードライバー実行部45bは、所定の圧縮方式に対応して、所定の圧縮方式で分割後の画像データを圧縮したときに、圧縮の効率が高くなるような態様で、矩形でないブロック群を分割する。例えば、分割後にできるだけサイズの大きいブロック群が存在した方が画像データの圧縮の効率が高い場合は、そのような態様で分割を実行する。また、分割ブロックの数が少ない方が画像データの圧縮の効率が高い場合は、そのような態様で分割を実行する。
図9(A)の例では、プリンタードライバー実行部45bは、ブロック群BG1を、ブロックR1及びR7を含むブロック群BG11(図9(C)参照)、及び、ブロックR8、R14、及び、R20を含むブロック群BG12(図9(C)参照)に分割する。
Next, the printer driver execution unit 45b compresses the image data belonging to the rectangular block group specified in step SC6 as a single image data by a predetermined compression method. The printer driver execution unit 45b stores the compressed image data relating to the block group in the storage area in association with the position information indicating the position of the block group (step SC7).
In the example of FIG. 9A, the printer driver execution unit 45b compresses image data belonging to the block group BG2 as one image data by a predetermined compression method. The printer driver execution unit 45b stores the compressed image data related to the block group BG2 in association with the position information indicating the position Y16.
Next, the printer driver execution unit 45b specifies a non-rectangular block group among the block groups specified in step SC5 (step SC8).
In the example of FIG. 9A, the printer driver execution unit 45b identifies the block group BG1 as a non-rectangular block group. If there is no non-rectangular block group, the rectangular block group is not specified in step SC8, and the processes in steps SC9 and SC10 are not performed.
Next, the printer driver execution unit 45b divides the non-rectangular block group specified in step SC8 into rectangular block groups or blocks (step SC9). Hereinafter, the divided rectangular block groups and blocks are collectively referred to as “divided blocks”. At the time of division, the printer driver execution unit 45b corresponds to a predetermined compression method, and a group of non-rectangular blocks in such a manner that the compression efficiency increases when the divided image data is compressed by a predetermined compression method. Split. For example, if the image data compression efficiency is higher when there is a block group that is as large as possible after division, the division is executed in such a manner. If the image data compression efficiency is higher when the number of divided blocks is smaller, the division is performed in such a manner.
In the example of FIG. 9A, the printer driver execution unit 45b displays the block group BG1 as a block group BG11 including blocks R1 and R7 (see FIG. 9C), and blocks R8, R14, and R20. It divides | segments into the block group BG12 (refer FIG.9 (C)) containing.

次いで、プリンタードライバー実行部45bは、分割ブロックのそれぞれについて、分割ブロックに属する画像データを、所定の圧縮方式で圧縮する。分割ブロックが複数のブロックを含む場合は、複数のブロックの画像データを、1つの画像データとして、所定の圧縮方式で圧縮する。プリンタードライバー実行部45bは、圧縮した分割ブロックの画像データのそれぞれを、分割ブロックの位置を示す位置情報と対応付けて記憶領域に記憶する(ステップSC10)。
図9(A)の例では、プリンタードライバー実行部45bは、ブロック群BG11に属する画像データを、1つの画像データとして、所定の圧縮方式で圧縮する。プリンタードライバー実行部45bは、圧縮したブロック群BG11に係る画像データを、位置Y1を示す位置情報と対応付けて記憶する。また、プリンタードライバー実行部45bは、ブロック群BG12に属する画像データを、1つの画像データとして、所定の圧縮方式で圧縮する。プリンタードライバー実行部45bは、圧縮したブロック群BG12に係る画像データを、位置Y8を示す位置情報と対応付けて記憶領域に記憶する。
以上のようにして、ブロックに係る画像データを圧縮するため、高い効率での圧縮が可能となる。
Next, the printer driver execution unit 45b compresses the image data belonging to each divided block with a predetermined compression method for each divided block. When the divided block includes a plurality of blocks, the image data of the plurality of blocks is compressed as a single image data by a predetermined compression method. The printer driver execution unit 45b stores each of the compressed image data of the divided blocks in the storage area in association with the position information indicating the position of the divided blocks (step SC10).
In the example of FIG. 9A, the printer driver execution unit 45b compresses image data belonging to the block group BG11 as one image data by a predetermined compression method. The printer driver execution unit 45b stores the compressed image data related to the block group BG11 in association with the position information indicating the position Y1. In addition, the printer driver execution unit 45b compresses the image data belonging to the block group BG12 as one image data by a predetermined compression method. The printer driver execution unit 45b stores the compressed image data related to the block group BG12 in the storage area in association with the position information indicating the position Y8.
Since the image data relating to the block is compressed as described above, it is possible to perform compression with high efficiency.

図5(A)に示すように、ステップSA17でブロック圧縮処理を実行した後、プリンタードライバー実行部45bは、制御データを生成する(ステップSA18)。
ステップSA18で生成される制御データは、ステップSA14で生成した画像データ識別情報DC(処理対象画像データGD1の識別情報)を含む。制御データに含まれる処理対象画像データGD1の識別情報を示す画像データ識別情報DCは、「印刷画像データ識別情報DC1」である。
また、ステップSA18で生成される制御データは、ステップSA13のハッシュ値比較処理で選択した比較画像データハッシュ値情報J1に含まれる画像データ識別情報DC(比較画像データGD2の識別情報)を含む。以下、制御データに含まれる比較画像データGD2の識別情報を示す画像データ識別情報DCを、「選択画像データ識別情報DC2」と表現し、印刷画像データ識別情報DC1と区別する。
また、ステップSA18で生成される制御データは、ステップSA17のブロック圧縮処理で圧縮されたブロックの画像データ、又は、ブロック群の画像データと、各画像データの位置を示す位置情報との組合せを含む。
図9(A)の例では、プリンタードライバー実行部45bは、圧縮したブロックR5の画像データと位置Y5を示す位置情報との組合せ、圧縮したブロックR12の画像データと位置Y12を示す位置情報との組合せ、圧縮したブロック群BG2の画像データと位置Y16を示す位置情報との組合せ、圧縮したブロック群BG11の画像データと位置Y1を示す位置情報との組合せ、及び、圧縮したブロック群BG12の画像データと位置Y8を示す位置情報との組合せを、制御データに含める。
次いで、プリンタードライバー実行部45bは、インターフェース49を制御して、制御データを送信する(ステップSA19)。
このように、本実施形態では、制御データに、処理対象画像データGD1の全てが含まれるのではなく、比較画像データGD2とハッシュ値が相違し、また、ハッシュ値が一致してブロック画像データが相違するブロックの画像データが含まれる。このため、制御データのデータ量を低減することができる。
As shown in FIG. 5A, after executing the block compression process in step SA17, the printer driver execution unit 45b generates control data (step SA18).
The control data generated in step SA18 includes the image data identification information DC (identification information of the processing target image data GD1) generated in step SA14. The image data identification information DC indicating the identification information of the processing target image data GD1 included in the control data is “print image data identification information DC1”.
The control data generated in step SA18 includes image data identification information DC (identification information of comparison image data GD2) included in the comparison image data hash value information J1 selected in the hash value comparison process in step SA13. Hereinafter, the image data identification information DC indicating the identification information of the comparison image data GD2 included in the control data is expressed as “selected image data identification information DC2” and is distinguished from the print image data identification information DC1.
The control data generated in step SA18 includes a block image data compressed by the block compression process in step SA17 or a combination of block group image data and position information indicating the position of each image data. .
In the example of FIG. 9A, the printer driver execution unit 45b performs a combination of the compressed image data of the block R5 and the position information indicating the position Y5, and the compressed image data of the block R12 and the position information indicating the position Y12. Combination, combination of compressed image data of block group BG2 and position information indicating position Y16, combination of compressed image data of block group BG11 and position information indicating position Y1, and compressed image data of block group BG12 And the position information indicating the position Y8 are included in the control data.
Next, the printer driver execution unit 45b controls the interface 49 to transmit control data (step SA19).
As described above, in the present embodiment, the control data does not include all the processing target image data GD1, but the comparison image data GD2 and the hash value are different, and the hash values match and the block image data is the same. Image data of different blocks is included. For this reason, the data amount of control data can be reduced.

次いで、プリンタードライバー実行部45bは、アプリケーション実行部45aが出力した全ての印刷画像データに基づく制御データの送信が完了したか否かを判別する(ステップSA20)。完了した場合(ステップSA20:YES)、プリンタードライバー実行部45bは、処理を終了する。完了していない場合(ステップSA20:NO)、プリンタードライバー実行部45bは、処理対象画像データGD1に基づく比較画像データハッシュ値情報J1を生成し、所定の記憶領域(記憶部)に記憶する(ステップSA21)。
ステップSA21で生成され、記憶される比較画像データハッシュ値情報J1は、ステップSA14で生成した処理対象画像データGD1の画像データ識別情報DCと、比較画像データGD2としての処理対象画像データGD1と、ステップSA12で算出した比較画像としての処理対象画像データGD1の各ブロックのハッシュ値とを対応付けた情報である。
次いで、プリンタードライバー実行部45bは、処理手順をステップSA3に戻す。
Next, the printer driver execution unit 45b determines whether transmission of control data based on all print image data output from the application execution unit 45a is completed (step SA20). If completed (step SA20: YES), the printer driver execution unit 45b ends the process. If it has not been completed (step SA20: NO), the printer driver execution unit 45b generates comparison image data hash value information J1 based on the processing target image data GD1, and stores it in a predetermined storage area (storage unit) (step). SA21).
The comparison image data hash value information J1 generated and stored in step SA21 includes the image data identification information DC of the processing target image data GD1 generated in step SA14, the processing target image data GD1 as the comparison image data GD2, and the step. This is information in which the hash value of each block of the processing target image data GD1 as the comparison image calculated in SA12 is associated.
Next, the printer driver execution unit 45b returns the processing procedure to Step SA3.

図5(B)に示すように、インクジェットプリンター5のプリンター制御部27は、ホストコンピューター1から制御データを受信したか否かを監視する(ステップSB1)。
受信した場合(ステップSB1)、プリンター制御部27は、受信バッファーに格納された1の制御データを読み出す(ステップSB2)。
次いで、プリンター制御部27は、制御データに、選択画像データ識別情報DC2(後述)が含まれているか否かを判別する(ステップSB3)。
上述したように、ステップSA19でホストコンピューター1が送信する制御データ(2つ目以降の印刷画像データに基づく制御データ)には、選択画像データ識別情報DC2が含まれる。
As shown in FIG. 5B, the printer control unit 27 of the inkjet printer 5 monitors whether control data is received from the host computer 1 (step SB1).
If received (step SB1), the printer control unit 27 reads 1 control data stored in the reception buffer (step SB2).
Next, the printer control unit 27 determines whether or not the selected image data identification information DC2 (described later) is included in the control data (step SB3).
As described above, the control data (control data based on the second and subsequent print image data) transmitted by the host computer 1 in step SA19 includes the selected image data identification information DC2.

制御データに選択画像データ識別情報DC2が含まれている場合(ステップSB3:YES)、プリンター制御部27は、プリンター記憶部50が記憶する記憶画像データテーブルTB1を参照する(ステップSB9)。記憶画像データテーブルTB1は、後述する記憶画像データGD3(比較画像データ)と、記憶画像データGD3の画像データ識別情報DCと、を対応付けて記憶するテーブルである。記憶画像データテーブルTB1の各レコードの生成方法については、後述する。本実施形態では、記憶画像データGD3は、装置記憶部としてのプリンター記憶部50に記憶されるが、他の記憶媒体に記憶される構成であってもよい。この場合、他の記憶媒体が装置記憶部に該当する。
次いで、プリンター制御部27は、制御データに含まれる選択画像データ識別情報DC2を取得する(ステップSB10)。
次いで、プリンター制御部27は、ステップSB10で取得した選択画像データ識別情報DC2をキーとして、プリンター記憶部50が記憶する記憶画像データテーブルTB1で、当該識別情報と対応付けられた記憶画像データGD3を取得する(ステップSB11)。
後に明らかとなるとおり、ステップSB11で取得した記憶画像データGD3は、ホストコンピューター1が、ステップSA13のハッシュ値比較処理で、選択した比較画像データハッシュ値情報J1に含まれる比較画像データGD2と同一の画像データである。
次いで、プリンター制御部27は、ステップSB11で取得した記憶画像データGD3を、画像バッファーに展開する(ステップSB12)。
次いで、プリンター制御部27は、制御データに含まれる圧縮された画像データのそれぞれを解凍する(ステップSB13)。
次いで、プリンター制御部27は、画像バッファーに展開された記憶画像データGD3に対して、解凍後の画像データのそれぞれを、各画像データに対応する位置情報が示す位置に重畳する(ステップSB14)。
以下、ステップSB14の処理を詳述する。
When the selected image data identification information DC2 is included in the control data (step SB3: YES), the printer control unit 27 refers to the stored image data table TB1 stored in the printer storage unit 50 (step SB9). The stored image data table TB1 is a table that stores stored image data GD3 (comparison image data), which will be described later, and image data identification information DC of the stored image data GD3 in association with each other. A method for generating each record of the stored image data table TB1 will be described later. In the present embodiment, the stored image data GD3 is stored in the printer storage unit 50 as an apparatus storage unit, but may be stored in another storage medium. In this case, another storage medium corresponds to the device storage unit.
Next, the printer control unit 27 acquires selected image data identification information DC2 included in the control data (step SB10).
Next, using the selected image data identification information DC2 acquired in step SB10 as a key, the printer control unit 27 stores the stored image data GD3 associated with the identification information in the stored image data table TB1 stored in the printer storage unit 50. Obtain (step SB11).
As will be apparent later, the stored image data GD3 acquired in step SB11 is the same as the comparison image data GD2 included in the comparison image data hash value information J1 selected by the host computer 1 in the hash value comparison processing in step SA13. Image data.
Next, the printer control unit 27 expands the stored image data GD3 acquired in step SB11 in the image buffer (step SB12).
Next, the printer control unit 27 decompresses each of the compressed image data included in the control data (step SB13).
Next, the printer control unit 27 superimposes the decompressed image data on the stored image data GD3 expanded in the image buffer at the position indicated by the position information corresponding to each image data (step SB14).
Hereinafter, the process of step SB14 will be described in detail.

図10は、ステップSB14の処理の説明に用いる図である。
以下、図9を援用し、制御データに、圧縮したブロックR5の画像データと位置Y5を示す位置情報との組合せ、圧縮したブロックR12の画像データと位置Y12を示す位置情報との組合せ、圧縮したブロック群BG2の画像データと位置Y16を示す位置情報との組合せ、圧縮したブロック群BG11の画像データと位置Y1を示す位置情報との組合せ、及び、圧縮したブロック群BG12の画像データと位置Y8を示す位置情報との組合せが含まれているものとして説明する。ステップSB13において、プリンター制御部27は、制御データに含まれる圧縮された画像データのそれぞれを解凍する。
図10(A)は、ステップSB12の処理により画像バッファーに展開された記憶画像データGD3を説明に適した態様で模式的に示す図である。
図ステップSB14で、プリンター制御部27は、画像バッファーに展開された記憶画像データGD3に対して、解凍後の画像データのそれぞれを、各画像データに対応する位置情報が示す位置に重畳する。具体的には、図10(B)に示すように、プリンター制御部27は、ブロックR5の画像データを、画像バッファーに展開された記憶画像データGD3における位置Y5に対応する位置に、重畳して展開する。また、プリンター制御部27は、ブロックR12の画像データを、画像バッファーに展開された記憶画像データGD3における位置Y12に対応する位置に、重畳して展開する。また、プリンター制御部27は、ブロック群BG2の画像データを、画像バッファーに展開された記憶画像データGD3における位置Y16に対応する位置に、重畳して展開する。また、プリンター制御部27は、ブロック群BG11の画像データを、画像バッファーに展開された記憶画像データGD3における位置Y1に対応する位置に、重畳して展開する。また、プリンター制御部27は、ブロック群BG12の画像データを、画像バッファーに展開された記憶画像データGD3における位置Y8に対応する位置に、重畳して展開する。
FIG. 10 is a diagram used for explaining the processing in step SB14.
Hereinafter, with reference to FIG. 9, the control data is combined with the compressed image data of the block R5 and the positional information indicating the position Y5, the combined image data of the compressed block R12 and the positional information indicating the position Y12, and compressed. A combination of image data of the block group BG2 and position information indicating the position Y16, a combination of image data of the compressed block group BG11 and position information indicating the position Y1, and a combination of image data of the compressed block group BG12 and the position Y8. Description will be made assuming that a combination with the position information shown is included. In step SB13, the printer control unit 27 decompresses each compressed image data included in the control data.
FIG. 10A is a diagram schematically showing the stored image data GD3 developed in the image buffer by the process of step SB12 in a mode suitable for explanation.
In FIG. SB14, the printer control unit 27 superimposes the decompressed image data on the stored image data GD3 expanded in the image buffer at the position indicated by the position information corresponding to each image data. Specifically, as shown in FIG. 10B, the printer control unit 27 superimposes the image data of the block R5 on the position corresponding to the position Y5 in the stored image data GD3 developed in the image buffer. expand. Further, the printer control unit 27 superimposes and develops the image data of the block R12 at a position corresponding to the position Y12 in the stored image data GD3 developed in the image buffer. Further, the printer control unit 27 superimposes and develops the image data of the block group BG2 at a position corresponding to the position Y16 in the stored image data GD3 developed in the image buffer. Further, the printer control unit 27 superimposes and develops the image data of the block group BG11 at a position corresponding to the position Y1 in the stored image data GD3 developed in the image buffer. Further, the printer control unit 27 superimposes and develops the image data of the block group BG12 at a position corresponding to the position Y8 in the stored image data GD3 developed in the image buffer.

解凍後の各画像データを重畳した後の記憶画像データGD3(以下、「重畳後画像データGD4」という。)は、ステップSA2で読み出した制御データの生成元となった処理対象画像データGD1と同一の画像データである。理由は以下である。上述したように、ホストコンピューター1は、記憶した比較画像データGD2のうち、処理対象画像データGD1と最も近似する比較画像データGD2を選択し、ハッシュ値が異なるブロック、又は、ハッシュ値が一致してブロック画像データが異なるブロックを特定し、特定したブロックの画像データを送信する。インクジェットプリンター5は、記憶する複数の記憶画像データGD3(比較画像データ)から、識別情報をキーとして、ホストコンピューター1が選択した比較画像データGD2と同一の記憶画像データGD3(比較画像データ)を選択する。インクジェットプリンター5は、選択した記憶画像データGD3に対して、受信したブロックの画像データを対応する位置に重畳して重畳後画像データGD4を生成する。このため、重畳後画像データGD4は、比較画像データGD2に対して、比較画像データGD2と処理対象画像データGD1との相違部分が重畳された画像データとなり、処理対象画像データGD1と同一の画像データとなる。   The stored image data GD3 (hereinafter referred to as “post-superimposition image data GD4”) after superimposing the decompressed image data is the same as the processing target image data GD1 that is the generation source of the control data read in step SA2. Image data. The reason is as follows. As described above, the host computer 1 selects the comparison image data GD2 that is closest to the processing target image data GD1 from the stored comparison image data GD2, and the blocks having different hash values or the hash values match. A block having different block image data is specified, and the image data of the specified block is transmitted. The inkjet printer 5 selects the same stored image data GD3 (comparison image data) as the comparison image data GD2 selected by the host computer 1 from a plurality of stored image data GD3 (comparison image data) using the identification information as a key. To do. The ink jet printer 5 generates post-superimposition image data GD4 by superimposing the received block image data on the corresponding stored image data GD3 at a corresponding position. For this reason, the post-superimposition image data GD4 is image data in which the difference between the comparison image data GD2 and the processing target image data GD1 is superimposed on the comparison image data GD2, and the same image data as the processing target image data GD1. It becomes.

次いで、プリンター制御部27は、画像バッファーに展開された重畳後画像データGD4に基づいて、対応するラベル部Sに画像を印刷する(ステップSB15)。ステップSB15でラベル部Sに印刷される画像は、アプリケーション実行部45aが出力した対応する印刷画像データが示す画像である。
次いで、プリンター制御部27は、制御データに含まれる印刷画像データ識別情報DC1を取得する(ステップSB16)。
次いで、プリンター制御部27は、プリンター記憶部50が記憶する記憶画像データテーブルTB1に1件のレコードを生成し、当該レコードにおいて、ステップSB16で取得した印刷画像データ識別情報DC1と、重畳後画像データGD4とを対応付けて記憶する(ステップSB17)。ステップSB17で記憶された重畳後画像データGD4は、「記憶画像データGD3」に該当する。
ここで、ホストコンピューター1がステップSA21で記憶した比較画像データハッシュ値情報J1に含まれる画像データ識別情報DC及び処理対象画像データGD1の組合せと、記憶画像データテーブルTB1で対応付けられる印刷画像データ識別情報DC1及び重畳後画像データGD4の組合せとは、一致する。
次いで、プリンター制御部27は、全ての制御データに基づく印刷が完了したか否かを判別する(ステップSB18)。完了した場合(ステップSB18:YES)、プリンター制御部27は、処理を終了する。完了していない場合(ステップSB18:NO)、プリンター制御部27は、処理手順をステップSB2に戻す。
Next, the printer control unit 27 prints an image on the corresponding label portion S based on the superimposed image data GD4 developed in the image buffer (step SB15). The image printed on the label unit S in step SB15 is an image indicated by the corresponding print image data output by the application execution unit 45a.
Next, the printer control unit 27 acquires print image data identification information DC1 included in the control data (step SB16).
Next, the printer control unit 27 generates one record in the storage image data table TB1 stored in the printer storage unit 50, and the print image data identification information DC1 acquired in step SB16 and the post-superimposition image data in the record. GD4 is stored in association with it (step SB17). The post-superimposition image data GD4 stored in step SB17 corresponds to “stored image data GD3”.
Here, the print image data identification associated with the combination of the image data identification information DC and the processing target image data GD1 included in the comparison image data hash value information J1 stored in step SA21 by the host computer 1 and the storage image data table TB1. The combination of the information DC1 and the post-superimposition image data GD4 matches.
Next, the printer control unit 27 determines whether printing based on all control data has been completed (step SB18). If completed (step SB18: YES), the printer control unit 27 ends the process. If not completed (step SB18: NO), the printer control unit 27 returns the processing procedure to step SB2.

以上説明したように、本実施形態に係る印刷システム8は、インクジェットプリンター5(印刷装置)と、ホストコンピューター1(制御装置)と、を備える。
ホストコンピューター1は、比較用の画像データである比較画像データGD2を区分するブロックについて、ブロックから所定のハッシュ関数(所定の計算式)で算出されるハッシュ値(算出値)を記憶する記憶部と、インクジェットプリンター5に印刷させる画像の画像データである印刷画像データを区分するブロックについて、所定のハッシュ関数でハッシュ値を算出し、比較画像データGD2と印刷画像データとの対応するブロックのハッシュ値を比較し、印刷画像データのブロックのうち、ハッシュ値の異なるブロックの画像データを含む制御データをインクジェットプリンター5に送信するホスト制御部45と、を備える。
インクジェットプリンター5は、ラインインクジェットヘッド12(印刷部)と、ホストコンピューター1が記憶する比較画像データGD2に対応する画像データである記憶画像データGD3(比較画像データ)を記憶するプリンター記憶部50と、制御データを受信した場合、プリンター記憶部50が記憶する記憶画像データGD3、及び、制御データに含まれるブロックの画像データに基づいて、ラインインクジェットヘッド12により画像を印刷するプリンター制御部27(装置制御部)と、を備える。
この構成によれば、ホストコンピューター1は、インクジェットプリンター5に画像を印刷させる際に、印刷させる画像の印刷画像データのブロックのうち、記憶した比較画像データGD2のブロックと算出値が相違するブロックの画像データを、印刷装置に送信すればよく、ホストコンピューター1からインクジェットプリンター5に送信するデータのデータ量の低減を実現できる。
As described above, the printing system 8 according to this embodiment includes the inkjet printer 5 (printing apparatus) and the host computer 1 (control apparatus).
The host computer 1 stores a hash value (calculated value) calculated from a block by a predetermined hash function (predetermined calculation formula) for a block that divides the comparison image data GD2, which is image data for comparison, A hash value is calculated with a predetermined hash function for a block that classifies print image data that is image data of an image to be printed by the inkjet printer 5, and a hash value of a block corresponding to the comparison image data GD2 and the print image data is calculated. And a host control unit 45 that transmits control data including image data of blocks having different hash values among the blocks of print image data to the inkjet printer 5.
The inkjet printer 5 includes a line inkjet head 12 (printing unit), a printer storage unit 50 that stores storage image data GD3 (comparison image data) that is image data corresponding to comparison image data GD2 stored by the host computer 1, and When the control data is received, the printer control unit 27 (device control) that prints an image by the line inkjet head 12 based on the stored image data GD3 stored in the printer storage unit 50 and the image data of the block included in the control data. Part).
According to this configuration, when the host computer 1 causes the inkjet printer 5 to print an image, among the print image data blocks of the image to be printed, a block whose calculated value is different from the block of the stored comparison image data GD2. The image data may be transmitted to the printing apparatus, and the data amount of data transmitted from the host computer 1 to the inkjet printer 5 can be reduced.

また、本実施形態では、ホストコンピューター1のホスト制御部45は、ハッシュ値の異なるブロックの画像データと、当該ブロックの比較画像データGD2における位置を示す位置情報とを含む制御データをインクジェットプリンター5に送信する。インクジェットプリンター5のプリンター制御部27は、制御データを受信した場合、プリンター記憶部50が記憶する記憶画像データGD3(比較画像データ)に対して、制御データに含まれる位置情報が示す位置に、制御データに含まれる対応するブロックの画像データを重畳し、重畳後画像データGD4(重畳後の比較画像データ)に基づいて、ラインインクジェットヘッド12により画像を印刷する。
この構成によれば、印刷装置は、記憶した記憶画像データGD3と、ホストコンピューター1から受信したブロックの画像データに基づいて、所望の画像を印刷できる。
In the present embodiment, the host control unit 45 of the host computer 1 sends control data including image data of blocks having different hash values and position information indicating positions of the blocks in the comparison image data GD2 to the inkjet printer 5. Send. When receiving the control data, the printer control unit 27 of the ink jet printer 5 controls the storage image data GD3 (comparison image data) stored in the printer storage unit 50 at a position indicated by the position information included in the control data. The image data of the corresponding block included in the data is superimposed, and an image is printed by the line inkjet head 12 based on the post-superimposition image data GD4 (comparative image data after superposition).
According to this configuration, the printing apparatus can print a desired image based on the stored storage image data GD3 and the block image data received from the host computer 1.

また、本実施形態では、ホストコンピューター1の記憶部(ホスト記憶部48等)は、1又は複数の比較画像データGD2について、比較画像データGD2のブロックの算出値と、比較画像データGD2を識別する画像データ識別情報DC(識別情報)とを対応付けて記憶する。インクジェットプリンター5のプリンター記憶部50は、1又は複数の記憶画像データGD3(比較画像データ)と、記憶画像データGD3の識別情報と対応付けて記憶する。ホストコンピューター1のホスト制御部45は、印刷画像データと、記憶部が記憶する1又は複数の比較画像データGD2との対応するブロックの算出値を比較し、算出値の異なるブロックの数が少ない比較画像データGD2を選択し、選択した比較画像データGD2の画像データ識別情報DC、及び、印刷画像データのブロックのうち、選択した比較画像データGD2の対応するブロックと算出値が異なるブロックの画像データを含む制御データをインクジェットプリンター5に送信する。インクジェットプリンター5のプリンター制御部27は、制御データに含まれる画像データ識別情報DCと対応付けてプリンター記憶部50が記憶する記憶画像データGD3、及び、制御データに含まれるブロックの画像データに基づいて、ラインインクジェットヘッド12により画像を印刷する。
この構成によれば、ホストコンピューター1は、印刷画像データと、1又は複数の比較画像データGD2との対応するブロックのハッシュ値を比較し、ハッシュ値の異なるブロックの数が少ない比較画像データGD2を決定する。このような方法で比較画像データGD2を決定するため、ホストコンピューター1は、印刷画像データと近似する比較画像データGD2を、ブロックの算出値の比較という簡易な手段で、決定できる。また、上記方法で比較画像データGD2を決定するため、印刷画像データを構成する各ドットと、比較画像データGD2を構成する各ドットとを比較して、比較画像データGD2を決定する場合と比較して、処理負荷が小さく、また、決定までに要する時間が短い。また、上記構成によれば、ホストコンピューター1は、インクジェットプリンター5に、決定した画像データを、画像データ識別情報DCにより通知できる。インクジェットプリンター5は、当該識別情報に基づいて、記憶する記憶画像データGD3(比較画像データ)から、ホストコンピューター1が決定した比較画像データGD2を特定でき、特定した記憶画像データGD3、及び、受信したブロックの画像データに基づいて、画像の印刷を実行できる。
In this embodiment, the storage unit (host storage unit 48 or the like) of the host computer 1 identifies the calculated value of the block of the comparison image data GD2 and the comparison image data GD2 for one or a plurality of comparison image data GD2. Image data identification information DC (identification information) is stored in association with each other. The printer storage unit 50 of the inkjet printer 5 stores one or a plurality of stored image data GD3 (comparison image data) and the identification information of the stored image data GD3 in association with each other. The host control unit 45 of the host computer 1 compares the calculated values of the corresponding blocks between the print image data and one or a plurality of comparison image data GD2 stored in the storage unit, and the comparison has a small number of blocks having different calculated values. The image data GD2 is selected, and the image data identification information DC of the selected comparison image data GD2 and the image data of a block having a calculated value different from the corresponding block of the selected comparison image data GD2 among the blocks of the print image data are selected. The included control data is transmitted to the inkjet printer 5. The printer control unit 27 of the inkjet printer 5 is based on the stored image data GD3 stored in the printer storage unit 50 in association with the image data identification information DC included in the control data, and the block image data included in the control data. Then, an image is printed by the line inkjet head 12.
According to this configuration, the host computer 1 compares the hash values of the corresponding blocks of the print image data and the one or more comparison image data GD2, and compares the comparison image data GD2 with a small number of blocks having different hash values. decide. Since the comparison image data GD2 is determined by such a method, the host computer 1 can determine the comparison image data GD2 approximate to the print image data by a simple means of comparing the calculated values of the blocks. In addition, since the comparison image data GD2 is determined by the above method, each dot constituting the print image data is compared with each dot constituting the comparison image data GD2, and compared with the case where the comparison image data GD2 is determined. Thus, the processing load is small and the time required for determination is short. Moreover, according to the said structure, the host computer 1 can notify the determined image data to the inkjet printer 5 by image data identification information DC. The inkjet printer 5 can specify the comparison image data GD2 determined by the host computer 1 from the stored image data GD3 (comparison image data) to be stored based on the identification information, and the specified storage image data GD3 and the received image data GD3 are received. An image can be printed based on the image data of the block.

また、本実施形態では、ホストコンピューター1のホスト制御部45は、複数の制御データを連続してインクジェットプリンター5に送信する。インクジェットプリンター5のプリンター制御部27は、インクジェットプリンター5から受信した複数の制御データに基づいて、制御データに対応する画像の印刷を連続して実行する。ホストコンピューター1のホスト制御部45は、1の制御データを生成する場合、当該1の前記制御データによって印刷させる画像の印刷画像データを生成し、生成した印刷画像データのブロックのハッシュ値を算出し、生成した印刷画像データと1又は複数の比較画像データGD2との対応するブロックのハッシュ値を比較し、ハッシュ値の異なるブロックの数が少ない比較画像データGD2を選択し、生成した印刷画像データの画像データ識別情報DC(印刷画像データ識別情報DC1)を生成し、選択した比較画像データGD2の画像データ識別情報DC(選択画像データ識別情報DC2)、生成した印刷画像データ識別情報DC1、及び、印刷画像データのブロックのうち、決定した比較画像データGD2の対応するブロックと算出値が異なるブロックの画像データを含む制御データをインクジェットプリンター5に送信し、また、算出した印刷画像データのブロックのハッシュ値を、比較画像データGD2のブロックのハッシュ値として、生成した印刷画像データ識別情報DC1と対応付けて記憶する。インクジェットプリンター5のプリンター制御部27は、制御データを受信した場合、制御データに基づいて印刷画像データの画像を印刷し、また、印刷する画像の画像データ(重畳後画像データGD4)を、比較画像データとして、制御データに含まれる印刷画像データ識別情報DC1と対応付けて記憶する。
この構成によれば、ホストコンピューター1は、インクジェットプリンター5に連続して印刷させる画像の画像データのブロックのハッシュ値を、比較画像データGD2のブロックのハッシュ値として、画像データ識別情報DCと対応付けて累積的に記憶する。また、インクジェットプリンター5は、印刷する画像の画像データを、比較画像データとして、画像データ識別情報DCと対応付けて累積的に記憶する。このため、ホストコンピューター1が複数の制御データを連続してインクジェットプリンター5に送信し、また、インクジェットプリンター5がホストコンピューター1から受信した複数の制御データに基づいて、制御データに対応する画像の印刷を連続して実行する、という構成を踏まえ、ホストコンピューター1は、比較画像データGD2を累積的に記憶でき、また、インクジェットプリンター5は、ホストコンピューター1に対応して、記憶画像データGD3(比較画像データ)を記憶できる。
In the present embodiment, the host control unit 45 of the host computer 1 continuously transmits a plurality of control data to the inkjet printer 5. The printer control unit 27 of the inkjet printer 5 continuously executes printing of images corresponding to the control data based on a plurality of control data received from the inkjet printer 5. When generating one control data, the host control unit 45 of the host computer 1 generates print image data of an image to be printed by the one control data, and calculates a hash value of a block of the generated print image data. The hash values of the corresponding blocks of the generated print image data and one or a plurality of comparison image data GD2 are compared, the comparison image data GD2 having a small number of blocks having different hash values is selected, and the generated print image data Image data identification information DC (print image data identification information DC1) is generated, image data identification information DC (selected image data identification information DC2) of the selected comparison image data GD2, generated print image data identification information DC1, and printing Among the blocks of image data, the corresponding block of the determined comparison image data GD2 is calculated. Print data identification information generated by transmitting control data including image data of different blocks to the inkjet printer 5 and using the calculated hash value of the block of print image data as the hash value of the block of comparison image data GD2. Store in association with DC1. When receiving the control data, the printer control unit 27 of the inkjet printer 5 prints the image of the print image data based on the control data, and the image data of the image to be printed (post-superimposition image data GD4) is compared with the comparison image. The data is stored in association with the print image data identification information DC1 included in the control data.
According to this configuration, the host computer 1 associates the hash value of the image data block of the image to be continuously printed by the inkjet printer 5 with the image data identification information DC as the hash value of the block of the comparison image data GD2. And memorize it cumulatively. Further, the inkjet printer 5 cumulatively stores the image data of the image to be printed as comparison image data in association with the image data identification information DC. For this reason, the host computer 1 continuously transmits a plurality of control data to the inkjet printer 5, and the image corresponding to the control data is printed based on the plurality of control data received by the inkjet printer 5 from the host computer 1. The host computer 1 can cumulatively store the comparison image data GD2, and the inkjet printer 5 corresponds to the host computer 1 and stores the stored image data GD3 (comparison image data). Data).

また、本実施形態では、ホストコンピューター1のホスト制御部45は、比較画像データGD2と印刷画像データとの対応するブロックのハッシュ値を比較し、印刷画像データのブロックのうち、ハッシュ値が同一のブロックについて、当該ハッシュ値が同一のブロックの画像データと比較画像データGD2の対応するブロックの画像データとを比較し、異なる場合は、当該ハッシュ値が同一のブロックの画像データを制御データに含めることを特徴とする。
ここで、ハッシュ値は、ブロックから所定のハッシュ関数で算出される値であるため、比較画像データGD2のブロックの算出値と、印刷画像データのブロックの算出値とが同一である場合であっても、各ブロックの画像データの内容が互いに異なる可能性がある。そして、本発明の構成によれば、ホストコンピューター1は、比較画像データGD2のブロックの算出値と、印刷画像データのブロックの算出値とが同一である場合であっても、各ブロックの画像データの内容が互いに異なる場合は、印刷画像データのブロックの画像データを制御データに含めることができる。
In the present embodiment, the host control unit 45 of the host computer 1 compares the hash values of the corresponding blocks of the comparison image data GD2 and the print image data, and the hash values of the blocks of the print image data are the same. For the block, the image data of the block having the same hash value is compared with the image data of the corresponding block of the comparison image data GD2, and if they are different, the image data of the block having the same hash value is included in the control data. It is characterized by.
Here, since the hash value is a value calculated from the block by a predetermined hash function, the calculated value of the block of the comparison image data GD2 and the calculated value of the block of the print image data are the same. However, the contents of the image data of each block may be different from each other. According to the configuration of the present invention, the host computer 1 allows the image data of each block even when the calculated value of the block of the comparison image data GD2 and the calculated value of the block of the print image data are the same. If the contents of the image data are different from each other, the image data of the block of the print image data can be included in the control data.

また、本実施形態では、ホストコンピューター1のホスト制御部45は、ブロックの画像データを圧縮して制御データに含め、インクジェットプリンター5に送信することを特徴とする。
この構成によれば、ホストコンピューター1からインクジェットプリンター5に送信されるデータのデータ量をより低減できる。
In the present embodiment, the host control unit 45 of the host computer 1 compresses the block image data, includes the control data in the control data, and transmits the control data to the inkjet printer 5.
According to this configuration, the amount of data transmitted from the host computer 1 to the inkjet printer 5 can be further reduced.

また、本実施形態では、ホストコンピューター1のホスト制御部45は、複数のブロックの画像データを送信する場合、隣接するブロックの画像データを結合し、結合後の画像データを圧縮可能か否か判別し、可能な場合は、隣接するブロックの画像データを結合し、結合後の画像データを圧縮して制御データに含め、インクジェットプリンター5に送信する。
この構成によれば、ホストコンピューター1からインクジェットプリンター5に送信されるデータのデータ量をより効率よく低減できる。
In this embodiment, when transmitting image data of a plurality of blocks, the host control unit 45 of the host computer 1 combines image data of adjacent blocks and determines whether or not the combined image data can be compressed. If possible, the image data of adjacent blocks are combined, the combined image data is compressed and included in the control data, and transmitted to the inkjet printer 5.
According to this configuration, the amount of data transmitted from the host computer 1 to the inkjet printer 5 can be more efficiently reduced.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
上述した実施形態では、ホストコンピューター1、及び、インクジェットプリンター5は、複数のラベル部Sに連続して印刷する画像の画像データに基づく印刷画像データを累積的に記憶する構成であった。一方、事前に、各装置が、所定の画像データを比較画像データとして記憶する構成であってもよい。
また、上述した実施形態では、インクジェットプリンター5が比較画像データとして、重畳後画像データGD4を記憶する構成であった。一方で、インクジェットプリンター5が制御データに含まれるブロックの画像データを、比較画像データとして記憶する構成であってもよい。
また、上述した実施形態では、アプリケーション実行部45aが印刷画像データを生成する構成であったが、プリンタードライバー実行部45bが印刷画像データを生成する構成であってもよい。
また、上述した実施形態で説明した処理を特定の動作モードの場合に実行する構成であってもよい。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
In the above-described embodiment, the host computer 1 and the inkjet printer 5 are configured to cumulatively store print image data based on image data of images to be continuously printed on the plurality of label portions S. On the other hand, each apparatus may be configured to store predetermined image data as comparison image data in advance.
In the above-described embodiment, the inkjet printer 5 stores the post-superimposition image data GD4 as the comparison image data. On the other hand, the inkjet printer 5 may be configured to store block image data included in the control data as comparison image data.
In the above-described embodiment, the application execution unit 45a is configured to generate print image data. However, the printer driver execution unit 45b may be configured to generate print image data.
Moreover, the structure which performs the process demonstrated by embodiment mentioned above in the case of a specific operation mode may be sufficient.

1…ホストコンピューター(制御装置)、5…インクジェットプリンター(印刷装置)、8…印刷システム、12…ラインインクジェットヘッド(印刷部)、27…プリンター制御部(装置制御部)、45…ホスト制御部(制御部)、48…ホスト記憶部(記憶部)、50…プリンター記憶部(装置記憶部)。   DESCRIPTION OF SYMBOLS 1 ... Host computer (control apparatus), 5 ... Inkjet printer (printing apparatus), 8 ... Printing system, 12 ... Line inkjet head (printing part), 27 ... Printer control part (apparatus control part), 45 ... Host control part ( Control unit), 48... Host storage unit (storage unit), 50... Printer storage unit (device storage unit).

Claims (10)

比較画像データを区分するブロックである複数の比較ブロックについて、所定の計算式で算出値を算出する制御部と
前記比較画像データとしての第1比較画像データを識別する第1識別情報と、前記第1比較画像データを区分する複数の前記比較ブロックの前記算出値と、を対応付けて記憶し、前記比較画像データとしての第2比較画像データを識別する第2識別情報と、前記第2比較画像データを区分する複数の前記比較ブロックの前記算出値と、を対応付けて記憶する記憶部と、を備え、
前記制御部は、
処理対象画像データを区分するブロックである複数の処理対象ブロックについて、前記所定の計算式で前記算出値を算出し、
前記処理対象ブロックの前記算出値と、当該処理対象ブロックに対応する前記第1比較画像データの前記比較ブロックの前記算出値及び前記第2比較画像データの前記比較ブロックの前記算出値と、を比較し、
前記第1識別情報及び前記第2識別情報のうち、前記算出値が異なる前記比較ブロックの数が少ない前記比較画像データを識別する識別情報を取得し、
複数の前記処理対象ブロックのうち、取得された前記識別情報が識別する前記比較画像データの対応する前記比較ブロック前記算出値異なる前記算出値が算出された前記処理対象ブロックの画像データ、及び取得された前記識別情報を出力する、制御装置。
For a plurality of comparison blocks that are blocks that divide the comparison image data, a control unit that calculates a calculated value with a predetermined calculation formula;
First identification information for identifying first comparison image data as the comparison image data and the calculated values of a plurality of the comparison blocks for classifying the first comparison image data are stored in association with each other, and the comparison image A storage unit that associates and stores second identification information for identifying second comparison image data as data and the calculated values of the plurality of comparison blocks that classify the second comparison image data;
The controller is
For a plurality of processing target blocks that are blocks that divide the processing target image data, the calculated value is calculated by the predetermined calculation formula,
Comparing the calculated value of the target block, and the calculated value of the comparison block of the calculated value and the second comparison image data of the comparison block of the first comparative image data corresponding to the target block, the And
Of the first identification information and the second identification information, obtaining identification information for identifying the comparison image data with a small number of the comparison blocks having different calculated values,
Among the plurality of the processing target block, the image data of the processing target block in which the calculated value is different from the calculated value of the comparison block is calculated that the identification information acquired said comparison image data corresponding identifying, and you output the acquired identification information, the control device.
前記制御部は、
前記処理対象ブロックの画像データを圧縮して出力する、請求項1に記載の制御装置。
The controller is
The control apparatus according to claim 1, wherein the image data of the processing target block is compressed and output.
前記制御部は、複数の前記処理対象ブロックのうち第1の処理対象ブロックと第2の処理対象ブロックの前記算出値が、対応する前記比較ブロックの前記算出値と異なり、かつ、前記第1の処理対象ブロックと前記第2の処理対象ブロックとが隣接する場合に、前第1の処理対象ブロックの前記画像データと前記第2の処理対象ブロックの前記画像データを結合し、結合後の前記画像データを圧縮して出力する、請求項1または2に記載の制御装置。 The control unit is configured such that the calculated values of the first processing target block and the second processing target block among the plurality of processing target blocks are different from the calculated values of the corresponding comparison block, and the first processing target block when the process target block and the second processing target block are adjacent, combining the image data of the image data and the second processing target block before Symbol first processing target block, wherein after the coupling and it outputs the compressed image data, the control device according to claim 1 or 2. 印刷装置と、前記印刷装置と通信可能な制御装置とを備える印刷システムであって、
前記制御装置は、
比較画像データを区分するブロックである複数の比較ブロックについて、所定の計算式で算出値を算出し、処理対象画像データを区分するブロックである複数の処理対象ブロックについて、前記所定の計算式で前記算出値を算出し、前記比較ブロックの前記算出値と、当該比較ブロックに対応する前記処理対象ブロックの前記算出値と、を比較し、複数の前記処理対象ブロックのうち、対応する前記比較ブロック前記算出値異なる前記算出値が算出された前記処理対象ブロックの画像データを含む制御データを前記印刷装置に送信する制御部と、を備え、
前記印刷装置は、
印刷を行う印刷部と、
前記比較画像データを記憶する装置記憶部と、
前記制御データを受信した場合、前記装置記憶部が記憶する前記比較画像データ、及び、前記制御データに含まれる前記処理対象ブロックの画像データに基づいて、前記印刷部を制御して画像を印刷させる装置制御部と、を備える、印刷システム。
A printing system comprising a printing device and a control device capable of communicating with the printing device,
The controller is
For a plurality of comparison blocks that are blocks that divide the comparison image data, a calculated value is calculated by a predetermined calculation formula, and for a plurality of processing target blocks that are blocks that divide the processing target image data, the predetermined calculation formula is used. calculating a calculated value, and the calculated value of the comparison block compares the the calculated value of the processing target block corresponding to the comparison block, and among the plurality of the processing target block, of the corresponding comparator block and a control unit that transmits the control data including the image data of the target block to the calculated value different from the calculated value is calculated in the printing device,
The printing apparatus includes:
A printing section for printing;
A device storage unit for storing the comparison image data;
When the control data is received, the printing unit is controlled to print an image based on the comparison image data stored in the device storage unit and the image data of the processing target block included in the control data. A printing system comprising: an apparatus control unit;
前記制御装置の前記制御部は、
対応する前記比較ブロックの前記算出値に対して前記算出値が異なる前記処理対象ブロックの画像データと、当該処理対象ブロックの前記比較画像データにおける位置を示す位置情報と、を含む前記制御データを前記印刷装置に送信し、
前記印刷装置の前記装置制御部は、
前記制御データを受信した場合、前記装置記憶部が記憶する前記比較画像データに対して、前記制御データに含まれる前記位置情報が示す位置に基づき、前記制御データに含まれる前記処理対象ブロックの画像データを重畳し、重畳後の前記比較画像データに基づいて、前記印刷部を制御して画像を印刷させる、請求項に記載の印刷システム。
The control unit of the control device includes:
The control data including image data of the processing target block having the calculated value different from the calculated value of the corresponding comparison block, and position information indicating a position of the processing target block in the comparison image data, Sent to the printing device,
The apparatus control unit of the printing apparatus includes:
When the control data is received, the image of the processing target block included in the control data based on the position indicated by the position information included in the control data with respect to the comparison image data stored in the device storage unit The printing system according to claim 4 , wherein data is superimposed and an image is printed by controlling the printing unit based on the comparison image data after superimposition.
前記制御装置は、
前記比較画像データとしての第1比較画像データを区分する複数の前記比較ブロックの前記算出値と、前記第1比較画像データを識別する第1識別情報と、を対応付けて記憶し、前記比較画像データとしての第2比較画像データを区分する複数の前記比較ブロックの前記算出値と、前記第2比較画像データを識別する第2識別情報と、を対応付けて記憶する記憶部を備え、
前記印刷装置の前記装置記憶部は、
前記第1比較画像データと、前記第1識別情報と、を対応付けて記憶し、
前記第2比較画像データと、前記第2識別情報と、を対応付けて記憶し、
前記制御装置の前記制御部は、
前記処理対象ブロックの前記算出値と、当該処理対象ブロックに対応する前記第1比較画像データの前記比較ブロックの前記算出値及び前記第2比較画像データの前記比較ブロックの前記算出値と、を比較し、
前記第1識別情報及び前記第2識別情報のうち、対応する前記処理対象ブロックの前記算出値と異なる前記算出値の前記比較ブロックの数が少ない前記比較画像データを識別する識別情報取得し、
前記制御データは、複数の前記処理対象ブロックのうち、前記制御部に取得された前記識別情報が識別する前記比較画像データの対応する前記比較ブロック前記算出値異なる前記算出値が算出された前記処理対象ブロックの前記画像データ、及び、前記制御部に選択された前記識別情報を含み、
前記印刷装置の前記装置制御部は、
前記制御データに含まれる前記識別情報と対応付けて前記装置記憶部が記憶する前記比較画像データ、及び、前記制御データに含まれる前記処理対象ブロックの画像データに基づいて、前記印刷部を制御して画像を印刷させる、請求項又はに記載の印刷システム。
The controller is
The calculated values of a plurality of the comparison blocks that classify the first comparison image data as the comparison image data and the first identification information for identifying the first comparison image data are stored in association with each other, and the comparison image A storage unit that associates and stores the calculated values of the plurality of comparison blocks that classify the second comparison image data as data and second identification information that identifies the second comparison image data ;
The device storage unit of the printing device is
Storing the first comparison image data and the first identification information in association with each other;
Storing the second comparison image data and the second identification information in association with each other;
The control unit of the control device includes:
Comparing the calculated value of the target block, and the calculated value of the comparison block of the calculated value and the second comparison image data of the comparison block of the first comparative image data corresponding to the target block, the And
Among the first identification information and the second identification information , obtaining identification information for identifying the comparison image data with a small number of the comparison blocks having the calculated value different from the calculated value of the corresponding processing target block,
The control data, among the plurality of the processing target block, the calculated value which is different from the calculated value of the comparison block in which the identification information acquired in the control unit the comparative image data corresponding identifying is calculated the image data of the target block, and includes Ki識 specific information before selected to the control unit,
The apparatus control unit of the printing apparatus includes:
The printing unit is controlled based on the comparison image data stored in the device storage unit in association with the identification information included in the control data and the image data of the processing target block included in the control data. Te to print the image, the printing system according to claim 4 or 5.
前記制御装置の前記制御部は、
前記処理対象画像データと、前記処理対象画像データの識別情報である処理対象画像データ識別情報を生成し、
算出した複数の前記処理対象ブロックの前記算出値を、前記比較画像データを区分する複数の前記比較ブロックの前記算出値として、生成した前記処理対象画像データ識別情報と対応付けて前記記憶部に記憶させ、
前記印刷装置の前記装置制御部は、
前記制御データに基づく制御により印刷させる画像の画像データを、前記比較画像データとして、前記制御データに含まれる前記処理対象画像データ識別情報に対応付けて記憶する、請求項に記載の印刷システム。
The control unit of the control device includes:
Generating processing target image data and processing target image data identification information that is identification information of the processing target image data;
Storing the calculated value of the calculated plurality of the processing target block, as the calculated value of the plurality of the comparison block for dividing the comparison image data, in association with the generated the processing target image data identification information in the storage unit Let
The apparatus control unit of the printing apparatus includes:
The printing system according to claim 6 , wherein image data of an image to be printed by control based on the control data is stored as the comparison image data in association with the processing target image data identification information included in the control data.
前記制御装置の前記制御部は、The control unit of the control device includes:
前記処理対象画像データと、前記処理対象画像データの識別情報である処理対象画像データ識別情報を生成し、Generating processing target image data and processing target image data identification information that is identification information of the processing target image data;
算出した複数の前記処理対象ブロックの前記算出値を、前記比較画像データを区分する複数の前記比較ブロックの前記算出値として、生成した前記処理対象画像データ識別情報と対応付けて前記記憶部に記憶させ、The calculated values of the plurality of processing target blocks calculated are stored in the storage unit in association with the generated processing target image data identification information as the calculated values of the plurality of comparison blocks that divide the comparison image data. Let
前記印刷装置の前記装置制御部は、前記制御データに含まれる前記処理対象ブロックの前記画像データを、前記制御データに含まれる前記処理対象画像データ識別情報に対応付けて記憶する、請求項6に記載の印刷システム。The apparatus control unit of the printing apparatus stores the image data of the processing target block included in the control data in association with the processing target image data identification information included in the control data. The printing system described.
前記制御装置の前記制御部は、
前記比較ブロックの前記算出値と、当該比較ブロックに対応する前記処理対象ブロックの前記算出値と、を比較し、複数の前記処理対象ブロックのうち、対応する前記比較ブロックと前記算出値が同一のブロックについて、当該比較ブロックの画像データと当該処理対象ブロックの画像データとが異なる場合は、対応する前記比較ブロックと前記算出値が同一の当該処理対象ブロックの画像データを前記制御データに含める、請求項乃至のいずれか1項に記載の印刷システム。
The control unit of the control device includes:
And the calculated value of the comparison block compares the the calculated value of the processing target block corresponding to the comparison block, and among the plurality of the processing target block, the calculated value and said corresponding comparison block identical for blocks, when the image data of the image data and the target block of the comparison block is different, the calculated value and said corresponding comparison blocks include an image data of the same of the current block to said control data, wherein Item 9. The printing system according to any one of Items 4 to 8 .
制御装置の制御方法であって、
比較画像データを区分するブロックである複数の比較ブロックについて、所定の計算式で算出値を算出し、
処理対象画像データを区分するブロックである複数の処理対象ブロックについて、前記所定の計算式で前記算出値を算出し、
前記処理対象ブロックの前記算出値と、当該処理対象ブロックに対応する第1の前記比較画像データの前記比較ブロックの前記算出値及び第2の前記比較画像データの前記比較ブロックの前記算出値と、を比較し、
複数の前記比較画像データのうち、対応する前記処理対象ブロックの前記算出値と前記算出値が異なる前記比較ブロックの数が少ない前記比較画像データを識別する識別情報を取得し、
複数の前記処理対象ブロックのうち、取得された前記識別情報が識別する前記比較画像データの対応する前記比較ブロック前記算出値異なる前記算出値が算出された前記処理対象ブロックの画像データ、及び取得された前記識別情報を出力する
ことを特徴とする制御装置の制御方法。
A control method for a control device, comprising:
For a plurality of comparison blocks, which are blocks that divide the comparison image data, calculate a calculated value with a predetermined calculation formula,
The plurality of process target block is a block for dividing the processed image data, to calculate the said calculated value by a predetermined calculation formula,
And the calculated value of the target block, and the calculated value of the comparison block of the first of the calculated value and the second of said comparison image data of the comparison block of the comparison image data corresponding to the target block, Compare
Obtaining identification information for identifying the comparison image data having a small number of comparison blocks having a different calculated value from the calculated value of the corresponding processing target block among a plurality of the comparison image data;
Among the plurality of the processing target block, the image data of the processing target block in which the calculated value is different from the calculated value of the comparison block is calculated that the identification information acquired said comparison image data corresponding identifying, and The acquired identification information is output. A control method for a control device, comprising:
JP2014068254A 2013-09-06 2014-03-28 Control device, printing system, and control method of control device Active JP6318771B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014068254A JP6318771B2 (en) 2014-03-28 2014-03-28 Control device, printing system, and control method of control device
US14/474,874 US9811292B2 (en) 2013-09-06 2014-09-02 Using image difference data to reduce data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014068254A JP6318771B2 (en) 2014-03-28 2014-03-28 Control device, printing system, and control method of control device

Publications (3)

Publication Number Publication Date
JP2015191456A JP2015191456A (en) 2015-11-02
JP2015191456A5 JP2015191456A5 (en) 2017-04-06
JP6318771B2 true JP6318771B2 (en) 2018-05-09

Family

ID=54425889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014068254A Active JP6318771B2 (en) 2013-09-06 2014-03-28 Control device, printing system, and control method of control device

Country Status (1)

Country Link
JP (1) JP6318771B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1131153A (en) * 1997-07-11 1999-02-02 Hitachi Ltd Image similarity calculation method
JP2000172844A (en) * 1998-12-03 2000-06-23 Toshiba Corp Printing inspection method and device therefor
JP2000187668A (en) * 1998-12-22 2000-07-04 Hitachi Ltd Grouping method and overlap excluding method
JP2007025073A (en) * 2005-07-13 2007-02-01 Sony Corp Data transmission method, data transmission apparatus, data receiving apparatus, and program
JP4375449B2 (en) * 2007-06-28 2009-12-02 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, image processing program, and image processing method
JP5159562B2 (en) * 2008-10-30 2013-03-06 株式会社東芝 Communication device, image transmission method, image transmission program, display device, communication method, and communication program
JP2013123118A (en) * 2011-12-09 2013-06-20 Canon Inc Image processing device, image processing method, and program

Also Published As

Publication number Publication date
JP2015191456A (en) 2015-11-02

Similar Documents

Publication Publication Date Title
JP6171562B2 (en) Printing apparatus, printing system, printing apparatus control method, and program
JP5063147B2 (en) Image recording apparatus and recording failure detection method using the apparatus
CN107323096A (en) The control method of printer and printer
JP5088200B2 (en) Printing apparatus and printing apparatus control method
JP2006218624A (en) Inkjet recorder
JP6318771B2 (en) Control device, printing system, and control method of control device
JP6303619B2 (en) Control device and control system
JP6241327B2 (en) Printing apparatus, printing system, and printing apparatus control method
US20230166535A1 (en) Non-transitory computer-readable medium and control method
JP2016038707A (en) Control apparatus and printing system
JP2013156774A (en) Print data creating device and printer driver program
JP6515956B2 (en) Print data generation method and printing system
JP2016055595A (en) Printer and control method of the same
US10336092B2 (en) Image formation device
JP2008162096A (en) Image forming apparatus and its control method
US20130135634A1 (en) Printing Apparatus to Control Images to be Laid Out Side by Side
JP2015168201A (en) Printing equipment, image processing apparatus, printing system, and control method for printing equipment
JP6368991B2 (en) Printing apparatus, printing control apparatus, and printing apparatus control method
US11192359B2 (en) Liquid discharge apparatus, control method for liquid discharge apparatus, and medium storing program executable by liquid discharge apparatus
JP6121341B2 (en) Inkjet printing device
US11787174B2 (en) Non-transitory computer-readable medium storing computer-readable instructions, print device, and print data creation method
JP2017124559A (en) Printer and printing mode selection method
JP2017164932A (en) Printer and control method for the same
JP2008176560A (en) Recording system and recording method
JP2023178069A (en) Printing device and determining method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160617

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160628

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170303

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170303

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180319

R150 Certificate of patent or registration of utility model

Ref document number: 6318771

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150