JP2007071997A - Shadow character output device, shadow character output control method, and program thereof - Google Patents

Shadow character output device, shadow character output control method, and program thereof Download PDF

Info

Publication number
JP2007071997A
JP2007071997A JP2005256865A JP2005256865A JP2007071997A JP 2007071997 A JP2007071997 A JP 2007071997A JP 2005256865 A JP2005256865 A JP 2005256865A JP 2005256865 A JP2005256865 A JP 2005256865A JP 2007071997 A JP2007071997 A JP 2007071997A
Authority
JP
Japan
Prior art keywords
character
output
character string
shadow
color
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.)
Granted
Application number
JP2005256865A
Other languages
Japanese (ja)
Other versions
JP5050331B2 (en
Inventor
Susumu Saito
勧 斎藤
Akihito Tanimoto
晃仁 谷本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005256865A priority Critical patent/JP5050331B2/en
Publication of JP2007071997A publication Critical patent/JP2007071997A/en
Application granted granted Critical
Publication of JP5050331B2 publication Critical patent/JP5050331B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To convert a character string composed of characters using font data and picture characters using image data into shadow characters under simple control. <P>SOLUTION: A multifunction printer 10 reads the font data corresponding to respective characters of the original character string out of a ROM 64 to print the characters in character colors set in an XHTML document and reads image data corresponding to the picture characters out of the ROM 64 to print the picture characters in image colors included in the image data. Font data corresponding to respective characters of a shadow-side character string are read out of the ROM 64 to print the characters in character colors set in the XHTML document and image data corresponding to respective picture characters are read out of the ROM 64 to print the picture characters in image colors set in the XHTML document. Thus, the characters and picture characters in the character string composed of the characters using the font data and picture characters using the image data can be converted into shadow characters under simple control. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、影文字出力装置、影文字出力制御方法及びそのプログラムに関する。   The present invention relates to a shadow character output device, a shadow character output control method, and a program thereof.

従来、携帯電話に代表される携帯通信端末では、電子メールを送受信したり掲示板と呼ばれるウェブページに文章をアップロードしたりするときに、ひらがなやカタカナ、漢字、アルファベット、記号などの文字に加えて、怒っている顔や悲しい顔、ハートマークなどのいわゆる絵文字を用いることがある。一方、このような文字と絵文字とが混在したデータを印刷したいという要望があることから、絵文字を印刷可能な装置が提案されている。例えば、特許文献1に提案されている装置では、絵文字セットを装置内部のフォントデータ記憶部に記憶しておき、携帯通信端末から受信したテキストデータに絵文字コードが含まれていた場合には、その絵文字コードに対応する絵文字を絵文字セットから抽出して用紙に印刷する。この特許文献1では、絵文字セットがフォントデータとして記憶されている。ここで、フォントとは、一般的には同一書体・同一サイズの文字の一そろいのことをいうから、特許文献1の絵文字セットは各サイズごとに用意されていることになる。
特開2004−240550
Conventionally, in mobile communication terminals represented by mobile phones, in addition to characters such as hiragana, katakana, kanji, alphabets, symbols, etc. when sending and receiving e-mails and uploading sentences to a web page called a bulletin board, So-called pictograms such as angry faces, sad faces, and heart marks may be used. On the other hand, since there is a desire to print data in which such characters and pictograms are mixed, an apparatus capable of printing pictograms has been proposed. For example, in the device proposed in Patent Document 1, the pictographic character set is stored in the font data storage unit inside the device, and if the text data received from the mobile communication terminal includes a pictographic code, The pictogram corresponding to the pictogram code is extracted from the pictogram set and printed on paper. In this patent document 1, a pictogram set is stored as font data. Here, since the font generally means a set of characters of the same typeface and size, the pictogram set of Patent Document 1 is prepared for each size.
JP 2004-240550 A

しかしながら、絵文字は多種類存在するため、絵文字セットを各サイズごとにフォントデータ記憶部に記憶するとなると、大きな記憶容量が必要となるという問題が生じる。この問題を解決するために、絵文字をフォントデータではなく画像データとして記憶し、その画像を拡大又は縮小することによりサイズを可変とすることが考えられる。一方、文字と絵文字とを含む文字列を強調する場合には、その文字や絵文字を影付きの文字(影文字)に変換することが一案として考えられるが、フォントデータを利用した文字と画像データを利用した絵文字とが入り交じった文字列を簡易な制御によって影文字に変換することはこれまでのところ知られていない。   However, since there are many types of pictograms, if a pictogram set is stored in the font data storage unit for each size, there arises a problem that a large storage capacity is required. In order to solve this problem, it is conceivable to store pictographs as image data instead of font data, and to change the size by enlarging or reducing the image. On the other hand, when emphasizing a character string including characters and pictograms, it may be possible to convert the characters or pictograms into shaded characters (shadow characters), but characters and images using font data It has not been known so far to convert a character string mixed with pictograms using data into shadow characters by simple control.

本発明は、このような課題に鑑みなされたものであり、フォントデータを利用した文字と画像データを利用した絵文字とが入り交じった文字列を簡易な制御によって影文字に変換可能な影文字出力装置を提供することを目的の一つとする。また、そのような影文字出力装置に利用される影文字出力制御方法及びそのプログラムを提供することを目的の一つとする。   The present invention has been made in view of such a problem, and a shadow character output capable of converting a character string in which a character using font data and a pictogram using image data are mixed into a shadow character by simple control. One object is to provide a device. Another object of the present invention is to provide a shadow character output control method and program for use in such a shadow character output device.

本発明は、上述の目的の少なくとも一つを達成するために以下の手段を採った。   The present invention adopts the following means in order to achieve at least one of the above objects.

本発明の影文字出力装置は、
各文字につきフォントデータを記憶する文字記憶手段と、
各絵文字につき画像データを記憶する絵文字記憶手段と、
所定の出力媒体に出力可能な出力手段と、
所定の文字及び所定の絵文字を含む文字列を入力するデータ入力手段
前記文字列をオリジナル文字列として出力する際の文字色を設定するオリジナル文字列出力条件設定手段と、
前記文字列を前記オリジナル文字列の影となる影側文字列として出力する際の文字色及び該文字色と略同じ画像色を設定する影側文字列出力条件設定手段と、
前記オリジナル文字列のうち、各文字については対応するフォントデータを前記文字記憶手段から読み出し前記オリジナル文字列出力条件設定手段によって設定された文字色で出力するよう前記出力手段を制御し、各絵文字は対応する画像データを前記絵文字記憶手段から読み出し該画像データに含まれる画像色で出力するよう前記出力手段を制御する一方、前記影側文字列のうち、各文字については対応するフォントデータを前記文字記憶手段から読み出し前記影側文字列出力条件設定手段によって設定された文字色で出力するよう前記出力手段を制御し、各絵文字については対応する画像データを前記絵文字記憶手段から読み出し前記影側文字列出力条件設定手段によって設定された画像色で出力するよう前記出力手段を制御する出力制御手段と、
を備えたものである。
The shadow character output device of the present invention is
Character storage means for storing font data for each character;
Pictogram storage means for storing image data for each pictogram;
Output means capable of outputting to a predetermined output medium;
Data input means for inputting a character string including a predetermined character and a predetermined pictogram Original character string output condition setting means for setting a character color when outputting the character string as an original character string;
Shadow side character string output condition setting means for setting a character color when outputting the character string as a shadow side character string to be a shadow of the original character string and an image color substantially the same as the character color;
Of the original character string, for each character, the corresponding font data is read from the character storage means, and the output means is controlled to output the character color set by the original character string output condition setting means. The corresponding image data is read from the pictogram storage unit, and the output unit is controlled to output the image color included in the image data. On the other hand, for each character in the shadow side character string, the corresponding font data is the character The output means is controlled to read out from the storage means and output in the character color set by the shadow side character string output condition setting means, and for each pictogram, the corresponding image data is read out from the pictogram storage means. An output control for controlling the output means to output the image color set by the output condition setting means. And means,
It is equipped with.

この影文字出力装置では、オリジナル文字列のうち、各文字については対応するフォントデータを文字記憶手段から読み出しオリジナル文字列出力条件設定手段によって設定された文字色で出力するよう出力手段を制御し、各絵文字は対応する画像データを絵文字記憶手段から読み出し該画像データに含まれる画像色で出力するよう出力手段を制御する。一方、影側文字列のうち、各文字については対応するフォントデータを文字記憶手段から読み出し影側文字列出力条件設定手段によって設定された文字色で出力するよう出力手段を制御し、各絵文字については対応する画像データを絵文字記憶手段から読み出し影側文字列出力条件設定手段によって設定された画像色で出力するよう出力手段を制御する。このように、フォントデータを利用した文字と画像データを利用した絵文字とが入り交じった文字列について、オリジナル文字列とその影となる影側文字列とを作成すると共に影側文字列につき絵文字の画像色を文字色と略同じ色に設定するという簡易な制御により、文字列中の文字や絵文字を影文字に変換することができる。   In this shadow character output device, for each character in the original character string, the corresponding font data is read from the character storage means, and the output means is controlled to output in the character color set by the original character string output condition setting means, Each pictogram reads the corresponding image data from the pictogram storage means and controls the output means to output the image data in the image color included in the image data. On the other hand, for each character in the shadow side character string, the corresponding font data is read from the character storage means, and the output means is controlled to output the character color set by the shadow side character string output condition setting means. Controls the output means so that the corresponding image data is read from the pictogram storage means and output in the image color set by the shadow side character string output condition setting means. In this way, for a character string in which characters using font data and pictograms using image data are intermingled, an original character string and a shadow side character string that is a shadow of the original character string are created, and an emoji character is added to the shadow side character string. Characters and pictograms in a character string can be converted into shadow characters by simple control of setting the image color to approximately the same color as the character color.

本発明の影文字出力装置において、前記データ入力手段は、携帯通信端末から前記文字列を入力するようにしてもよい。一般に携帯電話に代表される携帯通信端末では絵文字を使ってメールなどの文書を作成することが多いことから、本発明の影文字出力装置の通信相手として好適といえる。   In the shadow character output device of the present invention, the data input means may input the character string from a mobile communication terminal. In general, a mobile communication terminal typified by a mobile phone often creates a document such as an e-mail using pictographs. Therefore, it can be said to be suitable as a communication partner of the shadow character output device of the present invention.

本発明の影文字出力装置において、前記オリジナル文字列出力条件設定手段は、前記オリジナル文字列の配置位置を前記出力媒体の所定位置に設定し、前記影側文字列出力条件設定手段は、前記影側文字列の配置位置を前記オリジナル文字列の背後であって前記オリジナル文字列から所定量ずれた位置に設定し、前記出力制御手段は、前記オリジナル文字列が前記出力媒体の所定位置に配置され、前記影側文字列が前記オリジナル文字列の背後であって該オリジナル文字列から前記所定量ずれた位置に配置されるよう前記出力手段を制御するようにしてもよい。こうすれば、オリジナル文字列の背面に影側文字列をずらして配置するという簡易な制御により影文字を作成することができる。   In the shadow character output device of the present invention, the original character string output condition setting means sets the position of the original character string to a predetermined position on the output medium, and the shadow character string output condition setting means The position of the side character string is set at a position behind the original character string and deviated by a predetermined amount from the original character string, and the output control means arranges the original character string at a predetermined position of the output medium. The output unit may be controlled so that the shadow side character string is arranged behind the original character string and at a position shifted from the original character string by the predetermined amount. In this way, it is possible to create a shadow character by a simple control in which the shadow side character string is shifted and arranged behind the original character string.

本発明の影文字出力装置において、前記オリジナル文字列出力条件設定手段及び前記影側文字列出力条件設定手段は、所定のマークアップ言語によって記述された文書を作成する手段であり、前記出力制御手段は、前記文書を解析して前記出力手段の制御を行う手段であってもよい。マークアップ言語はさまざまな属性情報などをあらかじめ定義されたコマンドとして文書中に記述していく方式の言語であるため、マークアップ言語によって記述された文書を用いることにより、出力制御手段はその文書の内容を理解して印刷手段の制御を行うことが可能となる。   In the shadow character output device of the present invention, the original character string output condition setting means and the shadow side character string output condition setting means are means for creating a document described in a predetermined markup language, and the output control means May be a means for analyzing the document and controlling the output means. Since the markup language is a language in which various attribute information and the like are described in the document as predefined commands, the output control means can use the document described in the markup language to It becomes possible to understand the contents and control the printing means.

本発明の影文字出力装置において、前記影側文字列出力条件設定手段は、前記影側文字列として出力する際の前記文字色及び前記画像色を、前記オリジナル文字列として出力する際の前記文字色に比べて所定の閾値を超える明度差及び色差を持つように設定するようにしてもよい。こうすれば、オリジナル文字列の色と影側文字列の色とが十分なコントラストを持つため、オリジナル文字列が浮き立ち強調される。なお、「所定の閾値」は、オリジナル文字列の色と影側文字列の色とが十分なコントラストを持つように設定された経験値である。例えば、RGBデータを24ビットデータとして表した場合、明度差を下記式(1)により算出するとしたとき閾値を125としてもよく、色差を下記式(2)により算出するとしたとき閾値を500としてもよい。
明度差=((Rの値×299)+(Gの値×587)+(Bの値×114)/1000 …(1)
色差=(max(両者のR値)-min(両者のR値))+(max(両者のG値)-min(両者のG値))
+(max(両者のB値)-min(両者のB値)) …(2)
In the shadow character output device of the present invention, the shadow side character string output condition setting unit is configured to output the character color and the image color when outputting as the shadow side character string as the original character string. You may make it set so that it may have the brightness difference and color difference which exceed a predetermined threshold value compared with a color. By doing so, the color of the original character string and the color of the shadow side character string have sufficient contrast, so that the original character string is raised and emphasized. The “predetermined threshold value” is an empirical value set so that the color of the original character string and the color of the shadow side character string have sufficient contrast. For example, when RGB data is expressed as 24-bit data, the threshold value may be 125 when the brightness difference is calculated by the following equation (1), and the threshold value may be 500 when the color difference is calculated by the following equation (2). Good.
Lightness difference = ((R value x 299) + (G value x 587) + (B value x 114) / 1000 ... (1)
Color difference = (max (both R values)-min (both R values)) + (max (both G values)-min (both G values))
+ (max (B value of both) -min (B value of both)) (2)

本発明の影文字出力装置において、前記絵文字に対応する画像データは、カラーパレットを備えた画像データであり、前記出力制御手段は、前記影側文字列のうち、各絵文字については対応する画像データを前記絵文字記憶手段から読み出し、該画像データのカラーパレットの全色を前記影側文字列出力条件設定手段によって設定された画像色に置き換えるようにしてもよい。こうすれば、絵文字の画像データが多色の画像であったとしても、所望の色へ容易に変更することができる。   In the shadow character output device of the present invention, the image data corresponding to the pictogram is image data provided with a color palette, and the output control means includes image data corresponding to each pictogram in the shadow side character string. May be read out from the pictogram storage unit, and all colors in the color palette of the image data may be replaced with the image color set by the shadow side character string output condition setting unit. In this way, even if the image data of pictograms is a multicolor image, it can be easily changed to a desired color.

本発明の影文字出力装置において、前記出力手段は、所定の印刷媒体に印刷可能な手段としてもよい。こうすれば、文字と絵文字とが混在する文字列の影文字を容易に印刷することができる。   In the shadow character output device of the present invention, the output means may be means capable of printing on a predetermined print medium. In this way, it is possible to easily print a shadow character of a character string in which characters and pictograms are mixed.

本発明の印刷装置において、前記絵文字記憶手段は、各絵文字につき1つの画像ファイルを記憶していてもよい。こうすれば、各絵文字につき大きさの異なる数種の画像を記憶している場合に比べて、絵文字のデータ量を軽くすることができる。   In the printing apparatus according to the present invention, the pictogram storage unit may store one image file for each pictogram. In this way, the data amount of pictograms can be reduced compared to the case where several types of images having different sizes are stored for each pictogram.

本発明の影文字出力制御方法は、
各文字につきフォントデータを記憶する文字記憶手段と、各絵文字につき画像データを記憶する絵文字記憶手段と、所定の出力媒体に出力可能な出力手段と、所定の文字及び所定の絵文字を含む文字列をオリジナル文字列として出力する際の文字色を設定するオリジナル文字列出力条件設定手段と、前記文字列を前記オリジナル文字列の影となる影側文字列として出力する際の文字色及び該文字色と略同じ画像色を設定する影側文字列出力条件設定手段とを備えた装置を用いて影文字の出力を制御する、コンピュータ・ソフトウェアによる影文字出力制御方法であって、
(a)前記文字列を入力するステップと、
(b)前記ステップ(a)で入力した前記文字列を前記オリジナル文字列として出力するにあたり、前記オリジナル文字列のうち、各文字については対応するフォントデータを前記文字記憶手段から読み出し前記オリジナル文字列出力条件設定手段によって設定された文字色で出力するよう前記出力手段を制御し、各絵文字は対応する画像データを前記絵文字記憶手段から読み出し該画像データに含まれる画像色で出力するよう前記出力手段を制御し、前記ステップ(a)で入力した前記文字列を前記影側文字列として出力するにあたり、前記影側文字列のうち、各文字については対応するフォントデータを前記文字記憶手段から読み出し前記影側文字列出力条件設定手段によって設定された文字色で出力するよう前記出力手段を制御し、各絵文字については対応する画像データを前記絵文字記憶手段から読み出し前記影側文字列出力条件設定手段によって設定された画像色で出力するよう前記出力手段を制御するステップと、
を含むものである。
The shadow character output control method of the present invention includes:
Character storage means for storing font data for each character, pictogram storage means for storing image data for each pictogram, output means capable of outputting to a predetermined output medium, and a character string including a predetermined character and a predetermined pictogram Original character string output condition setting means for setting a character color when outputting as an original character string, and a character color and the character color when outputting the character string as a shadow side character string that is a shadow of the original character string A shadow character output control method by computer software, which controls the output of shadow characters using an apparatus comprising shadow side character string output condition setting means for setting substantially the same image color,
(A) inputting the character string;
(B) When outputting the character string input in step (a) as the original character string, for each character of the original character string, the corresponding font data is read from the character storage means and the original character string The output means controls the output means to output in the character color set by the output condition setting means, and each pictogram reads out the corresponding image data from the pictogram storage means and outputs it in the image color included in the image data. When the character string input in step (a) is output as the shadow side character string, the font data corresponding to each character in the shadow side character string is read from the character storage means. Controlling the output means to output the character color set by the shadow side character string output condition setting means, And controlling the output means to output a corresponding image data at the set image color by reading the shadow side string output condition setting means from the pictogram memory means for characters,
Is included.

この影文字出力制御方法では、オリジナル文字列のうち、各文字については対応するフォントデータを文字記憶手段から読み出しオリジナル文字列出力条件設定手段によって設定された文字色で出力するよう出力手段を制御し、各絵文字は対応する画像データを絵文字記憶手段から読み出し該画像データに含まれる画像色で出力するよう出力手段を制御する。一方、影側文字列のうち、各文字については対応するフォントデータを文字記憶手段から読み出し影側文字列出力条件設定手段によって設定された文字色で出力するよう出力手段を制御し、各絵文字については対応する画像データを絵文字記憶手段から読み出し影側文字列出力条件設定手段によって設定された画像色で出力するよう出力手段を制御する。このように、絵文字の画像色を文字色と略同じ色に設定することにより文字の影の色と絵文字の影との色とを略同じにしているため、簡易な制御で影文字を実現することができる。また、得られた影文字は、文字の影の色と絵文字の影との色とが略同じになるため、視認したときに文字と絵文字との間で違和感を覚えることがない。なお、本発明の影文字出力制御方法において、上述したいずれかの影文字出力装置の機能を実現するようなステップを追加してもよい。   In this shadow character output control method, the output means is controlled so that the font data corresponding to each character in the original character string is read from the character storage means and output in the character color set by the original character string output condition setting means. Each pictogram reads out the corresponding image data from the pictogram storage means, and controls the output means so as to output it in the image color included in the image data. On the other hand, for each character in the shadow side character string, the corresponding font data is read from the character storage means, and the output means is controlled to output the character color set by the shadow side character string output condition setting means. Controls the output means so that the corresponding image data is read from the pictogram storage means and output in the image color set by the shadow side character string output condition setting means. In this way, by setting the image color of the pictograph to approximately the same color as the character color, the shadow color of the character and the shadow color of the pictograph are made substantially the same, so the shadow character is realized with simple control. be able to. In addition, since the obtained shadow character has substantially the same color as the shadow of the character and the shadow of the pictogram, there is no sense of incongruity between the character and the pictogram when visually recognized. In the shadow character output control method of the present invention, a step for realizing the function of any of the above-described shadow character output devices may be added.

本発明のプログラムは、1又は複数のコンピュータに、上述した影文字出力制御方法の各ステップを実行させるためのプログラムである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか又は複数のコンピュータに各ステップを分担して実行させれば、上述した影文字出力制御方法と同様の効果を得ることができる。   The program of the present invention is a program for causing one or more computers to execute the steps of the shadow character output control method described above. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by a single computer, or if each step is shared and executed by a plurality of computers, the same effect as the shadow character output control method described above can be obtained.

次に、本発明の実施の形態を図面に基づいて説明する。図1は本発明の一実施形態であるマルチファンクションプリンタ10の斜視図、図2はマルチファンクションプリンタ10の電気的接続を表すブロック図、図3はコントローラのROMの各格納領域の説明図である。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a perspective view of a multi-function printer 10 according to an embodiment of the present invention, FIG. 2 is a block diagram showing electrical connection of the multi-function printer 10, and FIG. 3 is an explanatory diagram of storage areas of a ROM of a controller. .

本実施形態のマルチファンクションプリンタ10は、図1に示すように、筐体12の上面奥側にヒンジ14,14を介して開閉自在に取り付けられた蓋カバー16と、筐体12の上面に嵌め込まれたガラス板22を介して該ガラス板22に載置された対象物をスキャニングするスキャナ部20と、スキャナ部20の下方に配置され筐体12の背面から給紙された用紙Pにインクジェット方式による印刷を行い筐体12の前面に設けられた排出口18から印刷された用紙Pを排出するインクジェット印刷部30と、通信カードやメモリカードなどを挿入可能なカードスロット40と、各種の情報を表示するディスプレイ52のほか電源スイッチやコピーボタン、スキャナボタン、印刷ボタンなどのボタン群54が設けられた操作パネル50と、このマルチファンクションプリンタ10の全体の制御を司るコントローラ60(図2参照)とを備えている。   As shown in FIG. 1, the multifunction printer 10 of the present embodiment is fitted into the upper surface of the housing 12 and the lid cover 16 that is attached to the back of the upper surface of the housing 12 through hinges 14 and 14 so as to be opened and closed. A scanner unit 20 that scans an object placed on the glass plate 22 through the glass plate 22, and an inkjet method on a sheet P that is disposed below the scanner unit 20 and fed from the back of the housing 12. Inkjet printing unit 30 that prints out printed paper P from discharge port 18 provided on the front surface of housing 12 and card slot 40 into which a communication card, memory card, etc. can be inserted, and various information In addition to the display 52 to be displayed, an operation panel 50 provided with a button group 54 such as a power switch, a copy button, a scanner button, and a print button, Controller 60 that controls the entire multifunction printer 10 of and a (see FIG. 2).

スキャナ部20は、いわゆるフラットベッド型のフルカラースキャナとして構成されている。このスキャナ部20は、図2に示すように、ガラス板22に載置された対象物Mをこのガラス板22を介して光学的に読み取るラインイメージセンサ24と、対象物Mを読み取るためラインイメージセンサ24を走査させる移動機構26とを備えている。このラインイメージセンサ24は、対象物Mに向かって発光した後の反射光をレッド(R)、グリーン(G)、ブルー(B)の各色に分解してスキャンデータとする周知のカラーイメージセンサである。   The scanner unit 20 is configured as a so-called flatbed type full-color scanner. As shown in FIG. 2, the scanner unit 20 includes a line image sensor 24 that optically reads the object M placed on the glass plate 22 through the glass plate 22, and a line image for reading the object M. And a moving mechanism 26 that scans the sensor 24. The line image sensor 24 is a well-known color image sensor that separates the reflected light after being emitted toward the object M into red (R), green (G), and blue (B) colors to obtain scan data. is there.

インクジェット印刷部30は、インクジェット方式のフルカラープリンタとして構成されている。このインクジェット印刷部30は、図2に示すように、キャリッジモータ32aにより紙送り方向と直交する方向(図2では紙面に垂直な方向)に沿って往復動するキャリッジ32と、このキャリッジ32に搭載されシアン・マゼンタ・イエロー・ライトシアン・ライトマゼンタ及びブラックの各色のインクを個別に収容したインクカートリッジ34と、各インクカートリッジ34から供給された各インクに圧力をかける印刷ヘッド36と、用紙Pを搬送する搬送ローラ38とを備えている。印刷ヘッド36は、ここでは圧電素子に電圧をかけてこの圧電素子を変形させることによりインクを加圧して図示しないノズルからインク滴を吐出させる方式を採用しているが、発熱抵抗体(例えばヒータなど)によってインクを沸騰させそのとき発生する気泡によりインクを加圧する方式を採用してもよい。   The ink jet printing unit 30 is configured as an ink jet full color printer. As shown in FIG. 2, the inkjet printing unit 30 is mounted on the carriage 32, and a carriage 32 that reciprocates along a direction orthogonal to the paper feeding direction (direction perpendicular to the paper surface in FIG. 2) by a carriage motor 32 a. Ink cartridges 34 individually containing ink of each color of cyan, magenta, yellow, light cyan, light magenta, and black, a print head 36 that applies pressure to each ink supplied from each ink cartridge 34, and paper P And a conveying roller 38. Here, the print head 36 employs a system in which a voltage is applied to the piezoelectric element to deform the piezoelectric element to pressurize the ink and eject ink droplets from a nozzle (not shown). Etc.), and a method of pressurizing the ink with bubbles generated at that time may be employed.

カードスロット40は、差し込まれたカードを外部通信インタフェース68に接続するためのコネクタである。このカードスロット40には、図2に示すように、赤外線通信カード42が差し込まれているが、そのほかに各種のメモリカードを差し込むことも可能である。赤外線通信カード42は、IrDA(Infrared Data Association)に準拠した赤外線通信機能を有したモジュールであり、データバッファとして機能するメモリ44と、赤外線通信の通信ポートとして機能する赤外線受発光部46と、このカードを統括制御するカード制御部48とを備えている。赤外線受発光部46は、図示しないが発光素子と受光素子とを含んで構成されている。このうち発光素子は、キャリア周波数が例えば25〜50kHzの搬送波をパルス位相変調したビット信号からなる赤外線をその発光のオンオフにより出力する。一方、受光素子は、同様の方式で表現されるビット信号からなる赤外線を受光する。カード制御部48は、図示しないがCPUやROM等を含んで構成され、CPUがROM内の制御プログラムやアプリケーションに基づき各種動作を実行する。例えば、カード制御部48は、外部から赤外線受発光部46を介して各種データを受信すると、そのデータをメモリに一時的に保存したあとマルチファンクションプリンタ10のコントローラ60へ転送する。   The card slot 40 is a connector for connecting the inserted card to the external communication interface 68. As shown in FIG. 2, an infrared communication card 42 is inserted into the card slot 40, but various other memory cards can also be inserted. The infrared communication card 42 is a module having an infrared communication function compliant with IrDA (Infrared Data Association), a memory 44 functioning as a data buffer, an infrared light receiving / emitting unit 46 functioning as a communication port for infrared communication, And a card control unit 48 that performs overall control of the card. Although not shown, the infrared light receiving and emitting unit 46 includes a light emitting element and a light receiving element. Among these, the light emitting element outputs infrared rays composed of a bit signal obtained by pulse phase modulation of a carrier wave having a carrier frequency of, for example, 25 to 50 kHz by turning on and off the light emission. On the other hand, the light receiving element receives infrared rays composed of bit signals expressed in the same manner. Although not shown, the card control unit 48 includes a CPU, a ROM, and the like, and the CPU executes various operations based on a control program and an application in the ROM. For example, when the card control unit 48 receives various data from the outside via the infrared light receiving / emitting unit 46, the card control unit 48 temporarily stores the data in the memory and then transfers the data to the controller 60 of the multifunction printer 10.

操作パネル50は、上述したようにディスプレイ52とボタン群54とを備え、内部通信インタフェース67を介してCPU62と信号のやり取りを行うように構成されている。操作パネル50のうちディスプレイ52は、携帯電話80内の画像データや文字データを利用して印刷を行う携帯文字合成印刷モードの操作手順ごとに用意された操作画面をボタン操作に応じて順次表示可能である。また、ボタン群54は、操作画面に表示された複数の選択肢から一つを選択したり次の画面に進んだり前の画面に戻ったりするときに利用される十字キー(上下左右キー)を有している。   The operation panel 50 includes the display 52 and the button group 54 as described above, and is configured to exchange signals with the CPU 62 via the internal communication interface 67. The display 52 of the operation panel 50 can sequentially display operation screens prepared for each operation procedure of the portable character composition print mode in which image data and character data in the mobile phone 80 are used for printing. It is. The button group 54 has a cross key (up / down / left / right key) used to select one of a plurality of options displayed on the operation screen, to advance to the next screen, or to return to the previous screen. is doing.

コントローラ60は、図2に示すように、CPU62を中心とするマイクロプロセッサとして構成されており、各種処理プログラムや各種データ、各種テーブルなどを記憶したROM64と、一時的にスキャンデータや印刷データを記憶したりデータを保存したりするRAM66と、操作パネル50との通信を可能とする内部通信インタフェース67と、カードスロット40に差し込まれた赤外線通信カード42を介して携帯電話80との通信を可能とする外部通信インタフェース68とを備え、これらはバス69を介して互いに信号のやり取りが可能なように接続されている。このコントローラ60は、スキャナ部20やインクジェット印刷部30からの各種動作信号や各種検出信号を入力したり、携帯電話80から送信された画像データや文字データを赤外線通信カード42を介して入力したり、操作パネル50のボタン群54の操作に応じて発生する操作信号を入力したりする。また、コントローラ60は、操作パネル50のディスプレイ52に表示制御信号を出力したり、スキャナ部20やインクジェット印刷部30への各種制御信号を出力したりする。   As shown in FIG. 2, the controller 60 is configured as a microprocessor centered on the CPU 62, and stores a ROM 64 storing various processing programs, various data, various tables, and the like, and temporarily stores scan data and print data. And communication with the mobile phone 80 via the internal communication interface 67 enabling communication with the operation panel 50 and the infrared communication card 42 inserted into the card slot 40. And an external communication interface 68 connected to each other via a bus 69 so that signals can be exchanged with each other. The controller 60 inputs various operation signals and various detection signals from the scanner unit 20 and the inkjet printing unit 30, and inputs image data and character data transmitted from the mobile phone 80 via the infrared communication card 42. An operation signal generated in response to the operation of the button group 54 of the operation panel 50 is input. Further, the controller 60 outputs a display control signal to the display 52 of the operation panel 50 and outputs various control signals to the scanner unit 20 and the inkjet printing unit 30.

コントローラ60のROM64には、図3に示すように、文字フォントセット格納領域64aや文字コード変換テーブル格納領域64b、絵文字画像ファイル格納領域64c、絵文字コード変換テーブル格納領域64d、XHTML文書データ格納領域64eが設けられている。このうち、文字フォントセット格納領域64aには、同一書体・同一サイズの文字群からなる文字フォントセットが書体やサイズごとに格納されている。文字コード変換テーブル格納領域64bには、文字コード(本実施形態ではシフトJISコードとする)とそれに対応する文字との関係を表す文字コード変換テーブルが格納されている。絵文字画像ファイル格納領域64cには、絵文字の画像ファイルが格納されている。絵文字画像ファイル格納領域64cには、絵文字コードとそれに対応する絵文字の画像ファイル名との関係を表す絵文字コード変換テーブルが格納されている。絵文字コードとは、シフトJISコードにおいて「・」が対応づけられているコードのうち、携帯電話会社に特有の絵文字が対応づけられているコードをいう。本実施形態では、絵文字コード変換テーブルは、図3示すように、16進数で表されるシフトJISコード「F89F」に対して画像ファイル名が「emoji0001.png」である晴れマークの画像が唯一つ対応づけられ、シフトJISコード「F8A0」に対して画像ファイル名が「emoji0002.png」である曇りマークの画像が唯一つ対応づけられ、シフトJISコード「F8A1」に対して画像ファイル名が「emoji0003.png」である雨マークの画像が唯一つ対応づけられている。なお、画像ファイル名の作成方法は、16進数で表されるシフトJISコードの数値からオフセット分(ここでは16進数でF89E)を減算して得られた値を4桁の2進数で表記してそれを「emoji」と「.png」の間に挿入するという手法を採用した。   As shown in FIG. 3, the ROM 64 of the controller 60 stores a character font set storage area 64a, a character code conversion table storage area 64b, a pictographic image file storage area 64c, a pictographic code conversion table storage area 64d, and an XHTML document data storage area 64e. Is provided. Among these, the character font set storage area 64a stores character font sets composed of character groups of the same typeface and the same size for each typeface and size. The character code conversion table storage area 64b stores a character code conversion table that represents the relationship between a character code (in this embodiment, a shift JIS code) and the corresponding character. In the pictographic image file storage area 64c, pictographic image files are stored. The pictographic image file storage area 64c stores a pictographic code conversion table that represents the relationship between the pictographic code and the image file name of the pictographic character corresponding thereto. The pictogram code is a code that is associated with a pictogram peculiar to a mobile phone company among codes associated with “•” in the shift JIS code. In the present embodiment, as shown in FIG. 3, the pictogram code conversion table has only one clear mark image whose image file name is “emoji0001.png” for the shift JIS code “F89F” expressed in hexadecimal. A single cloudy mark image whose image file name is “emoji0002.png” is associated with the shift JIS code “F8A0”, and the image file name is “emoji0003” with respect to the shift JIS code “F8A1”. .png "is the only one rain mark image associated with it. The image file name is created by expressing the value obtained by subtracting the offset (here, F89E in hexadecimal) from the value of the shift JIS code expressed in hexadecimal, as a 4-digit binary number. The method of inserting it between “emoji” and “.png” was adopted.

XHTML文書データ格納領域64eには、携帯文字合成印刷モードで使用されるレイアウトを定義したテンプレートに対応づけられたXHTMLの文書データを記憶している。テンプレートは背景画像やテキストのレイアウトに応じて複数種類作成されているため、XHTMLの文書データも各テンプレートごとに複数種類作成されている。図4はテンプレートの一例を示す説明図である。図4のテンプレート100では、用紙全面に背景画像102が配置され、用紙上側に左右に延びるテキスト枠104(テキストデータを入れるための枠)が配置されている。このテンプレート100では、テキスト枠104にいわゆる影文字が入力されるようになっている。XHTML(eXtensible Hyper Text Markup Language)は、XMLに沿った仕様としてHTMLを定義し直したものであり、既に周知であるため詳細な説明は省略するが、テンプレートに対応づけられたXHTML文書の一例を概念的に示すと図5のようになる。XHTML文書は、図5に示すように、冒頭にXML宣言の記述があり、ここにはXMLのバージョンや使用する文字コードなどが記述される。次にDOCUTYPEの宣言の記述があり、XHTMLの文法構造を定義したDTD(Doucument Type Definition)というファイルの場所が記述される。次に、XHTMLの本体の記述があり、ここにはhtml要素の中に、head要素として文書をレイアウトするための書式情報(例えば用紙サイズ、テキスト枠の位置・横幅・フォントサイズ、文字設定、絵文字の画像ファイルのサイズ、背景画像の位置など)が記述されると共に、body要素として文書の内容(背景画像のパス名、テキスト枠に入るテキストの内容など)が記述される。   The XHTML document data storage area 64e stores XHTML document data associated with a template that defines a layout used in the portable character composition print mode. Since a plurality of types of templates are created according to the background image and text layout, a plurality of types of XHTML document data are also created for each template. FIG. 4 is an explanatory diagram showing an example of a template. In the template 100 of FIG. 4, a background image 102 is arranged on the entire surface of the paper, and a text frame 104 (frame for entering text data) extending left and right is arranged on the upper side of the paper. In the template 100, so-called shadow characters are input to the text frame 104. XHTML (eXtensible Hyper Text Markup Language) is a redefinition of HTML as a specification according to XML, and since it is already well known, a detailed description is omitted, but an example of an XHTML document associated with a template is used. Conceptually, it is as shown in FIG. As shown in FIG. 5, the XHTML document has a description of an XML declaration at the beginning, in which an XML version and a character code to be used are described. Next, there is a description of the declaration of DOCUTYPE, and the location of a file called DTD (Doucument Type Definition) that defines the grammatical structure of XHTML is described. Next, there is a description of the main body of XHTML. In this, format information for laying out a document as a head element in an html element (for example, paper size, text frame position / width / font size, character settings, pictograms) The image file size, the position of the background image, and the like are described, and the contents of the document (the path name of the background image, the contents of the text that enters the text frame, etc.) are described as the body element.

このXHTML文書では、図6に示すように、文書をレイアウトするための書式情報(head)の中に、「タイトル1」と称されるテキスト枠の書式情報が定義されている。それによると、このテキスト枠は、座標位置が固定、フォントサイズが10ポイント、フォントウェイト(文字の太さ)がボールド、高さが12ポイント、幅が83mmと定義されている。また、「タイトル1a」は、タイトル1のテキスト枠を利用するオリジナル文字列であり、印刷用紙の上辺との距離が2.0mm、左辺との距離が1.5mmである座標点にそのテキスト枠の左上隅が配置されるよう定義されている。「タイトル1b」は、タイトル1のテキスト枠を利用する影側文字列であり、印刷用紙の上辺との距離が2.3mm、左辺との距離が1.8mmである座標点にそのテキスト枠の左上隅が配置されるよう定義されている。このときの様子を図4の部分拡大図に示す。また、「タイトル1a」の文字色(color)は16ビットのRGBデータで(255,0,0)すなわち赤色と定義され、「タイトル1b」の文字色(color)及び絵文字の画像色(kage_color)は16ビットのRGBデータで(255,255,255)すなわち白色と定義されている。ここで、オリジナル文字列の色と影側文字列の色について上記式(1)により明度差を算出すると約179であり、上記式(2)により色差を算出すると510であることから、両者の色は十分なコントラストが得られることがわかる。一方、図6のXHTML文書において、本文(body)には、最初に「タイトル1 タイトル1b」つまりタイトル1のテキスト枠に入る影側文字列の内容が印刷対象となるテキストデータに基づいて記述され、次に「タイトル1 タイトル1a」つまりタイトル1のテキスト枠に入るオリジナル文字列の内容が印刷対象となるテキストデータに基づいて記述されているため、「タイトル1 タイトル1b」が先に処理され、「タイトル1 タイトル1a」が後で処理される。この結果、影側文字列の上に影側文字列からずれてオリジナル文字列が重なるようになるため、各文字は影文字として認識される。   In this XHTML document, as shown in FIG. 6, format information of a text frame called “title 1” is defined in format information (head) for laying out the document. According to this, this text frame is defined as having a fixed coordinate position, a font size of 10 points, a font weight (character thickness) of bold, a height of 12 points, and a width of 83 mm. “Title 1a” is an original character string using the text frame of title 1, and the text frame is located at a coordinate point having a distance of 2.0 mm from the upper side of the printing paper and 1.5 mm from the left side. Is defined to be placed in the upper left corner. “Title 1b” is a shadow-side character string that uses the text frame of title 1, and the distance between the upper side of the print sheet is 2.3 mm and the distance from the left side is 1.8 mm. It is defined that the upper left corner is placed. The state at this time is shown in the partially enlarged view of FIG. The character color (color) of “title 1a” is 16-bit RGB data (255, 0, 0), that is, defined as red, and the character color (color) of “title 1b” and the image color (kage_color) of the pictograph Is 16-bit RGB data (255, 255, 255), that is, defined as white. Here, if the brightness difference is calculated by the above equation (1) for the color of the original character string and the color of the shadow side character string, it is about 179, and if the color difference is calculated by the above equation (2), it is 510. It can be seen that the color provides sufficient contrast. On the other hand, in the XHTML document of FIG. 6, the body (body) is first described as “title 1 title 1b”, that is, the contents of the shadow side character string that falls within the text frame of title 1 based on the text data to be printed. Next, since “title 1 title 1a”, that is, the contents of the original character string that falls within the text frame of title 1 is described based on the text data to be printed, “title 1 title 1b” is processed first, “Title 1 Title 1a” is processed later. As a result, the original character string overlaps the shadow side character string so as to deviate from the shadow side character string, so that each character is recognized as a shadow character.

携帯電話80は、IrDAに準拠した赤外線通信機能を搭載しており、テンキー等からなる操作ボタン81や受話口で話された音声を集音するマイク82、送話口を介して音声を外部に出力するスピーカ83、各種画面(画像)を表示するディスプレイ84、画像を撮影するCCDカメラ85、携帯電話網のデータ入出力インタフェースである送受信部86、各種データを一時的に保存可能なメモリ87、赤外線通信が可能な赤外線受発光部88、携帯電話全体の制御を司る携帯電話制御部89を備えている。ここで、メモリ87には、操作ボタン81を操作することにより逐次作成された電話帳データ、送受信部86を介して他の携帯電話やパーソナルコンピュータ等へ送信したか送信する予定の送信メールデータ、送受信部86を介して他の携帯電話やパーソナルコンピュータ等から受信した受信メールデータ、操作ボタン81の操作により作成されたメモ帳データ、CCDカメラ85によって撮影された画像データなどが保存されている。携帯電話制御部89は、種々の制御を実行するが、そのうちの一つとして、操作ボタン81から送信指令が入力されたとき、これらのデータの中から選択されたデータを、上述した赤外線通信カード42の赤外線受発光部46と同様の赤外線受発光部88を介してマルチファンクションプリンタ10へ送信する。   The cellular phone 80 is equipped with an infrared communication function compliant with IrDA, and the voice is sent to the outside through the operation button 81 including a numeric keypad, the microphone 82 for collecting the voice spoken at the earpiece, and the mouthpiece. A speaker 83 for output, a display 84 for displaying various screens (images), a CCD camera 85 for capturing images, a transmission / reception unit 86 as a data input / output interface of a cellular phone network, a memory 87 capable of temporarily storing various data, An infrared light receiving / emitting unit 88 capable of infrared communication and a mobile phone control unit 89 that controls the entire mobile phone are provided. Here, in the memory 87, telephone book data sequentially created by operating the operation button 81, transmission mail data to be transmitted to or transmitted to another mobile phone, personal computer, etc. via the transmission / reception unit 86, Incoming mail data received from another mobile phone or personal computer via the transmission / reception unit 86, memo pad data created by operating the operation button 81, image data taken by the CCD camera 85, and the like are stored. The mobile phone control unit 89 executes various controls, and as one of them, when a transmission command is input from the operation button 81, the data selected from these data is transferred to the above-described infrared communication card. The data is transmitted to the multi-function printer 10 through an infrared light receiving / emitting unit 88 similar to the infrared light receiving / emitting unit 46.

次に、こうして構成された本実施形態のマルチファンクションプリンタ10の動作のうち、コントローラ60のCPU62によって実行される携帯文字合成印刷プログラムについて説明する。携帯文字合成印刷プログラムはROM64に記憶されている。図7は、このプログラムのメインルーチンのフローチャートである。このメインルーチンは、オペレータがボタン群54を操作して操作パネル50のディスプレイ52に携帯文字合成印刷モードの操作画面(図示せず)を表示し、その操作画面に表示される複数のテンプレートの中から所望のテンプレートを選択したときに開始される。なお、ここでは、説明の便宜上、図4に示す影文字のテキスト枠を持つテンプレートが選択され、背景画像及びテキストデータがいずれも携帯電話80から取得される場合について説明する。   Next, a portable character composition printing program executed by the CPU 62 of the controller 60 among the operations of the multifunction printer 10 of the present embodiment configured as described above will be described. The portable character composition printing program is stored in the ROM 64. FIG. 7 is a flowchart of the main routine of this program. In this main routine, the operator operates the button group 54 to display an operation screen (not shown) in the portable character composition print mode on the display 52 of the operation panel 50, and among the plurality of templates displayed on the operation screen. This is started when a desired template is selected. Here, for convenience of explanation, a case will be described in which a template having a shadow text frame shown in FIG. 4 is selected, and both the background image and text data are acquired from the mobile phone 80.

このメインルーチンが開始されると、CPU62は、まず、携帯電話80から背景画像やテキストデータを入力するデータ入力処理を実行し(ステップS100)、次に、入力したデータに基づいて図5に示すXHTML文書を完成させるXHTML文書作成処理を実行し(ステップS200)、最後に、作成したXHTML文書に基づいて用紙に印刷を行う印刷処理を実行し(ステップS300)、このメインルーチンを終了する。次に、データ入力処理、XHTML文書作成処理、印刷処理の各ルーチンについて、図8、図9及び図10に基づいて個別に説明する。   When this main routine is started, the CPU 62 first executes a data input process for inputting a background image and text data from the mobile phone 80 (step S100), and then, based on the input data, shown in FIG. An XHTML document creation process for completing the XHTML document is executed (step S200). Finally, a print process for printing on a sheet based on the created XHTML document is executed (step S300), and this main routine is terminated. Next, each routine of the data input process, the XHTML document creation process, and the print process will be individually described based on FIG. 8, FIG. 9, and FIG.

まず、データ入力処理ルーチンについて、図8に基づいて説明する。データ入力処理ルーチンが開始されると、CPU62は、「携帯電話から背景画像に用いる画像データを送信して下さい」という内容のダイアログボックスを操作パネル50のディスプレイ52に表示し(ステップS110)、携帯電話80から赤外線通信カード42及びカードスロット40を介して画像データの受信を完了したか否かを判定する(ステップS120)。CPU62は、携帯電話80から画像データを受信している間はRAM66に設けられた図示しない受信バッファに順次受信した画像データを蓄積していく。そして、ステップS120で携帯電話80からの画像データの受信が完了していないときには、再びステップS120に戻る。一方、携帯電話80からの画像データの受信が完了したときには、受信した画像データを今回印刷を行う際の背景画像として用いる画像データとしてRAM66に記憶する(ステップS130)。続いて、CPU62は、「携帯電話からテキスト枠に入力するテキストデータを送信して下さい」という内容のダイアログボックスを操作パネル50のディスプレイ52に表示し(ステップS140)、携帯電話80から赤外線通信カード42及びカードスロット40を介してテキストデータの受信を完了したか否かを判定する(ステップS150)。CPU62は、携帯電話80からテキストデータを受信している間はRAM66に設けられた図示しない受信バッファに順次受信したテキストデータを蓄積していく。そして、ステップS150で携帯電話80からのテキストデータの受信が完了していないときには、再びステップS150に戻る。一方、携帯電話80からのテキストデータの受信が完了したときには、受信したテキストデータを今回印刷を行う際に用いるテキストデータとしてRAM66に記憶し(ステップS160)、このデータ入力処理ルーチンを終了する。   First, the data input processing routine will be described with reference to FIG. When the data input processing routine is started, the CPU 62 displays on the display 52 of the operation panel 50 a dialog box with the content “Please transmit image data used for the background image from the mobile phone” (step S110). It is determined whether reception of image data from the telephone 80 via the infrared communication card 42 and the card slot 40 is completed (step S120). While receiving image data from the mobile phone 80, the CPU 62 accumulates the received image data sequentially in a reception buffer (not shown) provided in the RAM 66. If the reception of the image data from the mobile phone 80 is not completed in step S120, the process returns to step S120 again. On the other hand, when the reception of the image data from the mobile phone 80 is completed, the received image data is stored in the RAM 66 as image data to be used as a background image when performing the current printing (step S130). Subsequently, the CPU 62 displays a dialog box “Please send the text data to be input to the text frame from the mobile phone” on the display 52 of the operation panel 50 (step S140). It is determined whether or not the reception of the text data is completed via 42 and the card slot 40 (step S150). While receiving the text data from the mobile phone 80, the CPU 62 accumulates the received text data in a reception buffer (not shown) provided in the RAM 66. If the reception of text data from the mobile phone 80 is not completed in step S150, the process returns to step S150 again. On the other hand, when the reception of the text data from the mobile phone 80 is completed, the received text data is stored in the RAM 66 as text data to be used for printing this time (step S160), and this data input processing routine is terminated.

次に、XHTML文書作成処理ルーチンについて、図9に基づいて説明する。XHTML文書作成処理ルーチンが開始されると、CPU62は、図5に示すXHTML文書の本文(body要素)の中の「背景画像のパス名」に、今回印刷を行う際の背景画像として用いる画像データのパス名を埋め込む(ステップS210)。パス名は、この画像データが格納されているドライブ名と画像ファイル名とを含んで作成される。続いて、今回印刷を行う際に用いられるテキストデータをRAM66から取得し(ステップS220)、そのテキストデータに含まれる先頭の文字コード(ここではシフトJISコード)を読み込み(ステップS230)、そのシフトJISコードが絵文字コードか否かを判定する(ステップS240)。このステップS240では、読み込んだシフトJISコードが図3の絵文字コード変換テーブルの絵文字コードに該当する場合に肯定判定され、該当しない場合に否定判定される。このステップS240で今回のシフトJISコードが絵文字コードでないと判定されたときには、今回のシフトJISコードに対応する文字を文字コード変換テーブル(図3参照)から取得し(ステップS250)、その文字をXHTML文書の本文(body要素)の該当箇所に組み込む(ステップS260)。一方、ステップS240で今回のシフトJISコードが絵文字コードであると判定されたときには、今回の絵文字コードに対応する画像ファイル名を絵文字コード変換テーブル(図3参照)から取得し(ステップS270)、絵文字の画像ファイルが格納されているROM64を指定するドライブ名と画像ファイル名とを含むパスをXHTML文書の本文(body要素)の該当箇所に組み込む(ステップS280)。そして、ステップS260又はステップS280のあと、テキストデータに含まれるすべてのシフトJISコードについて処理したか否かを判定し(ステップS290)、まだすべてのシフトJISコードについて処理していないときには、テキストデータに含まれる次のシフトJISコードを読み込み(ステップS295)、再びステップS240以降の処理を実行する。一方、テキストデータに含まれるすべてのシフトJISコードについて処理したときには、このXHTML文書作成処理ルーチンを終了する。例えば、携帯電話80から送信されてきたテキストデータが携帯電話80のディスプレイ84上では図11(a)に示すように表示されていた場合、XHTML文書の本文(body要素)の「テキストデータに基づいて入力する欄」(図6参照)には、図11(b)に示すように、絵文字以外の箇所はシフトJISコードに対応する文字が埋め込まれ、絵文字の箇所はその絵文字の画像ファイルが格納されているROM64を表すドライブ名「R」と画像ファイル名「emoji0001.png」とを含むパス名が埋め込まれる。すなわち、「今日の天気は<img src="R:emoji0001.png"/>。暑くなりそう。」と入力される。   Next, the XHTML document creation processing routine will be described with reference to FIG. When the XHTML document creation processing routine is started, the CPU 62 uses the “background image path name” in the text (body element) of the XHTML document shown in FIG. Are embedded (step S210). The path name is created including the drive name and image file name in which this image data is stored. Subsequently, the text data used for printing this time is acquired from the RAM 66 (step S220), the first character code (here, the shift JIS code) included in the text data is read (step S230), and the shift JIS is read. It is determined whether or not the code is a pictogram code (step S240). In step S240, an affirmative determination is made when the read shift JIS code corresponds to the pictogram code in the pictogram code conversion table of FIG. 3, and a negative determination is made when it does not. If it is determined in step S240 that the current shift JIS code is not a pictogram code, a character corresponding to the current shift JIS code is obtained from the character code conversion table (see FIG. 3) (step S250), and the character is XHTML. It is incorporated into the corresponding part of the document body (body element) (step S260). On the other hand, when it is determined in step S240 that the current shift JIS code is a pictogram code, the image file name corresponding to the current pictogram code is obtained from the pictogram code conversion table (see FIG. 3) (step S270), and the pictogram A path including the drive name for specifying the ROM 64 storing the image file and the image file name is incorporated in the corresponding part of the body (body element) of the XHTML document (step S280). Then, after step S260 or step S280, it is determined whether or not all the shift JIS codes included in the text data have been processed (step S290). The next shift JIS code included is read (step S295), and the processing after step S240 is executed again. On the other hand, when all the shift JIS codes included in the text data have been processed, this XHTML document creation processing routine is terminated. For example, when the text data transmitted from the mobile phone 80 is displayed on the display 84 of the mobile phone 80 as shown in FIG. 11A, “based on the text data” of the body (body element) of the XHTML document. In the “input field” (see FIG. 6), as shown in FIG. 11B, characters corresponding to the shift JIS code are embedded in portions other than pictograms, and image files of the pictograms are stored in the pictogram locations. The path name including the drive name “R” representing the ROM 64 and the image file name “emoji0001.png” is embedded. That is, "Today's weather is <img src =" R: emoji0001.png "/>. It seems to be hot."

次に、印刷処理ルーチンについて、図10に基づいて説明する。印刷処理ルーチンが開始されると、CPU62は、テキストの色や印字品質、印刷枚数などの設定が可能であると共に印刷開始の指令が可能な印刷設定画面(図示せず)を操作パネル50のディスプレイ52に表示する(ステップS310)。続いて、テキストの色等の設定が変更されたか否かを判定し(ステップS320)、設定が変更されたときには設定変更後の印刷設定画面をディスプレイ52に表示し(ステップS330)、再びステップS320に戻る。一方、設定が変更されていないときには、印刷開始の指令がなされたか否かを判定し(ステップS340)、印刷開始の指令がなされていないときには、再びステップS320に戻る。一方、印刷開始の指令がなされたときには、今回作成したXHTML文書を解析し、携帯電話80から入力した画像やテキストがXHTML文書に定義されたレイアウト通りに印刷用紙に配置されるように、ビットマップ画像データを作成する(ステップS350)。その後、CPU62はインクジェット印刷部30を制御して、ビットマップ画像データに基づいて印刷用紙に印刷を行い(ステップS360)、印刷終了後に本ルーチンを終了する。   Next, the print processing routine will be described with reference to FIG. When the print processing routine is started, the CPU 62 displays a print setting screen (not shown) on the operation panel 50 which can set the text color, print quality, number of prints, and the like and can issue a print start command. 52 (step S310). Subsequently, it is determined whether or not the setting of the text color or the like has been changed (step S320). When the setting has been changed, a print setting screen after the setting change is displayed on the display 52 (step S330), and step S320 is again performed. Return to. On the other hand, if the setting has not been changed, it is determined whether or not a print start command has been issued (step S340). If no print start command has been issued, the process returns to step S320 again. On the other hand, when an instruction to start printing is issued, the XHTML document created this time is analyzed, and the bitmap and the image or text input from the mobile phone 80 are arranged on the printing paper according to the layout defined in the XHTML document. Image data is created (step S350). Thereafter, the CPU 62 controls the ink jet printing unit 30 to perform printing on the printing paper based on the bitmap image data (step S360), and this routine is finished after the printing is finished.

ここで、ビットマップ画像データの作成例を説明する。ビットマップ画像の背景画像は、携帯電話80から入力した背景画像用の画像データをXHTML文書で定義された用紙サイズに合うように拡大又は縮小することにより作成される。また、ビットマップ画像の影側文字列は、左上隅が用紙の上辺から2.3mm、左辺から1.8mmの座標点となるように配置したテキスト枠内に文字と絵文字とを並べることにより作成する(図4の部分拡大図参照)。このときの文字は、XHTML文書で定義されたフォントサイズにあった文字フォントセットをROM64の文字フォントセット格納領域64aから選択し、該文字フォントセットのフォントデータを利用し、タイトル1bで指定された文字色(白色)となるように作成する。一方、絵文字は、XHTML文書で定義された絵文字の画像ファイルのパスに基づいてROM64の絵文字画像ファイル格納領域64cから画像ファイルを読み出し、該画像ファイルの画像がこのXHTML文書で定義された絵文字の画像ファイルのサイズとなるように拡大又は縮小し、元々絵文字の画像ファイルに設定されていた色をタイトル1bで指定された画像色(白色)に変更して作成する。画像色の変更は、本実施形態では画像ファイルとしてpngファイルを利用しているため、pngファイルのカラーパレットをすべてタイトル1bで指定された画像色に変更することにより実現することができる。一方、ビットマップ画像のオリジナル文字列は、左上隅が上辺から2.0mm、左辺から1.5mmの座標点となるように配置したテキスト枠内に文字と絵文字とを並べることにより作成する(図4の部分拡大図参照)。このときの文字は、XHTML文書で定義されたフォントサイズにあった文字フォントセットをROM64の文字フォントセット格納領域64aから選択し、該文字フォントセットのフォントデータを利用し、タイトル1aで指定された文字色(赤色)となるように作成する。絵文字は、XHTML文書で定義された絵文字の画像ファイルのパスに基づいてROM64の絵文字画像ファイル格納領域64cから画像ファイルを読み出し、該画像ファイルの画像がこのXHTML文書で定義された絵文字の画像ファイルのサイズとなるように拡大又は縮小し、画像色は元々絵文字の画像ファイルに設定されていた色となるように作成する。このように、背景画像の上に影側文字列が重ねられ、更にその上にオリジナル文字列が重ねられるため、背景画像のうち影側文字列やオリジナル文字列が重なっている部分はビットマップ画像に表れず、影側文字列のうちオリジナル文字列が重なっている部分はビットマップ画像に表れない。したがって、赤色の文字と元々絵文字に設定されていた色の絵文字とが混在するオリジナル文字列の背後に、白色の文字と白色の絵文字とが混在した影側文字列がずれるようにして配置され、更にその背後に背景画像が配置されることになる。なお、図11(c)に影文字の印刷結果の一例を示す。   Here, an example of creating bitmap image data will be described. The background image of the bitmap image is created by enlarging or reducing the image data for the background image input from the mobile phone 80 so as to fit the paper size defined in the XHTML document. In addition, the shadow side character string of the bitmap image is created by arranging characters and pictograms in a text frame arranged so that the upper left corner is a coordinate point of 2.3 mm from the top side of the paper and 1.8 mm from the left side. (See the partially enlarged view of FIG. 4). At this time, the character font set that matches the font size defined in the XHTML document is selected from the character font set storage area 64a of the ROM 64, and the font data of the character font set is used to specify the character font set. Create a character color (white). On the other hand, the pictograph reads out the image file from the pictographic image file storage area 64c of the ROM 64 based on the path of the pictographic image file defined in the XHTML document, and the image of the picture file is the pictographic image defined in the XHTML document. The file is enlarged or reduced to the size of the file, and the color originally set in the pictogram image file is changed to the image color (white) designated by the title 1b. The image color can be changed by changing the color palette of the png file to the image color specified by the title 1b because the png file is used as the image file in this embodiment. On the other hand, an original character string of a bitmap image is created by arranging characters and pictograms in a text frame arranged so that the upper left corner is a coordinate point of 2.0 mm from the upper side and 1.5 mm from the left side (see FIG. (Refer to the partial enlarged view of 4). At this time, the character font set that matches the font size defined in the XHTML document is selected from the character font set storage area 64a of the ROM 64, and the font data of the character font set is used to specify the character font set. Create a text color (red). The pictogram is read out from the pictogram image file storage area 64c of the ROM 64 based on the path of the pictogram image file defined in the XHTML document, and the image of the picture file is the picture file of the pictogram image file defined in the XHTML document. The image color is enlarged or reduced to the size, and the image color is created so as to be the color originally set in the image file of the pictograph. In this way, since the shadow side character string is overlaid on the background image, and the original character string is further overlaid thereon, the portion of the background image where the shadow side character string and the original character string overlap is a bitmap image. The portion of the shadow side character string that overlaps the original character string does not appear in the bitmap image. Therefore, behind the original character string in which the red character and the emoji of the color originally set as the emoji are mixed, the shadow side character string in which the white character and the white emoji are mixed is arranged so as to be shifted, Furthermore, a background image is placed behind the background image. FIG. 11C shows an example of the print result of the shadow character.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のROM64が文字記憶手段及び絵文字記憶手段に相当し、インクジェット印刷部30が出力手段に相当し、赤外線通信カード42がデータ入力手段に相当し、ROM64に格納されているXHTML文書がオリジナル文字列出力条件設定手段及び影側文字列出力条件設定手段に相当し、CPU62が出力制御手段に相当する。なお、本実施形態では、マルチファンクションプリンタ10の動作を説明することにより本発明の影文字出力装置の一例を明らかにすると共に、影文字出力制御方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The ROM 64 of this embodiment corresponds to character storage means and pictogram storage means, the inkjet printing unit 30 corresponds to output means, the infrared communication card 42 corresponds to data input means, and the XHTML document stored in the ROM 64 is the original. It corresponds to a character string output condition setting unit and a shadow side character string output condition setting unit, and the CPU 62 corresponds to an output control unit. In the present embodiment, an example of the shadow character output device of the present invention is clarified by explaining the operation of the multifunction printer 10, and an example of the shadow character output control method is also clarified.

以上詳述した本実施形態のマルチファンクションプリンタ10によれば、フォントデータを利用した文字と画像データを利用した絵文字とが入り交じった文字列について、オリジナル文字列の背面にその影となる影側文字列をずらして配置すると共に影側文字列につき絵文字の画像色を文字色と略同じ色に設定するという簡易な制御により、文字列中の文字や絵文字を影文字に変換して印刷することができる。また、オリジナル文字列の色と影側文字列の色とが十分なコントラストを持つため、影文字に変換することによりオリジナル文字列が浮き立ち強調される。更に、絵文字の画像データが多色の画像であったとしても、画像データのカラーパレットの全色をXHTML文書によって設定された画像色に置き換えるため、所望の色へ容易に変更することができる。更にまた、XHTMLのようなマークアップ言語はさまざまな属性情報などをあらかじめ定義されたコマンドとして文書中に記述していく方式の言語であるため、マークアップ言語によって記述された文書データを用いることにより、CPU62は容易にその文書データの内容を理解してインクジェット印刷部30の制御を行うことが可能となる。そして、一般に携帯電話80では絵文字を使ってメールなどの文書を作成することが多いことから、携帯電話80はマルチファンクションプリンタ10の通信相手として好適といえる。そしてまた、各絵文字につき1つの画像ファイルを記憶しているため、各絵文字につき大きさの異なる数種の画像を記憶している場合に比べて、絵文字のデータ量を軽くすることができる。   According to the multi-function printer 10 of the present embodiment described in detail above, the shadow side that becomes the shadow on the back side of the original character string with respect to the character string in which the character using the font data and the pictogram using the image data are mixed. The characters and pictograms in the character string are converted to shadow characters and printed by simple control of shifting the character strings and setting the image color of the pictograms for the shadow side character strings to approximately the same color as the character color. Can do. Further, since the color of the original character string and the color of the shadow side character string have sufficient contrast, the original character string is highlighted and emphasized by conversion to the shadow character. Furthermore, even if the image data of pictographs is a multicolor image, all the colors in the color palette of the image data are replaced with the image colors set by the XHTML document, so that the desired color can be easily changed. Furthermore, since a markup language such as XHTML is a language in which various attribute information is described in a document as a predefined command, by using document data described in the markup language. The CPU 62 can easily understand the contents of the document data and control the inkjet printing unit 30. In general, the mobile phone 80 often creates a document such as an e-mail using pictographs. Therefore, the mobile phone 80 is suitable as a communication partner of the multifunction printer 10. In addition, since one image file is stored for each pictogram, the data amount of the pictogram can be reduced compared to the case where several types of images having different sizes are stored for each pictogram.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態では、影側文字列の文字色及び画像色を白色としたが、白色以外の色に設定したテンプレートを別途用意してもよいし、任意の色をオペレータが選択できるようにしてもよい。それらの場合であっても、オリジナル文字列の文字色と十分なコントラストが確保できる色であることが望ましい。   For example, in the above-described embodiment, the character color and image color of the shadow side character string are set to white. However, a template set to a color other than white may be prepared separately, and an arbitrary color can be selected by the operator. It may be. Even in these cases, it is desirable that the color can ensure sufficient contrast with the character color of the original character string.

上述した実施形態では、携帯電話会社ごとに文字コードに対応する絵文字が異なる場合について触れなかったが、そのような場合に本発明を適用してもよい。具体的には、各携帯電話会社ごとに絵文字画像ファイル格納領域64cと絵文字コード変換テーブル格納領域64dとをROM64内に設けておく。そして、マルチファンクションプリンタ10が携帯電話80からテキストデータを受信する際、該テキストデータには携帯電話会社を識別可能な識別データが添付されることからその識別データを解析して携帯電話会社を認識し、その携帯電話会社の絵文字画像ファイル格納領域64cと絵文字コード変換テーブル格納領域64dとを利用して上述した実施形態と同様の携帯文字合成印刷ルーチンを実行してもよい。   In the above-described embodiment, the case where the pictogram corresponding to the character code is different for each mobile phone company is not mentioned, but the present invention may be applied to such a case. Specifically, a pictographic image file storage area 64c and a pictographic code conversion table storage area 64d are provided in the ROM 64 for each mobile phone company. When the multi-function printer 10 receives text data from the mobile phone 80, identification data that can identify the mobile phone company is attached to the text data, so that the mobile phone company is recognized by analyzing the identification data. Then, a portable character composition printing routine similar to that of the above-described embodiment may be executed using the pictographic image file storage area 64c and the pictographic code conversion table storage area 64d of the mobile phone company.

上述した実施形態では、マルチファンクションプリンタ10は赤外線通信カード42をカードスロット40に着脱可能に差し込んで携帯電話80と通信する例を示したが、赤外線通信機能を内蔵していてもよい。また、印刷対象となるテキストデータを赤外線通信を利用して入力するようにしたが、Bluetooth(登録商標)のように数GHz帯域を用いる無線通信を利用してもよいし、USB接続などを用いる有線通信を利用してもよい。   In the above-described embodiment, the multi-function printer 10 has shown an example in which the infrared communication card 42 is detachably inserted into the card slot 40 to communicate with the mobile phone 80. However, the multi-function printer 10 may incorporate an infrared communication function. In addition, text data to be printed is input using infrared communication, but wireless communication using a few GHz band such as Bluetooth (registered trademark) may be used, or a USB connection or the like is used. Wired communication may be used.

上述した実施形態では、携帯電話80から印刷対象となるテキストデータを受信するものとして説明したが、例えばPDA(Personal Digital Assistant)やディスクトップ型コンピュータ、モバイルコンピュータなどから印刷対象となるテキストデータを受信してもよい。   In the embodiment described above, the text data to be printed is received from the mobile phone 80. However, for example, text data to be printed is received from a PDA (Personal Digital Assistant), a desktop computer, a mobile computer, or the like. May be.

上述した実施形態では、マルチファンクションプリンタ10に本発明を適用した例を示したが、印刷機能を有する装置であれば特にこれに限定されるものではなく、例えばスキャナ部20を有さないインクジェットプリンタに本発明を適用してもよいし、ファクシミリ装置に本発明を適用してもよい。また、印刷方式もインクジェット方式に限らず、電子写真方式(レーザプリンタなど)であってもよいし熱転写式であってもよい。また、印刷機能を有する装置以外に、例えば表示機能を有する装置に本発明を適用してもよく、その場合も上述した実施形態と同様の手法によりディスプレイなどの表示手段に影文字を出力することができる。   In the embodiment described above, an example in which the present invention is applied to the multi-function printer 10 has been described. However, the present invention is not particularly limited as long as the apparatus has a printing function. For example, an inkjet printer that does not include the scanner unit 20 The present invention may be applied to a facsimile machine. The printing method is not limited to the ink jet method, and may be an electrophotographic method (laser printer or the like) or a thermal transfer method. Further, in addition to a device having a printing function, for example, the present invention may be applied to a device having a display function, and in that case, a shadow character is output to a display means such as a display by the same method as the above-described embodiment Can do.

マルチファンクションプリンタの斜視図。The perspective view of a multifunction printer. マルチファンクションプリンタの電気的接続を表すブロック図。The block diagram showing the electrical connection of a multifunction printer. コントローラのROMの各格納領域を表す説明図。Explanatory drawing showing each storage area of ROM of a controller. テンプレートの一例を示す説明図。Explanatory drawing which shows an example of a template. テンプレートに対応づけられたXHTML文書の一例を示す概念図。The conceptual diagram which shows an example of the XHTML document matched with the template. XHTML文書の本体の記述(html要素)の一例を示す説明図。Explanatory drawing which shows an example of the description (html element) of the main body of a XHTML document. 携帯文字合成印刷のメインルーチンのフローチャート。The flowchart of the main routine of portable character synthetic printing. データ入力処理ルーチンのフローチャート。The flowchart of a data input processing routine. XHTML文書作成処理ルーチンのフローチャート。The flowchart of a XHTML document creation process routine. 印刷処理ルーチンのフローチャート。6 is a flowchart of a print processing routine. テキストデータの一例についての説明図。Explanatory drawing about an example of text data.

符号の説明Explanation of symbols

10 マルチファンクションプリンタ、12 筐体、14 ヒンジ、16 蓋カバー、18 排出口、20 スキャナ部、22 ガラス板、24 ラインイメージセンサ、26 移動機構、30 インクジェット印刷部、32 キャリッジ、32a キャリッジモータ、34 インクカートリッジ、36 印刷ヘッド、38 搬送ローラ、40 カードスロット、42 赤外線通信カード、44 メモリ、46 赤外線受発光部、48 カード制御部、50 操作パネル、52 ディスプレイ、54 ボタン群、60 コントローラ、62 CPU、64 ROM、66 RAM、64a 文字フォントセット格納領域、64b 文字コード変換テーブル格納領域、64c 絵文字画像ファイル格納領域、64d 絵文字コード変換テーブル格納領域、64e 文書データ格納領域、67 内部通信インタフェース、68 外部通信インタフェース、69 バス、80 携帯電話、81 操作ボタン、82 マイク、83 スピーカ、84 ディスプレイ、85 CCDカメラ、86 送受信部、87 メモリ、88 赤外線受発光部、89 携帯電話制御部、100 テンプレート、102 背景画像、104 テキスト枠。 DESCRIPTION OF SYMBOLS 10 Multifunction printer, 12 Housing | casing, 14 Hinge, 16 Cover cover, 18 Outlet, 20 Scanner part, 22 Glass plate, 24 Line image sensor, 26 Moving mechanism, 30 Inkjet printing part, 32 Carriage, 32a Carriage motor, 34 Ink cartridge, 36 Print head, 38 Transport roller, 40 Card slot, 42 Infrared communication card, 44 Memory, 46 Infrared light emitting / receiving unit, 48 Card control unit, 50 Operation panel, 52 Display, 54 Button group, 60 Controller, 62 CPU 64 ROM, 66 RAM, 64a character font set storage area, 64b character code conversion table storage area, 64c pictogram image file storage area, 64d pictogram code conversion table storage area, 64e document Data storage area, 67 Internal communication interface, 68 External communication interface, 69 Bus, 80 Mobile phone, 81 Operation button, 82 Microphone, 83 Speaker, 84 Display, 85 CCD camera, 86 Transmitter / receiver, 87 Memory, 88 Infrared light receiving / emitting unit , 89 Mobile phone control unit, 100 template, 102 background image, 104 text frame.

Claims (9)

各文字につきフォントデータを記憶する文字記憶手段と、
各絵文字につき画像データを記憶する絵文字記憶手段と、
所定の出力媒体に出力可能な出力手段と、
所定の文字及び所定の絵文字を含む文字列を入力するデータ入力手段
前記文字列をオリジナル文字列として出力する際の文字色を設定するオリジナル文字列出力条件設定手段と、
前記文字列を前記オリジナル文字列の影となる影側文字列として出力する際の文字色及び該文字色と略同じ画像色を設定する影側文字列出力条件設定手段と、
前記オリジナル文字列のうち、各文字については対応するフォントデータを前記文字記憶手段から読み出し前記オリジナル文字列出力条件設定手段によって設定された文字色で出力するよう前記出力手段を制御し、各絵文字は対応する画像データを前記絵文字記憶手段から読み出し該画像データに含まれる画像色で出力するよう前記出力手段を制御する一方、前記影側文字列のうち、各文字については対応するフォントデータを前記文字記憶手段から読み出し前記影側文字列出力条件設定手段によって設定された文字色で出力するよう前記出力手段を制御し、各絵文字については対応する画像データを前記絵文字記憶手段から読み出し前記影側文字列出力条件設定手段によって設定された画像色で出力するよう前記出力手段を制御する出力制御手段と、
を備えた影文字出力装置。
Character storage means for storing font data for each character;
Pictogram storage means for storing image data for each pictogram;
Output means capable of outputting to a predetermined output medium;
Data input means for inputting a character string including a predetermined character and a predetermined pictogram Original character string output condition setting means for setting a character color when outputting the character string as an original character string;
Shadow side character string output condition setting means for setting a character color when outputting the character string as a shadow side character string to be a shadow of the original character string and an image color substantially the same as the character color;
Of the original character string, for each character, the corresponding font data is read from the character storage means, and the output means is controlled to output the character color set by the original character string output condition setting means. The corresponding image data is read from the pictogram storage unit, and the output unit is controlled to output the image color included in the image data. On the other hand, for each character in the shadow side character string, the corresponding font data is the character The output means is controlled to read out from the storage means and output in the character color set by the shadow side character string output condition setting means, and for each pictogram, the corresponding image data is read out from the pictogram storage means. An output control for controlling the output means to output the image color set by the output condition setting means. And means,
Shadow character output device with
前記データ入力手段は、携帯通信端末から前記文字列を入力する、
請求項1に記載の影文字出力装置。
The data input means inputs the character string from a mobile communication terminal.
The shadow character output device according to claim 1.
前記オリジナル文字列出力条件設定手段は、前記オリジナル文字列の配置位置を前記出力媒体の所定位置に設定し、
前記影側文字列出力条件設定手段は、前記影側文字列の配置位置を前記オリジナル文字列の背後であって前記オリジナル文字列から所定量ずれた位置に設定し、
前記出力制御手段は、前記オリジナル文字列が前記出力媒体の所定位置に配置され、前記影側文字列が前記オリジナル文字列の背後であって該オリジナル文字列から前記所定量ずれた位置に配置されるよう前記出力手段を制御する、
請求項1又は2に記載の影文字出力装置。
The original character string output condition setting means sets the arrangement position of the original character string to a predetermined position of the output medium,
The shadow side character string output condition setting means sets the position of the shadow side character string at a position behind the original character string and shifted by a predetermined amount from the original character string,
The output control means is arranged such that the original character string is disposed at a predetermined position of the output medium, and the shadow side character string is disposed behind the original character string and shifted by the predetermined amount from the original character string. Controlling the output means to
The shadow character output device according to claim 1 or 2.
前記オリジナル文字列出力条件設定手段及び前記影側文字列出力条件設定手段は、所定のマークアップ言語によって記述された文書を作成する手段であり、
前記出力制御手段は、前記文書を解析して前記出力手段の制御を行う手段である、
請求項1〜3のいずれかに記載の影文字出力装置。
The original character string output condition setting means and the shadow side character string output condition setting means are means for creating a document described in a predetermined markup language,
The output control means is means for analyzing the document and controlling the output means.
The shadow character output device according to claim 1.
前記影側文字列出力条件設定手段は、前記影側文字列として出力する際の前記文字色及び前記画像色を、前記オリジナル文字列として出力する際の前記文字色に比べて所定の閾値を超える明度差及び色差を持つように設定する、
請求項1〜4のいずれかに記載の影文字出力装置。
The shadow side character string output condition setting means exceeds a predetermined threshold value for the character color and the image color when output as the shadow side character string compared to the character color when output as the original character string. Set to have brightness difference and color difference,
The shadow character output device according to claim 1.
前記絵文字に対応する画像データは、カラーパレットを備えた画像データであり、
前記出力制御手段は、前記影側文字列のうち、各絵文字については対応する画像データを前記絵文字記憶手段から読み出し、該画像データのカラーパレットの全色を前記影側文字列出力条件設定手段によって設定された画像色に置き換える、
請求項1〜5のいずれかに記載の影文字出力装置。
The image data corresponding to the pictograph is image data having a color palette,
The output control means reads image data corresponding to each pictogram out of the shadow side character string from the pictogram storage means, and all the colors of the color palette of the image data are output by the shadow side character string output condition setting means. Replace with the set image color,
The shadow character output device according to claim 1.
前記出力手段は、所定の印刷媒体に印刷可能な手段である、
請求項1〜6のいずれかに記載の影文字出力装置。
The output means is means capable of printing on a predetermined print medium.
The shadow character output device according to claim 1.
各文字につきフォントデータを記憶する文字記憶手段と、各絵文字につき画像データを記憶する絵文字記憶手段と、所定の出力媒体に出力可能な出力手段と、所定の文字及び所定の絵文字を含む文字列をオリジナル文字列として出力する際の文字色を設定するオリジナル文字列出力条件設定手段と、前記文字列を前記オリジナル文字列の影となる影側文字列として出力する際の文字色及び該文字色と略同じ画像色を設定する影側文字列出力条件設定手段とを備えた装置を用いて影文字の出力を制御する、コンピュータ・ソフトウェアによる影文字出力制御方法であって、
(a)前記文字列を入力するステップと、
(b)前記ステップ(a)で入力した前記文字列を前記オリジナル文字列として出力するにあたり、前記オリジナル文字列のうち、各文字については対応するフォントデータを前記文字記憶手段から読み出し前記オリジナル文字列出力条件設定手段によって設定された文字色で出力するよう前記出力手段を制御し、各絵文字は対応する画像データを前記絵文字記憶手段から読み出し該画像データに含まれる画像色で出力するよう前記出力手段を制御し、前記ステップ(a)で入力した前記文字列を前記影側文字列として出力するにあたり、前記影側文字列のうち、各文字については対応するフォントデータを前記文字記憶手段から読み出し前記影側文字列出力条件設定手段によって設定された文字色で出力するよう前記出力手段を制御し、各絵文字については対応する画像データを前記絵文字記憶手段から読み出し前記影側文字列出力条件設定手段によって設定された画像色で出力するよう前記出力手段を制御するステップと、
を含む影文字出力制御方法。
Character storage means for storing font data for each character, pictogram storage means for storing image data for each pictogram, output means capable of outputting to a predetermined output medium, and a character string including a predetermined character and a predetermined pictogram Original character string output condition setting means for setting a character color when outputting as an original character string, and a character color and the character color when outputting the character string as a shadow side character string that is a shadow of the original character string A shadow character output control method by computer software, which controls the output of shadow characters using an apparatus comprising shadow side character string output condition setting means for setting substantially the same image color,
(A) inputting the character string;
(B) When outputting the character string input in step (a) as the original character string, for each character of the original character string, the corresponding font data is read from the character storage means and the original character string The output means controls the output means to output in the character color set by the output condition setting means, and each pictogram reads out the corresponding image data from the pictogram storage means and outputs it in the image color included in the image data. When the character string input in step (a) is output as the shadow side character string, the font data corresponding to each character in the shadow side character string is read from the character storage means. Controlling the output means to output the character color set by the shadow side character string output condition setting means, And controlling the output means to output a corresponding image data at the set image color by reading the shadow side string output condition setting means from the pictogram memory means for characters,
Shadow character output control method including
請求項8に記載の影文字出力制御方法の各ステップを1又は複数のコンピュータに実現させるためのプログラム。   A program for causing one or more computers to realize each step of the shadow character output control method according to claim 8.
JP2005256865A 2005-09-05 2005-09-05 Shadow character output device, shadow character output control method and program thereof Expired - Fee Related JP5050331B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005256865A JP5050331B2 (en) 2005-09-05 2005-09-05 Shadow character output device, shadow character output control method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005256865A JP5050331B2 (en) 2005-09-05 2005-09-05 Shadow character output device, shadow character output control method and program thereof

Publications (2)

Publication Number Publication Date
JP2007071997A true JP2007071997A (en) 2007-03-22
JP5050331B2 JP5050331B2 (en) 2012-10-17

Family

ID=37933512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005256865A Expired - Fee Related JP5050331B2 (en) 2005-09-05 2005-09-05 Shadow character output device, shadow character output control method and program thereof

Country Status (1)

Country Link
JP (1) JP5050331B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071649A (en) * 2007-09-14 2009-04-02 Seiko Epson Corp Image processing device, image processing method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62282380A (en) * 1986-05-31 1987-12-08 Casio Comput Co Ltd Overwritten character generating system
JPH03288894A (en) * 1990-04-05 1991-12-19 Matsushita Electric Ind Co Ltd Document preparing device
JPH10315547A (en) * 1997-05-23 1998-12-02 Casio Electron Mfg Co Ltd Color recording apparatus
JPH1165547A (en) * 1997-08-25 1999-03-09 Canon Inc System and method for document display
JPH11232064A (en) * 1998-02-10 1999-08-27 Seiko Epson Corp Printing device
JP2003076355A (en) * 2001-08-31 2003-03-14 Sharp Corp Picture display device, picture display method, recording medium, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62282380A (en) * 1986-05-31 1987-12-08 Casio Comput Co Ltd Overwritten character generating system
JPH03288894A (en) * 1990-04-05 1991-12-19 Matsushita Electric Ind Co Ltd Document preparing device
JPH10315547A (en) * 1997-05-23 1998-12-02 Casio Electron Mfg Co Ltd Color recording apparatus
JPH1165547A (en) * 1997-08-25 1999-03-09 Canon Inc System and method for document display
JPH11232064A (en) * 1998-02-10 1999-08-27 Seiko Epson Corp Printing device
JP2003076355A (en) * 2001-08-31 2003-03-14 Sharp Corp Picture display device, picture display method, recording medium, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071649A (en) * 2007-09-14 2009-04-02 Seiko Epson Corp Image processing device, image processing method, and program

Also Published As

Publication number Publication date
JP5050331B2 (en) 2012-10-17

Similar Documents

Publication Publication Date Title
KR100667119B1 (en) Printing apparatus, control method therefor, and storage medium
KR20040049868A (en) Printing apparatus, control method therefor, and storage medium
US8400667B2 (en) Image forming apparatus and image information saving method
JP2012027848A (en) Print control unit, printer and printing preview method
US20060164685A1 (en) Printing system, method and program, display, and printer
JP5050331B2 (en) Shadow character output device, shadow character output control method and program thereof
US20020176108A1 (en) Printer with facsimile function capable of selectively printing fax data and selective printing method thereof
JP2009234244A (en) Printer, its control method and program
JP2007069539A (en) Printing system, printing method, and printer
JP4079067B2 (en) Mobile phone, printing apparatus, printing system and printing method therefor
JP2007196476A (en) Printing by utilizing undefined character code
JP4622757B2 (en) Printing system, printing method and printing apparatus
JP2007072607A (en) Printing apparatus, print control method, and print control program
JP2007069389A (en) Printer, method for controlling printing, and printing control program
JP4020061B2 (en) Mobile phone, server, printing system, and image processing method
JP2007083691A (en) Printing system, printing method, and printer
JP5087437B2 (en) Scanner device
JP6874721B2 (en) Image processing system and image forming equipment
JP2005111843A (en) Printer, printing method, and program
JP2010016647A (en) Image processing apparatus, method and program
JP2007175937A (en) Printer
JP6777111B2 (en) Image processing system and image forming equipment
JP6927097B2 (en) Image processing system and image forming equipment
JP2008125093A (en) Mobile phone, printer, print system, and its printing method
KR100522602B1 (en) Method and apparatus for selectively printing page of document

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080717

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110908

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120626

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120709

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150803

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees