JP2004209726A - Image data generator and program - Google Patents

Image data generator and program Download PDF

Info

Publication number
JP2004209726A
JP2004209726A JP2002380075A JP2002380075A JP2004209726A JP 2004209726 A JP2004209726 A JP 2004209726A JP 2002380075 A JP2002380075 A JP 2002380075A JP 2002380075 A JP2002380075 A JP 2002380075A JP 2004209726 A JP2004209726 A JP 2004209726A
Authority
JP
Japan
Prior art keywords
inversion
area
image
background
modification
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
JP2002380075A
Other languages
Japanese (ja)
Inventor
Shigeto Muto
成人 武藤
Jun Itakura
潤 板倉
Takeo Ito
建生 伊藤
Mizue Terai
瑞恵 寺井
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2002380075A priority Critical patent/JP2004209726A/en
Publication of JP2004209726A publication Critical patent/JP2004209726A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform reversal modification in which visibility of an outer frame line or an under line does not lower even if reversal modification is carried out following to letter modification of the outer frame line or the under line. <P>SOLUTION: When a reversal modification for reversing the negative and positive of an image area 101 including an area 102 for arranging a letter 105 is designated, the negative and positive of a background area 103 located in the image area 101 and on the outside of the arranging area 102 are not reversed but the negative and positive of the arranging area 102 are reversed. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、文字に対して反転修飾可能なイメージデータ生成装置、及びプログラムに関する。
【0002】
【従来の技術】
近年、画面上、または印刷物上の表現方法の多様化に従い、様々な文字装飾が望まれるようになった。これを受けて、特に印刷物においては、強調文字、斜体文字、袋文字等、様々な文字装飾が提供されるようになった。インパクトのある文字装飾で知られる白黒反転修飾についても、通常のフォントデータから白黒反転したフォントデータを作成する方法が提案されている(特許文献1参照)。
ところで、白黒反転修飾では白黒を反転させるためフォント作成時には想定されていない要因により視認性を損なう場合が多い、例えば、文字サイズの異なる文字列を白黒反転修飾すると、文字サイズの異なる文字間で反転される文字の背景の領域が異なるため文字列間で均一な背景を構成できずに視認性を低下させる。そこで白黒反転修飾する文字列のすべての文字サイズから最適な文字の背景の領域を決定することで、視認性に優れた白黒反転修飾を行う方法も提案されている(特許文献2参照)。
【0003】
【特許文献1】
特開昭57−14054号公報
【特許文献2】
特公平6−35190号公報
【0004】
【発明が解決しようとする課題】
しかしながら、従来の白黒反転修飾の方法では、外枠線、またはアンダーライン等の文字修飾と、白黒反転修飾とを重ねて行った場合には、白黒反転修飾により外枠線またはアンダーライン等の線画が非印刷部分となる。これにより外枠線またはアンダーライン等の線画と、外枠線またはアンダーライン等の線画に近接している外側の非印刷部分とが混同されやすくなるため、外枠線またはアンダーライン等の線画の視認性が低下するという問題点があった。
【0005】
本発明は、上記問題点を鑑みてなされたものであり、他の文字修飾と、反転修飾とを重ねて行っても外枠線またはアンダーライン等の線画の視認性が低下しないイメージデータ生成装置及びプログラムを提供することを目的とする。
【0006】
【課題を解決するための手段及び発明の効果】
上記目的を達成するために、請求項1に記載のイメージデータ生成装置は、文字を含むイメージデータをドットパターンで生成するイメージデータ生成装置であって、文字が配置される配置領域を含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段と、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させずに前記配置領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段とを備えていることを特徴とする。
請求項10に記載のプログラムは、文字を含むイメージデータをドットパターンで生成するコンピュータを、文字が配置される配置領域を一又は複数含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段、及び、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させずに前記配置領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段として機能させることを特徴とする。
【0007】
請求項1、請求項10によれば、イメージ領域に対して、外枠線やアンダーライン等の文字修飾と、反転修飾とを重ねて行った場合に、配置領域は反転されるが、背景領域は反転されない。これにより、背景領域にある外枠線やアンダーライン等の線画が印刷部分となるため、外枠線やアンダーライン等の線画と、外枠線やアンダーライン等の線画に近接するイメージ領域外の非印刷部分とが混同されにくくなり、外枠線やアンダーライン等の線画の視認性が低下することがない。
【0008】
請求項2に記載のイメージデータ生成装置は、請求項1において、文字の外枠線、アンダーライン、及びバーコード区域の少なくともいずれか一つが前記背景領域に形成されることを特徴とする。
請求項11に記載のプログラムは、請求項10において、文字の外枠線、アンダーライン、及びにバーコード区域の少なくともいずれか一つが前記背景領域に形成されることを特徴とする。
請求項2、請求項11によれば、外枠線やアンダーラインの線画の視認性が低下することがない。また、反転修飾によりバーコードが認識されないということがなくなる。
【0009】
請求項3に記載のイメージデータ生成装置は、文字を含むイメージデータをドットパターンで生成するイメージデータ生成装置であって、文字が配置される配置領域を含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段と、前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させるか否かを書換可能に記憶するための背景反転記憶手段と、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段とを備えていることを特徴とする。
請求項12に記載のプログラムは、文字を含むイメージデータをドットパターンで生成するコンピュータを、文字が配置される配置領域を一又は複数含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段、前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させるか否かを書換可能に記憶するための背景反転記憶手段、及び、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段として機能させることを特徴とする。
【0010】
請求項3、請求項12によれば、イメージ領域に対して、外枠線やアンダーライン等の文字修飾と、反転修飾とを重ねて行った場合に、配置領域は反転されるが、背景領域は反転されないようにすることができる。これにより、背景領域にある外枠線やアンダーライン等の線画が印刷部分となるため、外枠線やアンダーライン等の線画と、外枠線やアンダーライン等の線画に近接するイメージ領域外の非印刷部分とが混同されにくくなり、外枠線やアンダーライン等の線画の視認性が低下することがない。また、背景領域を反転修飾させるか否かがユーザにより選択可能となるため、ユーザの意図に沿った修飾を行うことができる。
【0011】
請求項4に記載の文字のイメージデータ生成装置は、請求項3において、外枠線及びアンダーラインの少なくともいずれか一方が前記背景領域に形成されることを特徴とする。
請求項13に記載のプログラムは、請求項12において、文字の外枠線及びアンダーラインの少なくともいずれか一方が前記背景領域に形成されることを特徴とする。
請求項4、請求項13によれば、外枠線やアンダーラインの線画の視認性が低下することがない。また、ユーザの意図に沿った外枠線やアンダーラインの修飾を行うことができる。
【0012】
請求項5に記載のイメージデータ生成装置は、請求項3又は4において、前記背景反転記憶手段の記憶内容はデフォルトにおいて前記背景領域の陰陽を反転させないとなっていることを特徴とする。
請求項14に記載のプログラムは、請求項12又は13において、前記背景反転記憶手段の記憶内容はデフォルトにおいて前記背景領域の陰陽を反転させないとなっていることを特徴とする。
請求項5、請求項14によれば、多くの場合に背景領域を修飾させないことが好ましいので、ユーザが設定し直す手間を省くことができる。
【0013】
請求項6に記載のイメージデータ生成装置は、請求項3〜5のいずれか1項において、前記背景領域内の特定区域の陰陽を反転させるか否かを書換可能に記憶するための特定区域反転記憶手段をさらに備えており、前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段及び前記特定区域反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することを特徴とする。
請求項15に記載のプログラムは、請求項12〜14のいずれか1項において、前記背景領域内の特定区域の陰陽を反転させるか否かを書換可能に記憶するための特定区域反転記憶手段として前記コンピュータをさらに機能させ、前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段及び前記特定区域反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することを特徴とする。
【0014】
請求項6、請求項15によれば、特定区域を反転させるか否かがユーザにより選択可能なため、ユーザの意図に沿うことができる。
【0015】
請求項7に記載のイメージデータ生成装置は、請求項6において、前記特定区域がバーコード区域であることを特徴とする。
請求項16に記載のプログラムは、請求項15において、前記特定区域がバーコード区域であることを特徴とする。
請求項7、請求項16によれば、反転修飾によりバーコードが認識されないということがなくなる。
【0016】
請求項8に記載のイメージデータ生成装置は、請求項1〜7のいずれか1項において、前記配置領域内に付加された装飾線の陰陽を単純反転させるか又は前記装飾線の背景と逆の陰陽パターンとなるように反転させるかを書換可能に記憶するための装飾線反転記憶手段をさらに備えており、前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記装飾線反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することことを特徴とする。
請求項17によると、請求項10〜16のいずれか1項において、前記配置領域内に付加された装飾線の陰陽を単純反転させるか又は前記装飾線の背景と逆の陰陽パターンとなるように反転させるかを書換可能に記憶するための装飾線反転記憶手段として前記コンピュータをさらに機能させ、前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記装飾線反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することことを特徴とする。
【0017】
請求項8、請求項17によれば、配置領域内の装飾線の視認性をユーザの嗜好に合わせて高めることができる。
【0018】
請求項9に記載のイメージデータ生成装置は、請求項8において、前記装飾線が文字の抹消線及び網掛けの少なくともいずれか一方であることを特徴とする。
請求項18に記載のプログラムは、請求項17において、前記装飾線が文字の抹消線及び網掛けの少なくともいずれか一方であることを特徴とする。
請求項9、請求項18によれば、抹消線や網掛け装飾と、反転修飾とを重ねて行っても抹消線や網掛け線の視認性が低下しない。
【0019】
なお、請求項10から18に記載されているプログラムは、CD−ROM、FD、MOなどのリムーバブル型記録媒体やハードディスク等の固定型記録媒体に記録して配布可能である他、有線又は無線の電気通信手段によってインターネットなどの通信ネットワークを介して配布可能である。
【0020】
【発明の実施の形態】
以下、本発明の好適な実施の形態について、図面を参照しつつ説明する。
図1は、本発明の実施の形態に係るイメージデータ生成装置が組み込まれたテーププリンタ1の外観図である。テーププリンタ1は、テープカセットに収納され、裏面に粘着剤が予め塗布された粘着性の被印刷シートと剥離シートとが剥離可能に重ね合わされた印刷テープに、ユーザが入力した文字列を印刷することが可能なプリンタである。図1に示すように、テーププリンタ1の前部の表面にはディスプレイ2とキーボード3が配置されている。テーププリンタ1の後部にある扉の内側には印刷ヘッド4(図3参照)と図示しないカセット装着部とが配置されている。テーププリンタ1の被印刷媒体である印刷テープは、テープカセットに収納された状態でカセット装着部に着脱自在に装着される。
【0021】
次にテーププリンタ1により印刷される印刷物について図2を参照しつつ説明する。図2は、テーププリンタ1により印刷された印刷物の例である。図2(a)は、印刷テープ100上に文字「A」を印刷した場合の印刷例である。図2(a)に示すように、印刷テープ100には、便宜上破線で表示したイメージ領域101が配置されている。イメージ領域101は、印刷テープ100に収まる矩形状に区画された印刷可能な領域であり、イメージ領域101以外の領域には印刷されることはない。イメージ領域101には、便宜上破線で表示した配置領域102が配置されている。配置領域102には、文字105が配置されている。背景領域103は、イメージ領域101から配置領域102を除いた領域である。背景領域103には、イメージ領域101を修飾する外枠線やアンダーライン等の線画が配置される。
【0022】
テーププリンタ1は、図2(a)のように単に文字のみを印刷するだけでなく、イメージ領域101に対して様々な装飾を行うことが可能となっている。例えば、図2(b)に示すように背景領域103に外枠線を配置する外枠線修飾を行うことや、図2(c)に示すように背景領域103にアンダーラインを配置するアンダーライン修飾を行うことが可能である。
【0023】
さらにテーププリンタ1は、イメージ領域101に対して反転修飾を行うことが可能である。反転修飾とは、印刷部分(陰)を非印刷部分(陽)に、非印刷部分(陽)を印刷部分(陰)に反転する装飾である。例えば、図2(a)におけるイメージ領域101に対して、反転修飾を行った印刷例が図2(d)である。図2(d)に示すように反転修飾によりインパクトのある文字を表現することができる。また、図2(b)におけるイメージ領域101に対して、反転修飾を行った印刷例が図2(e)であり、図2(c)におけるイメージ領域101に対して、反転修飾を行った印刷例が図2(f)である。しかし、図2(e)及び図2(f)に示すように、背景領域103に配置された外枠線やアンダーラインの非印刷部分と、イメージ領域101のさらに外側の非印刷部分とが近接するため外枠線やアンダーラインの視認性が低下する。
【0024】
そこでテーププリンタ1は、その設定により配置領域102を反転しつつ、背景領域103を反転しない反転修飾を行うことが可能である。図2(b)におけるイメージ領域101に対して、配置領域102を反転しつつ、背景領域103を反転しない反転修飾を行った印刷例が図2(g)であり、図2(c)におけるイメージ領域101に対して、配置領域102を反転しつつ、背景領域103を反転しない反転修飾を行った印刷例が図2(h)である。図2(g)及び図2(h)に示すように、イメージ領域101に対して配置領域102を反転しつつ、背景領域103を反転しない反転修飾を行うと、外枠線やアンダーラインの視認性は低下しない。
【0025】
さらに、テーププリンタ1は、配置領域102に抹消線等の装飾線を付加する修飾も可能である。図2(c)における配置領域102に対して、抹消線を付加する抹消線修飾を行った印刷例が図2(i)である。図2(i)に示すように、アンダーライン修飾と、抹消線修飾を重ねて行っているため、背景領域103にアンダーラインが配置され、配置領域102に抹消線が付加されている。また、アンダーライン修飾と、抹消線修飾と、反転修飾とを重ねて行うことも可能である。図2(i)におけるイメージ領域101に対して、配置領域102を反転しつつ、背景領域103を反転しない反転修飾を行った印刷例が図2(j)である。さらに、抹消線修飾等、配置領域102に装飾線を付加する修飾と反転修飾とを重ねて行う場合には、その設定により、装飾線の背景となる背景領域102に対応して装飾線を部分的に反転することが可能である。図2(i)におけるイメージ領域101に対して、配置領域102を反転しつつ、背景領域103を反転させず、抹消線を背景に応じて反転させる反転修飾を行った印刷例が図2(k)である。図2(k)に示すように抹消線が背景に応じて反転しているため抹消線の視認性が低下しない。
【0026】
さらに、背景領域103に特定区域104を配置することが可能である。そして、イメージ領域101に対して反転修飾を行う場合に、特定区域104を反転するか否かを設定することが可能である。図3は、文字「A」が配置された2つの配置領域102が配置され、2つの文字領域102の間にバーコードが配置された特定区域104が配置されているイメージ領域101に対して、外枠線修飾と、背景領域103を反転させない反転修飾とを重ねて行った印刷例である。
以上のように、テーププリンタ1は、図2(a)から図2(k)、及び図3に示すような印刷物を印刷可能なプリンタである。
【0027】
次にテーププリンタ1の内部構成について図4を参照しつつ説明する。図4は、本実施の形態に係るテーププリンタ1の内部構成を示すブロック図である。テーププリンタ1は、ディスプレイ2と、キーボード3と、印刷ヘッド4と、制御部6と、図示しないカセット装着部とを有している。ディスプレイ2は、グラフィック液晶パネル21と、液晶パネルコントローラ22から構成される。グラフィック液晶パネル21は、グラフィック表示が可能であり、様々な図柄や、文字のフォント形状やサイズを自由自在に表示できる。液晶パネルコントローラ22は、グラフィック液晶パネル21をコントロールするICであり、制御部6に備えられるCPU61がインターフェースユニット66を介して液晶パネルコントローラ22に規定のコマンドを入力することによって、グラフィック液晶パネル21の表示内容をコントロールすることができる。
【0028】
キーボード3は、テーププリンタ1の表面に配置され、印刷しようとする文字の入力を行う文章入力キー、カーソルの移動を行うカーソルキー、テーププリンタ1の各種機能を呼び出す機能割付けキー(反転設定キー、印刷キー等)等から構成される。
【0029】
印刷ヘッド4は、カセット装着部において、印刷テープが収納されたテープカセットの内部に設けられたヘッド収容部に対応する位置に配置されている。印刷ヘッド4には、制御部6により電気的にコントロールされる発熱素子が印刷テープの幅方向に沿って多数配置されている。これにより印刷テープに対して文字列をドットパターンで印刷することができる。
【0030】
制御部6は、CPU(Central Processing Unit)61と、ROM(Read OnlyMemory)62と、RAM(Random-Access Memory)63と、インターフェースユニット66と、データバス65とから構成される。CPU61は、各種コマンドに従って演算処理を行う。ROM62には、CPU61により、図3の各機能部を実現させ、図4から図11のフローチャートを動作させる演算プログラムと、文字のフォントデータや印刷文字を修飾する外枠線のイメージデータ等のグラフィックデータと、その他プログラム実行に必要な各種データとが記憶されている。RAM63は、作業エリア、イメージバッファ等、CPU61がプログラムを実行する際に使用するデータの一時記憶エリアを有する揮発性メモリである。
【0031】
インターフェースユニット66は、モジュールとして分離された装置と制御部を直接的、間接的に電気的接続する接続部である。また、データバス65は、CPU61と、ROM62と、RAM63と、インターフェースユニット66とを、それぞれ電気的に接続するデータ転送用ライン群である。制御部内の全ての転送データはデータバス65を介して転送される。
【0032】
次にテーププリンタ1の機能について説明する。テーププリンタ1は、RAM63によって構成される文字列記憶手段である文字列記憶部80と、背景反転記憶手段である背景反転記憶部82と、特定区域反転記憶手段である特定区域反転記憶部83と、装飾線反転記憶手段である装飾線反転記憶部84と、CPU61によって構成される入力部71と、イメージデータ生成装置であるイメージデータ生成部72と、印刷実行部79とを有している。
【0033】
文字列記憶部80には、後述する入力部71により、ユーザからキーボード3等を介して入力される印刷テープに印刷されるべき文字列データ、及び文字列データが記憶される。文字列データは、各文字を指定するテキストコード、文字サイズ、及びフォントデータの種類等で構成されている。
修飾情報記憶部81には、イメージ領域101に対する修飾方法についての情報が記憶される。具体的には、外枠線、アンダーライン、及び抹消線等の各位置、形状の種類、及び配置領域102に関する反転修飾の有無等が記憶される。
背景反転記憶部82には、後述する設定部73により設定される反転修飾の内容の内、背景領域103を反転させる否かが記憶される。尚、デフォルト値としては、背景領域103を反転させる旨が記憶される。
特定区域反転記憶部83には、後述する設定部73により設定される反転修飾の内容の内、背景領域103に設定される特定区域104を反転させるか否かが記憶される。
装飾線反転記憶部84には、後述する設定部73により設定される反転修飾の内容の内、配置領域102に付加される装飾線を、配置領域102である背景に対応して反転させるか否かが記憶される。ここで装飾線とは、配置領域102に付加される線画であり、例えば抹消線や網掛け線等である。
【0034】
次に入力部71は、ユーザによりキーボード3から、または、インターフェースを介して外部と接続されたコンピュータから入力されたテーププリンタ1に印刷されるべき文字列をディスプレイ2に表示するとともに、文字列記憶部80に記憶する(図5のS140参照)。
【0035】
イメージデータ生成部72は、設定部73と、反転修飾指示手段である指示部74と、イメージ部75とを有している。
設定部73は、イメージ領域101に対する反転修飾の内容の設定を行う。具体的には、配置領域102を反転させるか否か、配置領域102を反転させるとして配置領域102に付加される装飾線を背景に対応して反転させるか否か、背景領域103を反転させるか否か、背景領域103に設定される特定区域104を反転させるか否かを設定する。つまり、配置領域102を反転させるか否かを修飾情報記憶部81に記憶させ、配置領域102に配置される装飾線を背景に対応して反転させるか否かを装飾線反転記憶部84に記憶させ、背景領域103を反転させるか否かを背景反転記憶部82に記憶させ、特定区域104を反転させるか否かを特定区域反転記憶部83に記憶させる(図6参照)。
指示部74は、修飾情報記憶部81に、イメージ領域101に対して反転修飾を行う旨が記憶されている場合に、後述するイメージ部75に対して反転されたイメージの生成を指示する(図7のS510参照)。
【0036】
イメージ部75は、反転部76を有し、文字列記憶部80に記憶されている文字列データの各文字データと修飾情報記憶部81とからイメージデータを生成する。ここでイメージデータの生成とは、文字のテキストコード、文字サイズ、フォントデータの種類等からROM62に記憶されているフォントデータを読み出すとともに、修飾情報記憶部81、背景反転記憶部82、特定区域反転記憶部83、及び装飾線反転記憶部84の記憶内容に指示に従って、RAM63のイメージバッファ上に実際の印刷に即したドットパターンデータを展開する作業である。このイメージバッファはイメージ領域101と等価の関係にある(図7参照)。
【0037】
反転部76は、イメージ部75からの指示によりイメージ領域101に対して反転修飾を行う。反転は、修飾情報記憶部81、背景反転記憶部82、特定区域反転記憶部83、及び装飾線反転記憶部84の記憶内容に従って配置領域102、背景領域103、及び特定区域104に対して個別に行い、その都度イメージバッファに配置する。つまり、配置領域102に関しては、修飾情報記憶部81に、反転修飾を行う旨が記憶され、且つ装飾線反転記憶部84に、配置領域102に付加される装飾線を背景に対応して反転させる旨が記憶されている場合は、後述する背景反転部78により反転を行った配置領域102のイメージを生成する。また、修飾情報記憶部81に、反転修飾を行う旨が記憶され、且つ装飾線反転記憶部84に、配置領域102に付加される装飾線を背景とは無関係にそのまま反転させる旨が記憶されている場合は、後述する通常反転部77により反転を行った配置領域102のイメージを生成する。その後、配置領域102のイメージをイメージバッファに配置する(図7のS530からS560参照)。
【0038】
背景領域103に関しては、背景反転記憶部82に、背景領域103を反転させる旨が記憶されていれば、通常反転部77により背景領域103の反転を行った背景領域103のイメージを生成し、それ以外の場合は反転を行わない背景領域103のイメージを生成する。その後、背景領域103のイメージをイメージバッファに配置する(図7のS570からS600参照)。
【0039】
特定区域104に関しては、特定区域反転記憶部83において、特定区域104を反転させる旨が記憶されていれば、通常反転部77により反転を行った特定区域104のイメージを生成し、それ以外の場合は反転を行わない特定区域104のイメージを生成する。その後、特定区域104のイメージをイメージバッファに配置する(図7のS610からS640参照)。
【0040】
通常反転部77は、修飾情報記憶部81に、反転修飾を行う旨が記憶され、且つ装飾線反転記憶部84に、配置領域102に付加される装飾線を背景とは無関係にそのまま反転させる旨が記憶されている場合に、反転部76から呼び出されて、配置領域102を反転させたイメージを生成する。また、背景反転記憶部82に、背景領域103を反転させる旨が記憶されている場合に、反転部76から呼び出されて、背景領域103を反転させたイメージを生成する。また、特定区域反転記憶部83に、特定区域104を反転させる旨が記憶されている場合に、反転部76から呼び出され、特定区域104を反転させたイメージを生成する。反転内容は、指定された領域が印刷部分(陰)であれば非印刷部分(陽)に、非印刷部分(陽)であれば印刷部分(陰)に反転させるものである。
背景反転部78は、修飾情報記憶部81に、反転修飾を行う旨が記憶され、且つ装飾線反転記憶部84に、配置領域102に付加される装飾線を背景に対応して反転させる旨が記憶されている場合に、反転部76から呼び出されて配置領域102に対して反転を行ったイメージを生成する。反転内容は、配置領域102を背景として、その背景上に付加される装飾線の内部を背景に応じて反転させる。つまり、装飾線に対応する背景が印刷部分(陰)であれば非印刷部分(陽)に、非印刷部分(陽)であれば印刷部分(陰)に反転させるものである。
【0041】
印刷実行部79は、イメージ部によりイメージバッファに生成されたイメージデータに基づいて、印刷テープ100の搬送と印刷ヘッド4とを制御し、印刷テープ100上に所望の文字を形成する。
【0042】
次に、本実施の形態に係るテーププリンタ1の処理手順について、図5を参照しつつ説明する。図5はテーププリンタ1の全体の処理手順を表したフローチャートである。テーププリンタ1に対する電源投入により制御装置が動作開始となる。まず、ステップS110(以下、S110と略す。以下のステップも同様)に移行してテーププリンタ1全体の初期化を行う。具体的には、CPU61、RAM63及びインターフェース66の動作チェックや初期化を行い、更にインターフェース66に接続されているディスプレイ2や印刷ヘッド4の動作チェックやハードウェアの初期化を行う、これらが完了すればディスプレイ2に操作画面を表示させる。その後S120に移行する。
【0043】
S120では、ユーザのキー入力を待つ。ユーザはディスプレイ2に表示された操作画面を見ながらキーボード3によりキー入力を行うことで文字列記憶部80に記憶される文字列の入力や、テーププリンタ1の操作が可能となる。テーププリンタ1は初期化完了時には文字列の入力が可能な状態で待機しており、ユーザは印刷対象となる文字列をキーボード3に配置される文章入力キーで入力することができる。また、入力待機状態においても印刷キー等の各種機能を呼び出す機能割付けキーを入力することで機能を呼び出すことができる。ユーザによりキーが入力されると、入力されたキーのキーコードをRAM63の作業エリアに記憶してS130に移行する。
【0044】
S130では、S120において入力されたキーのキーコードから、入力されたキーが文章入力キーか否か判断する。文章入力キーであれば(S130:YES)、S140に移行し、入力部71により文章入力の処理を行う。文章入力の処理とは、S120において、記憶されているキーコードからキーコードに対応しているテキストコードを導出し、そのテキストコードを文字データとして文字列記憶部80に格納するとともにディスプレイ2に入力内容を表示する作業である。テキスト入力の処理が完了すると再びS120に移行してユーザによるキー入力を待つ。
【0045】
S130において、S120で入力されたキーが文章入力キーでない場合は(S130:NO)、S150に移行し、S120において入力されたキーが反転設定キーか否か判断する。反転設定キーであれば(S150:YES)、S160に移行し、図6のフローチャートに示す反転設定を行う。反転設定は、設定部73により、反転修飾の内容を設定する作業である。反転設定が完了すると再びS120に移行してユーザによるキー入力を待つ。
【0046】
S150において、S120で入力されたキーが反転設定キーでない場合は(S150:NO)、S170に移行し、入力されたキーが印刷キーか否か判断する。印刷キーであれば(S170:YES)、S180に移行し、図7のフローチャートに示すイメージデータ生成を実行する。イメージデータ生成はイメージデータ生成部72により実行される。その後S190に移行し、S180のイメージ生成の結果に基づいて印刷実行部79により印刷を実行する。印刷が完了すると再びS120に移行してユーザによるキー入力を待つ。
【0047】
S170において、S120で入力されたキーが印刷キーでない場合は(S170:NO)、S200に移行し、その他の処理を実行する。その他の処理には印刷キー以外の機能呼び出しキーに対する各処理やカーソルキーの処理等が含まれる。その他の処理が完了すると再びS120に移行してユーザによるキー入力を待つ。テーププリンタ1の終了は、テーププリンタ1の電源スイッチを「OFF」にすることで実現される。
【0048】
次に、図5のS160である反転設定の処理手順について、図6を参照しつつ説明する。図6は反転設定の処理手順についてのフローチャートである。反転設定はユーザの設定内容に従い設定部73が行う。まず、S310に移行し、配置領域102を反転させるか否かを判断する。配置領域102を反転させない場合は(S310:NO)、S320に移行し、配置領域102を反転させない設定にする。具体的には、修飾情報記憶部81に反転修飾を行わない旨を記憶させる。その後、反転設定の処理手順である図6のフローチャートを終了して図5のフローチャートに戻り、S120に移行する。
S310において、配置領域102を反転させる場合は、S330に移行し、配置領域102において、配置領域102に付加された装飾線をそのまま反転させるか、配置領域102を背景として、背景に対応するように反転させるかを判断する。装飾線をそのまま反転させる場合は(S330:YES)、S340に移行し、装飾線をそのまま反転させる設定にする。具体的には、修飾情報記憶部81に反転修飾を行う旨を記憶し、装飾線反転記憶部84に、装飾線を背景とは無関係にそのまま反転させる旨を記憶させる。その後、S360に移行する。装飾線を背景に対応して反転させる場合は(S330:NO)、S350に移行し、背景に対応して反転させる設定にする。具体的には、修飾情報記憶部81に反転修飾を行う旨を記憶し、装飾線反転記憶部84に、装飾線を背景に対応して反転させる旨を記憶させる。その後、S360に移行する。
【0049】
S360は、背景領域103を反転させるか否かを判断する。背景領域103を反転させる場合は(S360:YES)、S370に移行し、背景反転記憶部82に、背景領域103を反転させる旨を記憶させる。その後S390に移行する。背景領域103を反転させない場合は(S360:NO)、S380に移行し、背景反転記憶部82に、背景領域103を反転させない旨を記憶させる。その後S390に移行する。
【0050】
S390は、特定区域104を反転させるか否かを判断する。特定区域104を反転させる場合は(S390:YES)、S400に移行し、特定区域反転記憶部83に、特定区域104を反転させる旨を記憶させる。その後、反転設定の処理手順である図6のフローチャートを終了して図5のフローチャートに戻り、S120に移行する。特定区域104を反転させない場合は(S390:NO)、S410に移行し、特定区域反転記憶部83に、特定区域104を反転させない旨を記憶させる。その後、反転設定の処理手順である図6のフローチャートを終了して図5のフローチャートに戻り、S120に移行する。
【0051】
次に、図5のS180であるイメージデータ生成の処理手順について、図7を参照しつつ説明する。図7はイメージデータ生成の処理手順についてのフローチャートである。まず、S510に移行し、配置領域102を反転するか否か判断する。配置領域102を反転するか否かの判断は、修飾情報記憶部81に反転修飾を行う旨が記憶されているか否かで決定する。配置領域102を反転しない場合、つまり修飾情報記憶部81に反転修飾を行う旨が記憶されていない場合は(S510:NO)、S520に移行し、反転修飾を行わずに、イメージ部75によりイメージ領域のイメージ発生を行う(図2(a),図2(b),図2(c)参照)。その後、イメージ生成の処理手順である図7のフローチャートを終了して図5のフローチャートに戻り、S190に移行し、印刷を実行する。
【0052】
S510において、配置領域102を反転する場合、つまり修飾情報記憶部81に反転修飾を行う旨が記憶されている場合は(S510:YES)、S530に移行し、配置領域102を背景として配置領域に付加される装飾線を背景に応じて反転させるか否かを判断する。装飾線を背景に応じて反転させるか否かの判断は、装飾線反転記憶部84の記憶内容によって決定される。装飾線反転記憶部84に、装飾線を背景とは無関係にそのまま反転させる旨が記憶されている場合は(S530:NO)、S540に移行し、通常反転部77により、装飾線を背景とは無関係にそのまま反転させる配置領域102のイメージを生成する(図2(j)参照)。その後S560に移行する。装飾線反転記憶部84に、装飾線を背景に応じて反転させる旨が記憶されている場合は(S530:YES)、S550に移行し、背景反転部78により、装飾線を背景に応じて反転させた配置領域102のイメージを生成する(図2(k)参照)。その後S560に移行する。S560では、S540またはS550において生成された配置領域102のイメージをイメージバッファに配置する。その後S570に移行する。
【0053】
S570は、背景領域103を反転させるか否かを判断する。背景領域103を反転させるか否かの判断は、背景反転記憶部82の記憶内容によって決定される。背景反転記憶部82に背景領域103を反転させない旨が記憶されている場合は(S570:NO)、S580に移行し、イメージ部75により、反転させない背景領域103のイメージを生成する(図2(g),図2(h)参照)。その後、S600に移行する。背景反転記憶部82に背景領域103を反転させる旨が記憶されている場合は(S570:YES)、S590に移行し、通常反転部77により、反転させた背景領域103のイメージを生成する(図2(d),図2(e),図2(f)参照)。その後S600に移行する。S600では、S580またはS590において生成された背景領域103のイメージをイメージバッファに配置する。その後、S610に移行する。
【0054】
S610は、特定区域104を反転させるか否かを判断する。特定区域104を反転させるか否かの判断は、特定区域反転記憶部83の記憶内容によって決定される。特定区域反転記憶部83に特定区域104を反転させない旨が記憶されている場合は(S610:NO)、S620に移行し、イメージ部75により、反転させない特定区域104のイメージを生成する(図3参照)。その後S640に移行する。特定区域反転記憶部83に特定区域104を反転させる旨が記憶されている場合は(S610:NO)、S630に移行し、通常反転部77により、反転させた特定区域104のイメージを生成する。その後S640に移行する。S640では、S620またはS630において生成された特定区域104のイメージをイメージバッファに配置する。その後、イメージ生成の処理手順である図7のフローチャートを終了して図5のフローチャートに戻り、S190に移行し、印刷を実行する。
【0055】
以上、説明したように、本実施の形態によると、イメージ領域101に対して、外枠線やアンダーライン等の文字修飾と、反転修飾とを重ねて行った場合に、配置領域102は反転修飾されるが、背景領域103は反転修飾されないようにすることができる。これにより、背景領域103にある外枠線やアンダーライン等の線画が印刷部分となるため、外枠線やアンダーライン等の線画と、外枠線やアンダーライン等の線画に近接するイメージ領域101外の非印刷部分とが混同されにくくなり、外枠線やアンダーライン等の線画の視認性が低下することがない。
【0056】
また、バーコードを特定区域104に設定すれば反転修飾されることがなく、バーコードが認識されないということがなくなる。
【0057】
また、背景領域103、及び特定区域104を反転するか否かは、設定部73により設定可能となるため、ユーザの意図に沿った修飾を行うことができる。
【0058】
また、抹消線や、網掛け等の文字修飾のように配置領域102に装飾線が付加される場合でも、装飾線が背景に応じて反転するため、配置領域102内の文字の視認性が低下することがない。
【0059】
以上、本発明の好適な実施の形態について説明したが、本発明は上述の実施の形態に限られるものではなく、特許請求の範囲に記載した限りにおいて様々な設計変更が可能なものである。例えば、上述の実施の形態では、反転修飾の際に、背景領域を反転するか否かがユーザにより設定可能な構成であるが、このような構成に限定されるものではなく、背景領域を常に反転しないように構成してもよい。
また、上述の実施の形態では、特定区域を配置することが可能な構成であるがこのような構成に限定されるものではなく、特定区域が存在しないような構成でもよい。
また、上述の実施の形態では、反転修飾の際に、配置領域に付加する装飾線を背景に応じて反転するか否かがユーザにより設定可能となる構成であるが、このような構成に限定されるものではなく、常に配置領域に付加する装飾線を背景に応じて反転させるような構成でもよい。
【0060】
また、上述の実施の形態は、イメージデータ生成装置がテーププリンタに組み込まれるように構成されたものであるが、このような構成に限定されるものではなく、テーププリンタ以外のプリンタに組み込まれてもよいし、プリンタに接続されたパーソナルコンピュータ上で構成されてもよい。また、印刷装置に限らずディスプレイ等、視覚的に表現される装置に組み込まれるような構成でもよい。
【図面の簡単な説明】
【図1】本発明の一実施の形態によるテーププリンタの外観図である。
【図2】図1に示すテーププリンタにより印刷された印刷物の例である。
【図3】図1に示すテーププリンタにより印刷された印刷物の例である。
【図4】図1に示すテーププリンタの内部構成を示すブロック図である。
【図5】図1に示すテーププリンタにおける全体の処理手順を表したフローチャートである。
【図6】図1に示すテーププリンタにおける反転設定の処理手順についてのフローチャートである。
【図7】図1に示すテーププリンタにおけるイメージデータ生成の処理手順を表したフローチャートである。
【符号の説明】
1 テーププリンタ
2 ディスプレイ
3 キーボード
4 印刷ヘッド
6 制御部
61 CPU
62 ROM
63 RAM
76 通常反転部
77 背景反転部
81 背景反転記憶部
82 特定区域反転記憶部
83 装飾線反転記憶部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image data generating apparatus and a program that can reverse-modify characters.
[0002]
[Prior art]
In recent years, with the diversification of expression methods on a screen or printed matter, various character decorations have been desired. In response, various character decorations, such as emphasized characters, italic characters, and bag characters, have been provided especially in printed materials. Regarding black-and-white inversion modification known for impactful character decoration, a method has been proposed in which black-and-white inverted font data is created from normal font data (see Patent Document 1).
By the way, in the black and white inversion modification, the visibility is often impaired due to factors that are not assumed at the time of font creation because the black and white is inverted.For example, if a character string with a different character size is changed to black and white inversion, it is inverted between characters with different character sizes. Since the background regions of the characters to be displayed are different, a uniform background cannot be formed between the character strings, and the visibility is reduced. Therefore, there has been proposed a method of performing black-and-white inversion modification with excellent visibility by determining an optimal character background area from all the character sizes of the character string to be black-and-white inverted (see Patent Document 2).
[0003]
[Patent Document 1]
JP-A-57-14054
[Patent Document 2]
Japanese Patent Publication No. 6-35190
[0004]
[Problems to be solved by the invention]
However, in the conventional black-and-white inversion modification method, when a character modification such as an outer frame line or an underline is overlapped with a black-and-white inversion modification, a line drawing such as an outer frame line or an underline is performed by the black-and-white inversion modification. Is a non-printing portion. This makes it easy to confuse the line drawing such as the outer frame line or the underline with the outer non-printed portion close to the line drawing such as the outer frame line or the underline. There is a problem that visibility is reduced.
[0005]
The present invention has been made in view of the above problems, and an image data generating apparatus that does not reduce the visibility of a line drawing such as an outer frame line or an underline even when another character modification and a reverse modification are performed in an overlapping manner. And to provide programs.
[0006]
Means for Solving the Problems and Effects of the Invention
In order to achieve the above object, an image data generating apparatus according to claim 1 is an image data generating apparatus that generates image data including characters in a dot pattern, wherein the image area includes an arrangement area where characters are arranged. Reversal modification instructing means for instructing a reversal modification for reversing the yin and yang of the image area, wherein when the inversion modification of the image area is instructed by the reversal modification instructing means, the reversal modification is in the image area and outside the arrangement area And inverting means for generating, in a dot pattern, image data in which the arrangement area is inverted, without inverting the background area.
The program according to claim 10, wherein the computer that generates the image data including the character in a dot pattern is configured to perform an inversion for inverting the inversion of the image area including one or more arrangement areas where the character is arranged. Decoration instructing means, and when the inversion modification of the image area is instructed by the inversion modification instructing means, the arrangement area is not inverted in the image area and the background area outside the arrangement area is inverted. It is characterized by functioning as an inversion means for generating image data obtained by inverting the yin and yang in a dot pattern.
[0007]
According to the first and tenth aspects, when a character modification such as an outer frame line or an underline and an inversion modification are performed on the image area in a superimposed manner, the arrangement area is inverted, but the background area is inverted. Is not inverted. As a result, a line drawing such as an outer frame line or an underline in the background area becomes a print portion, and therefore, a line drawing such as an outer frame line or an underline and a line drawing outside the image area close to the line drawing such as an outer frame line or an underline are formed. Non-printed portions are less likely to be confused, and the visibility of line drawings such as outer frame lines and underlines does not decrease.
[0008]
According to a second aspect of the present invention, in the image data generating apparatus according to the first aspect, at least one of an outer frame line, an underline, and a barcode area of a character is formed in the background area.
A program according to an eleventh aspect is characterized in that, in the tenth aspect, at least one of an outer frame line, an underline, and a barcode area of a character is formed in the background area.
According to the second and eleventh aspects, the visibility of the line drawing of the outer frame line and the underline does not decrease. In addition, the bar code is not recognized by the inversion modification.
[0009]
4. The image data generating apparatus according to claim 3, wherein the image data generating apparatus generates image data including characters in a dot pattern, and performs inversion modification for inverting the image area including the arrangement area where the characters are arranged. Inversion modification instructing means for instructing; background inversion storage means for rewritably storing whether or not to invert the yin and yang of a background area outside the placement area within the image area; and And inverting means for generating, in a dot pattern, image data in which the image area is inverted in accordance with the contents stored in the background inversion storage means when the inversion modification of the image area is instructed by the instruction means. It is characterized by having.
13. The program according to claim 12, wherein the computer that generates the image data including the characters in a dot pattern is configured to perform an inversion for inverting the image in which one or more arrangement regions in which the characters are arranged are inverted. Decoration instructing means, background inversion storage means for rewritably storing whether or not to invert the yin and yang of the background area in the image area and outside of the arrangement area; and When the inversion modification of the area is instructed, the image data is made to function as an inversion means for generating image data in which the image area is inverted in a dot pattern according to the storage contents of the background inversion storage means.
[0010]
According to the third and twelfth aspects, when a character modification such as an outer frame line or an underline and an inversion modification are performed on the image area in a superimposed manner, the arrangement area is inverted, but the background area is inverted. Can be prevented from being inverted. As a result, a line drawing such as an outer frame line or an underline in the background area becomes a print portion, and therefore, a line drawing such as an outer frame line or an underline and a line drawing outside the image area close to the line drawing such as an outer frame line or an underline are formed. Non-printed portions are less likely to be confused, and the visibility of line drawings such as outer frame lines and underlines does not decrease. In addition, since the user can select whether or not to invert the background region, the decoration can be performed according to the user's intention.
[0011]
According to a fourth aspect of the present invention, in the character image data generating apparatus according to the third aspect, at least one of an outer frame line and an underline is formed in the background area.
A program according to a thirteenth aspect is characterized in that, in the twelfth aspect, at least one of an outer frame line and an underline of a character is formed in the background area.
According to the fourth and thirteenth aspects, the visibility of the line drawing of the outer frame line or the underline does not decrease. Further, it is possible to modify the outer frame line and the underline according to the user's intention.
[0012]
According to a fifth aspect of the present invention, there is provided the image data generating apparatus according to the third or fourth aspect, wherein the storage content of the background inversion storage means does not invert the yin and yang of the background area by default.
According to a fourteenth aspect of the present invention, in the twelfth or thirteenth aspect, the storage content of the background inversion storage means does not invert the shade of the background area by default.
According to claims 5 and 14, it is preferable not to modify the background area in many cases, so that it is possible to save the user from having to reset the background area.
[0013]
The image data generation device according to claim 6, wherein the specific area inversion for storing rewritably whether or not to invert the yin and yang of the specific area in the background area according to any one of claims 3 to 5. A storage unit, wherein the inversion unit is configured to, when the inversion modification of the image area is instructed by the inversion modification instruction unit, store the image in accordance with the storage contents of the background inversion storage unit and the specific area inversion storage unit. It is characterized in that image data in which the area is inverted in the positive and negative directions is generated in a dot pattern.
The program according to claim 15 is the specific area inversion storage means according to any one of claims 12 to 14 for rewritably storing whether or not to invert the yin and yang of the specific area in the background area. Causing the computer to further function, wherein the inverting means, when the inversion modification of the image area is instructed by the inversion modification instructing means, according to the storage contents of the background inversion storage means and the specific area inversion storage means; It is characterized in that image data obtained by inverting the yin and yang are generated in a dot pattern.
[0014]
According to the sixth and fifteenth aspects, whether or not to invert the specific area can be selected by the user, so that the intention of the user can be met.
[0015]
According to a seventh aspect of the present invention, in the image data generating apparatus according to the sixth aspect, the specific area is a barcode area.
The program according to claim 16 is the program according to claim 15, wherein the specific area is a barcode area.
According to the seventh and sixteenth aspects, the bar code is not recognized by the reverse modification.
[0016]
The image data generation device according to claim 8, according to any one of claims 1 to 7, simply reverses the yin and yang of the decoration line added in the placement area or reverses the background of the decoration line. The apparatus further includes a decorative line inversion storage unit for rewritably storing whether to invert so as to form a yin and yang pattern, wherein the inversion unit is instructed to invert the image area by the inversion instructing unit. In addition, image data in which the image area is inverted in the negative and positive directions according to the storage contents of the decorative line inversion storage means is generated in a dot pattern.
According to claim 17, in any one of claims 10 to 16, the yin and yang of the decoration line added in the placement area is simply inverted or the yin and yang pattern is opposite to the background of the decoration line. The computer further functions as a decoration line inversion storage unit for rewritably storing whether or not to invert the image area, and the inversion unit performs the decoration when the inversion modification of the image area is instructed by the inversion modification instructing unit. It is characterized in that image data in which the image area is inverted in the positive and negative directions according to the storage contents of the line inversion storage means is generated in a dot pattern.
[0017]
According to the eighth and seventeenth aspects, it is possible to enhance the visibility of the decorative line in the arrangement area according to the user's preference.
[0018]
According to a ninth aspect of the present invention, in the image data generating apparatus according to the eighth aspect, the decoration line is at least one of a character erasure line and a hatched line.
The program according to claim 18 is the program according to claim 17, wherein the decorative line is at least one of a character erasure line and a hatched line.
According to the ninth and eighteenth aspects, the visibility of the erasure line or the hatched line does not decrease even if the erasure line or the hatch decoration is overlapped with the inversion decoration.
[0019]
The program described in claims 10 to 18 can be recorded on a removable recording medium such as a CD-ROM, an FD, and an MO, or a fixed recording medium such as a hard disk, and can be distributed. It can be distributed by a telecommunication means via a communication network such as the Internet.
[0020]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an external view of a tape printer 1 in which an image data generation device according to an embodiment of the present invention is incorporated. The tape printer 1 prints a character string input by a user on a printing tape which is housed in a tape cassette, and on which a peelable sheet and an adhesive print-receiving sheet having a backside pre-coated with an adhesive are peelably overlapped. Is a capable printer. As shown in FIG. 1, a display 2 and a keyboard 3 are arranged on the front surface of the tape printer 1. Inside the door at the rear of the tape printer 1, a print head 4 (see FIG. 3) and a cassette mounting section (not shown) are arranged. A print tape as a print medium of the tape printer 1 is detachably mounted in a cassette mounting portion while being stored in a tape cassette.
[0021]
Next, the printed matter printed by the tape printer 1 will be described with reference to FIG. FIG. 2 is an example of a printed matter printed by the tape printer 1. FIG. 2A is a print example when the character “A” is printed on the print tape 100. As shown in FIG. 2A, an image area 101 indicated by a broken line is arranged on the print tape 100 for convenience. The image area 101 is a printable area partitioned into a rectangular shape that fits on the printing tape 100, and is not printed in an area other than the image area 101. In the image area 101, an arrangement area 102 indicated by a broken line is arranged for convenience. In the arrangement area 102, characters 105 are arranged. The background area 103 is an area obtained by removing the arrangement area 102 from the image area 101. In the background area 103, line drawings such as an outer frame line and an underline for modifying the image area 101 are arranged.
[0022]
The tape printer 1 can perform various decorations on the image area 101 in addition to simply printing only characters as shown in FIG. For example, as shown in FIG. 2B, the outer frame is modified by placing an outer frame in the background area 103, or the underline is arranged in the background area 103 as shown in FIG. 2C. Modifications can be made.
[0023]
Further, the tape printer 1 can perform the reverse decoration on the image area 101. Inversion modification is a decoration in which a printed portion (shade) is inverted to a non-printed portion (positive) and a non-printed portion (positive) is inverted to a printed portion (shade). For example, FIG. 2D illustrates a print example in which the image area 101 in FIG. As shown in FIG. 2D, a character having an impact can be expressed by the reverse modification. FIG. 2E shows a print example in which the image area 101 in FIG. 2B is subjected to inversion modification, and a print example in which the image area 101 in FIG. 2C is subjected to inversion modification. An example is shown in FIG. However, as shown in FIGS. 2E and 2F, the non-printed portion of the outer frame line and the underline arranged in the background region 103 is close to the non-printed portion further outside the image region 101. Therefore, the visibility of the outer frame line and the underline is reduced.
[0024]
Therefore, the tape printer 1 can perform the inversion modification without inverting the background area 103 while inverting the arrangement area 102 by the setting. FIG. 2G is a print example in which the image area 101 in FIG. 2B is subjected to inversion modification without inverting the background area 103 while inverting the arrangement area 102, and FIG. FIG. 2H illustrates a print example in which the area 101 is inverted and the arrangement area 102 is inverted and the background area 103 is not inverted. As shown in FIGS. 2 (g) and 2 (h), when the layout modification is performed on the image area 101 without reversing the background area 103 while reversing the arrangement area 102, the outer frame line and underline are visually recognized. Sex does not decrease.
[0025]
Further, the tape printer 1 can be modified to add a decorative line such as an erasing line to the arrangement area 102. FIG. 2I shows a print example in which the arrangement area 102 in FIG. As shown in FIG. 2 (i), since the underline modification and the strike-through modification are performed in an overlapping manner, the underline is arranged in the background area 103 and the strike-through is added to the arrangement area 102. In addition, underline modification, strike-through modification, and inversion modification can be performed in an overlapping manner. FIG. 2 (j) shows a print example in which the image area 101 in FIG. 2 (i) is subjected to inversion modification in which the arrangement area 102 is inverted and the background area 103 is not inverted. Further, in the case where the decoration for adding a decorative line to the placement area 102 and the reverse decoration are performed in a superimposed manner, such as a strike-through modification, the decorative line is partially set corresponding to the background area 102 serving as the background of the decorative line. It is possible to invert it. FIG. 2 (k) shows a print example in which the image area 101 in FIG. 2I is subjected to inversion modification in which the arrangement area 102 is inverted, the background area 103 is not inverted, and the strike-through line is inverted according to the background. ). As shown in FIG. 2 (k), the visibility of the erasure line does not decrease because the erasure line is inverted according to the background.
[0026]
Further, it is possible to arrange the specific area 104 in the background area 103. Then, when performing the inversion modification on the image area 101, it is possible to set whether or not the specific area 104 is to be inverted. FIG. 3 illustrates an image area 101 in which two arrangement areas 102 in which the character “A” is arranged and a specific area 104 in which a barcode is arranged are arranged between the two character areas 102. This is a print example in which the outer frame line modification and the inversion modification that does not invert the background area 103 are overlapped.
As described above, the tape printer 1 is a printer capable of printing printed matter as shown in FIGS. 2A to 2K and FIG.
[0027]
Next, the internal configuration of the tape printer 1 will be described with reference to FIG. FIG. 4 is a block diagram showing the internal configuration of the tape printer 1 according to the present embodiment. The tape printer 1 has a display 2, a keyboard 3, a print head 4, a control unit 6, and a cassette mounting unit (not shown). The display 2 includes a graphic liquid crystal panel 21 and a liquid crystal panel controller 22. The graphic liquid crystal panel 21 is capable of graphic display, and can freely display various designs and font shapes and sizes of characters. The liquid crystal panel controller 22 is an IC that controls the graphic liquid crystal panel 21. The CPU 61 provided in the control unit 6 inputs a prescribed command to the liquid crystal panel controller 22 via the interface unit 66, and The display contents can be controlled.
[0028]
The keyboard 3 is arranged on the surface of the tape printer 1 and has a text input key for inputting characters to be printed, a cursor key for moving a cursor, and a function assignment key (an inversion setting key, Print key).
[0029]
The print head 4 is arranged at a position corresponding to a head accommodating section provided inside a tape cassette accommodating a print tape in the cassette mounting section. In the print head 4, a large number of heating elements electrically controlled by the control unit 6 are arranged along the width direction of the print tape. Thereby, a character string can be printed in a dot pattern on a printing tape.
[0030]
The control unit 6 includes a CPU (Central Processing Unit) 61, a ROM (Read Only Memory) 62, a RAM (Random-Access Memory) 63, an interface unit 66, and a data bus 65. The CPU 61 performs arithmetic processing according to various commands. In the ROM 62, the CPU 61 implements the functional units shown in FIG. 3 to operate the flowcharts shown in FIGS. 4 to 11, and includes graphic data such as font data of characters and image data of outer frame lines for modifying printed characters. Data and various data necessary for executing the program are stored. The RAM 63 is a volatile memory having a temporary storage area for data used when the CPU 61 executes a program, such as a work area and an image buffer.
[0031]
The interface unit 66 is a connection unit that directly and indirectly electrically connects the device separated as a module and the control unit. The data bus 65 is a data transfer line group that electrically connects the CPU 61, the ROM 62, the RAM 63, and the interface unit 66, respectively. All the transfer data in the control unit is transferred via the data bus 65.
[0032]
Next, functions of the tape printer 1 will be described. The tape printer 1 includes a character string storage unit 80 as a character string storage unit including a RAM 63, a background inversion storage unit 82 as a background inversion storage unit, and a specific area inversion storage unit 83 as a specific area inversion storage unit. , A decoration line inversion storage unit 84 as decoration line inversion storage means, an input unit 71 constituted by the CPU 61, an image data generation unit 72 as an image data generation device, and a print execution unit 79.
[0033]
The character string storage unit 80 stores character string data to be printed on a print tape and character string data input from the user via the keyboard 3 or the like by an input unit 71 described later. The character string data includes a text code for specifying each character, a character size, a type of font data, and the like.
The decoration information storage unit 81 stores information on a decoration method for the image area 101. Specifically, the positions of the outer frame line, the underline, the erasure line, and the like, the type of the shape, and the presence / absence of the inversion modification regarding the arrangement area 102 are stored.
The background inversion storage unit 82 stores whether or not to invert the background area 103 among the contents of the inversion modification set by the setting unit 73 described later. Note that the fact that the background area 103 is inverted is stored as the default value.
The specific area inversion storage unit 83 stores whether or not to invert the specific area 104 set in the background area 103 from the contents of the inversion modification set by the setting unit 73 described later.
The decoration line inversion storage unit 84 determines whether or not the decoration line to be added to the arrangement area 102 in the content of the inversion modification set by the setting unit 73, which will be described later, is inverted according to the background that is the arrangement area 102. Is stored. Here, the decorative line is a line drawing added to the arrangement area 102, and is, for example, an erasing line or a hatched line.
[0034]
Next, the input unit 71 displays a character string to be printed on the tape printer 1 by the user from the keyboard 3 or from a computer connected to the outside via an interface on the display 2 and stores the character string. It is stored in the unit 80 (see S140 in FIG. 5).
[0035]
The image data generation unit 72 includes a setting unit 73, an instruction unit 74 that is an inversion modification instruction unit, and an image unit 75.
The setting unit 73 sets the content of the reverse decoration for the image area 101. More specifically, whether to invert the arrangement area 102, whether to invert the decoration line added to the arrangement area 102 as the arrangement area 102 is inverted, and whether to invert the background area 103 Whether or not to invert the specific area 104 set in the background area 103 is set. That is, the decoration information storage unit 81 stores whether or not the arrangement area 102 is inverted, and the decoration line inversion storage unit 84 stores whether or not the decoration line arranged in the arrangement area 102 is inverted corresponding to the background. Then, whether or not the background area 103 is to be inverted is stored in the background inversion storage unit 82, and whether or not the specific area 104 is to be inverted is stored in the specific area inversion storage unit 83 (see FIG. 6).
The instruction unit 74 instructs the image unit 75 to be described later to generate an inverted image when the decoration information storage unit 81 stores the effect of performing the inversion modification on the image area 101 (FIG. 7 S510).
[0036]
The image section 75 has an inversion section 76 and generates image data from each character data of the character string data stored in the character string storage section 80 and the decoration information storage section 81. Here, the generation of image data means reading out font data stored in the ROM 62 from the text code of the character, the character size, the type of font data, etc., and furthermore, the decoration information storage unit 81, the background inversion storage unit 82, the specific area inversion This is an operation of developing dot pattern data suitable for actual printing on the image buffer of the RAM 63 in accordance with instructions stored in the storage unit 83 and the decoration line inversion storage unit 84. This image buffer is equivalent to the image area 101 (see FIG. 7).
[0037]
The reversing unit 76 performs reversal modification on the image area 101 according to an instruction from the image unit 75. The inversion is individually performed on the arrangement area 102, the background area 103, and the specific area 104 according to the storage contents of the decoration information storage unit 81, the background inversion storage unit 82, the specific area inversion storage unit 83, and the decoration line inversion storage unit 84. And place it in the image buffer each time. That is, for the arrangement area 102, the effect that the inversion modification is performed is stored in the decoration information storage unit 81, and the decoration line added to the arrangement area 102 is inverted in the decoration line inversion storage unit 84 in correspondence with the background. If the information is stored, an image of the arrangement area 102 that has been inverted by the background inversion unit 78 described later is generated. The decoration information storage unit 81 stores the effect of performing the inversion modification, and the decoration line inversion storage unit 84 stores that the decoration line added to the arrangement area 102 is inverted as it is regardless of the background. If there is, an image of the arrangement area 102 inverted by the normal inverting unit 77 described later is generated. Thereafter, the image in the arrangement area 102 is arranged in the image buffer (see S530 to S560 in FIG. 7).
[0038]
As to the background area 103, if the background inversion storage unit 82 stores the fact that the background area 103 is to be inverted, an image of the background area 103 in which the background area 103 has been inverted by the normal inversion unit 77 is generated. Otherwise, an image of the background area 103 that is not inverted is generated. Thereafter, the image of the background area 103 is arranged in the image buffer (see S570 to S600 in FIG. 7).
[0039]
With respect to the specific area 104, if the specific area 104 is stored in the specific area inversion storage unit 83, the image of the specific area 104 inverted by the normal inversion unit 77 is generated. Generates an image of a specific area 104 without inversion. Thereafter, the image of the specific area 104 is arranged in the image buffer (see S610 to S640 in FIG. 7).
[0040]
The normal reversing unit 77 stores the effect of performing the inversion modification in the decoration information storage unit 81, and instructs the decoration line inversion storage unit 84 to invert the decoration line added to the arrangement area 102 as it is regardless of the background. Is stored in the storage unit 102, and is called from the reversing unit 76 to generate an image in which the arrangement area 102 is reversed. When the background inversion storage unit 82 stores information to invert the background area 103, the image is called from the inversion unit 76 to generate an image in which the background area 103 is inverted. When the specific area 104 is stored in the specific area inversion storage unit 83, the image is called from the inversion unit 76 to generate an image in which the specific area 104 is inverted. The inversion content is to invert the designated area to a non-printed part (positive) if it is a printed part (shade) and to a printed part (negative) if it is a non-printed part (positive).
The background reversing unit 78 stores the effect of performing the inversion modification in the decoration information storage unit 81, and instructs the decoration line inversion storage unit 84 to invert the decoration line added to the arrangement area 102 in correspondence with the background. If it is stored, it is called from the reversing unit 76 to generate an image in which the placement area 102 is reversed. The inversion content is to invert the interior of the decoration line added on the background with the arrangement area 102 as the background according to the background. That is, if the background corresponding to the decorative line is a printed portion (shadow), it is inverted to a non-printed portion (positive), and if the background is not a printed portion (positive), it is inverted to a printed portion (shade).
[0041]
The print execution unit 79 controls the conveyance of the print tape 100 and the print head 4 based on the image data generated in the image buffer by the image unit, and forms desired characters on the print tape 100.
[0042]
Next, a processing procedure of the tape printer 1 according to the present embodiment will be described with reference to FIG. FIG. 5 is a flowchart showing the overall processing procedure of the tape printer 1. When the power supply to the tape printer 1 is turned on, the control device starts operating. First, the process proceeds to step S110 (hereinafter abbreviated as S110; the same applies to the following steps) to initialize the entire tape printer 1. Specifically, the operation check and initialization of the CPU 61, the RAM 63, and the interface 66 are performed, and the operation check of the display 2 and the print head 4 connected to the interface 66 and the hardware initialization are performed. For example, an operation screen is displayed on the display 2. Then, the process proceeds to S120.
[0043]
In S120, the process waits for a key input by the user. The user can input a character string stored in the character string storage unit 80 and operate the tape printer 1 by performing key input using the keyboard 3 while looking at the operation screen displayed on the display 2. When the initialization is completed, the tape printer 1 is on standby in a state where a character string can be input, and the user can input a character string to be printed using a text input key arranged on the keyboard 3. Also, in the input standby state, functions can be called by inputting a function assignment key for calling various functions such as a print key. When a key is input by the user, the key code of the input key is stored in the work area of the RAM 63, and the process proceeds to S130.
[0044]
In S130, it is determined from the key code of the key input in S120 whether the input key is a text input key. If the key is a text input key (S130: YES), the process proceeds to S140, and the input unit 71 performs text input processing. The text input processing is to derive a text code corresponding to the key code from the stored key code in S120, store the text code as character data in the character string storage unit 80, and input the text code to the display 2. This is the operation to display the contents. When the text input processing is completed, the process returns to S120 to wait for a key input by the user.
[0045]
In S130, if the key input in S120 is not a text input key (S130: NO), the process proceeds to S150, and it is determined whether the key input in S120 is an inversion setting key. If the key is the inversion setting key (S150: YES), the flow shifts to S160 to perform the inversion setting shown in the flowchart of FIG. The inversion setting is an operation of setting the content of the inversion modification by the setting unit 73. When the inversion setting is completed, the process returns to S120 to wait for a key input by the user.
[0046]
In S150, if the key input in S120 is not the inversion setting key (S150: NO), the process proceeds to S170, and it is determined whether the input key is a print key. If it is a print key (S170: YES), the flow shifts to S180 to execute image data generation shown in the flowchart of FIG. The image data generation is performed by the image data generation unit 72. Thereafter, the flow shifts to S190, where printing is executed by the print execution unit 79 based on the result of the image generation in S180. When printing is completed, the process returns to S120 to wait for a key input by the user.
[0047]
In S170, if the key input in S120 is not the print key (S170: NO), the flow shifts to S200 to execute other processing. Other processes include processes for function call keys other than the print key, cursor key processes, and the like. When other processes are completed, the process returns to S120 to wait for a key input by the user. The termination of the tape printer 1 is realized by turning off the power switch of the tape printer 1.
[0048]
Next, the processing procedure of the inversion setting in S160 of FIG. 5 will be described with reference to FIG. FIG. 6 is a flowchart illustrating the processing procedure of the inversion setting. The inversion setting is performed by the setting unit 73 according to the setting contents of the user. First, the process proceeds to S310, and it is determined whether or not the arrangement area 102 is to be inverted. If the arrangement area 102 is not to be inverted (S310: NO), the process proceeds to S320, and the setting is made so that the arrangement area 102 is not inverted. Specifically, the fact that reverse inversion is not performed is stored in the decoration information storage unit 81. Thereafter, the flow chart of FIG. 6, which is the processing procedure of the inversion setting, ends, the flow returns to the flow chart of FIG. 5, and the process proceeds to S120.
In S310, when the arrangement area 102 is inverted, the process proceeds to S330, and in the arrangement area 102, the decoration line added to the arrangement area 102 is inverted as it is or the arrangement area 102 is set as a background so as to correspond to the background. Determine whether to flip. If the decorative line is to be inverted as it is (S330: YES), the process proceeds to S340, and the decorative line is set to be inverted as it is. Specifically, the effect that the inversion modification is performed is stored in the decoration information storage unit 81, and the effect that the decoration line is inverted as it is regardless of the background is stored in the decoration line inversion storage unit 84. Thereafter, the flow shifts to S360. If the decorative line is to be inverted corresponding to the background (S330: NO), the process proceeds to S350, and the setting is made such that the decorative line is inverted corresponding to the background. Specifically, the effect that the inversion modification is performed is stored in the decoration information storage unit 81, and the effect that the decoration line is to be inverted corresponding to the background is stored in the decoration line inversion storage unit 84. Thereafter, the flow shifts to S360.
[0049]
In S360, it is determined whether or not the background area 103 is to be inverted. If the background area 103 is to be inverted (S360: YES), the process proceeds to S370, and the fact that the background area 103 is to be inverted is stored in the background inversion storage unit 82. Thereafter, the flow shifts to S390. If the background area 103 is not to be inverted (S360: NO), the process proceeds to S380, and the fact that the background area 103 is not inverted is stored in the background inversion storage unit 82. Thereafter, the flow shifts to S390.
[0050]
In S390, it is determined whether or not the specific area 104 is to be reversed. If the specific area 104 is to be inverted (S390: YES), the process proceeds to S400, and the specific area 104 is stored in the specific area inversion storage unit 83. Thereafter, the flow chart of FIG. 6, which is the processing procedure of the inversion setting, ends, the flow returns to the flow chart of FIG. 5, and the process proceeds to S120. If the specific area 104 is not to be inverted (S390: NO), the process proceeds to S410, and the specific area 104 is stored in the specific area inversion storage unit 83 indicating that the specific area 104 is not to be inverted. Thereafter, the flow chart of FIG. 6, which is the processing procedure of the inversion setting, ends, the flow returns to the flow chart of FIG. 5, and the process proceeds to S120.
[0051]
Next, the processing procedure of image data generation in S180 of FIG. 5 will be described with reference to FIG. FIG. 7 is a flowchart of a processing procedure for generating image data. First, the process proceeds to S510, and it is determined whether or not the arrangement area 102 is to be inverted. The determination as to whether or not to invert the placement area 102 is made based on whether or not the effect of performing the inversion modification is stored in the modification information storage unit 81. If the placement area 102 is not inverted, that is, if the effect of performing the inversion modification is not stored in the decoration information storage unit 81 (S510: NO), the process proceeds to S520, and the image unit 75 outputs the image without performing the inversion modification. An image of the area is generated (see FIGS. 2A, 2B, and 2C). Thereafter, the flow chart of FIG. 7, which is the image generation processing procedure, ends, and the flow returns to the flow chart of FIG.
[0052]
In S510, when the arrangement area 102 is inverted, that is, when the effect that the inversion modification is to be performed is stored in the decoration information storage unit 81 (S510: YES), the process proceeds to S530, and the arrangement area is set as the background with the arrangement area 102 as the background. It is determined whether or not the decoration line to be added is inverted according to the background. The determination as to whether or not the decoration line is to be inverted according to the background is determined by the storage contents of the decoration line inversion storage unit 84. If the decoration line inversion storage unit 84 stores that the decoration line is to be inverted as it is regardless of the background (S530: NO), the process proceeds to S540, and the normal inversion unit 77 sets the decoration line to the background. An image of the arrangement area 102 to be inverted as it is regardless is generated (see FIG. 2 (j)). Thereafter, the flow shifts to S560. If the decoration line inversion storage unit 84 stores that the decoration line is to be inverted according to the background (S530: YES), the process proceeds to S550, and the decoration line is inverted by the background inversion unit 78 according to the background. An image of the arranged arrangement region 102 is generated (see FIG. 2 (k)). Thereafter, the flow shifts to S560. In S560, the image of the arrangement area 102 generated in S540 or S550 is arranged in the image buffer. Thereafter, the flow shifts to S570.
[0053]
A step S570 decides whether or not the background area 103 is to be inverted. The determination as to whether or not to invert the background area 103 is determined by the contents stored in the background inversion storage unit 82. If it is stored in the background inversion storage unit 82 that the background area 103 is not to be inverted (S570: NO), the process proceeds to S580, and the image unit 75 generates an image of the background area 103 that is not to be inverted (FIG. g), FIG. 2 (h)). Then, the process proceeds to S600. If the background inversion storage unit 82 stores information to invert the background area 103 (S570: YES), the process proceeds to S590, and the normal inversion unit 77 generates an image of the inverted background area 103 (FIG. 2 (d), 2 (e) and 2 (f)). After that, the processing shifts to S600. In S600, the image of the background area 103 generated in S580 or S590 is arranged in the image buffer. Then, the process proceeds to S610.
[0054]
In step S610, it is determined whether or not the specific area 104 is to be reversed. The determination as to whether or not to invert the specific area 104 is determined based on the contents stored in the specific area inversion storage unit 83. If the specific area inversion storage unit 83 stores information that the specific area 104 is not to be inverted (S610: NO), the process proceeds to S620, and the image unit 75 generates an image of the specific area 104 that is not to be inverted (FIG. 3). reference). Thereafter, the flow shifts to S640. If the specific area 104 is stored in the specific area inversion storage unit 83 (S610: NO), the process proceeds to S630, and the normal inverting unit 77 generates an inverted image of the specific area 104. Thereafter, the flow shifts to S640. In S640, the image of the specific area 104 generated in S620 or S630 is placed in the image buffer. Thereafter, the flow chart of FIG. 7, which is the image generation processing procedure, ends, and the flow returns to the flow chart of FIG.
[0055]
As described above, according to the present embodiment, when the character modification such as the outer frame line or the underline and the inversion modification are performed on the image region 101 in a superimposed manner, the arrangement region 102 becomes the inversion modification. However, the background area 103 can be prevented from being inverted. As a result, a line drawing such as an outer frame line or an underline in the background area 103 becomes a printed portion. Therefore, a line drawing such as an outer frame line or an underline and an image area 101 close to the line drawing such as an outer frame line or an underline are obtained. It is less likely to be confused with the outer non-printed portion, and the visibility of a line image such as an outer frame line or an underline is not reduced.
[0056]
Further, if the barcode is set in the specific area 104, the barcode is not inverted and the barcode is not recognized.
[0057]
Further, whether or not to invert the background area 103 and the specific area 104 can be set by the setting unit 73, so that the decoration can be performed according to the user's intention.
[0058]
Further, even when a decoration line is added to the arrangement area 102 as in the case of a character modification such as a strike-through line or shading, the visibility of the characters in the arrangement area 102 is reduced because the decoration line is inverted according to the background. I can't.
[0059]
The preferred embodiment of the present invention has been described above. However, the present invention is not limited to the above-described embodiment, and various design changes can be made within the scope of the appended claims. For example, in the above-described embodiment, the configuration is such that the user can set whether or not to invert the background area during the inversion modification. However, the present invention is not limited to such a configuration. You may comprise so that it may not be inverted.
Further, in the above-described embodiment, the configuration is such that the specific area can be arranged. However, the present invention is not limited to such a configuration, and a configuration in which the specific area does not exist may be used.
Further, in the above-described embodiment, the configuration is such that the user can set whether or not to invert the decorative line added to the arrangement area according to the background at the time of the inversion modification. Instead, the decorative line added to the arrangement area may always be inverted according to the background.
[0060]
In the above-described embodiment, the image data generating device is configured to be incorporated in a tape printer. However, the present invention is not limited to such a configuration, and the image data generating device is incorporated in a printer other than a tape printer. Alternatively, it may be configured on a personal computer connected to a printer. Further, the present invention is not limited to the printing apparatus, and may be configured to be incorporated in a visually expressed device such as a display.
[Brief description of the drawings]
FIG. 1 is an external view of a tape printer according to an embodiment of the present invention.
FIG. 2 is an example of a printed matter printed by the tape printer shown in FIG.
FIG. 3 is an example of a printed matter printed by the tape printer shown in FIG. 1;
FIG. 4 is a block diagram showing an internal configuration of the tape printer shown in FIG.
FIG. 5 is a flowchart showing an overall processing procedure in the tape printer shown in FIG.
FIG. 6 is a flowchart illustrating a processing procedure of a reverse setting in the tape printer illustrated in FIG. 1;
FIG. 7 is a flowchart illustrating a processing procedure for generating image data in the tape printer illustrated in FIG. 1;
[Explanation of symbols]
1 Tape printer
2 Display
3 keyboard
4 Print head
6 control unit
61 CPU
62 ROM
63 RAM
76 Normal reversing part
77 Background Inverter
81 Background Inversion Storage
82 Specific area reverse storage
83 Decoration line inversion storage unit

