JP2015106202A - Print control apparatus, printer, and print control program - Google Patents

Print control apparatus, printer, and print control program Download PDF

Info

Publication number
JP2015106202A
JP2015106202A JP2013246729A JP2013246729A JP2015106202A JP 2015106202 A JP2015106202 A JP 2015106202A JP 2013246729 A JP2013246729 A JP 2013246729A JP 2013246729 A JP2013246729 A JP 2013246729A JP 2015106202 A JP2015106202 A JP 2015106202A
Authority
JP
Japan
Prior art keywords
image
character
color
address
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013246729A
Other languages
Japanese (ja)
Inventor
増田 英俊
Hidetoshi Masuda
英俊 増田
義安 青木
Yoshisada Aoki
義安 青木
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 JP2013246729A priority Critical patent/JP2015106202A/en
Publication of JP2015106202A publication Critical patent/JP2015106202A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a print control apparatus configured to print an image on an address side of a postal matter so as to clearly determine character information on the address side, a printer and a print control program.SOLUTION: A print control apparatus includes: an image selection unit which selects an image to be arranged in an address side area corresponding to an address side of a postcard; an image arrangement unit which arranges an image in the address side area; an overlapping character determination unit which determines character information overlapping the image, as an overlapping character, in the address side area; a character processing section which highlights the overlapping character; and a print data generation section which generates print data on the basis of the address side area.

Description

本発明は、手紙やハガキなどの郵便物の宛名面に画像を印刷するための印刷制御装置、印刷装置、及び印刷制御プログラムに関する。   The present invention relates to a printing control apparatus, a printing apparatus, and a printing control program for printing an image on a mailing address of a mail such as a letter or a postcard.

従来から、顧客情報に基づく文字情報(住所などの宛先情報)と同文字情報に対応する絵柄情報(画像)とを封筒に印刷する封筒作成システムが知られている(例えば、特許文献1)。   2. Description of the Related Art Conventionally, an envelope creation system that prints character information (address information such as an address) based on customer information and pattern information (image) corresponding to the character information on an envelope is known (for example, Patent Document 1).

特開平5−319439号公報JP-A-5-319439

ところで、上記の封筒作成システムでは、印刷する画像の大きさや印刷する画像の配置によっては、文字情報に画像が重複して印刷されたり、文字情報に画像が隣接して印刷されたりすることで、文字情報を判別し難くなるおそれがある。   By the way, in the above envelope creation system, depending on the size of the image to be printed and the arrangement of the image to be printed, the image may be printed redundantly on the character information, or the image may be printed adjacent to the character information. It may be difficult to determine character information.

本発明は上記実情に鑑みてなされたものである。その目的は、郵便物の宛名面に画像を印刷する場合であっても、宛名面に記載された文字情報を判別し易くすることができる印刷制御装置、印刷装置、及び印刷制御プログラムを提供することにある。   The present invention has been made in view of the above circumstances. The purpose of the present invention is to provide a printing control device, a printing device, and a printing control program capable of easily discriminating character information written on the address surface even when an image is printed on the mail address surface. There is.

以下、上記課題を解決するための手段及びその作用効果について記載する。
上記課題を解決する印刷制御装置は、郵便物の宛名面に文字情報と画像とを印刷するための印刷制御装置であって、前記宛名面に対応する宛名面領域に配置する前記画像を選択する画像選択部と、前記宛名面領域に前記画像を配置する画像配置部と、前記宛名面領域において、前記文字情報のうち前記画像と重複する重複文字を判定する重複文字判定部と、前記重複文字を強調する文字処理部と、前記宛名面領域に配置された前記画像と前記文字情報とを含む宛名面データに基づいて印刷用データを生成する生成部と、を備える。
Hereinafter, means for solving the above-described problems and the effects thereof will be described.
A print control apparatus that solves the above-described problem is a print control apparatus for printing character information and an image on a mail address surface, and selects the image to be arranged in a mail address surface area corresponding to the mail address surface. An image selection unit; an image arrangement unit that arranges the image in the address plane region; a duplicate character determination unit that determines a duplicate character that overlaps the image in the character information in the address plane region; and the duplicate character And a generation unit that generates print data based on address surface data including the image and the character information arranged in the address surface area.

上記構成によれば、印刷制御装置は、選択した画像を宛名面領域に配置し、文字情報を構成する文字のうち、宛名面領域に配置した画像と重複する重複文字を判定する。そして、印刷制御装置は、重複文字を強調した上で、強調された重複文字を有する文字情報と画像とを含む宛名面データに基づいて印刷用データを生成する。したがって、宛名面に画像を印刷する場合であっても、文字情報のうち画像と重複する重複文字があるときには同重複文字が強調されるため、宛名面に記載された文字情報を判別し易くすることができる。   According to the above configuration, the print control apparatus arranges the selected image in the address plane area, and determines, among the characters constituting the character information, duplicate characters that overlap the image arranged in the address plane area. The print control apparatus emphasizes the duplicate characters and generates print data based on the address data including the character information and the image having the emphasized duplicate characters. Therefore, even when an image is printed on the address surface, if there are duplicate characters that overlap with the image in the character information, the duplicate characters are emphasized, so that the character information written on the address surface can be easily identified. be able to.

上記印刷制御装置において、前記文字処理部は、前記重複文字を含む単位文字列を構成する文字を強調することが望ましい。
文字情報に含まれる1つの文字列中において、強調された文字と強調されていない文字が併存する場合には、文字情報の読み手に対して、強調された文字と強調されていない文字が切り替わるところで、文字列が区切れている印象を与えることがある。上記構成によれば、画像と重複する重複文字だけでなく、重複文字を含む単位文字列で文字が強調されるため、文字情報の読み手に対して、上述したような印象を与え難くすることができる。
In the print control apparatus, it is preferable that the character processing unit emphasizes characters constituting the unit character string including the duplicate characters.
When an emphasized character and an unenhanced character coexist in one character string included in the character information, the emphasized character and the unenhanced character are switched with respect to the reader of the character information. , May give the impression that the string is separated. According to the above configuration, since the characters are emphasized not only with the overlapping characters overlapping with the image but also with the unit character string including the overlapping characters, it is difficult to give the above-mentioned impression to the reader of the character information. it can.

上記印刷制御装置において、前記文字処理部は、前記重複文字の色を第1の色としたとき、同第1の色とは異なる第2の色で前記重複文字を縁取りすることで同重複文字を強調することが望ましい。   In the print control apparatus, when the character processing unit sets the color of the duplicate character as the first color, the duplicate character is trimmed with a second color different from the first color. It is desirable to emphasize.

上記構成によれば、重複文字が同重複文字の第1の色と異なる色で第2の色で縁取りすることで強調される。このため、画像の色が第1の色(重複文字の色)と同系色の色である場合、第2の色の縁取り部分と画像との境界が明確化されやすい。一方、画像の色が第2の色(縁取りの色)と同系色の色である場合、第1の色の重複文字と画像(縁取り部分)との境界が明確化されやすい。したがって、画像に対し重複文字が明確化され、重複文字を判別し易くすることができる。   According to the above configuration, the overlapping characters are emphasized by bordering with the second color with a color different from the first color of the overlapping characters. For this reason, when the color of the image is the same color as the first color (the color of the overlapping characters), the boundary between the border portion of the second color and the image is easily clarified. On the other hand, when the color of the image is a color similar to the second color (the color of the border), the boundary between the overlapping character of the first color and the image (the border portion) is easily clarified. Therefore, the overlapping characters are clarified with respect to the image, and the overlapping characters can be easily distinguished.

上記印刷制御装置において、前記文字処理部は、前記重複文字の太さを第1の太さとしたとき、前記重複文字と同じ文字であって、且つ前記第1の太さよりも太い第2の太さの文字に、前記重複文字を重ねることで同重複文字を縁取りすることが望ましい。   In the print control apparatus, when the thickness of the duplicate character is the first thickness, the character processing unit is a second character that is the same character as the duplicate character and is thicker than the first thickness. It is desirable to frame the duplicated character by overlapping the duplicated character on the character.

上記構成によれば、重複文字を縁取った文字を容易に作成することができる。
上記印刷制御装置において、前記文字処理部は、前記第2の色を前記重複文字と重複する前記画像の色の補色の同系色とすることが望ましい。
According to the above configuration, it is possible to easily create a character with an overlapped character.
In the print control apparatus, it is preferable that the character processing unit sets the second color to a similar color that is a complementary color of the color of the image that overlaps the overlapping character.

上記構成によれば、重複文字の縁取りの色となる第2の色が重複文字と重複する画像の色の補色の同系色とされる。このため、重複文字の縁取り部分と画像との境界が明確となり、重複文字を判別し易くすることができる。例えば、重複文字の色と、重複文字と重複する画像の色とが同系色である場合でも、重複文字を判別し難くなることを抑制することができる。   According to the above configuration, the second color that is the border color of the overlapping character is a similar color that is a complementary color of the color of the image that overlaps the overlapping character. For this reason, the border between the border portion of the overlapping character and the image becomes clear, and the overlapping character can be easily discriminated. For example, even when the color of the overlapping character and the color of the image overlapping the overlapping character are similar colors, it is possible to suppress the difficulty of distinguishing the overlapping character.

上記印刷制御装置において、前記文字処理部は、前記重複文字の色を同重複文字と重複する前記画像の色の補色の同系色とすることが望ましい。
上記構成によれば、重複文字の色が重複文字と重複する画像の色の補色の同系色とされる。このため、重複文字と画像との境界が明確となり、重複文字を判別し易くすることができる。
In the print control apparatus, it is preferable that the character processing unit has a color similar to a complementary color of the color of the image overlapping the color of the overlapping character.
According to the above configuration, the color of the overlapping character is a similar color of the complementary color of the image color overlapping the overlapping character. For this reason, the boundary between the duplicate character and the image becomes clear, and the duplicate character can be easily discriminated.

上記印刷制御装置は、前記画像の印刷濃度が薄くなるように同画像の画像処理を行う画像処理部をさらに備えることが望ましい。
上記構成によれば、宛名面に配置される画像は印刷濃度が薄くなるように画像処理されるため、例えば、明度を調整する前の重複文字と重複する画像の色と同重複文字の色とが同系色であったとしても、重複文字を判別し易くすることができる。
The print control apparatus preferably further includes an image processing unit that performs image processing of the image so that the print density of the image becomes light.
According to the above configuration, since the image arranged on the address surface is subjected to image processing so that the print density is reduced, for example, the color of the duplicated character and the color of the duplicated character before the lightness adjustment are performed. Even if they are similar colors, it is possible to make it easy to distinguish duplicate characters.

上記印刷制御装置において、前記画像処理は、トーンカーブ補正処理であって、前記トーンカーブ補正処理で用いられるトーンカーブは、補正前の画像の明度の全域で、補正後の画像の明度が零より大きい一定の閾値以上に設定され、補正前の画像の明度の最低値寄りの一部の範囲において補正後の画像の明度が前記閾値に設定され、且つ前記最低値寄りの一部よりも明度が高い範囲においては、補正前の画像の明度が大きいほど、補正後の画像の明度が大きくなるよう設定されていることが望ましい。   In the print control apparatus, the image processing is tone curve correction processing, and the tone curve used in the tone curve correction processing has a lightness of the image after correction of zero over the entire brightness of the image before correction. The brightness of the image after correction is set to the threshold value in a part of the range near the minimum value of the brightness of the image before correction, and is set to the threshold value, and the brightness is higher than that of the part near the minimum value. In a high range, it is desirable that the brightness of the image after correction is set to increase as the brightness of the image before correction increases.

