[go: up one dir, main page]

JP2008186240A - Information notification device and information acquisition device - Google Patents

Information notification device and information acquisition device Download PDF

Info

Publication number
JP2008186240A
JP2008186240A JP2007019213A JP2007019213A JP2008186240A JP 2008186240 A JP2008186240 A JP 2008186240A JP 2007019213 A JP2007019213 A JP 2007019213A JP 2007019213 A JP2007019213 A JP 2007019213A JP 2008186240 A JP2008186240 A JP 2008186240A
Authority
JP
Japan
Prior art keywords
information
status
unit
electronic file
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007019213A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yamamoto
浩之 山本
Kazunori Nagao
積憲 長尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007019213A priority Critical patent/JP2008186240A/en
Publication of JP2008186240A publication Critical patent/JP2008186240A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

【課題】どのような通信媒体でも情報を伝達可能にする。
【解決手段】ステップP01にて要求受理部PP3が赤外線通信部PP1を介して上記コマンドを受け付けると、ステップP02にてステータス取得部PP4がシステムバスを介して各部31・・にステータス情報を問い合わせる。収集したステータス情報を記述したステータスファイルSFを電子データ生成部PP5が生成し、RAM31cに記憶する。ステップP03においてはステータス送信部PP6がステータスファイルSFを携帯電話50に送信し、送信後はステータスファイルSFをRAM31cから削除する。
【選択図】図5
Information can be transmitted on any communication medium.
When a request accepting unit PP3 accepts the above command via an infrared communication unit PP1 at step P01, a status acquisition unit PP4 inquires status information to each unit 31 via a system bus at step P02. The electronic data generation unit PP5 generates a status file SF describing the collected status information and stores it in the RAM 31c. In step P03, the status transmission unit PP6 transmits the status file SF to the mobile phone 50, and after the transmission, the status file SF is deleted from the RAM 31c.
[Selection] Figure 5

Description

本発明は、情報通知装置および情報取得装置に関し、特に所定の通信手段を介して情報を入出力する情報通知装置および情報取得装置に関する。   The present invention relates to an information notification device and an information acquisition device, and more particularly to an information notification device and an information acquisition device that input and output information via a predetermined communication means.

近年の携帯電話には、赤外線通信やBluetooth(Bluetooth SIG社の登録商標)通信を行う通信インターフェイスが備えられており、このような通信インターフェイスを利用して携帯電話からプリンタに印刷データを出力することが行われている。また、印刷データを携帯電話から受信するにあたり、予めプリンタの種類や能力を示すステータスを携帯電話に送信するプリンタが提案されている(特許文献1、段落0031〜0033、参照。)。
かかる構成によれば、携帯電話が印刷データの送信に先立ってプリンタの種類や能力を解析することができるため、印刷データをプリンタの種類や能力に適したものに加工してから送信することができる。従って、プリンタにおいて印刷ができないような印刷データを無駄に送信する不具合を防止することができた。
特開2001−166896号公報
Recent mobile phones are equipped with a communication interface for performing infrared communication and Bluetooth (registered trademark of Bluetooth SIG), and output print data from the mobile phone to a printer using such a communication interface. Has been done. Also, a printer that transmits a status indicating the type and capability of the printer to the mobile phone in advance when receiving print data from the mobile phone has been proposed (see Patent Document 1, paragraphs 0031 to 0033).
According to this configuration, since the mobile phone can analyze the type and capability of the printer prior to transmission of the print data, the print data can be transmitted after being processed into a data suitable for the type and capability of the printer. it can. Therefore, it is possible to prevent a problem that print data that cannot be printed by the printer is wasted.
JP 2001-166896 A

しかしながら、通信インターフェイスによってはプリンタのステータス情報を要求したり、送信したりする仕組みが用意されていない場合があり、そのような場合にはステータス情報の伝達をすることができないという問題があった。具体的には、例えば赤外線通信上やBluetooth上でプリンタのステータス情報を要求することが可能な関数(コマンド)が、携帯電話で動作する汎用OS(Operating System)のAPIに用意されていないことが一般的であるため、赤外線通信やBluetoothを介してプリンタにステータス情報を要求する仕組みを用意するのが困難であるという問題があった。
上記課題を解決するために、本発明は、簡易な仕組みによって情報を送信することが可能な情報通知装置およびステータス送信プログラムを提供することを目的とする。
However, depending on the communication interface, there is a case where a mechanism for requesting or transmitting the printer status information is not prepared. In such a case, there is a problem that the status information cannot be transmitted. Specifically, for example, a function (command) that can request printer status information via infrared communication or Bluetooth is not provided in a general-purpose OS (Operating System) API that operates on a mobile phone. Since it is general, there is a problem that it is difficult to prepare a mechanism for requesting status information from the printer via infrared communication or Bluetooth.
In order to solve the above problems, an object of the present invention is to provide an information notification device and a status transmission program capable of transmitting information with a simple mechanism.

上記目的を達成するために、電子ファイル生成手段が所定の通信手段にて通信可能な電子ファイルを生成し、当該電子ファイルに上記通信手段にて通信不可能な情報を格納する。そして、情報送信手段が上記電子ファイルを上記通信手段を介して情報取得装置に送信する。上記電子ファイルは上記通信手段によって通信可能(例えば、上記通信手段において上記電子ファイルを通信するためのプロトコルが用意されている。)であるため、上記電子ファイルに格納した上記情報を上記情報取得装置に伝達することができる。   In order to achieve the above object, the electronic file generation means generates an electronic file that can be communicated by a predetermined communication means, and stores information that cannot be communicated by the communication means in the electronic file. Then, the information transmission unit transmits the electronic file to the information acquisition device via the communication unit. Since the electronic file is communicable by the communication means (for example, a protocol for communicating the electronic file is prepared in the communication means), the information stored in the electronic file is used as the information acquisition device. Can be communicated to.

上記情報取得装置および上記情報通知装置のOS等において電子データを電子ファイルの単位で扱うことが通常であるため、上記通信手段を介して上記電子ファイルを転送する仕組みが確実に用意されていると考えることができる。従って、上記通信手段や上記情報取得装置や上記情報通知装置の種類に依存することなく、上記情報を伝達することができる。上記電子ファイルは、少なくとも上記情報取得装置および上記情報通知装置にて認識可能なものであればよく、ファイルフォーマットは特に限定されない。例えば、プレーンテキストファイル(TXT)やハイパーテキスト(HTML,XHTML)ファイル等のXMLファイルやCSVファイル等を生成することができるし、これら以外のファイルフォーマットに上記情報を格納することもできる。   Since the OS of the information acquisition device and the information notification device normally handles electronic data in units of electronic files, a mechanism for transferring the electronic file via the communication means is surely prepared. Can think. Therefore, the information can be transmitted without depending on the types of the communication means, the information acquisition device, and the information notification device. The electronic file only needs to be recognizable by at least the information acquisition device and the information notification device, and the file format is not particularly limited. For example, an XML file such as a plain text file (TXT) or a hypertext (HTML, XHTML) file, a CSV file, or the like can be generated, and the above information can be stored in other file formats.

上記電子ファイルは、上記情報通知装置において必要なときのみ生成すれば足りるため、上記通信手段を介して上記情報取得装置から情報要求を受信したときに上記電子ファイルを生成するようにすればよい。この情報要求は、上記電子ファイルの送信を要求することを意味するため、上記情報取得装置側での上記電子ファイルを取得する関数(コマンド)によって実現することができる。上記電子ファイルを取得する関数(コマンド)に上記電子ファイルやその所在を指定するパラメータを添付することにより、上記情報が格納された上記電子ファイルを取得することができる。   Since the electronic file need only be generated when necessary in the information notification device, the electronic file may be generated when an information request is received from the information acquisition device via the communication means. Since this information request means requesting transmission of the electronic file, it can be realized by a function (command) for acquiring the electronic file on the information acquisition apparatus side. The electronic file in which the information is stored can be acquired by attaching the electronic file and a parameter specifying the location thereof to a function (command) for acquiring the electronic file.

