JP4479263B2 - Output device and output processing system - Google Patents
Output device and output processing system Download PDFInfo
- Publication number
- JP4479263B2 JP4479263B2 JP2004034189A JP2004034189A JP4479263B2 JP 4479263 B2 JP4479263 B2 JP 4479263B2 JP 2004034189 A JP2004034189 A JP 2004034189A JP 2004034189 A JP2004034189 A JP 2004034189A JP 4479263 B2 JP4479263 B2 JP 4479263B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- output
- layout
- unit
- card
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Description
本発明は、携帯端末等から受信したデータに基づく出力処理を行う出力装置及び出力処理システムに関する。 The present invention relates to an output device and the output processing system performs an output process based on the data received from the portable terminal and the like.
近年、無線技術を用いて、デジタル機器間のデータ通信が行われるようになっている。特に、最近では持ち運びが容易なモバイル端末間でのデータの送信あるいは受信に赤外線通信を用いたりすることが多くなっている。例えば、最近の主要な携帯電話には、赤外線通信ポートが標準装備で搭載されているものが多い。携帯電話には電話帳機能で入力した知人等の氏名、電話番号、メールアドレス等を含む個人情報データや、カメラ機能で撮影した画像データが保存されており、これらのデータをプリンタに印刷させたい要求がある。 In recent years, data communication between digital devices has been performed using wireless technology. In particular, recently, infrared communication is often used for data transmission or reception between mobile terminals that are easy to carry. For example, many recent major mobile phones are equipped with an infrared communication port as standard equipment. The mobile phone stores personal information data such as names of acquaintances entered through the phone book function, phone numbers, e-mail addresses, etc., and image data taken with the camera function, and these data are to be printed on a printer. There is a request.
従来、携帯用パーソナルコンピュータ(パソコンと称す)とプリンタを赤外線通信で結び、同パソコンのデータを印刷する技術が知られている(例えば特許文献1)。パソコンではアプリケーションプラグラムが印刷に対応しており、各種データをレイアウトを指定して印刷することができる。
ところで、携帯電話に保存される個人情報データは、例えばvCardファイル形式でメモリに記憶されている。このvCardファイルは、データそのものはテキストデータであり、携帯電話の画面に表示させる際は、表示用アプリケーションプログラムによって所定のレイアウトで表示される。しかし、データそのものはレイアウト定義できない形式であるため、携帯電話に保存されている個人情報を例えばプリンタに出力させたい場合、そのデータは仮に印刷できたとしてもテキストの単なる羅列として印刷されることになってしまう。また、プリンタにレイアウトを指定する機能があれば、それを利用してプリンタ内でレイアウトを指定することはソフトウェアの改良などによって実現は可能であるかもしれない。しかし、操作スイッチが元々少ないプリンタでレイアウトを指定するのは、操作作業としてかなり面倒である。さらに、プリンタから離れた場所から無線通信でデータ送信する使われ方が想定される携帯電話から印刷する場合、携帯電話の操作とプリンタの操作の両方が必要となり、印刷操作時の使い勝手が悪くなるという問題も残る。なお、個人情報などを印刷させるときに使いたいレイアウトは例えば電話帳形式などおおよそ決まっている場合が多い。また、プリンタにデータを送信して印刷させる場合、レイアウト以外にもユーザが指定したい印刷パラメータはある。 By the way, the personal information data stored in the mobile phone is stored in the memory in the vCard file format, for example. In this vCard file, the data itself is text data, and when displayed on the screen of the mobile phone, it is displayed in a predetermined layout by a display application program. However, since the data itself is in a format that cannot be defined for layout, if you want to output personal information stored in a mobile phone to a printer, for example, the data will be printed as a simple list of text even if it can be printed. turn into. If the printer has a function for specifying a layout, it may be possible to specify the layout in the printer using the function by improving the software. However, it is quite troublesome to specify a layout with a printer that originally has few operation switches. Furthermore, when printing from a mobile phone that is expected to be used for wireless data transmission from a location away from the printer, both the mobile phone operation and the printer operation are required, and the usability at the time of printing operation becomes poor. The problem remains. In many cases, the layout to be used when printing personal information or the like is roughly determined, for example, in a telephone directory format. In addition, when sending data to a printer for printing, there are print parameters that the user wants to specify in addition to the layout.
本発明の目的は、携帯端末から出力装置へ直接データを送信して、そのデータに基づく出力処理を行う場合、ユーザが携帯端末から出力パラメータを指定できる出力装置、出力処理システム及び携帯端末を提供することにある。 An object of the present invention is to provide an output device, an output processing system, and a portable terminal that allow a user to specify an output parameter from the portable terminal when transmitting data directly from the portable terminal to the output device and performing an output process based on the data. There is to do.
上記課題を解決するために、本発明は、携帯端末から受信したデータに基づき出力処理を行う出力手段を有する出力装置において、前記携帯端末で入力されたデータとしてvCardデータもしくはvNoteデータに予め用意されたメモ領域に記述されている前記出力処理を指定する指定情報を含むデータを受信する受信部と、前記受信部で受信したデータの記述内容を解読して指定情報を取得する解読手段と、前記解読手段が解読した前記指定情報に応じた出力パラメータを決定する出力条件決定手段とを備え、前記出力手段は、前記決定された出力パラメータを用いて前記携帯端末から受信したデータに基づく出力処理を行うことを要旨とする。
また、これによれば、データの項目として予め用意されているメモ領域(ノート領域)に指定情報を記述したデータを携帯端末から送信すると、そのメモ領域に指定情報を記述して指定した出力パラメータ又はレイアウトでデータの内容を出力手段に出力させることが可能となる。メモ領域を利用して出力パラメータ又はレイアウトを指定する構成であるので、専用のテキスト領域を追加するなど特にデータ構造を変更する必要もない。
In order to solve the above problems, the present invention provides an output device having an output unit that performs output processing based on data received from a mobile terminal, and is prepared in advance in vCard data or vNote data as data input by the mobile terminal. A receiving unit that receives data including designation information that specifies the output process described in the memo area, a decoding unit that decodes the description content of the data received by the receiving unit, and obtains designation information; Output condition determining means for determining an output parameter corresponding to the designation information decoded by the decoding means, and the output means performs output processing based on data received from the portable terminal using the determined output parameter. The gist is to do.
Also, according to this, when the data describing the designation information in the memo area (note area) prepared in advance as the data item is transmitted from the portable terminal, the output parameter designated by describing the designation information in the memo area Alternatively, it is possible to cause the output means to output the contents of the data in the layout. Since the output parameter or layout is specified using the memo area, there is no need to change the data structure, such as adding a dedicated text area.
これによれば、携帯端末で入力されたデータは受信部を介して受信され、その受信したデータの記述内容を解読手段が解読して指定情報を取得する。出力条件決定手段はその指定情報に応じた出力パラメータを決定し、出力手段はその決定された出力パラメータを用いてデータに基づく出力処理を行う。よって、携帯端末で入力した記述内容で指定した出力パラメータで送信データの内容を出力させることが可能となる。 According to this, the data input by the portable terminal is received via the receiving unit, and the decoding means decodes the description content of the received data to acquire the designation information. The output condition determining means determines an output parameter according to the designation information, and the output means performs an output process based on the data using the determined output parameter. Therefore, it is possible to output the content of the transmission data with the output parameter specified by the description content input by the portable terminal.
また、本発明の出力装置では、前記データには複数の出力パラメータを指定する指定情報が記述されており、前記出力条件決定手段は、前記解読手段が前記データの記述内容を解読して取得した指定情報に応じた複数の出力パラメータを決定し、前記出力手段は、前記決定された複数の出力パラメータを用いて前記データに基づく出力処理を行うことを要旨とする。 In the output device of the present invention, the data includes designation information for designating a plurality of output parameters, and the output condition determination means is obtained by the decoding means decoding the description contents of the data. The gist is to determine a plurality of output parameters according to the designation information, and the output means performs an output process based on the data using the determined plurality of output parameters.
これによれば、データの記述内容の指定によって複数の出力パラメータを指定できるので、携帯端末から複数の出力パラメータを指定してデータ送信することにより、データの出力内容の自由度が増える。 According to this, since a plurality of output parameters can be specified by specifying the description contents of data, the degree of freedom of the output contents of data is increased by specifying a plurality of output parameters from the portable terminal and transmitting the data.
さらに本発明の出力装置では、前記出力パラメータは、少なくともレイアウトを含み、前記出力手段は、前記決定された出力パラメータを用いて前記データに基づく出力処理を行って前記データの内容を前記レイアウトで出力することを要旨とする。 Further, in the output device of the present invention, the output parameter includes at least a layout, and the output means performs an output process based on the data using the determined output parameter and outputs the content of the data in the layout. The gist is to do.
これによれば、携帯端末からレイアウトを指定してデータ送信することで、データの内容を指定したレイアウトで出力させることが可能となる。
また、本発明の出力装置では、記出力手段は前記データに基づき印刷処理を行う印刷手段であり、前記出力パラメータは、少なくとも印刷枚数を含み、前記出力手段は、前記決定された出力パラメータを用いて前記データに基づく印刷処理を前記印刷枚数の回数実行することを要旨とする。
According to this, by designating the layout from the mobile terminal and transmitting the data, it becomes possible to output the data contents in the designated layout.
In the output device of the present invention, the output means is a printing means for performing a printing process based on the data, the output parameter includes at least the number of printed sheets, and the output means uses the determined output parameter. In summary, the printing process based on the data is executed as many times as the number of printed sheets.
これによれば、携帯端末から印刷枚数を指定してデータ送信することで、データの内容を指定した印刷枚数だけ印刷させることが可能となる。
さらに本発明の出力装置では、前記出力手段は前記データに基づき印刷処理を行う印刷手段であり、前記出力パラメータは、少なくとも印刷媒体の指定を含み、前記出力手段は、前記出力パラメータを用いて前記データに基づく印刷処理を行って前記データの内容を前記指定の印刷媒体に印刷することを要旨とする。
According to this, by designating the number of prints from the portable terminal and transmitting the data, it is possible to print only the designated number of prints of the data contents.
Furthermore, in the output device of the present invention, the output means is a print means for performing a printing process based on the data, and the output parameter includes at least designation of a print medium, and the output means uses the output parameter to The gist is to perform a printing process based on the data and print the contents of the data on the designated print medium.
これによれば、携帯端末から印刷媒体を指定してデータ送信することで、データの内容を指定した印刷媒体に印刷させることが可能となる。
また、本発明では、携帯端末から受信したデータに基づき出力処理を行う出力手段を有する出力装置において、前記携帯端末で入力されたデータとしてvCardデータもしくはvNoteデータに予め用意されたメモ領域に記述されている前記出力処理を指定する指定情報を含むデータを受信する受信部と、前記受信部で受信した前記データの記述内容を解読して指定情報を取得する解読手段と、レイアウトデータを記憶する記憶部と、前記解読手段が解読して得た指定情報に応じたレイアウトデータを前記記憶部から読み出すレイアウト決定手段と、前記読み出されたレイアウトデータを用いて前記データをレイアウト付きデータに変換する変換処理部とを備え、前記出力手段は、前記携帯端末から受信した前記レイアウト付きデータに基づく出力処理を行って前記データの内容を前記決定されたレイアウトで出力することを要旨とする。
According to this, by designating the print medium from the portable terminal and transmitting the data, it is possible to print the data content on the designated print medium.
Further, in the present invention, in an output device having an output unit that performs output processing based on data received from a mobile terminal, the data input by the mobile terminal is described in a memo area prepared in advance in vCard data or vNote data. A receiving unit that receives data including designation information that designates the output processing, a decoding unit that decodes the description content of the data received by the receiving unit to obtain designation information, and a memory that stores layout data Unit, layout determining means for reading out layout data corresponding to the designation information obtained by the decoding means from the storage unit, and conversion for converting the data into data with a layout using the read layout data and a processing unit, said output means, said the layout with data received from said portable terminal Performing brute output processing to be required to print the contents of the data in the determined layout.
これによれば、携帯端末で入力されたデータを受信すると、その受信したデータの記述
内容を解読手段が解読して指定情報を取得する。レイアウト決定手段は、解読手段が解読した指定情報に応じたレイアウトデータを記憶部から読み出す。その読み出されたレイアウトデータを用いて変換処理部は、受信したデータをレイアウト付きデータに変換する。そして、出力手段がレイアウト付きデータに基づく出力処理を行う。よって、携帯電話から送信したデータの内容を、携帯端末で指定情報を入力して指定したレイアウトで出力させることが可能となる。
また、これによれば、データの項目として予め用意されているメモ領域(ノート領域)に指定情報を記述したデータを携帯端末から送信すると、そのメモ領域に指定情報を記述して指定した出力パラメータ又はレイアウトでデータの内容を出力手段に出力させることが可能となる。メモ領域を利用して出力パラメータ又はレイアウトを指定する構成であるので、専用のテキスト領域を追加するなど特にデータ構造を変更する必要もない。
According to this, when the data input by the portable terminal is received, the decoding means decodes the description content of the received data and acquires the designation information. The layout determining unit reads layout data corresponding to the designation information decoded by the decoding unit from the storage unit. Using the read layout data, the conversion processing unit converts the received data into data with a layout. And an output means performs the output process based on the data with a layout. Therefore, it is possible to output the content of data transmitted from the mobile phone in a specified layout by inputting designation information on the portable terminal.
Also, according to this, when the data describing the designation information in the memo area (note area) prepared in advance as the data item is transmitted from the portable terminal, the output parameter designated by describing the designation information in the memo area Alternatively, it is possible to cause the output means to output the contents of the data in the layout. Since the output parameter or layout is specified using the memo area, there is no need to change the data structure, such as adding a dedicated text area.
さらに本発明の出力装置では、前記データには複数のレイアウトを指定するテキストが記述されており、前記レイアウト決定手段は、前記解読手段が前記データの記述内容を解読して取得した指定情報に応じた複数のレイアウトデータを決定し、前記変換処理部は、複数のレイアウトデータを用いて前記データを複数のレイアウト付きデータに変換し、前記出力手段は、前記複数のレイアウト付きデータに基づき出力処理を行って前記データの内容を複数種のレイアウトで出力することを要旨とする。 Further, in the output device of the present invention, the data includes a text designating a plurality of layouts, and the layout determination means responds to the designation information obtained by the decoding means decoding the description contents of the data. A plurality of layout data, and the conversion processing unit converts the data into a plurality of layout-attached data using the plurality of layout data, and the output means performs an output process based on the plurality of layout-added data. And the content of the data is output in a plurality of types of layouts.
これによれば、複数のレイアウトを指定する指定情報が記述されたデータを携帯端末から受信すると、その受信したデータの記述内容を解読手段が解読して指定情報を取得し、レイアウト決定手段がこの指定情報に応じた複数のレイアウトデータを決定する。処理手段は、この決定された複数のレイアウトデータを用いてデータを複数のレイアウト付きデータに変換する。そして、出力手段が複数のレイアウト付きデータに基づく出力処理を行うことで、データの内容が複数種のレイアウトで出力される。よって、携帯端末から送信したデータの内容を複数種のレイアウトで出力させることが可能となる。 According to this, when the data in which the designation information designating a plurality of layouts is received from the portable terminal, the decoding means decodes the description content of the received data to obtain the designation information, and the layout determination means A plurality of layout data corresponding to the designation information is determined. The processing means converts the data into a plurality of layout-attached data using the determined plurality of layout data. Then, the output unit performs output processing based on a plurality of layout-added data, so that the data contents are output in a plurality of types of layouts. Therefore, it is possible to output the contents of data transmitted from the mobile terminal in a plurality of types of layouts.
本発明の出力装置では、前記データは個人情報データであり、前記レイアウトは名刺レイアウトであることを要旨とする。
これによれば、携帯端末で作成した個人情報データを送信すると、この個人情報データの記述内容で指定された名刺レイアウトでこの個人情報の内容を出力(例えば印刷)させることが可能となる。
The gist of the output device of the present invention is that the data is personal information data and the layout is a business card layout.
According to this, when the personal information data created by the portable terminal is transmitted, the contents of the personal information can be output (for example, printed) in the business card layout designated by the description contents of the personal information data.
本発明の出力装置では、前記指定情報は、番号又はアルファベットであることを要旨とする。
これによれば、指定情報は番号又はアルファベットであるので、簡単に記述できるうえ、順序性があるので指定内容を間違いなく指定し易く、出力パラメータ又はレイアウト指定時の誤入力を回避し易い。
In the output device of the present invention, the designation information is a number or an alphabet.
According to this, since the designation information is a number or alphabet, it can be easily described, and since there is an order, it is easy to designate the designated content without fail, and it is easy to avoid an erroneous input when designating an output parameter or layout.
また、本発明は、前記出力装置と、携帯端末とを備えた出力処理システムであって、前記携帯端末は、前記出力装置に出力パラメータを指定するための指定情報を記述する入力部を備えたことを要旨とする。この出力処理システムの発明によれば、前記出力装置の発明と同様の作用効果が得られる。 In addition, the present invention is an output processing system including the output device and a mobile terminal, and the mobile terminal includes an input unit that describes designation information for designating an output parameter in the output device. This is the gist. According to the invention of this output processing system, the same operation and effect as the invention of the output device can be obtained.
(第1の実施形態)
以下、本発明を具体化した第1の実施形態を図面に従って説明する。
図1は、プリンタ1の斜視図を示す。図1において、出力装置としてのプリンタ1は、インクジェット式プリンタであって、その本体2の背面側には自動給紙装置3のシートフィーダ4及びロール紙支持部5が設けられている。シートフィーダ4には、単票紙(図示せず)がセットされ、本体2内部に給紙される。また、ロール紙支持部5には、ロール紙P1がセットされ、本体2内部に給紙される。本体2の中央には、カバー6が設けられ、そのカバー6内には印刷機構が配設され、その印刷機構の作動により印刷された印刷媒体としての用紙P(単票紙又はロール紙)が前側下部の排紙口7から排出される。また、本体2の上面右側には、操作パネル8が設けられている。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a perspective view of the
図2に示すように、操作パネル8は、表示画面9aを有する表示装置9と、複数の操作スイッチからなる操作部10とを備えている。表示装置9は、液晶表示装置であって、例えば用紙の種類(単票紙又はロール紙)、用紙サイズ、レイアウト、写真選択、印刷枚数等をマニュアル選択するためのメニューを表示画面9aに表示する。
As shown in FIG. 2, the
また、操作部10には、プリンタ1に電源投入するための電源スイッチ10a、エラー発生時に押されるメンテナンススイッチ10b、ロール紙を操作する時に押されるロール紙スイッチ10cが設けられている。さらに、操作部10には、印刷開始スイッチ10d、中止スイッチ10e、上スイッチ10f、下スイッチ10g、決定スイッチ10h、戻りスイッチ10iが設けられている。印刷開始スイッチ10dは単票紙又はロール紙に画像の印刷を開始するときに押される。中止スイッチ10eは、実行中の印刷を中止するときや、非印刷状態のときに表示画面9aの入力内容を破棄するときに押される。上スイッチ10f及び下スイッチ10gは、表示画面9aでのメニュー選択や各種設定項目を選択する際のカーソル移動や、入力すべき数値の増減を行うときに押される。決定スイッチ10hは表示画面9aの表示を次画面に進めたり、表示画面9aを使って入力した設定内容を確定するときに押される。戻りスイッチ10iは、表示画面9aに表示される画面を初期画面に戻すときや、表示画面9aの表示を一つ前の画面に戻すときに操作される。
The
図1に示すように、プリンタ1の本体2の右側上部には、第2表示装置11が取り付けられている。第2表示装置11の表示画面11aには、用紙Pに印刷される印刷画像が事前に表示される。
As shown in FIG. 1, a
本体2の正面右側には、カードスロット(CFカードスロット)12が設けられ、そのカードスロット12には赤外線通信機能内蔵CF( コンパクトフラッシュ(R)) 型カード(赤外線通信カード)(以下、CF型通信カードという)13が挿抜可能にセットされる。CF型通信カード13は、IrDA(Infrared Data Association )に準拠した赤外線通信機能を有したIrDAモジュールであって、カードスロット12にセットすることで、プリンタ1に赤外線データを受信可能な赤外線通信機能を付与する。プリンタ1は、CF型通信カード13が携帯電話14から受信したデータを取り込んでそのデータに基づく印刷処理を行う。
A card slot (CF card slot) 12 is provided on the front right side of the
本実施形態における携帯電話14は、電話機能及び赤外線通信機能の他、電話番号等を含む個人情報を登録管理できる電話帳機能、他の携帯電話との間で電子メールを送受信できる電子メール機能、静止画又は動画を撮影できるカメラ機能などの多機能を備えている。携帯電話14は、電話帳機能で扱う個人情報データ(テキストデータ)と、カメラ機能で扱う画像データとを、赤外線通信対応のファイル形式でそれぞれ管理している。詳しくは、個人情報データはvCard(TM)ファイル形式で管理され、画像データはvNote(TM)ファイル形式で管理されている。よって、携帯電話14に管理されているvCardファイル形式の個人情報データ又はvNoteファイル形式の画像データは、カードスロット12にセットされたCF型通信カード13を通じてプリンタ1に受信される。また、携帯電話14は、他の携帯電話やパソコン等との間で携帯電話網を通じて電子メールや画像データを送受信できる。なお、カードスロット12にデジタルカメラ用のCF型メモリカードをセットすれば、デジタルカメラで撮影した画像データをCF型メモリカードからプリンタ1に読み込んで印刷させることもできる。
The
図3に示すように、CF型通信カード13にはその正面(前面)に通信ポートとなる赤外線受発光部13aと表示部13bとが設けられている。赤外線受発光部13aは、受光素子と発光素子とを有し、発光素子はキャリア周波数例えば25〜50kHz の搬送波で搬送されるパルス位相変調されたビット信号からなる赤外線をその発光のオン・オフにより出力し、受光素子は同様の方式で表現されるビット信号からなる赤外線を受光する。表示部13bは、発光色の異なる複数の発光ダイオード(LED)からなり、CF型通信カード13のデータ受信状態を、発光色、点灯、点滅及び消灯の組合わせにより報知する。また、CF型通信カード13の背面には図示しないコネクタが形成され、このコネクタがカードスロット12の奥面に設けられたプリンタ側コネクタと電気的に接続される。
As shown in FIG. 3, the CF-
図4(a)は正面から見た携帯電話を示す。同図に示すように、携帯電話14は、複数の操作ボタン15(15a〜15c等)、受話口16、送話口17、ディスプレイ18及びCCD(Charge-Coupled Device )撮像装置19を備えている。
FIG. 4A shows the mobile phone viewed from the front. As shown in the figure, the
携帯電話14は、カメラ機能の使用中、CCD撮像装置19で撮像している画像をディスプレイ18に表示するとともに、操作ボタン15bをシャッターとして操作することでその撮像している画像を一枚の画像データとして保存できる。本実施形態では、携帯電話14のカメラ機能で撮影された画像データ(静止画像データ)はJPEGデータとして携帯電話14に保存され、携帯電話14から赤外線通信によりプリンタ1に送信する場合は、携帯電話14に保存されているJPEGデータを赤外線通信対応のファイル形式の1つであるvNote(TM)形式に変換して送信される。このvNote形式で受信したプリンタ1は、Base64と呼ばれるエンコード/デコード変換器でJPEGデータをエンコード(圧縮)し、エンコードされたJPEG画像データとして保存される。また、携帯電話14は、電話帳機能を使って、操作ボタン15aを操作してディスプレイ18上に作成した個人情報を登録することができる。
While using the camera function, the
図4(b)は、携帯電話の電話帳機能を使って登録しディスプレイに表示させた個人情報の一例を示す。この個人情報の登録方法を説明すると、まず操作ボタン15を操作して、電話帳機能の個人情報作成モード(新規登録モード)を選択すると、携帯電話14に内蔵された個人情報作成プログラムが起動する。ディスプレイ18には図4(b)中左寄りに示された各項目、すなわち「名前」、「フリガナ」、「電話番号1」、「電話番号2」、「電話番号3」、「電子メールアドレス1」、「電子メールアドレス2」、「電子メールアドレス3」、「住所」及び「メモ(ノート)」の各欄が表示される。操作ボタン15cを操作して所望の項目を選択した後、該当するデータを入力し、これを必要な項目数だけ繰り返すことで、同図(b)に示すような1つの個人情報が作成される。この電話帳機能で作成した個人情報データ(テキストデータ)は、本実施形態では赤外線通信対応のファイル形式の1つであるvCard(TM)形式で保存される。
FIG. 4B shows an example of personal information registered and displayed on the display using the telephone directory function of the mobile phone. The personal information registration method will be described. First, when the
さらに、携帯電話14は、IrDA(I nfrared Data Association )に準拠した赤外線通信機能を有し、前記CF型通信カード13との間での赤外線通信を行うための赤外線受発光部20(図1に示す)を備えている。携帯電話14は、操作ボタン15を操作することによって、画像データや個人情報データをCF型通信カード13に送信する。赤外線受発光部20は、CF型通信カード13に設けられた赤外線受発光部13aと同様の赤外線通信方式の受発行が可能な受光素子と発光素子とを有している。
Further, the
次に、上記のように構成した、プリンタ1、CF型通信カード13及び携帯電話14の電気的構成を図5に従って説明する。
まず、携帯電話14の電気的構成を説明する。携帯電話14は、制御部21、メモリ22、送受信部23、マイク24、スピーカ25、操作ボタン15、ディスプレイ18、CCD撮像装置19、赤外線受発光部20を有している。
Next, the electrical configuration of the
First, the electrical configuration of the
メモリ22は、CCD撮像装置19で撮像した画像データや個人情報データが制御部21によって一時保存される。マイク24は、受話口16で話した音声を音声信号として制御部21に出力する。スピーカ25は、制御部21から出力された音声信号を音声にして送話口17から出力する。
In the
送受信部23は、入出力インターフェイスであって、制御部21から出力された音声信号、メール、画像データを他の携帯電話やパソコンに送信するとともに、他の携帯電話やパソコンからの音声信号、メール、画像データを受信し制御部21に出力する。
The transmission /
制御部21は、CPU、ROM、EEPROM等を有し、CPUがROM及びEEPROMに記憶された制御プログラムや各種アプリケーションプログラムに基づいて各種動作を実行する。つまり、制御部21は、前記した通話、メールの作成、データの送受及び保存のための処理動作を操作ボタン15の操作に基づいて実行する。制御部21は、前記したCCD撮像装置19で撮像した画像データの表示及び保存のための処理動作を操作ボタン15の操作に基づいて実行する。このとき、メモリ22に保存される画像データは、制御部21によってJPEGデータ形式で保存される。制御部21は、個人情報の作成及び保存のため処理動作を操作ボタン15の操作に基づいて実行する。このとき、メモリ22に保存される個人情報データ(テキストデータ)は、制御部21によって名刺データ形式(本例ではvCard形式)で保存される。
The control unit 21 includes a CPU, a ROM, an EEPROM, and the like, and the CPU executes various operations based on a control program and various application programs stored in the ROM and the EEPROM. That is, the control unit 21 executes the processing operation for the above-described call, creation of mail, transmission / reception and storage of data based on the operation of the
さらに、制御部21は前記保存した個人情報データや画像データをプリンタ1(CF型通信カード13)に赤外線受発光部20を介して送信するための処理動作を操作ボタン15の操作に基づいて実行する。制御部21からCF型通信カード13に送信される際は、個人情報データはvCardファイル形式で、また画像データ(エンコードされたJPEGデータ)はvNoteファイル形式で送信される。制御部21は、これらをオブジェクト交換プロトコルに従って送信する。本実施形態では、オブジェクト交換プロトコルとして、電話帳(vCard) 、スケジュール(vCalender) 、メモ(v Note) 等のv フォーマットと呼ばれるオブジェクトの交換に使用されるIrOBEX(TM)を採用している。
Further, the control unit 21 executes a processing operation for transmitting the stored personal information data and image data to the printer 1 (CF type communication card 13) via the infrared light receiving / emitting
次に、CF型通信カード13の電気的構成を説明する。
CF型通信カード13は、カード制御部31、メモリ32、カード側UART(Universal Asynchronous Receiver Transmitter )33、プリンタ側UART(Universal Asynchronous Receiver Transmitter )34、赤外線受発光部13a及び表示部(LED)13bを有している。
Next, the electrical configuration of the CF
The CF
カード制御部31は、メモリ32、カード側UART33、赤外線受発光部13a及び表示部13bを統括する。カード制御部31は、CPU、ROM等を有し、CPUがROMに記憶された制御プログラムや各種アプリケーションプログラムに基づいて各種動作を実行する。カード制御部31は、携帯電話14から赤外線受発光部13aを介してデータを受信すると、カード側UART33に対してそのオブジェクトデータ(個人情報データ又は画像データ)のプリンタ1への転送処理を指示する。この際、メモリ32の一部がオブジェクトデータを一時保存するバッファとして使用される。
The
カード側UART33は、カード制御部31の指示に基づいてオブジェクトデータ(個人情報データ又は画像データ)をシリアルのビットストリームに変換してプリンタ側UART34に出力する。
The
プリンタ側UART34は、CF型通信カード13がカードスロット12にセットされた状態で双方のコネクタが電気的に接続されることで繋がるバス35を介してプリンタ1側の通信インターフェイス45により制御される。プリンタ側UART34は、カード側UART33からオブジェクトデータを受信し始めると、プリンタ1側にデータの読込みを要求すべく割込信号を出力する。この割込信号を受信したプリンタ1側で入力ポートを開くことでオブジェクトデータのプリンタ1への読み込みが開始される。この際、プリンタ側UART34は、カード側UART33から受信したシリアルのビットストリームをパラレルなバイトデータに変換しつつそのオブジェクトデータをプリンタ1側へ出力する。
The printer-
また、プリンタ側UART34は、プリンタ1側から入力した各種信号を、カード側UART33を介してカード制御部31に出力する。カード制御部31はプリンタ1側から入力した各種信号を監視してデータ受信状態( 通信ステータス) を管理し、表示部13bをその時の通信ステータスに応じた点灯態様に表示制御する。よって、CF型通信カード13の前面に設けられた表示部13bの点灯態様によってユーザにその時々のデータ受信状態を報知する。このとき、カード制御部31は、通信ステータスの情報を赤外線受発光部13aを介して携帯電話14に送信し、携帯電話14のディスプレイ18にはプリンタ1側のデータ受信状態が文字情報などにより表示される。
The printer-
次に、プリンタ1の電気的構成を説明する。
プリンタ1は、CPU41、ROM42、EEPROM43、RAM44、通信インターフェイス45、ASIC(Application Specific IC )46、ドライバ47a〜47e及びユーザインターフェイス48を有し、これらはデータバス49を介してそれぞれ互いに電気的に接続されている。
Next, the electrical configuration of the
The
通信インターフェイス(I/F)45は、通信インターフェイス部45a、パラレル通信部45b、ブルートゥース(Bluetooth )(TM)通信部45c、USB(Universal Serial Bus)通信部45d、スロット通信部45e及びシリアル通信部(図示せず)を備えている。各通信部45b〜45e等は通信ポート(入力・出力ポート)をそれぞれ有しており、通信インターフェイス部(以下、通信部と称す)45aは、例えば各通信部45b〜45eごとに独立して複数設けられた通信インターフェイス群からなり、各通信部45b〜45eがデータを受信するとその旨を、通信(データ受信)の優先順位を管理するCPU41に通知する。CPU41は通信インターフェイス部45aから受け付けたその受信の旨の情報に基づきそのデータの受信が可能かどうかを判定し、例えば次データの受信が可能になった後に最初にデータ受信した場合はその通信部の入力ポートを開く指示を出す。通信インターフェイス部45aはCPU41の指示に従って各通信部45b〜45eの入力ポートのうち指示された1つを開くことにより、所定のホスト装置から送られてくるデータを受信し、共通のデータバス49に出力する。これら複数の入力ポート中のどれか1つのポートに最先にデータが到着すると、通信インターフェイス部45aは、そのポートからデータの取り込みを開始するとともにデータの取込みが終了するまでの間、他のポートをビジー状態にして他のポートからのデータ受信を禁止するようになっている。通信インターフェイス部45aはこのような処理をCPU41からの指示に従って行う。CPU41は、1つの通信ポートからのデータ受信が開始されると、その受信データが印刷処理に至るまで通るデータ転送経路をその印刷終了時まで確保し、その間は他の通信ポートからのデータ受信を禁止するよう通信インターフェイス部45aに指示する。また、CPU41は通信ポートからのデータ受信を許可するか禁止するかのインターロック処理を行う。通信インターフェイス部45aがホスト装置又はCF型通信カード13から受信要求を受け付けると、CPU41は通信インターフェイス部45aからその旨の通知を受けるようになっており、その通信情報を基に通信ポートの空き状況や受信中の通信ポートなどを管理する。
The communication interface (I / F) 45 includes a communication interface unit 45a, a
パラレル通信部45bは、ホストコンピュータ(パーソナルコンピュータ)HCから通信ケーブルを介してデータをパラレル通信で受信することが可能である。ブルートゥース通信部45cは、ブルートゥース対応携帯端末BCから所定通信プロトコルに従って所定規格周波数帯域の電波による近距離無線通信でデータを受信することが可能である。USB通信部45dは、USB対応機器(図示せず)から所定通信プロトコルに従ってデータを受信することが可能である。スロット通信部45eは、CFカードスロット12に挿着されたCF型通信カード13又はCFカード(メモリカード)からデータを受信することが可能である。なお、各通信部45b,45c,45d,45eは、ホスト装置との通信上必要な情報やプリンタ1の状態を通知する信号など所定の信号又はデータを送信可能となっている。
The
CPU41は、ROM42に記憶された制御プログラム及びEEPROM43に記憶された各種アプリケーションプログラムなどに基づいて、通信インターフェイス45、ASIC46及びドライバ47a〜47cを統括制御する。CPU41は、ASIC46に対して印刷機構の一部を作動させる指令信号を出力したり、ASIC46とRAM44間及びASIC46の内部の各種処理回路間におけるデータの転送処理を指示する。CPU41は転送処理のため例えばDMAコントローラを内蔵する。また、CPU41は、ドライバ47a〜47cを介して紙送りモータM1、キャリッジモータM2、ロール紙の印刷後の部分を所定のサイズに切断するカッタ装置のカッタモータM3を駆動制御する。
The
ASIC46は、データに画像処理を施して印刷データを生成したり、CPU41からの指令信号と印刷データに基づいてドライバ47cを介して複数の圧電素子PZを駆動制御する。RAM44には受信バッファ44a,ワークメモリ44b及び出力バッファ44cなどが備えられている。各通信部45b〜45eを通じて受信したデータは受信バッファ44aに一旦格納され、所定の処理を施す際のデータはワークメモリ44bに格納され、さらに最終的に生成された印刷データは出力バッファ44cに格納される。
The
紙送りモータM1は、自動給紙装置3にセットされた単票紙又はロール紙P1を、印字位置を経由して排紙口7まで搬送させるためのモータである。キャリッジモータM2は、複数の噴射ノズルを有した記録ヘッドを搭載したキャリッジを主走査方向に往復動させるためのモータである。圧電素子PZは、記録ヘッドに設けられた複数の噴射ノズル毎に設けられそのノズルからインクを噴出させるための素子である。カッタモータM3は、カッタ装置を駆動するモータであり、切断刃を主走査方向に移動させてロール紙を所定のサイズに切断する。
The paper feed motor M1 is a motor for transporting the cut paper or roll paper P1 set in the
又、CPU41は、EEPROM43に予め記憶されたメニュー表示用データを読み出して表示装置9の表示処理部9bに転送する。表示処理部9bはそのメニュー表示用データに基づき用紙の種類、用紙サイズ、レイアウト、写真選択、印刷枚数等をマニュアル選択するために用いられるメニューを表示画面9aに表示させる。メニュー項目には「レイアウト」が用意されており、この「レイアウト」は、カードスロット12にセットされたメモリカード等から印刷用に入力した1つ又は複数の画像を用紙上にレイアウト指定して印刷画像(印刷状態画像)を作成するための機能である。EEPROM43にはこのレイアウトの指定に使う複数のレイアウト用テンプレートが記憶されている。このレイアウト機能で作成した印刷画像の表示用データはRAM44に一時保存され、印刷実行前に操作部10を操作すると、CPU41がRAM44から表示用データを読み出して表示処理部11bに転送することで、その印刷画像が表示画面11aに表示される。
Further, the
また、CPU41は、操作パネル8に設けられた各スイッチ10a〜10iの操作に基づく信号をユーザI/F48を介して入力するようになっている。
図6は、携帯電話とプリンタ間でCF型通信カードを介して行われるデータ通信およびその受信データの印刷処理について説明する機能ブロック図である。同図に示された各機能部は、各種回路を含むハードウェア回路、及び、通信プロトコルプログラムやアプリケーションプログラム等を実行するCPUによって実現されている。
Further, the
FIG. 6 is a functional block diagram for explaining data communication performed between the mobile phone and the printer via the CF type communication card and printing processing of the received data. Each functional unit shown in the figure is realized by a hardware circuit including various circuits, and a CPU that executes a communication protocol program, an application program, and the like.
CF型通信カード(赤外線通信カード)13に内蔵されているカード制御部31は、IrDA通信回路61、IrDAスタック(IrDAプロトコルスタック)62、ファイル転送部63及びオブジェクト送受信部64を有する。IrDA通信回路61は、CPU及び通信回路(いずれも図示せず)を含むハードウェアからなり、通信レイヤでは物理層に相当する。IrDAスタック62はIrDA通信プロトコル群からなり、データリンク層及びネットワーク層に相当する。また、ファイル転送部63は、携帯電話14から赤外線通信で受信するファイルの転送制御を司り、通信レイヤではトランスポート層及びセッション層に相当する。オブジェクト送受信部64は、携帯電話14との間で行われるIrDA通信と、プリンタ1との間で行われるシリアル通信との2つの通信系統の間でデータの受け渡し制御を行うとともに、受信データチェックなどの必要な処理を司る。オブジェクト送受信部64は、ファイル転送部63からのデータを処理するプレゼンテーション層及びアプリケーション層に相当する部分と、UART33の上位層でシリアル通信プロトコルスタックからなるプレゼンテーション層〜データリンク層を構成する部分とからなる。
The
ファイル転送部63は、CF型通信カード13内のCPUがOBEX(Object exchange)(TM)プログラムを実行することで構築される機能部分であり、OBEXの仕様に基づくファイル転送制御を司る。詳しくは携帯電話14側のOBEXとの論理的な通信リンクの確立及び切断や、ファイル転送時にパケット分割されて送られてくるパケットを元のファイルに組み立てる復元処理などを行う。
The
また、オブジェクト送受信部64は対応拡張子記憶部64aを有し、カードスロット12にCF型通信カード13が挿着された状態をプリンタ1が電源投入後はじめて検知した時に、プリンタ1からCF型通信カード13へ送られてくる拡張子データを対応拡張子記憶部64aに記憶(セットアップ)する。また、オブジェクト送受信部64は、受信したデータからファイル名を取得し、そのファイル名の中の拡張子と拡張子データとを比較参照することにより、受信したデータがプリンタ1にとって印刷対応能力のある印刷対応データか否かを判定する。詳しくはデータのヘッダ中にあるファイル名「aaaa.bbb」を読み取り、ファイル名から拡張子「bbb 」を抜き出し、この拡張子「bbb 」と拡張子データとを参照比較することにより印刷対応データか否かを判断する。この参照比較では大文字と小文字の区別はしない。そして、オブジェクト送受信部64は、その判定結果に基づき印刷対応データの受信は許可するが、印刷未対応データの受信は拒否するデータ選別処理を行う。オブジェクト送受信部64は、印刷対応データである場合、そのオブジェクトデータ及びファイル拡張子「bbb 」のデータ(ファイル拡張子データという)をプリンタ1側へ転送する。
The object transmission /
プリンタ1側には、カードドライバ71、IrDA UART ドライバ(以下、UARTドライバという)72、データトランスファ部73、IrDAプロファイル部74、テキストデータラスタ処理部75、画像データラスタ処理部76及びプリントエンジン77が備えられている。
On the
カードドライバ71及びUARTドライバ72は、図5におけるスロット通信部45eに内蔵されたドライバ回路からなるハードウェアとソフトウェアとで構成されている。また、データトランスファ部73は、CPU41が通信プロトコルプログラムを実行することにより実現される機能部分である。また、IrDAプロファイル部74、テキストデータラスタ処理部75及び画像データラスタ処理部76は、CPU41がアプリケーションプログラムを実行することにより実現される機能部分である。さらにプリントエンジン77は、CPU41がアプリケーションプログラムを実行することにより実現されるソフトウェア部分と、ASIC46、ドライバ47a〜47e、紙送りモータM1、キャリッジモータM2、圧電素子PZ及びカッタモータM3などからなる印刷処理を実現するハードウェア部分とから構成される。
The card driver 71 and the UART driver 72 are configured by hardware and software including a driver circuit built in the
なお、OSI参照モデルに当てはめた場合、カードドライバ71及びUARTドライバ72は物理層、データリンク層及びネットワーク層に相当する。また、データトランスファ部73はトランスポート層及びセッション層に相当し、IrDAプロファイル部74、テキストデータラスタ処理部75及び画像データラスタ処理部76は、プレゼンテーション層及びアプリケーション層に相当する。
When applied to the OSI reference model, the card driver 71 and the UART driver 72 correspond to a physical layer, a data link layer, and a network layer. The data transfer unit 73 corresponds to a transport layer and a session layer, and the
カードドライバ71は、CF型通信カード13と信号やデータのやりとりをする通信ドライバであり、CPU41からの指示などに基づきUARTドライバ72に必要な指示を出す。
The card driver 71 is a communication driver that exchanges signals and data with the CF-
UARTドライバ72は、CF型通信カード13に内蔵されたプリンタ側UART34の通信動作を制御するもので、例えばCPU41及びカードドライバ71の指示に基づきプリンタ側UART34を制御する。UARTドライバ72は、プリンタ側UART34から割込要求を受け付けると、プリンタ1が他の通信部45b〜45dからデータ受信中であるビジー状態でない限り入力ポートを開きデータの取り込みを開始する。
The UART driver 72 controls the communication operation of the
また、カードドライバ71は、プリンタ1の電源投入時にCPU41が実行する初期化処理の際にCPU41から拡張子データを受け取ってセットアップデータ記憶部71aに格納する。そして、カードドライバ71は、電源投入後はじめてプリンタ1とCF型通信カード13との電気的接続を検知したCPU41からの指示に基づきセットアップデータ記憶部71aに格納された拡張子データを読み出してCF型通信カード13に送信する。本実施形態では、印刷対応ファイルの拡張子として、「vcf」「vnt」「jpeg」「jpg」が拡張子データに設定されている。CF型通信カード13へ送られた拡張子データは、オブジェクト送受信部64により対応拡張子記憶部64aに格納されることによりCF型通信カード13側にセットアップされる。また、UARTドライバ72は、データトランスファ部73及びプロファイル部74で検出されたエラー通知などの通知を受け取ると、その旨の信号をカード制御部31に送信する。カード制御部31は携帯電話14及びプリンタ1から受信したデータ及び信号を監視することでデータ受信状態を表す通信ステータスを管理し、その時々の通信ステータスに応じた点灯態様となるよう表示部(LED)13bを表示制御する。CF型通信カード13は表示部13bの点灯態様によってデータ受信状態を送り主に報知する。
Further, the card driver 71 receives extension data from the
データトランスファ部73は、CF型通信カード13のオブジェクト送受信部64から送られてきたオブジェクトデータとファイル拡張子データを受け取ると、ファイル拡張子データをプロファイル部74に送るとともに、オブジェクトデータについてはそれを正しく受信できたかどうかを判断する。この判断は、オブジェクトデータが正しく受信できたかどうかを検証する手順がプログラムされた伝送制御手順に従って判定される。伝送制御手順としては、ベーシック手順と、HDLC(ハイレベルデータリンク)手順とが挙げられる。本例ではベーシック手順を簡素化した伝送制御手順を採用する。なお、エラー制御に採用するエラー検出方式は、CRC検出方式に限らず、パリティチェック方式、チェックサム、ハミング符号によるものでもよい。
When the data transfer unit 73 receives the object data and the file extension data sent from the object transmission /
データトランスファ部73は、伝送制御手順によりデータを正しく受信できた場合はそのデータ(電文本体又は電文分割ブロック)を次のIrDAプロファイル部74へ順次送り、データが正しく受信できなかった場合はオブジェクト送受信部64へそのデータの再送を要求する。この再送要求を受けたオブジェクト送受信部64は直前にデータトランスファ部73へ送信したデータを再送する。データトランスファ部73は、再送要求の後に再送されないままタイムアウトになると、エラー通知信号をオブジェクト送受信部64へ送信するようUARTドライバ72に指示する。
The data transfer unit 73 sequentially sends the data (the message body or the message division block) to the next
IrDAプロファイル部74は、拡張子識別部81、件数判定部82、ノート(Note)解析部83、分割処理部84、テキストデータ形式変換部85、テンプレート記憶部86、画像データデコード部87及び判断部88を備えている。IrDAプロファイル部74はROM42又はEEPROM43に記憶されたプログラムデータ及び各種データ等に基づき実現される。
The
拡張子識別部81は、データトランスファ部73から入力したファイル拡張子データから、そのオブジェクトデータのファイル形式を識別する。すなわち、個人情報データ(vCardファイル形式)か、添付形式の画像データ(vNoteファイル形式)か、画像データ(JPEGファイル)かのいずれであるのかその拡張子を識別する。すなわち、ファイル拡張子データが「vcf」であれば「vCardファイル」と識別し、「vnt」であれば「vNoteファイル」と識別し、さらに「jpeg」又は「jpg」であると「JPEGファイル」と識別する。拡張子識別部81は、識別した拡張子に応じて、その後データトランスファ部73から送られてくる処理経路を振り分ける。すなわち、拡張子識別部81は、拡張子が「vcf」であればそのvCardファイル(個人情報データ)を件数判定部82へ送り、拡張子が「vnt」であればそのvNoteファイル(画像データ)を画像データデコード部87へ送る。さらに、拡張子が「jpeg」又は「jpg」であればそのJPEGデータを画像データラスタ処理部76へ送る。ここで、拡張子データの大文字と小文字の区別はしない。
The
件数判定部82は、vCardファイルが1件分の個人情報を含む「単件」ファイルか、複数件分の個人情報を含む「全件」ファイルかを判定する。「単件」ファイルと判定した場合はそのvCardファイルをノート解析部83へ送り、「全件」ファイルと判定した場合はそのvCardファイルを分割処理部84へ送る。また、件数判定部82の判定結果は、「単件」であれば「N=0」、「全件」であれば「N=1」として、その判定値Nがテキストデータ形式変換部85へ送られる。
The
ノート解析部83は、vCardファイルのノート(Note)領域に記述されたテキストを取り出して解析する。単件の個人情報を印刷する場合は、ノート領域に予め決められた指定文字(指定情報)を記述しておくことで印刷レイアウトを指定できるようになっており、指定文字による印刷レイアウトの指定の有無を判断するためにノート領域の記述内容を解析する。本実施形態では指定文字として数字(番号)を採用している。数字を採用するのは、記述する文字数が少なく済むうえ識別し易いからである。数字以外にアルファベット(例えばA,B,C,…)を指定文字として採用することも可能である。ノート解析部83は、解析結果として得られた指定文字の情報M(例えば番号M=1,2,…n)をテキストデータ形式変換部85へ送る。
The
分割処理部84は、全件ファイルを電文分割ブロック単位で順次入力し始めるとバッファ(図示せず)に蓄えながらデータの中身を調べ、1件毎の区切りを抽出することにより所定件数分ずつ分割する。そして、その分割した所定件数分ずつ個人情報データを次処理のテキストデータ形式変換部85へ送り出す。本実施形態では所定件数は1件に設定されており、vCardファイルの全件データは1件ずつの個人情報に順次分割されながら、分割処理部84から1件分ずつ次処理のテキストデータ形式変換部85へ送り出される。
When the
テキストデータ形式変換部85は、個人情報データ(テキストデータ)をvCard形式からXHTML(Extensible Hyper Text Markup Language )形式に変換する。但し、形式変換を行う前に、そのオブジェクトデータがvCard形式であるかどうかそのデータの中身を解析し、vCardファイル形式のデータであることを検証する。例えばvCardファイル形式のデータであれば備えているはずのプロパティ(「BEGIN VCARD 」「N 」「SOUND 」等)などの有無を確認する。vCardファイル形式のデータでなければデータを破棄するとともに、間違ったデータである旨をUARTドライバ72を通じてCF型通信カード13へ通知する。一方、vCardファイル形式のデータであれば、そのオブジェクトデータに形式変換処理を施す。また、画像添付機能を備えたタイプのvCardファイルであると解析された際は、その添付されているエンコードされたJPEG画像データを画像データデコード部87に転送する。このようにテキストデータ形式変換部85は、拡張子が「vCard」であるけれどもデータの中身までも正しくvCard形式であるかどうかを事前に解析及び検証する。また、画像データデコード部87においてメモ帳機能で記述されたテキストデータを含むタイプのvNoteファイルを受け付けた場合は、テキストデータ形式変換部85は、そのテキストデータのみを画像データデコード部87から受け付ける。このときは既にデータの中身については画像データデコード部87において検証済みなので改めて解析はしない。
The text data
テキストデータ形式変換部85は、形式変換処理を施す際、まずテンプレート記憶部86からXHTML形式で記述された印刷レイアウトテンプレート(以下テンプレートという)を読み出す。テンプレートはオブジェクトデータを構成する各項目(プロパティ)の値(テキストデータ)を所定位置に割り付けられるようにタグの記述によってレイアウト枠が指定されたものである。レイアウト枠内に該当項目(プロパティ)の値(テキストデータ)を組み込むことにより、vCard形式の個人情報をテンプレート付きのXHTML形式に変換する。つまり、vCardファイルは元々レイアウトの概念を持たないファイル形式であるが、印刷時には所定のレイアウトで印刷されうるように、レイアウトを定義付けできないファイル形式(vCard)からレイアウトを定義付けできるファイル形
式(XHTML)へ形式変換する。そして、この形式変換時にXHTML形式で記述されたテンプレートを用いることでレイアウトをタグによって定義付ける。テキストデータ形式変換部85は、個人情報がテンプレートに組み込まれたXHTMLデータを、テキストデータラスタ処理部75に送出する。
When performing the format conversion process, the text data
一方、画像データデコード部87は、拡張子識別部81からvNoteファイル形式のオブジェクトデータを受け取って、そのオブジェクトデータの中身を解析し、vNoteファイル形式のデータであるか否かを検証する。例えばvNoteファイル形式のデータであれば備えているはずのプロパティ等の有無を確認する。vNoteファイル形式のデータでなければデータを破棄するとともに、間違ったデータである旨をUARTドライバ72を通じてCF型通信カード13へ通知する。一方、vNoteファイル形式のデータであれば、添付されているエンコード画像データを抜き取るとともに、メモ帳機能で記述されたテキストデータを含むと解析した場合はそのテキストデータをテキストデータ形式変換部85に転送する。そして、予め用意されたデコード用プログラム(Bese64)を起動させて、エンコードされたJPEG画像データをJPEG画像データにデコードする。このように画像データデコード部87は、拡張子が「vnt」であるけれどもデータの中身までも正しくvNote形式であるかどうかを事前に解析及び検証する。画像データデコード部87は、デコード後のJPEG画像データを、画像データラスタ処理部76に送出する。
On the other hand, the image
テキストデータラスタ処理部75は、テキストデータ形式変換部85から受け取ったXHTMLデータにラスタ処理を施す。このラスタ処理には、XHTML解析処理、レイアウト設定処理、色変換処理及び2値化処理が含まれる。まずXHTML解析処理では、XHTMLデータを解析して、XHTML言語で記述されたレイアウトのテンプレート情報とテキストで記述された個人情報とを分解する。そして、XHTML言語(タグ)で記述された記述内容(レイアウトのテンプレート情報)を解析して個人情報テキスト(各プロパティの値)の割付領域を演算し、演算した各割付領域の位置座標データ(アドレスデータ)を取得する。レイアウト設定処理では、個人情報テキストの文字コードをキャラクタデータに変換するとともに、得られたキャラクタデータをテンプレートで指定された割付領域から決まるアドレスに所定の文字サイズのドットデータとして展開する。この展開されたドットデータに色変換処理及び2値化処理を施した後、その2値化データに印刷時のドット形成順序に並び替える処理を施す。
The text data
画像データラスタ処理部76は、JPEG画像データにラスタ処理を施す。但し、ラスタ処理の前に、画像データデコード部87を経由せず直接送られてきたJPEGデータについては、データの中身を解析してJPEGファイル形式のデータであるか否かを検証する。例えばJPEGファイル形式のデータであれば備えているはずの情報の有無を確認する。JPEGファイル形式のデータでなければデータを破棄するとともに、間違ったデータである旨をUARTドライバ72を通じてCF型通信カード13へ通知する。一方、JPEGファイル形式のデータであれば、ラスタ処理に移行する。このように画像データラスタ処理部76は、拡張子が「jpeg」であるけれどもデータの中身までも正しくJPEG形式であるかどうかを事前に解析及び検証する。
The image data
ラスタ処理には、JPEG解析及びデコード処理、レイアウト設定処理、色変換処理及び2値化処理が含まれる。JPEG解析及びデコード処理では、JPEG画像データが圧縮系画像データであるためまずこれをYCbCr表色系(輝度(Y )と青の色差(Cb)と赤の色差(Cr)を使って表現する表色系)の非圧縮系画像データに解凍する。そして、解凍して得られたYCbCr表色系の多値画像データをさらにRGB表色系の多値画像データに変換する。そして、レイアウト設定処理では、RGB表色系の多値画像データを用紙上に割り付ける割付領域を演算し、演算した割付領域から決まるワークメモリ(イメージバッファ)44b上のアドレスにその画像を所定サイズのドットデータとして展開する。この展開された画像データ(ドットデータ)に色変換処理及び2値化処理を施した後、その2値化データに印刷時のドット形成順序に並び替える処理を施す。先に説明したテキストデータラスタ処理部75におけるレイアウト設定処理後のJPEG画像のラスタ処理についても同様の処理が行われる。また、vNoteデータにテキストが含まれる場合は、画像データラスタ処理部76がテキストと画像の全体についてレイアウト設定処理を行うようになっている。なお、各ファイル形式(vCard,vNote,JPEG)のオブジェクトデータの中身について解析及び検証する、テキストデータ形式変換部85、画像データデコード部87及び画像データラスタ処理部76によって、第2判定手段が構成される。
The raster processing includes JPEG analysis and decoding processing, layout setting processing, color conversion processing, and binarization processing. In JPEG analysis and decoding processing, since JPEG image data is compressed image data, this is first expressed using the YCbCr color system (luminance (Y), blue color difference (Cb), and red color difference (Cr). Decompress to color-based (uncompressed) image data. The YCbCr color system multi-value image data obtained by decompression is further converted into RGB color system multi-value image data. In the layout setting process, an allocation area in which RGB color system multi-value image data is allocated on a sheet is calculated, and the image is assigned to an address on the work memory (image buffer) 44b determined from the calculated allocation area. Expand as dot data. After the developed image data (dot data) is subjected to color conversion processing and binarization processing, the binarized data is subjected to processing for rearranging in the dot formation order at the time of printing. The same processing is performed for the raster processing of the JPEG image after the layout setting processing in the text data
プリントエンジン77は、ワークメモリ44b上に展開されたラスタ処理後のCMYK2値画像データ(ラスタデータ)を、印刷コマンドヘッダとセットにしてプリンタ印刷コマンドに仕立て、エンジンコントローラによってプリンタ印刷コマンドに基づき印刷機構が駆動されることにより用紙に印刷が施される。
The
なお、テキストデータラスタ処理部75及び画像データラスタ処理部76は、ブルートゥース対応携帯端末BCで扱われるファイル形式(XHTML形式とJPEG形式)のデータでも印刷できるように、プリンタ1にCF型通信カード受信方式の採用前から備えられた既存のものである。本例では、CF型通信カード13を介して受信した携帯電話対応形式のファイルデータでも印刷できるように追加が必要な機能部分についてこの既存部分を流用することによりその最小化を図っている。つまり、携帯電話対応形式(vCard形式とvNote形式)のデータをブルートゥース対応形式へ形式変換する機能部分をIrDAプロファイル部74に追加することにより、形式変換後のデータ処理については各ラスタ処理部75,76を流用するようにしている。
Note that the text data
図7は、2つのラスタ処理部とプリントエンジンの一部とにより構成され、XHTML形式及びJPEG形式の各データから印刷データを生成する画像処理装置の概略構成を示す。この画像処理装置は、主にCPU41、ASIC46、ROM42、EEPROM43及びRAM44から構成される。但し、処理の一部についてはCPU41がプログラムを実行するソフトウェアにより実現している。もちろん、大部分の処理をハードウェア回路で実現するのではなく、半分以上の処理をソフトウェアにより実現することもできる。
FIG. 7 shows a schematic configuration of an image processing apparatus that includes two raster processing units and a part of a print engine, and generates print data from data in XHTML format and JPEG format. This image processing apparatus mainly includes a
図7に示すように、ASIC46は、解釈処理部90、JPEG解凍器91、YCbCr/RGBコンバータ92、メモリコントローラ93、画像処理部46a及び印刷処理部46bを内蔵する。また、画像処理部46aは色変換処理部94及び2値化処理部95などを備え、印刷処理部46bはコマンドエンコーダ96及びエンジンコントローラ97を備えている。また、ROM42にはキャラクタジェネレータ98が構築されている。また、EEPROM43はその記憶領域の一部にテンプレート記憶部86を含むとともに色変換テーブル99を記憶している。メモリコントローラ93は、キャラクタデータと画像データのうち少なくとも一方からなるドットデータをワークメモリ44b上に展開するとともに、展開したドットデータの画素順序をラスタスキャンの順序に並べ替える画像処理を司る回路である。
As shown in FIG. 7, the
また、図6における各ラスタ処理部75,76が有する各バッファ75a,76aは、例えばRAM44にそれぞれ専用記憶領域として確保されている。もちろん、RAM以外の例えばSDRAMにそれらの専用記憶領域が確保されてもよい。
Further, the
まずXHTMLデータにラスタ処理を施すテキストデータラスタ処理部75の処理について説明する。なお、テキストデータラスタ処理部75は、解釈処理部90、メモリコントローラ93、キャラクタジェネレータ98及び第1バッファ75aなどにより構成される。
First, processing of the text data
ROM42には、日本語及び英語のフォント等のキャラクタ(文字や記号等)のパターンを示すキャラクタジェネレータデータ(CGデータ)が記憶され、このCGデータによりキャラクタコード(文字コード)をCGデータに変換するキャラクタジェネレータ98が構築されている。キャラクタジェネレータ98は、その指定されたアドレスに文字コードが与えられると、各種文字のドット構成(文字ドットパターン)を特定するために必要なCGデータを読み出す。CGデータはベクタデータである。ここで、ベクタデータとは、描画の対象となる文字や図形の輪郭を表したデータであり、より詳しくは文字や図形の主要点の座標および座標間を結ぶ曲線(例えばベジェ曲線)の方程式を含むパラメータによって記述されている。
The
テキストデータラスタ処理部75に送られたXHTMLデータは、まず解釈処理部90に転送される。XTMHLデータは、個人情報が記述された本文であるキャラクタデータと、個人情報の本文がレイアウトされるべき場所を記述するテンプレートタグとを含む。
The XHTML data sent to the text data
解釈処理部90は、XHTMLデータの記述内容を解析し、テキスト本文の文字(キャラクタ)に対応するキャラクタデータと、文字列のレイアウトされるべき場所を記述するテンプレートタグから解釈されるレイアウトデータ(アドレス空間上の座標データ)とに個々の対応を関連付けたまま変換する。キャラクタデータは、文字や記号の種類を特定するキャラクタコード(例えばアスキー(ASCII)コードなど)とフォントなどの修飾情報とを有する。解釈処理部90は、XHTMLデータから分解及び変換したキャラクタデータ及びレイアウトデータを個々の対応を関連付けた情報と共にメモリコントローラ93に渡す。
The
メモリコントローラ93は、キャラクタデータをキャラクタジェネレータ98に与えて読み出したCGデータ(ベクタデータ)を、所定の文字サイズの文字ドットパターンデータ(キャラクタドットデータ)に変換するベクタフォント展開処理を行う。さらにメモリコントローラ93は、ベクタフォント展開処理で得たキャラクタドットデータを、ワークメモリ44bにおいてレイアウトデータ(アドレス空間上の座標データ)によって指定された垂直位置及び水平位置に展開する。そして、メモリコントローラ93は、展開したその画素順序をラスタスキャンの順序に並べ替えて第1バッファ75aに格納した後、印刷処理部46bに転送する。ここで、第1バッファ75aは、XHTMLデータのラスタ処理に使われるためそのバッファ容量は比較的小さい(例えば30〜100キロバイト)。
The
次にJPEG画像データにラスタ処理を施す画像データラスタ処理部76の処理について説明する。なお、画像データラスタ処理部76は、JPEG解凍器91、YCbCr/RGBコンバータ92、メモリコントローラ93及び第2バッファ76aなどにより構成される。
Next, processing of the image data
JPEG解凍器91は、JPEG画像データを解凍してYCbCr表色系の多値画像データに変換する回路である。YCbCr/RGBコンバータ92は、YCbCr表色系の多値画像データを、YCbCr表色系からRGB表色系のRGB多値画像データに色変換する回路である。この色変換には以下の変換式が使用される。
R=Y+1.40200 ×Cr
G=Y-0.34414 ×Cb-0.71414×Cr
B=Y+1.77200 ×Cb
メモリコントローラ93は、YCbCr/RGBコンバータ92から受け取ったRGB多値画像データの画素順序をラスタスキャンの順序に並べ替える回路である。ここで、JPEGの圧縮処理では、元画像は8画素×8画素のブロック領域に分割され、ブロック領域単位で所定の演算処理がなされる。そのため、YCbCr/RGBコンバータ92から渡される、JPEGデータから変換された当初のRGB多値データも、8画素×8画素のブロック領域に分割した形で画素データが並んでいる。メモリコントローラ93は、その8画素×8画素のブロック領域に仕分けられている画素データの配列を、印刷処理に適したラスタスキャン(つまり、例えば、画像の左端から右端までの行方向の水平スキャンを、最上行から1行づつ下へ向って繰り返していくスキャン)の順序の配列に変換する。メモリコントローラ93は、YCbCr/RGBコンバータ92から受け取ったRGB多値画像の各画素データを展開後、第2バッファ76a上にラスタスキャン順序に従って書き込んでいくことで、この並べ替えを行う。これにより、第2バッファ76a上には、ラスタスキャンの順序で画素が並んだRGB多値画像データが格納されることになる。メモリコントローラ93は、ラスタスキャンの順序で画素が並んだRGB多値画像データを画像処理部46aへ転送する。ここで、第2バッファ76aは、JPEG画像データのラスタ処理に使われるためそのバッファ容量が第1バッファ75aのそれに比べ相対的に大きい(例えば3〜10メガバイト)。
The
R = Y + 1.40200 × Cr
G = Y-0.34414 × Cb-0.71414 × Cr
B = Y + 1.77200 × Cb
The
画像処理部46aに転送されたRGB多値画像データはまず色変換処理部94に送られ、次に2値化処理部95に転送される。色変換処理部94は、RGB多値画像データをCMYK多値画像データに色変換する回路である。さらに2値化処理部95は、そのCMYK多値画像データをCMYK2値画像データに2値化する回路である。
The RGB multilevel image data transferred to the image processing unit 46 a is first sent to the color
色変換処理部94は、EEPROM43に記憶された、RGB表色系からCMYK表色系へ色変換するための色変換テーブル99を読み出し、これを参照してRGB多値画像データをCMYK多値画像データに変換する。このCMYK多値画像データは2値化処理部95に転送される。
The color
次いで、2値化処理部95は、CMYK多値画像データに2値化処理(例えば、誤差拡散処理又はディザ処理など)を施し、これをCMYK2値画像データに変換する。このCMYK2値画像データは印刷処理部46bに転送される。なお、画像処理部46aに転送されたデータに拡大、縮小、回転などの所定処理を施す際はCPU41に転送され、その所定処理はソフトウェア処理により施される。
Next, the
印刷処理部46bには、ラスタスキャン順序に並び替えられた、キャラクタドットデータ又はCMYK2値画像データが転送されてくる。これらのデータはコマンドエンコーダ96に転送される。
Character dot data or CMYK binary image data rearranged in the raster scan order is transferred to the print processing unit 46b. These data are transferred to the
コマンドエンコーダ96は、キャラクタドットデータ又はCMYK2値画像データを、CPU41からのプリンタ印刷コマンドのコマンドヘッダとセットにして印刷データに仕立て、エンジンコントローラ97へ送る。エンジンコントローラ97は印刷データに基づいて圧電素子PZを駆動制御する指令信号をドライバ47dに出力する。
The
次に、携帯電話14とCF型通信カード13間で行われるIrDA通信について説明する。
図8は、ファイル転送時に用いられるOBEX仕様のデータ構造を示す。データDは、オペコードOPとヘッダHDとデータボディDBとからなる。オペコードOPには通信に関する命令が記述される。命令には「Connect 」「Disconnect」「PUT 」「FPUT」「GET 」「FGET」「Abort 」「Response」等が用意されている。「Connect 」は接続要求、「Disconnect」は切断要求をそれぞれ意味する。また、「PUT 」はデータ受け取り要求、「FPUT」は最終データ受け取り要求(送信データ終了の意を含む)、「GET 」はデータ取り出し要求、「FGET」は最終データ取り出し要求(受信データ終了の意を含む)をそれぞれ意味する。また、「Abort 」は中断、「Response」は応答をそれぞれ意味する。
Next, IrDA communication performed between the
FIG. 8 shows the data structure of the OBEX specification used at the time of file transfer. The data D includes an operation code OP, a header HD, and a data body DB. The operation code OP describes a command related to communication. “Connect”, “Disconnect”, “PUT”, “FPUT”, “GET”, “FGET”, “Abort”, “Response”, and the like are prepared as commands. “Connect” means a connection request, and “Disconnect” means a disconnection request. “PUT” is a data reception request, “FPUT” is a final data reception request (including the end of transmission data), “GET” is a data extraction request, and “FGET” is a final data extraction request (indication of reception data end). Means). “Abort” means abort and “Response” means response.
ヘッダHDには、データボディDBに関する情報が記述される。データボディDBとは、送受信(転送)されるデータそのものであり、通常は所定サイズ以下のパケット(ブロック)に分割される。本例の場合では、携帯電話14からプリンタ1へ送信されるオブジェクトデータは、そのデータサイズが所定サイズを超えるときは複数分割されて転送されることになる。「Name」「Authentication」「filesize」「Bodylength」などが用意されている。「Name」はファイル名、「Authentication」は情報にアクセスする資格の検証、「filesize」はファイルサイズ、「Bodylength」はボディデータ長をそれぞれ意味する。「Name」には「ファイル名.拡張子」の形で記述されているので、「Name」の値を見ることでファイルの「拡張子」を取得することができる。また、「Authentication」には、情報にアクセスする資格が設定されている場合においてそれを検証できる認証コード(ピンコード)が記述される。携帯電話14では、電話帳機能に登録された個人情報の全件又は指定したグループ中の個人情報の全件を送信するときは、認証コードの入力を要求される設定となっている。このような全件データを送信するときには送信ボタン操作後にディスプレイ18上で要求される入力欄に認証コードを入力する。入力した認証コードはヘッダHDの「Authentication」に記述される。
In the header HD, information on the data body DB is described. The data body DB is data itself to be transmitted / received (transferred), and is usually divided into packets (blocks) having a predetermined size or less. In the case of this example, the object data transmitted from the
図9は、携帯電話→赤外線通信カード(CF型通信カード)→プリンタの流れでデータを転送する転送処理シーケンスを示す。
携帯電話14でデータ送信操作を行うと、まず物理層であるIrDA接続(物理接続)が行われる。携帯電話14からIrDA接続要求が出され、これにCF型通信カード13が応答する形でIrDA接続が確立される。次にOBEX接続(論理接続)が行われる。携帯電話14から「Connect 」をオペコードOPとするデータを送信することでOBEX接続(論理接続)を要求し、これにCF型通信カード13が「Response」をオペコードOPとするデータで応答する形でOBEX接続(論理接続)が確立される。
FIG. 9 shows a transfer processing sequence for transferring data in the flow of mobile phone → infrared communication card (CF type communication card) → printer.
When a data transmission operation is performed with the
論理接続が確立されると、携帯電話14はファイルデータをボディDBの最大許容データ長以内のデータ長に分割し、その分割したブロック(フレーム)単位で複数回に分けて転送する。この際、「PUT 」をオペコードOPとしボディDBにブロックを入れたデータDを作成してこれを送信する。以後順次、「Response」をオペコードOPとするデータの受信を待ってから、「PUT」をオペコードOPとする次のデータDを送信する。
When the logical connection is established, the
CF型通信カード13側のファイル転送部(IrOBEX)63は、順次受信するブロックを組み立ててデータを復元し、復元されたデータはオブジェクト送受信部64に渡される。オブジェクト送受信部64は伝送制御手順(ベーシック手順)に従って所定データサイズ以内のブロック(フレーム)単位でプリンタ1へデータを送信する。この際、オブジェクト送受信部64は、ヘッダHDの「Name」から取得した「名前.拡張子」をデータと共に送信する。
The file transfer unit (IrOBEX) 63 on the CF-
こうしてデータ転送処理が進み、携帯電話14から最後のブロック(データ)を転送する際は、そのオペコードOPに「FPUT」が記述されるので、ファイル転送部63は受信したデータのオペコードOPが「FPUT」であると、最後のブロックである、すなわちデータ受信完了の通知と認知する。これを契機に携帯電話14から「Disconnect」をオペコードOPとする切断要求が送られることでOBEX接続(論理接続)が切断され、次いでIrDA接続(物理接続)が切断されることにより、通信リンクが遮断される。その後、プリンタ1では受信データから印刷データが生成され、その印刷データに基づき印刷が実行される。
Thus, when the data transfer process proceeds and the last block (data) is transferred from the
なお、データ送信中に携帯電話14を中断操作すると、「Abort 」をオペコードOPとするデータがCF型通信カード13へ送信される。この場合も、同様の手順によりIrDA切断、OBEX切断の順序を経て通信リンクが遮断される。また、本例では、プリンタ1から携帯電話14へファイル転送する機能は備えていないが、携帯電話14から「GET 」をオペコードOPとするデータがCF型通信カード13へ送られたときは、プリンタ1のメモリに格納されたファイルを携帯電話14へ転送する転送機能をプリンタ1に設けてもよい。
Note that if the
図10は、CF型通信カードをカードスロットに挿入(セット)した際にプリンタ1側のCPU41が実行するプログラムを示すフローチャートである。以下、CPU41がCF型通信カード13を検出した時に実行する処理内容を説明する。
FIG. 10 is a flowchart showing a program executed by the
まず、ステップ(以下単に「S」と記す)10では、CF型通信カード13がカードスロット12に挿入されたか(つまりCF型通信カード13を検出できたか)どうかを判断する。CF型通信カード13がカードスロット12に挿入されたことを検知すればS20に進み、挿入されたことが検知されなければそのまま処理を終了する。
First, in step (hereinafter simply referred to as “S”) 10, it is determined whether or not the CF
S20では、挿入が検知されたカードが、CF型通信カード13であるかメモリカードMCであるかを判別する。CF型通信カード13であればS30に進み、メモリカードであればメモリカードであることを認識して処理を終了する。
In S20, it is determined whether the card whose insertion has been detected is the
S30では、CF型通信カード13のセットアップ処理を行う。すなわち、セットアップデータ記憶部71aから拡張子データ(参照データ)を読み出してオブジェクト送受信部64に送信するようカードドライバ71に指示を与える。この結果、カードドライバ71は拡張子データをオブジェクト送受信部64に送信し、それを受け付けたオブジェクト送受信部64はその拡張子データを記憶部64aに記憶する。
In S30, the CF
次にS40では、インターロック処理を行う。
S50では、インターロックを解除してよいかどうかを判断する。インターロックを解除してよければS60に進み、解除できない場合は再びS40に戻る。S40に戻った場合は、以後、インターロックを解除できるまでインターロック処理を所定時間毎に実行する。
Next, in S40, an interlock process is performed.
In S50, it is determined whether or not the interlock can be released. If it is OK to release the interlock, the process proceeds to S60. If the interlock cannot be released, the process returns to S40 again. When the process returns to S40, the interlock process is executed every predetermined time until the interlock can be released.
S60では、インターロックを解除するレディコマンドを出力する。このレディコマンドを受け付けたカード制御部31(CPU159)は、「受信可能」の通信ステータスAを設定し、CF型通信カード13の表示部13bが緑点灯する。ユーザは表示部13bの緑点灯を見ることでCF型通信カード13がデータ受信可能な状態にあることを把握する。
In S60, a ready command for releasing the interlock is output. Upon receiving this ready command, the card control unit 31 (CPU 159) sets a communication status A of “Receivable”, and the
次に、CF型通信カード13からプリンタ1の本体2側に転送されたデータの処理について説明する。プリンタ側の処理には、主に、(A) データの種別に応じた振り分け処理、(B ) 個人情報データの単件か全件かの判定処理、(C) 個人情報の全件データの分割送出処理、(D) 個人情報データの名刺レイアウト印刷、(E) 個人情報データの電話帳レイアウト印刷の各処理がある。
Next, processing of data transferred from the CF
まず、受信したデータをASIC内等の処理回路が扱えるファイル形式に変換した後、指定のレイアウト付きのデータに生成するまでの処理について説明する。まずvCardファイルのデータ構造を説明する。 First, a process from conversion of received data into a file format that can be handled by a processing circuit such as an ASIC to generation of data with a designated layout will be described. First, the data structure of the vCard file will be described.
図11は、vCardファイル形式の個人情報データの一例を示す。
同図に示すように、vCard形式の単件データMDは、まず「BEGIN:VCARD」で始まり、「END:VCARD」で終わる。その「BEGIN」と「END」の間には以下のような個人情報の各アイテムが、プロパティと値を使って「プロパティ:値」形式で記述されるようになっている。プロパティは項目を指し、値はその項目に入れるべき具体的な内容を指す。プロパティには、「N(名前)」、「SOUND(フリガナ)」、「TEL(電話番号)」、「EMAIL(電子メールアドレス)」、「ADR(住所)」、「NOTE(メモ)」などが用意されている(但し、括弧書きはプロパティの説明である)。
FIG. 11 shows an example of personal information data in the vCard file format.
As shown in the figure, the single data MD in the vCard format starts with “BEGIN: VCARD” and ends with “END: VCARD”. Between the items “BEGIN” and “END”, the following items of personal information are described in a “property: value” format using properties and values. A property points to an item, and a value points to the specific content that should be placed in that item. Properties include “N (name)”, “SOUND (phonetic)”, “TEL (phone number)”, “EMAIL (email address)”, “ADR (address)”, “NOTE (memo)”, etc. Provided (however, parentheses are descriptions of properties).
まずプロパティ「N」の値には他人の氏名が記述される。例えばvCard対応の電話帳アプリケーション(新規登録)を起動させて画面に表示された名前の入力欄に「山田 太郎」と入力した場合、「N:山田 太郎」と記述される。同様にプロパティ「SOUND」の値には氏名のフリガナが記述される。 First, the name of another person is described in the value of the property “N”. For example, when starting a vCard compatible phone book application (new registration) and entering “Taro Yamada” in the name input field displayed on the screen, “N: Taro Yamada” is described. Similarly, the name of the name is described in the value of the property “SOUND”.
プロパティ「TEL」には電話番号が記述されるが、さらにコマンドを追加すること(以下TYPE指定することと称す)により以下に示すようなものが指定できる。「TEL;WORK;VOICE:」の値には勤務先電話番号、「TEL;WORK;FX:」の値には勤務先FAX番号が記述される。「WORK」の部分を「HOME」に置換すると自宅用電話番号が記述される。「TEL;CELL:」の値には携帯電話番号が記述される。また、携帯電話番号の登録アイコンの選択によりさまざまなTYPE指定が可能であり、これによりさまざまな電話番号を指定することが可能である。図11の7行目の「TEL; X- ABC−MAIN;VOICE:」の値には「代表」の電話番号が記述される。その他、「学校」の電話番号が記述されるプロパティもある。その他、さまざまな識別TYPEコマンドが用意されている。 Although the telephone number is described in the property “TEL”, the following can be specified by adding a command (hereinafter referred to as TYPE designation). The office telephone number is described in the value of “TEL; WORK; VOICE:”, and the office FAX number is described in the value of “TEL; WORK; FX:”. When “WORK” is replaced with “HOME”, a home phone number is described. A mobile phone number is described in the value of “TEL; CELL:”. In addition, various TYPE designations can be made by selecting a cellular phone number registration icon, and thus various telephone numbers can be designated. The telephone number of “representative” is described in the value of “TEL; X-ABC-MAIN; VOICE:” on the seventh line in FIG. There is also a property that describes the phone number of “School”. In addition, various identification TYPE commands are prepared.
プロパティ「EMAIL」の値には電子メールアドレスが記述される。「EMAIL」コマンドも「TEL」コマンドと同様に、「EMAIL」の後にTYPE指定することにより複数の電子メールアドレスが指定できる。図11の例で、「EMAIL;WORK:」の値には会社の電子メールアドレスが、「EMAIL;CELL:」の値には携帯電話の電子メールアドレスが、「EMAIL;INTERNET:」の値にはインターネットの電子メールアドレスが記述される。 An e-mail address is described in the value of the property “EMAIL”. Similarly to the “TEL” command, the “EMAIL” command can specify a plurality of e-mail addresses by specifying “TYPE” after “EMAIL”. In the example of FIG. 11, the value of “EMAIL; WORK:” is the company's e-mail address, the value of “EMAIL; CELL:” is the e-mail address of the mobile phone, and the value of “EMAIL; INTERNET:” is set. Is an Internet e-mail address.
プロパティ「ADR」の値には住所が記述される。「ADR」もその後に「WORK」、「HOME」等のTYPE指定することにより会社住所、自宅住所等を指定することができる。 An address is described in the value of the property “ADR”. “ADR” can also specify a company address, a home address, etc. by specifying TYPE such as “WORK” and “HOME”.
プロパティ「NOTE」の値にはメモの内容が記述される。本実施形態では、メモに指定文字を入力して「NOTE」の値に指定文字を記述することにより、プリンタ1に対し印刷レイアウトを設定する機能を設けている。
The value of the property “NOTE” describes the contents of the memo. In the present embodiment, a function for setting a print layout for the
図12に示すように、vCardの全件データADは、個人情報を複数件含み、個人情報は1件ずつ「BEGIN:VCARD」で始まり、「END:VCARD」で終わる。その「BEGIN:VCARD」と「END:VCARD」の間に1件分の個人情報を構成する各アイテムが、「プロパティ:値」形式で記述されている。 As shown in FIG. 12, the vCard all case data AD includes a plurality of pieces of personal information, and each piece of personal information starts with “BEGIN: VCARD” and ends with “END: VCARD”. Each item constituting one piece of personal information is described in the “property: value” format between “BEGIN: VCARD” and “END: VCARD”.
従って、同図からも分かるように、1件のデータが終了する毎に「END:VCARD」が記述されている。携帯電話14から個人情報データを送信するとき、ユーザは「単件」か「全件」かを選択できる。プリンタ1は受信したvCardファイルが「単件」か「全件」かによって適用する印刷レイアウトを決定する。本実施形態では、vCardファイルが「単件」か「全件」であるかを識別するために、個人情報データ中に必ず記述され、かつ1件につき1つしか記述されないコマンド又はプロパティを、件数判別子CSとして採用する。もちろん、1件毎に決まった数ずつ記述されているコマンド又はプロパティなどでもよい。例えば「VCARD」は1件につき2つずつ記述されているので、その計数値が「2」であれば単件、計数値が「4以上」であれば「全件」と判断する方法を採用することもできる。
Therefore, as can be seen from the figure, “END: VCARD” is described every time one piece of data ends. When transmitting personal information data from the
本実施形態の場合、件数判別子CSとして「END:VCARD」を採用する。IrDAプロファイル部74の件数判定部82は、個人情報データが単件であるのか全件(グループ指定の場合はグループの全件を含む)であるのかを判別する。詳しくは、CPU41がデータ中に含まれる件数判別子「END:VCARD」をカウンタにより計数し、その計数値に基づき受信したvCardファイルが「単件」か「全件」かを判断する。すなわちその計数値が「1」の場合は判定値(例えばフラグ)Nを「N=0」にリセットし、計数値が「2以上」の場合は判定値Nを「N=1」にセットする。
In the present embodiment, “END: VCARD” is adopted as the number discriminator CS. The
また、全件ファイルである場合、IrDAプロファイル部74はデータをすべて受信してからテキストデータ形式変換部85へ送るのではなく、全件のうち所定件数分だけバッファリングされる度に、その所定件数分ずつ次処理部のテキストデータ形式変換部85へ送る。この処置は分割処理部84が行う。データ中の1件毎の区切りは区分識別子DSをみることで判断する。本例では、区分識別子DSとして「END:VCARD」を採用する。
In the case of all files, the
詳しくは、データトランスファ部73が伝送制御手順73aにおいてデータが正しく受信されたかどうかチェックした後、CPU41はそのデータについて区分識別子DSである「END:VCARD」(本例で件数判別子CSに同じ)をカウンタにより計数し、その計数値から受信した個人情報の件数をカウントする。そして、所定件数分の個人情報がRAM44の受信バッファ44aにバッファリングされる度にCPU41は、受信バッファ44aのデータを次処理のテキストデータ形式変換部85へ送る。詳しくはCPU41が所定件数分のデータがバッファリングされる度に次のテキストデータ形式変換処理を実行する。なお、区分識別子DSは、1件毎の最後のプロパティでもよい。
Specifically, after the data transfer unit 73 checks whether or not the data is correctly received in the
図13は、個人情報データが印刷される際に適用される印刷レイアウトのテンプレートデータの一例を示す。同図はvCardデータMD1用の名刺印刷テンプレートデータLT1である。 FIG. 13 shows an example of print layout template data applied when personal information data is printed. This figure shows business card print template data LT1 for vCard data MD1.
vCardファイルの印刷レイアウト(印刷フォーマット)は、プリンタ1内のEEPROM43(テンプレート記憶部86)に記憶されたテンプレートデータに依存する。テンプレートデータはXHTML形式で記述されたレイアウト用データである。XHTMLデータは、<body>と</body>の間が、1つの項目毎(同図では行毎)につき、フィールド、コメントタグ、プロパティの3つの領域に分かれている。
The print layout (print format) of the vCard file depends on the template data stored in the EEPROM 43 (template storage unit 86) in the
フィールドは、図13においては「名前」や「電話番号」など名刺の中にタイトルとして印刷される文字列などのデータ領域である。「名前」や「電話番号」など名刺に必要な規定のタイトルはテンプレートデータLTのフィールドに予め記述されている。 The field is a data area such as a character string printed as a title on a business card such as “name” and “phone number” in FIG. Prescribed titles necessary for business cards such as “name” and “telephone number” are described in advance in the field of the template data LT.
コメントタグは、vCard形式ファイルにおける各プロパティの値(例えばプロパティ「N」であればその値である「山田 太郎」)の印刷位置やフォント、文字サイズ等を指定する命令である。コメントタグ「<!-- -->」の直後に値は組み込まれる。また、コメントタグ「< >」を値で置換する方法もある。 The comment tag is an instruction for designating the print position, font, character size, etc. of each property value in the vCard format file (for example, if the property is “N”, that value is “Taro Yamada”). The value is embedded immediately after the comment tag "<!-->". There is also a method of replacing the comment tag “<>” with a value.
プロパティはvCard形式のデータで、TYPE指定したデータの印刷位置やフォント、文字サイズ等を指定する命令である。プロパティ「< > 」の直後にTYPE指定したデータ、例えば「WORK」や「CELL」等の文字列が組み込まれる。従って、図11に示すように名前やフリガナのように、個人情報1件につき1つしかなくいTYPE指定の対象外のデータにおいてはコメントタグのみで構成されている。一方、電話番号や電子メールなどのTYPE指定できるデータが記述される領域ではコメントタグにプロパティが付加される。なお、図13におけるコメントタグ及びプロパティではフォント及び文字サイズ等は指定されていない。 The property is data in vCard format, and is an instruction for designating the print position, font, character size, etc. of the data designated by TYPE. Immediately after the property “<>”, data designated by TYPE, for example, a character string such as “WORK” or “CELL” is incorporated. Therefore, as shown in FIG. 11, only one comment information is included in the data that is not subject to TYPE designation, such as a name or reading, and there is only one piece of personal information. On the other hand, a property is added to the comment tag in an area in which data that can be specified by TYPE such as a telephone number or an e-mail is described. Note that fonts and character sizes are not specified in the comment tags and properties in FIG.
図14は、図11の個人情報データを図13のテンプレートに当て嵌めた後のXHTMLデータを示す。図11の個人情報データ(携帯電話のディスプレイでは図4(b)にように表示される個人情報)は、そのうち指定の値(及びプロパティ)が図13のテンプレートに組み込まれ、図14に示すXHTMLデータからなるテンプレート書式データとなる。この個人情報データからテンプレート書式データへの変換処理は、テキストデータ形式変換部85が行う。テキストデータ形式変換部85で変換されたテンプレート書式データはテキストデータラスタ処理部75に送信される。CPU41は、テキストデータ形式変換処理を次のように行う。テンプレートデータLTを読み出すと、コメントタグの中に記述されたプロパティ(「Name」等)を手掛かりに、vCardファイル中からそのプロパティの値(「山田 太郎」等)を取り出し、テンプレートデータ中のそのコメントタグの直後にその取り出した値を組み込む。また、CPU41は、プロパティ中の「TYPE」直後のプロパティ(「TELNO1」等)を手掛かりに、vCardファイル中からそのプロパティのTYPE(「WORK」等)を取り出し、テンプレートデータLT中のそのプロパティの直後にその取り出したTYPEを組み込む。このルールに従った組込み処理は、CPU41がテキストデータ形式変換処理用プログラムを実行することにより行われる。こうして図14に示すテンプレート書式データが作成される。このように本実施形態では、レイアウト定義できないvCard形式からレイアウト定義できるXHTML形式に形式変換し、この形式変換の際に個人情報の値をテンプレートのレイアウト枠に流し込むことでレイアウトを割り付けている。
FIG. 14 shows XHTML data after the personal information data of FIG. 11 is applied to the template of FIG. In the personal information data of FIG. 11 (personal information displayed as shown in FIG. 4B on the mobile phone display), specified values (and properties) are incorporated in the template of FIG. 13 and the XHTML shown in FIG. Template format data consisting of data. The conversion process from the personal information data to the template format data is performed by the text data
図15は、名刺形式の印刷レイアウトの一例を示す。同図はテンプレートデータLTにより指定される印刷レイアウトのテンプレートPL1を図示したものである。同図において四角枠で囲まれたレイアウト枠(割付領域)A1〜A9は、個人情報の各項目の値が配置される場所で、この場所の指定がテンプレートデータLT中のコメントタグにより指定されている。そして、コメントタグにより指定したレイアウト枠A1〜A9に、それぞれ対応する値が配置される。レイアウト枠A1〜A9内に付されているタイトルは、テンプレートデータLT中に予め記述されており、各タイトルの右横に値が配置される。同図において各レイアウト枠A1〜A9内に括弧で示されている(例えば「(ORG1)」等)のが、vCardデータ中のプロパティで、そのプロパティの値がそのレイアウト枠に配置されることを意味する。例えば図11におけるプロパティ「N」の値「山田 太郎」が図15におけるレイアウト枠A4内の「名前」の右横に配置される。なお、図13の名刺印刷テンプレートと図15の印刷レイアウトとは対応していないが、図13のテンプレートデータは説明を簡単にするため単純な記述内容のテンプレート例で示している。本例では、図15に示す名刺印刷レイアウトを指定できるXHTMLデータがテンプレートデータの一つとしてEEPROM43に記憶されている。この場合、個人情報には、会社名、部署、役職、会社電話番号、会社FAX番号、社用電子メールなど必要なデータを入力して使用する。
FIG. 15 shows an example of a business card format print layout. This figure shows a template PL1 of a print layout designated by the template data LT. In the figure, layout frames (allocation areas) A1 to A9 surrounded by a square frame are places where the values of each item of personal information are arranged, and the designation of these places is designated by a comment tag in the template data LT. Yes. Then, corresponding values are arranged in the layout frames A1 to A9 designated by the comment tags. The titles given in the layout frames A1 to A9 are described in advance in the template data LT, and values are arranged on the right side of each title. In the same figure, each of the layout frames A1 to A9 is shown in parentheses (for example, “(ORG1)” etc.) is a property in the vCard data, and the value of the property is arranged in the layout frame. means. For example, the value “Taro Yamada” of the property “N” in FIG. 11 is arranged on the right side of “Name” in the layout frame A4 in FIG. Although the business card print template in FIG. 13 and the print layout in FIG. 15 do not correspond to each other, the template data in FIG. 13 is shown as a template example with simple description contents for easy explanation. In this example, XHTML data that can specify the business card printing layout shown in FIG. 15 is stored in the
同図の各項目にはvCard形式のプロパティの値がテンプレートのレイアウト枠A1〜A9に挿入され、所定のフォントの種類、フォントサイズ及びフォントのスタイルなどで印刷されるようなXHTMLデータに変換される。例えば、会社名の場合、vCard形式では、プロパティ「ORG」には、値として具体的な会社名が記述され、その会社名がレイアウト枠A1に挿入される。 In each item in the figure, vCard format property values are inserted into the template layout frames A1 to A9, and converted into XHTML data that can be printed with a predetermined font type, font size, font style, and the like. . For example, in the case of a company name, in the vCard format, a specific company name is described as a value in the property “ORG”, and the company name is inserted into the layout frame A1.
図16は印刷レイアウトのテンプレートを示し、同図(a)〜(c)は名刺レイアウトのテンプレート例、同図(d)は電話帳レイアウトのテンプレート例である。なお、同図においては、各テンプレートPL1〜PL4,PL10をvCardファイルのプロパティの値(テキスト)を組み込んだ状態のレイアウト図として示している。テンプレートPL1〜PL4,PL10は、プロパティ毎にその値(テキスト)が組み込まれる割付位置とエリアサイズ(割付領域)を指定するためのタグが記述されたXHTMLデータからなる。図15及び図16(a)〜(c)に示すものを含む複数種の名刺レイアウトのテンプレートデータ(XHTMLデータ)がEEPROM43には記憶されている。
FIG. 16 shows a template of a print layout. FIGS. 16A to 16C are business card layout template examples, and FIG. 16D is a phone book layout template example. In the figure, the templates PL1 to PL4 and PL10 are shown as a layout diagram in which the property value (text) of the vCard file is incorporated. Templates PL1 to PL4 and PL10 are composed of XHTML data in which tags for designating an allocation position and an area size (allocation area) in which the value (text) is incorporated for each property are described. A plurality of types of business card layout template data (XHTML data) including those shown in FIGS. 15 and 16A to 16C are stored in the
ここで、名刺レイアウトの種類を簡単に説明すると、図16(a)は文字サイズがすべて同一の横書きの名刺レイアウトのテンプレートPL2である。同図(b)は名前の文字サイズが他より大きく印刷される横書きの名刺レイアウトのテンプレートPL3、同図(c)は名前の文字サイズが他より大きく印刷される縦書きの名刺レイアウトのテンプレートPL4である。また、同図(d)は、全件の個人情報を印刷するときに使用される電話帳レイアウトのテンプレートPL10である。この電話帳レイアウトのテンプレートデータ(XHTMLデータ)もEEPROM43に記憶されている。
Here, the types of business card layouts will be described briefly. FIG. 16A shows a horizontal business card layout template PL2 having the same character size. FIG. 4B shows a horizontal business card layout template PL3 in which the name character size is printed larger than the other, and FIG. 5C shows a vertical business card layout template PL4 in which the name character size is printed larger than the other. It is. FIG. 6D shows a telephone directory layout template PL10 used when printing all personal information. The phone book layout template data (XHTML data) is also stored in the
本実施形態では、個人情報が単件の場合は名刺レイアウトで印刷され、全件(複数件)の場合は電話帳レイアウトで印刷される。vCardファイルが個人情報を複数件含む「全件」の場合は、CPU41は図16(d)の電話帳レイアウトのテンプレートPL10を一義的に指定する。一方、vCardファイルが個人情報を1件のみ含む「単件」の場合は、ユーザが携帯電話14から名刺レイアウトを選択指定できるようになっている。
In the present embodiment, when the personal information is a single case, it is printed with a business card layout, and when it is all (a plurality of cases), it is printed with a phone book layout. When the vCard file is “all cases” including a plurality of pieces of personal information, the
ユーザは携帯電話14のディスプレイ18に個人情報欄を表示させてその中のメモ欄に印刷レイアウト指定情報を入力する。例えばメモ欄に「1」「2」「3」などの数字(番号)を入力する。この印刷レイアウト指定情報として記述された数字は、vCardデータ中のプロパティ「NOTE」の値として記述される。このメモ欄に記述された数字は単件の個人情報を印刷する際の印刷レイアウトの指定番号として扱われる。例えばプリンタ1の取扱説明書には図15及び図16(a)〜(c)の名刺レイアウトのテンプレートPL1〜PL4等と、各名刺レイアウトのテンプレートPL1〜PL4等の指定番号とが対応付けて記載され、ユーザは取扱説明書にある指定番号をメモ欄に入力することにより名刺レイアウトを指定する。
The user displays a personal information column on the
例えば図4(b)の個人情報欄のようにメモ欄に「2」が入力されていると、図11のvCardファイル中のプロパティ「NOTE」に「2」が記述されている。携帯電話14からvCardファイルを受信すると、そのプロパティ「NOTE」の値として記述された文字列を読み出してそれを解析することにより指定番号を特定する。この解析処理はノート解析部83が行い、詳しくはCPU41がvCardファイル中の「NOTE」の値を解析することにより行われる。CPU41は指定番号を特定できると、その指定番号に対応する名刺レイアウトのテンプレート(XHTML形式)をEEPROM43から読み出す。そして、CPU41は前述したテキストデータ形式変換処理を実行し、図11に示すようなvCardファイルと、図13に示すようなテンプレートデータLT1とに基づ
き、図14に示すようなテンプレート書式データLDを作成する。このテンプレート書式データはXHTMLデータである。
For example, if “2” is entered in the memo field as in the personal information field in FIG. 4B, “2” is described in the property “NOTE” in the vCard file in FIG. When the vCard file is received from the
ここで、メモ欄には印刷レイアウトの指定番号ではなく、本来のメモとしての文字列や文章が入力されているのが普通である。CPU41がプロパティ「NOTE」の値を解析するとき、本来のメモとして記述された文字列や文章の中に数字が含まれていた場合、その数字を指定番号と間違えることが起こりうる。CPU41が解析処理で実行するプログラムは、指定番号以外の文字や文字列等が記述されている場合は、その記述データを本来のメモと判断し、たとえその中に指定番号として使える数字が存在していても、その数字を指定番号としては特定しないように設定されている。そして、このような本来のメモとしての使用と判断した場合とメモ欄が空欄の場合は指定番号の指定がないものと判断し、例えばデフォルトで設定された例えば名刺レイアウトのテンプレートPL2を指定する。
Here, it is normal that a character string or a sentence as an original memo is input in the memo column instead of a print layout designation number. When the
本実施形態では、印刷レイアウトの指定に指定番号(数字)を採用するが、数字には限定されることなく、例えばアルファベットやカタカナ、記号文字、文字、文字列などで指定することも可能である。但し、なるべく簡単に指定ができるように一情報の指定に1桁数字または1文字とするのがよく、また順序性の性質をもつ数字(番号)やアルファベットが好ましい。 In the present embodiment, a designation number (numeric) is used for designating the print layout. However, the designation is not limited to a numeral, and it is also possible to designate an alphabet, katakana, symbol character, character, character string, or the like. . However, in order to specify as easily as possible, it is preferable to designate one digit number or one character for designation of one information, and a number (number) or alphabet having a property of order is preferable.
図17は、IrDAプロファイル部74でのデータの処理を示すフローチャートである。データトランスファ部73で、伝送制御手順によりデータを正しく受信できた場合に、CPU41は図17のフローチャートで示されるプログラムを実行する。このプログラムをCPU41が実行することにより、図6における拡張子識別部81、件数判定部82、Note解析部83、分割処理部84、テキストデータ形式変換部85及び画像データデコード部87の各機能が実現される。以下、CPU41が実行するこのプログラムについて説明する。なお、CF型通信カード13からプリンタ1へは拡張子とオブジェクトデータが転送されてくるようになっており、拡張子はデータの先頭に送られてくる。
FIG. 17 is a flowchart showing data processing in the
S200では、受信したデータの拡張子が何であるかを判断する。受信したデータの拡張子が「jpeg」 または「jpg」 の場合は、JPEG形式の画像データと判断してS220に進む。また、受信したデータの拡張子が「 vnt」 の場合は、vNote形式で作られた画像データ(以下、vNoteファイルという)であると判断し、S210へ進む。更に、受信したデータの拡張子が「vcf」の場合は、vCard形式で作られたテキストデータ(以下、vCardファイルという)であると判断し、S230へ進む。 In S200, it is determined what the extension of the received data is. If the extension of the received data is “jpeg” or “jpg”, it is determined as JPEG format image data and the process proceeds to S220. If the extension of the received data is “vnt”, it is determined that the data is image data created in the vNote format (hereinafter referred to as a vNote file), and the process proceeds to S210. Further, when the extension of the received data is “vcf”, it is determined that the data is text data created in the vCard format (hereinafter referred to as a vCard file), and the process proceeds to S230.
S210では、vNoteファイルに添付されたエンコード画像データを、Base64と呼ばれるエンコード/デコード変換器によりJPEG形式の画像データにデコード(解凍)する。 In S210, the encoded image data attached to the vNote file is decoded (decompressed) into JPEG image data by an encode / decode converter called Base64.
S220では、JPEG形式にされた画像データを、画像データラスタ処理部76へ転送する。
S230では、携帯電話14から送信された個人情報データの件数判定を行う。すなわち、vCardファイルが「 単件」 か「 全件」 かを判断する。本例では、vCardファイルデータ中にある識別子「END:VCARD」を計数することによって個人情報の件数を判定する。計数結果CがC=1であれば単件データと判定し、計数結果CがC≧2であれば全件データと判定する。例えば図11に示すようにvCardファイルが単件データの場合、識別子「END:VCARD」は1つだけなので計数結果CがC=1となり、「単件」と判定される。一方、図11に示すようにvCardファイルが全件データの場合、「END」が複数あってその計数結果CがC≧2を満たすので「全件」と判定される。個人情報を1件のみ含む「 単件」 と判定した場合はS240に進む。また、個人情報を複数件含む「 全件」 と判定した場合はS250に進む。なお、別の判定方法として、携帯電話14側で設定されるファイル名(拡張子を含む)が単件と全件とで異なる場合は、データのファイル名から単件か全件かを判断してもよい。
In S220, the image data in JPEG format is transferred to the image data
In S230, the number of personal information data transmitted from the
S240では、Note領域の記述内容を解析して解析結果に応じたテンプレートを指定する。vCardファイルデータ中にあるプロパティ「NOTE」の値(記述内容)を解析し、その値の中からテンプレートの指定情報(本例では番号)を探し出す。例えば図4(b)に示すようにメモに「2」と記述されていれ
ば、図11に示すようにそのvCardファイルデータ中のプロパティ「NOTE」の値には「2」が記述されているので、この番号「2」を解析結果として抽出する。そして、この番号「2」をテンプレート指定の情報としてRAM44に記憶する。
In S240, the description content of the Note area is analyzed and a template corresponding to the analysis result is designated. The value (description content) of the property “NOTE” in the vCard file data is analyzed, and the template designation information (number in this example) is found from the value. For example, if “2” is described in the memo as shown in FIG. 4B, “2” is described in the value of the property “NOTE” in the vCard file data as shown in FIG. Therefore, this number “2” is extracted as an analysis result. The number “2” is stored in the
S250では、「電話帳」のテンプレートを指定する。つまり、「全件」である場合は、常に「電話帳」のテンプレートを指定する。
S260では、vCardファイルの全件データを所定件数ずつの個人情報に分割しながら所定件数分ずつのデータを次処理へ送り出す。
In S250, a “phone book” template is designated. That is, in the case of “all cases”, the “phone book” template is always designated.
In S260, a predetermined number of pieces of data are sent to the next process while dividing all pieces of data in the vCard file into a predetermined number of pieces of personal information.
S270では、テンプレート記憶部86から指定されたテンプレートを読み出す。すなわち、「 単件」 の場合はS240で指定したノート領域の記述内容の解析結果から定まるテンプレート(名刺形式のレイアウト)を読み出し、「 全件」 の場合はS250で指定した「電話帳」のテンプレート(電話帳形式のレイアウト)を読み出す。
In S270, the specified template is read from the
S280では、vCardファイルの個人情報をテンプレート付きのXHTMLデータに変換する。つまり、テンプレートに当て嵌めるべき項目が指定された場所に個人情報のその項目(プロパティ)の内容(値)を当て嵌めることにより、テンプレート付きのXHTMLデータに変換する。例えば図11に示す単件のvCardファイルの場合、図14に示すようなXHTML形式データに変換される。 In S280, the personal information of the vCard file is converted into XHTML data with a template. That is, the content (value) of the item (property) of the personal information is applied to a place where the item to be applied to the template is specified, thereby converting the data into XHTML data with a template. For example, in the case of a single vCard file shown in FIG. 11, it is converted into XHTML format data as shown in FIG.
S290では、テンプレート付きのXHTMLデータを、テキストデータラスタ処理部75へ転送する。
なお、IrDAプロファイル部74内の拡張子識別部81,件数判定部82、ノート解析部83、分割処理部84は、それぞれS200、S230、S230、S240、S260により実現されている。また、テキストデータ形式変換部85は、S250、S270、S280及びS290により実現されている。
In S290, the XHTML data with the template is transferred to the text data
The
こうしてテキストデータラスタ処理部75へ転送されたデータは、その後、各種処理が施されることにより印刷データに生成される。また、画像データラスタ処理部76へ転送されたデータは、その後、各種処理が施されることにより印刷データに生成される。そして、プリントエンジン77は印刷データに基づき印刷機構を駆動制御し、ロール紙P1にはvCardファイルで送信された個人情報が指定の印刷レイアウトで印刷されたり、vNoteファイルで送信された画像が印刷されたりする。例えば単件の個人情報を含むvCardファイルをプリンタ1に送信したときは、携帯電話14のメモ欄に入力した指定番号に対応する名刺レイアウトで個人情報が印刷される。
The data thus transferred to the text data
そして、個人情報のデータが名刺レイアウトで印刷されたロール紙Pはその排紙の途中で、カッタモータM3の作動により名刺サイズにカットされる。
以下、第1の実施形態の効果を記載する。
The roll paper P on which personal information data is printed in the business card layout is cut into a business card size by the operation of the cutter motor M3 during the paper discharge.
Hereinafter, effects of the first embodiment will be described.
(1)携帯電話14に保存された個人情報をプリンタ1に送信して印刷させる際、vCardデータのメモ領域にレイアウトを指定する指定情報を記述しておけば、そのメモ領域の記述内容で指定したレイアウトで個人情報を印刷できる。すなわち、ユーザは携帯電話14の個人情報欄を表示させてその中のメモ欄に「1」「2」「3」などの番号又はアルファベット等の文字情報を書き込む(入力する)。この記述された文字情報は個人情報データのうちメモ領域に格納される。このメモ領域に記述された数字はレイアウトを指定する文字として扱われる。携帯電話14から送信された個人情報データを受信すると、そのメモ領域の記述内容を解析(解読)して指定情報の数字を抽出し、その数字で指定されたレイアウトを決定する。個人情報をメモ領域で指定したレイアウトで印刷できる。また、携帯電話14側の操作でレイアウト指定できるので、印刷時のデータ送信操作及びレイアウト指定操作のどちらも携帯電話14を操作するだけで行え、操作性がよい。
(1) When the personal information stored in the
(2)vCardデータ中の個人情報を印刷する際、レイアウトをメモ領域の記述により指定することで、適切な名刺レイアウトを指定できる。例えば会社に関連するデータのみが入っている場合は、会社用名刺レイアウト、私的情報のみが入っている場合は、個人用名刺レイアウトを指定して印刷させることができる。 (2) When printing personal information in vCard data, an appropriate business card layout can be specified by specifying the layout by the description of the memo area. For example, when only company-related data is included, a company business card layout can be specified, and when only private information is included, a personal business card layout can be specified and printed.
(3)vCard形式(個人情報データ形式)の一つのコマンドを件数判別子CS(区分識別子DS)として検索(検出)する手段を設けたことにより、携帯電話14から送信された個人情報データが単件データか全件データであるのかを自動的に認識できる。
(3) By providing means for searching (detecting) one command in the vCard format (personal information data format) as the number discriminator CS (classification identifier DS), the personal information data transmitted from the
(4)携帯電話14の個人情報データはレイアウト定義できないvCard形式で送信されるため、vCard形式でそのまま送信しただけでは所定のレイアウトで印刷することはできない。しかし、レイアウト定義できないvCard形式ファイルデータを、レイアウト定義できるXHTML形式のデータに変換する手段を設けたことにより所望のレイアウトを割り付けてしかもvCardデータのうち個人情報として必要なデータのみを印刷させることができる。
(4) Since the personal information data of the
(5)個人情報データが単件か全件かを区別できることにより、単件の場合は名刺テンプレート形式のデータに変換でき、全件の場合には電話帳テンプレート形式のデータに変換できる。つまり、個人情報データが単件、全件を区別するだけで、自動的に適切な印刷レイアウトを決定することができる。そして、個人情報データの単件か全件(複数件)かに応じて適切なレイアウトをそのデータに割り付けて印刷させることができる。 (5) By distinguishing whether personal information data is single or all, it can be converted into data in a business card template format in the case of a single case, and can be converted into data in a phone book template format in the case of all cases. That is, it is possible to automatically determine an appropriate print layout only by distinguishing between single and all personal information data. An appropriate layout can be assigned to the data and printed according to whether the personal information data is single or all (multiple).
(6)区分識別子を検索する手段を設けたことにより、全件データを受信する際に受信された個人情報データ(件別データ)の件数を計数し、所定件数(本例では1件)受信し終わる度にそこまで受信した所定件数(1件)分のデータを分割して次処理へ送出できる。よって、次の処理部へデータを送出するまでの間、その受信したデータを一時蓄積しておくバッファの容量を少なく済ませることができる。また、次の処理部における処理開始時期を早めることができ、ひいては印刷開始時期を早めプリンタ1のスループット向上に寄与する。
(6) By providing a means for searching for category identifiers, the number of personal information data (data by case) received when receiving all case data is counted, and a predetermined number (1 in this example) is received. When the process is completed, the data for a predetermined number (one) received so far can be divided and sent to the next process. Therefore, the capacity of the buffer for temporarily storing the received data can be reduced until the data is sent to the next processing unit. In addition, the processing start time in the next processing unit can be advanced, and as a result, the printing start time is advanced and contributes to the improvement of the throughput of the
(7)携帯電話14で作成されたデータがプリンタ1に送信され、プリンタ単独で名刺印刷を容易にすることができる。手持ちの名刺がなくなった場合に、携帯電話14のデータをプリンタ1に送るだけで、容易に必要な枚数の名刺を印刷することができる。しかも、携帯電話14で元々個人情報を管理するデータを利用するので、名刺の記載内容を改めて入力する手間もいらない。さらに携帯電話14で扱われるレイアウト定義できないvCard形式のデータをレイアウト定義できるXHTML形式のデータに形式変換するので、一般の名刺どおりのレイアウトで印刷できる。また、名刺テンプレートも複数種用意されているので、所望のレイアウトの名刺を印刷できる。
(7) Data created by the
(8)携帯電話14から受信したデータをプリンタ1が印刷可能なデータに適宜変換するので、携帯電話14から直接プリンタ1にデータを送信して印刷することができる。よって、パーソナルコンピュータ(PC)にデータを送り、PCのデータをメモリカード等の記憶媒体に記憶させ、プリンタ1に読み込んで印刷するよりも容易に素早く印刷することができる。
(8) Since the data received from the
(第2の実施形態)
次に第2の実施形態について説明する。
この実施形態は、プリンタ1に送信するvCardファイルのメモ領域に記述する情報により印刷パラメータを指定する変形例である。前記第1の実施形態はメモ領域の記述情報により印刷レイアウト指定を行う例であったが、この第2の実施形態は、メモ領域の記述情報を印刷レイアウト指定の替わりに印刷枚数指定などの他の印刷パラメータを設定可能とした例である。本実施形態は、レイアウト指定に替え、あるいはレイアウト指定に更に他の印刷条件を付加して印刷条件指定する例である。
(Second Embodiment)
Next, a second embodiment will be described.
This embodiment is a modification in which print parameters are specified by information described in a memo area of a vCard file transmitted to the
印刷レイアウト指定情報が複数選択できるようになっている。メモ領域の記述内容が印刷パラメータの指定の記述であるか否かの判断は、CPU41が行う。CPU41は予め決められた記述形式であるか否かや、指定に使用される符号等以外の文字情報を含んでいないか否かを、記述内容を解析して判断する。例えば、印刷レイアウト指定の文字は小文字のアルファベットも使用し、複数のレイアウト指定を行う場合には、文字をカンマで区切ることを約束とする。また、印刷枚数の指定を算用数字とし、印刷レイアウトと印刷枚数の両者を決定する場合には、最初に印刷レイアウト指定の情報を入力し、次にセミコロンで区分し、印刷枚数の情報を入力する入力形式に決めておく。このように予め決められた印刷情報の指定方法に関するルールがEEPROM43に記憶してあり、このルールに
基づいてCPU41が解析処理する。指定符号等以外の文字情報を含む場合は、その指定符号が印刷パラメータの指定目的ではなく、本来のメモとしての記述中にたまたま指定符号が含まれていた可能性もあるので、このような場合は指定なしと判断してデフォルトの印刷パラメータを設定する。
Multiple print layout designation information can be selected. The
図18(a),(b)は、携帯電話14のディスプレイ18に表示された個人情報の一例であり、メモ領域に指定の文字や数字を記述することにより印刷条件を指定できるようになっている。
FIGS. 18A and 18B are examples of personal information displayed on the
図18(a)は、印刷レイアウトと印刷枚数をメモ領域で指定した個人情報の一例を示す。メモ欄の記述内容によって印刷条件を指定できる決まりが予め設定されており、複数の印刷パラメータを指定できる。本例では、印刷レイアウトに加え、印刷枚数を指定できる。その指定の決まりは、レイアウトの指定情報と印刷枚数の指定情報をセミコロンで区分して記述する。例えば「a;3」などと情報が入力されていれば、印刷レイアウトは「a」で印刷枚数「3枚」を指定したことになる。このようにメモ領域に指定した個人情報データをプリンタ1へ送信すると、CPU41はvCardファイルのNOTE領域の記述内容を取り出し、その内容を解析して指定に合致した記述、すなわち「a;3」のようにアルファベットと数字がセミコロンで区分された記述を検索する。「アルファベット;数字」をみつけると、さらにその他の情報が記述されていないかをみる。他の情報が記述されていれば、その「アルファベット;数字」の記述は印刷パラメータの指定ではなく、本来のメモとしての使用の記述内容にたまたま「アルファベット;数字」の組合せが含まれていたと判断し、指定なしと判断する。もちろん、特殊記号を付した行は無視するとか、逆に特殊記号を付した行のみ有効として指定を行なう決まりを採用することもできる。例えば複数行に亘り記述され、ある行には特殊記号が記載された後、「アルファベット;数字」が存在する場合は、その特殊記号が先頭にある行は指定として有効となり、指定情報以外の他に文字列がなければ、指定と判断するようにする。こうすれば、メモ領域を本来のメモの記述と印刷パラメータ指定の記述とを共存でき、指定するときにはメモを一時消去しなければならないという不便さはなくなる。
FIG. 18A shows an example of personal information in which the print layout and the number of prints are specified in the memo area. A rule that can specify printing conditions is set in advance according to the description content of the memo field, and a plurality of printing parameters can be specified. In this example, in addition to the print layout, the number of prints can be specified. The specification rule is described by separating the layout specification information and the print number specification information with a semicolon. For example, if information such as “a; 3” is input, the print layout is “a” and the number of prints “3” is designated. When the personal information data designated in the memo area is transmitted to the
図18(b)は印刷パラメータをメモ欄で3つ指定できる場合の個人情報の一例を示す。印刷レイアウトのテンプレートが複数用意されている場合、1つのデータに対しレイアウトを複数指定して印刷できるようにしている。例えば、1つの単件の個人情報データに対し、図16(a),(b),(c)に示すような3通りの名刺レイアウトのテンプレートPL2〜PL3で名刺を1枚ずつ印刷する。複数のレイアウトを指定する場合は、メモ欄でレイアウト指定符号をカンマ「,」で区切って記述する決まりとし、例えば「a,b,c」のように指定符号をカンマで区分して複数のレイアウトを指定する。もちろん、複数のレイアウトを複数枚ずつ印刷する指定も可能である。例えば最後のカンマの後に記述された符号の次にコロンがあればコロンの後に記述された符号が枚数指定とする決まりとしておき、「a,b,c:5」と記述されていれば、CPU41はa,b,cで指定された3種類のレイアウトで5枚ずつ名刺印刷する指定であると認識する。CPU41は、レイアウトの指定情報(例えば符号)以外の記述を検出した場合は、記述は無効と判断し、「デフォルト」を指定する。
FIG. 18B shows an example of personal information when three print parameters can be specified in the memo field. When a plurality of print layout templates are prepared, a plurality of layouts can be designated and printed for one data. For example, for each piece of personal information data, business cards are printed one by one using templates PL2 to PL3 having three business card layouts as shown in FIGS. 16 (a), 16 (b), and 16 (c). When specifying a plurality of layouts, the layout specification code is delimited by a comma “,” in the memo field, and for example, a plurality of layouts are specified by dividing the specification code by a comma such as “a, b, c”. Is specified. Of course, it is also possible to specify printing of a plurality of layouts. For example, if there is a colon next to the code described after the last comma, the code described after the colon is determined to specify the number of sheets. If “a, b, c: 5” is described, the
メモ欄に印刷パラメータのうちの1つしか指定できない場合、例えば印刷レイアウトの指定に替え、印刷枚数を指定することもできる。例えばメモ欄に「2」を記述しておくと、その個人情報が記述された名刺が2枚印刷される。この場合、印刷レイアウトは、予めEEPROM43に記憶されているデフォルトの名刺テンプレートを使用する。もちろん、印刷パラメータの幾種かを操作パネル8の操作により指定できるようにしておき、他の一つ又は複数の印刷パラメータをメモ欄の記述により指定する方法も採用できる。例えば枚数指定はメモ欄への記述で指定し、印刷レイアウトは操作パネル8で選択してプリンタ1に直接登録する。また、プリンタ1では用紙として単票紙とロール紙のどちらかを選択可能であるが、この場合、単票紙とロール紙のどちらで印刷するかをメモ欄の記述情報で
指定することも可能である。さらにメモ領域の記述によって、フォントの種類、大きさ(サイズ)を指定することもできる。
If only one of the print parameters can be specified in the memo field, for example, the number of prints can be specified instead of specifying the print layout. For example, if “2” is described in the memo field, two business cards in which the personal information is described are printed. In this case, the default business card template stored in advance in the
vCardファイルのメモ領域の記述により指定する内容及び指定の仕方は予め定められており、CPU41はその定められた指定方法に従ってメモ領域の記述内容( 記述情報) を解析して指定内容を特定する。
The contents designated by the description of the memo area of the vCard file and the way of designation are determined in advance, and the
以下に第2の実施形態の効果を記載する。
(9)メモ領域に予め決められた指定内容を予め決められた記述方法で記述しておくことで、印刷レイアウト、印刷枚数、印刷用紙、文字情報(フォント、大きさ)等の印刷パラメータを設定することができる。この方法は、メモ領域の入力方法に約束事を決めておけばよいので、新規に指定用の入力欄などを追加する必要がない。また、アルファベットや数字など簡易な符号を使用するので、印刷パラメータを簡単に指定できる。例えば印刷レイアウトの種類の設定にはアルファベットの小文字を使用し、印刷枚数の決定には算用数字を使用する等である。
The effects of the second embodiment will be described below.
(9) Print parameters such as print layout, number of prints, print paper, character information (font, size), etc. are set by describing predetermined designated contents in the memo area with a predetermined description method. can do. In this method, since it is only necessary to decide on a memo area input method, there is no need to add a new input field for designation. In addition, since simple codes such as alphabets and numbers are used, print parameters can be easily specified. For example, lowercase letters of the alphabet are used to set the type of print layout, and arithmetic numbers are used to determine the number of prints.
(第3の実施形態)
次に第3の実施形態を図19及び図20に基づいて説明する。
この実施形態は、全件データについても、メモ領域の記述情報によってレイアウトを指定できる例である。EEPROM43にはさらに図19に示すテンプレートPL11が記憶されている。このテンプレートPL11は、全件データに含まれる各個人情報の名刺を1枚ずつ配置したレイアウトで印刷するためのテンプレートである。
(Third embodiment)
Next, a third embodiment will be described with reference to FIGS.
This embodiment is an example in which the layout can be designated by the description information of the memo area for all the case data. The
図20は、IrDAプロファイル部74でのデータの処理を示すフローチャートである。前記第1の実施形態における図17のフローチャートと基本的に同じであるが、全件データについてもNOTE領域の記述内容を解析して指定されたテンプレートを特定する。
FIG. 20 is a flowchart showing data processing in the
同図において、S500〜S540,S560〜S590の各処理は、図17におけるS200〜S240,S260〜S290の各処理と同様の処理を行う。S550の処理が第1の実施形態と異なっている。 In the same figure, each process of S500-S540, S560-S590 performs the process similar to each process of S200-S240, S260-S290 in FIG. The process of S550 is different from that of the first embodiment.
S550では、全件データ中の1件目の個人情報のNOTE領域を解析し、その解析結果に応じたテンプレートを指定する。例えばプリンタ1の取扱説明書には、全件印刷用のレイアウトとして、図16(d)の電話帳テンプレートPL10、図19の名刺レイアウトのテンプレートPL11を含む複数種のレイアウト図が記載され、それぞれを指定するときの番号が対応付けて記載されている。そして、例えば全件中の中で一番登録番号の若い1件目の個人情報中のNOTE領域にレイアウトを指定する番号を記述するよう決められている。ユーザは全件データを印刷するときにその中で登録番号の一番若い個人情報のメモ欄に、指定したいレイアウトの番号を入力する。その結果、携帯電話14から送信したデータにはその1件目の個人情報中のプロパティ「NOTE」の値として、その指定されば番号、例えば「11」が記述されている。番号「11」を解析して取得すると、CPU41はその番号「11」に対応する複数件用名刺レイアウトのテンプレートを指定する。
In S550, the NOTE area of the first personal information in all data is analyzed, and a template corresponding to the analysis result is designated. For example, the instruction manual for the
そして、S570では、テンプレート記憶部86からその指定されたテンプレートPL11を読み出す。こうして全件データ中の各個人情報データが図19に示すテンプレートPL11中の名刺レイアウト(各レイアウト枠)に1件ずつ流し込まれ、名刺レイアウト付きのXHTMLデータが作成される(S580)。その後、ラスタ処理(S590)が施され、さらに印刷データに変換され、プリントエンジン77によってその印刷データに基づき印刷処理が行われることにより、複数件の個人情報が図19に示す名刺レイアウトで印刷される。
In S570, the designated template PL11 is read from the
以下、第3の実施形態の効果を記載する。
(10)全件データについてもメモ領域でレイアウト指定できるので、複数件の個人情報を所望のレイアウトで印刷できる。例えば全件の個人情報を使って全員又はグループ所属員の名刺を印刷したいとき、1件ずつデータを送信する必要がなく、携帯電話14から直接印刷する際の手間を省くことができる。
Hereinafter, effects of the third embodiment will be described.
(10) Since layout of all data can be specified in the memo area, a plurality of personal information can be printed in a desired layout. For example, when it is desired to print business cards of all members or group members using all personal information, it is not necessary to transmit data one by one, and it is possible to save the trouble of printing directly from the
実施の形態は、上記に限定されず、以下のように変更することができる。
(変形例1)メモ領域の記述情報を用いて、フォントの種類、大きさを指定できるようにしてもよい。また、ロール紙で印刷を行う場合、ロール紙のカット方法を選択できるようにしてもよい。例えば、名刺レイアウトで印刷する場合、単件データ毎にカットするか(通常状態)、所定の件数を印刷してから所定件数毎にカットするかそのカット方法を、メモ領域の記述情報に基づき指定できるように規則を定め、これをプリンタ1に登録しておく。
The embodiment is not limited to the above, and can be modified as follows.
(Modification 1) The type and size of the font may be specified using the description information of the memo area. Further, when printing is performed with roll paper, a roll paper cutting method may be selected. For example, when printing with a business card layout, specify whether to cut for each piece of data (normal state), or to print a predetermined number of prints and then cut for each predetermined number based on the description information in the memo area Rules are established so that they can be registered and registered in the
(変形例2)さらにロール紙を選択して、名刺レイアウトあるいは電話帳レイアウトで印刷処理をしたとき、その印刷のレイアウト形態に合わせて自動的にロール紙をカットする指定を、メモ領域の記述情報に基づいて行えるようにしてもよい。 (Modification 2) When roll paper is further selected and printing processing is performed with a business card layout or a phone book layout, the designation of automatically cutting the roll paper according to the printing layout form is made. May be performed based on the above.
(変形例3)前記実施形態では、名刺で説明したが、テレフォンカード、銀行カード、社員カード等のカード状のものであれば同様に印刷できる。実施形態では、顔写真で説明したが、会社のロゴマーク、または、活動を象徴するマーク、または、写真等の画像データであってもよい。 (Modification 3) Although the business card has been described in the above embodiment, it can be printed in the same manner as long as it is in the form of a card such as a telephone card, a bank card, and an employee card. In the embodiment, the face photograph is described, but it may be a company logo mark, a mark symbolizing an activity, or image data such as a photograph.
(変形例4)vCardデータに画像データを添付できるデータ構造を採用し、プリンタ1のEEPROM43に画像のレイアウト枠を有するテンプレートデータを用意しておく。vCardデータに含まれる画像データのレイアウトを、メモ領域の情報で指定する。テキストデータと画像データのどちらか一方、あるいは両方を割り付けできるテンプレートデータを用意しておけば、テキストデータと画像データのどちらか一方、あるいは両方を割り付けたレイアウトで印刷できる。また、データはvCardデータに限らずvNoteデータでもよい。例えばvNoteデータのメモ領域に指定情報を記述して出力パラメータを指定する方法を採用することもできる。
(Modification 4) A data structure that can attach image data to vCard data is adopted, and template data having an image layout frame is prepared in the
(変形例5)CF型通信カード13を介した赤外線通信でデータを受信する構成に限定されない。例えば本体2にIrDA通信モジュールが内蔵されたプリンタに適用できる。また、赤外線通信以外の無線通信でデータを受信する構成において適用しても構わない。さらに無線通信に限らず通信ケーブル等を用いた有線による通信でデータを受信する構成において適用しても構わない。
(Modification 5) It is not limited to the structure which receives data by the infrared communication via the CF type | mold communication card |
(変形例6)出力装置は印刷装置(プリンタ)に限定されない。例えばプロジェクタ等の表示装置に適用してもよい。携帯電話14からデータを表示装置に送信し、そのデータに基づき個人情報を所定のレイアウトを付して表示装置に表示させる。
(Modification 6) The output device is not limited to a printing device (printer). For example, the present invention may be applied to a display device such as a projector. Data is transmitted from the
(変形例7)出力パラメータを決定するうえで解読されるデータ中の前記記述内容は、データのメモ領域の記述情報に限定されない。例えば、携帯端末側に印刷情報を指定する操作ボタン等の指定手段(入力部)が備えられ、データ送信時あるいは事前にこの操作手段を操作することによって、出力パラメータ(印刷情報)を決定するうえで解読されるべき記述内容をデータに書き込む構成とする。この記述内容をデータに書き込む処理は、携帯電話側に、操作手段の操作に応じて指定された印刷情報(記述内容)をデータに書き込むプログラムを組み込むことによって実現される。具体的には、例えば携帯端末から受信部にデータを送信する際に、携帯端末の所定のボタンを押す等の操作を行ってから送信することによって、その送信データにはその操作されたボタンに対応するレイアウトの記述内容が書き込まれ、出力装置(プリンタ)側ではその受信したデータ中の記述内容を解読することで決定されたレイアウトに応じてデータの内容を出力(印刷)する。 (Modification 7) The description content in the data decoded when determining the output parameter is not limited to the description information in the memo area of the data. For example, a specification unit (input unit) such as an operation button for specifying print information is provided on the mobile terminal side, and an output parameter (print information) is determined by operating this operation unit at the time of data transmission or in advance. The description content to be deciphered is written to the data. The process of writing the description contents into the data is realized by incorporating a program for writing the print information (description contents) designated in accordance with the operation of the operation means on the mobile phone side. Specifically, for example, when data is transmitted from the mobile terminal to the receiving unit, an operation such as pressing a predetermined button of the mobile terminal is performed, and then the transmission data is transmitted to the operated button. The description content of the corresponding layout is written, and the output device (printer) side outputs (prints) the data content according to the layout determined by decoding the description content in the received data.
前記各実施形態及び変形例から把握される技術的思想を以下に記載する。
(1)請求項1〜5のいずれか一項において、前記データの記述内容は、複数の指定情報群を含み、前記複数の指定情報群によって複数の出力パラメータを指定することを特徴とする出力装置。これによれば、複数の指定情報群によって複数の出力パラメータを指定できるので、携帯端末から指定できる出力条件の自由度が増す。
The technical idea grasped from the respective embodiments and modifications will be described below.
(1) The output according to any one of
(2)請求項1〜3,6〜10のいずれか一項において、前記出力手段は前記データに基づき印刷処理を行う印刷手段である。
(3)請求項1〜3,6〜10のいずれか一項において、前記出力手段は前記データに基づき表示処理を行う表示手段である。
(2) In any one of
(3) In any one of
(4)出力装置本体に設けられたスロットに挿抜可能に挿着される無線通信器を備え、前記受信部は前記無線通信器を介してデータを受信することを特徴とする出力装置。
(5)請求項8において、前記名刺レイアウトデータを複数種記憶する記憶部を備え、前記レイアウト決定手段は前記指定情報に応じた名刺レイアウトデータを読み出し、前記出力手段は、前記名刺レイアウトデータを用いて前記データに基づく出力処理を行うことを特徴とする出力装置。これによれば、データに指定情報を記述することで複数の名刺レイアウトの中から所望のものを指定できる。
(4) An output device comprising a wireless communication device that is removably inserted into a slot provided in the output device main body, and wherein the receiving unit receives data via the wireless communication device.
(5) In
(6)請求項6〜8のいずれか一項において、前記データはレイアウト定義できないデータ形式であり、前記変換処理部は、前記レイアウト定義できないデータ形式のデータを前記レイアウトデータを用いてレイアウト付きデータに変換することを特徴とする出力装置。これによれば、携帯端末から送信されるデータがレイアウト定義できない形式のデータであっても、そのデータの内容を出力装置からレイアウトを付けて出力させることが可能となる。 (6) In any one of claims 6 to 8, the data is in a data format that cannot be layout-defined, and the conversion processing unit uses the layout data to convert the data in the data format that cannot be layout-defined to data with layout. An output device characterized by being converted into an output device. According to this, even if the data transmitted from the mobile terminal is data in a format in which the layout cannot be defined, the contents of the data can be output from the output device with a layout.
1…出力処理システムを構成するとともに出力装置及び印刷装置としてのプリンタ、2…出力装置本体としての本体、12…スロットとしてのカードスロット、13…出力処理システムを構成するとともに無線通信器としてのCFカード型赤外線通信カード(赤外線通信カード)、13a…赤外線受発光部(通信カード側の通信ポート)、14…携帯端末としての携帯電話、15…入力部としての操作ボタン、20…赤外線受発光部(携帯電話側の通信ポート)、41…解読手段を構成するCPU、43…記憶部としてのEEPROM、45e…受信部としてのスロット通信部、46…出力手段を構成するASIC、73…第2転送手段としてのデータトランスファー部、76…出力手段及び印刷手段を構成する画像データラスタ処理部、83…解読手段としてのノート解析部、85…出力手段及び印刷手段を構成するとともに出力条件決定手段、レイアウト決定手段及び変換処理部としてのテキストデータ形式変換部、86…記憶部としてのテンプレート記憶部、87…出力手段及び印刷手段を構成する画像データデコード部、PL1〜PL4…名刺レイアウト。
DESCRIPTION OF
Claims (10)
前記携帯端末で入力されたデータとしてvCardデータもしくはvNoteデータに予め用意されたメモ領域に記述されている前記出力処理を指定する指定情報を含むデータを受信する受信部と、
前記受信部で受信したデータの記述内容を解読して指定情報を取得する解読手段と、
前記解読手段が解読した前記指定情報に応じた出力パラメータを決定する出力条件決定手段とを備え、
前記出力手段は、前記決定された出力パラメータを用いて前記携帯端末から受信したデータに基づく出力処理を行うことを特徴とする出力装置。 In an output device having output means for performing output processing based on data received from a portable terminal,
A receiving unit that receives data including designation information for designating the output process described in a memo area prepared in advance in vCard data or vNote data as data input by the mobile terminal;
Decoding means for decoding the description content of the data received by the receiving unit to obtain the specified information;
Output condition determining means for determining an output parameter according to the specified information decoded by the decoding means,
The output device performs output processing based on data received from the portable terminal using the determined output parameter.
前記データには複数の出力パラメータを指定する指定情報が記述されており、
前記出力条件決定手段は、前記解読手段が前記データの記述内容を解読して取得した指定情報に応じた複数の出力パラメータを決定し、
前記出力手段は、前記決定された複数の出力パラメータを用いて前記データに基づく出力処理を行うことを特徴とする出力装置。 The output device according to claim 1,
In the data, designation information for designating a plurality of output parameters is described,
The output condition determining means determines a plurality of output parameters according to the designation information acquired by the decoding means decoding the description content of the data,
The output unit performs an output process based on the data using the determined plurality of output parameters.
前記出力パラメータは、少なくともレイアウトを含み、
前記出力手段は、前記決定された出力パラメータを用いて前記データに基づく出力処理を行って前記データの内容を前記レイアウトで出力することを特徴とする出力装置。 The output device according to claim 1 or 2,
The output parameters include at least a layout;
The output unit performs output processing based on the data using the determined output parameter and outputs the content of the data in the layout.
前記出力手段は前記データに基づき印刷処理を行う印刷手段であり、
前記出力パラメータは、少なくとも印刷枚数を含み、
前記出力手段は、前記決定された出力パラメータを用いて前記データに基づく印刷処理を前記印刷枚数の回数実行することを特徴とする出力装置。 In the output device according to any one of claims 1 to 3,
The output means is a printing means for performing a printing process based on the data;
The output parameter includes at least the number of printed sheets,
The output unit is configured to execute a printing process based on the data by the number of times of printing using the determined output parameter.
前記出力手段は前記データに基づき印刷処理を行う印刷手段であり、
前記出力パラメータは、少なくとも印刷媒体の指定を含み、
前記出力手段は、前記出力パラメータを用いて前記データに基づく印刷処理を行って前記データの内容を前記指定の印刷媒体に印刷することを特徴とする出力装置。 In the output device according to any one of claims 1 to 4,
The output means is a printing means for performing a printing process based on the data;
The output parameter includes at least a print medium designation;
The output device performs a printing process based on the data using the output parameter and prints the content of the data on the designated print medium.
前記携帯端末で入力されたデータとしてvCardデータもしくはvNoteデータに予め用意されたメモ領域に記述されている前記出力処理を指定する指定情報を含むデータを受信する受信部と、
前記受信部で受信した前記データの記述内容を解読して指定情報を取得する解読手段と、
レイアウトデータを記憶する記憶部と、
前記解読手段が解読して得た指定情報に応じたレイアウトデータを前記記憶部から読み出すレイアウト決定手段と、
前記読み出されたレイアウトデータを用いて前記データをレイアウト付きデータに変換する変換処理部とを備え、
前記出力手段は、前記携帯端末から受信した前記レイアウト付きデータに基づく出力処理を行って前記データの内容を前記決定されたレイアウトで出力することを特徴とする出力装置。 In an output device having output means for performing output processing based on data received from a portable terminal,
A receiving unit that receives data including designation information for designating the output process described in a memo area prepared in advance in vCard data or vNote data as data input by the mobile terminal;
Decryption means for decrypting the description content of the data received by the reception unit to obtain designated information;
A storage unit for storing layout data;
Layout determining means for reading out layout data from the storage unit according to the designation information obtained by decoding by the decoding means;
A conversion processing unit that converts the data into data with a layout using the read layout data;
The output unit performs an output process based on the layout-added data received from the portable terminal and outputs the content of the data in the determined layout.
前記データには複数のレイアウトを指定する指定情報が記述されており、
前記レイアウト決定手段は、前記解読手段が前記データの記述内容を解読して取得した指定情報に応じた複数のレイアウトデータを決定し、
前記変換処理部は、複数のレイアウトデータを用いて前記データを複数のレイアウト付きデータに変換し、
前記出力手段は、前記複数のレイアウト付きデータに基づき出力処理を行って前記データの内容を複数種のレイアウトで出力することを特徴とする出力装置。 The output device according to claim 6.
In the data, designation information for designating a plurality of layouts is described.
The layout determining means determines a plurality of layout data corresponding to the designation information acquired by the decoding means decoding the description content of the data,
The conversion processing unit converts the data into a plurality of data with a layout using a plurality of layout data,
The output unit performs output processing based on the plurality of layout-added data and outputs the contents of the data in a plurality of types of layouts.
前記データは個人情報データであり、前記レイアウトは名刺レイアウトであることを特徴とする出力装置。 In the output device according to any one of claims 6 to 7,
The output device, wherein the data is personal information data, and the layout is a business card layout.
前記指定情報は、番号又はアルファベットであることを特徴とする出力装置。 In the output device according to any one of claims 1 to 8,
The output device, wherein the designation information is a number or an alphabet.
前記携帯端末は、前記出力装置に出力パラメータを指定するための指定情報を記述する入力部を備えたことを特徴とする出力処理システム。 An output processing system comprising the output device according to any one of claims 1 to 9 and a mobile terminal,
The output processing system, wherein the portable terminal includes an input unit that describes specification information for specifying an output parameter in the output device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004034189A JP4479263B2 (en) | 2003-07-17 | 2004-02-10 | Output device and output processing system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003302053 | 2003-07-17 | ||
JP2004034189A JP4479263B2 (en) | 2003-07-17 | 2004-02-10 | Output device and output processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005047253A JP2005047253A (en) | 2005-02-24 |
JP4479263B2 true JP4479263B2 (en) | 2010-06-09 |
Family
ID=34277624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004034189A Expired - Fee Related JP4479263B2 (en) | 2003-07-17 | 2004-02-10 | Output device and output processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4479263B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006112204A1 (en) * | 2005-03-30 | 2006-10-26 | Matsushita Electric Industrial Co., Ltd. | Portable terminal device, printing device and printing device for portable terminal device |
JP2007069389A (en) * | 2005-09-05 | 2007-03-22 | Seiko Epson Corp | Printer, method for controlling printing, and printing control program |
KR100856405B1 (en) * | 2006-04-13 | 2008-09-04 | 삼성전자주식회사 | Method and system for outputting personal information management data, and a device thereby |
JP5055068B2 (en) * | 2007-09-04 | 2012-10-24 | キヤノン株式会社 | Printing apparatus, control method thereof, and program |
JP5104366B2 (en) * | 2008-02-08 | 2012-12-19 | 富士ゼロックス株式会社 | Print processing system |
JP5149715B2 (en) * | 2008-06-30 | 2013-02-20 | キヤノン株式会社 | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM |
JP7423277B2 (en) * | 2019-11-28 | 2024-01-29 | キヤノン株式会社 | Server system and program that suppresses printing proposal inquiries |
-
2004
- 2004-02-10 JP JP2004034189A patent/JP4479263B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005047253A (en) | 2005-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2005254793A (en) | Output device and radio communication device | |
CN106060304B (en) | The control method of image processing equipment and image processing equipment | |
KR100308543B1 (en) | Data transmission / reception device based on character recognition | |
US20020103872A1 (en) | Communication apparatus and control method of the same | |
JP2000196787A (en) | Communication system and facsimile equipment | |
JPS60105367A (en) | Facsimile communication system | |
JP4123473B2 (en) | Mobile phone | |
JP2009194577A (en) | Image processing apparatus, voice assistance method and voice assistance program | |
JP2002140273A (en) | Image communication device, communication system, electronic mail transmission controlling method, character input mode controlling method, and storage medium | |
CN103369175B (en) | Image processing apparatus and image processing system | |
JP4479263B2 (en) | Output device and output processing system | |
JP2009164719A (en) | Communication apparatus | |
JP4227549B2 (en) | Image communication method, communication apparatus, and control program for communication apparatus | |
JP4363218B2 (en) | mobile phone | |
JP2005050300A (en) | Output device | |
JP2005051737A (en) | Output device | |
US20070177205A1 (en) | Printer, printing method and printing program | |
JP4622757B2 (en) | Printing system, printing method and printing apparatus | |
JP2007069539A (en) | Printing system, printing method, and printer | |
JP2005191771A (en) | Image input device and image processing apparatus | |
JP2005047255A (en) | Output unit and output processing system | |
JP2005102118A (en) | Portable telephone and printing apparatus | |
JP2005047256A (en) | Output unit, radio communication unit, and output processing unit | |
JP2007083691A (en) | Printing system, printing method, and printer | |
JP2005047252A (en) | Output unit, radio communication unit, and output processing unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070209 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091201 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100129 |
|
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: 20100223 |
|
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: 20100308 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130326 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4479263 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140326 Year of fee payment: 4 |
|
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 |