上記構成によれば、画像に対してトーンカーブに基づいてトーンカーブ補正処理が施されると、補正前の画像における明度の最低値寄りの部分が、補正後に、零より大きい一定の閾値に補正される。よって、補正前の画像における明度の最低値寄りの部分(暗い部分)を含む画像の全体が、一定の閾値以上の印刷濃度となる淡い画像に補正することができる。また、前記最低値寄りの部分よりも明度が大きい部分においては、補正前の画像の明度が大きいほど、補正後の画像の明度が大きくなるよう設定されている。このため、トーンカーブ補正処理によって、淡いながらも補正前の画像の明度が反映された画像が得られる。例えば、補正前の画像の暗部(明度の最低値寄りの部分)以外で、補正前の画像の明度が反映されることで、補正後の画像に淡いながらも元の絵柄が反映され易い。   According to the above configuration, when tone curve correction processing is performed on an image based on the tone curve, a portion near the lowest value of the brightness in the image before correction is corrected to a constant threshold value greater than zero after correction. Is done. Therefore, the entire image including the portion near the lowest value of brightness (dark portion) in the image before correction can be corrected to a light image having a print density equal to or higher than a certain threshold value. Further, in a portion where the lightness is higher than the portion near the lowest value, the lightness of the image after correction is set to increase as the lightness of the image before correction increases. For this reason, the tone curve correction process can obtain an image that is light but reflects the brightness of the image before correction. For example, the lightness of the image before correction is reflected in areas other than the dark part of the image before correction (the portion near the minimum value of lightness), so that the original design is easily reflected in the image after correction.

上記印刷制御装置において、前記画像処理は、トーンカーブ補正処理であって、前記トーンカーブ補正処理で用いられるトーンカーブは、補正前の画像の明度の全域において、補正後に零より大きい閾値以上の値をとり、且つ補正前の画像の明度が大きいほど、補正後の画像の明度が大きくなるよう設定されていることが望ましい。   In the print control apparatus, the image processing is tone curve correction processing, and the tone curve used in the tone curve correction processing has a value greater than or equal to a threshold value greater than zero after correction in the entire brightness of the image before correction. It is desirable that the brightness of the image after correction is set to increase as the brightness of the image before correction increases.

上記構成によれば、補正後の画像はその全域で明度が閾値以上あり、補正前の画像に対して、補正前の画像の明度が大きくなるほど、補正後の画像の明度が大きくなるようにトーンカーブ補正処理が施されるので、画像の全域で印刷濃度を薄くすることができるうえ、補正前の画像の明度が反映された補正後の画像を得ることができる。例えば、補正前の画像の明度が反映されることで、補正後の画像に淡いながらも元の絵柄が反映され易い。   According to the above configuration, the brightness of the image after the correction is greater than or equal to the threshold value, and the tone of the corrected image increases as the brightness of the image before correction increases with respect to the image before correction. Since the curve correction process is performed, the print density can be reduced over the entire area of the image, and an image after correction reflecting the brightness of the image before correction can be obtained. For example, since the brightness of the image before correction is reflected, the original pattern is easily reflected in the corrected image although it is faint.

上記課題を解決する印刷装置は、上述した印刷制御装置と、前記印刷用データに基づいて前記宛名面に印刷を行う印刷部と、を備える。
上記構成によれば、上述した印刷制御装置が奏する作用効果と同等の作用効果を得ることができる。
A printing apparatus that solves the above problem includes the above-described print control apparatus and a printing unit that performs printing on the address surface based on the printing data.
According to the above configuration, it is possible to obtain an operational effect equivalent to the operational effect exhibited by the above-described print control apparatus.

上記課題を解決する印刷制御プログラムは、郵便物の宛名面に文字情報と画像とを印刷するためにコンピューターに実行させる印刷制御プログラムであって、前記宛名面に対応する宛名面領域に配置する前記画像を選択する画像選択ステップと、前記宛名面領域に前記画像を配置する画像配置ステップと、前記宛名面領域において、前記文字情報のうち前記画像と重複する重複文字を判定する重複文字判定ステップと、前記重複文字を強調する文字処理ステップと、前記宛名面領域に配置された前記画像と前記文字情報とを含む宛名面データに基づいて印刷用データを生成する生成ステップと、をコンピューターに実行させる。   A printing control program that solves the above-described problem is a printing control program that is executed by a computer to print character information and an image on a mailing address, and is arranged in an addressing area corresponding to the addressing surface. An image selection step for selecting an image, an image placement step for placing the image in the address plane area, and a duplicate character determination step for determining duplicate characters that overlap the image in the character information in the address plane area; , Causing the computer to execute a character processing step for emphasizing the duplicate characters, and a generating step for generating print data based on address surface data including the image and the character information arranged in the address surface area. .

上記構成によれば、上述した印刷制御装置が奏する作用効果と同等の作用効果を得ることができる。   According to the above configuration, it is possible to obtain an operational effect equivalent to the operational effect exhibited by the above-described print control apparatus.

一実施形態に係る印刷装置の斜視図。1 is a perspective view of a printing apparatus according to an embodiment. 同印刷装置の電気的構成を示すブロック図。FIG. 2 is a block diagram illustrating an electrical configuration of the printing apparatus. 同印刷装置の機能構成を示すブロック図。FIG. 2 is a block diagram illustrating a functional configuration of the printing apparatus. 住所及び氏名を判別できないハガキの宛名面領域を示す図。The figure which shows the address face area | region of the postcard which cannot discriminate | determine an address and a full name. 宛名面の印刷を行うために実行される処理ルーチンを説明するフローチャート。The flowchart explaining the processing routine performed in order to perform printing of an address surface. 文字領域と画像配置可能領域とを含む宛名面領域を示す図。The figure which shows the address surface area | region containing a character area and an image arrangement | positioning possible area | region. 画像と重複する文字を強調するために実行される処理ルーチンを説明するフローチャート。The flowchart explaining the processing routine performed in order to emphasize the character which overlaps with an image. 縁取り文字を生成する手順を説明する図。The figure explaining the procedure which produces | generates a border character. 画像の明度を高く補正するためのマップ。A map for correcting the brightness of images. 画像の明度を高く補正するための処理ルーチンを説明するフローチャート。The flowchart explaining the processing routine for correct | amending the brightness of an image highly. 画像配置可能領域に画像が配置された宛名面領域を示す図。The figure which shows the address surface area | region where the image was arrange | positioned in the image arrangement | positioning possible area | region. 変形例の強調文字の一例を示す図。The figure which shows an example of the emphasis character of a modification. 他の変形例の印刷装置の機能構成を示すブロック図。The block diagram which shows the function structure of the printing apparatus of another modification.

以下、印刷装置をインクジェット式プリンターに具体化した一実施形態について、図面を参照して説明する。
図1に示すように、印刷装置11は、略長方体形状の装置本体12と、郵便物の一例としてのハガキPを給送(給紙)する給送部13と、装置本体12からハガキPを排出(排紙)する排出部14と、を備えている。給送部13は、給送するハガキPを支持する給送トレイ15を有し、排出部14は、排出したハガキPを支持する排出トレイ16を有している。
Hereinafter, an embodiment in which a printing apparatus is embodied in an ink jet printer will be described with reference to the drawings.
As shown in FIG. 1, the printing apparatus 11 includes a substantially rectangular apparatus body 12, a feeding unit 13 that feeds (feeds) a postcard P as an example of a postal item, and a postcard from the apparatus body 12. And a discharge unit 14 that discharges (discharges) P. The feeding unit 13 has a feeding tray 15 that supports a postcard P to be fed, and the discharging unit 14 has a discharging tray 16 that supports the discharged postcard P.

また、印刷装置11は、液晶ディスプレイなどからなる表示部17と、印刷装置11を持ち運ぶ際に持ち手となる取手部18と、文字入力などが可能な操作部30とを備えている。表示部17は、印刷装置11の各種情報を表示可能とし、印刷装置11の設定画面やハガキPの宛名面及び通信面の編集画面などを表示する。また、操作部30は、装置本体12と赤外線通信などの近距離無線通信が可能な無線式のキーボードである。このため、印刷装置11のユーザーは、操作部30を介して印刷装置11を操作することとなる。なお、操作部30には、文字などを入力するために操作されるキー操作部31と、設定画面中の各種設定項目を選択するために操作される例えば十字キーからなる選択操作部32と、選択した項目などを確定したり実行したりするために操作される確定操作部33とを有している。   In addition, the printing apparatus 11 includes a display unit 17 including a liquid crystal display, a handle unit 18 that becomes a handle when the printing device 11 is carried, and an operation unit 30 that can input characters. The display unit 17 can display various types of information of the printing apparatus 11 and displays a setting screen of the printing apparatus 11, a postcard P address screen, a communication screen editing screen, and the like. The operation unit 30 is a wireless keyboard capable of short-range wireless communication such as infrared communication with the apparatus main body 12. For this reason, the user of the printing apparatus 11 operates the printing apparatus 11 via the operation unit 30. The operation unit 30 includes a key operation unit 31 operated to input characters and the like, a selection operation unit 32 including, for example, a cross key operated to select various setting items on the setting screen, And a confirming operation unit 33 operated to confirm and execute the selected item.

装置本体12の側面には、印刷装置11の電源をオンにしたりオフにしたりする場合に操作される電源ボタン21が設けられている。また、装置本体12の前面には、操作部30と通信するためのインターフェースの一部を構成する無線通信ポート22が設けられている。   On the side surface of the apparatus main body 12, a power button 21 is provided that is operated when the printing apparatus 11 is turned on or off. In addition, a wireless communication port 22 constituting a part of an interface for communicating with the operation unit 30 is provided on the front surface of the apparatus main body 12.

図2に示すように、印刷装置11は、装置本体12内において、給送部13から排出部14にハガキPを搬送する搬送ローラー23と、同搬送ローラー23を駆動する搬送モーター24と、ハガキPにインクを噴射して文字や画像を印刷する印刷ヘッド25と、印刷装置11の制御を司るコントローラー40と、を備えている。こうして、印刷装置11は、コントローラー40の制御に基づいて、給送トレイ15から給送したハガキPに印刷を行うとともに、印刷済みのハガキPを排出トレイ16に排出することで一連の印刷動作を行う。なお、本実施形態の印刷装置11は、ハガキPの宛名面及び通信面の作成から、ハガキPの印刷までを単体で実施可能なプリンターである。   As illustrated in FIG. 2, the printing apparatus 11 includes a transport roller 23 that transports the postcard P from the feeding unit 13 to the discharge unit 14, a transport motor 24 that drives the transport roller 23, and a postcard in the apparatus main body 12. A print head 25 that prints characters and images by ejecting ink onto P and a controller 40 that controls the printing apparatus 11 are provided. In this way, the printing apparatus 11 performs a series of printing operations by printing on the postcard P fed from the feeding tray 15 and discharging the printed postcard P to the discharge tray 16 based on the control of the controller 40. Do. Note that the printing apparatus 11 according to the present embodiment is a printer capable of performing a single operation from the creation of the address and communication surfaces of the postcard P to the printing of the postcard P.