さらに、上記電子ファイルを生成する場合、当該電子ファイルをRAMに生成するのが望ましい。上記情報は、上記情報取得装置から情報要求があったときにのみ上記電子ファイルに格納させておけばよく、上記情報を記憶した状態を常に維持する必要性がない。従って、上記電子ファイルをRAMのような揮発性メモリに生成することができる。さらに、上記電子ファイルをRAMに記録しておき、当該電子ファイルを送信した後に、当該電子ファイルを上記RAMから削除するようにすれば、最新の上記情報を格納した上記電子ファイルのみが上記RAM上に存在可能となり、上記情報取得装置に古い上記情報が伝達されることが防止できる。また、上記RAMは各種プログラムのワークエリアとして共用されることが考えられるため、上記電子ファイルが他のプログラムのワークエリアを圧迫しないようにすることができる。   Further, when generating the electronic file, it is desirable to generate the electronic file in the RAM. The information only needs to be stored in the electronic file only when there is an information request from the information acquisition device, and there is no need to always maintain the state in which the information is stored. Therefore, the electronic file can be generated in a volatile memory such as a RAM. Furthermore, if the electronic file is recorded in the RAM and the electronic file is transmitted and then deleted from the RAM, only the electronic file storing the latest information is stored in the RAM. Therefore, it is possible to prevent old information from being transmitted to the information acquisition device. In addition, since the RAM can be shared as a work area for various programs, the electronic file can be prevented from pressing the work areas of other programs.

なお、上記通信手段は上記電子ファイルが転送可能な通信手段であればよく、各種通信媒体に本発明を適用することができる。例えば、無線信号を通信媒体とすることにより、上記情報取得装置と上記印刷媒体を遠隔にて接続し、上記情報を確実に伝達することができる。さらに、赤外線信号を通信媒体とした遠隔印刷に本発明を適用することも可能である。赤外線信号においては上記電子ファイルに上記情報を格納しておけば、当該情報を上記情報取得装置に伝達することができる。なお、本発明の技術的思想は、上記情報を送信する機能を実行する情報通知装置のみならず、情報通知装置等のハードウェアと協働して上記機能を実現させるプログラムにおいても具体的に実現可能なことは言うまでもない。   The communication unit may be any communication unit that can transfer the electronic file, and the present invention can be applied to various communication media. For example, by using a wireless signal as a communication medium, the information acquisition apparatus and the print medium can be remotely connected to reliably transmit the information. Furthermore, the present invention can also be applied to remote printing using an infrared signal as a communication medium. In the infrared signal, if the information is stored in the electronic file, the information can be transmitted to the information acquisition device. The technical idea of the present invention is specifically realized not only in the information notification device that executes the function of transmitting the information, but also in a program that realizes the function in cooperation with hardware such as the information notification device. It goes without saying that it is possible.

以下、下記の順序に従って本発明の実施形態を説明する。
(1)印刷課金システムの構成:
(2)印刷課金処理:
(3)変形例:
Hereinafter, embodiments of the present invention will be described in the following order.
(1) Configuration of print billing system:
(2) Print accounting process:
(3) Modification:

(1)印刷課金システムの構成
図1は本発明の一実施形態にかかる情報通知装置としてのプリンタを有する印刷課金システムの構成を示す模式図を示している。同図において、印刷課金システム100は多数のコンテンツ(画像や文書等)が蓄積されたコンテンツサーバ(以下サーバと略す。)10とプリンタ30(情報通知装置)と携帯電話50(情報取得装置)、およびこれらを接続するインターネットInとゲートウェイGとアンテナAtとから構成される。携帯電話50はアンテナAtと所定の無線周波数帯で無線通信する。アンテナAtはゲートウェイGを介してインターネットInと接続され、同じくインターネットInに接続されたサーバ10と通信可能となっており、携帯電話50とサーバ10が通信可能となっている。携帯電話50とプリンタ30はともに赤外線通信が可能な赤外線インターフェース(I/F)を有し、相互に通信可能となっている。アンテナAtと携帯電話50は例えばCDMA等の無線電話通信規格に準拠した無線信号を介して相互に通信可能となっている。
(1) Configuration of Print Billing System FIG. 1 is a schematic diagram showing a configuration of a print billing system having a printer as an information notification device according to an embodiment of the present invention. In FIG. 1, a print billing system 100 includes a content server (hereinafter abbreviated as a server) 10 in which a large number of contents (images, documents, etc.) are stored, a printer 30 (information notification device), a mobile phone 50 (information acquisition device), And an Internet In, a gateway G, and an antenna At for connecting them. The mobile phone 50 communicates wirelessly with the antenna At in a predetermined radio frequency band. The antenna At is connected to the Internet In via the gateway G, and can communicate with the server 10 that is also connected to the Internet In. The mobile phone 50 and the server 10 can communicate with each other. Both the mobile phone 50 and the printer 30 have an infrared interface (I / F) capable of infrared communication, and can communicate with each other. The antenna At and the mobile phone 50 can communicate with each other via a radio signal conforming to a radio telephone communication standard such as CDMA.

図2はコンテンツサーバの概略構成を示すブロック図である。同図に示すように、サーバ10は制御部11とHDD(Hard Disk Drive)12とから構成されており、WANI/F13が接続されている。WANI/F13はインターネットInに接続されており、サーバ10はWANI/F13を介してインターネットInに接続された外部の機器と通信する。HDD12には印刷課金プログラムSP等のプログラムデータ12bとOS(Operating System)12aと各種のコンテンツ12cが記憶されている。制御部11は、CPU11aとROM11bとRAM11cから構成され、CPU11aがRAM11bをワークエリアとしつつOS上で印刷課金プログラムSPを実行する。   FIG. 2 is a block diagram showing a schematic configuration of the content server. As shown in the figure, the server 10 includes a control unit 11 and an HDD (Hard Disk Drive) 12, and a WAN I / F 13 is connected thereto. The WAN I / F 13 is connected to the Internet In, and the server 10 communicates with an external device connected to the Internet In via the WAN I / F 13. The HDD 12 stores program data 12b such as a print charging program SP, an OS (Operating System) 12a, and various contents 12c. The control unit 11 includes a CPU 11a, a ROM 11b, and a RAM 11c. The CPU 11a executes the print accounting program SP on the OS while using the RAM 11b as a work area.

印刷課金プログラムSPは、印刷データ配信部SP1と課金部SP2とから構成されており、印刷データ配信部SP1は配信要求されたコンテンツ12cに基づいて印刷データPDを作成送信する。印刷データPDは、コンテンツ12cの自体のデータに、レイアウト情報や印刷条件や著作権管理情報等が添付された電子ファイルである。コンテンツ12cは最終的にプリンタが画素データにレンダリング可能なデータであればよく、ベクターデータとイメージデータのいずれであってもよい。課金部SP2は、配信した印刷データPDの印刷が完了したことを確認すると、当該印刷データPDに見合った対価を取得して、当該対価を清算する処理を実行する。   The print billing program SP is composed of a print data distribution unit SP1 and a billing unit SP2. The print data distribution unit SP1 creates and transmits print data PD based on the content 12c requested to be distributed. The print data PD is an electronic file in which layout information, printing conditions, copyright management information, and the like are attached to the data of the content 12c itself. The content 12c only needs to be data that can finally be rendered into pixel data by the printer, and may be either vector data or image data. When the charging unit SP2 confirms that printing of the distributed print data PD has been completed, the accounting unit SP2 acquires a price commensurate with the print data PD, and executes a process for clearing the price.

