JP2004209726A - Image data generator and program - Google Patents
Image data generator and program Download PDFInfo
- 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
Links
Images
Abstract
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
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
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
[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
[0022]
The tape printer 1 can perform various decorations on the
[0023]
Further, the tape printer 1 can perform the reverse decoration on the
[0024]
Therefore, the tape printer 1 can perform the inversion modification without inverting the
[0025]
Further, the tape printer 1 can be modified to add a decorative line such as an erasing line to the
[0026]
Further, it is possible to arrange the
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
[0028]
The
[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
[0031]
The
[0032]
Next, functions of the tape printer 1 will be described. The tape printer 1 includes a character
[0033]
The character
The decoration
The background
The specific area
The decoration line
[0034]
Next, the
[0035]
The image
The setting
The
[0036]
The
[0037]
The reversing
[0038]
As to the
[0039]
With respect to the
[0040]
The normal reversing
The
[0041]
The
[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
[0043]
In S120, the process waits for a key input by the user. The user can input a character string stored in the character
[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
[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
[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
[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
In S310, when the
[0049]
In S360, it is determined whether or not the
[0050]
In S390, it is determined whether or not the
[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
[0052]
In S510, when the
[0053]
A step S570 decides whether or not the
[0054]
In step S610, it is determined whether or not the
[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
[0056]
Further, if the barcode is set in the
[0057]
Further, whether or not to invert the
[0058]
Further, even when a decoration line is added to the
[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.
文字が配置される配置領域を含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段と、
前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させるか否かを書換可能に記憶するための背景反転記憶手段と、
前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段とを備えていることを特徴とするイメージデータ生成装置。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〜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.
前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記装飾線反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することことを特徴とする請求項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.
文字が配置される配置領域を一又は複数含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段、及び、
前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させずに前記配置領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段として機能させることを特徴とするプログラム。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.
文字が配置される配置領域を一又は複数含むイメージ領域の陰陽を反転させる反転修飾を指示するための反転修飾指示手段、
前記イメージ領域内にあって前記配置領域外にある背景領域の陰陽を反転させるか否かを書換可能に記憶するための背景反転記憶手段、及び、
前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記背景反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成するための反転手段として機能させることを特徴とするプログラム。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〜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.
前記反転手段は、前記反転修飾指示手段によって前記イメージ領域の反転修飾が指示された場合に、前記装飾線反転記憶手段の記憶内容に従って前記イメージ領域の陰陽を反転させたイメージデータをドットパターンで生成することことを特徴とする請求項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:
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)
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 |
-
2002
- 2002-12-27 JP JP2002380075A patent/JP2004209726A/en active Pending
Cited By (6)
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 |