次に、図2を参照して印刷装置11の電気的構成について説明する。
図2に示すように、コントローラー40は、印刷ヘッド25を駆動するヘッドユニット41と、搬送モーター24を駆動するモータードライバー42と、表示部17を駆動する表示ドライバー43と、コンピューター50とを備えている。また、印刷装置11は、操作部30と通信を行うための通信インターフェース44(以下I/F44ともいう。)と、メモリーカードMCを接続するためのカードインターフェース45(以下I/F45ともいう。)とを備えている。そして、コンピューター50は、CPU51、ASIC52(Application Specific Integrated Circuit)、不揮発性メモリー53、及びRAM54を含んで構成されている。
Next, the electrical configuration of the printing apparatus 11 will be described with reference to FIG.
As shown in FIG. 2, the controller 40 includes a head unit 41 that drives the print head 25, a motor driver 42 that drives the transport motor 24, a display driver 43 that drives the display unit 17, and a computer 50. Yes. The printing apparatus 11 also has a communication interface 44 (hereinafter also referred to as I / F 44) for communicating with the operation unit 30 and a card interface 45 (hereinafter also referred to as I / F 45) for connecting the memory card MC. And. The computer 50 includes a CPU 51, an ASIC 52 (Application Specific Integrated Circuit), a nonvolatile memory 53, and a RAM 54.

RAM54には、ハガキPに印刷する宛名面と通信面との印刷内容を作成・編集する際に生成されるデータが一時的に記憶される。このとき、まずRAM54には、画像、文字情報等の各レイヤーを配置するための仮想のキャンバスとして、ハガキPの宛名面に対応する宛名面領域100(図4参照)と、ハガキPの通信面に対応する通信面領域とが確保される。なお、レイヤーは階層の情報を有するデータを指す。   The RAM 54 temporarily stores data generated when the printing contents of the address side and the communication side to be printed on the postcard P are created / edited. At this time, first, in the RAM 54, as a virtual canvas for arranging each layer of images, character information, etc., the address surface area 100 (see FIG. 4) corresponding to the address surface of the postcard P and the communication surface of the postcard P And a communication area corresponding to. A layer refers to data having hierarchical information.