図3は、プリンタ30の概略構成を示している。同図に示すようにプリンタ30は、制御部31と操作部32と赤外線I/F33と不揮発性メモリ34とコントロール回路35aとインクカートリッジ35bと印刷ヘッドユニット35cとASIC36aとヘッド駆動部36bとI/F37aとキャリッジ機構37bと紙送り機構37cとを備えている。制御部31はCPU31aとROM31bとRAM31cとを備えており、ROM31bに記録された図示しないOSおよび制御プログラム(ステータス送信プログラム)PPにしたがってCPU31aがRAM31cをワークエリアとしてプリンタ30全体を制御する。さらに、不揮発性メモリ34にはプリンタ30の機種および個体を一意に特定できるプリンタIDや、一枚の印刷用紙に対する印刷が完了するごとに1がインクリメントされる累積給紙枚数が記憶されている。プリンタ30を構成する各部31,32,33,34,35a,36a,37aはシステムバスを介して相互に通信可能に接続されている。   FIG. 3 shows a schematic configuration of the printer 30. As shown in the figure, the printer 30 includes a control unit 31, an operation unit 32, an infrared I / F 33, a nonvolatile memory 34, a control circuit 35a, an ink cartridge 35b, a print head unit 35c, an ASIC 36a, a head drive unit 36b, and an I / O. F37a, a carriage mechanism 37b, and a paper feed mechanism 37c are provided. The control unit 31 includes a CPU 31a, a ROM 31b, and a RAM 31c, and the CPU 31a controls the entire printer 30 using the RAM 31c as a work area according to an OS and a control program (status transmission program) PP (not shown) recorded in the ROM 31b. Further, the non-volatile memory 34 stores a printer ID that can uniquely identify the model and individual of the printer 30, and a cumulative number of sheets that are incremented by 1 each time printing on one printing sheet is completed. The units 31, 32, 33, 34, 35a, 36a, and 37a constituting the printer 30 are connected via a system bus so that they can communicate with each other.

キャリッジ機構37bにて主走査方向に往復動するキャリッジには、各インクカートリッジ35bを装着したカートリッジホルダが設けられるとともに、印刷ヘッドを備える印刷ヘッドユニット35cが搭載されている。ヘッド駆動部36bは、ASIC36aから印刷データに対応する印加電圧データを入力されてピエゾ素子への印加電圧パターンを生成し、該素子を内蔵する印刷ヘッドに4色のインク滴をドット単位で吐出させる。インターフェイス(I/F)37aに接続されたキャリッジ機構37bや紙送り機構37cは、印刷ヘッドユニット35cを主走査させたり、適宜改ページ動作を行いながらシート状の印刷用紙を順次送り出して副走査を行ったりする。   A carriage that reciprocates in the main scanning direction by the carriage mechanism 37b is provided with a cartridge holder on which each ink cartridge 35b is mounted, and a print head unit 35c that includes a print head. The head drive unit 36b receives the applied voltage data corresponding to the print data from the ASIC 36a, generates an applied voltage pattern to the piezo element, and causes the print head incorporating the element to eject ink droplets of four colors in dot units. . The carriage mechanism 37b and the paper feed mechanism 37c connected to the interface (I / F) 37a cause the print head unit 35c to perform main scanning, and sequentially feed sheet-like printing paper while performing page break operations as appropriate, thereby performing sub-scanning. To go.

本実施形態のプリンタ30は、CMYK(シアン、マゼンタ、イエロー、ブラック)の各インクを印刷ヘッドから吐出して印刷媒体にインクのドットを形成して印刷するインクジェットプリンタであるものとする。むろん、他の種類のインクを使用するインクジェットプリンタをプリンタ30として採用してもよいし、各種インク昇華式プリンタやトナーインクを使用するレーザープリンタ等もプリンタ30として採用してもよい。赤外線I/F33は赤外線の送信を行う発光ダイオードと受信を行うフォトダイオードとを有しており、例えばIrDA1.0〜1.4やFIRやUFIRやIr−Simple等の赤外線通信規格が使用可能とされている。これらの通信規格において、赤外線が無線通信の通信媒体として使用され、通信可能な距離が30cmから1m程度となっている。操作部32は、ユーザーからの操作入力を例えば複数の操作ボタンにて受け付ける。各種操作入力を受け付けるための画面等を表示するため、操作部32に液晶パネル等の表示部を設けてもよい。不揮発性メモリ34は制御部31の制御にしたがってデータを記録したり削除したり書換したりすることが可能なメモリであり、例えばフラッシュメモリやEEPROM等を使用することができる。   The printer 30 according to the present embodiment is an inkjet printer that discharges each ink of CMYK (cyan, magenta, yellow, and black) from a print head to form ink dots on a print medium and prints the ink. Of course, an ink jet printer using other types of ink may be employed as the printer 30, and various ink sublimation printers, laser printers using toner ink, and the like may be employed as the printer 30. The infrared I / F 33 includes a light emitting diode that transmits infrared light and a photodiode that performs reception. For example, infrared communication standards such as IrDA 1.0 to 1.4, FIR, UFIR, and Ir-Simple can be used. Has been. In these communication standards, infrared rays are used as a communication medium for wireless communication, and the communicable distance is about 30 cm to 1 m. The operation unit 32 receives an operation input from the user using, for example, a plurality of operation buttons. In order to display a screen or the like for accepting various operation inputs, the operation unit 32 may be provided with a display unit such as a liquid crystal panel. The non-volatile memory 34 is a memory capable of recording, deleting, and rewriting data according to the control of the control unit 31. For example, a flash memory or an EEPROM can be used.

制御部31が実行する制御プログラムPPは、内部モジュールとして赤外線通信部PP1と印刷実行部PP2と要求受理部PP3とステータス取得部PP4と電子データ生成部PP5とステータス送信部PP6を備えている。赤外線通信部PP1は、赤外線I/F33にて受信した赤外線信号から各種の電子ファイルを復調し、各モジュールPP2〜PP4に出力する。反対に、各モジュールPP2〜PP4から入力された電子ファイルを赤外線信号に変調し赤外線I/F33に出力する。上述した赤外線通信においては、上位層のプロトコルとしてオブジェクト転送プロトコル(例えばOBEX(object exchange protocol)等)やファイル転送プロトコル(例えばFTP等)を使用することができ、当該オブジェクト転送プロトコルにおいては交換可能なオブジェクトとして電子ファイルを送受信することができる。   The control program PP executed by the control unit 31 includes an infrared communication unit PP1, a print execution unit PP2, a request reception unit PP3, a status acquisition unit PP4, an electronic data generation unit PP5, and a status transmission unit PP6 as internal modules. The infrared communication unit PP1 demodulates various electronic files from the infrared signal received by the infrared I / F 33, and outputs them to the modules PP2 to PP4. Conversely, the electronic file input from each of the modules PP2 to PP4 is modulated into an infrared signal and output to the infrared I / F 33. In the infrared communication described above, an object transfer protocol (for example, OBEX (object exchange protocol) or the like) or a file transfer protocol (for example, FTP or the like) can be used as an upper layer protocol, and exchange is possible in the object transfer protocol. Electronic files can be sent and received as objects.

印刷実行部PP2は、赤外線通信部PP1から電子ファイルとして印刷データPDを取得するとともに、当該印刷データPDに基づいて印刷を実行するための処理を実行させる。具体的には、印刷データPDに添付された印刷条件に基づいて各部31,32,33,34,35a,36a,37aを制御するとともに、印刷データの本体に基づいてレイアウト処理/レンダリング処理/色変換処理/ハーフトーン処理/マイクロウィーブ処理を順次実行して各部31,32,33,34,35a,36a,37aに印刷画像に応じた駆動信号を出力する処理を行う。印刷実行部PP2は、適宜、各部31,32,33,34,35a,36a,37aからステータス情報を取得しており、当該ステータス情報に応じて各部31,32,33,34,35a,36a,37aの制御を実行する。   The print execution unit PP2 acquires the print data PD as an electronic file from the infrared communication unit PP1, and executes a process for executing printing based on the print data PD. Specifically, the units 31, 32, 33, 34, 35a, 36a, and 37a are controlled based on the printing conditions attached to the print data PD, and the layout process / rendering process / color based on the main body of the print data. Conversion processing / halftone processing / microweave processing is sequentially executed to output a drive signal corresponding to the print image to each of the units 31, 32, 33, 34, 35a, 36a, and 37a. The print execution unit PP2 appropriately obtains status information from the units 31, 32, 33, 34, 35a, 36a, and 37a, and the units 31, 32, 33, 34, 35a, 36a, The control of 37a is executed.