Claims (18)

文字を含むイメージデータをドットパターンで生成するイメージデータ生成装置であって、
文字が配置される配置領域を含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段と、
前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させずに前記配置領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段とを備えていることを特徴とするイメージデータ生成装置。
An image data generation device that generates image data including characters in a dot pattern,
Inversion modification instructing means for instructing the inversion modification to invert the yin and yang of the image area including the arrangement area where the characters are arranged,
When the inversion modification of the image area is instructed by the inversion modification instructing means, the inversion of the arrangement area is reversed without inverting the inversion of the background area in the image area and outside the arrangement area. An image data generation apparatus, comprising: inversion means for generating image data in a dot pattern.
文字の外枠線、アンダーライン、及びバーコード区域の少なくともいずれか一つが前記背景領域に形成されることを特徴とする請求項1に記載のイメージデータ生成装置。The image data generating apparatus according to claim 1, wherein at least one of an outer frame line, an underline, and a barcode area of the character is formed in the background area. 文字を含むイメージデータをドットパターンで生成するイメージデータ生成装置であって、
文字が配置される配置領域を含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段と、
前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させるか否かを書換可能に記憶するための背景反転記憶手段と、
前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段とを備えていることを特徴とするイメージデータ生成装置。
An image data generation device that generates image data including characters in a dot pattern,
Inversion modification instructing means for instructing the inversion modification to invert the yin and yang of the image area including the arrangement area where the characters are arranged,
Background inversion storage means for rewritably storing whether or not to invert the yin and yang of the background area within the image area and outside the arrangement area;
Inverting means for generating, in a dot pattern, image data in which the image area is inverted in accordance with the stored contents of the background inversion storage means when the inversion modification of the image area is instructed by the inversion modification instructing means. An image data generation device, comprising:
文字の外枠線及びアンダーラインの少なくともいずれか一方が前記背景領域に形成されることを特徴とする請求項3に記載のイメージデータ生成装置。4. The image data generation device according to claim 3, wherein at least one of an outer frame line and an underline of a character is formed in the background area. 前記背景反転記憶手段の記憶内容はデフォルトにおいて前記背景領域の陰陽を反転させないとなっていることを特徴とする請求項3又は4に記載のイメージデータ生成装置。5. The image data generating apparatus according to claim 3, wherein the storage content of said background inversion storage means does not invert the yin and yang of said background area by default. 前記背景領域内の特定区域の陰陽を反転させるか否かを書換可能に記憶するための特定区域反転記憶手段をさらに備えており、
前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段及び前記特定区域反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することを特徴とする請求項3〜5のいずれか1項に記載のイメージデータ生成装置。
It further includes a specific area inversion storage means for rewritably storing whether to invert the yin and yang of the specific area in the background area,
The inversion means, when the inversion modification of the image area is instructed by the inversion modification instructing means, an image obtained by inverting the image area in accordance with the contents stored in the background inversion storage means and the specific area inversion storage means. The image data generation device according to claim 3, wherein the data is generated in a dot pattern.
前記特定区域がバーコード区域であることを特徴とする請求項6に記載のイメージデータ生成装置。The apparatus of claim 6, wherein the specific area is a barcode area. 前記配置領域内に付加された装飾線の陰陽を単純反転させるか又は前記装飾線の背景と逆の陰陽パターンとなるように反転させるかを書換可能に記憶するための装飾線反転記憶手段をさらに備えており、
前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記装飾線反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することことを特徴とする請求項1〜7のいずれか1項に記載のイメージデータ生成装置。
A decoration line inversion storage means for rewritably storing whether the decoration line added in the arrangement area is simply inverted or inverted so as to have a pattern opposite to the background of the decoration line; Equipped,
The inversion means generates, when a reversal modification of the image area is instructed by the inversion modification instructing means, image data in which the image area is inverted in a dot pattern according to the storage content of the decorative line inversion storage means. The image data generating apparatus according to claim 1, wherein the image data generating apparatus performs the processing.
前記装飾線が文字の抹消線及び網掛けの少なくともいずれか一方であることを特徴とする請求項8に記載のイメージデータ生成装置。9. The image data generation device according to claim 8, wherein the decoration line is at least one of a character erasure line and a shaded character. 文字を含むイメージデータをドットパターンで生成するコンピュータを、
文字が配置される配置領域を一又は複数含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段、及び、
前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させずに前記配置領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段として機能させることを特徴とするプログラム。
A computer that generates image data containing characters in a dot pattern
Inversion modification instructing means for instructing the inversion modification to invert the yin and yang of the image region including one or more arrangement regions in which the characters are arranged, and
When the inversion modification of the image area is instructed by the inversion modification instructing means, the inversion of the arrangement area is reversed without inverting the inversion of the background area in the image area and outside the arrangement area. A program for causing image data to function as inversion means for generating a dot pattern.
文字の外枠線、アンダーライン、及びにバーコード区域の少なくともいずれか一つが前記背景領域に形成されることを特徴とする請求項10に記載のプログラム。The program according to claim 10, wherein at least one of an outer frame line, an underline, and a barcode area of a character is formed in the background area. 文字を含むイメージデータをドットパターンで生成するコンピュータを、
文字が配置される配置領域を一又は複数含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段、
前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させるか否かを書換可能に記憶するための背景反転記憶手段、及び、
前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段として機能させることを特徴とするプログラム。
A computer that generates image data containing characters in a dot pattern
Inversion modification instructing means for instructing the inversion modification to invert the yin and yang of the image area including one or more arrangement areas where the characters are arranged,
Background inversion storage means for rewritably storing whether to invert the yin and yang of the background area in the image area and outside the arrangement area, and
When inversion modification of the image area is instructed by the inversion modification instructing means, as inversion means for generating a dot pattern of image data in which the image area is inverted in accordance with the contents stored in the background inversion storage means. A program characterized by functioning.
文字の外枠線及びアンダーラインの少なくともいずれか一方が前記背景領域に形成されることを特徴とする請求項12に記載のプログラム。13. The program according to claim 12, wherein at least one of an outer frame line and an underline of a character is formed in the background area. 前記背景反転記憶手段の記憶内容はデフォルトにおいて前記背景領域の陰陽を反転させないとなっていることを特徴とする請求項12又は13に記載のプログラム。14. The program according to claim 12, wherein the storage content of the background inversion storage unit does not invert the shade of the background area by default. 前記背景領域内の特定区域の陰陽を反転させるか否かを書換可能に記憶するための特定区域反転記憶手段として前記コンピュータをさらに機能させ、
前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段及び前記特定区域反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することを特徴とする請求項12〜14のいずれか1項に記載のプログラム。
The computer further functions as specific area inversion storage means for rewritably storing whether to invert the yin and yang of the specific area in the background area,
The inversion means, when the inversion modification of the image area is instructed by the inversion modification instructing means, an image obtained by inverting the image area in accordance with the contents stored in the background inversion storage means and the specific area inversion storage means. The program according to claim 12, wherein the data is generated in a dot pattern.
前記特定区域がバーコード区域であることを特徴とする請求項15に記載のプログラム。The program according to claim 15, wherein the specific area is a barcode area. 前記配置領域内に付加された装飾線の陰陽を単純反転させるか又は前記装飾線の背景と逆の陰陽パターンとなるように反転させるかを書換可能に記憶するための装飾線反転記憶手段として前記コンピュータをさらに機能させ、
前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記装飾線反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することことを特徴とする請求項10〜16のいずれか1項に記載のプログラム。
The decoration line inversion storage means for rewritably storing whether the yin and yang of the decoration line added in the arrangement area is simply inverted or inverted so as to have a yin and yang pattern opposite to the background of the decoration line. Make your computer work more,
The inversion means generates, when a reversal modification of the image area is instructed by the inversion modification instructing means, image data in which the image area is inverted in a dot pattern according to the storage content of the decorative line inversion storage means. The program according to any one of claims 10 to 16, wherein:
前記装飾線が文字の抹消線及び網掛けの少なくともいずれか一方であることを特徴とする請求項17に記載のプログラム。18. The program according to claim 17, wherein the decoration line is at least one of a character erasure line and a hatched line.
JP2002380075A 2002-12-27 2002-12-27 Image data generator and program Pending JP2004209726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002380075A JP2004209726A (en) 2002-12-27 2002-12-27 Image data generator and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002380075A JP2004209726A (en) 2002-12-27 2002-12-27 Image data generator and program