ここで、宛名面領域100は、ユーザーが操作部30により選択したハガキ(例えば年賀ハガキ)に対応する白紙の宛名面の画像が不揮発性メモリー53から読み出されてRAM54のこの領域に書き込まれることにより生成される。この宛名面領域100は、表示ドライバー43がRAM54のデータに基づく宛名面の画像を表示部17に表示することにより、宛名面編集画面上で視覚化される(図4参照)。ユーザーは操作部30の操作によって、宛名面領域100の上で、文字情報の文字を書き込むテキストボックスの作成及び画像の配置、その文字情報や画像の配置位置の変更及び編集が可能となる。ユーザーが宛名面領域100上に配置した文字情報や画像は、位置情報(座標情報)と共にRAM54に記憶される。これらの位置情報は、例えば宛名面領域100上の任意の基準座標(例えば左上コーナーを原点とする座標(0,0))に対する相対座標で表され、例えばテキストボックスや画像の矩形領域の対角に位置する二つのコーナーの座標により示される。同様に、通信面領域は、RAM54に確保される仮想のキャンバスで、白紙の通信面の画像がこの領域に書き込まれることにより生成される。この通信面領域は、表示ドライバー43がRAM54のデータに基づく通信面の画像を表示部17に表示することにより、通信面編集画面上で視覚化される。ユーザーは操作部30の操作によって、表示された通信面領域の上で、文字情報の文字を書き込むテキストボックスの作成や画像の配置、その文字情報や画像の配置位置の変更及び編集等が可能となる。   Here, in the address plane area 100, a blank address plane image corresponding to a postcard (for example, New Year's postcard) selected by the user via the operation unit 30 is read from the nonvolatile memory 53 and written in this area of the RAM 54. Is generated by The address surface area 100 is visualized on the address surface editing screen by the display driver 43 displaying an image of the address surface based on the data in the RAM 54 on the display unit 17 (see FIG. 4). By operating the operation unit 30, the user can create a text box in which characters of character information are written, arrange an image, change the character information and the arrangement position of the image, and edit on the address plane area 100. Character information and images arranged on the address plane area 100 by the user are stored in the RAM 54 together with position information (coordinate information). These pieces of position information are represented by, for example, relative coordinates with respect to arbitrary reference coordinates (for example, coordinates (0, 0) with the upper left corner as the origin) on the address plane area 100, for example, a diagonal of a rectangular area of a text box or an image. Indicated by the coordinates of the two corners located at. Similarly, the communication surface area is a virtual canvas secured in the RAM 54, and is generated by writing a blank communication surface image in this area. The communication surface area is visualized on the communication surface editing screen by the display driver 43 displaying an image of the communication surface based on the data in the RAM 54 on the display unit 17. By operating the operation unit 30, the user can create a text box for writing characters of character information, arrange images, change or edit the character information and image arrangement positions, etc. on the displayed communication area. Become.

不揮発性メモリー53には、印刷装置11の各種制御に必要なプログラム及びデータなどが記憶される。また、不揮発性メモリー53には、前述の年賀ハガキを含む複数種のハガキに関する宛名面と通信面の各白紙の画像、及び宛名面と通信面に文字や画像を配置する際の代表的な複数のレイアウトのデータ等が記憶されている。   The nonvolatile memory 53 stores programs and data necessary for various controls of the printing apparatus 11. The non-volatile memory 53 includes a plurality of representative images for addressing and communication planes and a plurality of representative characters used when arranging characters and images on the addressing and communication planes. The layout data and the like are stored.

次に、図3を参照して、コントローラー40の機能的構成について説明する。
コントローラー40は、プログラムを実行するCPU51によりソフトウェアとして構築される機能部分と、プログラムが書き込まれたASIC52内の回路により構築される機能部分とを備えている。詳しくは、コントローラー40は、ユーザーの操作部30を介した操作に従って、ハガキPの宛名面の編集及び通信面の編集と、それぞれの編集結果を印刷するための印刷データの生成などを行う印刷制御装置60と、その生成された印刷データに基づいて印刷ヘッド25及び搬送モーター24を駆動制御する印刷制御部70とを備えている。なお、本実施形態では、印刷制御部70、印刷ヘッド25、及び搬送モーター24によって印刷エンジン46が構成されている。また、印刷制御装置60は、その機能構成部分として、画像選択部61、画像配置部62、重複文字判定部63、文字処理部64、画像処理部65、表示処理部66、印刷データ生成部67、及び記憶部68を備えている。なお、記憶部68は、例えば不揮発性メモリー53及びRAM54の所定記憶領域により構成される。また、記憶部68に記憶される補正マップM等のデータは印刷装置11の電源をオフしても保持される。
Next, a functional configuration of the controller 40 will be described with reference to FIG.
The controller 40 includes a functional part constructed as software by the CPU 51 that executes the program, and a functional part constructed by a circuit in the ASIC 52 in which the program is written. Specifically, the controller 40 performs printing control for performing editing of the address side of the postcard P and editing of the communication side, generation of print data for printing each editing result, and the like according to the operation through the operation unit 30 of the user. The apparatus 60 includes a print control unit 70 that drives and controls the print head 25 and the transport motor 24 based on the generated print data. In the present embodiment, the print control unit 70, the print head 25, and the transport motor 24 constitute a print engine 46. The print control device 60 includes an image selection unit 61, an image arrangement unit 62, a duplicate character determination unit 63, a character processing unit 64, an image processing unit 65, a display processing unit 66, and a print data generation unit 67 as functional components. , And a storage unit 68. The storage unit 68 is configured by a predetermined storage area of the nonvolatile memory 53 and the RAM 54, for example. Further, data such as the correction map M stored in the storage unit 68 is retained even when the printing apparatus 11 is turned off.

画像選択部61は、ユーザーが表示部17に一覧表示された複数の画像(画像データ)の中から選択する操作を行った際に操作部30から入力される選択信号に基づいて、宛名面領域100に配置する画像Img(図4参照)を選択する。例えば、画像選択部61は、印刷装置11本体の不揮発性メモリー53に記憶される画像又は印刷装置11に接続されるメモリーカードMCに保存されている画像の中から、宛名面領域100に配置する画像Imgを選択する。   The image selection unit 61 is based on a selection signal input from the operation unit 30 when the user performs an operation of selecting from a plurality of images (image data) displayed in a list on the display unit 17. The image Img (see FIG. 4) to be arranged at 100 is selected. For example, the image selection unit 61 arranges the image in the address plane area 100 from among images stored in the nonvolatile memory 53 of the printing apparatus 11 main body or images stored in the memory card MC connected to the printing apparatus 11. Select the image Img.

画像配置部62は、画像選択部61が選択した画像Imgを宛名面領域100に配置する。また、その際に、画像配置部62は、画像Imgの大きさに応じて、宛名面領域100における配置位置及び画像サイズを調整したり、宛名面領域100における特定の領域を避けるようにその配置位置及び画像サイズを調整したりする。   The image placement unit 62 places the image Img selected by the image selection unit 61 in the address plane area 100. At that time, the image arrangement unit 62 adjusts the arrangement position and the image size in the address plane area 100 according to the size of the image Img, or arranges the arrangement so as to avoid a specific area in the address plane area 100. Adjust the position and image size.

重複文字判定部63は、宛名面領域100において、画像Imgと重複して記載されている文字情報を構成する文字を判定する。例えば、住所の一部分が画像と重複している場合、その住所の一部分を構成する文字が画像と重複する文字であると判定される。   The duplicate character determination unit 63 determines characters constituting the character information described in the address plane area 100 so as to overlap with the image Img. For example, when a part of the address overlaps with the image, it is determined that a character constituting the part of the address is a character overlapping with the image.

文字処理部64は、重複文字判定部63が画像Imgと重複していると判定した文字を強調する。画像Imgと文字が重複して印刷されている場合であって、画像Imgと文字が同系色である場合には、そうした画像Imgと重複する文字は判別し難くなる。文字処理部64は、文字が画像と重複して印刷される場合でも、そうした文字を判別し易くできるように同文字を強調する。   The character processing unit 64 emphasizes the character that the overlapping character determination unit 63 determines to overlap with the image Img. If the image Img and characters are printed in duplicate, and the image Img and characters are similar in color, it is difficult to distinguish the characters that overlap with the image Img. The character processing unit 64 emphasizes the characters so that the characters can be easily distinguished even when the characters are printed overlapping the image.

画像処理部65は、画像配置部62が配置した画像Imgの画像処理を行う。例えば、画像処理部65は、記憶部68に記憶された補正マップMを用いて、宛名面領域100に配置された画像Imgを一定以上の明度に補正して同画像Imgの印刷濃度を薄くするする画像処理を行う。   The image processing unit 65 performs image processing on the image Img arranged by the image arrangement unit 62. For example, the image processing unit 65 uses the correction map M stored in the storage unit 68 to correct the image Img arranged in the address surface area 100 to a lightness of a certain level or more, thereby reducing the print density of the image Img. Perform image processing.

表示処理部66は、表示部17に印刷装置11の設定画面を表示させたり、ユーザーによる操作部30のボタン操作に応じた各種画面を表示させたりする。このため、表示処理部66は、ハガキPの宛名面及び通信面の編集画面を表示部17に表示させたり、ハガキPの印刷プレビュー画面を表示部17に表示させたりする。   The display processing unit 66 displays the setting screen of the printing apparatus 11 on the display unit 17 or displays various screens according to the button operation of the operation unit 30 by the user. For this reason, the display processing unit 66 causes the display unit 17 to display a postcard P address screen and a communication screen editing screen, and causes the display unit 17 to display a postcard P print preview screen.

印刷データ生成部67は、ハガキPの宛名面及び通信面に配置された文字や画像Imgを印刷するための印刷データを生成する。具体的には、印刷データ生成部67は、RAM54中の宛名面領域100に配置された文字や画像を含む宛名面データに基づいて、宛名面用の印刷データを生成する。また、印刷データ生成部67は、RAM54中の通信面領域に配置された文字や画像を含む通信面データに基づいて、通信面用の印刷データを生成する。ここで、宛名面データと通信面データのそれぞれの表色系は特に限定されないが、ここでは一例としてRGB表色系のデータとする。また、印刷データは、印刷ヘッド25から噴射されるインクの色に対応したCMYK表色系の印刷画像データと、印刷制御部70が印刷制御に用いるコマンド(命令)とを含んでいる。こうした点で、印刷データ生成部67は、「生成部」の一例に相当し、印刷データは、「印刷用データ」の一例に相当する。   The print data generation unit 67 generates print data for printing characters and images Img arranged on the address side and the communication side of the postcard P. Specifically, the print data generation unit 67 generates print data for the address plane based on the address plane data including characters and images arranged in the address plane area 100 in the RAM 54. The print data generation unit 67 generates print data for the communication surface based on the communication surface data including characters and images arranged in the communication surface area in the RAM 54. Here, the color systems of the address plane data and the communication plane data are not particularly limited, but here, as an example, data of the RGB color system is used. The print data includes CMYK color system print image data corresponding to the color of ink ejected from the print head 25 and a command (command) used by the print control unit 70 for print control. In this respect, the print data generation unit 67 corresponds to an example of “generation unit”, and the print data corresponds to an example of “printing data”.

印刷エンジン46を構成する印刷制御部70は、印刷データ生成部67が生成した印刷データが入力される。印刷制御部70は、印刷データ中の印刷画像データに基づいて、印刷ヘッド25の駆動を制御するヘッド制御部71と、印刷データ中のコマンドに基づいて搬送モーター24を制御する搬送制御部72とを有している。ハガキPに印刷するとき、ヘッド制御部71が印刷画像データに基づいて印刷ヘッド25のノズルからインクを噴射する噴射制御を行うとともに、搬送制御部72がコマンドに基づいてハガキPを搬送する搬送制御を行う。こうした点で、本実施形態では、印刷エンジン46が「印刷部」の一例に相当する。   The print control unit 70 constituting the print engine 46 receives print data generated by the print data generation unit 67. The print control unit 70 includes a head control unit 71 that controls driving of the print head 25 based on print image data in the print data, and a conveyance control unit 72 that controls the conveyance motor 24 based on commands in the print data. have. When printing on the postcard P, the head control unit 71 performs ejection control for ejecting ink from the nozzles of the print head 25 based on the print image data, and the transport control unit 72 transports the postcard P based on the command. I do. In this respect, in this embodiment, the print engine 46 corresponds to an example of a “printing unit”.

ところで、図4に示すように、ハガキPの宛名面に画像Imgを印刷する場合、郵便番号111、住所112、氏名113、及び差出人の住所氏名などの差出人情報114などを含む文字情報110に、画像Imgが重複して印刷されることで、画像Imgと重複する文字情報110が判別し難くなることがある。そこで、本実施形態では、文字情報110のうち画像Imgと重複する文字(以下、重複文字OCともいう。)がある場合には、重複文字OCを強調して判別し易くするようにした。また、重複文字OCと重複する画像Imgの明度を高くして同画像Imgの印刷濃度を薄くする画像処理をすることで、同重複文字OCをさらに判別し易くするようにした。なお、本実施形態では、文字情報110を構成する文字など、宛名面に記載される文字色は黒や濃紺などの濃色である。   By the way, as shown in FIG. 4, when the image Img is printed on the address face of the postcard P, the character information 110 including the postal code 111, the address 112, the name 113, and the sender information 114 such as the sender's address name, When the image Img is printed in duplicate, it may be difficult to distinguish the character information 110 that overlaps with the image Img. Therefore, in the present embodiment, when there is a character that overlaps the image Img in the character information 110 (hereinafter also referred to as a duplicate character OC), the duplicate character OC is emphasized so that it can be easily identified. In addition, by performing image processing that increases the brightness of the image Img that overlaps the overlapping character OC and decreases the print density of the image Img, the overlapping character OC is further easily discriminated. In the present embodiment, the character color described on the address surface, such as characters constituting the character information 110, is a dark color such as black or dark blue.

次に、図5に示すフローチャートを参照して、宛名面に文字情報110及び画像Imgを印刷するためにコンピューター50が実行する処理ルーチンについて説明する。なお、本処理ルーチンは、宛名面に記載する文字情報110の内容や配置が決定された後に実行される処理ルーチンである。   Next, a processing routine executed by the computer 50 for printing the character information 110 and the image Img on the address surface will be described with reference to the flowchart shown in FIG. This processing routine is a processing routine that is executed after the contents and arrangement of the character information 110 described on the address surface are determined.

図5に示すように、ステップS11において、コンピューター50は、宛名面領域100において、文字情報110が配置される文字領域130を取得する。図6に示すように、文字領域130には、住所112に対応する領域131、氏名113に対応する領域132、差出人の差出人情報114に対応する領域133が含まれる。   As shown in FIG. 5, in step S <b> 11, the computer 50 acquires a character area 130 in which the character information 110 is arranged in the address plane area 100. As shown in FIG. 6, the character area 130 includes an area 131 corresponding to the address 112, an area 132 corresponding to the name 113, and an area 133 corresponding to the sender information 114 of the sender.

続いて、ステップS12において、コンピューター50は、ハガキPの宛名面領域100に配置する画像Imgを選択する。このステップS12では、コンピューター50は、ユーザーが操作部30を介して画像Imgを選択する際の操作部30からの操作信号に基づいて、宛名面領域100に配置する画像Imgを選択する。そして、ステップS13において、コンピューター50は、先のステップS12で選択した画像Imgを宛名面領域100に配置する。ここで、図6に示すように、画像Imgは、宛名面領域100における領域140に配置されるとする。この画像Imgの配置される領域140は、コンピューター50が一義に決定してもよいし、ユーザーが任意に決定してもよい。   Subsequently, in step S <b> 12, the computer 50 selects an image Img to be arranged in the address plane area 100 of the postcard P. In step S <b> 12, the computer 50 selects the image Img to be arranged in the address plane area 100 based on the operation signal from the operation unit 30 when the user selects the image Img via the operation unit 30. In step S13, the computer 50 places the image Img selected in the previous step S12 in the address plane area 100. Here, as shown in FIG. 6, it is assumed that the image Img is arranged in an area 140 in the address plane area 100. The area 140 where the image Img is arranged may be uniquely determined by the computer 50 or may be arbitrarily determined by the user.

続いて、ステップS14において、コンピューター50は、宛名面領域100に配置した画像Imgと重複する重複文字OCを取得し、同重複文字OCについて、強調表示フラグFlgをオンにする。ここで、「画像Imgと重複する」とは、本実施形態では、画像Imgと完全に重複する文字のみをいうものとする。したがって、図6に示す場合であれば、重複文字OCは、住所112の番地部分である「1−2−3」及び氏名113の一部である「△△様」とされる。なお、文字情報110を構成する文字のうち、何れの文字が画像Imgと重複しているかを判定する場合には、例えば、画像Imgが配置される領域140に、文字情報110を構成する各文字が含まれているか否かで判定すればよい。また、「強調表示フラグFlg」とは、文字情報110を構成する文字ごとに個別に設けられるフラグであって、各文字が以降のステップにおいて強調表示する必要があるか否かを判断するためのフラグである。因みに、本ステップS14では、重複文字OCについて強調表示フラグFlgがオンになっているため、同重複文字OCは以降のステップにおいて強調表示されることとなる。また、以降の説明では、強調表示フラグFlgがオンとされた文字を強調文字HCともいう。   Subsequently, in step S14, the computer 50 acquires a duplicate character OC that overlaps with the image Img arranged in the address plane area 100, and turns on the highlight flag Flg for the duplicate character OC. Here, “overlapping with the image Img” means only characters that completely overlap with the image Img in the present embodiment. Therefore, in the case shown in FIG. 6, the duplicate character OC is “1-2-3” which is the address portion of the address 112 and “ΔΔ like” which is a part of the name 113. When determining which of the characters constituting the character information 110 overlaps with the image Img, for example, each character constituting the character information 110 in the area 140 where the image Img is arranged. It may be determined by whether or not is included. The “highlight display flag Flg” is a flag provided individually for each character constituting the character information 110, and is used to determine whether each character needs to be highlighted in the subsequent steps. Flag. Incidentally, in this step S14, since the highlight flag Flg is turned on for the duplicate character OC, the duplicate character OC is highlighted in the subsequent steps. In the following description, the character for which the highlight flag Flg is turned on is also referred to as the emphasized character HC.

続いて、ステップS15において、コンピューター50は、重複文字OCを含む単位文字列を構成する文字について、強調表示フラグFlgをオンにする。ここで、「単位文字列」とは、纏まりのよい文字列を指し、一例として、「県名部分」、「郡名部分」、「市町村名部分」、「区名部分」、「街区部分」、「番地部分」、「苗字部分」、及び「名前部分」などが挙げられる。このため、図6に示す場合であれば、重複文字OCである「△△様」を含む単位文字列は「名前部分」に相当する「△△△様」であるため、同部分を構成する各文字についての強調表示フラグFlgがオンにされる。こうして、本実施形態では、重複文字OCだけでなく、重複文字OCを含む単位文字列を構成する文字について強調表示フラグFlgがオンにされる。なお、上記の単位文字列は一例であって、他の単位文字列を採用してもよい。   Subsequently, in step S15, the computer 50 turns on the highlight flag Flg for the characters constituting the unit character string including the duplicate character OC. Here, “unit character string” refers to a well-organized character string. For example, “prefecture name part”, “county name part”, “city name part”, “city name part”, “city part” , “Address part”, “family name part”, “name part”, and the like. Therefore, in the case shown in FIG. 6, the unit character string including the duplicate character OC “ΔΔ-like” is “ΔΔΔ-like” corresponding to the “name portion”, and therefore forms the same part. The highlight flag Flg for each character is turned on. Thus, in the present embodiment, the highlight flag Flg is turned on not only for the duplicate character OC but also for characters constituting the unit character string including the duplicate character OC. The above unit character string is an example, and other unit character strings may be adopted.

続いて、ステップS16において、コンピューター50は、ステップS14,S15で強調表示フラグFlgがオンにされた文字、すなわち強調文字HCを強調する処理を行い、ステップS17において、宛名面領域100に配置された画像Imgに対して、同画像Imgの明度を高くして印刷濃度を低くする画像処理を行う。そして、ステップS18において、コンピューター50は、文字情報110と画像処理済みの画像Imgとを含む宛名面データに基づいて印刷データを生成する。生成された印刷データは、コンピューター50から印刷エンジン46に出力される。そして、印刷エンジン46が印刷データに基づいてハガキPの宛名面に印刷を行う。ここで、ステップS17を実行した後であってステップS18を実行する前に、コンピューター50は、ユーザーに対して印刷の実行可否を問い合わせするものとする。すなわち、コンピューター50は、ユーザーの明示の印刷指示があったときに、ステップS18を実行するものとする。これにより、ユーザーは、ハガキPの宛名面における画像Imgが印刷位置や印刷濃度を確認した上で、印刷指示をすることができるようになる。   Subsequently, in step S16, the computer 50 performs processing for emphasizing the character for which the emphasis display flag Flg is turned on in steps S14 and S15, that is, the emphasis character HC, and is arranged in the address plane area 100 in step S17. Image processing for increasing the brightness of the image Img and decreasing the print density is performed on the image Img. In step S18, the computer 50 generates print data based on the address data including the character information 110 and the image processed image Img. The generated print data is output from the computer 50 to the print engine 46. Then, the print engine 46 performs printing on the address face of the postcard P based on the print data. Here, after executing step S17 and before executing step S18, the computer 50 inquires of the user whether or not printing can be executed. That is, the computer 50 executes step S18 when there is an explicit print instruction from the user. As a result, the user can issue a print instruction after confirming the print position and print density of the image Img on the address face of the postcard P.

なお、上述の処理ルーチンにおいて、コンピューター50が実行する各ステップの処理が「印刷制御プログラム」の一例に相当する。そして、同処理ルーチンにおいて、ステップS12が「画像選択ステップ」の一例に相当し、ステップS13が「画像配置ステップ」の一例に相当し、ステップS14,S15が「重複文字判定ステップ」の一例に相当し、ステップS16が「文字処理ステップ」の一例に相当し、ステップS18が「生成ステップ」の一例に相当する。   In the above processing routine, the processing of each step executed by the computer 50 corresponds to an example of a “printing control program”. In the processing routine, step S12 corresponds to an example of “image selection step”, step S13 corresponds to an example of “image placement step”, and steps S14 and S15 correspond to an example of “duplicate character determination step”. Step S16 corresponds to an example of “character processing step”, and step S18 corresponds to an example of “generation step”.

次に、図7に示すフローチャートを参照して、重複文字OC及び重複文字OCを含む単位文字列を構成する文字、すなわち強調文字HCを強調するためにコンピューター50が実行する強調表示処理ルーチンについて説明する。なお、本処理ルーチンは、強調表示フラグFlgがオンとされる文字に対してのみ実行される処理ルーチンである。   Next, with reference to the flowchart shown in FIG. 7, an emphasis display processing routine executed by the computer 50 to emphasize the characters constituting the unit character string including the duplicate character OC and the duplicate character OC, that is, the emphasized character HC will be described. To do. This processing routine is a processing routine that is executed only for characters for which the highlight flag Flg is turned on.

図7に示すように、ステップS21において、コンピューター50は、強調文字HCの太さを第1の太さFT1とする第1の文字C1を取得する。また、ステップS22において、コンピューター50は、強調文字HCと同じ文字であって第1の太さFT1よりも太い第2の太さFT2とする第2の文字C2を取得する。ここで、一例として、強調文字HCが「0(零)」という文字である場合を考えると、図8に示すように、第1の文字C1の第1の太さFT1は比較的細く、第2の文字C2の第2の太さFT2は比較的太くされる。なお、第1の太さFT1は、宛名面領域100に配置された強調文字HCの元来の太さとすればよい。続いて、ステップS23において、コンピューター50は、第1の文字C1の第1の色CL1を黒色とする。また、コンピューター50は、ステップS24において、第2の文字C2の第2の色CL2を第1の色CL1(黒色)でない色(灰色)とする。   As shown in FIG. 7, in step S21, the computer 50 obtains the first character C1 with the thickness of the emphasized character HC as the first thickness FT1. In step S22, the computer 50 acquires the second character C2 that is the same character as the emphasized character HC and has a second thickness FT2 that is thicker than the first thickness FT1. Here, as an example, considering the case where the emphasized character HC is the character “0 (zero)”, the first thickness FT1 of the first character C1 is relatively thin as shown in FIG. The second thickness FT2 of the second character C2 is made relatively thick. The first thickness FT1 may be the original thickness of the emphasized character HC arranged in the address plane area 100. Subsequently, in step S23, the computer 50 sets the first color CL1 of the first character C1 to black. In step S24, the computer 50 sets the second color CL2 of the second character C2 to a color (gray) that is not the first color CL1 (black).

そして、ステップS25において、コンピューター50は、第2の文字C2に第1の文字C1を重複配置して、文字色が黒色であって、縁取り色が黒色でない色の縁取り文字を生成する。すなわち、図8に示すように、太さの異なる第1の文字C1と第2の文字C2とによって、「0(零)」という文字の縁取り文字FCが生成される。続いて、ステップS26において、コンピューター50は、文字情報110のうち宛名面領域100に配置された強調文字HCを縁取り文字に置換する。   In step S <b> 25, the computer 50 overlaps the first character C <b> 1 with the second character C <b> 2, and generates a border character whose character color is black and whose border color is not black. That is, as shown in FIG. 8, the border character FC of the character “0 (zero)” is generated by the first character C1 and the second character C2 having different thicknesses. Subsequently, in step S26, the computer 50 replaces the emphasized character HC arranged in the address plane area 100 in the character information 110 with a border character.

次に、図9に示す補正マップMと、図10に示すフローチャートを参照して、画像Imgの明度を補正する画像処理内容について説明する。
図9に示す補正マップMは、補正前の画像ImgのRGB値に応じて補正後の画像ImgのRGB値を決定する際に参照されるマップである。この補正マップMは、横軸が補正前の画像ImgのRGB値(256階調)とされ、縦軸が補正後の画像ImgのRGB値(256階調)とされている。そして、図9に示すマップにおいて、一点鎖線で示す直線は、補正前と補正後でRGB値が同じで、明るさの補正が行われない場合のトーンカーブを示している。一点鎖線で示す直線よりも下側の領域では、補正前の画像ImgのRGB値よりも補正後の画像ImgのRGB値が小さくされ、この一点鎖線で示す直線よりも上側の領域では、補正前の画像ImgのRGB値よりも補正後の画像ImgのRGB値が大きくされる。
Next, image processing contents for correcting the lightness of the image Img will be described with reference to the correction map M shown in FIG. 9 and the flowchart shown in FIG.
The correction map M shown in FIG. 9 is a map that is referred to when determining the RGB value of the corrected image Img according to the RGB value of the image Img before correction. In the correction map M, the horizontal axis represents the RGB value (256 gradations) of the image Img before correction, and the vertical axis represents the RGB value (256 gradations) of the image Img after correction. In the map shown in FIG. 9, the straight line indicated by the alternate long and short dash line indicates the tone curve when the RGB values are the same before and after the correction and the brightness is not corrected. In the area below the straight line indicated by the alternate long and short dash line, the RGB value of the image Img after correction is made smaller than the RGB value of the image Img before correction, and in the area above the straight line indicated by the alternate long and short dashed line, The RGB value of the corrected image Img is made larger than the RGB value of the image Img.

そして、図9に示す本実施形態の補正マップMによれば、補正前の画像ImgのRGB値が閾値Th以上のRGB値に補正される。ここで、閾値Thは、画像と文字が重なっても、文字を判別できる程度に画像を淡くできる最小のRGB値に設定されている。   Then, according to the correction map M of the present embodiment shown in FIG. 9, the RGB value of the image Img before correction is corrected to an RGB value equal to or greater than the threshold Th. Here, the threshold value Th is set to the minimum RGB value that can make the image light enough to distinguish the character even if the image and the character overlap.

ところで、トーンカーブ補正は、補正前の画像のRGB値が「0(零)」であって補正後の画像のRGB値が「0(零)」である点を第1の点とし、補正前の画像のRGB値が「255」であって補正後の画像のRGB値が「255」である点を第2の点としたとき、第1の点と第2の点とを結んだ線分(図9では一点鎖線)を調整するものである。すなわち、第1の点と第2の点を固定した状態で、第1の点と第2の点とを結ぶ線分を上に凸とすることで補正後の画像を淡くしたり、同線分を下に凸とすることで補正後の画像を濃くしたりできる。このため、補正後の画像を淡くするためには、図9に一点鎖線で示す直線状のトーンカーブを、できるだけ閾値Th以上の領域を通るように、第1の点から急峻な立ち上がりで大きく上に凸となるカーブを描くように調整すればよい。しかし、このように調整しても、図9に二点鎖線で示すように、補正前の画像ImgのRGB値が「0(零)」から値Vaの範囲で、補正後の画像ImgのRGB値が閾値Th未満の値をとることになる。すなわち、この場合、補正前に「0(零)」から値Vaの範囲内のRGB値を有する画像においては、補正後の画像において、依然として色の濃い部分(暗い部分)が存在し、同部分に文字が重複するとその文字を判別できなくなることがある。このため、図9に太線の実線で示すように、本実施形態の補正マップMでは、補正前の画像ImgのRGB値が「0(零)」から値Vaの範囲で、画像を淡くするために必要な最小のRGB値である閾値Thに設定されている。なお、本実施形態では、補正前の画像ImgのRGB値のうち値Va以下の範囲が、補正前の画像の明度の最低値寄りの一部の範囲の一例に相当する。   By the way, the tone curve correction uses the point where the RGB value of the image before correction is “0 (zero)” and the RGB value of the image after correction is “0 (zero)” as the first point, and before correction. When the point where the RGB value of the image of “255” is “255” and the RGB value of the image after correction is “255” is taken as the second point, the line segment connecting the first point and the second point (The one-dot chain line in FIG. 9) is adjusted. That is, in a state where the first point and the second point are fixed, the line segment connecting the first point and the second point is made convex upward so that the corrected image becomes lighter or the same line By making the minute convex downward, the corrected image can be darkened. For this reason, in order to make the image after correction light, the linear tone curve shown by the alternate long and short dash line in FIG. 9 is greatly increased with a steep rise from the first point so as to pass through the region of the threshold Th or more as much as possible. It may be adjusted so as to draw a convex curve. However, even with this adjustment, as indicated by a two-dot chain line in FIG. 9, the RGB value of the uncorrected image Img is in the range from “0 (zero)” to the value Va, and the RGB of the corrected image Img The value is a value less than the threshold value Th. That is, in this case, in an image having an RGB value within the range of “0 (zero)” to the value Va before correction, a dark portion (dark portion) still exists in the corrected image. If a character overlaps, it may be impossible to distinguish the character. For this reason, as indicated by a thick solid line in FIG. 9, in the correction map M of the present embodiment, the RGB value of the image Img before correction is lightened in the range from “0 (zero)” to the value Va. Is set to a threshold value Th, which is the minimum RGB value necessary for. In the present embodiment, the range below the value Va among the RGB values of the image Img before correction corresponds to an example of a partial range near the lowest value of the brightness of the image before correction.

こうして、図9に示す補正マップMによれば、基準値Va以下である場合、補正後の画像ImgのRGB値は閾値Thとされる。すなわち、補正前の画像ImgのRGB値が「0(零)」から値Vaまでの範囲内の値である場合、補正後の画像ImgのRGB値は閾値Thとされる。また、補正前の画像ImgのRGB値が値Vaよりも大きい場合、補正後の画像ImgのRGB値は、閾値Thよりも大きな値であって、且つ補正前のRGB値が大きいほど大きな値とされる。したがって、この補正マップMによれば、RGB値が値Va以下であって明度が比較的低い色(例えば黒色)は、RGB値が閾値Thであって明度が比較的高い色(例えば灰色)に補正される。また、RGB値が値Vaよりも大きく明度が比較的高い色(例えば灰色)は、RGB値が閾値Thよりも大きく明度が比較的高い色(例えば白色に近い灰色)に補正される。このため、この補正マップMによれば、補正前の画像Imgにおいて、RGB値が高い場合よりも低い場合の方が、補正前後の明度差が大きくなる。なお、図9に示すマップは、RGB値を全て同じように補正するものであるが、各色(赤(R)、緑(G)、青(B))に応じた補正マップを用意し、各色で補正マップを使い分けてもよい。   Thus, according to the correction map M shown in FIG. 9, the RGB value of the corrected image Img is set to the threshold Th when it is equal to or less than the reference value Va. That is, when the RGB value of the image Img before correction is a value within the range from “0 (zero)” to the value Va, the RGB value of the image Img after correction is set to the threshold Th. Further, when the RGB value of the image Img before correction is larger than the value Va, the RGB value of the image Img after correction is a value larger than the threshold value Th, and becomes larger as the RGB value before correction is larger. Is done. Therefore, according to the correction map M, a color having an RGB value equal to or less than the value Va and a relatively low brightness (for example, black) is changed to a color having an RGB value of the threshold Th and a relatively high brightness (for example, gray). It is corrected. In addition, a color having an RGB value larger than the value Va and a relatively high lightness (for example, gray) is corrected to a color having an RGB value larger than the threshold Th and a relatively high lightness (for example, gray close to white). For this reason, according to this correction map M, the brightness difference before and after the correction becomes larger in the image Img before correction when the RGB value is lower than when the RGB value is high. The map shown in FIG. 9 corrects all the RGB values in the same manner. However, a correction map corresponding to each color (red (R), green (G), blue (B)) is prepared, and each color is corrected. You can use different correction maps.

次に、図10に示すフローチャートを参照して、画像Imgの明度を高くするためにコンピューター50が実行する画像処理ルーチンについて説明する。
ステップS31において、コンピューター50は、補正前の画像Imgを取得する。また、ステップS32において、コンピューター50は、図9に示す補正マップMを取得する。そして、ステップS33において、コンピューター50は、補正マップMに基づいて画像Imgを補正する。すなわち、補正後の画像ImgのRGB値は、補正前の画像ImgのRGB値と図9に示す補正マップMに応じたRGB値となり、補正前よりも明度が高い画像Imgとされる。この場合、補正前の画像ImgのRGB値が閾値Th以上のRGB値に補正されるため、画像Imgは補正前のRGB値に関わらずその全域において、画像Imgに重なった文字を判別できる程度に淡く調整される。
Next, an image processing routine executed by the computer 50 in order to increase the brightness of the image Img will be described with reference to the flowchart shown in FIG.
In step S31, the computer 50 acquires the image Img before correction. In step S32, the computer 50 acquires the correction map M shown in FIG. In step S33, the computer 50 corrects the image Img based on the correction map M. That is, the RGB value of the image Img after correction is an RGB value corresponding to the RGB value of the image Img before correction and the correction map M shown in FIG. 9, and is an image Img having a higher brightness than before correction. In this case, since the RGB value of the image Img before correction is corrected to an RGB value equal to or greater than the threshold value Th, the image Img can be distinguished to the character that overlaps the image Img in the entire area regardless of the RGB value before correction. Lightly adjusted.

続いて、ステップS34において、コンピューター50は、補正後の画像Imgを宛名面領域100に再配置して、本処理ルーチンを一旦終了する。こうして、補正前の画像Imgが配置されていた宛名面領域100に、補正前の画像Imgよりも明度が高くされた補正後の画像Imgが配置される。   Subsequently, in step S34, the computer 50 rearranges the corrected image Img in the address plane area 100, and once ends this processing routine. In this way, the corrected image Img whose brightness is higher than that of the image Img before correction is arranged in the address area 100 where the image Img before correction is arranged.

次に、本実施形態の印刷装置11の作用について説明する。
図6に示すように、宛名面領域100において画像Imgと重複する重複文字OCが定まると、図11に示すように、重複文字OCを含む単位文字列を構成する文字が強調文字HCとされて縁取り文字とされる。一方で、宛名面領域100に配置された画像Imgについてはその明度が高くされる。そして、図11に示す宛名面領域100に配置された画像Imgと文字情報110を含む宛名面データに基づいて印刷データが生成され、同印刷データに基づいてハガキPの印刷が行われる。こうして、本実施形態によれば、図11に示すように、宛名面に画像Imgを印刷する場合であっても、文字情報110のうち画像Imgと重複する重複文字OCがあるときには同重複文字OCを強調したり、画像Imgの明度を高くしたりする。これにより、重複文字OCを含む文字情報110が判別し易くなる。
Next, the operation of the printing apparatus 11 of this embodiment will be described.
As shown in FIG. 6, when an overlapping character OC that overlaps with the image Img is determined in the address plane area 100, as shown in FIG. It is a border character. On the other hand, the brightness of the image Img arranged in the address plane area 100 is increased. Then, print data is generated based on the address plane data including the image Img and the character information 110 arranged in the address plane area 100 shown in FIG. 11, and the postcard P is printed based on the print data. Thus, according to the present embodiment, as shown in FIG. 11, even when the image Img is printed on the address side, if there is an overlapping character OC that overlaps the image Img in the character information 110, the same overlapping character OC. Is emphasized or the brightness of the image Img is increased. Thereby, the character information 110 including the duplicate character OC is easily discriminated.

上記実施形態によれば、以下に示す効果を得ることができる。
(1)文字情報110のうち画像Imgと重複する重複文字OCがあるときには同重複文字OCを強調することで、文字情報110を判別し易くすることができる。
According to the above embodiment, the following effects can be obtained.
(1) When there is an overlapping character OC that overlaps the image Img in the character information 110, the character information 110 can be easily identified by emphasizing the overlapping character OC.

(2)文字情報110に含まれる1つの文字列中において、強調された文字と強調されていない文字が併存する場合には、文字情報110の読み手に対して、強調された文字と強調されていない文字が切り替わるところで、文字列が区切れている印象を与えることがある。そこで、画像Imgと重複する重複文字OCだけでなく、重複文字OCを含む単位文字列で文字が強調するようにしたため、文字情報110の読み手に対して、上述したような印象を与え難くすることができる。   (2) In a single character string included in the character information 110, when an emphasized character and an unenhanced character coexist, the character information 110 is emphasized as an emphasized character. It may give the impression that the character string is separated where there is no character switching. Therefore, since the characters are emphasized not only with the overlapping character OC overlapping the image Img but also with the unit character string including the overlapping character OC, it is difficult to give the above-mentioned impression to the reader of the character information 110. Can do.

(3)重複文字OCが同重複文字OCの色と異なる色で縁取りすることで強調するようにしたため、画像Imgと重複文字OCの色が同色である場合には、重複文字OCの縁取り部分と画像Imgとの境界が明確化される。一方、画像Imgと重複文字OCの縁取り部分の色が同色である場合、重複文字OCと画像Imgとの境界が明確化される。こうして、画像Imgに対し重複文字OCが明確化され、重複文字OCを判別し易くすることができる。   (3) Since the overlap character OC is emphasized by bordering with a color different from the color of the overlap character OC, when the color of the image Img and the overlap character OC is the same color, the border portion of the overlap character OC is The boundary with the image Img is clarified. On the other hand, when the color of the border of the image Img and the overlapping character OC is the same color, the boundary between the overlapping character OC and the image Img is clarified. Thus, the overlapping character OC is clarified with respect to the image Img, and the overlapping character OC can be easily discriminated.

(4)太さの太い第2の文字C2に太さの細い第1の文字C1を重複配置して縁取り文字を生成するため、同縁取り文字を容易に作成することができる。
(5)宛名面に配置される画像Imgは明度を高くされるため、例えば、明度を調整する前の重複文字OCと重複する画像Imgの色と重複文字OCの色とが同系色であったとしても、重複文字OCを判別し易くすることができる。
(4) Since the first character C1 having a small thickness is overlapped with the second character C2 having a large thickness to generate a border character, the border character can be easily created.
(5) Since the brightness of the image Img arranged on the address surface is increased, for example, it is assumed that the color of the overlapping image OC and the color of the overlapping image OC and the color of the overlapping character OC before the brightness adjustment are similar. In addition, it is possible to easily determine the duplicate character OC.

(6)補正前の画像ImgでRGB値が「0(零)」〜値Vaの範囲の極めて低い値をとる画素は、画像Imgの暗い部分(黒や濃色)なので、元々その暗部の部分の絵柄は視認されにくい。よって、補正前の画像ImgでRGB値が「0(零)」〜値Vaの画素が、一律にRGB値が閾値Thに補正されて、その部分の絵柄が反映されなくても、さほど問題はない。そして、値Va以上の領域で補正前の画像ImgのRGB値が大きくなるほど、補正後の画像ImgのRGB値が大きくなるように補正マップMのトーンカーブが設定されている。よって、トーンカーブ補正処理の結果、補正前の画像Imgの絵柄が反映された淡い画像Imgを得ることができる。また、補正前の画像でRGB値がかなり高い画素は、かなり薄く絵柄を視認するうえでさほど重要ではない場合が多い。このため、補正前の画像のRGB値がかなり高い領域では、補正後の画像のRGB値がほぼ一律に最大RGB値近くの値に補正されても、絵柄を視認するうえでさほど問題ではない。このように本実施形態では、補正後のRGB値が閾値Th以上に補正され、補正前の画像のRGB値が最低値寄りと最高値寄りの一部の領域で、勾配の変化が小さく、中間領域で勾配の変化が大きくなるトーンカーブを描いている。よって、補正後の淡くした画像において補正前の画像の絵柄が反映され易い。特にグレイスケールの画像において顕著に効果がある。   (6) Since the pixel having an extremely low RGB value in the range of “0 (zero)” to value Va in the image Img before correction is a dark portion (black or dark color) of the image Img, originally the dark portion thereof The pattern is difficult to see. Therefore, even if the pixels with RGB values “0 (zero)” to value Va in the image Img before correction are uniformly corrected to the threshold value Th and the picture of that portion is not reflected, the problem is not so much. Absent. Then, the tone curve of the correction map M is set so that the RGB value of the image Img after correction increases as the RGB value of the image Img before correction increases in a region equal to or greater than the value Va. Therefore, as a result of the tone curve correction process, a light image Img reflecting the pattern of the image Img before correction can be obtained. In addition, pixels with a considerably high RGB value in an uncorrected image are often not so important for visually recognizing a picture. For this reason, in the region where the RGB value of the image before correction is quite high, even if the RGB value of the image after correction is almost uniformly corrected to a value close to the maximum RGB value, there is no problem in visually recognizing the pattern. As described above, in the present embodiment, the corrected RGB value is corrected to be equal to or greater than the threshold value Th, and the RGB value of the image before correction is small in the middle of the region near the minimum value and the maximum value. It draws a tone curve where the gradient changes greatly in the area. Therefore, the pattern of the image before correction is easily reflected in the lightened image after correction. This is particularly effective for gray scale images.

なお、上記実施形態は、以下に示すように変更してもよい。
・第2の色CL2(縁取りの色)は、重複する画像Imgの色の補色と同系色の色としてもよいし、重複する画像Imgの色の補色としてもよい。また、重複する画像Imgの色が複数色ある場合は、第2の色CL2を同複数色の平均色の補色としてもよいし、画像Imgの色のうち重複文字OCとの境界に最も多く存在する色の補色としてもよい。これによれば、重複文字OCの縁取り部分と画像Imgとの境界が明確となり、重複文字OCを判別し易くすることができる。例えば、重複文字OCの色が、重複文字OCと重複する画像Imgの色と同系色である場合でも、重複文字OCを判別し難くなることを抑制することができる。
In addition, you may change the said embodiment as shown below.
The second color CL2 (border color) may be a color similar to the complementary color of the overlapping image Img, or may be a complementary color of the overlapping image Img. In addition, when there are a plurality of colors of the overlapping image Img, the second color CL2 may be a complementary color of the average color of the plurality of colors, or among the colors of the image Img, the most present at the boundary with the overlapping character OC It is good also as a complementary color of the color to do. According to this, the border between the border portion of the duplicate character OC and the image Img becomes clear, and the duplicate character OC can be easily discriminated. For example, even when the color of the overlapping character OC is similar to the color of the image Img that overlaps the overlapping character OC, it is possible to suppress the difficulty of distinguishing the overlapping character OC.

ところで、画像Imgの色が例えば12色の色相環の一色(以下、第1の色ともいう。)である場合には、「補色」とは、上記色相環において、第1の色から最も遠い色(以下、第2の色ともいう。)をいう。また、「補色の同系色」とは、上記色相環において、第1の色及び第2の色を除く色を第3の色としたとき、同第3の色のうち、第1の色までの距離よりも第2の色までの距離のほうが近い色をいう。   By the way, when the color of the image Img is, for example, one color of the 12 color circles (hereinafter also referred to as the first color), the “complementary color” is the farthest from the first color in the hue circle. Color (hereinafter also referred to as second color). In addition, the “similar colors of complementary colors” means that when the color other than the first color and the second color is the third color in the hue circle, the first color out of the third color is used. A color whose distance to the second color is closer than the distance of.

・図12に示すように、重複文字OCの色を変更することで、同重複文字OCを強調してもよい。この場合、重複文字OCの色は、同重複文字OCと重複する画像Img2の色の補色と同系色であることが好ましく、重複する画像Img2の色の補色とすることがより好ましい。これによれば、重複文字OCと画像Img2との境界が明確となり、重複文字OCを判別し易くすることができる。   As shown in FIG. 12, the overlapping character OC may be emphasized by changing the color of the overlapping character OC. In this case, the color of the overlapping character OC is preferably similar to the complementary color of the color of the image Img2 that overlaps the overlapping character OC, and more preferably the complementary color of the color of the overlapping image Img2. According to this, the boundary between the overlapping character OC and the image Img2 becomes clear, and the overlapping character OC can be easily identified.

・縁取り文字は、文字の輪郭を文字の色とは異なる色とすることで生成してもよい。また、強調文字HCは縁取り文字でなくてもよい。例えば、強調文字HCを強調する方法としては、文字のフォントサイズを大きくしてもよいし、文字に影をつけてもよいし、文字に下線を引いてもよいし、文字を矩形の線で囲ってもよいし、文字の背景色を変更してもよい。   The border character may be generated by setting the character outline to a color different from the character color. Further, the emphasized character HC may not be a border character. For example, as a method for emphasizing the emphasized character HC, the font size of the character may be increased, the character may be shaded, the character may be underlined, or the character may be represented by a rectangular line. It may be enclosed or the background color of the character may be changed.

・画像Imgが配置される領域140に対する文字情報110を構成する文字の重複率を演算し、同重複率が所定の閾値以上となったか否かによって、重複文字か否かを判定するようにしてもよい。この場合、所定の閾値とは、「0(零)%よりも高く100%以下」の数値で任意に選択すればよい。   A duplication rate of characters constituting the character information 110 with respect to the area 140 where the image Img is arranged is calculated, and it is determined whether or not it is a duplicate character depending on whether or not the duplication rate is equal to or higher than a predetermined threshold. Also good. In this case, the predetermined threshold value may be arbitrarily selected by a numerical value of “higher than 0 (zero)% and equal to or lower than 100%”.

・印刷装置11は印刷制御装置60を備えていなくてもよい。例えば、図13に示すように、パーソナルコンピュータやスマートフォンなどのホスト装置90(操作端末)と、ホスト装置90と有線又は無線で通信可能な印刷装置11Aとを備えた印刷システムにおいて、ホスト装置90が印刷制御装置60を備えていてもよい。なお、図13において、印刷制御装置60が有する機能部のうち1つ以上を印刷装置11Aが有していてもよい。   The printing apparatus 11 may not include the printing control apparatus 60. For example, as illustrated in FIG. 13, in a printing system including a host device 90 (operation terminal) such as a personal computer or a smartphone, and a printing device 11 </ b> A that can communicate with the host device 90 in a wired or wireless manner, A print control device 60 may be provided. In FIG. 13, the printing apparatus 11 </ b> A may have one or more functional units included in the printing control apparatus 60.

・図5に示すフローチャートにおいて、コンピューター50が実施する処理ルーチンは、ユーザーによる印刷装置11に対する指示によって、表示部17に宛名面の印刷プレビュー画面を表示するためにコンピューター50が実施する処理ルーチンとしてもよい。この場合、図5に示すフローチャートにおいて、ステップS18の代わりに、コンピューター50は、文字情報110と画像処理済みの画像Imgとを含む印刷用データの一例としての印刷プレビューデータを生成し、同印刷プレビューデータを表示部17に表示することが好ましい。   In the flowchart shown in FIG. 5, the processing routine executed by the computer 50 may be a processing routine executed by the computer 50 in order to display the print preview screen of the address surface on the display unit 17 according to an instruction from the user to the printing apparatus 11. Good. In this case, in the flowchart shown in FIG. 5, instead of step S <b> 18, the computer 50 generates print preview data as an example of print data including the character information 110 and the image processed image Img. It is preferable to display the data on the display unit 17.

・図5示すフローチャートにおいて、ステップS15を省略してもよい。すなわち、領域140に配置した画像Imgに対して、明度を高くする画像処理を行わなくてもよい。この場合でも、文字情報110を構成する文字が画像Imgに対して強調されることで、住所112及び氏名113などの文字情報110が判別し難くなることを抑制することができる。   In the flowchart shown in FIG. 5, step S15 may be omitted. That is, it is not necessary to perform image processing for increasing the brightness on the image Img arranged in the region 140. Even in this case, it is possible to prevent the character information 110 such as the address 112 and the name 113 from becoming difficult to be distinguished by emphasizing the characters constituting the character information 110 with respect to the image Img.

・図9に示す補正マップMは、補正前の画像のRGB値が「0(零)」であって補正後の画像のRGB値が閾値Thである点を第1の点とし、補正前の画像のRGB値が「255」であって補正後の画像のRGB値が「255」である点を第2の点としたとき、第1の点と第2の点とを直線で結んだ補正マップであってもよい。また、第1の点と第2の点とを二次関数、又はそれ以上の高次関数で結んだ補正マップであってもよい。すなわち、この場合、トーンカーブは、補正前の画像Imgの明度の全域において、補正後に「0(零)」より大きい閾値Th以上の値をとり、且つ補正前の画像Imgの明度が大きいほど、補正後の画像の明度が大きくなるよう設定されていることが望ましい。   In the correction map M shown in FIG. 9, the point where the RGB value of the image before correction is “0 (zero)” and the RGB value of the image after correction is the threshold Th is the first point, When the point where the RGB value of the image is “255” and the RGB value of the image after correction is “255” is the second point, the correction is made by connecting the first point and the second point with a straight line. It may be a map. Moreover, the correction map which connected the 1st point and the 2nd point with the quadratic function or the higher order function beyond it may be sufficient. That is, in this case, the tone curve takes a value greater than or equal to the threshold Th greater than “0 (zero)” after correction in the entire brightness range of the image Img before correction, and the brightness of the image Img before correction increases. It is desirable that the brightness of the image after correction is set to be large.

これによれば、補正後の画像はその全域で明度が閾値Th以上あり、補正前の画像に対して、補正前の画像の明度が大きくなるほど、補正後の画像の明度が大きくなるようにトーンカーブ補正処理が施されるので、画像Imgの明度の全域で印刷濃度を薄くすることができる。さらに、補正前の画像Imgの明度が反映された補正後の画像Imgを得ることができる。例えば、補正前の画像Imgの明度が反映されることで、補正後の画像Imgに淡いながらも元の絵柄が反映され易い。   According to this, the brightness of the image after correction has a threshold value Th or more over the entire area, and the tone is set so that the brightness of the image after correction increases as the brightness of the image before correction increases relative to the image before correction. Since the curve correction process is performed, the print density can be reduced over the entire brightness of the image Img. Furthermore, it is possible to obtain a corrected image Img reflecting the brightness of the image Img before correction. For example, since the brightness of the image Img before correction is reflected, the original picture is easily reflected although it is faint in the image Img after correction.

・図9に示す補正マップMは、色調を256階調で表示したが、同階調よりも低い階調(例えば、16階調)であってもよいし、同階調よりも高い階調(例えば512階調)であってもよい。   In the correction map M shown in FIG. 9, the tone is displayed with 256 gradations, but the gradation may be lower than the same gradation (for example, 16 gradations) or higher than the same gradation. (For example, 512 gradations).

・画像処理部65は、画像Imgをトーンカーブ補正以外の画像処理方法で、その印刷濃度が薄くなるような画像処理を行ってもよい。一例として、半透明なマスクを画像Imgに重ねることで、同画像Imgの印刷濃度が薄くなるようにしてもよい。   The image processing unit 65 may perform image processing for reducing the print density of the image Img by an image processing method other than tone curve correction. As an example, the semi-transparent mask may be overlaid on the image Img so that the print density of the image Img is reduced.

・印刷装置11は、ハガキPなどの郵便物に印刷することのできるものであれば、インクジェット式プリンター以外の印刷装置であってもよい。例えば、印刷装置は、ドットインパクト式やレーザー式のプリンターであってもよいし、複合機であってもよい。さらに、印刷装置は、シリアルプリンター、ラインプリンター、又はページプリンターであってもよい。   The printing device 11 may be a printing device other than an ink jet printer as long as it can print on a postal matter such as a postcard P. For example, the printing apparatus may be a dot impact type or laser type printer, or may be a multifunction machine. Further, the printing apparatus may be a serial printer, a line printer, or a page printer.

・郵便物は、ハガキPに替え、封筒などの他の郵便物であってもよい。この場合、封筒などの他の郵便物の宛名面の大きさに応じて、文字領域130の範囲を変更することが好ましい。また、郵便物は、郵便局で配達の対象とされる荷物を入れて配達されるものでもよく、例えばパックに手紙や荷物を封入するもの、箱に荷物を詰めたものでもよい。この場合、宛名面は、宛名シール(宛名ラベル)で構成され、宛名シールに宛先情報や差出人情報などの文字情報を印刷した後に、その宛名シールがパック又は箱の所定の場所に貼られて郵便物とされる。つまり、郵便物の宛名面は、印刷時に郵便物と一体である必要はなく、宛名シールのように郵便物から宛名面を形成する部分が分離されたものであってもよい。なお、本明細書において、郵便物には、宅配便も含まれるものとする。宅配便についてもパック又は箱に貼付して使用される宛名シールの宛名面が「郵便物の宛名面」に相当する。   The postal matter may be another postal matter such as an envelope instead of the postcard P. In this case, it is preferable to change the range of the character area 130 according to the size of the address surface of other mail such as an envelope. The postal matter may be delivered by putting a package to be delivered at a post office, for example, a package in which a letter or a package is enclosed, or a package in which a package is packed. In this case, the address surface is composed of an address sticker (address label). After printing character information such as address information and sender information on the address sticker, the address sticker is affixed to a predetermined place on the pack or box and mailed. It is assumed to be a thing. In other words, the address surface of the mail piece does not need to be integrated with the mail piece at the time of printing, and the part forming the address surface may be separated from the mail piece like an address sticker. In the present specification, the mail includes a courier service. Also for the courier service, the address surface of the address sticker that is used by being affixed to the pack or box corresponds to the “address surface of the mail”.

・ハガキPの宛名面は横書きであってもよい。この場合、縦書きの場合と横書きの場合とで、文字領域130の範囲を変更することが好ましい。   -The address of the postcard P may be written horizontally. In this case, it is preferable to change the range of the character area 130 between vertical writing and horizontal writing.

11…印刷装置、25…印刷ヘッド(印刷部の一例)、40…コントローラー、50…コンピューター、53…不揮発性メモリー(記憶部の一例)、54…RAM(記憶部の一例)、60…印刷制御装置、61…画像選択部、62…画像配置部、63…重複文字判定部、64…文字処理部、65…画像処理部、66…表示処理部、67…印刷データ生成部(生成部の一例)、68…記録部、100…宛名面領域、110…文字情報、130…文字領域、Img…画像、P…ハガキ(郵便物の一例)、C1…第1の文字、C2…第2の文字、OC…重複文字、HC…強調文字、CL1…第1の色、CL2…第2の色、FT1…第1の太さ、FT2…第2の太さ、S12…画像選択ステップ、S13…画像配置ステップ、S14,15…重複文字判定ステップ、S16…文字処理ステップ、S18…生成ステップ。   DESCRIPTION OF SYMBOLS 11 ... Printing apparatus, 25 ... Print head (an example of a printing part), 40 ... Controller, 50 ... Computer, 53 ... Non-volatile memory (an example of a memory | storage part), 54 ... RAM (an example of a memory | storage part), 60 ... Print control 61: Image selection unit, 62 ... Image arrangement unit, 63 ... Duplicate character determination unit, 64 ... Character processing unit, 65 ... Image processing unit, 66 ... Display processing unit, 67 ... Print data generation unit (an example of generation unit) ), 68 ... Recording unit, 100 ... Address area, 110 ... Character information, 130 ... Character area, Img ... Image, P ... Postcard (an example of postal matter), C1 ... First character, C2 ... Second character , OC ... overlapping character, HC ... highlighted character, CL1 ... first color, CL2 ... second color, FT1 ... first thickness, FT2 ... second thickness, S12 ... image selection step, S13 ... image Arrangement step, S14, 15 ... Duplicate characters Constant step, S16 ... character processing step, S18 ... generating step.