要求受理部PP3は、赤外線通信部PP1からステータス要求を受け付けるとともに、当該ステータス要求をステータス取得部PP4に送出する。ステータス取得部PP4は、上記システムバスを介して各部31,32,33,34,35a,36a,37aにステータス情報を問い合わせ、ステータス情報を収集する。電子データ生成部PP5は、ステータス取得部PP4が収集したステータス情報を取得するとともに、当該ステータス情報を赤外線通信部PP1が送信可能な電子ファイルに変換する。   The request acceptance unit PP3 receives a status request from the infrared communication unit PP1, and sends the status request to the status acquisition unit PP4. The status acquisition unit PP4 inquires status information from each of the units 31, 32, 33, 34, 35a, 36a, and 37a via the system bus and collects status information. The electronic data generation unit PP5 acquires the status information collected by the status acquisition unit PP4 and converts the status information into an electronic file that can be transmitted by the infrared communication unit PP1.

この電子ファイルはステータスファイルSFとしてRAM31cに記憶され、例えば各ステータス情報がTXT形式やHTML形式やXML形式等のファイルにテキストとして記述される。ステータス送信部PP6は、ステータスファイルSFをRAM31cから取得するとともに、当該ステータスファイルSFを赤外線通信部PP1に送出する。これにより、ステータスファイルSFが赤外線を介して外部に送信されることとなる。ステータスファイルSFが送信されると、ステータス送信部PP6はRAM31cからステータスファイルSFを削除する。   This electronic file is stored in the RAM 31c as a status file SF. For example, each status information is described as text in a file in the TXT format, HTML format, XML format or the like. The status transmission unit PP6 acquires the status file SF from the RAM 31c and sends the status file SF to the infrared communication unit PP1. As a result, the status file SF is transmitted to the outside via infrared rays. When the status file SF is transmitted, the status transmission unit PP6 deletes the status file SF from the RAM 31c.

図4は、携帯電話50の概略構成を示している。同図において、携帯電話50は不揮発性のメモリ51と制御部52とアンテナが接続された無線I/F53と赤外線I/F54と通話の状態や印刷指示時の各種操作入力を受け付けるための画面等を表示する液晶ディスプレイ55とユーザーからの操作入力を操作キーにて受け付ける操作部56と音声を出力するスピーカ57と音声を入力するマイクロフォン58とから構成されている。無線I/F53は、アンテナから入力される無線信号を音声信号やデータ信号を復調するとともに、マイクロフォン58や制御部52から入力される音声信号やデータ信号を上記無線信号に変調する。赤外線I/F54は赤外線の送信を行う発光ダイオードと受信を行うフォトダイオードを有し、プリンタ30と共通するオブジェクト転送プロトコルおよび赤外線通信規格が使用可能とされている。   FIG. 4 shows a schematic configuration of the mobile phone 50. In the figure, a cellular phone 50 includes a non-volatile memory 51, a control unit 52, a wireless I / F 53 and an infrared I / F 54 connected to an antenna, a screen for receiving various operation inputs at the time of a call and a print instruction, etc. Is constituted by a liquid crystal display 55 for displaying the sound, an operation unit 56 for accepting an operation input from the user by an operation key, a speaker 57 for outputting sound, and a microphone 58 for inputting sound. The wireless I / F 53 demodulates an audio signal and a data signal from a radio signal input from the antenna, and modulates an audio signal and a data signal input from the microphone 58 and the control unit 52 into the radio signal. The infrared I / F 54 includes a light emitting diode that transmits infrared light and a photodiode that receives light, and an object transfer protocol and an infrared communication standard common to the printer 30 can be used.

制御部52は、システムバス52aに接続されたCPU52bやRAM52cを有しており、CPU52bは、ROM52cから読み出した印刷中継プログラムCPをRAM52cをワークエリアとして使用しながら図示しないOS上で実行する。制御部52には、不揮発性のメモリ51が接続されており、当該メモリ51には携帯電話50が一意に特定できる携帯電話ID51aが記憶されている。CPU52bは、ROM52cから読み出した印刷中継プログラムCPをRAM52cをワークエリアとして使用しながら図示しないOS上で実行する。なお、印刷中継プログラムCPはOS上のネイティブアプリケーションに限られず、例えばJava(Sun Microsystems社の登録商標)等のバーチャルマシン上にて実行されるものであってもよい。印刷中継プログラムCPは、コンテンツ指定部CP1と印刷データ受信部CP2と赤外線通信部CP3とステータス要求部CP4とステータス解析部CP5と印刷データ送信部CP6と課金要求部CP7とから構成されている。   The control unit 52 includes a CPU 52b and a RAM 52c connected to the system bus 52a. The CPU 52b executes the print relay program CP read from the ROM 52c on an OS (not shown) while using the RAM 52c as a work area. A non-volatile memory 51 is connected to the controller 52, and a mobile phone ID 51 a that can uniquely identify the mobile phone 50 is stored in the memory 51. The CPU 52b executes the print relay program CP read from the ROM 52c on an OS (not shown) while using the RAM 52c as a work area. The print relay program CP is not limited to a native application on the OS, and may be executed on a virtual machine such as Java (registered trademark of Sun Microsystems). The print relay program CP includes a content specifying unit CP1, a print data receiving unit CP2, an infrared communication unit CP3, a status requesting unit CP4, a status analyzing unit CP5, a print data transmitting unit CP6, and a charging request unit CP7.

コンテンツ指定部CP1はブラウザ等を利用して無線I/F53およびインターネットInを介してサーバ10にアクセスするとともに、サーバ10に対して印刷を希望するコンテンツ12cを指定する処理を行う。印刷データ受信部CP2は無線I/F53およびインターネットInを介して指定されたコンテンツ12cを印刷するための印刷データPDをサーバ10から受信し、メモリ51またはRAM52cに記憶する。赤外線通信部CP3は、赤外線I/F54にて受信した赤外線信号から各種の電子ファイルを復調し、各モジュールCP1〜CP7に出力する。反対に、各モジュールCP1〜CP7から入力された電子ファイルを赤外線信号に変調し赤外線I/F54に出力する。ステータス要求部CP4は、プリンタ30に対してステータス情報を要求するコマンドを生成し、ステータス要求として赤外線通信部CP3に出力する。   The content designation unit CP1 uses a browser or the like to access the server 10 via the wireless I / F 53 and the Internet In, and performs processing for designating the content 12c desired to be printed to the server 10. The print data receiving unit CP2 receives print data PD for printing the content 12c designated via the wireless I / F 53 and the Internet In from the server 10, and stores it in the memory 51 or the RAM 52c. The infrared communication unit CP3 demodulates various electronic files from the infrared signal received by the infrared I / F 54, and outputs them to the modules CP1 to CP7. On the contrary, the electronic files input from the modules CP1 to CP7 are modulated into infrared signals and output to the infrared I / F 54. The status request unit CP4 generates a command for requesting status information from the printer 30, and outputs the command as a status request to the infrared communication unit CP3.

ステータス解析部CP5は、赤外線通信部CP3が復調したステータスファイルSFを取得するとともに、当該ステータスファイルSFに記述されたステータス情報を解析する。上記ステータス情報に問題がないことが確認できると、印刷データ送信部CP6はサーバ10から受信した印刷データPDを赤外線通信部CP3に出力する。これにより、印刷データPDが赤外線によってプリンタ30に受信される。印刷データPDの送信が完了すると、印刷データ送信部CP6はメモリ51またはRAM52cから印刷データPDを削除する。課金要求部CP7は、プリンタ30からファイルとして送信された印刷完了通知を受信すると、無線I/F53およびインターネットInを介してサーバ10に対して課金要求を送信する。   The status analysis unit CP5 acquires the status file SF demodulated by the infrared communication unit CP3 and analyzes the status information described in the status file SF. If it is confirmed that there is no problem in the status information, the print data transmission unit CP6 outputs the print data PD received from the server 10 to the infrared communication unit CP3. As a result, the print data PD is received by the printer 30 by infrared rays. When the transmission of the print data PD is completed, the print data transmission unit CP6 deletes the print data PD from the memory 51 or the RAM 52c. When receiving the print completion notification transmitted as a file from the printer 30, the charging request unit CP7 transmits a charging request to the server 10 via the wireless I / F 53 and the Internet In.