Publications (1)

Publication Number Publication Date
JP2004209726A true JP2004209726A (en) 2004-07-29

Family

ID=32816395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002380075A Pending JP2004209726A (en) 2002-12-27 2002-12-27 Image data generator and program

Country Status (1)

Country Link
JP (1) JP2004209726A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210063468A (en) * 2015-01-19 2021-06-01 스냅 인코포레이티드 Custom functional patterns for optical barcodes
JP2021101334A (en) * 2016-05-20 2021-07-08 キヤノン株式会社 Information processing device, and control method and program of the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210063468A (en) * 2015-01-19 2021-06-01 스냅 인코포레이티드 Custom functional patterns for optical barcodes
KR102416030B1 (en) 2015-01-19 2022-07-05 스냅 인코포레이티드 Custom functional patterns for optical barcodes
KR20220098275A (en) * 2015-01-19 2022-07-11 스냅 인코포레이티드 Custom functional patterns for optical barcodes
KR102514483B1 (en) 2015-01-19 2023-03-27 스냅 인코포레이티드 Custom functional patterns for optical barcodes
JP2021101334A (en) * 2016-05-20 2021-07-08 キヤノン株式会社 Information processing device, and control method and program of the same
JP7186808B2 (en) 2016-05-20 2022-12-09 キヤノン株式会社 Information processing device and its control method and program