Claims (11)

郵便物の宛名面に文字情報と画像とを印刷するための印刷制御装置であって、
前記宛名面に対応する宛名面領域に配置する前記画像を選択する画像選択部と、
前記宛名面領域に前記画像を配置する画像配置部と、
前記宛名面領域において、前記文字情報のうち前記画像と重複する重複文字を判定する重複文字判定部と、
前記重複文字を強調する文字処理部と、
前記宛名面領域に配置された前記画像と前記文字情報とを含む宛名面データに基づいて印刷用データを生成する生成部と、を備える印刷制御装置。
A print control device for printing character information and images on the address of a mail,
An image selection unit for selecting the image to be arranged in an address surface area corresponding to the address surface;
An image placement unit for placing the image in the address surface area;
In the address surface area, a duplicate character determination unit that determines a duplicate character that overlaps the image in the character information,
A character processing unit for emphasizing the duplicate characters;
A print control apparatus comprising: a generation unit that generates print data based on address surface data including the image and the character information arranged in the address surface area.
前記文字処理部は、前記重複文字を含む単位文字列を構成する文字を強調する請求項1に記載の印刷制御装置。   The print control apparatus according to claim 1, wherein the character processing unit emphasizes characters constituting a unit character string including the duplicate characters. 前記文字処理部は、前記重複文字の色を第1の色としたとき、同第1の色とは異なる第2の色で前記重複文字を縁取りすることで同重複文字を強調する請求項1又は請求項2に記載の印刷制御装置。   The said character processing part emphasizes the said duplicate character by fringing the said duplicate character with the 2nd color different from the said 1st color, when the color of the said duplicate character is made into the 1st color. Or the printing control apparatus of Claim 2. 前記文字処理部は、前記重複文字の太さを第1の太さとしたとき、
前記重複文字と同じ文字であって、且つ前記第1の太さよりも太い第2の太さの文字に、前記重複文字を重ねることで同重複文字を縁取りする請求項3に記載の印刷制御装置。
When the thickness of the duplicate character is the first thickness, the character processing unit,
The print control apparatus according to claim 3, wherein the duplicated character is bordered by overlapping the duplicated character on a character having the same thickness as the duplicated character and having a second thickness greater than the first thickness. .
前記文字処理部は、前記第2の色を前記重複文字と重複する前記画像の色の補色の同系色とする請求項3又は請求項4に記載の印刷制御装置。   5. The print control apparatus according to claim 3, wherein the character processing unit sets the second color to a similar color that is a complementary color of the image color that overlaps the overlapping character. 6. 前記文字処理部は、前記重複文字の色を同重複文字と重複する前記画像の色の補色の同系色とする請求項2に記載の印刷制御装置。   The print control apparatus according to claim 2, wherein the character processing unit sets a color of the overlapping character to a color similar to a complementary color of the image color overlapping the same overlapping character. 前記画像の印刷濃度が薄くなるように同画像の画像処理を行う画像処理部をさらに備える請求項1〜請求項6のうち何れか一項に記載の印刷制御装置。   The print control apparatus according to any one of claims 1 to 6, further comprising an image processing unit that performs image processing of the image so that a print density of the image becomes light. 前記画像処理は、トーンカーブ補正処理であって、
前記トーンカーブ補正処理で用いられるトーンカーブは、補正前の画像の明度の全域で、補正後の画像の明度が零より大きい一定の閾値以上に設定され、補正前の画像の明度の最低値寄りの一部の範囲において補正後の画像の明度が前記閾値に設定され、且つ前記最低値寄りの一部よりも明度が高い範囲においては、補正前の画像の明度が大きいほど、補正後の画像の明度が大きくなるよう設定されている請求項7に記載の印刷制御装置。
The image processing is tone curve correction processing,
The tone curve used in the tone curve correction process is set to a certain threshold value or more where the brightness of the image after correction is greater than zero over the entire brightness of the image before correction, and is closer to the minimum value of the brightness of the image before correction. In a range where the brightness of the image after correction is set to the threshold value in a part of the range and the brightness is higher than a part near the lowest value, the higher the brightness of the image before the correction, the higher the corrected image. The printing control apparatus according to claim 7, wherein the printing control apparatus is set so as to increase brightness.
前記画像処理は、トーンカーブ補正処理であって、
前記トーンカーブ補正処理で用いられるトーンカーブは、補正前の画像の明度の全域において、補正後に零より大きい閾値以上の値をとり、且つ補正前の画像の明度が大きいほど、補正後の画像の明度が大きくなるよう設定されている請求項7に記載の印刷制御装置。
The image processing is tone curve correction processing,
The tone curve used in the tone curve correction process takes a value greater than or equal to a threshold value greater than zero after correction in the entire brightness range of the image before correction, and the greater the brightness of the image before correction, the greater the brightness of the image after correction. The print control apparatus according to claim 7, wherein the print control apparatus is set to increase brightness.
請求項1〜請求項9のうち何れか一項に記載の印刷制御装置と、
前記印刷用データに基づいて前記宛名面に印刷を行う印刷部と、を備える印刷装置。
The print control apparatus according to any one of claims 1 to 9,
And a printing unit that performs printing on the address surface based on the printing data.
郵便物の宛名面に文字情報と画像とを印刷するためにコンピューターに実行させる印刷制御プログラムであって、
前記宛名面に対応する宛名面領域に配置する前記画像を選択する画像選択ステップと、
前記宛名面領域に前記画像を配置する画像配置ステップと、
前記宛名面領域において、前記文字情報のうち前記画像と重複する重複文字を判定する重複文字判定ステップと、
前記重複文字を強調する文字処理ステップと、
前記宛名面領域に配置された前記画像と前記文字情報とを含む宛名面データに基づいて印刷用データを生成する生成ステップと、をコンピューターに実行させる印刷制御プログラム。
A printing control program that is executed by a computer to print character information and an image on a mail address.
An image selection step of selecting the image to be arranged in an address surface area corresponding to the address surface;
An image placement step for placing the image in the address plane area;
In the address plane area, a duplicate character determination step for determining a duplicate character that overlaps the image in the character information;
A character processing step for emphasizing the duplicate characters;
A print control program for causing a computer to execute a generation step of generating print data based on address plane data including the image and the character information arranged in the address plane area.
JP2013246729A 2013-11-28 2013-11-28 Print control apparatus, printer, and print control program Pending JP2015106202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013246729A JP2015106202A (en) 2013-11-28 2013-11-28 Print control apparatus, printer, and print control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013246729A JP2015106202A (en) 2013-11-28 2013-11-28 Print control apparatus, printer, and print control program