(2)印刷課金処理
図5は、印刷課金処理の全体の流れを示している。同図において、印刷課金処理はサーバ10と携帯電話50(情報取得装置)とプリンタ30(情報通知装置)との間で行われ、その際にサーバ10と携帯電話50とプリンタ30が備える制御部11,31,52においては印刷課金プログラムSPと印刷中継プログラムCPと制御プログラムPPがそれぞれ実行されている。ステップS01においてはサーバ10が実行する印刷データ配信部SP1が各コンテンツ12cのサムネイルを生成し、その一覧を無線通信を介して携帯電話20に送信する。一方、携帯電話20においてはコンテンツ指定部CP1が実行されており、コンテンツ指定部CP1が上記サムネイルの一覧を操作部56の操作に応じてブラウジングさせる。コンテンツ指定部CP1は、ステップC02にてユーザーが購入するコンテンツ12cの指定を受け付けており、当該指定が無線通信にてサーバ10に伝達される。
(2) Print Billing Process FIG. 5 shows the overall flow of the print billing process. In the figure, the print billing process is performed between the server 10, the mobile phone 50 (information acquisition device), and the printer 30 (information notification device). At that time, the control unit included in the server 10, the mobile phone 50, and the printer 30. In 11, 31, 52, a print charging program SP, a print relay program CP, and a control program PP are executed. In step S01, the print data distribution unit SP1 executed by the server 10 generates a thumbnail of each content 12c, and transmits the list to the mobile phone 20 via wireless communication. On the other hand, in the mobile phone 20, the content specifying unit CP 1 is executed, and the content specifying unit CP 1 browses the list of thumbnails according to the operation of the operation unit 56. The content designation unit CP1 accepts designation of the content 12c purchased by the user in step C02, and the designation is transmitted to the server 10 by wireless communication.

サーバ10の印刷データ配信部SP1は、ステップS02にて購入するコンテンツ12cの指定を受理し、当該コンテンツ12cを印刷するための印刷データPDをHDD12上に作成する。ここで、印刷データPDは、コンテンツ12c自体を描画するためのコンテンツデータに、フレームや背景や余白などのレイアウトを指定するレイアウト情報や、印刷用紙サイズや用紙種別や印刷解像度や使用インク種等の印刷条件や、印刷可能なプリンタ30を制限するためのセキュリティ情報等がヘッダやフッタとして添付された電子ファイルである。複数枚数印刷するように指定された場合には、枚数分のコンテンツデータとレイアウト情報を送信することとなる。また、印刷データPDが外部に流出しても不特定の者にコンテンツデータが展開されないように、印刷データPDを専用のファイルフォーマットとし、さらにスクランブルを掛けて生成することが望ましい。   The print data distribution unit SP1 of the server 10 accepts the designation of the content 12c to be purchased in step S02 and creates print data PD for printing the content 12c on the HDD 12. Here, the print data PD includes, for example, layout information for designating a layout such as a frame, a background, and a margin, a print paper size, a paper type, a print resolution, and an ink type used in the content data for rendering the content 12c itself. This is an electronic file to which printing conditions, security information for limiting the printer 30 that can be printed, and the like are attached as a header or footer. When it is designated to print a plurality of sheets, content data and layout information for the number of sheets are transmitted. Further, it is desirable that the print data PD is generated in a dedicated file format and scrambled so that the content data is not expanded to an unspecified person even if the print data PD leaks outside.

ステップS04においては印刷データ配信部SP1が無線通信によってサーバ10から携帯電話50に対して印刷データPDを送信する。一方、携帯電話50においては印刷データ受信部CP2がステップC03にて印刷データPDを受信し、メモリ51に記憶する。印刷データPDの受信が完了すると、ステップC04においてステータス情報を取得する必要があるとして(判断手段)、ステータス要求部CP4がステータス要求(情報要求)を行う。具体的には、プリンタ30のRAM31cに記憶されたステータスファイルSFを赤外線通信を介して取得する(get)コマンドを生成する(要求手段)。   In step S04, the print data distribution unit SP1 transmits the print data PD from the server 10 to the mobile phone 50 by wireless communication. On the other hand, in the mobile phone 50, the print data receiving unit CP2 receives the print data PD in step C03 and stores it in the memory 51. When the reception of the print data PD is completed, the status request unit CP4 makes a status request (information request), assuming that status information needs to be acquired in step C04 (determination means). Specifically, a command for obtaining (get) the status file SF stored in the RAM 31c of the printer 30 via infrared communication is generated (requesting means).

プリンタ30におけるRAM31cのパスはプリンタ30が実行するOSによって割り当てられており、当該パスと、ステータスファイルSFのファイル名をコマンドに付記することにより、ステータスファイルSFを取得するコマンドを生成することができる。ステータス要求のコマンドは赤外線通信部CP3にて赤外線信号に変調され、プリンタ30に送信される。なお、ファイル名とパスを指定して電子ファイルを赤外線を介して取得する(get)コマンドは、OBEXの規格にて使用可能なコマンドである。   The path of the RAM 31c in the printer 30 is assigned by the OS executed by the printer 30, and a command for acquiring the status file SF can be generated by appending the path and the file name of the status file SF to the command. . The status request command is modulated into an infrared signal by the infrared communication unit CP3 and transmitted to the printer 30. Note that a command for obtaining an electronic file via infrared by specifying a file name and a path is a command that can be used in the OBEX standard.

ステップP01おいては、プリンタ30にて実行中の要求受理部PP3が赤外線通信部PP1を介して上記コマンドを受け付ける。すると、ステップP02にてステータス取得部PP4が電子ファイルの取得要求をステータス情報の情報要求とみなして、スタータス情報を格納した電子ファイルを生成する処理を開始させる。具体的には、ステータス取得部PP4がシステムバスを介して各部31,32,33,34,35a,36a,37aにステータス情報を問い合わせる。プリンタ30の機種に応じて問い合わせ可能なステータスは異なるが、例えばROM31bや不揮発性メモリ34からは機種名やシリアルナンバー(プリンタID)や累積給紙枚数を取得することができ、インクカートリッジ35bからはインク搭載の有無やインク残量を取得することができ、また紙送り機構37cからはセットされた印刷用紙サイズや用紙枚数や用紙種別(光沢紙or普通紙等)や紙詰まりの有無等を取得することができる。その他、プリンタ30の実行すべき残りのジョブ数やヘッド温度等を取得するようにしてもよい。   In step P01, the request receiving unit PP3 being executed in the printer 30 receives the command via the infrared communication unit PP1. Then, in step P02, the status acquisition unit PP4 regards the electronic file acquisition request as an information request for status information, and starts processing to generate an electronic file storing status information. Specifically, the status acquisition unit PP4 inquires status information to each of the units 31, 32, 33, 34, 35a, 36a, and 37a via the system bus. Although the status that can be inquired differs depending on the model of the printer 30, for example, the model name, serial number (printer ID), and cumulative number of sheets fed can be acquired from the ROM 31b and the non-volatile memory 34, and from the ink cartridge 35b. The presence / absence of ink and the remaining amount of ink can be acquired, and the size of the set printing paper, the number of paper sheets, the paper type (glossy paper or plain paper, etc.), the presence or absence of paper jam, etc. are obtained from the paper feed mechanism 37c. can do. In addition, the remaining number of jobs to be executed by the printer 30, the head temperature, and the like may be acquired.

以上のようなステータス情報がステータス取得部PP4によって収集されると、さらに収集したステータス情報を記述したステータスファイルSFを電子データ生成部PP5が生成し、RAM31cに記憶する。ここで、電子データ生成部PP5が生成するステータスファイルSFのファイル名およびRAM31c内のパスは常に一定とするように規定されている。この規定は、上述した携帯電話50のステータス要求部CP4にも登録されており、ステップC04においてステータスファイルSFを取得する(get)コマンドを生成するにあたっては、規定されたパスとファイル名を付記することが可能となっている。すなわち、ステップC04においては、ステップP02にてステータスファイルSFが作成されるであろうパスとファイル名が予め指定されていることとなる。   When the status information as described above is collected by the status acquisition unit PP4, the electronic data generation unit PP5 generates a status file SF describing the collected status information and stores it in the RAM 31c. Here, the file name of the status file SF generated by the electronic data generation unit PP5 and the path in the RAM 31c are defined to be always constant. This rule is also registered in the status request unit CP4 of the mobile phone 50 described above, and the specified path and file name are added when generating a command for obtaining the status file SF in step C04 (get). It is possible. That is, in step C04, the path and file name where the status file SF will be created in step P02 are designated in advance.