Similar Documents

Publication Publication Date Title
JP2008021248A (en) Tape printer and tape printing program
JPH09286093A (en) Method and apparatus for forming ground design printing image
JP5505022B2 (en) Tape printer, control method of tape printer, and program
JP2011189534A (en) Tape printer, method for controlling the same and program
JP2004209726A (en) Image data generator and program
JP2564210Y2 (en) Label printing device
JP3224699B2 (en) Tape printer
JP2009232375A (en) Image processing method and program therefor, and image processing apparatus
JP5817455B2 (en) Display device and display control program
JPH0443396A (en) Character pattern generating device
JP4277510B2 (en) Tape printing control apparatus and program
JP2001005628A (en) Printer, printing system, printing processing method, printer driver, host computer, and storage medium
JPH05334296A (en) Document processor
JP2004223784A (en) Controller for printing on tape, tape printer, and program
JP2522120B2 (en) Tape making device
JP3095046B2 (en) Dot pattern data creation device for registration of tape printer
JPH06115224A (en) Apparatus for displaying print image
JP2009246602A (en) Image data generator and image data generation program
JPH06118934A (en) External character registering method
JP2653911B2 (en) Document processing device with banner printing function
JP2922068B2 (en) Word processor with character font correction function
JPH1191185A (en) Printing control method
JP2009220364A (en) Image forming apparatus, image forming method and image forming program
JPH04257466A (en) Manual type printer
JPH05177877A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040914

A131 Notification of reasons for refusal

Effective date: 20080819

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081016

A02 Decision of refusal

Effective date: 20090324

Free format text: JAPANESE INTERMEDIATE CODE: A02