Publications (1)

Publication Number Publication Date
JP2015106202A true JP2015106202A (en) 2015-06-08

Family

ID=53436290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013246729A Pending JP2015106202A (en) 2013-11-28 2013-11-28 Print control apparatus, printer, and print control program

Country Status (1)

Country Link
JP (1) JP2015106202A (en)

Similar Documents

Publication Publication Date Title
US6731407B1 (en) Image processing method and device
JP5553139B2 (en) Image processing apparatus and image processing program
US9665326B2 (en) Image display control device for displaying a print preview for borderless printing
US9733872B2 (en) Information processing apparatus, information processing method, and computer program product
US20180035006A1 (en) Print transformation effects
JP2006295624A (en) Image processor, method therefor, computer program, and recording medium
JP2015104823A (en) Print controller, printer and print control program
JP4904987B2 (en) Printing method, printing apparatus, and printing program
JP6314446B2 (en) Printing control apparatus, printing apparatus, and printing control program
JP2015104822A (en) Print controller, printer and print control program
JP2015106202A (en) Print control apparatus, printer, and print control program
JP2015106755A (en) Print control device, printer and print control program
JP2015106201A (en) Print control apparatus, printer, and print control program
JP2015104825A (en) Print controller, printer and print control program
JP6299360B2 (en) Printing control apparatus and printing apparatus
KR100691468B1 (en) Printing method for security document and image reproduction apparatus
US9538043B2 (en) Image forming system that prevents increasing of data amount of print data and reducing of printing result quality, image forming apparatus, and recording medium
JP3985681B2 (en) Print image forming apparatus
JP6205893B2 (en) Image processing apparatus, image processing method, and program
CN110971780B (en) Image processing apparatus and control method of image processing apparatus
JP4052502B2 (en) Caricature image creation device, computer program, and recording medium
JP6417822B2 (en) Editing device, printing device, and program
US9729756B2 (en) Image forming system that restrains increase of print data amount, image forming apparatus, and recording medium
JP2005275787A (en) Image processing method and device, and printer
JP6264790B2 (en) Image processing apparatus, printing system, and image processing method