図6は、ステータスファイルSFに記述された内容の一例を示している。ステータスとして検知可能な項目は機種等によって大きく異なるため、ここではあくまで一例を挙げて説明する。同図において、ステータスファイルSFをTempStatus.txtというファイル名で作成し、例えばRAMドライブのルートパスに記憶されるように規定されている。ステータス情報として、プリンタ30の機種名やシリアルIDを記述することにより、赤外線で接続されたプリンタ30の特定が可能となり、印刷データPDを正規の送信先のプリンタ30に送信することができ、コンテンツ12cの流出を防止することができる。インク残量をステータス情報として記述することにより、印刷データPDを送信するにあたり、当該印刷データPDの印刷に十分なインク量が残存にしているか否かを判断することができる。また、複数種類のインクセットをセット可能なプリンタ30において、印刷データPDの印刷につき適正なインクセットがセットされているか否かを判定することができる。さらに、紙送りにセットされた印刷用紙サイズや用紙枚数をステータス情報として記述することにより、印刷データPDが印刷可能なサイズの印刷用紙が必要な枚数セットされているか否かを判定することができる。むろん、他のステータス情報をステータスファイルSFに記述することも可能である。   FIG. 6 shows an example of contents described in the status file SF. Since the items that can be detected as the status vary greatly depending on the model and the like, only an example will be described here. In the figure, the status file SF is set to TempStatus. It is defined to be created with a file name txt and stored in the root path of the RAM drive, for example. By describing the model name and serial ID of the printer 30 as status information, it is possible to identify the printer 30 connected by infrared rays, and it is possible to transmit the print data PD to the printer 30 as a regular transmission destination. The outflow of 12c can be prevented. By describing the remaining amount of ink as status information, it is possible to determine whether or not an ink amount sufficient for printing the print data PD remains when the print data PD is transmitted. Further, in the printer 30 capable of setting a plurality of types of ink sets, it can be determined whether or not an appropriate ink set is set for printing the print data PD. Furthermore, it is possible to determine whether or not the required number of print sheets of a size capable of printing the print data PD has been set by describing the print paper size and the number of sheets set in the paper feed as status information. . Of course, other status information can be described in the status file SF.

ステップP03においてはステータス送信部PP6がステータスファイルSFを携帯電話50に送信する。ここでも赤外線が通信媒体として使用されるが電子ファイルを赤外線を介して送信する(put)コマンドもOBEXの規格にて使用可能である。このように、プリンタのステータスを単体で送受信する仕組みがない赤外線通信等の通信媒体においても、当該通信媒体において交換プロトコルが規定されている汎用的な電子ファイルオブジェクトにステータス情報を格納することにより、ステータス情報の円滑なやりとりを実現することができる。   In step P03, status transmission unit PP6 transmits status file SF to mobile phone 50. Again, infrared is used as a communication medium, but a command for sending an electronic file via infrared (put) can also be used in the OBEX standard. Thus, even in a communication medium such as infrared communication that does not have a mechanism for transmitting and receiving the printer status alone, by storing the status information in a general-purpose electronic file object in which the exchange protocol is defined in the communication medium, Smooth exchange of status information can be realized.

ステップC05においては、携帯電話50におけるステータス解析部CP5が赤外線通信部CP3を介してステータスファイルSFを受信し、例えばTXT形式のステータスファイルSFが携帯電話50のRAM52cに記憶される。ステータスファイルSFの受信が完了すると、プリンタ30においてはステップP04にてステータスファイルSFがRAM31cから削除される。上述したとおりRAM31cは制御プログラムPPを実行する際のワークエリアとして使用されるため、より多くの空き容量を確保するためにRAM31cから削除しておくことが望ましい。さらに、古いステータス情報が記述されたステータスファイルSFがRAM31cに残存することが防止でき、常に最新のステータス情報のみを携帯電話50に送信することができる。   In step C05, the status analysis unit CP5 in the mobile phone 50 receives the status file SF via the infrared communication unit CP3, and for example, the TXT status file SF is stored in the RAM 52c of the mobile phone 50. When the reception of the status file SF is completed, the printer 30 deletes the status file SF from the RAM 31c in step P04. As described above, since the RAM 31c is used as a work area when the control program PP is executed, it is desirable to delete the RAM 31c from the RAM 31c in order to secure more free space. Further, the status file SF in which old status information is described can be prevented from remaining in the RAM 31c, and only the latest status information can always be transmitted to the mobile phone 50.

一方、RAM52cに受信したステータスファイルSFが記憶された携帯電話50においては、ステータス解析部CP5がステップC06にてステータスファイルSFを展開するとともに、ステータスファイルSFに記述された各ステータス情報を抽出して解析を行う(抽出手段)。携帯電話50においてはメモリ51に印刷データPDが記憶されており、ここではこの印刷データPDに添付された印刷条件と各ステータス情報との比較を行い、現在のステータスにて当該印刷データPDを印刷して問題があるか否かが判定される。例えば、印刷データPDに印刷条件として指定されたサイズの印刷用紙がプリンタ30にセットされていない場合には問題ありと判定される。一方、例えばエラーがある場合やインク残量が0である場合等、印刷自体が不可能である場合には、印刷データPDにて指定された印刷条件のいかんに拘わらず、問題ありと判定される。   On the other hand, in the mobile phone 50 in which the status file SF received in the RAM 52c is stored, the status analysis unit CP5 expands the status file SF in step C06 and extracts each status information described in the status file SF. Analysis is performed (extraction means). In the mobile phone 50, the print data PD is stored in the memory 51. Here, the print condition attached to the print data PD is compared with each status information, and the print data PD is printed with the current status. Whether or not there is a problem is determined. For example, it is determined that there is a problem when printing paper having a size specified as a printing condition in the print data PD is not set in the printer 30. On the other hand, when printing is impossible, for example, when there is an error or when the remaining amount of ink is 0, it is determined that there is a problem regardless of the printing conditions specified in the print data PD. The

ステップC07にて、問題があると判定されるとステップC12にてステータス解析部CP5が液晶ディスプレイ55にてエラー表示を表示させる。これにより、ユーザーはプリンタ30やその設定に問題があったこと、および、印刷がされないことを認知することができる。エラー表示を行うと、ステップC13にて印刷データPDを携帯電話50のメモリ51から削除する。この場合も、印刷データPDが携帯電話50に残存することが防止でき、印刷データPDおよびコンテンツ12cの不正な複製を防止することができる。以上の処理において、印刷が実行できなかった場合には課金がされることはない。従って、不当に課金されることが防止できる。   If it is determined in step C07 that there is a problem, the status analysis unit CP5 displays an error display on the liquid crystal display 55 in step C12. As a result, the user can recognize that there is a problem with the printer 30 and its settings and that printing is not performed. If an error is displayed, the print data PD is deleted from the memory 51 of the mobile phone 50 in step C13. Also in this case, it is possible to prevent the print data PD from remaining in the mobile phone 50 and to prevent unauthorized duplication of the print data PD and the content 12c. In the above processing, no charge is charged if printing cannot be executed. Therefore, it is possible to prevent unauthorized charges.

一方、ステップC07にて問題がないと判定されるとステップC08にて印刷データ送信部CP6がプリンタ30に印刷データPDを送信する。印刷データPDが携帯電話50から送信されると、ステップP05にてプリンタ30の印刷実行部PP2が印刷データPDを受信し、引き続きステップP06にて当該印刷データPDを展開(スクランブルが掛けられている場合には、スクランブルを解除)する。まず、印刷データPDから印刷条件を抽出し、当該印刷条件にしたがって各部31,32,33,34,35a,36a,37aを制御する。   On the other hand, if it is determined in step C07 that there is no problem, the print data transmission unit CP6 transmits the print data PD to the printer 30 in step C08. When the print data PD is transmitted from the mobile phone 50, the print execution unit PP2 of the printer 30 receives the print data PD in step P05, and subsequently expands (scrambles) the print data PD in step P06. In this case, scramble is released). First, print conditions are extracted from the print data PD, and the units 31, 32, 33, 34, 35a, 36a, and 37a are controlled according to the print conditions.

このとき、印刷データの本体に基づいてレイアウト処理/レンダリング処理/色変換処理/ハーフトーン処理/マイクロウィーブ処理を順次実行して各部31,32,33,34,35a,36a,37aに印刷画像に応じた駆動信号を出力する処理を行う。これにより、印刷データPDに基づく印刷画像を印刷データPDにて指定された印刷条件にて印刷させることができる。なお、本実施形態ではプリンタ30が印刷データPDから印刷条件を抽出するようにしたが、予め携帯電話50にて印刷データPDから印刷条件を抽出し、抽出した印刷条件単体をプリンタ30に送信するようにしてもよい。また、レイアウト処理/レンダリング処理/色変換処理/ハーフトーン処理/マイクロウィーブ処理の各段階の処理までを携帯電話50が行うようにしてもよい。   At this time, layout processing / rendering processing / color conversion processing / halftone processing / microweave processing are sequentially executed on the basis of the main body of the print data, and a print image is generated in each of the units 31, 32, 33, 34, 35a, 36a, and 37a. A process of outputting a corresponding drive signal is performed. As a result, a print image based on the print data PD can be printed under the print conditions specified by the print data PD. In this embodiment, the printer 30 extracts print conditions from the print data PD. However, the print conditions are previously extracted from the print data PD by the mobile phone 50 and the extracted print conditions alone are transmitted to the printer 30. You may do it. Further, the cellular phone 50 may perform processes up to each stage of layout processing / rendering processing / color conversion processing / halftone processing / microweave processing.

一方、印刷データPDの送信が完了した携帯電話50においては、ステップC13にて印刷データPDが携帯電話50のメモリ51から削除される。これにより、印刷データPDが携帯電話50に残存することが防止でき、印刷データPDおよびコンテンツ12cの不正な複製を防止することができる。プリンタ30にて印刷実行部PP2が印刷を完了させると、電子データ生成部PP5が印刷完了を示すステータスファイルSFを生成し、RAM31cに記憶させる。ステップP07においては、ステータス送信部PP6が印刷完了を示すステータスファイルSFを完了通知として、携帯電話50に送信する。   On the other hand, in the mobile phone 50 that has completed the transmission of the print data PD, the print data PD is deleted from the memory 51 of the mobile phone 50 in step C13. As a result, the print data PD can be prevented from remaining in the mobile phone 50, and unauthorized duplication of the print data PD and the content 12c can be prevented. When the print execution unit PP2 completes printing in the printer 30, the electronic data generation unit PP5 generates a status file SF indicating completion of printing and stores it in the RAM 31c. In step P07, the status transmission unit PP6 transmits a status file SF indicating completion of printing to the mobile phone 50 as a completion notification.

携帯電話50においては、ステータス解析部CP5がステップC10にてステータスファイルSFを受信し、印刷の完了を認識する。印刷の完了を認識すると、続くステップC11にて課金要求部CP7が課金要求をサーバ10に送信する。すなわち、本実施形態においてプリンタ30における印刷完了を課金の要件としている。サーバ10において課金部SP2がステップS05にて課金要求を受信し、ステップS06にて課金処理を実行する。例えば、携帯電話50から送信された課金要求に基づいて印刷が完了した印刷データPDに対応するコンテンツ12cを特定し、当該コンテンツ12cに相応する対価を取得する。そして、携帯電話50を所持するユーザーに対して当該対価を請求するための処理を実行する。   In the mobile phone 50, the status analysis unit CP5 receives the status file SF in step C10 and recognizes the completion of printing. When the completion of printing is recognized, the charging request unit CP7 transmits a charging request to the server 10 in the subsequent step C11. In other words, in this embodiment, the completion of printing in the printer 30 is set as a charge requirement. In server 10, billing unit SP2 receives the billing request in step S05, and executes billing processing in step S06. For example, the content 12c corresponding to the print data PD for which printing has been completed is specified based on the billing request transmitted from the mobile phone 50, and the price corresponding to the content 12c is acquired. And the process for charging the said price with respect to the user who possesses the mobile telephone 50 is performed.

(3)変形例
以上においては、サーバ10から送信された印刷データPDをプリンタ30にて印刷する実施形態を説明したが、本発明において印刷データPDが必ずしもサーバ10から送信されたものである必要はない。すなわち、情報通知装置(プリンタ30)と、当該情報通知装置に対して所定の通信媒体を介して接続した情報取得装置(携帯電話50)との間において本発明が実現可能であり、プリンタ30にて作成した印刷データPDを携帯電話50にて印刷させる場合においても本発明の手法によってステータス情報を伝達することができる。また、情報通知装置(プリンタ30)と情報取得装置(携帯電話50)とが赤外線によって通信可能とされた例を挙げたが、他の通信媒体上にて本発明の電子ファイルを伝送するようにしてもよい。例えば、Bluetooth等の無線通信上におけるOBEXにてステータスファイルSFを送信させることもできる。むろん、通信媒体は無線に限られず有線であってもよい。
(3) Modified Example In the above, the embodiment in which the print data PD transmitted from the server 10 is printed by the printer 30 has been described. However, in the present invention, the print data PD is not necessarily transmitted from the server 10. There is no. That is, the present invention can be realized between the information notification device (printer 30) and the information acquisition device (mobile phone 50) connected to the information notification device via a predetermined communication medium. Even when the print data PD created in this way is printed by the mobile phone 50, the status information can be transmitted by the method of the present invention. Also, an example has been given in which the information notification device (printer 30) and the information acquisition device (mobile phone 50) can communicate with each other by infrared rays. However, the electronic file of the present invention is transmitted on another communication medium. May be. For example, the status file SF can be transmitted by OBEX over wireless communication such as Bluetooth. Of course, the communication medium is not limited to wireless, but may be wired.

さらに、情報取得装置(携帯電話50)からのステータス要求があったときに、ステータスファイルSFを送信するものを上記実施形態では例示したが、ステータスファイルSFを他のタイミングで送信するようにしてもよい。例えば、時間周期的に、情報通知装置(プリンタ30)がステータス情報の収集とステータスファイルSFの生成を行い、ステータスファイルSFを情報取得装置(携帯電話50)に送信(プッシュ)するようにしてもよい。このようにすることにより、情報取得装置(携帯電話50)が常に最新のステータス情報を取得することができる。さらに、携帯電話50の他にもPDAやPC等を本発明の情報取得装置とし、プリンタ30の他にも家電等を本発明の情報通知装置とし、これらの間で情報をやりとりする場合に本発明を適用することができる。   Furthermore, although the above embodiment has exemplified the transmission of the status file SF when there is a status request from the information acquisition device (mobile phone 50), the status file SF may be transmitted at another timing. Good. For example, the information notification device (printer 30) collects status information and generates a status file SF periodically and transmits (pushes) the status file SF to the information acquisition device (mobile phone 50). Good. In this way, the information acquisition device (mobile phone 50) can always acquire the latest status information. Furthermore, in addition to the mobile phone 50, a PDA or PC is used as the information acquisition device of the present invention, and in addition to the printer 30, a home appliance is used as the information notification device of the present invention. The invention can be applied.

本発明の一実施形態にかかる印刷課金システムのブロック図である。1 is a block diagram of a print billing system according to an embodiment of the present invention. FIG. コンテンツサーバのブロック図である。It is a block diagram of a content server. プリンタのブロック図である。It is a block diagram of a printer. 携帯電話のブロック図である。It is a block diagram of a mobile phone. 印刷課金処理のフローチャートである。It is a flowchart of a printing accounting process. ステータスファイルの内容を示す図である。It is a figure which shows the content of a status file.

符号の説明Explanation of symbols

10…コンテンツサーバ、11…制御部、11a…CPU、12…HDD、12a…OS,12b…プログラムデータ,12c…コンテンツ,20…携帯電話、30…プリンタ、31…制御部、31a…CPU、32…操作部、33…赤外線I/F、34…不揮発性メモリ、50…携帯電話、51…メモリ、52…制御部、52a…システムバス、52b…CPU、53…無線I/F、54…赤外線I/F、55…液晶ディスプレイ、56…操作部、57…スピーカ、58…マイクロフォン、At…アンテナ、CP…印刷中継プログラム、CP1…コンテンツ指定部、CP2…印刷データ受信部、CP3…赤外線通信部、CP4…ステータス要求部、CP5…ステータス解析部、CP6…印刷データ送信部、CP7…課金要求部、G…ゲートウェイ、In…インターネット、PD…印刷データ、PP…制御プログラム、PP1…赤外線通信部、PP2…印刷実行部、PP3…要求受理部、PP4…ステータス取得部、PP5…電子データ生成部、PP6…ステータス送信部、SF…ステータスファイル、SP…印刷課金プログラム、SP1…印刷データ配信部、SP2…課金部。


DESCRIPTION OF SYMBOLS 10 ... Content server, 11 ... Control part, 11a ... CPU, 12 ... HDD, 12a ... OS, 12b ... Program data, 12c ... Content, 20 ... Mobile phone, 30 ... Printer, 31 ... Control part, 31a ... CPU, 32 Operation unit 33 Infrared I / F 34 Nonvolatile memory 50 Mobile phone 51 Memory 52 Control unit 52a System bus 52b CPU 53 Wireless I / F 54 Infrared I / F, 55 ... liquid crystal display, 56 ... operation unit, 57 ... speaker, 58 ... microphone, At ... antenna, CP ... print relay program, CP1 ... content designation unit, CP2 ... print data receiving unit, CP3 ... infrared communication unit , CP4 ... Status request unit, CP5 ... Status analysis unit, CP6 ... Print data transmission unit, CP7 ... Billing request unit, G ... Gate Hay, In ... Internet, PD ... Print data, PP ... Control program, PP1 ... Infrared communication unit, PP2 ... Print execution unit, PP3 ... Request acceptance unit, PP4 ... Status acquisition unit, PP5 ... Electronic data generation unit, PP6 ... Status transmission unit, SF ... status file, SP ... print accounting program, SP1 ... print data distribution unit, SP2 ... accounting unit.


Claims (8)

所定の通信手段にて通信可能な電子ファイルを生成し、当該電子ファイルに上記通信手段にて通信不可能な情報を格納する電子ファイル生成手段と、
上記電子ファイルを上記通信手段を介して情報取得装置に送信する情報送信手段とを具備することを特徴とする情報通知装置。
An electronic file generating means for generating an electronic file communicable by a predetermined communication means, and storing information that cannot be communicated by the communication means in the electronic file;
An information notification device comprising: information transmission means for transmitting the electronic file to the information acquisition device via the communication means.
上記電子ファイル生成手段は、上記通信手段を介して上記情報取得装置から情報要求を受信した後、上記電子ファイルを生成することを特徴とする請求項1に記載の情報通知装置。   The information notification apparatus according to claim 1, wherein the electronic file generation unit generates the electronic file after receiving an information request from the information acquisition apparatus via the communication unit. 上記電子ファイル生成手段は、上記情報取得装置からの所定の電子ファイルの取得要求を上記情報要求とみなして、上記情報を格納した当該電子ファイルを生成することを特徴とする請求項1または請求項2のいずれかに記載の情報通知装置。   2. The electronic file generating means regards an acquisition request for a predetermined electronic file from the information acquisition device as the information request, and generates the electronic file storing the information. 2. The information notification device according to any one of 2. 上記電子ファイル生成手段は、上記電子ファイルをRAM上に生成することを特徴とする請求項1から請求項3のいずれか一項に記載の情報通知装置。   The information notification apparatus according to any one of claims 1 to 3, wherein the electronic file generation unit generates the electronic file on a RAM. 上記情報送信手段は、上記電子ファイルを送信した後に当該電子ファイルを上記RAMから削除することを特徴とする請求項4に記載のステータス通知装置。   5. The status notification device according to claim 4, wherein the information transmission unit deletes the electronic file from the RAM after transmitting the electronic file. 上記通信手段は、無線信号を通信媒体とすることを特徴とする請求項1から請求項5のいずれか一項に記載の情報通知装置。   The information notification device according to claim 1, wherein the communication unit uses a radio signal as a communication medium. 上記通信手段は、上記情報を取得するためのコマンドが定義されていない通信手段であることを特徴とする請求項6に記載の情報通知装置。   The information notification apparatus according to claim 6, wherein the communication unit is a communication unit in which a command for obtaining the information is not defined. 所定の通信手段にて通信可能な情報通知装置から、上記通信手段にて通信不可能な情報を取得するか否かを判断する判断手段と、
上記情報を取得すると判断した場合に、上記情報通知装置に対して、所定の情報要求を行う要求手段と、
上記情報通知装置から上記通信手段を介して、電子ファイルを取得する取得手段と、
取得した上記電子ファイルから、上記情報を抽出する抽出手段とを具備することを特徴とする情報取得装置。


A determination means for determining whether or not to acquire information that cannot be communicated by the communication means from an information notification device capable of communicating by a predetermined communication means;
Request means for making a predetermined information request to the information notification device when it is determined to acquire the information;
Acquisition means for acquiring an electronic file from the information notification device via the communication means;
An information acquisition apparatus comprising: extraction means for extracting the information from the acquired electronic file.


JP2007019213A 2007-01-30 2007-01-30 Information notification device and information acquisition device Pending JP2008186240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007019213A JP2008186240A (en) 2007-01-30 2007-01-30 Information notification device and information acquisition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007019213A JP2008186240A (en) 2007-01-30 2007-01-30 Information notification device and information acquisition device

Publications (1)

Publication Number Publication Date
JP2008186240A true JP2008186240A (en) 2008-08-14

Family

ID=39729239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007019213A Pending JP2008186240A (en) 2007-01-30 2007-01-30 Information notification device and information acquisition device

Country Status (1)

Country Link
JP (1) JP2008186240A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138339A (en) * 2009-12-28 2011-07-14 Brother Industries Ltd Consumables-usability determination program and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138339A (en) * 2009-12-28 2011-07-14 Brother Industries Ltd Consumables-usability determination program and system
US8775278B2 (en) 2009-12-28 2014-07-08 Brother Kogyo Kabushiki Kaisha Computer readable medium having consumables-usability determination program, consumables-usability determination system and method using the consumables-usability determination program

Similar Documents

Publication Publication Date Title
US8245149B2 (en) Associating an object with a print driver on a display
US20120033245A1 (en) Image forming apparatus and method of controlling same
JP2008186241A (en) Process data transmission apparatus and process data transmission program
JP2008186161A (en) Data relay device, data relay system, data relay method, and data relay program
JP4448022B2 (en) Information processing apparatus, control method therefor, and program
JP4893522B2 (en) Communication apparatus and control program
KR100739687B1 (en) Method of displaying printing status and device therefor
JP4876998B2 (en) Communications system
JP2008186240A (en) Information notification device and information acquisition device
JP4643555B2 (en) PRINT SYSTEM, PRINT MANAGEMENT SERVER, ITS CONTROL METHOD AND PROGRAM
US9813571B2 (en) Communication apparatus, method of controlling the communication apparatus, and storage medium
JP2007189348A (en) Communication system, communication host, communication terminal, and communication method
JP2008186402A (en) Process data transmission apparatus and process data transmission program
JP4079067B2 (en) Mobile phone, printing apparatus, printing system and printing method therefor
JP2004348652A (en) Mobile phone, server, printing system thereof, image print control method in mobile phone, and server billing method
KR100664926B1 (en) Apparatus and Method for Direct Printing
JP4853163B2 (en) Image transmission apparatus, image transmission method, and image transmission program
JP2008186403A (en) Processing device and processing program
JP4453748B2 (en) Mobile phone, printing apparatus, printing system and printing method therefor
JP4232538B2 (en) Imaging device and printing device
JP2009000828A (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND CONTROL PROGRAM FOR PRINT CONTROL DEVICE
JP4941544B2 (en) Printing device
JP4352712B2 (en) Image forming apparatus and image forming system
JP4765823B2 (en) Printing system, information processing apparatus, and printing apparatus
JP4312101B2 (en) Facsimile machine