JP2001326766A - Image processing system, image data processing method and storage medium - Google Patents

Image processing system, image data processing method and storage medium

Info

Publication number
JP2001326766A
JP2001326766A JP2000144029A JP2000144029A JP2001326766A JP 2001326766 A JP2001326766 A JP 2001326766A JP 2000144029 A JP2000144029 A JP 2000144029A JP 2000144029 A JP2000144029 A JP 2000144029A JP 2001326766 A JP2001326766 A JP 2001326766A
Authority
JP
Japan
Prior art keywords
card
information
control
printer
host device
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
JP2000144029A
Other languages
Japanese (ja)
Inventor
Tetsuya Kawanabe
哲也 河鍋
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2000144029A priority Critical patent/JP2001326766A/en
Priority to US09/853,710 priority patent/US7068386B2/en
Priority to EP01304309A priority patent/EP1156661A3/en
Publication of JP2001326766A publication Critical patent/JP2001326766A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system which is easy in the connection of equipment and excellent in convenience. SOLUTION: In the image processing system constituted by connecting a host device 100 for reading and performing program data stored in a read only storage medium 120 and equipment 1 added with a card device function, the equipment connected to the system has a communication control part 11 for controlling communication between the host device and the equipment and a card control part 30 for controlling a card device 200, the host device has a recognition part for recognizing the equipment connected by the communication control part and a driver detection part for automatically detecting driver software optimal to the equipment recognized by the recognition part, and the card control part determines the suitability of the detected driver software and the card device to automatically update a program for controlling the card device.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、着脱自在
に構成されたカードデバイスを装着し、接続機能を有し
たプリンタ装置とホスト装置とを構成に含む画像処理シ
ステムに関するものであり、特に、カードデバイスはホ
スト装置の間で情報のやり取りをするための通信制御部
を含み、カードデバイスからの情報に従いプリンタ装置
は印刷を実行する画像処理システム、画像データ処理方
法、記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing system including, for example, a printer device having a detachable card device and having a connection function and a host device. The card device includes a communication control unit for exchanging information between host devices, and the printer device relates to an image processing system, an image data processing method, and a storage medium that execute printing according to information from the card device.

【0002】[0002]

【従来の技術】近年、一般家庭においてもパーソナルコ
ンピュータ(以下、PC)などの情報機器が目覚しく普及
してきた。また、インターネットなどのネットワーク上
の情報を誰でも手軽に利用できるインフラ環境も充実
し、一方では、デジタルカメラ、デジタルビデオカメラ
などの所謂デジタル家電装置も一般化している。これら
の状況を背景に、所望の印刷出力をさせるプリンタ装置
も急速な勢いで家庭に普及してきている。
2. Description of the Related Art In recent years, information devices such as personal computers (hereinafter, referred to as PCs) have been remarkably prevalent in general households. In addition, an infrastructure environment in which anyone can easily use information on a network such as the Internet has been enhanced, and on the other hand, so-called digital home appliances such as digital cameras and digital video cameras have also become popular. Against this background, printers for producing desired printouts have rapidly spread to homes.

【0003】これらの機器をPCに接続することにより、
デジタルカメラなどで撮った画像を印刷したり、或いは
インターネットを通じて、メール、ホームページなどに
掲載したりすることが出来るというような、所謂マルチ
メディア環境も整ってきた。これらの利用環境を構築す
るうえで、インストール作業を必要とすることが多く見
受けられる。つまり、利用したいアプリケーションプロ
グラムや、接続対象となる機器を利用するための所謂デ
バイスドライバなどをPCに予めインストールして、所定
のI/Oポートに機器を接続すると言うような作業が必要
になる。即ち、これらのインストール作業を確実に行う
ことで、はじめて所望の機能を利用することが出来るよ
うになる。
[0003] By connecting these devices to a PC,
A so-called multimedia environment has been established in which an image taken by a digital camera or the like can be printed or posted on an e-mail or a website via the Internet. In many cases, installation work is required to construct these use environments. That is, it is necessary to install an application program to be used, a device driver for using a device to be connected, and the like in the PC in advance, and connect the device to a predetermined I / O port. That is, by performing these installation operations reliably, a desired function can be used for the first time.

【0004】しかし、その作業はある程度の専門知識
と、マニュアルなどの正しい理解力を必要とし、初心者
・子供・高齢者などのユーザーがこれらの機能を利用す
ることを難しくさせたり、精神的にも負担をかけてしま
うという問題があった。
[0004] However, the work requires a certain degree of expertise and correct understanding of manuals and the like, making it difficult for users, such as beginners, children and the elderly, to use these functions, and mentally. There was a problem of putting a burden.

【0005】[0005]

【発明が解決しようとする課題】図面を参照して従来の
構成を説明する。図38は従来の構成の一例を説明する図
であり、パーソナルコンピュータ(以下、PC)を用いた
システム構成図である。500はPCの本体部で、モニタ
ー501は不図示のビデオ回路に接続され文字、画像を
出力できる。
A conventional configuration will be described with reference to the drawings. FIG. 38 is a diagram illustrating an example of a conventional configuration, and is a system configuration diagram using a personal computer (hereinafter, PC). Reference numeral 500 denotes a main body of the PC, and a monitor 501 is connected to a video circuit (not shown) and can output characters and images.

【0006】PC本体には図に示したように多くの機器が
接続されおり、文字などを入力するキーボード503、
画面上でポインタなどの入力指示位置などを操作するた
めのポイティングデバイスのひとつであるマウス50
4、および所望の印刷出力をおこなうプリンタ505が
I/Fポート507に接続され、アプリケーションなどの
インストールに必要な情報を記録したCD-ROM(コンパク
ト・ディスクROM)の読出し可能なCD(コンパクト・デ
ィスク読取装置)506と、不図示のフロッピー(登録
商標)ディスク装置と、CD506、フロッピーディスクに
記録されているアプリケーション、デバイスドライバな
どをインストールしてプログラムなどを記憶するための
ハードディスク、またはフラッシュROM(電気的書換え
可能なメモリ)および作業用メモリで構成されている大
容量メモリ502と、外部のインターネットなどのネッ
トワーク511に接続するためのモデム、ネットワーク
通信回路などで構成された外部I/F510と、デジタル
カメラなどのデジタル家電機器512および、その他の
外部機器509を接続するためのI/Oホ゜ート508とで構
成されている。
As shown in the figure, many devices are connected to the PC body, and a keyboard 503 for inputting characters and the like is provided.
A mouse 50 which is one of pointing devices for operating an input designated position such as a pointer on a screen;
4 and the printer 505 that performs the desired print output
A CD (compact disk reader) 506, which is connected to the I / F port 507 and records information necessary for installing applications and the like, and is readable from a CD-ROM (compact disk ROM), and a floppy disk (not shown) (Trademark) disk unit, CD506, hard disk for installing applications and device drivers recorded on floppy disk and storing programs, or flash ROM (electrically rewritable memory) and working memory A large-capacity memory 502, a modem for connecting to a network 511 such as an external Internet, an external I / F 510 including a network communication circuit, a digital home appliance 512 such as a digital camera, and other external devices. To connect device 509 An I / O port 508 is provided.

【0007】以上のような従来の構成で、ユーザーが購
入などした所望のアプリケーションプログラムおよびプ
リンタ、デジタルカメラなどの機器を接続して利用する
ためには、付属のフロッピーディスクやCD-ROMなどの記
憶媒体、或いはインターネットなどを通じて入手したフ
ァイルなどにより供給されるプログラム情報を、ハード
ディスクなどに予めそれらのプログラム/データをイン
ストールする必要がある。このため、アプリケーション
や接続機器を利用するうえで、高価なハードディスクの
記憶量を減少させてしまう欠点があった。
In the above-described conventional configuration, in order to connect and use a desired application program purchased by a user and devices such as a printer and a digital camera, a storage device such as an attached floppy disk or CD-ROM is required. It is necessary to install such program / data on a hard disk or the like in advance for program information supplied by a medium or a file obtained through the Internet or the like. For this reason, there is a disadvantage that the storage capacity of an expensive hard disk is reduced when using an application or a connected device.

【0008】また、上記インストール作業後に所望のア
プリケーションや接続機器の利用を開始する前に、パー
ソナルコンピュータを一度再起動する必要があるものが
多く、アプリケーションや接続機器を利用開始するまで
のセットアップ時間が掛かるという欠点があった。
In many cases, it is necessary to restart the personal computer once before starting use of a desired application or connected device after the installation work, and a setup time until the use of the application or connected device is started. There was a drawback of hanging.

【0009】また、図38に示したように色々な機器を
接続するうえで、I/Fホ゜ート、I/Oカード、外部I/Fなどの
オプションボードをPC本体に取り付けてやる作業が必要
な場合も多い。
Further, as shown in FIG. 38, it is necessary to attach optional boards such as an I / F port, an I / O card, and an external I / F to the PC main body in order to connect various devices. Often.

【0010】オプションボードの取り付けに際して殆ど
の場合、まずPCに接続してある機器の電源、PC本体の電
源を一旦落とし、PC本体の筐体カバーをあけて、所定の
I/Oスロットなどにオプションボードを挿入・ビス留め
などして、筐体カバーを再び閉じ、電源を再度投入して
システムを起動してから、装着したオプションボードの
利用を可能にするために、最適なデバイスドライバなど
を予めハードディスクなどにインストールし、最悪の場
合もう一度システムを再起動した後に、更にオプション
ボードに接続すべき目的の接続機器などのデバイスドラ
イバなどをインストールするなどの複雑な作業を必要と
する欠点があった。
In most cases when installing the option board, first turn off the power of the device connected to the PC and the power of the PC body, open the housing cover of the PC body, and perform a predetermined operation.
Insert the option board into the I / O slot, screw it down, close the housing cover, turn on the power again, start the system, and then use the installed option board. Complicated work such as installing the optimal device driver etc. in advance on the hard disk etc., in the worst case, restarting the system again, and then installing the device driver etc. of the target connection device to be connected to the option board is required There was a disadvantage.

【0011】上記したオプションカード、あるいはPC本
体に内蔵されている機器の制御回路には、各々の機能を
制御すべくROMなどが内蔵されていることが多い。近
年、これらのROMをフラッシュROM(電気的消去・書換え
可能ROM)などを採用することで、ROM内容の書き換え可
能にし、ユーザーが購入後にもバグ対策、バージョンア
ップなどが出来る構成になっていることも多い。
The above-mentioned option card or the control circuit of the device built in the PC main body often contains a ROM or the like for controlling each function. In recent years, by adopting flash ROMs (electrically erasable and rewritable ROMs) for these ROMs, the contents of the ROMs have been made rewritable, enabling users to take measures against bugs and upgrade their version even after purchase. There are many.

【0012】しかし、それらのROM内容の書き換え作業
は、一般的にユーザーが行い、ユーザー責任という形で
提供されるものも多い。つまり、この作業は一般的にか
なりの専門知識を必要とする。
[0012] However, the work of rewriting the contents of the ROM is generally performed by the user and is often provided in the form of user responsibility. That is, this task generally requires considerable expertise.

【0013】例えば、書換え対象ROMのバージョン確
認、適切なバージョンアップ・プログラムなどの入手、
特殊な操作環境での書換え操作などが必要で、細心の注
意が必要な作業である。操作を間違えると最悪の場合シ
ステム起動ができなかったり、一部もしくは全部の機能
が利用できなくなることさえある。
For example, confirming the version of the ROM to be rewritten, obtaining an appropriate version-up program, etc.
This requires rewriting operations in a special operation environment and requires careful attention. In the worst case, a wrong operation may prevent the system from booting or even disable some or all functions.

【0014】即ち、このようなバージョンアップ・サー
ビス方法は一般ユーザーには難しく、受け入れられにく
いという欠点があった。
That is, such a version upgrade service method has a drawback that it is difficult and unacceptable for general users.

【0015】次に、例えば従来の構成で、「デジタルカ
メラで撮った画像を印刷する」という機能目的を考察す
る。まず、上記同様にデジタルカメラとプリンタをPCに
接続し、双方の必要なデバイスドライバ、アプリケーシ
ョンなどを予めハードディスクなどにインストールす
る。そして、インストールした所定のアプリケーション
などを選択・起動することで、デジタルカメラから所望
の画像を、一旦PCのハードディスクなどの記憶装置に取
り込み、プリンタを接続してから印刷指示をすること
で、初めて印刷出力できるわけである。即ち、ユーザー
が本来望む機能「写真を撮って印刷したい」といった、
ある意味では単純な機能を実現する際にも、ユーザーは
多大な労力を費やさねばならない欠点があった。
Next, a functional purpose of "printing an image taken by a digital camera" in a conventional configuration will be considered. First, the digital camera and the printer are connected to the PC as described above, and the necessary device drivers and applications for both are installed in the hard disk or the like in advance. Then, by selecting and launching the installed predetermined application, the desired image from the digital camera is once taken into a storage device such as a hard disk of a PC, and a print instruction is issued after connecting a printer, and then printing is performed for the first time. It can be output. In other words, the functions that the user originally desires, such as "I want to take and print a photo"
In a sense, there was a disadvantage that the user had to spend a great deal of effort in realizing a simple function.

【0016】図39、および図40は上記とは別の従来
の構成を説明する図である。これらに示した構成は、上
述の「デジタルカメラで撮った画像を印刷する」機能の
利便性を改善させた従来構成の一例で、プリンタに所謂
ダイレクト印刷機能を備えたものである。
FIGS. 39 and 40 are diagrams for explaining another conventional configuration different from the above. These configurations are examples of a conventional configuration in which the convenience of the "print an image taken by a digital camera" function is improved, and the printer has a so-called direct printing function.

【0017】両図中、図に示したメモリ530は、デジタ
ルカメラに取り付けることができるメモリデバイスで、
不揮発性メモリで構成されている。デジタルカメラで撮
影した画像をこのメモリに保存して、撮った画像を印刷
する際には、デジタルカメラからメモリ530を外し、
アダプタ520、若しくはプリンタ540に装着させ
て、操作パネル521、または541で印刷操作をする
ことで、所望の画像を印刷出力できるようになってい
る。
In both figures, a memory 530 shown in the figures is a memory device that can be attached to a digital camera.
It is composed of a nonvolatile memory. When an image taken by a digital camera is stored in this memory and the taken image is printed, the memory 530 is removed from the digital camera,
A desired image can be printed out by being attached to the adapter 520 or the printer 540 and performing a printing operation on the operation panel 521 or 541.

【0018】メモリ530に保存されている画像データ
は所謂JPEG形式のデータが多く用いられており、それら
の画像データを印刷出力するためにはアダプタ520、
若しくはプリンタ540に画像処理機能を備えている。
これらの装置は、JPEGなどの画像情報を展開・縮小・拡
大させながら、印刷出力する。
As the image data stored in the memory 530, so-called JPEG format data is often used. To print out the image data, an adapter 520 is used.
Alternatively, the printer 540 has an image processing function.
These devices print and output while expanding, reducing, and enlarging image information such as JPEG.

【0019】そのための、画像処理、色処理など、印刷
データの生成を高速に行なわせるために、例えば、高速
なCPU、複雑なハードウェア、および大量なメモリで構
成されており、装置のコストが高くなる欠点があった。
また、操作パネル520、541はLCD(液晶表示器)お
よび多くの操作ボタンなどで構成してあるので、更に装
置のコストが高くなるわりには、操作部分の物理的な面
積の増加による装置サイズの大型化や、LCDなどの小型
表示機器による操作指定状態などの表現力の乏しさに纏
わる操作性が低下するなどの欠点があった。
For this purpose, a high-speed CPU, complicated hardware, and a large amount of memory are used to generate print data at high speed, such as image processing and color processing. There was a drawback that it became expensive.
Further, since the operation panels 520 and 541 are composed of an LCD (Liquid Crystal Display) and many operation buttons, the cost of the apparatus is further increased, but the size of the apparatus is increased by increasing the physical area of the operation section. There have been drawbacks such as an increase in size and a decrease in operability related to a lack of expressiveness such as an operation designation state using a small display device such as an LCD.

【0020】また、上記従来の構成では、プリンタ装置
に印刷させる際にユーザーが印刷出力したい目的画像の
印刷出力品位に合わせて、印刷出力したい用紙などの印
刷媒体の種類を設定操作が必要で、誤操作などにより設
定操作を誤るとユーザーの期待に反した印刷出力、例え
ば印刷装置がインクジェット型プリンタの場合などは、
色合い・滲み・インク溢れなどにより印刷出力品位を低
下させてしまう欠点があった。
Further, in the above-described conventional configuration, when printing is performed by a printer device, the user needs to perform an operation of setting the type of a print medium such as paper to be printed out in accordance with the print output quality of a target image to be printed out. If the setting operation is erroneous due to an erroneous operation or the like, print output contrary to the user's expectation, for example, when the printing apparatus is an ink jet printer,
There is a drawback that the print output quality is lowered due to hue, bleeding, ink overflow, and the like.

【0021】また、高品位画像出力させるための印刷媒
体は一般的に高価にも関わらず、誤操作などにより高価
な印刷媒体を無駄させてしまう欠点があった。
In addition, although a print medium for outputting a high-quality image is generally expensive, there is a disadvantage in that the expensive print medium is wasted due to an erroneous operation or the like.

【0022】そして、上記従来の構成では、例えば、家
庭で団欒のひと時をリビングルームなどで過ごしてい
て、デジタルカメラなどで撮影したものを直ぐに印刷し
たいのに、わざわざユーザーがパーソナルコンピュータ
の設置場所まで赴いて印刷するというように利便性が良
くない欠点もあった。
In the above-mentioned conventional configuration, for example, while spending a moment of harmony at home in a living room or the like and wanting to immediately print out a photograph taken by a digital camera or the like, the user bother to go to the location of the personal computer. There was also a disadvantage that convenience was not good, such as going to print.

【0023】[0023]

【課題を解決するための手段】本発明は上記従来例に鑑
みなされたもので、インストールなどの難しい作業を極
力排除した、誰でもが簡単に使える家庭用の画像処理シ
ステムを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described conventional example, and has as its object to provide a home-use image processing system which can be easily used by anyone, eliminating difficult work such as installation. And

【0024】上記課題を解決し、本発明にかかる目的を
達成するために本発明にかかる画像処理システム等は主
として以下の構成からなることを特徴とする。
[0024] In order to solve the above problems and achieve the object of the present invention, an image processing system and the like according to the present invention are characterized mainly by the following configuration.

【0025】すなわち、読取り専用記憶メディアに記憶
されたプログラムデータを読み出して実行するホスト装
置と、カードデバイス機能を付加した機器を接続して構
成する画像処理システムであって、該システムに接続す
る機器が、前記ホスト装置と機器との間で通信を制御す
るための通信制御手段と、カードデバイスに接続するカ
ードインターフェースと、前記カードインターフェース
に着脱自在に接続可能なカードデバイスを制御するカー
ド制御手段と、前記カード制御手段および通信制御手段
を介して前記ホスト装置と前記カードデバイスとの間で
の機器情報を相互に共有するための通信手段と、前記通
信手段によって共有化された情報を、前記カードデバイ
スを介して接続した他の機器が利用可能にするための制
御手段と、を有し、前記ホスト装置が、前記通信制御手
段により接続した機器を認識する認識手段と、前記認識
手段により認識した機器に最適なドライバソフトを自動
的に検出するドライバ検出手段と、を有し、前記カード
制御手段は前記検出されたドライバソフトと、前記カー
ドデバイスとの適合性を判断して、該カードデバイスの
制御用プログラムを自動的に更新することを特徴とす
る。
That is, an image processing system configured by connecting a host device that reads and executes program data stored in a read-only storage medium and a device having a card device function, wherein the device is connected to the system. A communication control unit for controlling communication between the host device and the device, a card interface connected to a card device, and a card control unit for controlling a card device detachably connectable to the card interface. Communication means for mutually sharing device information between the host device and the card device via the card control means and communication control means, and information shared by the communication means, Control means for making available to other devices connected via the device. The card control includes: a recognition unit that recognizes a device connected by the communication control unit; and a driver detection unit that automatically detects driver software optimal for the device recognized by the recognition unit. The means determines compatibility between the detected driver software and the card device, and automatically updates a control program of the card device.

【0026】また、読取り専用記憶メディアに記憶され
たプログラムデータを読み出して実行するホスト装置
と、カードデバイス機能を付加した機器の間で情報を授
受してデータを処理するための画像データ処理方法であ
って、前記ホスト装置と機器との間で通信を制御するた
めの通信制御工程と、カードインターフェースを介して
カードデバイスに接続処理する工程と、前記カードイン
ターフェースに着脱自在に接続可能なカードデバイスを
制御するカード制御工程と、前記カード制御工程および
通信制御工程の処理を介して前記ホスト装置と前記カー
ドデバイスとの間での機器情報を相互に共有するための
通信工程と、前記通信工程の処理によって共有化された
情報を、前記カードデバイスを介して接続した他の機器
が利用可能にするための制御工程と、前記通信制御工程
の処理により接続した機器を認識する認識工程と、前記
認識工程の処理により認識した機器に最適なドライバソ
フトを自動的に検出するドライバ検出工程と、を有し、
前記カード制御工程の処理は前記検出されたドライバソ
フトと、前記カードデバイスとの適合性を判断して、該
カードデバイスの制御用プログラムを自動的に更新する
ことを特徴とする。
An image data processing method for exchanging information between a host device for reading and executing program data stored in a read-only storage medium and a device having a card device function and processing the data. A communication control process for controlling communication between the host device and the device, a process of connecting to the card device via a card interface, and a card device detachably connectable to the card interface. A card control step of controlling, a communication step for mutually sharing device information between the host device and the card device through the processing of the card control step and the communication control step, and a processing of the communication step Makes the information shared by other devices available to other devices connected via the card device. Control step, a recognition step of recognizing a device connected by the processing of the communication control step, and a driver detection step of automatically detecting an optimal driver software for the device recognized by the processing of the recognition step. ,
The processing of the card control step is characterized in that compatibility between the detected driver software and the card device is determined, and a control program of the card device is automatically updated.

【0027】また、読取り専用記憶メディアに記憶され
たプログラムデータを読み出して実行するホスト装置
と、カードデバイス機能を付加した機器の間で情報を授
受してデータを処理するための画像データ処理方法をコ
ンピュータで実行するためのプログラムコードを記憶し
たコンピュータ可読の記憶媒体であって、該プログラム
コードが、前記ホスト装置と機器との間で通信を制御す
るための通信制御工程のコードと、カードインターフェ
ースを介してカードデバイスに接続処理する工程のコー
ドと、前記カードインターフェースに着脱自在に接続可
能なカードデバイスを制御するカード制御工程のコード
と、前記カード制御工程のコードおよび通信制御工程の
コードの処理を介して前記ホスト装置と前記カードデバ
イスとの間での機器情報を相互に共有するための通信工
程のコードと、前記通信工程のコードの処理によって共
有化された情報を、前記カードデバイスを介して接続し
た他の機器が利用可能にするための制御工程のコード
と、前記通信制御工程の処理により接続した機器を認識
する認識工程と、前記認識工程のコードの処理により認
識した機器に最適なドライバソフトを自動的に検出する
ドライバ検出工程のコードと、を有し、前記カード制御
工程のコードの処理は前記検出されたドライバソフト
と、前記カードデバイスとの適合性を判断して、該カー
ドデバイスの制御用プログラムを自動的に更新すること
を特徴とする画像データ処理方法。
An image data processing method for exchanging information between a host device for reading and executing program data stored in a read-only storage medium and a device having a card device function and processing data is provided. A computer-readable storage medium storing a program code to be executed by a computer, the program code comprising: a code for a communication control step for controlling communication between the host device and a device; and a card interface. A code for a process of connecting to a card device via a PC, a code for a card control process for controlling a card device detachably connectable to the card interface, a code for the card control process, and a process for a code for a communication control process. Device between the host device and the card device via And a control step for making the information shared by the processing of the code of the communication step available to other devices connected via the card device. Code, a recognition step of recognizing a device connected by the processing of the communication control step, and a code of a driver detection step of automatically detecting driver software optimal for the device recognized by the processing of the code in the recognition step. Wherein the processing of the code in the card control step judges the compatibility between the detected driver software and the card device, and automatically updates a control program of the card device. Image data processing method.

【0028】を備えることを特徴とする。It is characterized by having:

【0029】[0029]

【発明の実施の形態】(実施形態1)図1は本発明の適
用が可能な画像処理システムの構成を説明する図であ
る。
(Embodiment 1) FIG. 1 is a diagram for explaining the configuration of an image processing system to which the present invention can be applied.

【0030】100はホスト装置の構成を説明してお
り、110はホスト装置のシステム・メイン制御部で後
述のSCT 111 (システム制御部)、およびメモリにフ
ァイルなどの情報を保存記憶する際の時刻スタンプ、時
計・カレンダー機能、および印刷開始時刻などを生成す
るためのRTC 112 (リアルタイムクロック)を備えて
いる。
Reference numeral 100 denotes a configuration of the host device. Reference numeral 110 denotes a system main control unit of the host device, which is an SCT 111 (system control unit) described later, and a time at which information such as a file is stored in a memory. An RTC 112 (real-time clock) for generating a stamp, a clock / calendar function, a print start time, and the like is provided.

【0031】SCT 111 (システム制御部)は、不図示
のシステム全体の制御をおこなうCPU(セントラル・
プロセッサ・ユニット)である。
The SCT 111 (system control unit) is a CPU (Central Control Unit) that controls the entire system (not shown).
Processor unit).

【0032】CPUなどから要求により所望のプログラ
ム/データの読み書き可能な記憶デバイスであるRAM
12、システム・メイン制御部内のアドレスバス・デー
タバスを制御するシステムバス制御部を有する。
RAM which is a storage device capable of reading and writing a desired program / data upon request from a CPU or the like
12. It has a system bus control unit for controlling an address bus and a data bus in the system main control unit.

【0033】更に、RAMおよび各制御部などに対してC
PUを介さずに高速読み書き制御おこなうDMA(ダイ
レクト・メモリ・アクセス)制御部、システム・メイン
制御部内の各制御部が時間制御に利用可能なタイマー制
御部、システム起動時にブートアップ・プログラムなど
を読み出すためのROM(電気的消去・書換え可能なR
OMでも良い)、DISP 140 (画像入出力装置)に所
望の文字・画像を出力、あるいはDISPに出力されて
いる画像を入力するための画像入出力制御部を含む。
Further, C is used for the RAM and each control unit.
DMA (direct memory access) control unit that performs high-speed read / write control without using a PU, a timer control unit that can be used for time control by each control unit in the system main control unit, and reads out a boot-up program when the system starts up ROM (electrically erasable / rewritable R
OM), an image input / output control unit for outputting desired characters and images to the DISP 140 (image input / output device), or inputting an image output to the DISP.

【0034】また、更に、AUD 140 (音声入出力装
置)に音声・音楽などを出力およびAUDから音声を入
力するための音声入出力制御部、CP 130 (操作パネ
ル)からの操作入力を制御する操作入力制御部、RDV
120 (読出し専用記憶デバイス)からCPU/DMAなど
の指示に従って所望プログラム/データを読み出す読出
し制御部、PCD 150 (拡張ユニット)との入出力を制
御する拡張入出力制御部、EMM 180 (外部メモリ)を
対象に所望のデータを読み書きするための外部メモリ制
御部、外部インターフェース・バスBUS1を介してE
DV 170 (外部接続装置)とのデータ読み書きをおこな
う外部インターフェース制御部1、外部インターフェー
ス・バスBUS2を介して後述するプリンタ装置1とデ
ータの授受をおこなう外部インターフェース制御部2、
上記回路および装置に電力を供給するための電源ユニッ
トとで構成されている。
Further, a voice input / output control unit for outputting voice and music to the AUD 140 (voice input / output device) and inputting voice from the AUD, and controls an operation input from the CP 130 (operation panel). Operation input control unit, RDV
A read control unit for reading a desired program / data from a 120 (read only storage device) in accordance with an instruction from a CPU / DMA, etc .; An external memory control unit for reading and writing desired data from and to an external device via an external interface bus BUS1
An external interface control unit 1 for reading / writing data from / to a DV 170 (external connection device); an external interface control unit 2 for transmitting / receiving data to / from a printer device 1 described later via an external interface bus BUS2;
And a power supply unit for supplying power to the circuit and the device.

【0035】CP 130 (操作パネル)はユーザーより操
作指示をおこなうための装置でカーソル・キー、ジョイ
スティック、複数の操作ボタン、状態確認用LEDなど
で構成されている。
The CP 130 (operation panel) is a device for giving an operation instruction from a user, and is composed of a cursor key, a joystick, a plurality of operation buttons, a status confirmation LED, and the like.

【0036】RDV 120 (読出し専用記憶デバイス)は
CD−ROM(コンパクト・ディスクROM)、DVD
−ROM(デジタル・ビデオ・ディスクROM)、DV
D(デジタル・ビデオ・ディスク)などの記憶メディア
をCPUなどの指示により任意に読み出せる。
The RDV 120 (read only storage device) is a CD-ROM (compact disc ROM), DVD
-ROM (Digital Video Disk ROM), DV
A storage medium such as D (Digital Video Disk) can be arbitrarily read by an instruction from the CPU or the like.

【0037】記憶メディアには制御に必要な以下の
(1)〜(9)に示すようなプログラム/データを必要
に応じ予め記憶してある。
The storage medium stores in advance programs / data required for control as shown in the following (1) to (9) as necessary.

【0038】(1)デバイスドライバ、ライブラリなど
の制御プログラム (2)アプリケーション・プログラム (3)フォント(文字生成)情報 (4)静画像情報 (5)音声情報 (6)動画像情報 (7)辞書情報 (8)管理情報 (9)その他の情報 また、記憶メディアは不正コピーなどを禁止するように
してあり、その情報はアプリケーションなどの特定のプ
ログラムのみから読み出せるものと、ユーザーなど任意
に読出し利用できるものとを識別できるようになってい
る。
(1) Control programs such as device drivers and libraries (2) Application programs (3) Font (character generation) information (4) Still image information (5) Audio information (6) Moving image information (7) Dictionary Information (8) Management information (9) Other information The storage medium is designed to prohibit unauthorized copying, etc. The information can be read only from a specific program such as an application, and the information can be read and used arbitrarily by a user. What can be done can be identified.

【0039】このように記憶メディアを構成することで
著作権などの保護を行なうようにしてある。システム・
メイン制御部はRDV 120 (読出し専用記憶デバイス)
に説明した記憶メディアが挿入されたことを認識する
と、記憶メディア上からデバイスドライバ、ライブラ
リ、アプリケーション・プログラム、データなどをRA
Mなどに読出し所望のプログラムを実行開始するように
してある。
By configuring the storage medium in this manner, protection such as copyright is performed. system·
Main control unit is RDV 120 (read only storage device)
When it is recognized that the storage medium described in the above section is inserted, the device driver, library, application program, data, etc. are transferred from the storage medium to the RA.
M and the like and the execution of a desired program is started.

【0040】また、本実施形態ではCD−ROMのよう
な読取専用記憶メディアを採用したが、例えば、CD−
R(追記書込み可能なCD−ROM)、CD−RW(消
去・書込み可能なCD−ROM)などの書込み可能メデ
ィアを採用することも可能であり、また、記憶媒体に半
導体で構成されたマスクROM、EPROM、EEPR
OM、フラッシュROMなどを用いても同様である。そ
の場合には採用する記憶メディアに合わせてRDV 120
(読出し専用記憶デバイス)を変更すれば良く、その対
応は当業者であれば容易に可能であることは言うまでも
ない。
In this embodiment, a read-only storage medium such as a CD-ROM is employed.
It is also possible to employ a writable medium such as R (recordable CD-ROM) and CD-RW (erasable / writable CD-ROM), and a mask ROM composed of a semiconductor as a storage medium. , EPROM, EEPROM
The same applies to the case where an OM or a flash ROM is used. In that case, the RDV 120 should be set according to the storage medium to be adopted.
(Read-only storage device) may be changed, and it is needless to say that a person skilled in the art can easily cope with the change.

【0041】これらの構成により、従来パーソナルコン
ピュータを利用した時のようなインストールなどの煩わ
しいセットアップ作業も不要となり、また、ハードディ
スクなどの記憶装置も必要としない。
According to these configurations, cumbersome setup work such as installation as in the case of using a conventional personal computer is not required, and a storage device such as a hard disk is not required.

【0042】所望の文字、画像を出力するDISP 140
(画像入出力装置)および音声、音楽など出力するAU
D 140 (音声入出力装置)として、例えば、家庭用TV
を採用できる。そうすることで、家庭におけるリビング
ルームなどTVが置いてあるところに、TVを共用した
画像処理システムを設置可能になる。また、ユーザーに
より高画質、高音質の出力を望む場合には高画質TV・
モニター、オーディオアンプなどに出力することも可能
である。更に、TV装置などからの画像、音声などの入
力も可能で、また、近々サービスが開始されるであろう
デジタル放送を対応したTV装置などでデジタル通信が
可能な場合には画像、音声以外の情報のやり取りも可能
である。
DISP 140 for outputting desired characters and images
(Image input / output device) and AU to output audio, music, etc.
As a D140 (audio input / output device), for example, a home TV
Can be adopted. By doing so, it becomes possible to install an image processing system sharing a TV in a place where a TV is placed, such as a living room at home. If the user wants to output high image quality and high sound quality,
It is also possible to output to a monitor, audio amplifier, etc. Furthermore, it is also possible to input images and sounds from a TV device or the like, and if digital communication is possible with a TV device or the like that supports digital broadcasting whose service will be started soon, other than images and sounds. Exchange of information is also possible.

【0043】PCD 150 (拡張ユニット)は、例えば、
PCMCIA準拠の拡張型ユニットを採用していて、本
実施形態においては、外部のインターネット/ネットワ
ークに接続するためにモデムまたはネットワーク制御ユ
ニットを装着している。勿論、PCD 150 (拡張ユニッ
ト)の変わりに予めモデムを内蔵することは可能である
が、装置のコストが上昇することと、および汎用性が無
くなることを考慮して本構成としてある。何故ならば、
例えばモデムを内蔵したとしても、急速に普及している
ケーブルテレビ・ネットワークに接続するためにはケー
ブルモデム・ネットワーク接続ユニットが必要で、ま
た、ISDNに接続するためにはTA(ターミナル・ア
ダプタ)が必要になるわけで、インターネットに接続す
るといった機能を実現する際にもユーザーにより色々な
環境・手段があるからである。
The PCD 150 (extension unit) is, for example,
An extension unit conforming to PCMCIA is employed, and in this embodiment, a modem or a network control unit is mounted to connect to an external Internet / network. Of course, it is possible to incorporate a modem in advance in place of the PCD 150 (expansion unit), but this configuration is used in consideration of an increase in the cost of the device and a loss of versatility. because,
For example, even with a built-in modem, a cable modem network connection unit is required to connect to a rapidly spreading cable television network, and a TA (terminal adapter) is required to connect to ISDN. This is necessary because there are various environments and means depending on the user when implementing functions such as connecting to the Internet.

【0044】EMM 180 (外部メモリ)は、ユーザーの
情報、或いは制御プログラムなどを保存できる記憶手段
であり、例えば本実施形態においては、不揮発性メモリ
のひとつであるフラッシュROM(電気的消去・書換え
可能ROM)を採用している。
The EMM 180 (external memory) is a storage means capable of storing user information, control programs, and the like. For example, in this embodiment, a flash ROM (an electrically erasable and rewritable ROM).

【0045】BUS1は、EDV 170 (外部接続装置)
に接続するための双方向通信が可能な、いわゆる外部イ
ンターフェース・バスあれば良く、例えば本実施形態に
おいては、IEEE1394準拠の高速シリアル・バス
(最大400Mbit/秒)を採用しており、接続される
デジタル家電装置であるデジタルカメラ、デジタルビデ
オカメラなどとの通信を高速にできるようにしてある。
また、このIEEE1394準拠の高速シリアル・バス
はハブ装置などを介して複数の装置を1つの外部インタ
ーフェース・バス上にスター接続で構築できるので、同
時に多くの機器を接続することが可能である。
BUS1 is an EDV 170 (external connection device)
What is necessary is just a so-called external interface bus capable of performing two-way communication for connection to, for example, in the present embodiment, a high-speed serial bus conforming to IEEE 1394 (up to 400 Mbit / sec) is adopted and connected. It enables high-speed communication with digital home appliances such as digital cameras and digital video cameras.
In addition, this IEEE 1394 high-speed serial bus allows a plurality of devices to be built in a star connection on a single external interface bus via a hub device or the like, so that many devices can be connected at the same time.

【0046】EDV 170 (外部接続装置)は、BUS1外部イン
ターフェース・バス上に接続可能なデジタル機器で、例
えばデジタルカメラ、デジタルビデオカメラ、デジタル
オーディオ装置、デジタルビデオ、デジタルチューナ、
パーソナルコンピュータ等である。
The EDV 170 (external connection device) is a digital device connectable on the BUS1 external interface bus, such as a digital camera, a digital video camera, a digital audio device, a digital video, a digital tuner,
It is a personal computer or the like.

【0047】BUS2は、プリンタ装置1を接続するた
めの双方向通信が可能な外部インターフェース・バスあ
れば良く、例えば本実施形態においては、USB準拠の
高速シリアル・バス(最大12Mbit/秒)を採用して
いる。
The BUS 2 only needs to be an external interface bus capable of bidirectional communication for connecting the printer device 1. For example, in this embodiment, a USB-compliant high-speed serial bus (up to 12 Mbit / sec) is employed. are doing.

【0048】また、このUSB準拠の高速シリアル・バ
スはハブ装置などを介して、複数の装置を1つの外部イ
ンターフェース・バス上にスター接続で構築できるの
で、オプション的装置群 300を接続して、例えば図1の
ように、文字などの入力操作を改善するためにKB 310
(キーボード入力装置)、入力位置・GUI操作選択など
を容易に指示させるためにマウス/タッチパッドなどの
PDV 320(ポインティング・デバイス)などの装置を
同時に接続することが可能である。
Also, since this USB-compliant high-speed serial bus can be constructed in a star connection on a single external interface bus via a hub device or the like, an optional device group 300 is connected. For example, as shown in FIG.
(Keyboard input device), and devices such as a PDV 320 (pointing device) such as a mouse / touch pad can be connected at the same time to easily indicate an input position / GUI operation selection.

【0049】次に、本実施形態のプリンタ装置1につい
て説明する。プリンタ装置1はプリンタ制御部10、印
字ヘッド・搬送機構などで構成された印刷機構であるP
U 20 (プリンタ・ユニット)、後述のCDV 200 (カー
ドデバイス)を制御するCCT 30 (カード制御部)、プ
リンタ制御部10およびCCT 30 (カード制御部)に電
力を供給するPWR 50 (電源)によって構成されてい
る。
Next, the printer 1 of the present embodiment will be described. The printer device 1 is a printing mechanism P including a printer control unit 10 and a print head / transport mechanism.
U 20 (printer unit), CCT 30 (card controller) for controlling a CDV 200 (card device) described later, and PWR 50 (power supply) for supplying power to the printer controller 10 and the CCT 30 (card controller). It is configured.

【0050】プリンタ制御部10は、プリンタ装置全体
の制御をおこなうCPU(セントラル・プロセッサ・ユ
ニット)および種々の制御ロジック部から構成されるP
CT11 (プリンタ制御回路)、CPUなどから要求によ
り所望のプログラム/データの読み書き可能な記憶デバ
イスであるRAM12、プリンタ装置全体のインターフ
ェース制御、印刷制御などを行なうための制御プログラ
ム/データなどを読み出すためのROM13(電気的消
去・書換え可能なROMでも良い)で構成されている。
The printer control unit 10 includes a CPU (Central Processor Unit) for controlling the entire printer apparatus and various control logic units.
CT11 (printer control circuit), RAM12, which is a storage device capable of reading and writing desired programs / data upon request from a CPU, etc., and readout of control programs / data for performing interface control, printing control, etc. of the entire printer apparatus. The ROM 13 (electrically erasable / rewritable ROM may be used).

【0051】PCT 11 (プリンタ制御回路)は、ROM
13・RAM12に記憶してある制御プログラムに従っ
てプリンタ装置全体を動作制御するCPU、プリンタ制
御部10内のアドレスバス・データバスを制御するシス
テムバス制御部、プリンタ制御部10内の各制御部から
の割込み要求を制御する割り込み制御部、プリンタ制御
部10内の各制御部から要求でCPUを介せずデータを
RAM12・各制御部などに対して高速読み書き制御お
こなうDMA(ダイレクト・メモリ・アクセス)制御部、
プリンタ制御部10内の各制御部が時間制御に利用可能
なタイマー制御部、外部インターフェース・バスBUS
2を介してホスト装置100とのデータ通信をおこなう
外部インターフェース制御部、インターフェース・バス
BUS3を介して後述するCCT 30 (カード制御部)と
データの授受をおこなうインターフェース制御部、電源
制御信号CPWを制御する電源制御部、PU 20 (プリ
ンタ・ユニット)に対する印刷動作を制御する印刷制御
部とで構成されている。
PCT 11 (printer control circuit) has a ROM
13. A CPU for controlling the operation of the entire printer in accordance with a control program stored in the RAM 12, a system bus control unit for controlling an address bus and a data bus in the printer control unit 10, and a control unit for each of the control units in the printer control unit 10. DMA (direct memory access) control for performing high-speed read / write control of data to the RAM 12 and each control unit without requesting the CPU via a request from each control unit in the printer control unit 10 by an interrupt control unit for controlling an interrupt request. Department,
Timer control unit, external interface bus BUS that can be used for time control by each control unit in printer control unit 10
An external interface control unit that performs data communication with the host device 100 via the interface bus 2, an interface control unit that exchanges data with a CCT 30 (card control unit) described later via the interface bus BUS3, and controls a power control signal CPW. And a print control unit for controlling a printing operation for the PU 20 (printer unit).

【0052】PU 20 (プリンタ・ユニット)は、印字ヘ
ッド、印字ヘッドの走査機構、印刷用紙の搬送機構など
で構成された印刷機構であり、本実施形態においては、
例えばインクジェット型プリンタを採用することで高画
質なカラー画像印刷を可能とし、これにより写真印刷な
ども可能としている。
The PU 20 (printer unit) is a printing mechanism including a print head, a print head scanning mechanism, a printing paper transport mechanism, and the like.
For example, by adopting an ink jet printer, high-quality color image printing can be performed, thereby enabling photo printing and the like.

【0053】勿論、インクジェット型プリンタ以外の適
用も可能で、例えば昇華型熱転写プリンタ、カラーレー
ザープリンタなども採用できる。BUS2は、ホスト装
置100と接続するための双方向通信が可能な外部イン
ターフェース・バスあれば良く、例えば本実施形態にお
いては、USB準拠の高速シリアル・バス(最大12M
bit/秒)を採用している。
Of course, applications other than the ink jet type printer can be applied, and for example, a sublimation type thermal transfer printer, a color laser printer and the like can be adopted. The BUS2 may be an external interface bus capable of bidirectional communication for connection with the host device 100. For example, in the present embodiment, the BUS2 is a USB-compatible high-speed serial bus (up to 12M
bits / sec).

【0054】また、上述のようにこのUSB準拠の高速
シリアル・バスはハブ装置などを介して、複数の装置を
1つの外部インターフェース・バス上にスター接続で構
築でき、オプション的装置群 300を接続して、例えば図
のように、文字などの入力操作を改善するためにKB 3
10(キーボード入力装置)、入力位置・GUI操作選択な
どを容易に指示させるためにマウス/タッチパッドなど
のPDV 320(ポインティング・デバイス)などの装置
を同時に接続することが可能であるが、これによりホス
ト装置との通信に支障がないことは言うまでもない。
As described above, this USB-compliant high-speed serial bus connects a plurality of devices via a hub device or the like.
It can be built in a star connection on one external interface bus, and connects optional devices 300 to improve the input operation of characters such as KB 3 as shown in the figure.
10 (keyboard input device), it is possible to simultaneously connect devices such as a mouse / touchpad and other PDV 320 (pointing device) to easily indicate the input position / GUI operation selection. It goes without saying that there is no problem in communication with the host device.

【0055】CCT 30 (カード制御部)は図2に示した
ように、CCT 30 (カード制御部)全体の制御をおこな
うCPU(セントラル・プロセッサ・ユニット)および
種々の制御ロジック部から構成されるCCNT 31 (カ
ード制御回路)、CPUなどから要求により所望のプロ
グラム/データの読み書き可能な記憶デバイスであるR
AM32、CCT 30 (カード制御部)全体のインターフ
ェース制御、CDV 200(カードデバイス)絡みの各種制
御などを行なうための制御プログラム/データなどを読
み出すためのROM33(電気的消去・書換え可能なR
OMでも良い)で構成されている。
As shown in FIG. 2, the CCT 30 (card control unit) is a CCNT comprising a CPU (central processor unit) for controlling the entire CCT 30 (card control unit) and various control logic units. 31 (card control circuit), a storage device capable of reading and writing a desired program / data upon request from a CPU or the like.
AM32, ROM 33 for reading out a control program / data for performing various interface control related to the CCT 30 (card control unit) and CDV 200 (card device) (electrically erasable / rewritable R)
OM may be used).

【0056】CCNT 31 (カード制御回路)は、ROM
33・RAM32に記憶してある制御プログラムに従っ
てCCT 30 (カード制御部)全体を動作制御するCP
U、CCT 30 (カード制御部)内のアドレスバス・デー
タバスを制御するシステムバス制御部、CCT 30 (カ
ード制御部)内の各制御部からの割込み要求を制御する
割り込み制御部、CCT 30 (カード制御部)内の各制御
部から要求でCPUを介せずデータをRAM32・各制
御部などに対して高速読み書き制御おこなうDMA(ダ
イレクト・メモリ・アクセス)制御部、CCT 30 (カー
ド制御部)内の各制御部が時間制御に利用可能なタイマ
ー制御部、インターフェース・バスBUS3を介してP
CT 11 (プリンタ制御回路)とのデータ通信をおこなう
外部インターフェース制御部、CDV 200 (カードデバ
イス)の着脱検知およびCDV 200 (カードデバイス)と
のデータ授受および制御をおこなうデバイス・インター
フェース制御部とで構成されている。
The CCNT 31 (card control circuit) has a ROM
A CP for controlling the operation of the entire CCT 30 (card control unit) according to a control program stored in the RAM 32
U, a system bus control unit for controlling the address bus and data bus in the CCT 30 (card control unit); an interrupt control unit for controlling an interrupt request from each control unit in the CCT 30 (card control unit); DMA (direct memory access) control unit that performs high-speed read / write control of data to the RAM 32 and each control unit without requesting each CPU from each control unit within the card control unit), CCT 30 (card control unit) A timer control unit that can be used for time control by each control unit in P, via the interface bus BUS3
Consists of an external interface control unit that performs data communication with the CT 11 (printer control circuit), and a device interface control unit that detects the attachment / detachment of the CDV 200 (card device) and transfers and controls data with the CDV 200 (card device). Have been.

【0057】BUS3は、PCT 11 (プリンタ制御回
路)と接続するための双方向通信が可能なインターフェ
ース・バスあれば良く、例えば本実施形態においては、
IEEE1284準拠のパラレル・インターフェース・
バスで双方向通信が可能なECPモード(最大500Kbyte/
秒)を採用している。上述のBUS1およびBUS2に比べてデ
ータ転送レートが低いが、現状のCDV 200 (カードデバ
イス)が取り扱うデータ量では十分なデータ転送速度で
あり、また、インターフェース制御部を構成する制御ロ
ジックや制御プログラムの規模が前述のUSB・IEEE1394
に比べてかなり減少できるので、現状ではIEEE1284を用
いた方が低コストな装置を構成できる。勿論、例えばデ
ータ転送速度が必要な場合には、上述のUSB・IEEE1394
などの高速インターフェース・バスを適用することは可
能である。
BUS3 may be any interface bus capable of bidirectional communication for connection with PCT 11 (printer control circuit). For example, in this embodiment,
IEEE1284 compliant parallel interface
ECP mode (up to 500Kbyte /
S). Although the data transfer rate is lower than BUS1 and BUS2 described above, the data transfer rate is sufficient for the current amount of data handled by the current CDV 200 (card device), and the control logic and control programs that constitute the interface control unit USB / IEEE1394 with the scale described above
At present, the use of IEEE1284 makes it possible to construct a low-cost device. Of course, if a data transfer speed is required, for example, the USB / IEEE1394
It is possible to apply a high-speed interface bus such as.

【0058】PWR 50 (電源)は、PCT 11 (プリンタ制御
回路)からの電源制御信号CPWにより種々の電圧出力のON
/OFFを制御する。例えば、PCT 11 (プリンタ制御回路)
が必要に応じてCPWから指示によりCCT 30 (カード制御
部)に供給される電源出力をON/OFFできる。
The PWR 50 (power supply) turns on various voltage outputs according to a power control signal CPW from the PCT 11 (printer control circuit).
Control / OFF. For example, PCT 11 (printer control circuit)
Can turn on / off the power output supplied to the CCT 30 (card control unit) according to instructions from the CPW as needed.

【0059】CDV 200 (カードデバイス)は、プリンタ装
置1に物理的に着脱可能なカードデバイスで、プリンタ
装置1に内蔵されたCCT 30 (カード制御部)を通じて着
脱検知、データ授受などの制御をおこなうことができる
デバイスである。このカードデバイスは不揮発性メモリ
などで構成された記憶手段CMM(カードデバイス・メモ
リ)、それに加えて、例えばカードデバイスと外部の機
器を接続する通信手段、その他の制御機能などを付加す
ることが可能な拡張型の小型・軽量で携帯性に優れたデ
バイスである。
The CDV 200 (card device) is a card device which is physically removable from the printer device 1 and controls attachment / detachment detection and data transfer through a CCT 30 (card control unit) built in the printer device 1. A device that can. This card device can add storage means CMM (card device memory) composed of nonvolatile memory, etc., in addition to, for example, communication means for connecting the card device to external equipment, other control functions, etc. It is a compact, lightweight, portable device with excellent expansion.

【0060】また、このカードデバイスは、例えば、デ
ジタルカメラ、デジタルビデオカメラ、デジタルオーデ
ィオ、パーソナルコンピュータ、などのデジタル機器に
も着脱可能で、それらの機器で収集などした画像、音
声、情報、などの様々なデータを記憶・保存することが
可能である。
The card device can also be attached to and detached from digital devices such as digital cameras, digital video cameras, digital audio, personal computers, etc., for example, to collect images, sounds, information, etc. collected by those devices. Various data can be stored and saved.

【0061】以上説明したように、本発明の画像処理シ
ステムは上述したようなカードデバイスと、プリンタ装
置1に内蔵したCCT 30 (カード制御部)と、PCT 11 (プ
リンタ制御回路)と、およびホスト装置1との間で任意
にデータ授受ができるわけである。
As described above, the image processing system of the present invention comprises the above-described card device, CCT 30 (card control unit), PCT 11 (printer control circuit), and host Data can be arbitrarily exchanged with the device 1.

【0062】(実施形態2)次に図3を参照し、上述の
実施形態で説明したCDV 200 (カードデバイス)に拡張機
能として通信機能を有した場合について説明する。
(Embodiment 2) Next, a case where the CDV 200 (card device) described in the above embodiment has a communication function as an extended function will be described with reference to FIG.

【0063】尚、本実施形態におけるホスト装置100
およびプリンタ装置1の構成は前述の図1の説明したも
のと同様なので、ここでは詳述しない。
The host device 100 according to the present embodiment
The configuration of the printer device 1 is the same as that described with reference to FIG.

【0064】200は不揮発性メモリなどで構成された
記憶手段CMM(カードデバイス・メモリ)と、拡張機能の
一例として通信機能を付加した事例で、例えば、外部通
信機器群400との無線通信をおこなうWCT 210(カードデ
バイス通信制御部)とで構成されている。尚、無線通信
技術には赤外線通信(IrDAなど)、電波通信などが
あるが、本実施形態では無線通信方式として微弱電波に
よる通信方式(BlueTooth準拠)を適用している。
Reference numeral 200 denotes a case where a storage means CMM (card device memory) constituted by a nonvolatile memory or the like and a communication function as an example of an extended function are added. For example, wireless communication is performed with an external communication device group 400. WCT 210 (card device communication control unit). Note that the wireless communication technology includes infrared communication (IrDA or the like), radio wave communication, and the like. In the present embodiment, a communication system using weak radio waves (compliant with BlueTooth) is applied as the wireless communication system.

【0065】外部通信機器群400はユーザーによりオ
プション的に用意される装置で、例えば、前述のKB 310
(キーボード入力装置)の代わりにWKB 410 (無線キー
ボード入力装置)を、前述のPDV 320(ポインティン
グ・デバイス)の代わりにWPDV 420 (無線ポインテ
ィングデバイス)を、前述のCP 130 (操作パネル)の代
わりにWCP 440 (無線操作パネル)を用意することで
出来るだけ装置全体の接続ケーブル数を減らした構成で
ある。
The external communication device group 400 is a device optionally prepared by the user.
WKB410 (wireless keyboard input device) in place of (keyboard input device), WPDV420 (wireless pointing device) in place of PDV 320 (pointing device) and CP 130 (operation panel) in place of the above By providing a WCP 440 (wireless operation panel), the number of connection cables of the entire device is reduced as much as possible.

【0066】このようにすることで、家庭におけるリビ
ングルームで画像処理システムを利用する上で、接続ケ
ーブルの本数を減すことにより、装置を利用する際の美
観を損ねたり、装置とユーザーとの操作距離に余裕をも
たせたり、安全面では接続コードに足を引っ掛けてしま
うなどの問題の対処をも可能である。
In this way, when using the image processing system in the living room at home, the number of connection cables is reduced, thereby deteriorating the aesthetic appearance of using the apparatus and the communication between the apparatus and the user. It is also possible to cope with problems such as allowing a sufficient operating distance and catching a foot on a connection cord in terms of safety.

【0067】CPH 430 (セルラーフォーン)はいわゆ
る携帯電話・PHSなどの移動通信体で、周知のように
少なくとも日本市場においては、これらの機器は近年急
速普及しており、加えて電子メール機能、インターネッ
ト通信などの付帯サービス機能も普及している背景に、
文字入出力手段を備えているものが多い。
CPH 430 (cellular phone) is a mobile communication device such as a so-called mobile phone or PHS. As is well known, at least in the Japanese market, these devices have been rapidly spreading in recent years. Behind the spread of ancillary service functions such as communication,
Many have character input / output means.

【0068】そこで、これらの機器に無線機能(公衆回
線を利用しない)を備えることによって、上記カードデ
バイス200とのデータ授受を行なえるようにして、例
えば、CPH 430 (セルラーフォーン)で公衆回線から
受信した電子メール、或いは機器に記憶している電話帳
データなどをCDV 200 (カードデバイス)を通じて、
プリンタ装置1あるいはホスト装置100との間で送受
信することで、ホスト装置に接続されているDISP 1
40 (画像入出力装置)上の大きな画面でメールを見た
り、メールなどを編集・作成したり、それらの情報を元
のCPH 430 (セルラーフォーン)にデータを保存した
り、または、プリンタ装置1で印刷したりすることが可
能である。
Therefore, these devices are provided with a wireless function (do not use a public line) so that data can be exchanged with the card device 200. The received e-mail or telephone directory data stored in the device can be sent through CDV 200 (card device).
The DISP 1 connected to the host device is transmitted and received between the printer device 1 and the host device 100.
40 E-mail is viewed on a large screen on the (image input / output device), edited and created, and the information is saved in the original CPH 430 (cellular phone), or the printer 1 Or can be printed.

【0069】更には、CPH 430 (セルラーフォーン)
に付帯している10キー入力操作および10キーなどに
よる文字入力操作などを、接続されているプリンタ装置
1、ホスト装置100などの他の機器が入力手段として
利用、或いはCPH 430(セルラーフォーン)に付帯
する表示器を接続されているプリンタ装置1、ホスト装
置100などの他の機器が出力手段として利用すること
も可能である。上記した機器以外にも、その他の機器に
無線通信機能を備えれば、例えばデジタル家電機器、パ
ーソナルコンピュータとのデータ授受もCDV 200
(カードデバイス)を介して可能であることは言うまでも
ない。また、本実施形態では一例として無線通信機能を
取り上げたが、その他有線通信、デジタル撮像器、など
の拡張機能をCDV 200 (カードデバイス)に付加す
ることも可能である。
Further, CPH 430 (cellular phone)
Other devices such as the connected printer device 1 and the host device 100 can use the 10-key input operation and the character input operation with the 10 keys and the like attached to the CPH 430 (cellular phone) as input means. Other devices such as the printer device 1 and the host device 100 to which the accompanying display is connected can be used as output means. In addition to the above-mentioned devices, if other devices are provided with a wireless communication function, for example, data exchange with a digital home appliance or a personal computer can be performed by the CDV 200.
Needless to say, this is possible via (card device). In the present embodiment, the wireless communication function is taken as an example. However, it is also possible to add an extended function such as a wired communication and a digital image pickup device to the CDV 200 (card device).

【0070】(実施形態3)次に図4を参照し、上述の
実施形態1および2で説明したPCT 11 (プリンタ制御
回路)にCCNT 31 (カード制御回路)を取り入れた構成
を説明する。
(Embodiment 3) Next, with reference to FIG. 4, a configuration in which a CCNT 31 (card control circuit) is incorporated in the PCT 11 (printer control circuit) described in the first and second embodiments will be described.

【0071】尚、本実施形態におけるホスト装置100
およびCDV 200 (カードデバイス)の構成は前述の図
1〜図3にて説明したものと同様なので、ここでは詳述
しない。
Note that the host device 100 in this embodiment is
The configuration of the CDV 200 (card device) is the same as that described with reference to FIGS.

【0072】前述の図1〜図3のCCT 30 (カード制御
部)と、プリンタ制御部10とは、両者をコネクタなど
で接続させ、両者の回路基板を物理的に別々に分離でき
る構成にしてある。そのため、インターフェース・バス
BUS3を設け、PWR 50 (電源)から単独に電源を供給さ
せるようにして、両者をコネクタにより結線させる構成
している。
The CCT 30 (card control unit) shown in FIGS. 1 to 3 and the printer control unit 10 are connected to each other by a connector or the like so that both circuit boards can be physically separated from each other. is there. Therefore, the interface bus
BUS3 is provided, and power is independently supplied from the PWR 50 (power supply), and both are connected by a connector.

【0073】この構成は例えば、ユーザーが装置購入後
にオプションとして後付けにて、上述のCCT 30 (カー
ド制御部)部分を購入し接続するような場合には適して
いる。しかし、装置の標準機能として、出荷時に最初か
らCCT 30 (カード制御部)を装着する場合には、コネ
クタや別電源供給させるための電源回路に要するコスト
が上昇してしまう。また、ユーザーにCCT 30 (カード
制御部)を取り付けてもらうために、プリンタ装置1の
筐体の一部を着脱可能な機構にしておく必要もあり、こ
の対処においてもコスト高になってしまう。
This configuration is suitable, for example, when the user purchases and connects the above-mentioned CCT 30 (card control unit) as an option after purchasing the device. However, if the CCT 30 (card control unit) is installed from the beginning as a standard function of the apparatus at the time of shipment, the cost required for a connector and a power supply circuit for supplying another power will increase. In addition, in order for the user to attach the CCT 30 (card control unit), it is necessary to make a part of the housing of the printer device 1 a detachable mechanism, and the cost increases even in this case.

【0074】そこで、本実施形態では上記コスト問題を
解決すべく図2に示したCCNT 31(カード制御回路)か
らCPU、インターフェース・バスBUS3のインターフェー
ス制御部を削除した制御部分をCCNT 40 (カード制御回
路)として、PCT 11 (プリンタ制御回路)に組み込んだ
構成にした。
Therefore, in the present embodiment, in order to solve the cost problem described above, the control part obtained by removing the CPU and the interface control unit of the interface bus BUS3 from the CCNT 31 (card control circuit) shown in FIG. (Circuit) was incorporated in PCT 11 (printer control circuit).

【0075】尚、本実施形態のPCT 11 (プリンタ制御
回路)には、インターフェース・バスBUS3用のインター
フェース制御部を削除し、CCNT 40 (カード制御回路)か
らもRAM12およびROM13へのアクセスを可能させ、また
CPUからCCNT 40(カード制御回路)を制御可能にするよう
なバス制御回路部を設けた物理的に1チップで構成した
半導体である。
In the PCT 11 (printer control circuit) of the present embodiment, the interface control unit for the interface bus BUS3 is deleted, and the RAM 12 and the ROM 13 can be accessed from the CCNT 40 (card control circuit). ,Also
It is a semiconductor which is physically constituted by one chip and provided with a bus control circuit unit which enables the CPU to control the CCNT 40 (card control circuit).

【0076】また、図2で説明したCCT 30 (カード制
御部)内部のRAM32およびROM33でCCNT 31 (カード
制御回路)が制御上に必要であった制御プログラム/デー
タなどの内容は、それぞれ図4のRAM12およびROM13に
含まれている。
The contents of the control program / data and the like required for control by the CCNT 31 (card control circuit) in the RAM 32 and the ROM 33 in the CCT 30 (card control unit) described with reference to FIG. RAM12 and ROM13.

【0077】更に、上述のPWR 50 (電源)ではCCT 30
(カード制御部)へ別に電源の供給線を備えていたが、本
構成により一体化したので本実施形態のPWR 55 (電源)
は電源の供給線を減少させることが可能である。以上の
ような構成をとることにより、制御基板上に配置する部
品点数、配置面積などを低減できるので、より安価な装
置を提供可能になる。
Further, in the above-mentioned PWR 50 (power supply), the CCT 30
Although a separate power supply line was provided for the (card control unit), the PWR 55 (power supply)
Can reduce the number of power supply lines. With the above configuration, the number of components to be arranged on the control board, the arrangement area, and the like can be reduced, so that a more inexpensive device can be provided.

【0078】(実施形態4)次に図5を参照し、上述の
実施形態3で説明したプリンタ制御部10の殆どの制御
部をPCT 11 (プリンタ制御回路)に組み入れた構成を
説明する。
(Embodiment 4) Next, with reference to FIG. 5, a description will be given of a configuration in which most of the control units of the printer control unit 10 described in Embodiment 3 are incorporated in a PCT 11 (printer control circuit).

【0079】尚、本実施形態におけるホスト装置100
およびCDV 200 (カードデバイス)の構成は前述の図
1〜図4にて説明したものと同様なので、ここでは詳述
しない。
The host device 100 according to the present embodiment
The configuration of the CDV 200 (card device) is the same as that described with reference to FIGS.

【0080】近年では半導体技術が急速に進化して、例
えば、0.25μルール、0.18μルールなどで半導体内の
配線・ゲート配置などが可能となり、従来に比べ高集積
度の半導体回路構成が可能になってきている。また、制
御回路を構成する上で必要になる比較的容量の大きいRO
M、RAMなど記憶デバイスも含めて、ひとつの半導体チッ
プに搭載可能になってきた。
In recent years, semiconductor technology has rapidly evolved. For example, wiring and gate arrangement in a semiconductor can be performed according to the 0.25 μ rule, 0.18 μ rule, etc., and a semiconductor circuit configuration with a higher degree of integration than before can be realized. It is becoming. In addition, a relatively large capacity RO required to construct the control circuit
It has become possible to mount it on a single semiconductor chip, including storage devices such as M and RAM.

【0081】これらの半導体技術は本発明の装置にも適
用可能であり、図5は実施形態3で説明したのRAM12
と、ROM13と、CCNT 40 (カード制御回路)と、実施形
態1および2の説明のインターフェース・バスBUS3用の
インターフェース制御部を削除し、CCNT 40 (カード制
御回路)からもRAM12およびROM13へのアクセスを可能
させ、またCPUからCCNT 40(カード制御回路)を制御可能
にするようなバス制御回路部を設けたPCT 50 (プリンタ
制御回路)とを物理的に1チップ上に構成した半導体で
ある。
These semiconductor technologies can also be applied to the device of the present invention, and FIG. 5 shows the RAM 12 described in the third embodiment.
, The ROM 13, the CCNT 40 (card control circuit), and the interface control unit for the interface bus BUS3 described in the first and second embodiments are deleted, and the CCNT 40 (card control circuit) also accesses the RAM 12 and the ROM 13. And a PCT 50 (printer control circuit) provided with a bus control circuit section that enables the CPU to control the CCNT 40 (card control circuit).

【0082】更に、上述のPWR 50 (電源)ではCCT 30
(カード制御部)へ別に電源の供給線を備えていたが、上
述の実施形態4と同様に、本構成により一体化したため
本実施形態のPWR 55 (電源)は電源の供給線を減少させ
ることが可能である。
Further, in the above-mentioned PWR 50 (power supply), the CCT 30
Although a separate power supply line was provided for the (card control unit), the power supply line of the PWR 55 (power supply) of the present embodiment was reduced because the power supply line was reduced by the same configuration as in the fourth embodiment. Is possible.

【0083】以上のような構成をとることにより、制御
基板上に配置する部品点数、配置面積などを上述の実施
形態4に比較して更に低減できるので、より安価な装置
を提供可能になる。
With the above-described configuration, the number of components to be arranged on the control board, the layout area, and the like can be further reduced as compared with the above-described fourth embodiment, so that a more inexpensive device can be provided.

【0084】尚、ROM13のプログラム容量、あるいは
製造上の都合などでROM13を含んだ1チップ化が適さ
ない場合には、ROM13部分を除外して、チップ外部のR
OMへアクセスするためのバス信号線などを設け、外付け
ROM13を備えれば良い。
If it is not suitable to integrate the ROM 13 into a single chip including the ROM 13 due to the program capacity of the ROM 13 or due to manufacturing reasons, the ROM 13 is excluded and R outside the chip is excluded.
Provide bus signal lines for accessing the OM, and attach externally
What is necessary is just to have ROM13.

【0085】(実施形態5)次に図6を参照し、上述の
実施形態1〜4で説明したプリンタ装置1とホスト装置
100との通信をおこなうためのホスト装置100の外
部インターフェース・バスBUS2を削除して、外部インタ
ーフェース・バスをBUS1ひとつだけにした構成を説明す
る。
(Embodiment 5) Next, referring to FIG. 6, an external interface bus BUS2 of the host device 100 for performing communication between the printer device 1 and the host device 100 described in the first to fourth embodiments will be described. A configuration in which the external interface bus is removed and only one BUS1 is described will be described.

【0086】図6中のBUSはBUS1と同一の機能で、前述
したEDV 170 (外部接続装置)に接続するための双方
向通信が可能な、いわゆる外部インターフェース・バス
あれば良く、例えば本実施形態においては、したIEE
E1394準拠の高速シリアル・バス(最大400Mbi
t/秒)を採用しており、デジタルカメラ、デジタルビ
デオカメラなどのデジタル家電装置、プリンタ装置、お
よび前述の文字などの入力操作を改善するためにKB 3
10(キーボード入力装置)、入力位置・GUI操作選択な
どを容易に指示させるためにマウス/タッチパッドなど
のPDV 320(ポインティング・デバイス)などのオプ
ション的装置群 300などを、前述のBUS1と同様にハブ
装置などを介して同時に接続することが可能である。
The BUS in FIG. 6 has the same function as the BUS1 and may be a so-called external interface bus capable of bidirectional communication for connection to the above-described EDV 170 (external connection device). In the IEEE
E1394 compliant high-speed serial bus (up to 400 Mbi
t / s), and to improve the input operation of digital home appliances such as digital cameras and digital video cameras, printers, and the above-mentioned characters and the like, KB 3
10 (keyboard input device) and optional device group 300 such as PDV 320 (pointing device) such as mouse / touch pad to easily indicate the input position / GUI operation selection, etc. It is possible to connect simultaneously via a hub device or the like.

【0087】尚、本実施形態における、ホスト装置10
0の上述した実施形態1〜4のSCT 111 (システム制
御部)の内部構成が若干変更になる。
Note that, in the present embodiment, the host device 10
The internal configuration of the SCT 111 (system control unit) of the first to fourth embodiments described above is slightly changed.

【0088】その変更点は、(1)上述のプリンタ装置
1およびオプション的装置群 300などデータ授受をさせ
る外部インターフェース・バスBUS2の制御を行なう
外部インターフェース制御部2を削除した点と、(2)
上述の外部インターフェース・バスBUS1を図6のBU
Sとして利用し、EDV 170 (外部接続装置)とのデータ
読み書きを、加えてプリンタ装置およびオプション的装
置群 300などデータの授受をおこなうように外部インタ
ーフェース制御部1を変更した点と、(3)上記プリン
タ装置1のPCT 11 (プリンタ制御回路)で説明した
外部インターフェース・バスBUS2を介してホスト装
置100とのデータ通信をおこなう外部インターフェー
ス制御部を、外部インターフェース・バスBUSを介し
てホスト装置100とのデータ通信をおこなう外部イン
ターフェース制御部に変更した点と、(4)上記オプシ
ョン的装置群 300などをBUSのインターフェース仕様に
適合したものに代える点である。
The changes are as follows. (1) The external interface control unit 2 for controlling the external interface bus BUS2 for exchanging data, such as the printer device 1 and the optional device group 300, is deleted.
The external interface bus BUS1 described above is connected to the BU of FIG.
(3) that the external interface control unit 1 is changed so as to be used as an S, to read and write data with the EDV 170 (external connection device), and to exchange data such as a printer device and an optional device group 300; An external interface control unit for performing data communication with the host device 100 via the external interface bus BUS2 described in PCT 11 (printer control circuit) of the printer device 1 is connected to the host device 100 via the external interface bus BUS. And (4) replacing the optional device group 300 and the like with those conforming to the BUS interface specification.

【0089】以上のような構成によっても、本発明の画
像処理システムへの適用は可能であり、本実施形態の構
成によればホスト装置から外部インターフェース制御部
2を削減させ、また、BUS2に接続するために必要であっ
たインターフェース接続コネクタなども削減できるので
装置全体の低コスト化が図れる。
With the above configuration, the present invention can be applied to the image processing system. According to the configuration of the present embodiment, the external interface control unit 2 can be eliminated from the host device, and the connection to BUS2 can be achieved. In addition, the number of interface connectors and the like required to perform the operation can be reduced, so that the cost of the entire apparatus can be reduced.

【0090】また、同時に複数の機器を接続しなくて良
い機能を望むユーザーに対しては、本実施形態で採用し
た外部インターフェースのコネクタは抜き差しが容易な
ので、必要なときに必要な機器だけを外部インターフェ
ースBUSに接続するように利用すれば上記ハブ装置さえ
も不要である。
For a user who wants a function that does not need to connect a plurality of devices at the same time, the connector of the external interface adopted in this embodiment is easy to connect and disconnect, so that only necessary devices can be externally connected when necessary. If used to connect to the interface BUS, even the above-mentioned hub device is unnecessary.

【0091】(実施形態6)次に、上述の実施形態1〜
5で説明したホスト装置100のシステム・メイン制御
部110内部に備えていた、メモリにファイルなどの情
報を保存記憶する際の時刻スタンプ、時計・カレンダー
機能、および印刷開始時刻などを生成するためのRTC
112 (リアルタイムクロック)を削減した構成について
説明する。
(Embodiment 6) Next, the above-described Embodiments 1 to
5 for generating a time stamp, a clock / calendar function, a print start time, and the like when storing information such as a file in a memory provided in the system main control unit 110 of the host device 100 described in RTC
A configuration in which 112 (real-time clock) is reduced will be described.

【0092】RTC 112 (リアルタイムクロック)は
電池などの二次電源を備えて、例えホスト装置に電力が
供給されていないときでも正しく時刻を計測するように
構成している。しかし、電池がある以上いづれ電池切れ
が発生し電池交換などが必要になる。また、ヨーロッパ
諸国を初めとする国々で、機器を廃棄する際に内蔵した
電池をユーザーが取り外せなければならいというような
環境対策規制などが予想される。
The RTC 112 (real-time clock) has a secondary power supply such as a battery, and is configured to correctly measure time even when power is not supplied to the host device. However, as long as there is a battery, the battery will eventually run out and it will be necessary to replace the battery. In addition, in countries such as European countries, regulations for environmental measures such as that users must be able to remove a built-in battery when disposing of equipment are expected.

【0093】その対処として、ユーザーがRTC 112
(リアルタイムクロック)用の電池を取り外せるような
機構構造にしておくなどの処置が必要になる。また、ユ
ーザーが取り外せるようにすることにより、誤操作など
による不本意な電池の取り外しも予想され、もしも、電
池が外されてしまうとRTC 112 (リアルタイムクロ
ック)内の時刻情報が狂ってしまう問題もある。
As a countermeasure against this, the user sets the RTC 112
It is necessary to take measures such as providing a mechanism for removing a (real-time clock) battery. Also, by allowing the user to remove the battery, it is expected that the battery is unintentionally removed due to an erroneous operation or the like. If the battery is removed, there is a problem that the time information in the RTC 112 (real-time clock) is lost. .

【0094】そこで、本実施形態では公共電波からの時
報・時刻または、インターネット/ネットワーク上に接
続させている標準時刻を所有する所定のサーバーから時
刻情報を、ホスト装置100が必要な際に取得するよう
にすることで、RTC 112(リアルタイムクロック)お
よびそれに付帯する電池を削減した。
Therefore, in the present embodiment, the time information and time from public radio waves or time information from a predetermined server having a standard time connected to the Internet / network is acquired when the host device 100 needs it. By doing so, the RTC 112 (real-time clock) and the batteries attached to it are reduced.

【0095】ホスト装置100は適時必要なタイミング
で、例えば、電源投入などのシステム起動時に手段で時
刻を入手し、内部のタイマー制御部を利用して時間管理
しておいて、その時間情報をシステム全体で利用する方
法、また、必要なタイミングで随時に手段により正確な
標準時刻を取得して、例えば、メモリにファイルなどの
情報を保存記憶する際の時刻スタンプを生成させ、ま
た、印刷開始時に時刻を取得しプリンタ装置1に与え、
この時プリンタ装置1側ではこの時刻と以前にヘッドな
どのメンテナンスした時刻とを比較して必要に応じ印字
ヘッドの目詰まりなどを解消させる用途などにも利用で
きる。
The host device 100 obtains the time by a means at a time necessary when the system is started, for example, when the power is turned on, and manages the time using an internal timer control unit, and stores the time information in the system. The method used as a whole, and also obtains the correct standard time by means at necessary timing as needed, for example, to generate a time stamp when storing information such as files in memory, and at the start of printing The time is obtained and given to the printer device 1,
At this time, the printer device 1 can also compare the time with the time when the maintenance of the head or the like was performed before, and can utilize the time to eliminate the clogging of the print head if necessary.

【0096】このような構成にするためには、装置がイ
ンターネットなどに接続されていること、或いは、公共
電波を受信できる機器などが接続されていることが前提
になるが、例えば一般的に家庭に備わっているTVやビデ
オ録画・再生装置などには時計などを備えていることが
多いので、それらの機器から時刻情報を取得することも
可能である。
In order to make such a configuration, it is premised that the device is connected to the Internet or the like, or a device capable of receiving public radio waves is connected. Since TVs and video recording / reproducing devices provided with such devices often include a clock or the like, it is also possible to acquire time information from these devices.

【0097】以上のように、本実施実施形態のような構
成をとれば、のようなシステム上の時刻管理機能の低下
または削減させることなく、上述のRTC 112 (リア
ルタイムクロック)および付帯する電池も削除できるの
で、ホスト装置1の部品および部品実装面積の削減が可
能なので、低コスト化を図ることも可能である。また、
上記環境問題にも対処可能な環境にやさしい機器をも提
供が可能である。
As described above, with the configuration as in the present embodiment, the RTC 112 (real-time clock) and the accompanying battery can be used without reducing or reducing the time management function on the system. Since the components can be deleted, the components of the host device 1 and the component mounting area can be reduced, so that the cost can be reduced. Also,
It is also possible to provide an environment-friendly device that can deal with the above-mentioned environmental problems.

【0098】(実施形態7)次に上述の実施形態で説明
した各部間の通信経路について説明する。
(Embodiment 7) Next, a communication path between the units described in the above embodiment will be described.

【0099】まず、図1〜図3の構成においては、ホス
ト装置100⇔プリンタ装置1⇔CCT30 (カード制御部)
⇔CDV 200(カードデバイス)の経路で情報授受をおこ
なう。即ち、(1)ホスト装置100は外部インターフ
ェース・バスBUS2を通じプリンタ装置1との間で通信、
(2)プリンタ装置1は外部インターフェース・バスBU
S3を通じPCT 11 (プリンタ制御回路)とCCT 30 (カー
ド制御部)との間で通信、(3)CCT 30 (カード制御部)
はデバイス・インターフェースを通じCCT 30(カード制
御部)内に設けたデバイス・インターフェース制御部と
CDV 200 (カードデバイス)との間で着脱検知・デー
タ授受制御・通信とをおこなうことにより所望のデータ
の授受が可能である。
First, in the configuration shown in FIGS. 1 to 3, the host device 100⇔the printer device 1⇔CCT30 (card control unit)
情報 Transfer information via the CDV 200 (card device) route. That is, (1) the host device 100 communicates with the printer device 1 through the external interface bus BUS2,
(2) The printer 1 is an external interface bus BU
Communication between PCT 11 (printer control circuit) and CCT 30 (card control unit) through S3, (3) CCT 30 (card control unit)
Exchanges desired data by performing attachment / detachment detection, data transfer control, and communication between the device interface control unit provided in the CCT 30 (card control unit) and the CDV 200 (card device) through the device interface. Is possible.

【0100】次に、図4および図5の構成においては、
ホスト装置100⇔プリンタ装置1⇔PCT 11 (プリン
タ制御回路)内のCCNT 40(カード制御回路)⇔CDV 200
(カードデバイス)の経路で情報授受をおこなう。即
ち、(4)ホスト装置100は外部インターフェース・
バスBUS2を通じプリンタ装置1との間で通信、(5)プ
リンタ装置1はPCT 11 (プリンタ制御回路)の内部バ
スを通じCCNT 40(カード制御回路)と通信、(6)CCNT
40(カード制御回路)はその内部のデバイス・インターフ
ェース制御部を通じCDV 200 (カードデバイス)との
間で着脱検知・データ授受制御・通信とをおこなうこと
により所望のデータの授受が可能である。
Next, in the configuration of FIGS. 4 and 5,
Host device 100 ⇔ Printer device 1 ⇔ CCNT 40 (card control circuit) in PCT 11 (printer control circuit) ⇔ CDV 200
Information is exchanged via the (card device) route. That is, (4) the host device 100 has an external interface
(5) The printer 1 communicates with the CCNT 40 (card control circuit) through the internal bus of the PCT 11 (printer control circuit), (6) CCNT
The 40 (card control circuit) can exchange desired data by performing attachment / detachment detection, data transfer control, and communication with the CDV 200 (card device) through the internal device interface control unit.

【0101】また、図6の構成においては、上記項目
(1)および(4)を次の項目(7)「(7)ホスト装
置100は外部インターフェース・バスBUSを通じプリ
ンタ装置1との間で通信、」のように代え、その他の上
記項目(2)、(3)、(5)(6)はそれぞれ同様と
する。
In the configuration of FIG. 6, the above items (1) and (4) are replaced with the following items (7) "(7) The host device 100 communicates with the printer device 1 through the external interface bus BUS. And the other items (2), (3), (5) and (6) are the same.

【0102】図7は上記通信経路を図で説明するもの
で、図中の矢印はデータの授受を表している。まず、図
中左側から「Host」は上記ホスト装置100を意味す
る。その右側矢印の先「通信制御部」はプリンタ装置1
内にて送受信データ振り分け制御し、下側矢印の先は印
刷系のコマンド/データを受信した際に、プリンタ装置
1の内部で受信データを処理させ印刷出力などを行うこ
とを示している。
FIG. 7 is a diagram for explaining the above-mentioned communication path, and the arrows in the figure represent the exchange of data. First, “Host” from the left side in the figure means the host device 100. The “communication control unit” at the end of the right arrow is the printer 1
The transmission / reception data distribution control is performed within the printer device, and the bottom of the arrow indicates that when printing-related commands / data are received, the received data is processed inside the printer device 1 and printout is performed.

【0103】「通信制御部」の右側矢印の先「Card Contr
oller」は上記CCT 30 (カード制御部)またはCCNT 40(カ
ード制御回路)を意味する。その下側矢印の先「Card De
vice」は上記CDV 200 (カードデバイス)を意味して
いる。
[Card Control]
"oller" means the CCT 30 (card control unit) or CCNT 40 (card control circuit). The point of the down arrow "Card De
“vice” means the CDV 200 (card device).

【0104】その下側矢印の先「外部接続デバイス」は
図3において説明した、ユーザーによりオプション的に
用意される外部通信機器群400を意味しており、例え
ば、WKB 410 (無線キーボード入力装置)、WPDV 420
(無線ポインティングデバイス)、WCP 440 (無線操
作パネル)、CPH 430 (セルラーフォーン)などの機器
とでも、CDV 200 (カードデバイス)を通じ情報授受
が可能であることを表している。
[0104] The "external connection device" at the end of the downward arrow indicates the external communication device group 400 optionally prepared by the user as described with reference to FIG. 3, for example, WKB 410 (wireless keyboard input device). , WPDV 420
(Wireless pointing device), WCP 440 (wireless operation panel), CPH 430 (cellular phone), and other devices can transmit and receive information through CDV 200 (card device).

【0105】(実施形態8)次に上述の実施形態で説明
した通信経路上の通信情報について説明する。図8は通
信情報の形式を説明するものである。
(Embodiment 8) Next, communication information on the communication path described in the above embodiment will be described. FIG. 8 illustrates the format of the communication information.

【0106】本実施形態において通信はパケット形式を
適用していて、その通信情報を大別すると以下の4種類
ある。つまり、(1)プリンタ装置1に対する印刷機能
に関する要求などの通信用のPCMDパケット、(2)プリ
ンタ装置1の印刷機能に伴う各種状態情報または、印刷
機能に伴う返答値などの情報の通信用のPSTRパケット、
(3)CDV 200 (カードデバイス)に纏わる各種機能に
関する要求などの通信用のCCMDパケット、(4)CDV 20
0 (カードデバイス)に纏わる各種状態情報または、返
答値などの送信情報の通信用のPCSTRパケットを用意し
ている。
In this embodiment, communication uses a packet format, and the communication information is roughly classified into the following four types. That is, (1) a PCMD packet for communication such as a request for a printing function to the printer device 1, and (2) communication status information such as various status information associated with the printing function of the printer device 1 or a response value associated with the printing function. PSTR packet,
(3) CCMD packet for communication such as requests for various functions related to CDV 200 (card device), (4) CDV 20
A PCSTR packet for communication of transmission information such as various status information related to 0 (card device) or a response value is prepared.

【0107】次に、パケット内の情報を説明する。ま
ず、PCMDは印刷機能要求を示す拡張コード「Esc」1B
(Hex)を先頭に、続いて可変長文字列「Cmd」は要求の
詳細を予め約束された文字列にて表現したコマンドで、
最後に可変長データ「Data」はコマンドに付随するデー
タでコマンドの種類によっては省略されるが、データが
ある場合には「Data」内の情報量を表す2バイト長の
「レングス情報」(不図示)を先頭にコマンドに付随する
データが列挙される。尚、本実施形態の「レングス情
報」は16ビットでバイト数を表現していて、最初の1バ
イトに下位8ビット、続く1バイトに上位8ビットを指定
する。また、「レングス情報」値は「Data」内の「レン
グス情報」に続く情報量をバイト数で表現している。
Next, information in the packet will be described. First, PCMD is an extension code "Esc" 1B indicating a print function request.
(Hex), followed by a variable-length character string “Cmd”, which is a command that expresses the details of the request in a character string that has been promised in advance.
Finally, the variable-length data “Data” is data accompanying the command and is omitted depending on the type of command, but if there is data, the 2-byte length “length information” (non- The data accompanying the command is listed at the head of (illustration). Note that the “length information” of the present embodiment expresses the number of bytes with 16 bits, and specifies the lower 8 bits in the first byte and the upper 8 bits in the subsequent byte. The “length information” value represents the amount of information following “length information” in “Data” by the number of bytes.

【0108】(PCMDパケット例)Hex表記は1B 5B 4B 02
00 41 42、「Cmd」は 5B 4B、「Data」は 02 00 41 4
2、「レングス情報」は2バイトを示す。
(Example of PCMD packet) Hex notation is 1B 5B 4B 02
00 41 42, “Cmd” is 5B 4B, “Data” is 02 00 41 4
2. "Length information" indicates 2 bytes.

【0109】次に、PSTRは2バイト長で「Str」のバイト
数を表す「Len」を先頭に、可変長情報「Str」はプリン
タ装置の印刷機能に伴う各種状態情報または、印刷機能
に伴う返答値などの送信情報を表し、先頭の情報は「F
s」1C(Hex)以外の文字である。
Next, the PSTR starts with “Len”, which is 2 bytes long and indicates the number of bytes of “Str”, and the variable length information “Str” is associated with various status information associated with the printing function of the printer device or with the printing function. Indicates transmission information such as response value, and the first information is "F
s "is a character other than 1C (Hex).

【0110】尚、本実施形態の「Len」は16ビットでバ
イト数を表現していて、最初の1バイトに下位8ビット、
続く1バイトに上位8ビットを指定する。更に、カードデ
バイス制御部にPSTRパケットを返送する場合「Len」の
最初の1バイトの値に如何なる場合にも1C(Hex)を与
えないように制御している。もしも「Str」のデータ長
の都合で「Len」の最初の1バイトが1C(Hex)になって
しまう際には「Len」に1を加え、かつ「Str」の末尾に
ダミーのNULLデータを付加するようにしている。何故な
ら、後述するCCMDパケットの先頭は拡張コード「Fs」1
C(Hex)だからである。このようにすることで、カード
デバイス制御部の受信データ解析処理を容易にさせてい
る。
Note that “Len” in this embodiment expresses the number of bytes with 16 bits, and the first byte has the lower 8 bits,
Specify the upper 8 bits in the following 1 byte. Further, when returning a PSTR packet to the card device control unit, control is performed so that 1C (Hex) is not given to the value of the first byte of “Len” in any case. If the first byte of “Len” becomes 1C (Hex) due to the data length of “Str”, add 1 to “Len” and add dummy NULL data to the end of “Str”. I am trying to add it. The reason is that the beginning of the CCMD packet described later is the extension code "Fs" 1
Because C (Hex). This facilitates the reception data analysis processing of the card device control unit.

【0111】(PSTRパケット例) Hex表記 03 00 30 3
1 32は、「Len」は 03 00、「Str」は 30 31 32、「Le
n」は3バイトを示す。
(Example of PSTR packet) Hex notation 03 00 30 3
1 32 is “Len” 03 00, “Str” is 30 31 32, “Le
"n" indicates 3 bytes.

【0112】次に、CCMDはCDV 200 (カードデバイス)
に纏わる各種機能に関する要求を表す拡張コード「Fs」
1C(Hex)を先頭に、続いて要求元を表す1バイト長の
「N」で、例えば"H"であればホスト装置、"P"であれば
プリンタ装置が要求元であると識別可能である。続く可
変長文字列「Cmd」は要求の詳細を予め約束された文字
列にて表現したコマンドで、最後に可変長データ「Dat
a」はコマンドに付随するデータでコマンドの種類によ
っては省略されるが、データがある場合には「Data」内
の情報量を表す2バイト長の「レングス情報」(不図示)
を先頭にコマンドに付随するデータが列挙される。
Next, CCMD is CDV 200 (card device).
Code "Fs" that represents the requirements for various functions related to
1C (Hex) at the head, followed by a 1-byte length "N" representing the request source. For example, if "H", the host device can be identified, and if "P", the printer device can be identified as the request source. is there. The following variable-length character string “Cmd” is a command that expresses the details of the request in a character string that has been promised in advance.
`` a '' is data accompanying the command and is omitted depending on the type of command, but if there is data, 2-byte length information indicating the amount of information in `` Data '' (not shown)
The data accompanying the command is enumerated at the beginning.

【0113】尚、本実施形態の「レングス情報」は16ビ
ットでバイト数を表現していて、最初の1バイトに下位8
ビット、続く1バイトに上位8ビットを指定する。また、
「レングス情報」値は「Data」内の「レングス情報」に
続く情報量をバイト数で表現している。
Note that the “length information” of the present embodiment expresses the number of bytes by 16 bits, and the lower byte is expressed in the first byte.
Specify the upper 8 bits in a bit and the following byte. Also,
The “length information” value indicates the amount of information following “length information” in “Data” in bytes.

【0114】(CCMDパケット例) Hex表記 1C 48 41 3
1 01 00 35 は、「N」は48(ホスト装置が要求元)、「C
md」は 41 31、「Data」は 01 00 35、「レングス情
報」は1バイトを示す。
(Example of CCMD packet) Hex notation 1C 48 41 3
For 1 01 00 35, "N" is 48 (host device is the request source), "C
"md" indicates 41 31, "Data" indicates 01 00 35, and "length information" indicates 1 byte.

【0115】そして、CSTRは2バイト長で「Fs」「N」
「Str」の総バイト数を表す「Len」を先頭に、続いてCD
V 200 (カードデバイス)に纏わる各種状態情報また
は、返答値などの送信情報を表す拡張コード「Fs」1C
(Hex)、続いて送信先を表す1バイト長の「N」で、例
えば"H"であればホスト装置、"P"であればプリンタ装置
が送信先であると識別可能である。可変長情報「Str」
はCDV 200 (カードデバイス)に纏わる各種状態情報ま
たは、返答値などの送信情報を表す。
The CSTR has a 2-byte length of "Fs" and "N".
"Len", which represents the total number of bytes of "Str", followed by CD
Extended code "Fs" 1C indicating various status information related to V200 (card device) or transmission information such as response value
(Hex) Next, “N” having a 1-byte length indicating a transmission destination can be identified as, for example, a host device if “H” and a printer device if “P”. Variable length information "Str"
Represents various status information related to the CDV 200 (card device) or transmission information such as a response value.

【0116】尚、本実施形態の「Len」は16ビットでバ
イト数を表現していて、最初の1バイトに下位8ビット、
続く1バイトに上位8ビットを指定する。更に、「Len」
の最初の1バイトの値に如何なる場合にも1B(Hex)を
与えないように制御している。もしも「Str」のデータ
長の都合で「Len」の最初の1バイトが1B(Hex)になっ
てしまう際には「Len」に1を加え、かつ「Str」の末尾
にダミーのNULLデータを付加するようにしている。何故
なら、上記PCMD、PSTRパケットの構成は標準的に利用さ
れている仕様で、CCMDおよびCSTRパケット型を付加した
ことで、仕様を変更すると従来との互換性を損なうから
である。
Note that “Len” in the present embodiment expresses the number of bytes with 16 bits, and the first byte has the lower 8 bits,
Specify the upper 8 bits in the following 1 byte. Furthermore, "Len"
Is controlled not to give 1B (Hex) in any case to the value of the first byte of. If the first byte of “Len” becomes 1B (Hex) due to the data length of “Str”, add 1 to “Len” and add dummy NULL data to the end of “Str”. I am trying to add it. The reason for this is that the configuration of the PCMD and PSTR packets is a standardly used specification, and adding the CCMD and CSTR packet types causes a change in the specification to impair compatibility with the related art.

【0117】(CSTRパケット例) Hex表記 05 00 1C 5
0 41 42 43は、「Len」は 05 00、「N」は50(プリンタ
装置が送信先)、「Str」は 41 42 43、「Len」は5バイ
トを示す。
(Example of CSTR packet) Hex notation 05 00 1C 5
0 41 42 43 indicates “Len” is 0500, “N” is 50 (the destination of the printer device), “Str” is 41 42 43, and “Len” is 5 bytes.

【0118】次に、図9を参照して、上記パケットを用
いた通信制御について説明する。尚、図中の縦線は通信
拠点を表すもので、左から「Host」はホスト装置100
を、「Printer」はプリンタ装置1を、「Card」はCCT 3
0 (カード制御部)などのCDV 200 (カードデバイス)
の制御部を示している。
Next, with reference to FIG. 9, communication control using the packet will be described. Note that the vertical lines in the figure represent communication bases, and “Host” is a host device 100 from the left.
, “Printer” is printer device 1, “Card” is CCT 3
CDV 200 (card device) such as 0 (card controller)
Is shown.

【0119】まず、(1)PCMDパケット型のPCDM1によ
りホスト装置はプリンタ装置に印刷機能関連の状態返送
を要求する。
First, (1) the host device requests the printer device to return the status related to the printing function by the PCDM packet type PCDM1.

【0120】(2)これを受けたプリンタ装置は要求さ
れたパケットの先頭が「Esc」であることから印刷関連
の要求であると解釈しプリンタ内部の状態を収集し状態
情報を生成する。そして、プリンタ装置はPSTRパケット
型のPSTR1により状態情報をホスト装置に返送する。
(2) The printer apparatus receiving the request interprets the request as a print-related request because the head of the requested packet is "Esc", collects the internal state of the printer, and generates state information. Then, the printer device returns status information to the host device using PSTR1 of the PSTR packet type.

【0121】(3)次に、ホスト装置はCCMDパケット型
のCCMD1によりカードデバイスに纏わる状態返送を要求
する。
(3) Next, the host device requests the CCMD1 of the CCMD packet type to return the status associated with the card device.

【0122】(4)これを受けたプリンタ装置は要求さ
れたパケットの先頭が「Fs」であることからカードデバ
イスに纏わる要求であると解釈し、上述のインターフェ
ース手段によりCCT 30 (カード制御部)などのカード
デバイス制御部に受信したCCMD1を転送する。
(4) The printer apparatus receiving the request interprets the request as being related to the card device since the head of the requested packet is "Fs", and the CCT 30 (card control unit) by the above interface means. The received CCMD1 is transferred to a card device control unit such as the like.

【0123】(5)カードデバイス制御部は要求された
パケットの先頭が「Fs」であることから、そのパケット
を解析しホスト装置からの要求に応じCDV 200 (カード
デバイス)の装着状態、カードデバイスの状態、および
カード制御部の内部状態などを収集し状態情報を生成す
る。そして、カードデバイス制御部はCSTRパケット型の
CSTR1により要求元のホスト装置に状態情報を返送すべ
く、先に受信したCCMD1の「N」識別子をこれから返送し
ようとするCSTR1の「N」識別子にコピーして、CSTR1パ
ケットをプリンタ装置に送る。
(5) Since the head of the requested packet is "Fs", the card device control unit analyzes the packet and responds to a request from the host device to determine the mounting state of the CDV 200 (card device) and the card device. , The internal state of the card control unit, and the like to generate state information. Then, the card device controller controls the CSTR packet type.
In order to return status information to the requesting host device by CSTR1, the "N" identifier of CCMD1 received earlier is copied to the "N" identifier of CSTR1 to be returned, and a CSTR1 packet is sent to the printer device.

【0124】(6)プリンタ装置はカードデバイス制御
部から送られてきたCSTR1の「N」識別子が"H"であるこ
とから、CSTR1パケットをホスト装置に転送する。この
ように、ホスト装置はプリンタ装置を介してカードデバ
イス制御部からの状態情報を取得できる。
(6) Since the "N" identifier of CSTR1 sent from the card device control unit is "H", the printer device transfers the CSTR1 packet to the host device. As described above, the host device can acquire the status information from the card device control unit via the printer device.

【0125】(7)次に、カードデバイス制御部がPCMD
パケット型のPCMD2によりプリンタ装置に印刷機能関連
の状態返送を要求する。
(7) Next, the card device control unit sets the PCMD
A packet type PCMD2 requests the printer to return the status related to the printing function.

【0126】(8)これを受けたプリンタ装置は要求さ
れたパケットの先頭が「Esc」であることから印刷関連
の要求であると解釈し、プリンタ内部の状態を収集し状
態情報を生成する。そして、プリンタ装置はカードデバ
イス制御部側よりPCMD2の要求があったので、PSTRパケ
ット型のPSTR2により状態情報をカードデバイス制御部
に返送する。
(8) The printer apparatus receiving the request interprets the request as a print-related request because the head of the requested packet is "Esc", and collects the internal state of the printer to generate state information. Then, since the printer device has received a request for PCMD2 from the card device control unit, the printer device returns status information to the card device control unit using PSTR2 of the PSTR packet type.

【0127】以上のように通信制御することでホスト装
置がプリンタ装置を通じカードデバイス間とでデータ授
受が円滑におこなえるわけである。
By controlling the communication as described above, the host device can smoothly exchange data with the card device through the printer device.

【0128】(実施形態9)上述の実施形態の通信制御
は通信拠点が3種類の場合について説明した。上記のよ
うな制御方式は図9で説明したように、要求元である通
信拠点が要求先から応答を必要とする場合は、要求元は
要求先から応答が返るまで待つ必要がある。図9のよう
に順次通信制御の形態での利用のみで良ければ、上記図
1〜6で説明した構成の外部インターフェース・バスBU
S2での通信と、インターフェースBUS3或いはカード制御
回路CCNTへの内部バスでの通信とを、排他的に利用する
ような制御形態にしても機器間の通信制御速度などの問
題がない場合には、上記実施形態8の構成で十分であ
り、そうすることでプリンタ内部の制御回路構成が簡略
化可能である。
(Embodiment 9) The communication control of the above embodiment has been described for the case where there are three types of communication bases. As described above with reference to FIG. 9, in the control method described above, when the requesting communication base requires a response from the request destination, the request source must wait until a response is returned from the request destination. If only the use in the form of sequential communication control as shown in FIG. 9 is sufficient, the external interface bus BU having the configuration described in FIGS.
If there is no problem such as the communication control speed between the devices even in the control mode in which the communication in S2 and the communication in the internal bus to the interface BUS3 or the card control circuit CCNT are exclusively used, The configuration of the eighth embodiment is sufficient, and by doing so, the control circuit configuration inside the printer can be simplified.

【0129】また、通信制御速度をアップさせる必要が
ある場合でも、通信拠点が3種類程度であるならば、特
にような排他的制御しなくとも十分に機器間における相
互通信するための序列管理、パケット種別判別などを制
御しての通信制御速度アップは可能である。
Even when it is necessary to increase the communication control speed, if there are only about three types of communication bases, there is no need to perform exclusive control, so that the order management for sufficient mutual communication between devices can be performed. It is possible to increase the communication control speed by controlling the packet type determination and the like.

【0130】しかし、図3において説明した、ユーザー
によりオプション的に用意される外部通信機器群400
を意味しており、例えば、WKB 410 (無線キーボード入
力装置)、WPDV 420 (無線ポインティングデバイ
ス)、WCP 440 (無線操作パネル)、CPH 430 (セル
ラーフォーン)などの機器とでも、CDV 200 (カード
デバイス)を通じ情報授受させ、それらの機器を統合的
に本システム構成上で相互に利用しようとすると、接続
される機器が増大するため機器間における相互通信する
ための序列管理、パケット種別判別などの困難と、通信
制御速度が技術的課題として生じてくる。そこで、本実
施形態においては多数の機器の接続時にも機器間の通信
制御を円滑にさせるための制御方法を以下に説明する。
However, the external communication device group 400 optionally prepared by the user described with reference to FIG.
For example, WKB 410 (wireless keyboard input device), WPDV 420 (wireless pointing device), WCP 440 (wireless operation panel), CPH 430 (cellular phone), etc., and CDV 200 (card device) ), The use of these devices in an integrated manner in this system configuration increases the number of connected devices, making it difficult to manage the order of communication between devices and determine packet types. Then, the communication control speed arises as a technical problem. Therefore, in the present embodiment, a control method for facilitating communication control between devices even when many devices are connected will be described below.

【0131】図10は本実施形態における、接続機器と
の間で通信するためのパケットを説明するものである。
本パケットは7つのフィールドで構成されおり、その各
々のフィールドの機能目的を以下に述べる。尚、「Le
n」〜「Did2」までのフィールドは固定長で、いかなる
要求・応答メッセージでも必要である。
FIG. 10 illustrates a packet for communicating with a connected device in the present embodiment.
This packet is composed of seven fields, and the functional purpose of each field is described below. In addition, "Le
The fields from "n" to "Did2" have a fixed length and are required for any request / response message.

【0132】(1)「Len」フィールドは、続く「Rn」
〜「Data/Str」までのデータ長を表し、本実施形態では
データ長をバイト数にて16ビット長の絶対値で表す。
(1) The “Len” field is followed by “Rn”
「Data / Str”, and in the present embodiment, the data length is represented by an absolute value of 16 bits in bytes.

【0133】(2)「Rn」フィールドは、要求元が必要
に応じて利用する識別子で要求番号を指定できる。本実
施形態では、8ビット長で要求番号を表現し、値が0の
場合は要求番号を利用しないことを表し、1〜255の
場合は要求番号として利用できる。この要求番号を利用
することにより、例えば要求に対する応答順序管理する
ことが可能である。
(2) In the “Rn” field, a request number can be designated by an identifier used by the request source as needed. In the present embodiment, the request number is represented by an 8-bit length. When the value is 0, it indicates that the request number is not used, and when the value is 1 to 255, it can be used as the request number. By using this request number, it is possible to manage the order of responses to requests, for example.

【0134】(3)「Msg」フィールドは、要求メッセ
ージの機能を大分類させる識別子で下記表1のような意
味合いを持ち、本実施形態では識別子を8ビット長の絶
対値で表す。
(3) The “Msg” field is an identifier for classifying the function of the request message into large categories and has the meaning as shown in Table 1 below. In the present embodiment, the identifier is represented by an 8-bit absolute value.

【0135】[0135]

【表1】 【table 1】

【0136】表1で、「MsgPacketSize」は次に大き
なサイズのパケットを送る前に、要求元がそのメッセー
ジパケット・サイズの受信可能であるかを要求先に確認
させる要求である。
In Table 1, "MsgPacketSize" is a request for requesting the requestor to confirm whether the requester can receive the message packet size before sending the next larger packet.

【0137】「MsgDevConfig」は後述の表4のConfig
情報(デバイス構成情報)を返送させる要求である。
"MsgDevConfig" is a Config in Table 4 described later.
This is a request to return information (device configuration information).

【0138】「MsgDevStatus」は後述の表5のStatus
情報(デバイス状態情報)を返送させる要求であり、更
に必要な詳細状態項目を所定の予約語などで定められた
パラメータによるリスト形式の文字列にてDataフィール
ドに指定できる。
“MsgDevStatus” is the Status in Table 5 below.
This is a request to return information (device status information), and further necessary detailed status items can be specified in the Data field by a list-format character string using parameters determined by a predetermined reserved word or the like.

【0139】「MsgUI」は後述の表6のUI制御コマン
ドをDataフィールドに伴いUI(ユーザーインターフェー
ス(操作))資源に関する機能を要求する。
[0139] "MsgUI" requests functions related to UI (user interface (operation)) resources in conjunction with a UI control command shown in Table 6 described below along with the Data field.

【0140】「MsgFile」は後述の表8のFile制御コ
マンドをDataフィールドに伴いファイル操作に関する機
能を要求する。
“MsgFile” requests a function related to file operation with a File control command of Table 8 described below in association with a Data field.

【0141】「MsgPrint」は全ての印刷に関する機能
を要求する。
"MsgPrint" requests all printing functions.

【0142】「MsgPrintText」はホスト装置を介せず
プリンタ装置だけで印刷可能な簡易印刷に関する機能を
要求する。
“MsgPrintText” requests a function related to simple printing that can be printed only by a printer device without going through a host device.

【0143】「MsgCommand」は上記以外の拡張コマン
ドに関する機能を要求する。
"MsgCommand" requests a function related to an extended command other than the above.

【0144】(4)「Ack」フィールドは、下表2に示
すように要求メッセージに対する応答の有無、或いは応
答メッセージでの可否判定を伝えるため情報で、本実施
形態では情報を8ビット長の絶対値で表す。
(4) The “Ack” field is information for notifying the presence or absence of a response to the request message or determining whether or not the response message is acceptable, as shown in Table 2 below. In the present embodiment, the information is an 8-bit absolute value. Expressed by value.

【0145】[0145]

【表2】 [Table 2]

【0146】表2で、「AckNoReply」は要求メッセー
ジに対する応答不要を指示する。
[0146] In Table 2, "AckNoReply" indicates that no response to the request message is required.

【0147】「AckWaitReply」は要求メッセージに対
する応答必要を指示する。
"AckWaitReply" indicates that a response to the request message is necessary.

【0148】「AckReplyOk」は応答要求必要指示され
たメッセージに対する応答メッセージ返信であることを
表現する。
“AckReplyOk” indicates that the message is a response message reply to the message instructed to require the response request.

【0149】「AckReplyNg」は応答要求必要指示され
たメッセージに対する応答メッセージ返信が不可能であ
るとか、要求メッセージに対してエラーが発生した場合
などの状態を表現する。また、AckNoReplyおよびAckWai
tReplyは要求メッセージ、AckReplyOkおよびAckReplyNg
は応答メッセージであることを表す。
"AckReplyNg" expresses a state such as when it is impossible to return a response message to a message instructed to require a response request, or when an error occurs in the request message. Also, AckNoReply and AckWai
tReply is the request message, AckReplyOk and AckReplyNg
Indicates a response message.

【0150】(5)「Did1」フィールドは、要求元のデ
バイス種類を表現し、本実施形態ではデバイス種類を8
ビット長の絶対値で表す。デバイス種類に関しては下表
3を参照のこと。
(5) The “Did1” field expresses the device type of the request source.
Expressed as the absolute value of the bit length. See Table 3 below for device types.

【0151】(6)「Did2」フィールドは、要求先の
デバイス種類を表現し、本実施形態ではデバイス種類を
8ビット長の絶対値で表す。デバイス種類に関しては下
表3を参照のこと。尚、応答メッセージはDid2のデバイ
スからDid1のデバイスに返信されるが、その際Did1およ
びDid2を入換えない。
(6) The “Did2” field represents the type of the device of the request destination. In the present embodiment, the type of the device is represented by an 8-bit absolute value. See Table 3 below for device types. The response message is returned from the device of Did2 to the device of Did1, but Did1 and Did2 are not exchanged at this time.

【0152】[0152]

【表3】 [Table 3]

【0153】表3に列挙したデバイス間で相互通信が可
能であり、デバイス毎にデバイス種類を識別するための
番号を割当ている。
The devices listed in Table 3 can communicate with each other, and a number for identifying a device type is assigned to each device.

【0154】ここで以下の点に注意されたい、上記した
各デバイス自体が個々に物理的に上記したような制御手
段を必ずしも備える必要はなく、例えば上述の図1〜図
6において説明したホスト装置100にのみに直接接続
され他デバイスから直接通信できない構成のデバイス、
例えば上記デバイスにおけるDevCp(操作パネル CP 13
0)、DevDisp(画像入出力装置 DISP 140)、DevAud(音
声入出力装置 AUD 140)、DevEmm(外部メモリ EMM 180)
などの各々に本通信制御回路や制御手段を備える必要は
なく、ホスト装置100の制御プログラムなどにより列
挙したデバイスに対してエミューレーションなどの手法
により外接続のデバイス装置時から同一通信制御にみえ
るようにホスト装置100が制御すれば良い。
It should be noted here that the above-mentioned devices do not necessarily have to be individually provided with the above-described control means. For example, the host device described with reference to FIGS. A device that is directly connected to only 100 and cannot communicate directly with other devices,
For example, DevCp (operation panel CP 13
0), DevDisp (image input / output device DISP 140), DevAud (audio input / output device AUD 140), DevEmm (external memory EMM 180)
It is not necessary to provide the present communication control circuit or control means in each of the devices, and the same communication control can be seen from the time of an externally connected device device by a method such as emulation for devices enumerated by a control program of the host device 100 or the like. It is sufficient that the host device 100 performs control.

【0155】そうすることで装置全体のコストを節減可
能である。同様にして、プリンタ装置1がDevCct(カー
ド制御部 CCT 30)、DevCdv(カードデバイス CDV 20
0)、DevCmm(カードデバイス・メモリ)などデバイスの
通信制御の代行もできる。勿論、カード制御部 CCT 30
に上述の通信制御手段を用意してDevCdv(カードデバイ
スCDV 200)、DevCmm(カードデバイス・メモリ)などデ
バイスに対する通信制御の代行、また、カードデバイス
CDV 200に接続されるDevWkb(無線キーボード WKB 41
0)、DevWcp(無線ホ゜インティンク゛テ゛ハ゛イス WPDV 420)、DevW
cp(無線操作パネルWCP 440)などの外部デバイスに対
しても、Printer装置1、DevCct(カード制御部 CCT 3
0)、若しくはDevCdv(カードデバイス CDV 200)などに
より通信制御の代行が可能である。
By doing so, the cost of the entire apparatus can be reduced. Similarly, if the printer device 1 is DevCct (card control unit CCT 30), DevCdv (card device CDV 20
0), communication control of devices such as DevCmm (card device / memory) can also be performed. Of course, the card control unit CCT 30
The above-mentioned communication control means is prepared in place of communication control for devices such as DevCdv (card device CDV 200), DevCmm (card device / memory), and card device.
DevWkb (wireless keyboard WKB 41 connected to CDV 200
0), DevWcp (wireless pointing device WPDV 420), DevWcp
For an external device such as cp (wireless operation panel WCP 440), the printer device 1, DevCct (card control unit CCT 3
0) or communication control can be performed by DevCdv (card device CDV 200).

【0156】(7)「Data/Str」フィールドは、Msgフ
ィールドで指示される機能に伴った詳細な機能指示や、
状態情報などの付帯情報を授受するため可変長データ
で、要求メッセージでは要求機能の詳細なコマンド等の
パラメータを指定するDataフィールドとして、応答メッ
セージでは要求に対する戻り値などのパラメータを返信
するStrフィールドとして機能する。
(7) The “Data / Str” field contains detailed function instructions associated with the function indicated by the Msg field,
Variable length data for sending and receiving supplementary information such as status information.In a request message, as a Data field that specifies parameters such as detailed commands of the request function, and in a response message, as a Str field that returns parameters such as the return value to the request. Function.

【0157】例えば上記Msgフィールドが、MsgPacket
Size要求のときはパケットサイズ値を指示する。
For example, if the Msg field is an MsgPacket
In the case of a Size request, a packet size value is indicated.

【0158】MsgDevConfig要求に対する応答メッセー
ジは下表4のConfig情報を返信する。
[0158] A response message to the MsgDevConfig request returns the Config information in Table 4 below.

【0159】MsgDevStatus要求対する応答メッセージ
は下表5のStatus情報を返信する。 MsgUI要求のときは下表6のUI制御コマンドおよび必
要に応じて下表7のUI情報などを指示する。
The response message to the MsgDevStatus request returns the status information shown in Table 5 below. In the case of an MsgUI request, a UI control command shown in Table 6 below and, if necessary, UI information shown in Table 7 below are instructed.

【0160】MsgUI要求に対する応答メッセージは下
表7のUI情報などを返信する。
[0160] The response message to the MsgUI request returns the UI information in Table 7 below.

【0161】MsgFile要求のときは下表8のFile制御
コマンドおよび必要に応じてファイル名・書込みデータ
などを指示する。
In the case of an MsgFile request, a File control command shown in Table 8 below and a file name, write data, and the like are specified as required.

【0162】MsgFile要求に対する応答メッセージは
下表8のFile制御コマンドおよび必要に応じてファイル
名・読出しデータなどを返信する。
A response message to the MsgFile request returns a File control command shown in Table 8 below and, if necessary, a file name and read data.

【0163】MsgPrint要求のときは印刷制御情報を指
示する。
At the time of the MsgPrint request, the print control information is specified.

【0164】MsgPrintText要求のときは簡易印刷制御
情報を指示する。
In the case of an MsgPrintText request, simple print control information is specified.

【0165】(10)MsgCommand要求のときは拡張機能制御
情報を指示する。
(10) In the case of an MsgCommand request, it indicates extended function control information.

【0166】[0166]

【表4】 [Table 4]

【0167】表4に示した内容をデバイス毎の記憶手段
であるROM・RAMに設け、デバイス構成を他デバイスに伝
えるための情報群で、「デバイス情報」デバイス種類
を表し、表3のデバイス種類に対応した8ビット数値情
報である。
The information shown in Table 4 is provided in ROM / RAM serving as storage means for each device, and is a group of information for transmitting the device configuration to other devices. Is 8-bit numerical information corresponding to.

【0168】「デバイス名称」はデバイス種類を文字
列にて表現したNULL 00(Hex)で終端される文字列情
報で最大255文字まで指定可能である。
The “device name” is character string information terminated by NULL 00 (Hex) representing a device type as a character string, and can be specified up to 255 characters.

【0169】「デバイス形式情報」はデバイス形式を
分別させる16ビット識別コードで、例えば印刷装置、
デジタル家電などの形式分別に利用される。
"Device type information" is a 16-bit identification code for distinguishing the device type.
It is used to sort digital home appliances.

【0170】「デバイス基本機能情報」はデバイスが
提供可能な基本的な機能を分別させる16ビットフラグ
情報で、ビット位置毎にひとつの基本機能を割当て、そ
のビット値(1/0)により基本機能の有無を表し、例え
ば印刷機能、ファイル機能、無線機能などの基本機能の
有無識別に利用できる。
"Device basic function information" is 16-bit flag information for distinguishing basic functions that can be provided by a device. One basic function is assigned to each bit position, and the basic function is determined by its bit value (1/0). Indicates the presence or absence of a basic function such as a print function, a file function, and a wireless function.

【0171】「デバイス機能仕様情報」は「デバイス
基本機能情報」中のビット値が1になっている基本機能
に付随した機能仕様を表す16ビットフラグ情報で、ひ
とつの基本機能ごとにフラグ情報がある。例えば印刷機
能を備えた場合にカラー印刷可能/不可能、インク残量
検出機能の有無などの識別に利用できる。
The "device function specification information" is 16-bit flag information indicating a function specification associated with a basic function having a bit value of "1" in the "device basic function information." is there. For example, when a printing function is provided, it can be used to identify whether color printing is possible or not, and whether or not an ink remaining amount detection function is provided.

【0172】「デバイス制御バージョン情報」はデバ
イス内の制御プログラムのバージョンを表す16ビット
識別コードである。
"Device control version information" is a 16-bit identification code indicating the version of the control program in the device.

【0173】「デバイス制御ROM情報」はデバイス内
の制御プログラムの書換え可能・不可能および、記憶媒
体の形式、記憶媒体容量、書換え回数などの情報を表す
32ビット識別コードである。
The "device control ROM information" is a 32-bit identification code representing information such as the rewriteability of the control program in the device, the storage medium format, the storage medium capacity, and the number of rewrites.

【0174】「デバイス通信制御情報」はデバイスが
有する外部インターフェース種別と、種別毎のインター
フェース仕様バージョン情報、および最大転送速度など
のインターフェース能力とを表す32ビット識別コード
である。
The "device communication control information" is a 32-bit identification code indicating the type of external interface of the device, interface specification version information for each type, and interface capabilities such as the maximum transfer speed.

【0175】[0175]

【表5】 [Table 5]

【0176】表5に示した内容をデバイス毎に記憶手段
であるRAM設け、デバイス状態を他デバイスに伝えるた
めの情報群で、「基本ステータス情報」は基本的なデ
バイス状態を識別させる16ビットフラグ情報で、1ビ
ット毎に状態項目を割当てビット値(1/0)により基本
状態を表し、例えばプリンタ装置の場合には印刷動作中
・非動作中、エラー発生・未発生、詳細ステータス情報
の有無、エラー履歴情報の有無などの基本的な状態識別
に利用できる。
The contents shown in Table 5 are provided in a RAM as storage means for each device, and are a group of information for transmitting the device status to another device. The "basic status information" is a 16-bit flag for identifying the basic device status. In the information, a status item is allocated for each bit, and the basic status is represented by a bit value (1/0). It can be used for basic state identification such as the presence or absence of error history information.

【0177】「詳細ステータス情報」は要求された詳
細なデバイス状態をリスト形式の文字列にて表現したNU
LL 00(Hex)で終端される文字列情報で最大255文
字、尚、情報量が255文字を超える場合には複数の応
答パケットに分割して返信する。
The “detailed status information” is a NU that represents the requested detailed device status as a character string in a list format.
If the character string information terminated with LL 00 (Hex) is a maximum of 255 characters, and the amount of information exceeds 255 characters, it is divided into a plurality of response packets and returned.

【0178】「エラー履歴情報」はエラー履歴情報が
存在するとき、その情報をリスト形式の文字列にて表現
したNULL 00(Hex)で終端される文字列情報で最大2
55文字、尚、情報量が255文字を超える場合には複
数の応答パケットに分割して返信する。
[0178] "Error history information" is character string information terminated by NULL 00 (Hex) that expresses the error history information in the form of a list of character strings when error history information exists.
If the amount of information exceeds 55 characters and the amount of information exceeds 255 characters, the response packet is divided into a plurality of response packets and returned.

【0179】[0179]

【表6】 [Table 6]

【0180】表6は、上記Msgフィールド内容がMsgUIの
際にUI制御要求の詳細機能を指示させるUI制御コマンド
でDataフィールドの先頭に設定され、「UiConfig」コ
マンドはユーザーインターフェース(UI)の入力操作・
表示出力資源の構成情報の返信を要求する。その際UiCo
nfigコマンドに続いて取得したい資源項目(入力操作/
表示出力)を所定の予約語などで定められたパラメータ
によるリスト形式の文字列にてDataフィールドに指定、
また、応答メッセージはUiConfigコマンドに続いて下表
7のUI情報項目を所定の予約語などで定められたパラメ
ータによるリスト形式の文字列をStrフィールドに返
す。
Table 6 shows a UI control command for instructing the detailed function of the UI control request when the content of the Msg field is MsgUI, which is set at the head of the Data field. The “UiConfig” command is a user interface (UI) input operation.・
Requests the return of the configuration information of the display output resource. At that time UiCo
Following the nfig command, the resource item to be acquired (input operation /
Display output) is specified in the Data field as a character string in the form of a list with parameters determined by predetermined reserved words, etc.
Following the UiConfig command, the response message returns a character string in a list format based on parameters defined by predetermined reserved words in the UI information items in Table 7 below in the Str field.

【0181】「UiSelect」コマンドはユーザーインタ
ーフェース資源の利用(予約)を要求する。その際UiSe
lectコマンドに続いて利用したい入力操作・表示出力資
源の利用要求項目をUiConfigコマンドで取得した所定の
予約語などで定められたパラメータによるリスト形式の
文字列にてDataフィールドに指定、またパラメータにて
利用予約された入力操作を検出した際にその旨を自動的
に通知させるイベント通知指定も可能であり、検出した
ときにUiReadコマンドの応答メッセージを返送する。
The “UiSelect” command requests the use (reservation) of user interface resources. At that time UiSe
Following the lect command, specify the input operation / display output resource use request item that you want to use in the Data field with a list format character string using parameters defined by predetermined reserved words etc. acquired with the UiConfig command, and When an input operation reserved for use is detected, it is possible to specify an event notification for automatically notifying the user of the input operation. When the input operation is detected, a response message of the UiRead command is returned.

【0182】「UiRead」コマンドは予めUiSelectコマ
ンドにて指定しておいた入力操作資源状態の返送を要求
する。その際UiReadコマンドに続いて対象の入力操作資
源の検出要求項目をUiConfigコマンドで取得した所定の
予約語などで定められたパラメータによるリスト形式の
文字列にてDataフィールドに指定できる、また、UiSele
ctコマンドにてイベント通知指定された入力操作を検出
した際にも本応答メッセージが返送される。
The "UiRead" command requests the return of the input operation resource state specified by the UiSelect command in advance. At that time, following the UiRead command, the target input operation resource detection request item can be specified in the Data field by a list-type character string with a parameter defined by a predetermined reserved word acquired by the UiConfig command.
This response message is also returned when an input operation designated for event notification is detected by the ct command.

【0183】「UiWrite」は予めUiSelectコマンドに
て指定しておいた表示出力操作資源に所望の表示を要求
する。その際UiWriteコマンドに続いて利用したい表示
出力資源への出力項目、例えば対象がLED表示器などで
あれば点灯/消灯/点滅・点滅周期、ブザーであれば鳴
動周波数/鳴動開始・停止/鳴動時間・回数・リズムな
どを、音声出力であれば音声出力項目/音声データなど
を、文字表示器であれば表示項目/表示文字列・コード
ページ・色・サイズなどの情報を、それぞれUiConfigコ
マンドで取得した所定の予約語などで定められたパラメ
ータによるリスト形式の文字列にてDataフィールドに指
定する。
“UiWrite” requests a desired display from the display output operation resource specified in advance by the UiSelect command. At that time, output items to display output resources to be used following the UiWrite command, such as lighting / off / flashing / flashing cycle if the target is an LED display, and ringing frequency / ringing start / stop / ringing time if buzzer・ Use the UiConfig command to obtain the number of times and rhythm, etc., and use the UiConfig command to obtain information such as audio output items / audio data for voice output and display items / display character strings / code pages / colors / sizes for character displays. It is specified in the Data field by a character string in the form of a list with parameters determined by a predetermined reserved word or the like.

【0184】[0184]

【表7】 [Table 7]

【0185】表7は、上記Msgフィールド内容がMsgUIか
つUiConfigコマンドにより要求される入力操作・表示出
力資源の構成情報でデバイス毎の記憶手段であるROM・R
AMに設けてあり、「UI入力資源情報」はデバイスが保
有する入力操作資源の情報で、例えば操作ボタン、キー
ボード、10キー、カーソルキー、ジョイスティックな
どの入力操作機能種類、ボタン入力操作、キー入力操
作、カーソルキーなどの各々のボタン押下・ボタン放す
・キー入力など各種検出可能な操作イベント種類情報
と、各々の入力資源の利用の可/不可・占有の可/不可
・共有の可/不可などの利用可能条件とを、それぞれ所
定の予約語などで定められたパラメータによるリスト形
式の文字列にて表現する。
Table 7 shows that the contents of the above Msg field are MsgUI and the configuration information of the input operation / display output resources requested by the UiConfig command.
The "UI input resource information" is provided in the AM, and is information on input operation resources held by the device, for example, input operation function types such as operation buttons, keyboards, 10 keys, cursor keys, and joysticks, button input operations, and key inputs. Various types of detectable operation event information such as operation, cursor key pressing, button release, button input, key input, etc., and the availability / unavailability, occupation availability / sharing, sharing availability / unavailability of each input resource, etc. Are expressed as character strings in a list format using parameters defined by predetermined reserved words and the like.

【0186】「UI出力資源情報」はデバイスが保有す
る操作に纏わる表示・音声などの出力資源の構成情報
で、例えばLED表示器などであれば指示可能な点灯/消
灯/点滅・点滅周期、ブザーであれば指示可能な鳴動周
波数/鳴動開始・停止/鳴動時間・回数・リズムなど
を、音声出力であれば指示可能な音声出力項目/音声デ
ータ形式などを、文字表示器であれば指示可能な表示項
目/表示文字列・コードページ・色・サイズなどの情報
と、各々の出力資源の利用の可/不可・占有の可/不可
・共有の可/不可などの利用可能条件とを、それぞれ所
定の予約語などで定められたパラメータによるリスト形
式の文字列にて表現する。
[0186] "UI output resource information" is configuration information of output resources such as display and audio related to the operation held by the device. For example, a lighting / off / flashing / flashing / flashing cycle that can be instructed by an LED display, a buzzer, etc. If so, it is possible to indicate the instructable ringing frequency / ringing start / stop / ringing time, number of times, rhythm, etc .; Information such as display items / display character strings, code pages, colors, sizes, etc., and available conditions, such as the availability / impossibility / occupation availability / sharing availability / unavailability of each output resource, are specified. It is represented by a character string in the form of a list using parameters defined by reserved words.

【0187】[0187]

【表8】 [Table 8]

【0188】表8は、上記Msgフィールド内容がMsgFile
の際にFile操作要求の詳細機能を指示させるFile制御コ
マンドでDataフィールドの先頭に設定され、「FileIn
fo」コマンドはFile操作に纏わるファイル情報の返信要
求で、FileInfoコマンドに続いて要求情報項目を所定の
予約語などで定められたパラメータによるリスト形式の
文字列にてDataフィールドに指定、また応答メッセージ
はFileInfoコマンドに続いてファイル情報、例えばファ
イルディレクトリ情報、指定ファイル情報などのファイ
ル属性情報、例えばファイル名、データ種類、ファイル
サイズ、修飾情報(読出し専用・消去の可/不可、コピ
ー可/不可、ユーザーに対する可視性の有無、パスワー
ド保護の有無など)、および空き容量などの情報を、要
求項目に応じ選択的に所定の予約語などで定められたパ
ラメータによるリスト形式の文字列にてStrフィールド
に返す。
Table 8 shows that the content of the Msg field is MsgFile
At the beginning of the Data field with a File control command that directs the detailed function of the File operation request at the time of
The "fo" command is a file information return request related to the File operation. Following the FileInfo command, the request information item is specified in the Data field as a list format character string with parameters specified by predetermined reserved words, etc., and a response message Following the FileInfo command, file information such as file directory information and file attribute information such as designated file information, for example, file name, data type, file size, modification information (read-only / erasable / copyable / copyable / non-copyable, Information such as user visibility, password protection, etc.), and free space, etc., are selectively stored in the Str field in a list-type character string with parameters specified by predetermined reserved words, etc., according to the request item. return.

【0189】「FileOpen」コマンドは所望のファイル
の読出し・書き込み操作に先立ってファイルをオープン
させる要求で、FileOpenコマンドに続いてオープンした
いファイル名やパスワード情報などを所定の予約語など
で定められたパラメータによるリスト形式の文字列にて
Dataフィールドに指定、また、応答メッセージはFileOp
enコマンドに続いてオープンしたファイルの操作に用い
るファイルハンドル番号を16ビット値(例えば0以上
であればファイルオープン操作の成功を、0の場合は失
敗を意味する)、続いてファイル操作位置(ファイルポ
インタ)を32ビット値、続いて対象ファイル属性情
報、例えばファイル名、データ種類、ファイルサイズ、
修飾情報(読出し専用・消去の可/不可、コピー可/不
可、ユーザーに対する可視性の有無、パスワード保護の
有無など)、および空き容量などの情報を所定の予約語
などで定められたパラメータによるリスト形式の文字列
にてStrフィールドに返す。
The "FileOpen" command is a request to open a file prior to a read / write operation of a desired file. Following the FileOpen command, a file name or password information to be opened is a parameter defined by a predetermined reserved word or the like. In a list format string
Specify in the Data field, and the response message is FileOp
The file handle number used for the operation of the opened file following the en command is a 16-bit value (for example, 0 or more means success of the file open operation, 0 means failure), and then the file operation position (file Pointer) is a 32-bit value, followed by target file attribute information such as file name, data type, file size,
A list of modifier information (read-only / erasable / non-erasable, copy-possible / unavailable, user visibility, password protection, etc.), and information such as free space, etc., with parameters defined by predetermined reserved words, etc. Return to the Str field as a format string.

【0190】「FileClose」コマンドは所望のファイ
ル内容の読出し・書き込み操作が終了した際にファイル
をクローズさせる要求で、FileCloseコマンドに続いて
クローズしたいファイルハンドル番号を16ビット値に
てDataフィールドに指定、また、応答メッセージはFile
Closeコマンドに続いて要求されたファイルハンドル番
号を16ビット値、続いてファイルクローズ操作の成功
/失敗情報および対象ファイル属性情報、例えばファイ
ル名、データ種類、ファイルサイズ、修飾情報(読出し
専用・消去の可/不可、コピー可/不可、ユーザーに対
する可視性の有無、パスワード保護の有無など)、およ
び空き容量などの情報を所定の予約語などで定められた
パラメータによるリスト形式の文字列にてStrフィール
ドに返す。
The "FileClose" command is a request to close a file when the read / write operation of the desired file contents is completed. Following the FileClose command, the file handle number to be closed is specified in the Data field as a 16-bit value. The response message is File
Following the Close command, the requested file handle number is a 16-bit value, followed by success / failure information of the file close operation and target file attribute information, for example, file name, data type, file size, decoration information (read-only / erasure Information, such as permission / inhibition, copy permission / inhibition, user visibility, password protection, etc.), and free space, etc., as a Str field with a list-type character string based on parameters specified by predetermined reserved words, etc. To return.

【0191】「FileCreate」コマンドは所望の新規フ
ァイルの読出し・書き込み操作に先立って新たなファイ
ルを作成させる要求で、FileCreateコマンドに続いて作
成したいファイル名・データ種類・修飾情報やパスワー
ド情報などを所定の予約語などで定められたパラメータ
によるリスト形式の文字列にてDataフィールドに指定、
また、応答メッセージはFileCreateコマンドに続いてフ
ァイルの操作に用いるファイルハンドル番号を16ビッ
ト値(例えば0以上であればファイル作成操作の成功
を、0の場合は失敗を意味する)、続いて対象ファイル
属性情報、例えばファイル名、データ種類、ファイルサ
イズ、修飾情報(読出し専用・消去の可/不可、コピー
可/不可、ユーザーに対する可視性の有無、パスワード
保護の有無など)、および空き容量などの情報を所定の
予約語などで定められたパラメータによるリスト形式の
文字列にてStrフィールドに返す。
The "FileCreate" command is a request for creating a new file prior to a read / write operation of a desired new file. Following the FileCreate command, a file name, data type, modification information, password information, and the like to be created are specified. Specify in the Data field as a list-type character string with parameters determined by reserved words, etc.
The response message is a 16-bit file handle number used for file operation following the FileCreate command (for example, 0 or more means success of file creation operation, 0 means failure), and then the target file Attribute information such as file name, data type, file size, modification information (read-only / erasable / non-copyable / copyable / non-visible, user visibility, password protection, etc.) and free space information Is returned to the Str field as a character string in the form of a list with parameters determined by a predetermined reserved word or the like.

【0192】「FileDelete」コマンドは所望のファイ
ルを削除させる要求で、FileDeleteコマンドに続いて削
除したいファイル名やパスワード情報などを所定の予約
語などで定められたパラメータによるリスト形式の文字
列にてDataフィールドに指定、また、応答メッセージは
FileDeleteコマンドに続いてファイル消去操作の成功/
失敗情報および、対象ファイル属性情報、例えばファイ
ル名、データ種類、ファイルサイズ、修飾情報(読出し
専用・消去の可/不可、コピー可/不可、ユーザーに対
する可視性の有無、パスワード保護の有無など)、およ
び空き容量などの情報を所定の予約語などで定められた
パラメータによるリスト形式の文字列にてStrフィール
ドに返す。
The "FileDelete" command is a request to delete a desired file. Following the FileDelete command, a file name or password information to be deleted is described as a character string in a list format by a parameter defined by a predetermined reserved word or the like. Field, and the response message is
Successful file deletion operation following FileDelete command /
Failure information and target file attribute information such as file name, data type, file size, modification information (read-only / erasable / copyable / copyable / unreadable, user visibility, password protection, etc.), Information such as free space and the like is returned to the Str field as a character string in a list format using parameters determined by a predetermined reserved word or the like.

【0193】「FileSeek」コマンドは所望のファイル
の読出し・書き込み位置(ファイルポインタ)を指定す
る要求で、FileSeekコマンドに続いて操作したいファイ
ルハンドル番号を16ビット値、目的ファイル操作位置
(ファイルポインタ)を32ビット値にてDataフィール
ドに指定、また、応答メッセージはFileSeekコマンドに
続いて要求されたファイルハンドル番号を16ビット
値、続いて更新されたファイル操作位置(ファイルポイ
ンタ)を32ビット値、続いて要求操作の成功/失敗情
報と対象ファイル属性情報、例えばファイル名、データ
種類、ファイルサイズ、修飾情報(読出し専用・消去の
可/不可、コピー可/不可、ユーザーに対する可視性の
有無、パスワード保護の有無など)、および空き容量な
どの情報を所定の予約語などで定められたパラメータに
よるリスト形式の文字列にてStrフィールドに返す。
The "FileSeek" command is a request for designating the read / write position (file pointer) of a desired file. The file handle number to be operated following the FileSeek command is a 16-bit value, and the target file operation position (file pointer) is specified. A 32-bit value is specified in the Data field, and the response message is a 16-bit value of the requested file handle number following the FileSeek command, a 32-bit value of the updated file operation position (file pointer), and Request operation success / failure information and target file attribute information, for example, file name, data type, file size, modification information (read-only / deletion enabled / disabled, copy enabled / disabled, user visibility, password protection Information, etc.), and free space, etc. Return to the Str field as a string in the form of a list with the specified parameters.

【0194】「FileRead」コマンドは所望のファイル
からの読出し要求で、FileReadコマンドに続いて操作し
たいファイルハンドル番号を16ビット値、目的の読出
しサイズを16値にてDataフィールドに指定、また、応
答メッセージはFileReadコマンドに続いて要求されたフ
ァイルハンドル番号を16ビット値、続いて更新された
ファイル操作位置(ファイルポインタ)を32ビット
値、続いて実際の読出しサイズを16ビット値にて、続
いてファイル読出しデータをStrフィールドに返す。
A "FileRead" command is a request to read from a desired file. A file handle number to be operated following a FileRead command is specified as a 16-bit value, and a target read size is specified as a 16-value in the Data field. Is the 16-bit value of the requested file handle number following the FileRead command, the 32-bit value of the updated file operation position (file pointer), the 16-bit value of the actual read size, and the file Return the read data to the Str field.

【0195】「FileWrite」コマンドは所望のファイ
ルへの書き込み要求で、FileWriteコマンドに続いて操
作したいファイルハンドル番号を16ビット値、目的の
書き込みサイズを16値にて、続いてファイルへの書き
込みデータをDataフィールドに指定、また、応答メッセ
ージはFileWriteコマンドに続いて要求されたファイル
ハンドル番号を16ビット値、続いて更新されたファイ
ル操作位置(ファイルポインタ)を32ビット値、続い
て実際の書き込み完了サイズを16ビット値にてStrフ
ィールドに返す。
The "FileWrite" command is a request to write to a desired file. Following the FileWrite command, the file handle number to be operated is a 16-bit value, the target write size is a 16-value, and the data to be written to the file is written. Designated in the Data field, the response message is a 16-bit value of the requested file handle number following the FileWrite command, a 32-bit value of the updated file operation position (file pointer), and then the actual write completion size Is returned to the Str field as a 16-bit value.

【0196】「FileFormat」コマンドはデバイスが保
有するファイルシステムを初期化(全消去)する要求
で、FileFormatコマンドに続いてボリューム名、パスワ
ードなどのを所定の予約語などで定められたパラメータ
によるリスト形式の文字列にてDataフィールドに指定、
また応答メッセージはFileFormatコマンドに続いてファ
イルフォーマットの成功/失敗情報、作成したボリュー
ム名、および空き容量などの情報を所定の予約語などで
定められたパラメータによるリスト形式の文字列にてSt
rフィールドに返す。
The "FileFormat" command is a request for initializing (deleting all) the file system held by the device. Following the FileFormat command, a volume name, a password, etc. are listed in a list format using parameters defined by a predetermined reserved word or the like. Specify in the Data field with the string of
Following the FileFormat command, the response message contains information on the success / failure of the file format, the created volume name, and information such as free space in a list-format character string with parameters defined by a predetermined reserved word or the like.
Return to r field.

【0197】次に、図11を参照して、上述した図10
のパケット構成を用いた通信制御について説明する。
尚、図中の縦線は通信拠点を示し、DevXXXは表3で説明
したデバイス種類表すもので、左から「DevSys」はホス
ト装置100を、「DevPrt」はプリンタ装置1を、「De
vCcp」はCCT 30 (カード制御部)などのCDV 200 (カ
ードデバイス)の制御部、「DevCph」はCDV 200 (カー
ドデバイス)上に設けた無線通信をおこなうWCT (カー
ドデバイス通信制御部)を通じ接続される外部デバイス
のひとつであるCPH 430 (セルラーフォーン)を例に
示している。図中のMsgX(A)およびMsgX(N)は要求メッ
セージで、MsgX(R)はMsgX(A)に対する応答メッセージ
を表す。(Xは1〜7) 尚、下記説明で[MsgVVV、AckWWW、DevXXX、DevYYY、Z・
…Z]はメッセージのパケット内容を意味し、図10のM
sgフィールドはMsgVVV、AckフィールドはAckWWW、Did1
フィールドはDevXXX、Did2フィールドはDevYYY、Data/S
trフィールドはZ・…Zの意味合いの詳細コマンド若しく
は応答パラメータであるこを表す。
Next, referring to FIG. 11, FIG.
Communication control using the packet configuration of FIG.
Note that the vertical lines in the figure indicate communication bases, DevXXX indicates the device type described in Table 3, "DevSys" indicates the host device 100, "DevPrt" indicates the printer device 1, and "DeV
"vCcp" is a control unit of CDV 200 (card device) such as CCT 30 (card control unit), and "DevCph" is connected through WCT (card device communication control unit) that performs wireless communication provided on CDV 200 (card device). CPH 430 (cellular phone), which is one of the external devices to be used, is shown as an example. In the figure, MsgX (A) and MsgX (N) are request messages, and MsgX (R) represents a response message to MsgX (A). (X is 1 to 7) In the following description, [MsgVVV, AckWWW, DevXXX, DevYYY, Z
.. Z] means the packet content of the message,
The sg field is MsgVVV, the Ack field is AckWWW, Did1
Field is DevXXX, Did2 field is DevYYY, Data / S
The tr field indicates that it is a detailed command or response parameter having the meaning of Z... Z.

【0198】まず、(1)プリンタ装置のカードデバイ
ス挿入口にCDV200(カードデバイス)を取り付けられる
と、DevCcp(カード制御部)は、その旨をDevSys(ホス
ト装置)に通知すべく要求メッセージMsg1(A)[MsgCo
mmand、AckWaitReply、DevCcp、DevSys、カードデバイ
ス装着通知]パケットをインターフェースまたは内部バ
スを介してPCT11(プリンタ制御回路)に送信する。
First, (1) When the CDV200 (card device) is attached to the card device insertion slot of the printer device, the DevCcp (card control unit) requests the DevSys (host device) to notify the DevSys (host device) of the request message Msg1 (card device). A) [MsgCo
mmand, AckWaitReply, DevCcp, DevSys, Card Device Attachment Notification] packet to the PCT 11 (printer control circuit) via the interface or internal bus.

【0199】プリンタ制御部はAckフィールドがAckWait
Reply、かつDid2フィールドがDevSysであることから外
部インターフェースを介し本パケットをホスト装置に転
送する。そして、ホスト装置はAckフィールドがAckWait
Reply、かつDid2フィールドがDevSysであることから自
分に宛てられた要求なので、パケット内容を解析し、そ
の結果、カードデバイスが装着されたことを認識する。
The printer control unit sets the Ack field to AckWait.
Since Reply and the Did2 field are DevSys, this packet is transferred to the host device via the external interface. Then, the host device sets the Ack field to AckWait.
Since the Reply and the Did2 field are DevSys, the request is addressed to itself, so the packet contents are analyzed, and as a result, it is recognized that the card device is attached.

【0200】(2)ホスト装置はAckフィールドがAckWa
itReplyであることから応答メッセージMsg1(R)[MsgCom
mand、AckReplyOk、DevCcp、DevSys、カードデバイス装
着通知]パケットを要求元DevCcp(カード制御部)に返
信すべく外部インターフェースを介してプリンタ装置に
送る。プリンタ装置はAckフィールドがAckReplyOkかつD
id1フィールドがDevCcpであることから、インターフェ
ースまたは内部バスを介して本パケットをDevCcp(カー
ド制御部)に転送する。そして、DevCcp(カード制御
部)はAckフィールドがAckReplyOkなので、ホスト装置
がカードデバイス装着されたことを正しく認識したと判
断する。
(2) The Ack field of the host device is AckWa
Since it is itReply, the response message Msg1 (R) [MsgCom
mand, AckReplyOk, DevCcp, DevSys, card device attachment notification] packet is sent to the printer via the external interface in order to return to the request source DevCcp (card control unit). For the printer device, the Ack field is AckReplyOk and D
Since the id1 field is DevCcp, this packet is transferred to DevCcp (card control unit) via the interface or the internal bus. Since the Ack field is AckReplyOk, the DevCcp (card control unit) determines that the host device has correctly recognized that the card device has been attached.

【0201】(3)次にホスト装置は装着されたカード
デバイス種類を取得するため、要求メッセージMsg2
(A)[MsgDevStatus、AckWaitReply、DevSys、DevCc
p、カードデバイス種類通知]パケットをDevCcp(カー
ド制御部)に送信すべく外部インターフェースを介して
プリンタ装置に送る。プリンタ装置はAckフィールドがA
ckWaitReplyかつDid2フィールドがDevCcpであることか
ら、インターフェースまたは内部バスを介して本パケッ
トをDevCcp(カード制御部)に転送する。
(3) Next, the host device requests a message Msg2 to acquire the type of the attached card device.
(A) [MsgDevStatus, AckWaitReply, DevSys, DevCc
p, card device type notification] packet to the printer device via an external interface for transmission to DevCcp (card control unit). Ack field is A for printer device
Since the ckWaitReply and the Did2 field are DevCcp, this packet is transferred to DevCcp (card control unit) via the interface or the internal bus.

【0202】(4)次にホスト装置は、プリンタ装置状
態の取得をすべく外部インターフェースを介して、要求
メッセージMsg3(A)[MsgDevStatus、AckWaitReply、D
evSys、DevPrt、(ホストが必要な)詳細ステータス情
報]パケットをプリンタ装置に送る。
(4) Next, the host device obtains a request message Msg3 (A) [MsgDevStatus, AckWaitReply, D
evSys, DevPrt, detailed status information (requires host)] packet to the printer device.

【0203】(5)DevCcp(カード制御部)は(3)の
要求に従って、カードデバイスを調べてカードデバイス
種類情報を生成し、AckフィールドがAckWaitReplyであ
ることから、応答メッセージMsg2(R)[MsgDevStatus、A
ckReplyOk、DevSys、DevCcp、カードデバイス種類情
報]パケットを要求元のホスト装置に返信すべくインタ
ーフェースまたは内部バスを介してプリンタ装置に送
る。プリンタ装置はAckフィールドがAckReplyOkかつDid
1フィールドがDevSysであることから、外部インターフ
ェース介して本パケットをホスト装置に転送する。そし
て、ホスト装置はAckフィールドがAckReplyOkかつDid1
フィールドがDevSysであることから、自分に宛てられた
返信なのでパケット内容を解析する。この結果、ホスト
装置は装着されたカードデバイスの種類を正しく認識で
きる。
(5) The DevCcp (card control unit) checks the card device and generates card device type information in accordance with the request of (3). Since the Ack field is AckWaitReply, the response message Msg2 (R) [MsgDevStatus , A
ckReplyOk, DevSys, DevCcp, card device type information] packet is sent to the printer device via the interface or the internal bus so as to return to the requesting host device. The printer device has Ack field of AckReplyOk and Did
Since one field is DevSys, this packet is transferred to the host device via the external interface. Then, the host device determines that the Ack field is AckReplyOk and Did1
Since the field is DevSys, the reply is addressed to itself, so analyze the packet contents. As a result, the host device can correctly recognize the type of the attached card device.

【0204】(6)プリンタ装置は(4)の要求に従っ
て、要求された詳細ステータス情報を生成し、Ackフィ
ールドがAckWaitReplyであることから応答メッセージMs
g3(R)[MsgDevStatus、AckReplyOk、DevSys、DevPrt、
(要求された)詳細ステータス情報]パケットを外部イ
ンタフェースを介して要求元のホスト装置に送る。そし
て、ホスト装置はAckフィールドがAckReplyOkかつDid1
フィールドがDevSysであることから、自分に宛てられた
返信なのでパケット内容を解析する。この結果、ホスト
装置はプリンタ装置の状態を正しく認識できる。
(6) The printer generates the requested detailed status information according to the request of (4), and since the Ack field is AckWaitReply, the response message Ms
g3 (R) [MsgDevStatus, AckReplyOk, DevSys, DevPrt,
Detailed (requested) status information] packet is sent to the requesting host device via the external interface. Then, the host device determines that the Ack field is AckReplyOk and Did1
Since the field is DevSys, the reply is addressed to itself, so analyze the packet contents. As a result, the host device can correctly recognize the state of the printer device.

【0205】(7)次にホスト装置はカードデバイス上
のファイル情報を取得するため、要求メッセージMsg4
(A)[MsgFile、AckWaitReply、DevSys、DevCcp、File
Info(ファイル情報通知)]パケットをDevCcp(カード
制御部)に送信すべく外部インターフェースを介してプ
リンタ装置に送る。プリンタ装置はAckフィールドがAck
WaitReplyかつDid2フィールドがDevCcpであることから
インターフェースまたは内部バスを介して本パケットを
DevCcp(カード制御部)に転送する。
(7) Next, the host device issues a request message Msg4 to acquire file information on the card device.
(A) [MsgFile, AckWaitReply, DevSys, DevCcp, File
Info (file information notification)] packet is sent to the printer device via an external interface for transmission to DevCcp (card control unit). Ack field is Ack for printer device
Since the WaitReply and Did2 field are DevCcp, this packet is sent via the interface or internal bus.
Transfer to DevCcp (card control unit).

【0206】(8)ユーザーによりCPH 430 (セルラ
ーフォーン)の電源ONなどされると、CPH 430 (セル
ラーフォーン) の無線通信制御部はその旨CDV 200 (カ
ードデバイス)上の無線通信制御部に伝える。これを受
けてカードデバイスはDevCcp(カード制御部)に対して
その旨を通知する。つぎにDevCcp(カード制御部)はセ
ルラーフォーンの代行としてパケット通信制御するの
で、セルラーフォン接続されたことをホスト装置に通知
すべく、要求メッセージMsg5(A)[MsgCommand、AckWa
itReply、DevCph、DevSys、セルラーフォーン接続通
知]パケットをインターフェースまたは内部バスを介し
てPCT11(プリンタ制御回路)送信する。プリンタ制御部
はAckフィールドがAckWaitReply、かつDid2フィールド
がDevSysであることから外部インターフェースを介し本
パケットをホスト装置に転送する。そして、ホスト装置
はAckフィールドがAckWaitReply、かつDid2フィールド
がDevSysであることから自分に宛てられた要求なので、
パケット内容を解析し、その結果、セルラーフォーンが
接続されたことを認識する。
(8) When the power of the CPH 430 (cellular phone) is turned on by the user, the radio communication control unit of the CPH 430 (cellular phone) informs the radio communication control unit on the CDV 200 (card device) of the fact. . In response to this, the card device notifies DevCcp (card control unit) of the fact. Next, since the DevCcp (card control unit) performs packet communication control on behalf of the cellular phone, a request message Msg5 (A) [MsgCommand, AckWa is issued to notify the host device that the cellular phone is connected.
ItReply, DevCph, DevSys, Cellular Phone Connection Notification] packet is transmitted to the PCT 11 (printer control circuit) via the interface or the internal bus. Since the Ack field is AckWaitReply and the Did2 field is DevSys, the printer control unit transfers this packet to the host device via the external interface. Since the Ack field is AckWaitReply and the Did2 field is DevSys, the host device is a request addressed to itself.
The packet contents are analyzed, and as a result, it is recognized that the cellular phone is connected.

【0207】(9)DevCcp(カード制御部)は(7)の
要求に従って、カードデバイス上のファイル情報を読出
し、AckフィールドがAckWaitReplyであることから、応
答メッセージMsg4(R)[MsgFile、AckReplyOk、DevSys、
DevCcp、FileInfoファイル情報]パケットを要求元のホ
スト装置に返信すべくインターフェースまたは内部バス
を介してプリンタ装置に送る。プリンタ装置はAckフィ
ールドがAckReplyOkかつDid1フィールドがDevSysである
ことから、外部インターフェース介して本パケットをホ
スト装置に転送する。
(9) The DevCcp (card control unit) reads the file information on the card device according to the request of (7), and since the Ack field is AckWaitReply, the response message Msg4 (R) [MsgFile, AckReplyOk, DevSys ,
DevCcp, FileInfo file information] packet is sent to the printer device via the interface or the internal bus in order to return the packet to the requesting host device. Since the Ack field is AckReplyOk and the Did1 field is DevSys, the printer device transfers this packet to the host device via the external interface.

【0208】そして、ホスト装置はAckフィールドがAck
ReplyOkかつDid1フィールドがDevSysであることから、
自分に宛てられた返信なのでパケット内容を解析する。
この結果、ホスト装置はカードデバイス上のファイル情
報を正しく認識できる。
Then, the host device sets the Ack field to Ack.
Since ReplyOk and Did1 field are DevSys,
Since the reply is addressed to you, analyze the packet contents.
As a result, the host device can correctly recognize the file information on the card device.

【0209】(10)次に、プリンタ装置はホスト装置
の表示器にメッセージなどを出力させるための前準備と
して、ホスト装置の表示器DISP140の出力資源情報を取
得すべく、要求メッセージMsg6(A)[MsgUI、AckWaitR
eply、DevPrt、DevDisp、UiConfig 出力資源のみ通
知]パケットをホスト装置に外部インターフェースを介
し送信する。
(10) Next, the printer device prepares a request message Msg6 (A) to obtain output resource information of the display device DISP140 of the host device as preparation for outputting a message or the like to the display device of the host device. [MsgUI, AckWaitR
eply, DevPrt, DevDisp, UiConfig Notify only output resources] Sends a packet to the host device via the external interface.

【0210】(11)ホスト装置は(8)の要求に従っ
て、AckフィールドがAckWaitReplyであることから応答
メッセージMsg5(R)[MsgCommand、AckReplyOk、DevCp
h、DevSys、セルラーフォーン接続通知]パケットを要
求元DevCph(セルラーフォーン)に返信すべく外部イン
ターフェースを介してプリンタ装置に送る。プリンタ装
置はAckフィールドがAckReplyOkかつDid1フィールドがD
evCphであることから、インターフェースまたは内部バ
スを介して本パケットをDevCcp(カード制御部)に転送
する。そして、DevCcp(カード制御部)はAckフィール
ドがAckReplyOkかつDid1フィールドがDevCphであること
から、(セルラーホーン宛てられた返信ではあるが)自
分がパケット通信制御を代行しているのでパケット内容
を解析し、(必要ならば)CDV 200 (カードデバイス)
上の無線通信制御部およびセルラーフォーン対して接続
の許可を与える。
(11) In response to the request of (8), since the Ack field is AckWaitReply, the host device responds to the response message Msg5 (R) [MsgCommand, AckReplyOk, DevCp
h, DevSys, Cellular phone connection notification] packet is sent to the printer device via the external interface to return to the request source DevCph (cellular phone). In the printer device, the Ack field is AckReplyOk and the Did1 field is D.
Since this is an evCph, this packet is transferred to DevCcp (card control unit) via an interface or an internal bus. Since the Ack field is AckReplyOk and the Did1 field is DevCph, the DevCcp (card control unit) analyzes the packet contents because it is acting for packet communication control (although it is a reply addressed to the cellular phone). , (If necessary) CDV 200 (card device)
The connection permission is given to the wireless communication control unit and the cellular phone.

【0211】(12)ホスト装置はDISP140のパケット
通信制御を代行しているので、(10)の要求に従っ
て、AckフィールドがAckWaitReplyであることから、応
答メッセージMsg6(R)[MsgUI、AckReplyOk、DevPrt、
DevDisp、UiConfig 出力資源情報]パケットをプリン
タ装置に外部インターフェースを介し送信する。この結
果、プリンタ装置はホスト装置の表示器資源の構成情報
を取得できる。
(12) Since the host device performs the packet communication control of the DISP 140, the response message Msg6 (R) [MsgUI, AckReplyOk, DevPrt,
DevDisp, UiConfig output resource information] packet to the printer via an external interface. As a result, the printer device can acquire the configuration information of the display device resources of the host device.

【0212】(13)次に、ホスト装置は上記(9)に
て取得したファイル情報をプリンタ装置に印刷出力させ
るために、外部インターフェースを介し要求メッセージ
Msg73(N)[MsgPrint、AckNoReply、DevSys、DevPrt、
印刷制御コマンド]パケットをプリンタ装置に送る。そ
して、プリンタ装置は要求された印刷動作を開始する。
尚、AckフィールドがAckNoReplyなので応答メッセージ
は返信しない。
(13) Next, the host device issues a request message via an external interface to cause the printer device to print out the file information obtained in (9) above.
Msg73 (N) [MsgPrint, AckNoReply, DevSys, DevPrt,
Print control command] packet is sent to the printer device. Then, the printer device starts the requested printing operation.
Since the Ack field is AckNoReply, no response message is returned.

【0213】以上のように通信制御することで、多数の
機器を接続した場合においても機器間の通信制御を円滑
に行えるわけである。
By controlling communication as described above, communication control between devices can be smoothly performed even when a large number of devices are connected.

【0214】(実施形態11)次に、上記の図10で説
明したパケット形態を用いた要求メッセージ解析制御プ
ログラムを、図12に示し以下に説明する。尚、上述し
た図1〜6におけるホスト装置100のSTC111(シ
ステム制御部)内のRAM、プリンタ装置1のROM13、およ
びカードデバイス制御部CCT30内のROM33などの各装置
の記憶手段に本制御プログラムは格納されている。ま
た、本実施形態では表3で説明したDevSys(ホスト装置
100)、DevPrt(プリンタ装置1)、DevCct(カード制
御部 CCT 30)、DevCp(操作パネル CP 130)、DevDis
p(画像入出力装置 DISP 140)、DevAud(音声入出力装
置 AUD 140)、DevEmm(外部メモリ EMM 180)、DevK
b(キーボード入力装置 KB 310)、DevPdv(ポインティ
ングデバイス入力装置 PDV 320)のデバイスの要求メッ
セージ解析制御を以下に詳述する。尚、本実施形態にお
けるホスト装置1は上記デバイスDevSys、DevCp、DevDi
sp、DevAud、DevEmm、DevKb、DevPdvの7種類のデバイ
スに対応していて、以下に説明する処理1を7セット備
えている。
(Embodiment 11) Next, a request message analysis control program using the packet format described in FIG. 10 will be described with reference to FIG. This control program is stored in the storage means of each device such as the RAM in the STC 111 (system control unit) of the host device 100, the ROM 13 in the printer device 1, and the ROM 33 in the card device control unit CCT 30 in FIGS. Is stored. In this embodiment, DevSys (host device) described in Table 3 is used.
100), DevPrt (printer device 1), DevCct (card control unit CCT 30), DevCp (operation panel CP 130), DevDis
p (image input / output device DISP 140), DevAud (audio input / output device AUD 140), DevEmm (external memory EMM 180), DevK
The request message analysis control of the device b (keyboard input device KB 310) and DevPdv (pointing device input device PDV 320) will be described in detail below. Note that the host device 1 in the present embodiment includes the devices DevSys, DevCp, DevDi.
It supports seven types of devices, sp, DevAud, DevEmm, DevKb, and DevPdv, and has seven sets of processing 1 described below.

【0215】図に示した処理1は、各デバイス種類が自
デバイスに対する要求メッセージを受け取った際に開始
する要求メッセージ解析制御プログラム処理である。即
ち、パケットのAckフィールドがAckNoReply若しくはAck
WaitReplyかつDid2フイールドが自デバイス種類の場合
に、表1で説明したMsgフィールド中の要求内容を解析
し、図のように表1で説明したMsgPacketSize〜MsgComm
nad要求に対応した各処理ステップS1〜S13をそれぞれ実
行する。即ち、Msgフィールド内容にしたがって、それ
ぞれ以下の処理を実行する。
Processing 1 shown in the figure is a request message analysis control program processing started when each device type receives a request message for its own device. That is, if the Ack field of the packet is AckNoReply or AckNo
When the WaitReply and Did2 fields are of the own device type, the contents of the request in the Msg field described in Table 1 are analyzed, and MsgPacketSize to MsgComm described in Table 1 as shown in the figure.
Each of the processing steps S1 to S13 corresponding to the nad request is executed. That is, the following processing is executed according to the contents of the Msg field.

【0216】(1)MsgPacketSizeのときはステップS1
処理にて、Dataフイールドで要求されているパケットサ
イズの受信可可能/不可能を判定し、可能であればAck
フィールドにAckReplyOkかつStrフィールドに要求され
たパケットサイズを、不可能であればAckフィールドにA
ckReplyNgかつStrフィールドに受信可能なパケットサイ
ズをセットしてDid1デバイスに応答メッセージを返信す
る。
(1) If MsgPacketSize, step S1
In the processing, it is determined whether the packet size requested in the Data field can be received or not, and if possible, Ack
AckReplyOk in the field and the requested packet size in the Str field.
Set the receivable packet size in the ckReplyNg and Str fields and return a response message to the Did1 device.

【0217】(2)MsgDevConfigのときはステップS2処
理にて、AckフィールドにAckReplyOkかつStrフィールド
に表4のConfig情報をセットDid1デバイスに応答メッセ
ージを返信する。
(2) In the case of MsgDevConfig, in step S2, AckReplyOk is set in the Ack field and the Config information in Table 4 is set in the Str field, and a response message is returned to the Did1 device.

【0218】(3)MsgDevStatusのときはステップS3処
理にて、要求内容に誤りがなければ、AckフィールドにA
ckReplyOkかつStrフィールドに表5の基本ステータス情
報とDataフィールドで指定された項目の詳細ステータス
情報ををセットしてDid1デバイスに応答メッセージを返
信する。また、誤りがあればAckフィールドにAckReplyN
gかつStrフィールドに表5の基本ステータス情報とData
フィールドで指定されてパラメータの誤り部分抽出しSt
rフィールドにセットしDid1デバイスに応答メッセージ
を返信する。
(3) In the case of MsgDevStatus, if there is no error in the request content in step S3, A
The basic status information of Table 5 and the detailed status information of the item specified in the Data field are set in the ckReplyOk and Str fields, and a response message is returned to the Did1 device. If there is an error, AckReplyN is added to the Ack field.
The basic status information and Data in Table 5 in the g and Str fields
Extract the error part of the parameter specified in the field and St
Set in the r field and return a response message to the Did1 device.

【0219】(4)MsgUIかつDataフィールドの先頭が
表6のUiConfigのときはステップS4処理にて、要求内
容に誤りがなければ、AckフィールドにAckReplyOkかつ
表6で説明した自デバイスが保有するユーザーインタフ
ェース資源の構成情報をDataフィールドの要求により、
入力操作資源構成情報のみ/出力資源構成情報のみ/入
出力資源構成情報のいずれかをStrフィールドにセット
しDid1デバイスに応答メッセージを返信する。また、誤
りがある場合には、AckフィールドにAckReplyNgかつDat
aフィールドで指定されてパラメータの誤り部分抽出しS
trフィールドにセットしDid1デバイスに応答メッセージ
を返信する。
(4) When MsgUI and the head of the Data field are UiConfig in Table 6, if there is no error in the request content in step S4, the user holds the Ack field in the Ack field and AckReplyOk described in Table 6 The configuration information of the interface resource is requested by the Data field.
One of the input operation resource configuration information only / output resource configuration information only / input / output resource configuration information is set in the Str field, and a response message is returned to the Did1 device. If there is an error, AckReplyNg and Dat
Extract the error part of the parameter specified in the a field and S
Set in the tr field and return a response message to the Did1 device.

【0220】(5)MsgUIかつDataフィールドの先頭が
表6のUiSelectのときはステップS5処理にて、要求内
容に誤りがなければ、Dataフィールドにて利用要求され
たものに対して利用可能/不可能の判断をおこない、利
用可能であれば操作資源利用管理情報として要求された
入力操作あるいは出力資源がDid1のデバイス種類により
予約された記憶するとともに、AckフィールドにAckRepl
yOkかつStrフィールドに利用許可された入出力操作資源
の情報をセットしDid1デバイスに応答メッセージを返信
する。利用不可能な場合にはAckフィールドにAckReplyN
gかつStrフィールドに利用不可能な入出力操作資源の情
報をセットしDid1デバイスに返信する。また、要求に誤
りがある場合には、AckフィールドにAckReplyNgかつDat
aフィールドで指定されてパラメータの誤り部分抽出しS
trフィールドにセットしDid1デバイスに応答メッセージ
を返信する。更に、要求時にイベント通知指定されてた
入力操作利用を許可した場合は、後に該当操作を検出し
た際に、所定の応答メッセージ(MsgUI+UiRead)にて
その旨をDid1デバイスに(自動的に)通知することも可
能である。
(5) When MsgUI and the head of the Data field are UiSelect in Table 6, if there is no error in the request contents in step S5, the data that can be used in the Data field can be used / not used. Judgment is made, and if available, the input operation or output resource requested as operation resource use management information is reserved by the device type of Did1 and stored in the Ack field.
The information of the I / O operation resource permitted to use is set in the yOk and Str fields, and a response message is returned to the Did1 device. If not available, AckReplyN in Ack field
The information of the unavailable input / output operation resources is set in the g and Str fields, and the information is returned to the Did1 device. If there is an error in the request, the Ack field contains AckReplyNg and Dat
Extract the error part of the parameter specified in the a field and S
Set in the tr field and return a response message to the Did1 device. Further, when the use of the input operation designated by the event notification at the time of the request is permitted, when the corresponding operation is detected later, the fact is notified (automatically) to the Did1 device by a predetermined response message (MsgUI + UiRead). It is also possible.

【0221】(6)MsgUIかつDataフィールドの先頭が
表6のUiReadのときはステップS6処理にて、要求内容
に誤りがなく、かつ要求項目が(4)のUiSelectコマン
ドにより記憶された操作資源管理情報に登録されている
場合は、AckフィールドにAckReplyOk、かつDataフィー
ルドにて要求された入力操作資源の状態をStrフィール
ドにセットしDid1デバイスに応答メッセージを返信す
る。また、要求に誤りがある場合、若しくは要求項目が
操作資源管理情報に含まれていない場合には、Ackフィ
ールドにAckReplyNgかつDataフィールドで指定されたパ
ラメータの誤り部分抽出しStrフィールドにセットしDid
1デバイスに応答メッセージを返信する。
(6) When the MsgUI and the head of the Data field are UiRead in Table 6, in step S6, there is no error in the request contents, and the request item is the operation resource management stored by the UiSelect command of (4). If registered in the information, AckReplyOk is set in the Ack field, and the state of the input operation resource requested in the Data field is set in the Str field, and a response message is returned to the Did1 device. If there is an error in the request, or if the requested item is not included in the operation resource management information, extract the error part of the parameter specified in the AckReplyNg and Data fields in the Ack field, set it in the Str field, and set it in the Did field.
1 Return a response message to the device.

【0222】(7)MsgUIかつDataフィールドの先頭が
表6のUiWriteのときはステップS7処理にて、要求内容
に誤りがなく、かつ要求項目が(4)のUiSelectコマン
ドにより記憶された操作資源管理情報に登録されていれ
ば、Dataフィールドで要求された項目に従った表示・音
声出力おこない、AckフィールドにAckReplyOkをセット
しDid1デバイスに応答メッセージを返信する。また、要
求に誤りがある場合、若しくは要求項目が操作資源管理
情報に含まれていない場合には、AckフィールドにAckRe
plyNgかつDataフィールドで指定されたパラメータの誤
り部分抽出しStrフィールドにセットしDid1デバイスに
応答メッセージを返信する。
(7) When MsgUI and the head of the Data field are UiWrite in Table 6, in step S7, there is no error in the request content, and the requested item is the operation resource management stored by the UiSelect command in (4). If it is registered in the information, it performs display and audio output according to the item requested in the Data field, sets AckReplyOk in the Ack field, and returns a response message to the Did1 device. If there is an error in the request, or if the requested item is not included in the operation resource management information, the AckRe
The error part of the parameter specified in plyNg and Data field is extracted, set in the Str field, and a response message is returned to the Did1 device.

【0223】(8)MsgFileかつDataフィールドの先頭
が表8のFileInfoのときはステップS8処理にて、要求
内容に誤りがない場合は、AckフィールドにAckReplyO
k、かつDataフィールドにて表8ので説明した要求項
目に応じた情報、例えば、ファイルディレクトリ情報、
指定ファイル情報などのファイル属性情報、例えばファ
イル名、データ種類、ファイルサイズ、修飾情報(読出
し専用・消去の可/不可、コピー可/不可、ユーザーに
対する可視性の有無、パスワード保護の有無など)、お
よび空き容量などの情報をStrフィールドにセットしDid
1デバイスに返信する。
(8) If MsgFile and the beginning of the Data field are FileInfo in Table 8, in step S8 processing, if there is no error in the request contents, the AckReplyO
k, and information corresponding to the request item described in Table 8 in the Data field, for example, file directory information,
File attribute information such as designated file information, for example, file name, data type, file size, modification information (read-only / erasable / unable, copy-enabled / unavailable, user visibility, password protection, etc.) And information such as free space is set in the Str field and Did
Reply to one device.

【0224】また、要求に誤りがある場合は、Ackフィ
ールドにAckReplyNgかつDataフィールドで指定されたパ
ラメータの誤り部分抽出しStrフィールドにセットしDid
1デバイスに応答メッセージを返信する。
If there is an error in the request, AckReplyNg is extracted in the Ack field and an error portion of the parameter specified in the Data field is extracted and set in the Str field.
1 Return a response message to the device.

【0225】(9)MsgFileかつDataフィールドの先頭
が表8のFileOpen〜FileWriteのときはステップS9処理
にて、要求内容に誤りがない場合は、AckフィールドにA
ckReplyOk、かつDataフィールドの要求にしたがった表
8の〜で述べたようなファイル操作処理を実行しフ
ァイル操作に纏わる情報をStrフィールドにセットしDid
1デバイスに応答メッセージを返信する。
(9) When MsgFile and the beginning of the Data field are FileOpen to FileWrite in Table 8, if there is no error in the request contents in step S9, A is added to the Ack field.
According to the request of ckReplyOk and Data field, the file operation processing as described in (1) to (8) in Table 8 is executed, and information relating to the file operation is set in the Str field and Did is set.
1 Return a response message to the device.

【0226】また、要求に誤りがある場合は、Ackフィ
ールドにAckReplyNgかつDataフィールドで指定されたパ
ラメータの誤り部分抽出しStrフィールドにセットしDid
1デバイスに応答メッセージを返信する。(10)MsgFi
leかつDataフィールドの先頭が表8のFileFormatのとき
はステップS10処理にて、要求内容に誤りがない場合
は、AckフィールドにAckReplyOk、かつDataフィールド
の要求にしたがって表8ので述べたようなファイルフ
ォーマット処理を実行しフォーマット処理に纏わる情報
をStrフィールドにセットしDid1デバイスに応答メッセ
ージを返信する。また、要求に誤りがある場合は、Ack
フィールドにAckReplyNgかつDataフィールドで指定され
たパラメータの誤り部分抽出しStrフィールドにセット
しDid1デバイスに応答メッセージを返信する。
If there is an error in the request, AckReplyNg in the Ack field and an error portion of the parameter specified in the Data field are extracted and set in the Str field.
1 Return a response message to the device. (10) MsgFi
If le and the beginning of the Data field are FileFormat in Table 8, in step S10 processing, if there is no error in the request contents, the Ack field contains AckReplyOk, and the file format described in Table 8 according to the request in the Data field. Executes the process, sets information related to the format process in the Str field, and returns a response message to the Did1 device. If there is an error in the request,
AckReplyNg is extracted in the field and the error part of the parameter specified in the Data field is extracted and set in the Str field, and a response message is returned to the Did1 device.

【0227】(11)MsgPrintのときはステップS11
処理にて、要求内容に誤りがなければ、要求に応じた印
刷動作を行い、正常に要求動作が出来た際に要求メッセ
ージのAckフィールドがAckWaitReplyならばAckフィール
ドにAckReplyOkをセットしDid1デバイスに応答メッセー
ジを返信する。もしも、正常に要求動作が出来なかった
際には、要求メッセージのAckフィールドがAckWaitRepl
yならば、AckフィールドにAckReplyNgかつ動作エラー情
報などをStrフィールドにセットしDid1デバイスに応答
メッセージを返信する。
(11) Step S11 for MsgPrint
In the process, if there is no error in the request contents, the printing operation according to the request is performed, and when the request operation is successfully performed, if the Ack field of the request message is AckWaitReply, set AckReplyOk in the Ack field and respond to the Did1 device Reply message. If the request operation cannot be performed normally, the Ack field of the request message is set to AckWaitRepl
If y, set AckReplyNg and operation error information in the Ack field in the Str field, and return a response message to the Did1 device.

【0228】また、要求内容に誤りがある場合に要求メ
ッセージのAckフィールドがAckWaitReplyならば、Ackフ
ィールドにAckReplyNgかつDataフィールドで指定された
パラメータの誤り部分抽出しStrフィールドにセットしD
id1デバイスに応答メッセージを返信する。
If the request message contains an error and the Ack field of the request message is AckWaitReply, the AckReplyNg is extracted in the Ack field and the error portion of the parameter specified in the Data field is extracted and set in the Str field.
Returns a response message to the id1 device.

【0229】(12)MsgPrintTextのときはステップS
12処理にて、要求内容に誤りがなければ、要求に応じ
た簡易印刷動作を行い、正常に要求動作が出来た際に要
求メッセージのAckフィールドがAckWaitReplyならばAck
フィールドにAckReplyOkをセットしDid1デバイスに応答
メッセージを返信する。もしも、正常に要求動作が出来
なかった際には、要求メッセージのAckフィールドがAck
WaitReplyならば、AckフィールドにAckReplyNgかつ動作
エラー情報などをStrフィールドにセットしDid1デバイ
スに応答メッセージを返信する。また、要求内容に誤り
がある場合に要求メッセージのAckフィールドがAckWait
Replyならば、AckフィールドにAckReplyNgかつDataフィ
ールドで指定されたパラメータの誤り部分抽出しStrフ
ィールドにセットしDid1デバイスに応答メッセージを返
信する。
(12) Step S for MsgPrintText
In step 12, if there is no error in the contents of the request, a simple print operation according to the request is performed, and if the Ack field of the request message is AckWaitReply when the request operation is normally performed, Ack is performed.
Set AckReplyOk in the field and return a response message to Did1 device. If the request operation cannot be performed normally, the Ack field of the request message
If it is WaitReply, AckReplyNg and operation error information are set in the Ack field in the Str field, and a response message is returned to the Did1 device. If there is an error in the request content, the Ack field of the request message is set to AckWait
If it is Reply, AckReplyNg is extracted in the Ack field and the error part of the parameter specified in the Data field is extracted, set in the Str field, and a response message is returned to the Did1 device.

【0230】(13)MsgCommandのときはステップS1
3処理にて、要求内容に誤りがない場合は、要求に応じ
た拡張機能を実行し、正常に要求動作が出来た際に要求
メッセージのAckフィールドがAckWaitReplyならばAckフ
ィールドにAckReplyOkをセットしDid1デバイスに応答メ
ッセージを返信する。もしも、正常に要求動作が出来な
かった際には、要求メッセージのAckフィールドがAckWa
itReplyならば、AckフィールドにAckReplyNgかつ動作エ
ラー情報などをStrフィールドにセットしDid1デバイス
に応答メッセージを返信する。また、要求内容に誤りが
ある場合に要求メッセージのAckフィールドがAckWaitRe
plyならば、AckフィールドにAckReplyNgかつDataフィー
ルドで指定されたパラメータの誤り部分抽出しStrフィ
ールドにセットしDid1デバイスに応答メッセージを返信
する。
(13) In the case of MsgCommand, step S1
In step 3, if there is no error in the request contents, the extended function according to the request is executed. If the Ack field of the request message is AckWaitReply when the request operation is normally performed, AckReplyOk is set in the Ack field and Did1 Reply message to the device. If the request operation cannot be performed normally, the Ack field of the request message is set to AckWa
In the case of itReply, AckReplyNg and operation error information are set in the Ack field in the Str field, and a response message is returned to the Did1 device. If there is an error in the request content, the Ack field of the request message is set to AckWaitRe
If it is ply, AckReplyNg is extracted in the Ack field and the error part of the parameter specified in the Data field is extracted and set in the Str field, and a response message is returned to the Did1 device.

【0231】尚、上記それぞれの処理(ステップS1〜S
13)にて、デバイス自体が要求された機能をサポート
してない(例えば、DevPrtはMsgFile機能未サポート)
場合には、AckフィールドにAckReplyNgかつDataフィー
ルドで要求されたパラメータをStrフイールドにセット
しDid1デバイスに返信する。また、要求メッセージのAc
kフィールドがAckNoReplyの場合は上記のような返信を
基本的には行わない。しかし、要求された機能の目的が
情報返信することだけしか意味がないもの、例えばMsgP
acketSize、MsgDevConfig、MsgDevStatus、MsgUIのUiCo
nfig、MsgUIのUiReadなどの要求に対しては、たとえAck
NoReply指定されても上記のような返信をおこなう。
Each of the above processes (steps S1 to S
In 13), the device itself does not support the requested function (for example, DevPrt does not support the MsgFile function)
In this case, AckReplyNg is set in the Ack field and the parameter requested in the Data field is set in the Str field, and the response is returned to the Did1 device. Also, Ac in the request message
When the k field is AckNoReply, the above reply is not basically performed. However, the purpose of the requested function is only meaningful to return information, such as MsgP
acketSize, MsgDevConfig, MsgDevStatus, UiCo of MsgUI
For requests such as nfig, MsgUI's UiRead, even Ack
Even if NoReply is specified, the above reply is made.

【0232】(実施形態11)次に、上述した実施形態
1〜10の構成により適用が可能な制御プログラム例に
ついてフローチャート図参照し以下に詳述する。
(Embodiment 11) Next, an example of a control program that can be applied by the above-described embodiments 1 to 10 will be described in detail with reference to flowcharts.

【0233】まず、図13の処理2はカード制御部CCT
30若しくはカード制御回路CCNT40の制御プログラム
のひとつで、プログラムはカード制御部CCT30のROM3
3若しくはプリンタ制御部10のROM13に記憶されてお
り、CPUが必要に応じ適時に読出し・実行することで目
的とする制御をおこなうことが出来る。本制御プログラ
ムは、プリンタ装置1に備えたカードデバイス挿入口に
カードデバイスCDV200が装着された際に、割り込み信号
などによりカードデバイス装着をカード制御部CCT30
若しくはカード制御回路CCNT40が認識したときに実行さ
れる。
First, the processing 2 in FIG.
30 or one of the control programs of the card control circuit CCNT40, and the program is stored in the ROM 3 of the card control unit CCT30.
3 or stored in the ROM 13 of the printer control unit 10, and the CPU can read out and execute it as needed to perform desired control. When the card device CDV200 is inserted into the card device insertion slot provided in the printer device 1, this control program causes the card control unit CCT30 to execute the card device insertion by an interrupt signal or the like.
Alternatively, the processing is executed when the card control circuit CCNT40 recognizes.

【0234】まず、ステップS20で装着されたカードデ
バイスCDV200の種別を読出し、次にステップS21にて装
着されたカードデバイスのハードウェア構成情報などの
カードデバイス接続通知情報を生成する。そして、後述
の処理9にてインターフェース或いは内部バスなどを介
しプリンタ装置1を通じて、カードデバイス接続通知情
報をホスト装置100に送り、本制御プログラムを終了
する。
First, in step S20, the type of the attached card device CDV200 is read, and then, in step S21, card device connection notification information such as hardware configuration information of the attached card device is generated. Then, in process 9 described later, the card device connection notification information is sent to the host device 100 via the printer device 1 via an interface or an internal bus, and the control program ends.

【0235】次に、図14の処理3もカード制御部CCT
30若しくはカード制御回路CCNT40の制御プログラム
のひとつで、上記同様にプログラムはカード制御部CCT
30のROM33若しくはプリンタ制御部10のROM13に記
憶されており、CPUが必要に応じ適時に読出し・実行す
ることで目的とする制御をおこなうことが出来る。本制
御プログラムは、プリンタ装置1に備えたカードデバイ
ス挿入口にカードデバイスCDV200が装着された際に割り
込み信号などによりカードデバイス装着をカード制御部
CCT30若しくはカード制御回路CCNT40が認識したと
き、或いはカードデバイス200のカードデバイス通信
制御部を介し、例えばCPH430(セルラーフォーン)など
の外部通信機器が接続された際に実行され、前述の実施
形態9で説明したMsgUI要求により、プリンタ装置1のL
EDなどの表示器およびホスト装置のDISP140表示出力を
カード制御部から利用する制御プログラム例である。
Next, processing 3 in FIG.
30 or one of the control programs of the card control circuit CCNT40.
The data is stored in the ROM 33 of the printer 30 or the ROM 13 of the printer control unit 10, and the CPU can read out and execute it as needed to perform the desired control. This control program is executed by the card control unit when the card device CDV200 is inserted into the card device insertion slot provided in the printer device 1 by an interrupt signal or the like.
This is executed when the CCT 30 or the card control circuit CCNT 40 recognizes, or when an external communication device such as a CPH430 (cellular phone) is connected via the card device communication control unit of the card device 200. In response to the described MsgUI request, the L
6 is an example of a control program that uses a display such as an ED and a display output of a DISP140 of a host device from a card control unit.

【0236】まず、ステップS40でプリンタ装置1(Dev
Prtデバイス)のLED表示器を点滅などさせ、ユーザーに
カードデバイス或いはセルラーフォーンなどのデバイス
接続確認中であることを知らせる、次にステップS41に
てホスト装置の表示出力装置DISP140(DveDispデバイス)
にデバイス接続確認中であることをユーザーに知らせる
ためのメッセージまたはアイコンなどの画像を表示、或
いは音声出力装着AUD140(DevAudデバイス)にデバイス
接続確認中であることを伝える音声を出力させる。そし
て、ステップS41で目的の処理、例えばカードデバイス
接続であれば上述の処理2などの処理を、CPH430(セル
ラーフォーン)などの外部通信機器が接続された場合に
はデバイス接続確認手続きなどを行う。
First, in step S40, the printer 1 (Dev
The LED display of the Prt device blinks to inform the user that the connection of the device such as a card device or cellular phone is being confirmed. Next, in step S41, the display output device DISP140 (DveDisp device) of the host device.
To display a message or an image such as an icon for notifying the user that the device connection is being confirmed, or output a sound to the AUD 140 (DevAud device) equipped with the audio output to notify that the device connection is being confirmed. Then, in step S41, a target process, for example, a process such as the process 2 described above when a card device is connected, and a device connection confirmation procedure and the like when an external communication device such as a CPH430 (cellular phone) is connected are performed.

【0237】これらの目的処理が終了すると、ステップ
S43にてステップS41で開始したプリンタ装置のLED点滅
をやめさせ、ステップS44ではステップS41で表示させた
メッセージなどを消去させたり、デバイス接続手続きの
終了を知らせるメッセージを一定時間表示させたり、或
いはデバイス接続手続きの終了を音声で知らせたりす
る。そして、ステップS45にてステップS44で表示させた
メッセージなどの表示を消させ、本制御プログラムを終
了する。
When these target processes are completed, a step
In step S43, the LED of the printer device started blinking in step S41 is stopped, and in step S44, the message displayed in step S41 is deleted, a message notifying the end of the device connection procedure is displayed for a fixed time, or The end of the connection procedure is notified by voice. Then, in step S45, the display such as the message displayed in step S44 is erased, and the control program ends.

【0238】次に、図15の処理4はホスト装置の制御
プログラムのひとつで、本制御プログラムは、例えばホ
スト装置の読出し専用記憶デバイス(RDV)から必要な
ときにシステム制御部(SCT)のRAMにロードされたり、
或いは予めROMなどに記憶されており、CPUが必要に応じ
適時に読出し・実行することで目的とする制御をおこな
うことが出来る。
Next, the processing 4 in FIG. 15 is one of the control programs of the host device. This control program is, for example, read from the read only storage device (RDV) of the host device when necessary, and stores the RAM in the system control unit (SCT). Or loaded into
Alternatively, it is stored in advance in a ROM or the like, and the CPU can read out and execute it as needed to perform the desired control.

【0239】本制御プログラムは、ホスト装置がプリン
タ装置1に装着されたカードデバイスCDV200に対してフ
ァイル操作する際に実行され、前述の実施形態9で説明
したMsgUI要求により、プリンタ装置1のLEDなどの表示
器をホスト装置から利用する制御プログラム例である。
This control program is executed when the host device performs a file operation on the card device CDV200 mounted on the printer device 1, and the MsgUI request described in the ninth embodiment described above causes the LED of the printer device 1 to operate. 5 is an example of a control program that uses the display device of FIG.

【0240】まず、ステップS60でプリンタ装置1(Dev
Prtデバイス)のLED表示器を点滅などさせ、ユーザーに
カードデバイスのアクセス中であることを知らせ、次に
ステップS61にて目的のカードデバイス内のメモリに対
するファイル操作、例えばファイル読出し・ファイル書
き込みなど行う。これらの目的処理が終了すると、ステ
ップS62にてステップS60で開始したプリンタ装置のLED
点滅をやめさせ、本制御プログラムを終了する。
First, in step S60, the printer 1 (Dev
The LED display of the Prt device blinks to notify the user that the card device is being accessed, and then in step S61, a file operation is performed on the memory in the target card device, for example, a file read / write operation. . When these target processes are completed, in step S62 the LED of the printer device started in step S60.
The blinking stops and the control program ends.

【0241】次に、図16の処理5もホスト装置の制御
プログラムのひとつで、本制御プログラムは、例えばホ
スト装置の読出し専用記憶デバイス(RDV)から必要な
ときにシステム制御部(SCT)のRAMにロードされたり、
或いは予めROMなどに記憶されており、CPUが必要に応じ
適時に読出し・実行することで目的とする制御をおこな
うことが出来る。
Next, the processing 5 in FIG. 16 is also one of the control programs of the host device, and this control program is, for example, read from the read only storage device (RDV) of the host device when it is necessary to store the RAM of the system control unit (SCT). Or loaded into
Alternatively, it is stored in advance in a ROM or the like, and the CPU can read out and execute it as needed to perform the desired control.

【0242】本制御プログラムは、ユーザー操作或いは
所定時間以上何も操作されなかった際に、ホスト装置が
省電力モードに移行するときの制御プログラム例であ
る。まず、ステップS80でプリンタ装置1などの接続さ
れている装置に対して所定のコマンド等により省電力モ
ードへの移行を要求し、ステップS81にて要求先の全デ
バイスの省電力モード移行完了を待つ。そして、要求先
デバイスが全て省電力モードに移行したことを確認する
と、ステップS82でホスト装置自身も省電力モードに移
行させ、本制御プログラムを終了する。
This control program is an example of a control program when the host device shifts to the power saving mode when a user operation or no operation is performed for a predetermined time or more. First, in step S80, a request to the connected device such as the printer device 1 is requested to shift to the power saving mode by a predetermined command or the like, and in step S81, the completion of shifting to the power saving mode is completed for all requested devices. . Then, when it is confirmed that all the request destination devices have shifted to the power saving mode, the host device itself also shifts to the power saving mode in step S82, and this control program ends.

【0243】最後に、図17の処理6もホスト装置の制
御プログラムのひとつであり、本制御プログラムは、例
えばホスト装置の読出し専用記憶デバイス(RDV)か
ら、必要なときにシステム制御部(SCT)のRAMにロード
されたり、或いは予めROMなどに記憶されており、CPUが
必要に応じ適時に読出し・実行することで目的とする制
御をおこなうことが出来る。
Finally, the processing 6 in FIG. 17 is also one of the control programs of the host device, and this control program is executed, for example, from the read-only storage device (RDV) of the host device when necessary by the system control unit (SCT). Is loaded in a RAM or stored in a ROM or the like in advance, and the CPU can read out and execute it as needed to perform desired control.

【0244】本制御プログラムは、接続されているキー
ボード入力装置(KB310)、無線キーボード入力装置(W
KB410)、或いはセルラーフォーン(CPH430)等よりホ
スト装置が文字入力を取得するための制御プログラム例
である。
This control program includes a keyboard input device (KB310) and a wireless keyboard input device (W
This is an example of a control program for the host device to obtain a character input from a cellular phone (CPH430) or the like.

【0245】まず、ステップS100ではシステム上に接続
されている利用可能なキーボード入力装置を調査・確認
し、少なくともひとつでも利用することが可能なキーボ
ード入力装置を発見した場合には、ステップS101にて利
用可能なキーボード入力装置に対して入力操作資源の利
用を要求し、要求先からの利用許可通知を待ち、ステッ
プS102に移行する。
First, in step S100, available keyboard input devices connected to the system are investigated and confirmed. If at least one keyboard input device that can be used is found, in step S101, the process proceeds to step S101. A request is made to an available keyboard input device for use of the input operation resource, and a use permission notification from the request destination is waited for, and the process proceeds to step S102.

【0246】また、ステップS100の結果、ひとつも利用
可能なキーボード入力装置を発見できなかった場合は、
S101のように入力操作資源利用を要求することなくス
テップS102に移行する。ステップS102では、次にシステ
ム上に接続されている他に利用可能な10キー入力装置
を備えた機器、例えばセルラーフォーン(CPH430)等の
調査・確認し、少なくともひとつでも利用することが可
能な機器を発見した場合には、ステップS103にて利用可
能な機器に対して10キー入力、若しくは10キー操作によ
る文字入力操作などの操作資源の利用を要求し、要求先
からの利用許可通知を待ち、ステップS104に移行する。
また、ステップS102の結果、ひとつも利用可能な機器を
発見できなかった場合は、S103のように入力操作資源利
用を要求することなくステップS104に移行する。
If no usable keyboard input device is found as a result of step S100,
The process proceeds to step S102 without requesting the use of the input operation resource as in S101. In step S102, a device that is connected to the system and has another available 10-key input device, such as a cellular phone (CPH430), is checked and confirmed, and at least one device can be used. If found, in step S103, a request for use of operation resources such as a 10-key input or a character input operation by a 10-key operation is made to an available device, and a use permission notification from the request destination is waited for. Move to step S104.
If no usable device is found as a result of step S102, the process proceeds to step S104 without requesting use of input operation resources as in step S103.

【0247】そして、ステップS104にて利用要求したも
のからの文字入力を待ち、文字入力があると文字入力を
必要とするアプリケーション・プログラムなどに入力さ
れた文字情報などを提供する。また、ステップS100およ
びステップS102の双方ともに入力装置が発見出来なかっ
た場合には、ステップS104にて少なくとも従来の文字入
力手段(例えば、ホスト装置の表示出力装置であるDISP
140にひらがな51文字、アルファベット52文字(大文字/
小文字)、数字、記号などを操作パネル(CP130)上の
カーソルキー/ボタン操作などによる選択操作により切
替え表示して、操作パネル(CP130)上のカーソルキー/
ボタン操作による文字選択確定操作などの操作を繰り返
しての文字入力手段)による文字入力機能を提供する。
そして、文字入力操作が必要なくなると、本制御プログ
ラムを終了する。
In step S104, the system waits for a character input from the one whose use has been requested, and if there is a character input, provides the input character information to an application program or the like that requires the character input. If the input device cannot be found in both step S100 and step S102, at least the conventional character input means (for example, DISP which is a display output device of the host device) is determined in step S104.
140 hiragana 51 characters, alphabet 52 characters (uppercase /
Lowercase letters, numbers, symbols, etc. are switched and displayed by selecting operations using the cursor keys / buttons on the operation panel (CP130), and the cursor keys /
A character input function is provided by a character input means that repeats an operation such as a character selection confirmation operation by a button operation.
Then, when the character input operation becomes unnecessary, the control program ends.

【0248】以上述べたように、システム上に接続され
る機器の保有する入力操作手段や、LED表示器・文字/画
像出力装置などの資源を他デバイスからも必要に応じて
利用でき、また、接続機器の状態なども他デバイスから
必要に応じて利用できるわけである。これらの機能を活
用することにより、例えば機器の操作性を改善する目的
でのLED表示器などのインジケータ追加や、操作ボタン
などの追加も不要或いは最小限に止めることが可能であ
り、また、ホスト装置の表示装置、音声出力装置なども
利用することにより、例えばカラー表示、アイコン、メ
ッセージ、音声などで初心者のユーザーにも分かりやす
く、使いやすい操作性に優れた画像処理システムの提供
が可能である。尚、上記紹介した制御プログラム例で
は、プリンタ装置が他機器の入出力資源を利用した例を
説明しなかったが、例えばプリンタ印刷中に生じる印刷
用紙切れなどのエラー発生時に、接続さえれているセル
ラーフォーンの表示器を利用して、「プリンタが用紙切
れです!」のようなメッセージを表示することも可能で
ある。
As described above, the input operation means of the device connected to the system and the resources such as the LED display and the character / image output device can be used from other devices as necessary. The status of the connected device can be used from other devices as needed. By utilizing these functions, it is possible to minimize or eliminate the addition of indicators such as LED indicators and operation buttons for the purpose of improving the operability of devices. By using the display device of the device, the audio output device, and the like, it is possible to provide an image processing system that is easy to understand even for a novice user and easy to use, for example, by color display, icons, messages, voices, and the like. . Although the example of the control program introduced above does not describe an example in which the printer device uses the input / output resources of another device, the connection is established when an error such as running out of printing paper occurs during printing of the printer. A message such as "Printer is out of paper!" Can be displayed using the cellular phone display.

【0249】(実施形態12)次に、上述した実施形態
1〜10の構成に適用が可能なエラー処理関連の制御プ
ログラム例についてフローチャート図を参照し以下に詳
述する。上記システム構成のプリンタ装置がホスト装置
と通信できない状態、例えばホスト装置の電源がOFFし
ていたり、プリンタ装置とホスト装置を接続するインタ
ーフェースケーブルなどが接続されていない場合に、例
えばユーザーによりカードデバイスをプリンタ装置され
ても、カード制御部CCT30およびプリンタ装置からホス
ト装置に通信できないので、この状態では上述したよう
なカードデバイス装着をホスト装置が自動検出するよう
な機能を提供できない問題がある。
(Embodiment 12) Next, an example of a control program related to error processing applicable to the configurations of the above-described Embodiments 1 to 10 will be described in detail with reference to flowcharts. When the printer device having the above system configuration cannot communicate with the host device, for example, when the power of the host device is turned off or an interface cable for connecting the printer device and the host device is not connected, for example, the user may remove the card device. Even if the printer device is used, communication from the card control unit CCT30 and the printer device to the host device is not possible, and in this state, there is a problem that a function of automatically detecting the mounting of the card device as described above cannot be provided by the host device.

【0250】これらは、「ホスト装置の電源をONしな
い、或いはインターフェースケーブルを接続してくれな
い」というユーザーの誤操作に主原因があると解釈さ
れ、従来は「ある意味では仕方がない的な理由」でこの
ような状態におけるトラブルシューティングは操作説明
書などだけで対処していた。しかし、本発明で提供しよ
うとしているような家庭用システム装置の利用ユーザー
はいわゆる初心者層の方々が多いと予想されるので、こ
のような誤操作の解決方法においても出来るだけ操作説
明書などを熟読させずに、かつ出来るだけ簡単で理解し
やすい解決方法を伝えられるようにすることも、操作性
の向上と言う意味では重要である。そこで、本実施形態
では、少なくともプリンタ装置に電力が供給されている
状態で、(1)「カードデバイスと通信できない際に、
ホスト装置からプリンタ装置に対してカードデバイスに
纏わる要求をされて場合、プリンタ装置に備えている表
示器/ブザーなどを利用して少なくとも操作エラーであ
ることをユーザーに知らせる方式」、および、(2)
「ホスト装置と通信できない際に、プリンタ装置に備え
ている表示器/ブザーなどを利用して少なくとも操作エ
ラーであることをユーザーに知らせる方式」、および、
(3)「ホスト装置と通信できない際に、ユーザーの操
作に起因するホスト装置に対する要求などをプリンタ装
置内にエラー履歴として記憶しておき、後にホスト装置
とプリンタ装置とが通信可能になったときに、ホスト装
置はプリンタ装置からエラー履歴を読出し誤操作された
操作内容・順序などを解析して、画面上の文字・絵、音
声などにより操作カイドする方式」の制御プログラムを
以下に述べる。
These are interpreted as the main cause of the user's erroneous operation of "the power supply of the host device is not turned on or the interface cable is not connected". The troubleshooting in such a state was dealt with only by the operation manual. However, it is expected that there will be many users of the home system device as provided in the present invention, that is, so-called beginners. Therefore, even in such a solution for erroneous operation, it is necessary to carefully read the operation manual and the like as much as possible. It is also important to be able to communicate a solution that is as simple and easy to understand as possible without increasing the operability. Therefore, in the present embodiment, at least in a state where power is supplied to the printer device, (1) "when communication with the card device is not possible,
When the host device requests the printer device for the card device, a method of informing the user of at least an operation error using a display / buzzer or the like provided in the printer device "and (2) )
"A method to notify the user of at least an operation error using a display / buzzer provided in the printer device when communication with the host device is not possible", and
(3) "When communication with the host device is not possible, a request to the host device due to a user operation is stored as an error history in the printer device, and the communication between the host device and the printer device becomes possible later. The following describes a control program of "a method in which the host device reads an error history from the printer device, analyzes the operation content and order of the erroneous operation, and guides the operation using characters, pictures, sounds, etc. on the screen."

【0251】まず、図18の処理7は上記(1)方式の
制御プログラムを説明するフローチャート図である。
尚、本制御プログラムはプリンタ装置の制御プログラム
のひとつで、プログラムはプリンタ装置内のプリンタ制
御部10のROM13に記憶されており、CPUが必要に応じ適時
に読出し・実行することで目的とする制御をおこなうこ
とが出来る。
First, the process 7 in FIG. 18 is a flowchart for explaining the control program of the above-mentioned (1) system.
This control program is one of the control programs for the printer device. The program is stored in the ROM 13 of the printer control unit 10 in the printer device, and the CPU executes the desired control by reading and executing it as needed. Can be performed.

【0252】本制御プログラムは、ホスト装置から外部
インターフェースを通じてプリンタ装置1に要求情報な
どを送信された際に実行する受信制御プログラムであ
る。まず、ステップS120にてホスト装置から受信した情
報を上述の実施形態8、若しくは実施形態9で説明した
手段によりプリンタ装置に対する印刷などの機能に対す
る要求かを判定し、そうであれば、ステップS121でプリ
ンタ装置の従来の印刷動作制御などを実行し本制御プロ
グラムを終了する。
This control program is a reception control program executed when request information and the like are transmitted from the host device to the printer device 1 through the external interface. First, it is determined whether the information received from the host device in step S120 is a request for a function such as printing to the printer device by the means described in the above-described eighth or ninth embodiment. The conventional printing operation control of the printer device is executed, and the control program ends.

【0253】一方、ステップS120でカード制御関連の要
求の場合には、ステップS122でカードデバイス装着の有
無を判定し、カードデバイスが装着されていれば、ステ
ップS123でインターフェース或いは内部バスなどを介し
カード制御部CCT30若しくはカード制御回路CCNT40にホ
スト装置からの要求情報を転送し、本制御プログラムを
終了する。一方、ステップS122でカードデバイス未装着
の場合には、ステップS124で操作エラーが発生したこと
をユーザーに告知すべくプリンタ装置に備えたLEDを点
灯、或いは点滅されたり、ブザーを備えて際にはブザー
を鳴動させ、更に、外部インターフェースを介して要求
がエラー終了したことをホスト装置に通知して本制御プ
ログラムを終了する。
On the other hand, in the case of a card control-related request in step S120, it is determined in step S122 whether or not a card device is mounted. If a card device is mounted, in step S123 the card is connected via an interface or an internal bus. The request information from the host device is transferred to the control unit CCT30 or the card control circuit CCNT40, and the control program ends. On the other hand, when the card device is not mounted in step S122, the LED provided in the printer device is turned on or blinked to notify the user that an operation error has occurred in step S124, or when a buzzer is provided, The buzzer is sounded, and the host device is notified via the external interface that the request has ended with an error, and the control program ends.

【0254】次に、図19の処理8は上記(2)、
(3)方式の制御プログラムを説明するフローチャート
図である。尚、本制御プログラムはプリンタ装置の制御
プログラムのひとつで、プログラムはプリンタ装置内の
プリンタ制御部10のROM13に記憶されており、CPUが必要
に応じ適時に読出し・実行することで目的とする制御を
おこなうことが出来る。
Next, the processing 8 in FIG.
It is a flowchart figure explaining the control program of (3) system. This control program is one of the control programs for the printer device. The program is stored in the ROM 13 of the printer control unit 10 in the printer device, and the CPU executes the desired control by reading and executing it as needed. Can be performed.

【0255】本制御プログラムは、カードデバイス200
に纏わるユーザー操作、或いはカードデバイス200のカ
ードデバイス通信制御部210に通信可能な外部接続機器
よりのユーザー操作によりカード制御部CCT30若しくは
カード制御回路CCNT40からインターフェース或いは内部
バスなどを介しプリンタ装置1に要求情報などを送信さ
れた際に実行する受信制御プログラムである。
This control program is executed by the card device 200
Request from the card control unit CCT30 or the card control circuit CCNT40 to the printer device 1 via an interface or an internal bus by a user operation related to the above or a user operation from an externally connected device capable of communicating with the card device communication control unit 210 of the card device 200. This is a reception control program executed when information or the like is transmitted.

【0256】まず、ステップS140にてカード制御部CCT3
0若しくはカード制御回路CCNT40からインターフェース
或いは内部バスなどを通じて受信した情報を上述の実施
形態8、若しくは実施形態9で説明した手段によりプリ
ンタ装置に対する印刷などの機能に対する要求情報かを
判定し、そうであれば、ステップS141でプリンタ装置の
従来の印刷動作制御などを実行し本制御プログラムを終
了する。
First, in step S140, the card control unit CCT3
0 or the information received from the card control circuit CCNT40 through the interface or the internal bus or the like is determined by the means described in the eighth embodiment or the ninth embodiment as request information for a function such as printing to a printer device. For example, in step S141, the conventional printing operation control of the printer is executed, and the control program ends.

【0257】一方、ステップS140でカード制御関連の要
求の場合には、ステップS142でホスト装置と通信可能か
を判定し、通信可能であれば、ステップS143でカード制
御部CCT30若しくはカード制御回路CCNT40からの要求情
報を外部インターフェース介しホスト装置に転送し、本
制御プログラムを終了する。
On the other hand, in the case of a card control-related request in step S140, it is determined in step S142 whether communication with the host device is possible. If communication is possible, the card control unit CCT30 or the card control circuit CCNT40 in step S143. Is transferred to the host device via the external interface, and this control program ends.

【0258】一方、ステップS142でホスト装置に通信不
可能の場合には、ステップS144でエラー履歴に記録可能
/不可能・記録不要を判断し、記録不可能または記録不
要な場合は、ステップS145で操作エラーが発生したこと
をユーザーに告知すべく、プリンタ装置に備えたLEDを
点灯、或いは点滅させたり、プリンタ装置にブザーを備
えている際にはブザーを鳴動させる。更に、インターフ
ェースまたは内部バスを介して要求がエラー終了したこ
とカード制御部CCT30若しくはカード制御回路CCNT40に
通知して本制御プログラムを終了する。
On the other hand, if it is impossible to communicate with the host device in step S142, it can be recorded in the error history in step S144.
/ Impossible / recording unnecessary, and if recording impossible or recording unnecessary, in order to notify the user that an operation error has occurred in step S145, the LED provided in the printer device is lit or blinked, When the printer device has a buzzer, the buzzer sounds. Further, the control program notifies the card control unit CCT30 or the card control circuit CCNT40 that the request has ended in error via the interface or the internal bus, and ends the control program.

【0259】一方、ステップS144でエラー履歴の記録が
可能な場合は、ステップS146でカード制御部CCT30若し
くはカード制御回路CCNT40からの要求情報をRAM12或い
は不揮発性メモリなどにエラー履歴情報として記録し
て、ステップS147でインターフェースまたは内部バスを
介してカード制御部CCT30若しくはカード制御回路CCNT4
0対して「要求情報はホスト装置に送信できずエラー履
歴に記憶した」こと通知して、本制御プログラムを終了
する。また、操作エラーを即時ユーザーに知らせたい場
合には、ステップS147に、操作エラーが発生したことを
ユーザーに告知すべく「プリンタ装置に備えたLEDを点
灯、或いは点滅されたり、ブザーを備えて際にはブザー
を鳴動させる処理」を追加すれば良い。尚、ステップS1
46で記録されるエラー履歴情報は受信した要求情報の一
部だけでも構わない。即ち、記録したエラー履歴情報を
後にホスト装置にて解析し、操作エラー手順さえ判別可
能な情報があれば十分である。
On the other hand, if the error history can be recorded in step S144, the request information from the card control unit CCT30 or the card control circuit CCNT40 is recorded as error history information in the RAM 12 or the nonvolatile memory in step S146. In step S147, the card control unit CCT30 or the card control circuit CCNT4 via the interface or the internal bus
In response to this, the control program is notified that "the request information could not be transmitted to the host device and was stored in the error history", and the control program was terminated. If the user wants to notify the user of the operation error immediately, in step S147, the user is required to notify the user of the occurrence of the operation error by turning on or blinking an LED provided on the printer device or providing a buzzer. May be added to the process for sounding a buzzer. Step S1
The error history information recorded in 46 may be only a part of the received request information. That is, the recorded error history information is later analyzed by the host device, and it is sufficient if there is information that can determine even the operation error procedure.

【0260】次に、図20の処理9は処理8とは別手法
の上記(2)、(3)方式の制御プログラムを説明する
フローチャート図である。尚、本制御プログラムはカー
ド制御部CCT30若しくはカード制御回路CCNT40の制御プ
ログラムのひとつで、プログラムはカード制御部内のRO
M33若しくはプリンタ制御部10のROM13に記憶されてお
り、CPUが必要に応じ適時に読出し・実行することで目
的とする制御をおこなうことが出来る。
Next, the process 9 in FIG. 20 is a flow chart for explaining a control program of the above-mentioned method (2) or (3) which is different from the process 8. This control program is one of the control programs for the card control unit CCT30 or the card control circuit CCNT40.
It is stored in the M33 or in the ROM 13 of the printer control unit 10, and the CPU can read out and execute it as needed to perform desired control.

【0261】本制御プログラムは、カードデバイス200
に纏わるユーザー操作、或いはカードデバイス200のカ
ードデバイス通信制御部210に通信可能な外部接続機器
よりのユーザー操作によりカード制御部CCT30若しくは
カード制御回路CCNT40からインターフェース或いは内部
バスなどを介しプリンタ装置1に要求情報など送信する
際に実行する送信制御プログラムである。
This control program is executed by the card device 200
Request from the card control unit CCT30 or the card control circuit CCNT40 to the printer device 1 via an interface or an internal bus by a user operation related to the above or a user operation from an externally connected device capable of communicating with the card device communication control unit 210 of the card device 200. This is a transmission control program to be executed when transmitting information and the like.

【0262】まず、ステップS160にてプリンタ装置とホ
スト装置が通信可能であるかを判定し、通信可能であれ
ば、ステップS161でカード制御部CCT30若しくはカード
制御回路CCNT40からインターフェース或いは内部バスな
どを通じてプリンタ装置経由でホスト装置に要求情報を
送信し本制御プログラムを終了する。
First, it is determined in step S160 whether the printer device and the host device can communicate with each other. If communication is possible, in step S161 the printer is transmitted from the card control unit CCT30 or the card control circuit CCNT40 through an interface or an internal bus. The request information is transmitted to the host device via the device, and the control program ends.

【0263】一方、ステップS160でホスト装置に通信不
可能の場合には、ステップS162でエラー履歴に記録可能
/不可能・記録不要を判断し、記録不可能または記録不
要な場合は、ステップS163で操作エラーが発生したこと
をユーザーに告知すべくインターフェース或いは内部バ
スなどを介し「プリンタ装置に備えたLEDを点灯、或い
は点滅させ、また、プリンタ装置にブザーを備えている
際にはブザーを鳴動させるための要求」を行い本制御プ
ログラムを終了する。
On the other hand, if it is impossible to communicate with the host device in step S160, it can be recorded in the error history in step S162.
If it is determined that recording is not possible / recording is not possible, and recording is not possible or recording is not required, the LED provided in the printer device is turned on via an interface or an internal bus to notify the user of an operation error in step S163. A request to turn on or blink, or to sound the buzzer when the printer device has a buzzer, "and terminates the control program.

【0264】一方、ステップS162でエラー履歴の記録が
可能な場合は、ステップS164で送信する予定だった要求
情報をRAM32(または、上記図4、図5の構成のときはRA
M12)或いは不揮発性メモリなどにエラー履歴情報とし
て記録して、ステップS165でカード制御部CCT30若しく
はカード制御回路CCNT40に対して「要求情報はホスト装
置に送信できずエラー履歴に記憶した」こと通知して、
本制御プログラムを終了する。
On the other hand, if the error history can be recorded in step S162, the request information that was to be transmitted in step S164 is stored in the RAM 32 (or in the case of the configurations of FIGS.
M12) or record it as error history information in a non-volatile memory or the like, and in step S165, notify the card control unit CCT30 or the card control circuit CCNT40 that "the request information could not be transmitted to the host device and was stored in the error history". hand,
This control program ends.

【0265】また、操作エラーを即時ユーザーに知らせ
たい場合には、ステップS165に、操作エラーが発生した
ことをユーザーに告知すべく、「プリンタ装置に備えた
LEDを点灯、或いは点滅させ、また、プリンタ装置にブ
ザーを備えている際にはブザーを鳴動させるための要求
する処理」を追加すれば良い。尚、ステップS164で記録
されるエラー履歴情報は受信した要求情報の一部だけで
も構わない。即ち、記録したエラー履歴情報を後にホス
ト装置にて解析し、操作エラー手順さえ判別可能な情報
があれば十分である。
If it is desired to notify the user of the operation error immediately, the process proceeds to step S165 in order to notify the user that an operation error has occurred.
It is only necessary to add a process for turning on or blinking the LED and requesting the buzzer to sound when the printer device has a buzzer. The error history information recorded in step S164 may be only a part of the received request information. That is, the recorded error history information is later analyzed by the host device, and it is sufficient if there is information that can determine even the operation error procedure.

【0266】最後に、図21の処理10は上記(3)方
式の制御プログラムを説明するフローチャート図であ
る。尚、本制御プログラムはホスト装置の制御プログラ
ムのひとつであり、プログラムは、例えばホスト装置の
読出し専用記憶デバイス(RDV)から、必要なときにシ
ステム制御部(SCT)のRAMにロードされたり、或いは予
めROMなどに記憶されており、CPUが必要に応じ適時に読
出し・実行することで目的とする制御をおこなうことが
出来る。
Finally, process 10 in FIG. 21 is a flowchart for explaining the control program of the above-mentioned (3) method. This control program is one of the control programs of the host device. The program is loaded from the read-only storage device (RDV) of the host device to the RAM of the system control unit (SCT) when necessary, or It is stored in a ROM or the like in advance, and the CPU can read out and execute it as needed to perform desired control.

【0267】本制御プログラムは、ホスト装置がプリン
タ装置との接続を認識しかつ通信が可能になった際に実
行するエラー操作ガイド制御プログラムである。まず、
ステップS180にてプリンタ装置或いはカード制御の状態
取得などで処理8のステップS146、若しくは処理9のス
テップS164で記憶されたエラー履歴情報が存在するかを
判定し、エラー履歴情報が存在しない場合には通常のそ
の他の処理(ステップS181)に移行する。一方、エラー
履歴情報が存在する場合には、ステップS182でプリンタ
装置或いはカード制御部よりエラー履歴情報を読出し、
ステップS183でユーザーに操作エラーがあったことを告
知すべく、表示出力装置装置DISP140或いは音声出力AUD
140などに少なくとも操作エラーがあったことを示す出
力をさせて、ステップS184にて、エラー履歴情報を解析
し、エラーが発生した順序、およびエラー要因に応じた
操作手順を説明する文字、絵、音声などの操作ガイドを
表示出力装置装置DISP140或いは音声出力AUD140などに
出力し、ユーザーによる所定の操作などで操作ガイドを
中止指示されると、本制御プログラム終了する。
This control program is an error operation guide control program that is executed when the host device recognizes the connection with the printer device and communication becomes possible. First,
In step S180, it is determined whether the error history information stored in step S146 of process 8 or step S164 of process 9 exists by acquiring the status of the printer device or the card control, and if the error history information does not exist, The process proceeds to other normal processes (step S181). On the other hand, if the error history information exists, the error history information is read from the printer or the card control unit in step S182,
In step S183, a display output device DISP140 or an audio output AUD is provided to notify the user of an operation error.
140 and the like, at least output indicating that there was an operation error, analyze the error history information in step S184, the order in which the error occurred, and a character, picture, The operation guide such as voice is output to the display output device DISP140 or the audio output AUD 140, and when the user is instructed to stop the operation guide by a predetermined operation or the like, the control program ends.

【0268】例えば、エラー履歴情報の内容がカード
デバイス装着通知であった場合は、「まず、装置本体の
電源をONしてください。つぎに、カードをプリンタにセ
ットしてください。」などの操作ガイドメッセージを出
力することが可能である。
For example, if the content of the error history information is a card device installation notification, an operation such as "Turn on the power of the apparatus main body. Then, set the card in the printer." It is possible to output a guide message.

【0269】(実施形態13)次に、上述した実施形態
の構成に適用が可能な印刷制御に関連した制御プログラ
ム例についてフローチャート図を参照し以下に詳述す
る。
Embodiment 13 Next, an example of a control program related to print control applicable to the configuration of the above-described embodiment will be described in detail with reference to a flowchart.

【0270】まず、図22の処理11はプリンタ装置の
印刷制御に関連した制御プログラムを説明するフローチ
ャート図である。
First, step 11 in FIG. 22 is a flowchart for explaining a control program related to print control of the printer.

【0271】尚、本制御プログラムはプリンタ装置の制
御プログラムのひとつで、プログラムはプリンタ装置内
のプリンタ制御部10のROM13に記憶されており、CPUが必
要に応じ適時に読出し・実行することで目的とする制御
をおこなうことが出来る。
This control program is one of the control programs for the printer device. The program is stored in the ROM 13 of the printer control unit 10 in the printer device, and is read and executed by the CPU as needed when necessary. Can be controlled.

【0272】本制御プログラムは、カードデバイス200
に纏わるユーザー操作、或いはカードデバイス200のカ
ードデバイス通信制御部210に通信可能な外部接続機器
よりのユーザー操作によりカード制御部CCT30若しくは
カード制御回路CCNT40からインターフェース或いは内部
バスなどを介しプリンタ装置1に要求などを送信された
際に実行する受信制御プログラムである。
This control program is executed by the card device 200
Request from the card control unit CCT30 or the card control circuit CCNT40 to the printer device 1 via an interface or an internal bus by a user operation related to the above or a user operation from an externally connected device capable of communicating with the card device communication control unit 210 of the card device 200. This is a reception control program that is executed when such information is transmitted.

【0273】まず、ステップS200にてカード制御部CCT3
0若しくはカード制御回路CCNT40からインターフェース
或いは内部バスなどを通じて受信した情報を上述の実施
形態8、若しくは実施形態9で説明した手段により印刷
機能に対する要求情報かを判定し、そうであれば、ステ
ップS201でプリンタ装置が省電力モードなどのスリープ
状態かを判定し、スリープ状態であれば、ステップS202
でプリンタ装置のプリンタ・ユニットPU20のメカ機構の
初期化などが必要な場合にはプリンタ・イニシャル動作
を開始させておくことで、この後に要求情報をホスト装
置に送り、その結果、ホスト装置がプリンタ装置に対し
て印刷要求されることで開始する印刷動作、若しくは要
求情報が上記実施形態で説明したMsgPrintText要求よう
なプリンタ単独で印刷可能な簡易印刷動作、を出来るだ
け早く開始できるように前もって印刷準備させておき、
続くステップS204に進む。
First, in step S200, the card control unit CCT3
0 or the information received from the card control circuit CCNT40 through the interface or the internal bus or the like is determined as the request information for the printing function by the means described in the eighth embodiment or the ninth embodiment, and if so, in step S201 It is determined whether the printer device is in a sleep state such as a power saving mode.
If it is necessary to initialize the mechanical mechanism of the printer unit PU20 of the printer device, the printer initial operation is started, and thereafter the request information is sent to the host device, and as a result, the host device A print operation is started in advance so that a print operation that starts when a print request is issued to the device or a simple print operation in which the request information can be printed by the printer alone, such as the MsgPrintText request described in the above embodiment, can be started as soon as possible. Let me
Proceed to the following step S204.

【0274】一方、ステップS201でスリープ状態でない
場合には、プリンタは既にイニシャル動作など完了して
おり、いつでも印刷可能な状態なのでステップS202のよ
うなプリンタイニシャル動作をする必要がないためステ
ップS204に進む。次に、ステップS204にて要求情報がMs
gPrintText要求ようなプリンタ単独で印刷可能な簡易印
刷機能に関するものかを判定し、そうであれば、ステッ
プS206で要求情報にしたがった文字印刷などの簡易印刷
動作を実行し本制御プログラムを終了する。
On the other hand, if the printer is not in the sleep state in step S201, the printer has already completed the initial operation and the like, and can print anytime. Therefore, it is not necessary to perform the printer initial operation as in step S202, and the process proceeds to step S204. . Next, in step S204, the request information is Ms
It is determined whether the request is related to a simple printing function that can be printed by the printer alone, such as a gPrintText request. If so, a simple printing operation such as character printing according to the request information is executed in step S206, and the control program ends.

【0275】一方、ステップS204で通常のホスト装置を
経由した印刷機能であれば、ステップS205で外部インタ
ーフェースを介し要求情報をホスト装置に転送して、本
制御プログラムを終了する。また、ステップS200で要求
情報が印刷機能以外の場合には、たとえプリンタ装置が
省電力モードなどのスリープ状態でもステップS202のよ
うに必ずしもプリンタを印刷可能な状態に準備しておく
必要がないので、ステップS205で同様に要求情報をホス
ト装置に転送して、本制御プログラムを終了する。尚、
ステップS205にて要求情報をホスト装置に転送する制御
を上記図19の処理8を利用することも可能である。
On the other hand, if the print function is via the normal host device in step S204, the request information is transferred to the host device via the external interface in step S205, and the control program ends. Further, if the request information is other than the printing function in step S200, even if the printer device is in a sleep state such as a power saving mode, it is not necessary to prepare the printer in a printable state as in step S202, so In step S205, similarly, the request information is transferred to the host device, and the control program ends. still,
In step S205, control for transferring the request information to the host device can be performed by using the process 8 in FIG.

【0276】次に、図23の処理12はカード制御部CC
T30若しくはカード制御回路CCNT40の制御プログラ
ムのひとつで、本制御プログラムはカード制御部CCT3
0のROM33若しくはプリンタ制御部10のROM13に記憶
されており、CPUが必要に応じ適時に読出し・実行する
ことで目的とする制御をおこなうことが出来る。本制御
プログラムは、カードデバイスCDV200が装着されている
状態、或いはカードデバイス200のカードデバイス通
信制御部を介し、例えばCPH430(セルラーフォーン)な
どの外部通信機器が接続された状態において、カードデ
バイス上のデータを印刷させたり、セルラーフォーンな
どの外部接続機器より要求される受信メールなどの印刷
させたりする機能に関連した、カード制御部の印刷制御
プログラム例である。
Next, the processing 12 in FIG.
This control program is one of the control programs of the T30 or the card control circuit CCNT40.
0 is stored in the ROM 33 of the printer control unit 10 or the ROM 13 of the printer control unit 10, and the CPU can read out and execute it as needed to perform desired control. The control program is executed on the card device in a state where the card device CDV200 is mounted or in a state where an external communication device such as CPH430 (cellular phone) is connected via the card device communication control unit of the card device 200. 9 is an example of a print control program of a card control unit related to a function of printing data or printing a received mail or the like requested by an externally connected device such as a cellular phone.

【0277】尚、所定の操作により文字印刷などのが指
示されると本制御プログラムの実行を開始する。
Incidentally, when an instruction such as character printing is given by a predetermined operation, the execution of this control program is started.

【0278】まず、ステップS220で上述したデバイス構
成・デバイス状態読出し手段などでプリンタ装置1の印
刷能力を調べ、例えばプリンタ装置がCGなどのフォント
情報を持っているか、プリンタがエミュレーション機能
を持っているかなどの情報をプリンタ装置より取得し
て、所望する印刷情報が例えば簡単な画像情報・文字情
報などだけで構成されていて、かつプリンタにそれらの
画像・文字印刷機能を備えている場合には、プリンタ単
独で印刷可能と判断して、ステップS222でプリンタ装置
が単独で印刷可能になるような印字制御情報にて(例え
ば、上述のMsgPrintText要求メッセージなどを利用す
る)印刷制御する。一方、所望する印刷情報に高画質画
像などが含まれ、プリンタ単独の機能だけでは印刷不可
能な場合には、ステップS221にてプリンタ装置を介して
ホスト装置に印刷に必要なデータを渡し、ホスト装置か
らプリンタ装置に所望の画像を印刷させる印刷制御制御
情報を送ることで印刷を行う。
First, in step S220, the printing capability of the printer 1 is checked by the device configuration / device state reading means described above, and, for example, whether the printer has font information such as CG or the printer has an emulation function. Such information is obtained from the printer device, and the desired print information is composed of only simple image information and character information, for example, and when the printer is provided with the image and character print functions, It is determined that printing can be performed by the printer alone, and printing control (for example, using the above-described MsgPrintText request message or the like) is performed in step S222 with print control information that enables the printer device to print alone. On the other hand, if the desired print information includes a high-quality image or the like and cannot be printed only by the function of the printer alone, in step S221, the data necessary for printing is passed to the host device via the printer device, and Printing is performed by sending print control control information for printing a desired image from the device to the printer device.

【0279】次に、図23の処理13は上述の実施形態
8の構成で説明したプリンタ装置の通信制御に関連した
制御プログラムを説明するフローチャート図である。
尚、本制御プログラムはプリンタ装置の制御プログラム
のひとつで、プログラムはプリンタ装置内のプリンタ制
御部10のROM13に記憶されており、CPUが必要に応じ適時
に読出し・実行することで目的とする制御をおこなうこ
とが出来る。
Next, a process 13 in FIG. 23 is a flowchart for explaining a control program related to communication control of the printer described in the configuration of the eighth embodiment.
This control program is one of the control programs for the printer device. The program is stored in the ROM 13 of the printer control unit 10 in the printer device, and the CPU executes the desired control by reading and executing it as needed. Can be performed.

【0280】本制御プログラムは、特に上述の図1〜図
3のシステム構成におけるホスト装置とプリンタ装置を
接続する外部インターフェース・バス2と、プリンタ装
置内のプリンタ制御部とカード制御部を接続するインタ
ーフェース・バスBUS3とを排他的に制御する通信制御プ
ログラムである。
This control program is executed in accordance with the above-described FIGS.
The communication control program exclusively controls the external interface bus 2 connecting the host device and the printer device in the system configuration 3 and the interface bus BUS3 connecting the printer control unit and the card control unit in the printer device. .

【0281】ホスト装置から外部インターフェース・バ
スBUS2を通じて印刷制御情報などの大量データの要求情
報を受け取ると本制御プログラムの実行を開始する。ま
ず、ステップS240にて、既にステップS241によりインタ
ーフェース・バスBUS3の通信を制限中であるか判定し、
既に制限中であればステップS241へ進む。一方、制限中
でなければ、ステップS241にてカード制御部とプリンタ
制御部を接続するインターフェース・バスBUS3の通信制
御の制限を開始する。
When the request information of a large amount of data such as print control information is received from the host device via the external interface bus BUS2, the execution of this control program is started. First, in step S240, it is determined whether the communication of the interface bus BUS3 is already restricted by step S241,
If the restriction has already been made, the process proceeds to step S241. On the other hand, if the restriction is not being imposed, the restriction of the communication control of the interface bus BUS3 connecting the card control unit and the printer control unit is started in step S241.

【0282】ここでいう制限とは、例えば単純にインタ
ーフェース・バスBUS3をビジー状態にして、カード制御
部との通信を物理的に禁止しても良いし、また、カード
制御部とプリンタ制御部とのプロトコル手段などによ
り、プリンタ装置がホスト装置と通信中であるこを明示
することで、カード制御部にて多量なデータ通信を待た
せるようにしても良い。
The term "restriction" here means that, for example, the interface bus BUS3 may simply be in a busy state to physically prohibit communication with the card control unit. It is also possible to cause the card control unit to wait for a large amount of data communication by clearly indicating that the printer device is communicating with the host device by the protocol means or the like.

【0283】そして、ステップS242ではホスト装置から
受信した印刷制御情報などの要求に応じた印刷処理など
を開始する。次に、ステップS243でホスト装置から印刷
制御情報などの大量データの要求情報を必要とする印刷
制御が終了したか(例えば、印刷ジョブの終了など)を
判定し、印刷制御が終了していない場合には制限を継続
させ、ステップS245に進む。一方、印刷制御が終了した
場合には、ステップS244でカード制御部とプリンタ制御
部を接続するインターフェース・バスBUS3の通信制限を
解除し通常の通信を可能にさせ、ステップS245に進む。
そして、ステップS245では後処理などのその他必要な従
来の処理を実行し、本制御プログラムを終了する。
Then, in step S242, a printing process or the like according to a request for print control information or the like received from the host device is started. Next, in step S243, it is determined whether print control that requires a large amount of data request information such as print control information from the host device has ended (for example, the end of a print job). If the print control has not ended , The restriction is continued, and the process proceeds to step S245. On the other hand, when the print control is completed, the communication restriction of the interface bus BUS3 connecting the card control unit and the printer control unit is released in step S244 to enable normal communication, and the process proceeds to step S245.
Then, in step S245, other necessary conventional processing such as post-processing is executed, and the control program ends.

【0284】以上説明したように、一方のインターフェ
ース・バスと大量なデータ通信している間、他方のイン
ターフェースを一時的に通信制限することで、例えばプ
リンタ制御部はホスト装置からの印刷動作中にはカード
制御部からのデータ通信を制限できるので、プリンタは
印刷動作に関連した制御だけに集中可能である。このよ
うに構成することで、プリンタ制御部の回路構成の簡略
化や要求するCPUの処理能力なども抑制できるので、装
置全体としてのコストも抑制することも可能である。
As described above, while a large amount of data communication with one interface bus is being performed, the other interface is temporarily limited in communication so that, for example, the printer control unit can perform printing during printing from the host device. Can restrict data communication from the card control unit, so that the printer can concentrate on only the control related to the printing operation. With this configuration, the circuit configuration of the printer control unit can be simplified and the required processing performance of the CPU can be suppressed, so that the cost of the entire apparatus can also be suppressed.

【0285】また、カードデバイスの機能が例えばメモ
リ機能だけであれば、カードデバイスを用いたアプリケ
ーション機能としては、例えば、ホスト装置がカード
デバイス上のファイル情報など読み出す。ホスト装置
はファイル情報から印刷制御情報を生成しプリンタ装置
に印刷させる。ような制御手順なので、本実施形態のよ
うな構成にしてもシステム構成上のパフォーマンスを低
下させてしまうなどの問題も生じない。
If the function of the card device is, for example, only a memory function, the host device reads, for example, file information on the card device as the application function using the card device. The host device generates print control information from the file information and causes the printer device to print. With such a control procedure, there is no problem that the performance of the system configuration is deteriorated even in the configuration of the present embodiment.

【0286】(実施形態14)次に、上述した実施形態
の構成に適用が可能なデバイス制御プログラム例につい
てフローチャート図を参照し以下に詳述する。
(Embodiment 14) Next, an example of a device control program applicable to the configuration of the above-described embodiment will be described in detail below with reference to flowcharts.

【0287】まず、図25の処理14および処理15は
ホスト装置の制御プログラムのひとつで、本制御プログ
ラムは、例えばホスト装置の読出し専用記憶デバイス
(RDV)から必要なときにシステム制御部(SCT)のRAM
にロードされたり、或いは予めROMなどに記憶されてお
り、CPUが必要に応じ適時に読出し・実行することで目
的とする制御をおこなうことが出来る。
First, the processing 14 and the processing 15 in FIG. 25 are one of the control programs of the host device, and this control program is executed by the system control unit (SCT) when necessary, for example, from the read only storage device (RDV) of the host device. RAM
It is loaded in the ROM or stored in advance in a ROM or the like, and the CPU can read out and execute it as needed to perform desired control.

【0288】本制御プログラムは、ホスト装置がシステ
ム上に接続されている機器を利用にさせるデバイス制御
の管理制御プログラムである。ホスト装置のシステム起
動時或いはアプリケーション・プログラム起動時などに
本制御プログラムの実行を開始する。まず、ステップS2
60ではシステム上に接続されている着脱可能で利用可能
な機器を全て確認し、新たに接続されたデバイスを発見
すると、ステップS261で発見したデバイス用のデバイス
制御プログラムを次の手順で検索・読出し、ホスト装置
内のSTC111(システム制御部)のRAMなどに格納、また、
デバイス接続管理情報を更新する。尚、ここでのデバイ
ス制御プログラムの検索・読出し手順は、まず、ホスト
装置のRDV(読み取り専用記憶メディア)が読み取り可能
な状態であればRDV検索し、適切な制御プログラムを発
見したら検索を終了する。RDVに記憶メディアなどがセ
ットされていない等の理由でRDVを読み出せないか、或
いは検索の結果RDVからは適切なものが発見出来なかっ
た場合は、次にEMM(拡張メモリ)を検索し適切なもの
が発見できたら検索を終了する。
This control program is a management control program for device control in which the host device uses a device connected to the system. The execution of the control program is started when the system of the host device or the application program is started. First, step S2
In step 60, all of the detachable and usable devices connected to the system are checked, and when a newly connected device is found, the device control program for the device found in step S261 is searched and read out in the following procedure. , Stored in the RAM of the STC111 (system control unit) in the host device,
Update device connection management information. The procedure for searching and reading the device control program is as follows. First, if the RDV (read-only storage medium) of the host device is in a readable state, the RDV search is performed, and if a suitable control program is found, the search is terminated. . If the RDV cannot be read because the storage medium is not set in the RDV, or if an appropriate one cannot be found from the RDV as a result of the search, the EMM (extended memory) is searched next and the appropriate When you find something you like, end the search.

【0289】更に、EMMが装着されていないか、検索の
結果発見できなかった場合には、対象となる接続機器に
制御プログラムがあるかチェックし、あれば検索を終了
する。それでも、発見出来なかった場合は、インターネ
ット/ネットワークに接続されているかをチェックし
て、接続されていれば所定の外部接続サーバーなどを検
索し適切なものが発見できれば検索を終了する。
Further, if the EMM is not mounted or the search results cannot be found, it is checked whether or not the target connected device has a control program, and if so, the search is terminated. If it is still not found, it is checked whether it is connected to the Internet / network. If it is connected, a predetermined external connection server or the like is searched, and if an appropriate server is found, the search is terminated.

【0290】また、インターネット/ネットワークに接
続されていない場合は、若しくは、所定の外部接続サー
バーなどを検索しても適切なものが発見出来なかった場
合は、システム上に接続されているその他の機器の記憶
手段を検索し適切なものが発見できれば検索を終了す
る。
[0290] If the device is not connected to the Internet / network, or if an appropriate device cannot be found by searching a predetermined external connection server or the like, other devices connected to the system are not connected. When a suitable one is found by searching the storage means, the search is terminated.

【0291】以上の検索を行っても適切なものが発見出
来ない場合には、未発見として検索を終了する。検索の
結果、対象デバイス制御プログラムを発見した場合は、
発見したところからデバイス制御プログラムを読み出
す。また、発見出来なかった場合には、対象デバイスを
利用不可能にする。そして、再びステップS260にてその
他の新接続デバイスがあれば、再びステップS261でデバ
イスドライバの検索・読出し、およびデバイス接続管理
情報の更新をする。そして、全ての接続されているデバ
イス状態の認識を終了すると処理15に進む。
If an appropriate one cannot be found even after performing the above search, the search is terminated as undiscovered. If you find the target device control program as a result of the search,
The device control program is read from the location where it was found. If the target device cannot be found, the target device is made unusable. If there is another newly connected device in step S260, the device driver searches and reads out the device driver and updates the device connection management information again in step S261. When the recognition of the status of all connected devices is completed, the process proceeds to processing 15.

【0292】処理15では、ステップS262でデバイス接
続管理情報を参照して、接続されている機器のデバイス
制御プログラムと対象機器制御プログラムとの整合性を
判定し、全ての接続機器と各デバイス制御プログラムの
整合性があれば、ステップS269に進み全ての接続デバイ
ス機器を利用可能な状態として、本制御プログラムを終
了する。一方、ステップS62で不整合な接続機器を検出
した場合には、ステップS263で対応する機器の制御プロ
グラムの書換えが可能な構成でなければ、検索結果を
「未発見」としてステップS264に進む。一方、書換え可
能な場合には、最適な制御プログラムを検索する。
In the process 15, the consistency between the device control program of the connected device and the target device control program is determined with reference to the device connection management information in step S262, and all the connected devices and each device control program are checked. If there is a match, the process proceeds to step S269, and all the connected device devices are set in a usable state, and the control program ends. On the other hand, if an inconsistent connected device is detected in step S62, and if the control program of the corresponding device cannot be rewritten in step S263, the search result is determined to be “not found” and the process proceeds to step S264. On the other hand, if rewritable, an optimum control program is searched.

【0293】その検索先は、まず、対象となる接続機器
に制御プログラムがあるかチェックし、あれば検索を終
了する。発見できないと、次に、ホスト装置のRDV(読み
取り専用記憶メディア)が読み取り可能な状態であればR
DV検索し、適切な制御プログラムを発見したら検索を終
了する。
The search destination first checks whether there is a control program in the target connected device, and if so, terminates the search. If it cannot be found, then if the host device's RDV (read-only storage medium) is
When DV search is performed and a suitable control program is found, the search is terminated.

【0294】RDVに記憶メディアなどがセットされてい
ない等の理由でRDVを読み出せないか、或いは検索の結
果RDVからは適切なものが発見出来なかった場合は、次
にEMM(拡張メモリ)を検索し適切なものが発見できた
ら検索を終了する。更に、EMMが装着されていないか、
検索の結果発見できなかった場合には、インターネット
/ネットワークに接続されているかをチェックして、接
続されていれば所定の外部接続サーバーなどを検索し適
切なものが発見できれば検索を終了する。
If the RDV cannot be read out because a storage medium or the like is not set in the RDV, or if an appropriate one cannot be found from the RDV as a result of the search, an EMM (extended memory) is next transferred. When the search finds an appropriate one, end the search. In addition, if EMM is not installed,
If the result of the search is that no connection can be found, it is checked whether or not the device is connected to the Internet / network. If connected, a predetermined external connection server or the like is searched.

【0295】また、インターネット/ネットワークに接
続されていない場合は、若しくは、所定の外部接続サー
バーなどを検索しても適切なものが発見出来なかった場
合は、システム上に接続されているその他の機器の記憶
手段を検索し適切なものが発見できれば検索を終了す
る。以上の検索を行っても適切なものが発見出来ない場
合には、未発見として検索を終了する。
[0295] If no connection to the Internet / network is found, or if an appropriate server cannot be found even after searching a predetermined external connection server, other devices connected to the system When a suitable one is found by searching the storage means, the search is terminated. If an appropriate item cannot be found even after performing the above search, the search is terminated as undiscovered.

【0296】次に、ステップS246でステップS263での検
索の結果を判定し、未発見の場合にはステップS268で、
対象デバイスを利用させないように設定するとともに、
画面などにその旨のエラー通知表示などさせ、本処理を
終了する。一方、適切な制御プログラム発見できた場合
には、ステップS265で現在の制御プログラム情報を対象
機器から読出し、必要に応じてその制御プログラム情報
をEMMなどの不揮発性メモリに保存する。
Next, the result of the search in step S263 is determined in step S246, and if not found, in step S268,
Set to not use the target device,
An error notification is displayed on the screen or the like, and the process ends. On the other hand, if an appropriate control program is found, the current control program information is read from the target device in step S265, and the control program information is stored in a non-volatile memory such as an EMM as necessary.

【0297】尚、制御プログラム情報はシステム上に接
続されている書換え・保存可能な不揮発性記憶手段を備
えた全ての接続機器、例えばカードデバイスや、インタ
ーネット/ネットワーク上に接続されている外部装置に
などにも保存可能である。ステップS266で検索の結果発
見できたところから最適な制御プログラム情報を読出
し、ステップS267で対象機器の制御プログラムを最適な
制御プログラムに書換え、そして、ステップS296で、接
続されている機器で、かつ、整合性がある機器のみを利
用可能なデバイスとして設定し本処理を終了する。尚、
ステップS265〜ステップS267の間、表示器などに「ただ
いま接続機器のプログラムを更新中です。絶対に電源を
切らないでください!」などの注意メッセージを表示す
るようにしても良い。
It should be noted that the control program information is stored in all the connected devices having rewritable and storable nonvolatile storage means connected to the system, for example, card devices and external devices connected to the Internet / network. It can be stored in such as. Read the optimal control program information from the place where the result of the search was found in step S266, rewrite the control program of the target device to the optimal control program in step S267, and in step S296, the connected device, and Only compatible devices are set as available devices, and the process ends. still,
During steps S265 to S267, a warning message such as "The connected device program is currently being updated. Please do not turn off the power!" May be displayed on the display or the like.

【0298】次に、図26の処理16はホスト装置の制
御プログラムのひとつで、本制御プログラムは、例えば
ホスト装置の読出し専用記憶デバイス(RDV)から必要
なときにシステム制御部(SCT)のRAMにロードされた
り、或いは予めROMなどに記憶されており、CPUが必要に
応じ適時に読出し・実行することで目的とする制御をお
こなうことが出来る。本制御プログラムは、ホスト装置
がシステム上に接続されている機器を利用にさせるデバ
イス制御の管理制御プログラムである。
Next, the process 16 in FIG. 26 is one of the control programs of the host device, and this control program is, for example, read from the read only storage device (RDV) of the host device when necessary and the RAM of the system control unit (SCT). It is loaded in the ROM or stored in advance in a ROM or the like, and the CPU can read out and execute it as needed to perform desired control. This control program is a management control program for device control in which the host device uses a device connected to the system.

【0299】ホスト装置でのアプリケーション・プログ
ラム起動時などに本制御プログラムの実行を開始する。
まず、ステップS280では上記処理14より利用可能なデ
バイス機器情報を取得し、ステップS281で起動しようと
しているアプリケーション・プログラムと同一記録メデ
ィア上に記録されているヘッダー情報などの管理情報を
参照して、起動しようとしているアプリケーション・プ
ログラムが必要とする機器を抽出し、ステップS282でス
テップS281で抽出した機器が少なくともひとつでも接続
されているか判定し、アプリケーション/プログラムに
必要な機器がひとつも接続されていない場合には、ステ
ップS285でエラーメッセージ、例えば対象アプリケーシ
ョンがデバイスカードを必要とする場合には「カードを
プリンタにセットしてください。」などのメッセージを
出力する。
The execution of the control program is started when the application program is started in the host device.
First, in step S280, device device information that can be used is obtained from the above-described process 14, and management information such as header information recorded on the same recording medium as the application program to be started in step S281 is acquired, and The devices required by the application program to be started are extracted, and it is determined in step S282 whether at least one of the devices extracted in step S281 is connected, and no device required for the application / program is connected. In this case, an error message is output in step S285, for example, a message such as "Please set the card in the printer."

【0300】一方、ステップS282でひとつでも必要な機
器が接続されていて、接続されている機器だけでもアプ
リケーション・プログラムが提供する機能の少なくとも
ひとつでも利用できる場合は、ステップS283で選択され
たアプリケーション・プログラムを起動し、ステップS2
84でアプリケーション・プログラム処理を実行する。次
に、図27の処理17はカード制御部CCT30若しくは
カード制御回路CCNT40の制御プログラムのひとつで、
本制御プログラムはカード制御部CCT30のROM33若し
くはプリンタ制御部10のROM13に記憶されており、CPU
が必要に応じ適時に読出し・実行することで目的とする
制御をおこなうことが出来る。
On the other hand, if at least one necessary device is connected at step S282 and at least one of the functions provided by the application program can be used by only the connected device, the application selected at step S283 is used. Start the program and step S2
At 84, the application program processing is executed. Next, processing 17 in FIG. 27 is one of the control programs of the card control unit CCT30 or the card control circuit CCNT40,
This control program is stored in the ROM 33 of the card control unit CCT 30 or the ROM 13 of the printer control unit 10,
Can be read out and executed as needed to perform desired control.

【0301】本制御プログラムは、カードデバイスCDV2
00が装着され、カード制御部CCT30若しくはカード制
御回路CCNT40がカードデバイス装着を認識したときに実
行されるカードデバイスとカード制御部の整合性制御プ
ログラムである。
This control program is executed by the card device CDV2
00 is a card device and card control unit consistency control program that is executed when the card control unit CCT 30 or the card control circuit CCNT 40 recognizes that a card device has been mounted.

【0302】まず、ステップS290でカードデバイスの機
能バージョン情報を取得し、ステップS291でカード制御
部CCT30のROM33若しくはプリンタ制御部10のROM1
3に記憶されているカード制御部の機能バージョン情報
と比較し、機能制御上の互換性・整合性があれば、ステ
ップS294でカードデバイスが利用できる設定にし、カー
ドデバイス接続通知などのホスト装置に送り、本処理を
終了する。
First, in step S290, the function version information of the card device is obtained. In step S291, the ROM 33 of the card control unit CCT30 or the ROM1 of the printer control unit 10 is obtained.
Compared with the function version information of the card control unit stored in step 3, if there is compatibility and consistency in function control, in step S294, the setting is made so that the card device can be used, and the host device such as a card device connection notification And the process ends.

【0303】一方、ステップS291で互換性・整合性がな
い場合には、ステップS292でカードデバイス上に新機能
追加などの互換性・整合性を持ったカード制御部用の制
御プログラム情報が存在するか判定し、存在すれば、ス
テップS293でカードデバイス上の制御プログラム情報を
読出し、カード制御部CCT30のROM33若しくはプリン
タ制御部10のROM13に記憶されている制御プログラム
の一部分あるいは全体を書換えて、ステップS294でカー
ドデバイスが利用できる設定にし、カードデバイス接続
通知などのホスト装置に送り、本処理を終了する。
On the other hand, if there is no compatibility / consistency in step S291, control program information for the card control unit having compatibility / consistency such as addition of a new function exists on the card device in step S292. If there is, the control program information on the card device is read out in step S293, and a part or the whole of the control program stored in the ROM 33 of the card control unit CCT30 or the ROM 13 of the printer control unit 10 is rewritten. In step S294, the setting is made so that the card device can be used.

【0304】一方、ステップS292でカードデバイス上に
新機能追加などの互換性・整合性を持ったカード制御部
用の制御プログラム情報が存在しない場合には、ステッ
プS295で上記処理15のような制御によりホスト装置か
らカード制御部の制御プログラムを書換えるようにホス
ト装置に要求し、ステップS296で無事にホスト装置がカ
ードデバイスと互換性・整合性を持った制御プログラム
にアップデートできた場合には、ステップS294でカード
デバイスが利用できる設定にし、カードデバイス接続通
知などのホスト装置に送り、本処理を終了する。
On the other hand, if it is determined in step S292 that there is no control program information for the card control unit having compatibility and consistency such as addition of a new function on the card device, control is performed in step S295 as in the above-described processing 15. When the host device requests the host device to rewrite the control program of the card control unit from the host device, and in step S296, if the host device can be successfully updated to a control program compatible and compatible with the card device, In step S294, the setting is made so that the card device can be used.

【0305】一方、ステップS296でホスト装置も制御プ
ログラムのアップデートが出来なかった場合には、ステ
ップS297で接続されたカードデバイスの利用が不可能な
設定とし、カードデバイス非互換通知などをホスト装置
に送り、これを受けてホスト装置は表示器などに警告メ
ッセージ、例えば「このカードは現在利用できません。
申し訳ありませんが、カード製造元にお尋ねくださ
い。」のようなエラーメッセージを出力することが可能
である。
On the other hand, if the host device cannot update the control program in step S296, it is set in step S297 that the connected card device cannot be used, and a notification of card device incompatibility is sent to the host device. The host device sends a warning message on the display, such as "This card is currently unavailable.
Sorry, ask your card manufacturer. Can be output.

【0306】以上述べたように、本実施形態のような制
御をおこなうことで、システム上に接続される機器を利
用するうえでのインストール作業などの手間を省かせる
ことが可能である。また、上記カードデバイスのような
拡張性に富んだ機器は、機能アップなどで機能進化して
いくことが多い事が予想される。しかしながら、例えば
上記のようなカードデバイスを取り付け可能なプリンタ
装置をユーザーに供給する時点では、そのような機能進
化をすべて予測して、将来出現する如何なるカードデバ
イスに対しても制御上の完全互換性を持たせることが難
しいかった。本実施形態はこのような従来の問題にも、
柔軟に対応が可能でその際にもユーザーが特にアップデ
ート作業などを行うことなく、機能アップしたカードデ
バイスの利用が可能である。
As described above, by performing the control as in the present embodiment, it is possible to save labor such as installation work when using the devices connected to the system. In addition, it is expected that a highly scalable device such as the above-mentioned card device will often evolve in function due to functional enhancement or the like. However, when supplying a user with a printer device to which a card device as described above can be attached, for example, all such functional evolutions are anticipated, and complete control compatibility with any card device that will appear in the future. Was difficult to have. The present embodiment solves such a conventional problem,
It is possible to respond flexibly, and in this case, it is possible to use a card device with improved functions without the user having to perform an update operation.

【0307】つまり、カードデバイス機能アップする際
に、カードデバイス自体に機能アップした制御上の互換
性があるカード制御部の制御プログラム情報をともに設
けるようにすれば、本発明により、ユーザーは単にカー
ドデバイスをプリンタに差し込むだけ(バージョンアッ
プ作業などなし)で、機能アップされたカードデバイス
を利用することも可能になる。
In other words, when the card device function is enhanced, if the control program information of the enhanced control compatible card control unit is provided together with the card device itself, the present invention allows the user to simply use the card device. Simply by inserting the device into the printer (no version upgrade work, etc.), it is possible to use a card device that has been upgraded.

【0308】(実施形態15)次に、上述した実施形態
の構成に適用が可能な印刷制御プログラム例についてフ
ローチャート図を参照して以下に詳述する。図28Aの
処理18−1はホスト装置の制御プログラムのひとつ
で、本制御プログラムは、例えばホスト装置の読出し専
用記憶デバイス(RDV)から必要なときにシステム制御
部(SCT)のRAMにロードされたり、或いは予めROMなど
に記憶されており、CPUが必要に応じ適時に読出し・実
行することで目的とする制御を行うことが出来る。
(Embodiment 15) Next, an example of a print control program applicable to the configuration of the above-described embodiment will be described in detail below with reference to flowcharts. The processing 18-1 in FIG. 28A is one of the control programs of the host device. This control program is loaded from the read-only storage device (RDV) of the host device to the RAM of the system control unit (SCT) when necessary. Alternatively, the control is stored in advance in a ROM or the like, and the CPU can read and execute the data as needed and perform the intended control.

【0309】本制御プログラムはアプリケーション・プ
ログラム実行中などから、所定操作により印刷指示など
により本処理の実行を開始する。また、アプリケーショ
ン・プログラムは印刷したい文字・画像データと、後述
のステップS301およびS302の印刷操作メニュー中の選択
項目の設定、その初期値を任意に指定可能である。ここ
で、アプリケーション・プログラムから画像データと操
作メニュー設定項目を受け、所定操作により印刷開始し
指示した際に、操作選択内容に応じて印字モードパラメ
ータ生成および画像データの拡大・縮小するまで制御す
る第1制御プログラム部(ステップS300〜S307)と、第
1制御プログラム部から渡される画像データと印字モー
ドパラメータに応じた印刷画像生成処理とプリンタ装置
に印刷制御させる第2制御プログラム部(ステップS308
~S313)により構成されている。
The present control program starts the execution of the present process in response to a print instruction or the like by a predetermined operation while the application program is being executed. Further, the application program can arbitrarily designate the character / image data to be printed, the setting of selection items in the printing operation menu in steps S301 and S302 described later, and the initial values thereof. Here, when image data and operation menu setting items are received from the application program and printing is started and instructed by a predetermined operation, control is performed until print mode parameter generation and enlargement / reduction of image data according to the operation selection. (1) a control program unit (steps S300 to S307); a second control program unit (step S308) that performs print image generation processing in accordance with image data and print mode parameters passed from the first control program unit and causes the printer to perform print control.
~ S313).

【0310】まず、ステップS300で印刷出力するプリン
タ装置の接続を確認(後述の処理20と同様)し、ステッ
プS301で表示器などにアプリケーション・プログラムか
ら指示にしたがって印刷操作メニューなどを表示させ、
ステップS302にて印刷操作メニューで必要な選択項目が
あれば選択操作(アプリケーションによっては印刷すべ
き用紙種類は一種類であるなら少なくとも用紙種類をユ
ーザーに選択させない手段もある)などされ、所定操作
により印刷開始が指示されると、ステップS303でアプリ
ケーションにより用紙選択指示であれば、ステップS306
で画像情報のデータ種類と指定された用紙種類に応じ最
適な印刷モード設定パラメータを決定しステップS308か
ら始まる第2制御プログラム部に画像データおよび印刷
モード設定情報を渡す。
First, in step S300, the connection of the printer for printing and outputting is confirmed (similar to the process 20 described later). In step S301, a print operation menu or the like is displayed on a display or the like in accordance with an instruction from an application program.
In step S302, if there is a necessary selection item in the print operation menu, a selection operation is performed. When the print start is instructed, if the application selects a paper selection in step S303, the process proceeds to step S306.
Then, the optimum print mode setting parameters are determined according to the data type of the image information and the specified paper type, and the image data and the print mode setting information are passed to the second control program unit starting from step S308.

【0311】一方、S303でユーザーによる任意の設定の
場合は、ステップS305で選択項目矛盾がないか調べ、矛
盾がある場合には、ステップS305で必要に応じて表示器
などにエラーメッセージ「選択内容が正しくありませ
ん」などの出力し、再びS302に戻す。一方、S305で選択
項目に矛盾がない場合は、ステップS307で指定された選
択項目に従った印刷モード設定パラメータを決定しステ
ップS308から始まる第2制御プログラム部に画像データ
および印刷モード設定情報を渡す。そして、第2制御プ
ログラム部は、まず、S308で第1制御プログラム部から
渡された画像情報(RGB多値)および印字モード情報に
適した色処理を行い、ステップS309でRGB多値情報を誤
差拡散法などで印刷装置に適したCMY(K)の2値情報に変
換し、ステップS310ではCMY(K)2値情報から接続され
ているプリンタ装置に応じた印刷制御情報を生成し、ス
テップS311でプリンタ装置に送信する、そして、ステッ
プS312で印刷動作が終了するまでステップS309〜S312を
繰り返し、印刷動作が終了すると、ステップS313で必要
に応じて印刷終了処理、例えば表示器に印刷終了メッセ
ージを所定時間出力するなど行い本処理を終了する。
尚、上述したシステム構成のプリンタにカードデバイス
に纏わる機能が無い場合にも、本実施形態を適用可能で
あることは言うまでもない。
On the other hand, if the setting is arbitrary by the user in step S303, it is checked in step S305 whether there is any inconsistency in the selected item. Is not correct. "And return to S302 again. On the other hand, if there is no inconsistency in the selection items in S305, the print mode setting parameters according to the selection items specified in step S307 are determined, and the image data and the print mode setting information are passed to the second control program unit starting from step S308. . In step S308, the second control program unit performs color processing suitable for the image information (RGB multi-value) and print mode information passed from the first control program unit. The information is converted into binary information of CMY (K) suitable for the printing apparatus by a diffusion method or the like. In step S310, print control information corresponding to the connected printer is generated from the binary information of CMY (K), and step S311 Is transmitted to the printer device, and steps S309 to S312 are repeated until the printing operation is completed in step S312.When the printing operation is completed, in step S313, a printing completion process is performed as necessary, for example, a printing completion message is displayed on a display. This processing is performed after outputting for a predetermined time, and the processing is terminated.
It is needless to say that the present embodiment is applicable even when the printer having the above-described system configuration does not have a function related to the card device.

【0312】(実施形態16)次に、上述した実施形態
の構成に適用が可能なアプリケーション・プログラム例
についてフローチャート図を参照して以下に詳述する。
(Embodiment 16) Next, an example of an application program applicable to the configuration of the above-described embodiment will be described in detail below with reference to flowcharts.

【0313】図28Bの処理18−2はホスト装置で実
行可能なアプリケーション・プログラムのひとつで、本
制御プログラムは、例えばホスト装置の読出し専用記憶
デバイス(RDV)から必要なときにシステム制御部(SC
T)のRAMにロードされたり、或いは予めROMなどに記憶
されており、CPUが必要に応じ適時に読出し・実行する
ことで目的とする制御を行うことが出来る。
The process 18-2 in FIG. 28B is one of the application programs that can be executed by the host device. This control program is executed by, for example, the system control unit (SC) when necessary from the read only storage device (RDV) of the host device.
The target control can be performed by being loaded into the RAM of T) or stored in advance in a ROM or the like, and being read out and executed by the CPU at an appropriate time as needed.

【0314】本プログラムは、所定操作、例えばRDVに
本アプリケーション・プログラムを記憶してある記憶メ
ディアをセットしたとき、若しくは所定の操作画面で選
択指示操作などにより、RDVからRAMに読出し処理の実行
を開始する。
The present program executes the reading process from the RDV to the RAM by a predetermined operation, for example, when a storage medium storing the application program is stored in the RDV, or by a selection instruction operation on a predetermined operation screen. Start.

【0315】まず、本アプリケーション・プログラムが
起動されると、図29に示したようなGUI(グラフィカ
ル・ユーザー・インターフェース)操作環境の操作画面
をDISP140に表示する。図29の左側に配備したGUI(グ
ラフィカル・ユーザー・インターフェース)操作環境の
ボタンB1〜B8は、図28Bの下部に示した矢印M1の列に
示した基本機能に対応しており、ボタンB1は文書機能、
ボタンB2は貼付け機能、ボタンB3は差出人機能、ボタン
B4は保存機能、ボタンB5は印刷機能、ボタンB6はアドレ
ス帳機能、ボタンB7はインターネット機能、そして、
ボタンB8は終了機能を表している。
First, when this application program is started, an operation screen of a GUI (graphical user interface) operation environment as shown in FIG. 29 is displayed on the DISP 140. Buttons B1 to B8 of a GUI (graphical user interface) operating environment provided on the left side of FIG. 29 correspond to the basic functions shown in the column of arrow M1 shown at the bottom of FIG. 28B, and the button B1 is a document. function,
Button B2 is pasting function, button B3 is sender function, button
B4 is the save function, button B5 is the print function, button B6 is the address book function, button B7 is the Internet function, and
Button B8 represents the end function.

【0316】アプリケーションが起動されると操作入力
待ちになり、操作パネル(CP130)または無線操作パネ
ル(WCP440)のカーソルキー/各種ボタンなどによるボ
タン選択、或いは、キーボード入力装置(KB310)、無
線キーボード入力装置(WKB410)のカーソルキー/文字
入力キーなどによるボタン選択・文字入力、また、ポイ
ンティングデバイス(PDV320)、無線ポインティングデ
バイス(WPDV420)の操作による入力位置指示、ボタン選
択などの操作が出来るようになっている。
When the application is started, it waits for an operation input, selects a button using the cursor keys / various buttons on the operation panel (CP130) or the wireless operation panel (WCP440), or enters a keyboard input device (KB310) and a wireless keyboard input. Button selection and character input using the cursor key / character input key of the device (WKB410), and input position indication and button selection by operating a pointing device (PDV320) and wireless pointing device (WPDV420) ing.

【0317】また、ボタンB1〜B8の各機能は図18−2
下部矢印M2で示した列のような詳細機能を備えており、
以下にそれらの機能の詳述する。まず、ボタンB1の文書
機能は文書作成/編集/保存機能があり任意の文書を作
成・編集・保存できる。
Each function of the buttons B1 to B8 is shown in FIG.
It has detailed functions like the column indicated by the lower arrow M2,
The functions are described below in detail. First, the document function of the button B1 has a document creation / edit / save function, and an arbitrary document can be created, edited, and saved.

【0318】次に、ボタンB2の貼付け機能は、文書貼付
け、CD―ROM(コンパクト・ディスクROM:RDVの読取専
用記憶メディア)上に記憶してある文字・文書・画像・
音声などのオブジェクトを貼付け、カードデバイスのメ
モリ上、或いは外部メモリ(EMM180)上に保存してある
文字・文書・画像・音声などのオブジェクトを貼付け、
接続されているデジタルカメラの画像オブジェクトの貼
付け、接続ビデオカメラからの画像オブジェクトを貼付
け、TV出力されている画像オブジェクトを貼付け、接続
されているデジタルオーディオ機器の音声オブジェクト
を貼付け、などできる。
Next, the paste function of the button B2 is a function of pasting a document, characters, documents, images, and characters stored on a CD-ROM (compact disk ROM: RDV read-only storage medium).
Paste objects such as voice, paste objects such as characters, documents, images, voice, etc. stored in the memory of the card device or on the external memory (EMM180),
It is possible to paste an image object of a connected digital camera, paste an image object from a connected video camera, paste an image object output from TV, paste a voice object of a connected digital audio device, and the like.

【0319】また、文書・文字・画像貼付け時に入力操
作により、貼付け位置、貼付けオブジェクトサイズ(拡
大・縮小)、回転・反転貼付け、貼付けオブジェクトの
前後関係(レイヤー)、などを自在に変えられる。ま
た、音声オブジェクトは印刷出力には直接的に関係ない
が、例えばこのようにして作成したものを印刷する際に
貼付けらえている音声を再生したり、また、インターネ
ットなどでメールとして送信し、受信者がそのメールを
開いた際に貼付けられた音声を再生することも可能であ
る。尚、以上のオブジェクトの貼付け情報は、図31に
示したような内容を備え、これを貼付け管理情報と呼
ぶ。
[0319] In addition, the pasting position, pasting object size (enlargement / reduction), rotation / reversal pasting, and the order (layer) of pasting objects can be freely changed by input operation when pasting a document / character / image. The audio object is not directly related to the print output, but for example, it reproduces the sound attached when printing the created one in this way, or transmits and receives as a mail on the Internet or the like. It is also possible to reproduce the sound pasted when the user opens the mail. The above-mentioned object pasting information has the contents as shown in FIG. 31 and is referred to as pasting management information.

【0320】例えば、図29の右部に示したようにオブ
ジェクトP1、P2、T1、P3、T2を貼り付けたとすると、図
31のように貼り付けられた各オブジェクトに対して、
オブジェクト名(オブジェクトのファイル名、オブジェ
クト入手元)、オブジェクトの種類(データ形式を表
す)、オブジェクト貼付け位置(XY座標)、拡大・縮小
情報(%)、回転(回転角度)・反転情報(左右/上
下)、レイヤー情報(数字が大きいほど前面を意味す
る)をそれぞれ記憶しておく。
For example, if the objects P1, P2, T1, P3, and T2 are pasted as shown in the right part of FIG. 29, the respective objects pasted as shown in FIG.
Object name (object file name, object source), object type (representing data format), object pasting position (XY coordinates), enlargement / reduction information (%), rotation (rotation angle) / reversal information (left / right / Upper and lower) and layer information (larger numbers mean the front side).

【0321】次に、ボタンB3の差出人機能は、差出人情
報作成・編集・保存機能を備え、手紙印刷出力時やイン
ターネットによるメール送信などの差出人情報として利
用できる。
Next, the sender function of the button B3 is provided with sender information creation / editing / storing functions, and can be used as sender information at the time of printing a letter or sending a mail via the Internet.

【0322】次に、ボタンB4の保存機能は、全てを保存
/フォーマットだけを保存する機能を備えていて、フォ
ーマットだけ保存する機能は、貼り付けられたオブジェ
クトを含まず図31に示したような貼付け管理情報だけ
を保存するものである。これに対して全て保存は貼付け
られたオブジェクトも含めて保存する機能である。
Next, the save function of the button B4 has a function of saving all / only the format, and the function of saving only the format does not include the pasted object, as shown in FIG. Only the pasting management information is stored. On the other hand, save all is a function of saving including the pasted object.

【0323】また、保存先はシステム上に接続されてい
る機器で読み書き可能な不揮発性記憶手段があれば、ど
こでも任意に指定して所望のデータを記録できる。例え
ば、保存先として、カードデバイス、拡張メモリ(EM
M)、セルラーフォーン(CPH)、デジタルカメラなど、
また、インターネット/ネットワーク上に接続されてい
る機器に対しても可能である。尚、これ以外の各機能の
詳細機能に設けた保存機能もまったく同様に任意の場所
に保存できる。
The storage destination can be arbitrarily designated anywhere and any desired data can be recorded as long as there is a non-volatile storage means readable and writable by a device connected to the system. For example, card devices, extended memory (EM
M), cellular phones (CPH), digital cameras, etc.
It is also possible for devices connected on the Internet / network. Note that the storage function provided in the detailed functions of the other functions can be stored in an arbitrary location in the same manner.

【0324】次に、ボタンB5の印刷機能は、印刷/宛名
印刷/設定機能を備えており、それぞれ現在開いてるも
のを印刷する、アドレス帳を参照して葉書の宛名印刷を
する、印刷のためのオプション設定である。
Next, the print function of the button B5 has a print / address print / setting function, and prints the currently opened one, prints the address of the postcard with reference to the address book, and performs printing. Is an option setting.

【0325】次に、ボタンB6のアドレス帳機能は、作成
/編集/保存機能を備えており、任意の宛先人情報を作
成・編集・保存できる。
Next, the address book function of the button B6 has a create / edit / save function, and can create / edit / save any destination information.

【0326】次に、ボタンB7のインターネット機能
は、メール作成/受信/送信・インターネット上のホー
ムページなのどの閲覧(ブラーズ)ができる。
Next, the Internet function of the button B7 can be used to create / receive / send mail and browse (blur) a home page on the Internet.

【0327】最後に、ボタン8の終了は、本アプリケー
ションを終了させる機能である。次に、図32の処理1
9はホスト装置で実行可能なアプリケーション・ライブ
リ・プログラムのひとつで、本制御プログラムは、例え
ばホスト装置の読出し専用記憶デバイス(RDV)から必
要なときにシステム制御部(SCT)のRAMにロードされた
り、或いは予めROMなどに記憶されており、CPUが必要に
応じ適時に読出し・実行することで目的とする制御を行
うことが出来る。
[0327] Finally, the end of the button 8 is a function to end the application. Next, processing 1 in FIG.
Reference numeral 9 denotes one of application library programs that can be executed by the host device. This control program is loaded from the read-only storage device (RDV) of the host device to the RAM of the system control unit (SCT) when necessary. Alternatively, the control is stored in advance in a ROM or the like, and the CPU can read and execute the data as needed and perform the intended control.

【0328】本プログラムは、上記アプリケーションの
各機能で文字入力が必要な際に実行される処理である。
まず、ステップS320でシステム上にキーボード入力装置
(KB310)若しくは無線キーボード入力装置(WKB410)
が接続されているかをチェックし、いずれかのキーボー
ド入力装置が接続されている場合には、ステップS321で
そのキーボード装置からの文字入力を得る。
This program is a process executed when character input is required for each function of the application.
First, in step S320, a keyboard input device (KB310) or a wireless keyboard input device (WKB410) is installed on the system.
Is connected, and if any keyboard input device is connected, character input from that keyboard device is obtained in step S321.

【0329】また、その際「キーボードから文字を入力
してください。」のような操作ガイドメッセージを操作
画面上に出力する。一方、ステップS320でいずれのキー
ボード入力装置が接続されていない場合には、ステップ
S322でセルラーフォーン(CPH430)が接続されているか
判定し、接続されていれば、ステップS323でセルラーフ
ォーン(CPH430)に標準的に有する機能である10キー操
作あるいは10キー操作などによる文字入力操作により文
字入力を得る。また、その際「携帯電話から文字を入力
してください。」のような操作ガイドメッセージを操作
画面上に出力したり、セルラーフォーンのLEDなどの表
示器に「文字入力中」などの表示を行ったりすることも
可能である。一方、ステップS322でセルラーフォーン(C
PH430)が接続されていない場合は、ステップS324で少な
くとも従来の文字入力手段(例えば、ホスト装置の表示
出力装置であるDISP140にひらがな51文字、アルファベ
ット52文字(大文字/小文字)、数字、記号などを操作
パネル(CP130)上のカーソルキー/ボタン操作などによ
る選択操作により切替え表示して、操作パネル(CP13
0)上のカーソルキー/ボタン操作による文字選択確定操
作などの操作を繰り返しての文字入力手段)による文字
入力機能を提供する。
At this time, an operation guide message such as "Please input characters from keyboard" is output on the operation screen. On the other hand, if no keyboard input device is connected at step S320,
In S322, it is determined whether or not the cellular phone (CPH430) is connected. If it is connected, in step S323, a character input operation by a 10-key operation or a 10-key operation, which is a standard function of the cellular phone (CPH430), is performed. Get character input. Also, at that time, an operation guide message such as "Please enter characters from a mobile phone." Is output on the operation screen, and a message such as "Character is being input" is displayed on a cellular phone LED or the like. It is also possible. On the other hand, in step S322, cellular phones (C
If the PH430 is not connected, at step S324 at least conventional character input means (for example, 51 characters of hiragana, 52 characters of alphabet (upper / lower case), numbers, symbols, etc. are input to DISP140 which is a display output device of the host device). The operation panel (CP13) is switched and displayed by the selection operation using the cursor key / button operation on the operation panel (CP130).
0) A character input function is provided by means of a character input means that repeats an operation such as a character selection confirmation operation by operating the upper cursor key / button.

【0330】次に、図30を参照し操作例の詳細を説明
する。
Next, an example of the operation will be described in detail with reference to FIG.

【0331】例えば、図30に示した操作画面は、ボタ
ンB2、即ち、貼付け機能が選択された様子を表してい
て、画面にポップアップしているサブメニューにボタン
B9〜B15を設けてあり、各ボタンはそれぞれ貼付け機能
の詳細機能、即ち、順にボタンB9は文書貼付け、ボタン
B10はCD―ROM(コンパクト・ディスクROM:RDVの読取専
用記憶メディア)上に記憶してある文字・文書・画像・
音声などのオブジェクトを貼付け、ボタンB11はカード
デバイスのメモリ上、或いは外部メモリ(EMM180)上に
保存してある文字・文書・画像・音声などのオブジェク
トを貼付け、ボタンB12は接続されているデジタルカメ
ラの画像オブジェクトの貼付け、ボタンB13は接続ビデ
オカメラからの画像オブジェクトを貼付け、ボタンB14
はTV出力されている画像オブジェクトを貼付け、そし
て、ボタンB15は接続されているデジタルオーディオ機
器の音声オブジェクトを貼付けに対応する。
For example, the operation screen shown in FIG. 30 shows a state in which the button B2, that is, the pasting function is selected, and the button is displayed in a submenu pop-up on the screen.
B9 to B15 are provided, each button is a detailed function of the paste function, that is, button B9 is a document paste, button
B10 is a CD-ROM (compact disk ROM: RDV read-only storage medium) that stores characters, documents, images,
Paste objects such as voice, button B11 pastes objects such as characters, documents, images, and voices stored in the memory of the card device or external memory (EMM180), button B12 is connected digital camera Paste image object, button B13 paste image object from connected video camera, button B14
Pastes the image object output to the TV, and button B15 corresponds to paste the audio object of the connected digital audio device.

【0332】図中、ボタンB13〜B15を斜線で表している
意味は、それらに対応する機器が利用できないこと示し
ている。
In the figure, the meaning of the hatched buttons B13 to B15 indicates that the corresponding device cannot be used.

【0333】つまり、この例では、ビデオカメラ、画像
キャプチャ出力機能を有したTV、デジタルオーディオ機
器が接続されていない、若しくは利用できない様子を示
している。また、この例では利用できない機能ボタンB1
3を選択された状態を説明していて、そのときMS1の部分
に「ビデオカメラを接続してください。」などの操作ガ
イド表示する。
That is, this example shows a state in which a video camera, a TV having an image capture output function, and a digital audio device are not connected or cannot be used. Also, the function button B1 that cannot be used in this example
The state where 3 is selected is explained, and at that time, an operation guide such as "Please connect a video camera" is displayed on the MS1 part.

【0334】次に、図33の処理20はホスト装置で実
行可能なアプリケーション・ライブリ・プログラムのひ
とつで、本制御プログラムは、例えばホスト装置の読出
し専用記憶デバイス(RDV)から必要なときにシステム
制御部(SCT)のRAMにロードされたり、或いは予めROM
などに記憶されており、CPUが必要に応じ適時に読出し
・実行することで目的とする制御を行うことが出来る。
Next, the processing 20 in FIG. 33 is one of the application library programs that can be executed by the host device. This control program is executed by, for example, the system control when necessary from the read-only storage device (RDV) of the host device. Part (SCT) loaded in RAM or ROM in advance
The target control can be performed by the CPU reading out and executing it as needed when necessary.

【0335】本プログラムは、上記アプリケーションの
各機能のためにGUI上のボタンおよびメニューの選択操
作が必要な際に実行される処理である。操作パネル、キ
ーボードなどのカーソルキー操作、或いはポインティン
グデバイスの操作により、操作画面上の機能選択ボタ
ン、メニュー項目などを選択されると本処理を開始す
る。まず、ステップS340で選択されたボタンまたはメニ
ュー項目が外部接続機器に関係するか判定し、選択され
た機能が外部接続機器に依存しない、若しくは、選択機
能が必要とする機器が利用可能である場合には、ステッ
プS347で選択されたボタンまたはメニュー項目の利用を
可能として、ステップS348にて選択機能を実行させる。
This program is a process executed when a button and menu selection operation on the GUI is required for each function of the application. This processing is started when a function selection button, menu item, or the like on the operation screen is selected by operating a cursor key of an operation panel, a keyboard, or the like, or operating a pointing device. First, it is determined whether the button or menu item selected in step S340 relates to an externally connected device, and when the selected function does not depend on the externally connected device, or when a device required by the selected function is available. In step S347, the user can use the button or menu item selected in step S347, and causes the selection function to be executed in step S348.

【0336】一方、ステップS340で選択された機能が必
要とする機器が利用不可能である場合には、ステップS3
41で操作カイドメッセージを出力する。例えば、上述し
た図30の操作画面例のように、ボタンB13を選択操作し
た際に、ビデオカメラが接続されていないと、MS1の部
分に「ビデオカメラを接続してください。」などの操作
ガイド表示する。次に、ステップS342で対象機器が接続
されたかチェックしておいて、ステップS343で選択操作
が変更されたかチェックする。変更された場合は、ステ
ップS344でステップS341にて表示させた操作カイドを非
表示させ、ステップS340で今回選択された機能と接続機
器との関連を調べる。
On the other hand, if the device required by the function selected in step S340 is not available, step S3
At 41, an operation guide message is output. For example, as in the example of the operation screen in FIG. 30 described above, when the button B13 is selected and the video camera is not connected, an operation guide such as “Please connect a video camera” is displayed on the MS1 part. indicate. Next, it is checked in step S342 whether the target device is connected, and it is checked in step S343 whether the selection operation has been changed. If it has been changed, the operation guide displayed in step S341 is hidden in step S344, and the relationship between the function selected this time and the connected device is checked in step S340.

【0337】一方、ステップS343で選択操作が変更され
ていなっかた場合、ステップS345でステップS342にてチ
ェックした機器接続状態を調べ、未だ所望の対象機器が
接続されていない場合には、ステップS342にもどり再び
対象機器が接続されたかチェックする。やがて、対象機
器が接続されると、ステップS346でステップS341にて表
示させた操作カイドを非表示させ、ステップS347で選択
されたボタンまたはメニュー項目の利用を可能として、
ステップS348にて選択機能を実行させる。
On the other hand, if the selection operation has not been changed in step S343, the device connection status checked in step S342 is checked in step S345. If the desired target device has not been connected yet, step S342 Return to check if the target device is connected again. Eventually, when the target device is connected, the operation guide displayed in step S341 is hidden in step S346, and the button or menu item selected in step S347 can be used,
In step S348, the selection function is executed.

【0338】次に、図34の処理21はホスト装置で実
行可能なアプリケーション・ライブリ・プログラムのひ
とつで、本制御プログラムは、例えばホスト装置の読出
し専用記憶デバイス(RDV)から必要なときにシステム
制御部(SCT)のRAMにロードされたり、或いは予めROM
などに記憶されており、CPUが必要に応じ適時に読出し
・実行することで目的とする制御を行うことが出来る。
本プログラムは、上記アプリケーションの各機能のため
にGUI上のボタンおよびメニューの選択操作が必要な際
に実行される処理である。操作パネル、キーボードなど
のカーソルキー操作、或いはポインティングデバイスの
操作により、操作画面上の機能選択ボタン、メニュー項
目などを選択されて、上述した図33の処理20を実行
しステップS347に達すると本処理を開始する。まず、ス
テップS360で選択された接続機器上にボタンまたはメニ
ュー項目が期待するデータ種類が存在するか判定し、存
在する場合には、ステップS367で選択されたボタンまた
はメニュー項目の利用を可能として、ステップS368にて
選択機能を実行させる。
Next, the process 21 in FIG. 34 is one of the application library programs that can be executed by the host device. This control program is executed by, for example, the system control when necessary from the read-only storage device (RDV) of the host device. Part (SCT) loaded in RAM or ROM in advance
The target control can be performed by the CPU reading out and executing it as needed when necessary.
This program is a process executed when a button and menu selection operation on the GUI is required for each function of the application. When a function selection button, a menu item, or the like on the operation screen is selected by operating a cursor key of an operation panel or a keyboard, or operating a pointing device, the above-described process 20 of FIG. 33 is performed. To start. First, it is determined whether the data type expected by the button or menu item exists on the connected device selected in step S360, and if it exists, the button or menu item selected in step S367 is enabled to be used, In step S368, the selection function is executed.

【0339】一方、ステップS360で選択された機能が必
要とするデータ種類が存在しない場合には、ステップS3
61で操作カイドメッセージを出力する。例えば、上述し
た図30の操作画面でボタンB11を選択操作した際に、カ
ードデバイス上に画像データが存在しなかった場合、MS
1の部分に「カードに画像データがありません。」など
の操作ガイド表示する。次に、ステップS362で対象接続
機器が存在し、かつ対象データ種類が存在するかチェッ
クしておいて、ステップS363で選択操作が変更されたか
チェックする。変更された場合は、ステップS364でステ
ップS361にて表示させた操作カイドを非表示させ、ステ
ップS360で今回選択された機能と接続機器上のデータ種
類との関連を調べる。一方、ステップS363で選択操作が
変更されていなっかた場合、ステップS365でステップS3
62にてチェックしたデータ種類の有無を調べ、未だ所望
のデータ種類存在していない場合には、ステップS362に
もどり再び対象データ種類が存在するかチェックする。
やがて、対象データ種類の存在が確認されると、ステッ
プS366でステップS361にて表示させた操作カイドを非表
示させ、ステップS367で選択されたボタンまたはメニュ
ー項目の利用を可能として、ステップS368にて選択機能
を実行させる。
On the other hand, if the data type required by the function selected in step S360 does not exist, step S3
At 61, an operation guide message is output. For example, when the image data does not exist on the card device when the button B11 is selected and operated on the operation screen of FIG.
An operation guide such as "There is no image data on the card." Next, it is checked in step S362 whether the target connected device exists and the target data type exists, and it is checked in step S363 whether the selection operation has been changed. If it has been changed, the operation guide displayed in step S361 is hidden in step S364, and in step S360, the relationship between the function selected this time and the data type on the connected device is checked. On the other hand, if the selection operation has not been changed in step S363, in step S365 step S3
The presence or absence of the data type checked in 62 is checked, and if the desired data type does not yet exist, the process returns to step S362 to check again whether the target data type exists.
Eventually, when the existence of the target data type is confirmed, the operation guide displayed in step S361 is hidden in step S366, and the button or menu item selected in step S367 can be used, and in step S368 Execute the selection function.

【0340】以上説明したように、本発明のシステム構
成に本実施形態で述べたようなアプリケーション・プロ
グラムを提供することで、アプリケーション・プログラ
ム、デバイスドライバのインストール作業を不要とし
た、操作性の優れた家庭用の画像処理システムを提供す
ることが可能である。
As described above, by providing the system configuration of the present invention with the application program as described in the present embodiment, the installation work of the application program and the device driver is unnecessary, and the operability is improved. It is possible to provide an image processing system for home use.

【0341】(実施形態17)次に、上述した実施形態
の構成に適用が可能なユーティリティ・プログラム例に
ついてフローチャート図などを参照しながら以下に詳述
する。図35の処理22はホスト装置で実行可能なユー
ティリティア・プログラムのひとつで、本制御プログラ
ムは、例えばホスト装置の読出し専用記憶デバイス(RD
V)から必要なときにシステム制御部(SCT)のRAMにロ
ードされたり、或いは予めROMなどに記憶されており、C
PUが必要に応じ適時に読出し・実行することで目的とす
る制御を行うことが出来る。
(Embodiment 17) Next, an example of a utility program applicable to the configuration of the above-described embodiment will be described in detail with reference to flowcharts and the like. The process 22 in FIG. 35 is one of the utility programs that can be executed by the host device. The control program is, for example, a read-only storage device (RD) of the host device.
V) is loaded into the RAM of the system control unit (SCT) when necessary, or is stored in advance in ROM or the like.
The intended control can be performed by the PU reading out and executing as needed when necessary.

【0342】本プログラムは、システム上に機器を接続
されたときに実行を開始する自動アプリケーション起動
管理制御プログラムである。システム上に機器が接続さ
れるたことを認識すると、本処理を実行する。まず、ス
テップS380で接続された機器の持つファイル情報などを
読み出し、データ種類が複数あれば、ステップS381に進
み、自動的にアプリケーション起動をせずに、例えばア
プリケーション選択操作などに移行する。一方、ステッ
プS381でデータ種類が1種類である場合は、ステップS38
2で予め設定されている自動起動管理情報を調べ、自動
起動アプリケーション設定が1個である場合は、ステッ
プS384で自動起動管理情報にしたがってアプリケーショ
ンを自動的に起動する。一方、ステップS382で自動起動
アプリケーションが2個以上の場合には、ステップS383
で設定されている自動起動すべきアプリケーションのど
れを起動するかを選択させる操作画面を表示し、ユーザ
ーによる選択指示を待つ、そして、アプリケーションが
選択されると、ステップS384で選択されたアプリケーシ
ョンを起動する。また、自動起動管理情報はユーザーに
より設定・変更が可能で、設定内容は不揮発性メモリに
保存記憶されている。
This program is an automatic application start management control program that starts executing when a device is connected to the system. When it recognizes that a device is connected to the system, it executes this processing. First, in step S380, file information and the like of the connected device are read, and if there are a plurality of data types, the process proceeds to step S381, and the process proceeds to, for example, an application selection operation without automatically starting the application. On the other hand, if the data type is one type in step S381, step S38
In step 2, the auto-start management information set in advance is checked, and if there is only one auto-start application setting, the application is automatically started according to the auto-start management information in step S384. On the other hand, if there are two or more auto-start applications in step S382, step S383
Displays an operation screen for selecting which application to be started automatically set in step S384, waits for a selection instruction from the user, and when an application is selected, starts the application selected in step S384 I do. The automatic start management information can be set and changed by the user, and the setting contents are stored and stored in a nonvolatile memory.

【0343】次に、図36の処理23はホスト装置のユ
ーティリティ・プログラムとプリンタ装置の補助ユーテ
ィリティ・プログラムを説明するフローチャート図であ
る。尚、ホスト装置側の本制御プログラムは、例えばホ
スト装置の読出し専用記憶デバイス(RDV)から必要な
ときにシステム制御部(SCT)のRAMにロードされたり、
或いは予めROMなどに記憶されており、CPUが必要に応じ
適時に読出し・実行することで目的とする制御を行うこ
とが出来る。また、プリンタ装置側の本制御プログラム
はプリンタ装置の制御プログラムのひとつで、プログラ
ムはプリンタ装置内のプリンタ制御部10のROM13に記憶
されており、CPUが必要に応じ適時に読出し・実行する
ことで目的とする制御をおこなうことが出来る。本制御
プログラムは、ホスト装置がプリンタ装置を利用してカ
ードデバイス200上のメモリ内容を、別のカードデバイ
スにコピーさせることが可能なユーティリティ・プログ
ラムである。
Next, step 23 in FIG. 36 is a flowchart for explaining the utility program of the host device and the auxiliary utility program of the printer device. Note that the control program of the host device can be loaded from the read-only storage device (RDV) of the host device to the RAM of the system control unit (SCT) when necessary,
Alternatively, it is stored in a ROM or the like in advance, and the intended control can be performed by the CPU reading out and executing it as needed when necessary. This control program on the printer device side is one of the control programs for the printer device, and the program is stored in the ROM 13 of the printer control unit 10 in the printer device, and is read and executed by the CPU as needed as needed. The desired control can be performed. This control program is a utility program that allows the host device to copy the memory contents on the card device 200 to another card device using the printer device.

【0344】所定の操作指示により本処理の実行を開始
する。まず、ステップS400にてホスト装置はコピー元の
カードデバイスのファイル情報を取得して、コピー対象
のファイルがコピー禁止であるかを判定し、コピー禁止
の場合には、ステップS401で「この情報はコピー禁止で
す。」のようなエラーメッセージを出力する。ここで、
コピー禁止の情報とは、例えば、制御用プログラム/デ
ータ、有料情報或いは無料情報で著作権関連の保護され
ている情報などである。
The execution of this processing is started by a predetermined operation instruction. First, in step S400, the host device acquires the file information of the card device of the copy source, determines whether the copy target file is copy-prohibited, and in the case of copy prohibition, in step S401, "this information is An error message such as "Copy prohibited" is output. here,
The copy prohibition information is, for example, a control program / data, paid information or free information protected by copyright.

【0345】一方、ステップS400でコピー禁止でない場
合は、現在のカードデバイス(コピー元)のフォーマッ
ト情報、若しくはシリアル番号をコピー元情報として記
憶し、画面上に「コピー先のカードに取換えてくださ
い。」などのメッセージを出力し、カードデバイスの交
換を待つ、交換されると、ステップS402でコピー先のカ
ードデバイスに空き容量があるか調べ、空き容量が不足
している場合には、ステップS403で画面上に「コピー先
のカードの空き容量が不足です。」のようなエラーメッ
セージを出力する。
On the other hand, if the copy is not prohibited in step S400, the format information or serial number of the current card device (copy source) is stored as copy source information, and the message “Please replace the card with the copy destination card” is displayed on the screen. ., Etc., and waits for replacement of the card device. When the card device is replaced, it is checked in step S402 whether there is free space in the copy destination card device. If there is not enough free space, step S403 is performed. To output an error message on the screen, such as "Not enough free space on destination card."

【0346】一方、ステップS402で空き領域が足りる場
合には、ステップS404でカードデバイス(コピー先)の
フォーマット情報、若しくはシリアル番号をコピー先情
報として記憶し、画面上に「コピー元のカードに取り換
えてください。」などの出力し、コピー元のカードデバ
イスへの交換を待つ、即ち、コピー元情報と同じカード
デバイスに取り換えられるの待つ。コピー元のカードデ
バイスを認識すると、画面上に「コピー中です、絶対に
カードを抜かないでください。」のようなメッセージを
出力し、プリンタ装置にコピーに利用可能な最大メモリ
量を問い合わせ、その最大利用可能なメモリを利用し
て、一度に読み出せるコピー対象ファイル情報を伴っ
て、プリンタ装置にカードデバイスからファイルを読み
出すように要求する。次に、ステップS405でプリンタ装
置はホスト装置からの要求にしたがって指定された情報
をカードデバイスから読み出し、プリンタ装置内のRAM
に一時的に記憶し、ホスト装置に読み出しが終了したこ
とを通知する。
On the other hand, if the free space is sufficient in step S402, the format information or the serial number of the card device (copy destination) is stored as copy destination information in step S404, and the message “Replace with the copy source card” is displayed on the screen. Please wait for the exchange with the card device of the copy source, that is, wait for the replacement with the same card device as the copy source information. When the card device of the copy source is recognized, a message such as "Copying is in progress, please do not remove the card." Is output on the screen, and the maximum amount of memory available for copying is inquired to the printer device. Using the maximum available memory, a request is made to the printer device to read the file from the card device, together with the copy target file information that can be read at once. Next, in step S405, the printer reads out the designated information from the card device in accordance with the request from the host device, and reads out the RAM in the printer.
And temporarily notifies the host device that the reading has been completed.

【0347】これを受けてホスト装置は、ステップS406
で画面上に「コピー先のカードに取換えてください。」
などのメッセージを出力し、カードデバイスの交換を待
ち、正しく交換されると、画面上に「コピー中です、絶
対にカードを抜かないでください。」のようなメッセー
ジを出力し、プリンタ装置に読み出した情報をカードデ
バイスに書くよう要求する。これを受けて、プリンタ装
置はステップS405で読み出した情報を全てカードデバイ
スに書き込み、書き込みが終了するとホスト装置にその
旨を通知する。すると、ステップS407でホスト装置はコ
ピー対象ファイルを全てコピーしたかチェックし、残り
があれば再びS404にもどる。そして、ステップS404〜S4
07を繰り返し、ステップS407でコピー対象ファイルを全
てコピーし終わると、ステップS408で画面上に「カード
へのコピーを正しく終了しました。」などの出力をし、
所定操作を待ち、本処理を終了する。以上のように、プ
リンタ装置に備えたRAMなどの記憶手段を活用して、カ
ードデバイス間のコピーを行うことで、実際にコピーす
べき情報をカードデバイスからホスト装置におくり、ホ
スト装置からカードデバイスに書き込まないで済むの
で、コピー時間を短縮することが可能である。
[0347] In response to this, the host device proceeds to step S406.
On the screen with "Please replace with the copy destination card."
Message is output, and the replacement of the card device is awaited. If the card device is replaced correctly, a message such as "Copying, do not remove the card." Is displayed on the screen and read out to the printer. To write the information on the card device. In response to this, the printer writes all the information read in step S405 to the card device, and when the writing is completed, notifies the host device of the fact. Then, in step S407, the host device checks whether all the files to be copied have been copied, and if there are any remaining files, the process returns to S404. Then, steps S404 to S4
07 is repeated, and when all the files to be copied have been copied in step S407, an output such as "copying to the card has been correctly completed."
After waiting for a predetermined operation, the process is terminated. As described above, by using the storage means such as the RAM provided in the printer device to perform copying between card devices, information to be actually copied is sent from the card device to the host device, and the host device is used to copy information. Since it is not necessary to write data in the file, it is possible to shorten the copying time.

【0348】次に、図37の処理24はホスト装置のユ
ーティリティ・プログラムを説明するフローチャート図
である。尚、本制御プログラムは、例えばホスト装置の
読出し専用記憶デバイス(RDV)から必要なときにシス
テム制御部(SCT)のRAMにロードされたり、或いは予め
ROMなどに記憶されており、CPUが必要に応じ適時に読出
し・実行することで目的とする制御を行うことが出来
る。
Next, the process 24 in FIG. 37 is a flowchart for explaining the utility program of the host device. The control program may be loaded from the read only storage device (RDV) of the host device to the RAM of the system control unit (SCT) when necessary, or may be stored in advance.
It is stored in a ROM or the like, and the CPU can read and execute it as needed to perform the intended control.

【0349】本制御プログラムは、ホスト装置がシステ
ム上に接続されている機器間で任意の機器から任意の機
器へ情報をコピーさせることが可能なユーティリティ・
プログラムである。
This control program is a utility program that allows the host device to copy information from any device to any device between devices connected to the system.
It is a program.

【0350】所定の操作指示により本処理の実行を開始
する。まず、ステップS420にてホスト装置はコピー元の
機器のファイル情報を取得して、コピー対象のファイル
がコピー禁止であるかを判定し、コピー禁止の場合に
は、ステップS421で「この情報はコピー禁止です。」の
ようなエラーメッセージを出力する。
The execution of this processing is started by a predetermined operation instruction. First, in step S420, the host device obtains the file information of the copy source device, determines whether the copy target file is copy-prohibited, and in the case of copy prohibition, in step S421, "this information is copied. It is prohibited. "

【0351】ここで、コピー禁止の情報とは、例えば、
制御用プログラム/データ、有料情報或いは無料情報で
著作権関連の保護されている情報などである。一方、ス
テップS420でコピー禁止でない場合は、画面上に「コピ
ー先の機器を選んでください。」などのメッセージを出
力し、コピー先の機器を選択されるのを待つ、選択され
ると、ステップS422でコピー先の機器に空き容量がある
か調べ、空き容量が不足している場合には、ステップS4
23で画面上に「コピー先の機器の空き容量が不足で
す。」のようなエラーメッセージを出力する。一方、ス
テップS422で空き領域が足りる場合には、画面上に「コ
ピー中ですお待ちください。」などの出力し、ステップ
S424でコピー元の機器からコピー対象ファイルを読み出
し、ステップS425でコピー先の機器に読み出したファイ
ルを書き込み、ステップS426でコピー対象ファイルを全
てコピーしたかチェックし、残りがあれば再びS424にも
どる。
Here, the copy prohibition information is, for example,
Control programs / data, paid information or free information, and information related to copyright protection. On the other hand, if the copy is not prohibited in step S420, a message such as "Please select the copy destination device" is output on the screen, and the process waits until the copy destination device is selected. In S422, the copy destination device is checked for free space, and if there is not enough free space, step S4
At step 23, an error message such as "insufficient free space on the copy destination device" is output on the screen. On the other hand, if there is enough free space in step S422, a message such as "Please wait while copying" is displayed on the screen, and step
In S424, the file to be copied is read from the copy source device, the read file is written in the copy destination device in step S425, it is checked whether all the copy target files have been copied in step S426, and if there is any remaining, the process returns to S424 again.

【0352】そして、ステップS424〜S426を繰り返し、
ステップS426でコピー対象ファイルを全てコピーし終わ
ると、ステップS478で画面上に「コピーを正しく終了し
ました。」などの出力をし、所定操作を待って、本処理
を終了する。
Then, steps S424 to S426 are repeated,
When all the files to be copied have been copied in step S426, an output such as "copying has been completed successfully" is output on the screen in step S478, and after waiting for a predetermined operation, this processing ends.

【0353】尚、上記コピー元の機器はシステム上に接
続されている機器で記憶手段さえあれば、どこでも任意
に指定して所望のデータを読出しできる。例えば、コピ
ー元の機器として、カードデバイス、拡張メモリ(EM
M)、セルラーフォーン(CPH)、デジタルカメラなど、
また、インターネット/ネットワーク上に接続されてい
る機器に対しても可能である。また、上記コピー先の機
器はシステム上に接続されている機器で読み書き可能な
不揮発性記憶手段があれば、どこでも任意に指定して所
望のデータを記録できる。例えば、コピー先の機器とし
て、カードデバイス、拡張メモリ(EMM)、セルラーフ
ォーン(CPH)、デジタルカメラなど、また、インター
ネット/ネットワーク上に接続されている機器に対して
も可能である。
It is to be noted that the copy source device can be arbitrarily designated anywhere and read out desired data as long as the device is a storage device connected to the system. For example, card devices, extended memory (EM
M), cellular phones (CPH), digital cameras, etc.
It is also possible for devices connected on the Internet / network. Also, as long as the copy destination device has a non-volatile storage means that can be read and written by a device connected to the system, desired data can be arbitrarily designated anywhere and desired data can be recorded. For example, as a copy destination device, a card device, an extended memory (EMM), a cellular phone (CPH), a digital camera, or the like, or a device connected to the Internet / network can be used.

【0354】以上説明したように本実施形態によれば、
システム上に接続された機器間での情報の授受も円滑に
行え、例えばユーザーが所望のファイル情報をひとつの
機器に収集したりするような、データ整理作業を容易に
行わせることも可能である。
According to the present embodiment as described above,
It is also possible to smoothly transfer information between devices connected to the system, and it is also possible to easily perform data organizing work such as, for example, a user collecting desired file information in one device. .

【0355】[0355]

【発明の効果】以上説明したように本発明によれば、下
記のいずれかの効果を得ることが可能になる。
According to the present invention as described above, any of the following effects can be obtained.

【0356】(1)上記のシステム構成に、インターフ
ェース手段で接続される操作パネル(以下、UI)部を有
した装置は各々にUI資源情報を有し、システム上に接続
された装置は相互に他装置のUI資源を利用できる制御手
段を備える。更に、上記システムに接続される装置は、
個々に状態情報を有し、システム上に接続された装置は
相互に他装置の状態を取得することができる制御手段を
備えることで、システム上に接続される各々の接続機器
に入力操作・表示器などを特に追加することなく操作性
に優れた効果がある。
(1) Devices having an operation panel (hereinafter, referred to as UI) connected to the system configuration by the interface means each have UI resource information, and devices connected to the system are mutually connected. A control unit that can use UI resources of another device is provided. Further, the devices connected to the system are:
Each device connected to the system has status information, and the devices connected to the system are equipped with control means that can mutually acquire the status of other devices. There is an effect that the operability is excellent without particularly adding a vessel or the like.

【0357】(2)上記のシステム構成のプリンタ装置
がホスト装置との通信可否を検知する検出手段を有し、
ホスト装置と通信不可能のときに、通信制御部がカード
制御部からのホスト装置への送信要求を受けた際には、
ホスト装置に要求を送信せず、プリンタ内部の記憶手
段、或いはカード制御部内部の記憶手段にエラー履歴情
報として保存しておき、後にホスト装置と通信が可能に
なった際に、プリンタ装置からホスト装置にエラー履歴
情報が存在することを通知する通信手段と、ホスト装置
から要求に応じてエラー履歴情報をホスト装置に返送す
る通信手段とを備えることで、少なくともプリンタ装置
に電力が供給されている状態で、「カードデバイスと
通信できない際に、ホスト装置からプリンタ装置に対し
てカードデバイスに纏わる要求をされて場合、プリンタ
装置に備えている表示器/ブザーなどを利用して少なく
とも操作エラーであることをユーザーに知らせる方
式」、および、「ホスト装置と通信できない際に、プ
リンタ装置に備えている表示器/ブザーなどを利用して
少なくとも操作エラーであることをユーザーに知らせる
方式」、および、「ホスト装置と通信できない際に、
ユーザーの操作に起因するホスト装置に対する要求など
をプリンタ装置内にエラー履歴として記憶しておき、後
にホスト装置とプリンタ装置とが通信可能になったとき
に、ホスト装置はプリンタ装置からエラー履歴を読出し
誤操作された操作内容・順序などを解析して、画面上の
文字・絵、音声などにより操作カイドする方式」ような
操作環境が提供可能であり、ケーブル接続忘れなどした
誤操作に対しても、ユーザーが分かりやすく簡単に問題
解決する手順を知らせるような手段で操作性の向上をで
きる効果がある。
(2) The printer device having the above system configuration has detection means for detecting whether communication with the host device is possible or not.
When the communication control unit receives a transmission request from the card control unit to the host device when communication with the host device is impossible,
The request is not transmitted to the host device, but is stored as error history information in a storage unit inside the printer or a storage unit inside the card control unit, and when communication with the host device becomes possible later, the printer device sends the error history information to the host device. Power is supplied to at least the printer device by providing communication means for notifying the presence of error history information in the device and communication means for returning error history information to the host device in response to a request from the host device. In the state, `` If the host device makes a request for the card device to the printer device when communication with the card device is not possible, at least an operation error using a display / buzzer etc. provided in the printer device And a display device provided in the printer when communication with the host device is not possible. / Use a buzzer or the like to notify the user of at least an operation error "and" When communication with the host device is not possible,
A request to the host device caused by a user operation is stored in the printer as an error history, and when the host device and the printer can later communicate, the host reads the error history from the printer. It is possible to provide an operating environment that analyzes the contents and order of erroneous operations and guides the operation using characters, pictures, sounds, etc. on the screen. However, there is an effect that the operability can be improved by means for notifying the procedure for solving the problem easily and easily.

【0358】(3)上記システム構成のプリンタ装置に
省電力機能を有した構成で、カード制御部からホスト装
置に対して印刷系の要求すべく、カード制御部から通信
制御部に印刷系の要求を送信されたときは、プリンタ装
置が省電力モードの際には、プリンタ装置に備えたメカ
機構のイニシャル動作を開始させ後にホスト装置からの
印刷要求に備え、また、印刷系以外の要求を送信された
ときにはイニシャル動作を開始させずに要求をホスト装
置に送信する制御手段を備えたことで、印刷の必要がな
い場合には例えプリンタ装置が省電力モードでもイニシ
ャル動作を行なわせように出来るため、プリンタ装置が
消費する電力を抑制できる効果がある。
(3) The printer device having the above system configuration has a power saving function. In order for the card control unit to request the host device for the printing system, the card control unit requests the communication control unit for the printing system. Is transmitted, when the printer device is in the power saving mode, the initial operation of the mechanical mechanism provided in the printer device is started, and then the printer device prepares for a print request from the host device and transmits a non-print request. By providing a control means for transmitting a request to the host device without starting the initial operation when the printing operation is performed, it is possible to cause the printer device to perform the initial operation even in the power saving mode when printing is not necessary. This has the effect of reducing the power consumed by the printer device.

【0359】(4)上記システム構成のカード制御部
は、プリンタ装置の能力情報を取得できる制御手段と、
カード制御部は能力情報により目的とする印刷出力がプ
リンタ装置単独で可能かを判断する手段をと有し、単独
で可能と判断した場合には、ホスト装置に要求せずに、
プリンタ装置単独にて印刷させる出力制御手段を備える
ことで、文字印刷などはホスト装置を介在させることな
く印刷出力が可能になり、ホスト装置で印刷機能以外の
機能を利用している際に、その機能を終了などさせるこ
となく所望の文字印刷(簡易印刷)などのさせられる効
果がある。
(4) The card control unit having the above system configuration includes a control unit capable of acquiring capability information of the printer,
The card control unit has means for determining whether the target print output can be performed by the printer device alone based on the capability information, and when it is determined that the print output can be performed alone, without requesting the host device,
By providing output control means for printing by the printer device alone, character printing etc. can be printed out without the intervention of the host device, and when the host device uses functions other than the printing function, There is an effect that desired character printing (simple printing) can be performed without terminating the function.

【0360】(5)上記システム構成のホスト装置は、
インターフェース通信手段により接続されている装置の
有無や、種類を認識する検出手段と、その検出出力に応
じ最適なデバイスドライバ、ライブラリなどの制御プロ
グラムを検索・読み出す手段とを有し、ホスト装置に直
接接続されている装置より読出し可能なCD―ROM/ROM/
外部メモリなどの記憶メディア上に、また、プリンタ装
置およびカードデバイス上の記憶手段に、外部インター
フェース接続されているインターネット/ネットワーク
上の装置の記憶装置などに、制御プログラムは予め記憶
されている構成において、ホスト装置はアプリケーショ
ン起動に少なくとも接続されているプリンタ装置および
カードデバイスに応じ、最適な制御プログラムを検索・
読出し、実行することで接続された装置を利用するため
制御手段を備えることで、ユーザーの目的機能により必
要なときに所望の機器を接続しアプリケーション等が記
憶されいるCD-ROMなどの記録メディアを装置に挿入する
だけ、従来のようなインストール等の煩わしい作業させ
ることなく目的とする機能を直ぐに利用させる効果があ
る。
(5) The host device having the above system configuration
It has detection means for recognizing the presence / absence and type of the device connected by the interface communication means, and means for searching and reading out a control program such as an optimal device driver and library according to the detection output. CD-ROM / ROM / readable from connected device
In a configuration in which the control program is stored in advance on a storage medium such as an external memory, a storage device on a printer device and a card device, and a storage device of a device on the Internet / network connected to an external interface. The host device searches for the most suitable control program according to at least the printer device and the card device connected to the application.
By providing control means for using the connected device by reading and executing, a desired device can be connected when necessary by a user's intended function, and a recording medium such as a CD-ROM in which an application or the like is stored can be used. By simply inserting the device into the device, there is an effect that the intended function can be immediately used without performing a troublesome operation such as installation as in the related art.

【0361】(6)上記システム構成のカードデバイス
は、バージョン情報の出力手段と、カードデバイス内に
バージョンアップされた最適な制御プログラム/データ
を必要に応じ格納しておく記憶手段と、制御プログラム
の有無情報の出力手段とを有し、カード制御部はカード
デバイスの着脱を検知する検出手段と、カード制御部内
部もしくはプリンタ装置内部に記憶してある制御プログ
ラム/データがサポート可能なカードデバイスのバージ
ョン情報と、少なくともカードデバイスから3つの情報
を取得する読出し手段と、カード制御部がカードデバイ
スの装着を検知した際にサポート可能なバージョン情報
とカードデバイスのバージョン情報から互換性を比較す
る判断手段とを有し、カードデバイスにバージョンアッ
プされた最適な制御プログラム/データが存在する場合
には、カード制御部はカードデバイスから制御プログラ
ム/データを読出し、また、カードデバイスにバージョ
ンアップされた最適な制御プログラム/データが存在し
ない場合には、ホスト装置にその旨を通知し、ホスト装
置はカードデバイスに適した制御プログラムをプリンタ
装置に与え、カードデバイスに適した制御に更新させ、
カード制御部内部もしくはプリンタ装置内部に記憶して
ある制御プログラム/データの一部、若しくは全部と置
換え、カードデバイスに適した制御に更新させる手段を
備えたことで、機能アップされたカードデバイスを利用
する際にもユーザーによるバージョンアップ操作、イン
ストール等のなどの煩わしい作業をすることなく、機能
アップされた所望の目的機能を直ぐに利用させる効果が
ある。
(6) The card device having the system configuration described above includes a means for outputting version information, a storage means for storing, as necessary, an optimal control program / data upgraded in the card device, and a control program for the control program. The card control unit has presence / absence information output means, the card control unit has a detection means for detecting the attachment / detachment of the card device, and a version of the card device capable of supporting a control program / data stored in the card control unit or the printer device. Reading means for acquiring information, at least three pieces of information from the card device, and judging means for comparing compatibility based on the version information of the card device and the version information that can be supported when the card control unit detects the attachment of the card device. Optimal control upgraded to a card device If the program / data exists, the card control unit reads the control program / data from the card device.If the optimal control program / data upgraded to the card device does not exist, the card control unit reads the control program / data. The host device gives a control program suitable for the card device to the printer device, and updates the control to a control suitable for the card device,
Uses a card device that has been upgraded by replacing the control program / data stored in the card control unit or the printer device with a part or all of the control program. In this case, there is an effect that the desired target function whose function has been improved can be used immediately without performing troublesome operations such as version upgrade operation and installation by the user.

【0362】(7)上記システム構成において、ホスト
装置は少なくとも接続されているプリンタ装置の種別を
検出する手段と、その検出結果に応じ接続されているプ
リンタ装置に最適な印刷制御プログラム/データなどの
読出し選択手段とを有し、印刷制御プログラム/データ
は記憶メディアに予め記憶されていて、印刷指示された
際に選択手段により最適な印刷制御プログラム/データ
を記憶メディアから読出し、印刷制御プログラムを実行
させプリンタ装置に所望の文字・画像を印刷出力する制
御手段を備えたことで、印刷させる際にもプリンタを接
続しアプリケーションから印刷指示するだけの操作でイ
ンストール等の煩わしい作業をすることなく直ぐに印刷
出力させられる効果がある。尚、上記システム構成のプ
リンタにカードデバイスに纏わる機能を備えていない場
合にも同様の効果がある。
(7) In the above system configuration, the host device includes means for detecting at least the type of the connected printer device, and a print control program / data or the like optimal for the connected printer device according to the detection result. Read-out selection means, the print control program / data is stored in the storage medium in advance, and when print is instructed, the selection means reads out the optimum print control program / data from the storage medium and executes the print control program The printer is equipped with control means for printing out desired characters and images, so that even when printing, printing can be performed immediately by simply connecting the printer and instructing printing from the application, without performing cumbersome work such as installation. It has the effect of being output. The same effect can be obtained when the printer having the above system configuration does not have a function related to the card device.

【0363】(8)上記システム構成において、ホスト
装置で動作しているアプリケーション・プログララムな
どより、ユーザーの操作指示・選択操作により所望の画
像印刷操作させる第1制御プログラムと、第1制御プログ
ラムより要求された内容に従ってプリンタ装置に印刷さ
せるべき印刷制御データを生成する第2制御プログラム
とを有し、第1制御プログラムから第2制御プログラム
に対する入力情報は、少なくとも画像情報と印刷出力速
度・品位を指定する印刷モード情報とのパラメータを有
し、選択操作に少なくとも印刷用紙媒体種類の選択項目
を含まず、第1制御プログラムは印刷すべき画像データ
の種類、若しくはアプリケーション・プログラムから指
示による印刷用紙媒体種類と、その他の操作指示された
選択情報とに応じ自動的に生成した印刷モード情報と、
画像情報とを第2制御プログラムに渡すことにより、第
2制御プログラムが生成する印刷制御データにより画像
印刷をプリンタ装置に出力する制御手段を備えること
で、アプリケーション機能によって印刷に用いる用紙を
特定することが可能になり、アプリケーション機能から
印刷可能な印刷用紙が限定されている場合には印刷操作
時に用紙設定・印刷モードなどの選択設定操作をさせず
に印刷出力できる効果がある。
(8) In the above system configuration, a first control program for causing a user to perform a desired image printing operation by an operation instruction / selection operation by an application program or the like running on the host device, and a first control program. A second control program for generating print control data to be printed by the printer device in accordance with the requested contents, wherein input information from the first control program to the second control program includes at least image information and print output speed / quality. The first control program has a parameter with the print mode information to be specified and does not include at least the selection item of the print paper medium type in the selection operation, and the first control program is the type of the image data to be printed or the print paper medium according to the instruction from the application program. Automatically according to the type and other selected selection information Print mode information generated
By providing image information to a second control program and providing control means for outputting an image print to a printer device based on print control data generated by the second control program, specifying a sheet to be used for printing by an application function Is possible, and when the printing paper that can be printed from the application function is limited, there is an effect that the printout can be performed without performing the selection setting operation such as the paper setting and the printing mode at the time of the printing operation.

【0364】(9)上記システム構成において、システ
ム上に接続されている各々の装置が記憶保有する文字、
画像、音声などの情報を任意に読出し、必要に応じプラ
グイン・アップレット、アプリケーション・ライブラリ
ーなどの制御プログラムを介して得られる情報らを、画
面出力手段と操作入力手段を通じユーザーよりの操作指
示などで各々の画像データや文字データなどを組み合わ
せた合成画像データ生成、保存(ユーザー情報の保存・
読出しが可能な(書換え可能)記憶手段を有した装置に
対して、ユーザーの指示に応じの任意の場所に保存可
能)、画面に表示、或いはプリンタ装置に印刷出力など
させるアプリケーション・プログラムによる制御手段を
備えたことで、家庭におけるリビングルームなどでも手
軽に印刷などの機能を手軽に利用可能な画像処理システ
ムを提供できる効果がある。
(9) In the above system configuration, the characters stored and held by each device connected to the system,
Information such as images and sounds can be read arbitrarily, and information obtained through control programs such as plug-ins / applets and application libraries can be input from the user through screen output means and operation input means as required. Generate and save composite image data by combining each image data and character data, etc.
Control means based on an application program for causing a device having a readable (rewritable) storage device to be stored at an arbitrary location in accordance with a user's instruction), displaying it on a screen, or printing it out on a printer device Is provided, it is possible to provide an image processing system that can easily use functions such as printing even in a living room at home.

【0365】(10)上記システム構成において、ホス
ト装置上で動作するアプリケーション・プログラムのヘ
ッダー情報として、各々のアプリケーション・プログラ
ムが利用すべき接続装置の種類および利用可能なデータ
種類の管理情報を記憶しておき、ホスト装置はシステム
上に接続されている各々の装置の利用可能・不可能状態
を検知する検出手段と、検出手段の出力とアプリケーシ
ョン・プログラムが利用すべき接続装置の種類の管理情
報とを比較する判断手段とを有し、利用すべき装置のい
ずれも利用できないと判断したときに、対象となるアプ
リケーション・プログラムの起動を禁止させる抑制制御
手段を備え、また、利用すべき機器が少なくとも1つ以
上利用可能で、かつ、利用可能な機器に利用可能なデー
タ種類が存在すると判断したときは、対象となるアプリ
ケーション・プログラム起動させ、アプリケーション・
プログラムにおける機能中で利用不可能な接続装置を対
象とする機能の起動を禁止、および(利用可能な接続装
置で)利用可能なデータ種類がない接続装置を対象とす
る機能の起動を禁止する抑制制御手段を備える。更に、
該当するアプリケーション・プログラムを選択する画面
上のアイコン、メニューなどを選択禁止状態に表示出力
させ、選択禁止状態で表示しているアイコン、メニュー
などをユーザーにより選択指示された場合には、少なく
とも利用可能な装置が未接続であるなどの、警告および
操作手順などの操作ガイドを文字・画像・音声などで出
力する。選択状態の間に、ユーザーにより操作ガイドに
従って利用可能装置を接続等されて、接続装置の状態検
知手段により装置の利用可能状態が判明した際には、操
作ガイドなどを消去するとともに、アイコン、メニュー
などを選択可能状態に遷移させ、ユーザー所望のアプリ
ケーション・プログラムを起動する制御手段を備えたこ
とで、ユーザーが求める目的機能に応じてアプリケーシ
ョン機能を操作するだけで良く、もしも、選択された機
能に必要とする接続機器がない場合には、その旨をユー
ザーに分かりやすく操作説明するような操作性にすぐれ
た機器を提供できる効果がある。
(10) In the above system configuration, as the header information of the application programs running on the host device, management information on the type of the connection device to be used by each application program and the available data type is stored. In addition, the host device includes a detecting unit for detecting the availability / impossibility of each device connected to the system, an output of the detecting unit, management information of a type of the connected device to be used by the application program, and the like. And a suppression control unit for prohibiting the start of the target application program when it is determined that none of the devices to be used is unavailable. One or more available data types exist for available devices When the decision is made, to launch the application program of interest, application
Inhibiting the activation of a function that targets an unusable connection device among the functions in the program, and prohibiting the activation of a function that targets a connection device that has no usable data type (in the available connection device) The control means is provided. Furthermore,
The icons and menus on the screen for selecting the corresponding application program are displayed and output in the selection prohibited state, and at least available when the user selects and instructs the icons and menus displayed in the selection prohibited state It outputs an operation guide such as a warning and an operation procedure such as a disconnection of an important device in characters, images, sounds, or the like. During the selection state, the available devices are connected by the user according to the operation guide, etc., and when the usable state of the device is determined by the state detection means of the connected device, the operation guide and the like are deleted, and the icons and menus are deleted. Etc. to a selectable state, and a control means for starting an application program desired by the user is provided, so that it is only necessary to operate the application function according to the desired function required by the user. When there is no necessary connected device, there is an effect that it is possible to provide a device with excellent operability that allows the user to easily understand the operation.

【0366】(11)上記システム構成において、ホス
ト装置はカードデバイス上から取得可能な情報の種類を
検知する検出手段と、カードデバイス上から取得できる
情報が1種類であるときに、情報の種類毎に予め設定さ
れているアプリケーション・プログラムを起動する制御
手段を備え、また、情報の種類毎に予め設定されている
アプリケーション・プログラムが複数設定されている場
合には、それらのアプリケーション・プログラムの選択
画面を出力し、所望のアプリケーション・プログラムを
選択、起動させる制御手段を備え、情報の種類毎に予め
設定されている情報の作成・編集・保存させる操作手段
と、システム上に接続されている各々の装置で、ユーザ
ー情報の保存・読出しが可能な(書換え可能)記憶手段
を有した装置に対して、ユーザーの指示に応じ記憶手段
の任意の場所に、情報の種類毎に予め設定されている情
報を保存させる記憶制御手段とを備えたことで、プリン
タにカードデバイスをセットするだけで所望のアプリケ
ーション機能を利用されることが可能であり、アプリケ
ーションの起動操作を省略でき操作を単純化できる効果
がある。
(11) In the above system configuration, the host device detects the type of information that can be obtained from the card device, and the host device determines whether the information that can be obtained from the card device is one type. Control means for activating an application program set in advance, and when a plurality of application programs preset for each type of information are set, a selection screen of those application programs is displayed. And control means for selecting and starting a desired application program, operating means for creating, editing, and storing information preset for each type of information, and each operating means connected to the system. For devices that have storage means that can store and read out user information (rewritable) Storage control means for storing information preset for each type of information in an arbitrary location of the storage means in response to a user's instruction. Since the application function can be used, there is an effect that the operation for starting the application can be omitted and the operation can be simplified.

【0367】(12)上記システム構成において、ホス
ト装置はプリンタ装置に対して所定の要求を送信するこ
とにより、プリンタ装置がプリンタ装置内部の記憶手段
を使用して、カードデバイスからの情報を読出し・書込
みすることで、カードデバイス上のメモリ情報をコピー
する機能を備えたことで、カードデバイスの情報を別の
カードデバイスにコピーする際、コピー動作を高速にす
る効果がある。
(12) In the above system configuration, the host device transmits a predetermined request to the printer device, so that the printer device reads information from the card device using the storage means inside the printer device. By providing the function of copying the memory information on the card device by writing, the effect of increasing the speed of the copying operation when copying the information of the card device to another card device is provided.

【0368】(13)上記システム構成において、ホス
ト装置は、システム上に接続されている各々の装置が保
有する情報・制御プラグラムの読出しが可能な記憶手段
を有した装置の任意の場所から任意の情報を読出し、同
様にシステム上に接続されている各々の装置で情報・制
御プログラムの保存・読出しが可能な(書換え可能)記
憶手段を有した装置の任意の場所に対して保存、若しく
は制御プログラムの書換えをさせる記憶制御手段を備え
たことで、接続機器間の情報交換が容易に可能となり、
ユーザーが容易に情報整理などできる効果がある。
(13) In the above system configuration, the host device can be connected to any device from any location of the device having storage means capable of reading information / control programs held by each device connected to the system. Information can be read out and stored in an arbitrary place of a device having (rewritable) storage means capable of storing and reading out the information and control program in each device connected to the system, or the control program. With the storage control means for rewriting the information, it is possible to easily exchange information between connected devices,
This has the effect that the user can easily organize information.

【0369】以上述べたように本発明の画像処理システ
ムは、ユーザーの誰でもがリビングルームにて多くのマ
ルチメディア機能の利用が可能なシステム環境を提供
し、かつ安価・高機能で利便性の高い家庭用の印刷シス
テム装置を提供できる効果がある。
As described above, the image processing system of the present invention provides a system environment in which any user can use many multimedia functions in a living room, and is inexpensive, highly functional, and convenient. There is an effect that a high printing system device for home use can be provided.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施形態1のシステム構成を説明する図であ
る。
FIG. 1 is a diagram illustrating a system configuration according to a first embodiment.

【図2】カード制御部の構成を説明する図である。FIG. 2 is a diagram illustrating a configuration of a card control unit.

【図3】実施形態2のシステム構成を説明する図であ
る。
FIG. 3 is a diagram illustrating a system configuration according to a second embodiment.

【図4】実施形態3のシステム構成を説明する図であ
る。
FIG. 4 is a diagram illustrating a system configuration according to a third embodiment.

【図5】実施形態4のシステム構成を説明する図であ
る。
FIG. 5 is a diagram illustrating a system configuration according to a fourth embodiment.

【図6】実施形態6のシステム構成を説明する図であ
る。
FIG. 6 is a diagram illustrating a system configuration according to a sixth embodiment.

【図7】図7は実施形態7の通信経路を説明する図であ
る。
FIG. 7 is a diagram illustrating a communication path according to a seventh embodiment.

【図8】実施形態8の通信情報を説明する図である。FIG. 8 is a diagram illustrating communication information according to an eighth embodiment.

【図9】実施形態8の通信制御の一例を説明する図であ
る。
FIG. 9 is a diagram illustrating an example of communication control according to an eighth embodiment.

【図10】実施形態9の通信情報を説明する図である。FIG. 10 is a diagram illustrating communication information according to a ninth embodiment.

【図11】実施形態9の通信制御の一例を説明する図で
ある。
FIG. 11 is a diagram illustrating an example of communication control according to a ninth embodiment.

【図12】実施形態10の通信制御プログラムを説明す
る制御ブロック図である。
FIG. 12 is a control block diagram illustrating a communication control program according to a tenth embodiment.

【図13】実施形態11におけるカード制御部の制御プ
ログラムの一例(処理2)を説明するフローチャート図
である。
FIG. 13 is a flowchart illustrating an example (process 2) of a control program of a card control unit according to the eleventh embodiment.

【図14】実施形態11におけるカード制御部の制御プ
ログラムの一例(処理3)を説明するフローチャート図
である。
FIG. 14 is a flowchart illustrating an example (process 3) of a control program of a card control unit according to the eleventh embodiment.

【図15】実施形態11におけるホスト装置の制御プロ
グラムの一例(処理4)を説明するフローチャート図で
ある。
FIG. 15 is a flowchart illustrating an example (process 4) of a control program for a host device according to the eleventh embodiment.

【図16】実施形態11におけるホスト装置の制御プロ
グラムの一例(処理5)を説明するフローチャート図で
ある。
FIG. 16 is a flowchart illustrating an example (processing 5) of a control program for a host device according to the eleventh embodiment.

【図17】実施形態11におけるホスト装置の制御プロ
グラムの一例(処理6)を説明するフローチャート図で
ある。
FIG. 17 is a flowchart illustrating an example (process 6) of a control program for a host device according to the eleventh embodiment.

【図18】実施形態12におけるプリンタ装置の制御プ
ログラムの一例(処理7)を説明するフローチャート図
である。
FIG. 18 is a flowchart illustrating an example (process 7) of a control program for a printer according to the twelfth embodiment.

【図19】実施形態12におけるプリンタ装置の制御プ
ログラムの一例(処理8)を説明するフローチャート図
である。
FIG. 19 is a flowchart illustrating an example (process 8) of a control program for a printer device according to the twelfth embodiment.

【図20】実施形態12におけるカード制御部の制御プ
ログラムの一例(処理9)を説明するフローチャート図
である。
FIG. 20 is a flowchart illustrating an example (process 9) of a control program of a card control unit according to the twelfth embodiment.

【図21】実施形態12におけるホスト装置の制御プロ
グラムの一例(処理10)を説明するフローチャート図
である。
FIG. 21 is a flowchart illustrating an example (process 10) of a control program for a host device according to the twelfth embodiment.

【図22】実施形態13におけるプリンタ装置の制御プ
ログラムの一例(処理11)を説明するフローチャート
図である。
FIG. 22 is a flowchart illustrating an example (process 11) of a control program for a printer according to the thirteenth embodiment.

【図23】実施形態13におけるカード制御部の制御プ
ログラムの一例(処理12)を説明するフローチャート
図である。
FIG. 23 is a flowchart illustrating an example (process 12) of a control program of a card control unit according to the thirteenth embodiment.

【図24】実施形態13におけるプリンタ装置の制御プ
ログラムの一例(処理13)を説明するフローチャート
図である。
FIG. 24 is a flowchart illustrating an example (process 13) of a control program for a printer according to the thirteenth embodiment.

【図25】実施形態14におけるホスト装置の制御プロ
グラムの一例(処理14、15)を説明するフローチャ
ート図である。
FIG. 25 is a flowchart illustrating an example (processes 14 and 15) of a control program of the host device according to the fourteenth embodiment.

【図26】実施形態14におけるホスト装置の制御プロ
グラムの一例(処理16)を説明するフローチャート図
である。
FIG. 26 is a flowchart illustrating an example (process 16) of a control program for a host device according to the fourteenth embodiment.

【図27】実施形態14におけるカード制御部の制御プ
ログラムの一例(処理17)を説明するフローチャート
図である。
FIG. 27 is a flowchart illustrating an example (process 17) of a control program of a card control unit according to the fourteenth embodiment.

【図28A】実施形態15におけるホスト装置の制御プ
ログラムの一例(処理18−1)を説明するフローチャ
ート図である。
FIG. 28A is a flowchart illustrating an example (process 18-1) of the control program of the host device in the fifteenth embodiment.

【図28B】図28Bは実施形態16におけるホスト装
置の制御プログラムの一例(処理18−2)を説明する
フローチャート図である。
FIG. 28B is a flowchart for explaining an example (process 18-2) of the control program of the host device in the sixteenth embodiment.

【図29】実施形態16におけるホスト装置の操作画面
(1)を説明する図である。
FIG. 29 illustrates an operation screen (1) of the host device in the sixteenth embodiment.

【図30】実施形態16におけるホスト装置の操作画面
(2)を説明する図である。
FIG. 30 illustrates an operation screen (2) of the host device in the sixteenth embodiment.

【図31】実施形態16におけるホスト装置の管理情報
を説明する表図である。
FIG. 31 is a table illustrating management information of a host device according to the sixteenth embodiment.

【図32】実施形態16におけるホスト装置の制御プロ
グラムの一例(処理19)を説明するフローチャート図
である。
FIG. 32 is a flowchart illustrating an example (process 19) of a control program for a host device according to the sixteenth embodiment.

【図33】実施形態16おけるホスト装置の制御プログ
ラムの一例(処理20)を説明するフローチャート図で
ある。
FIG. 33 is a flowchart illustrating an example (process 20) of a control program of a host device in the sixteenth embodiment.

【図34】実施形態16おけるホスト装置の制御プログ
ラムの一例(処理21)を説明するフローチャート図で
ある。
FIG. 34 is a flowchart for explaining an example (process 21) of the control program of the host device in the sixteenth embodiment.

【図35】実施形態17おけるホスト装置の制御プログ
ラムの一例(処理22)を説明するフローチャート図で
ある。
FIG. 35 is a flowchart for explaining an example (process 22) of the control program of the host device in the seventeenth embodiment.

【図36】実施形態17おけるホスト装置の制御プログ
ラムの一例(処理23)を説明するフローチャート図で
ある。
FIG. 36 is a flowchart for explaining an example (process 23) of the control program of the host device in the seventeenth embodiment.

【図37】実施形態17おけるホスト装置の制御プログ
ラムの一例(処理24)を説明するフローチャート図で
ある。
FIG. 37 is a flowchart for explaining an example (process 24) of the control program of the host device in the seventeenth embodiment.

【図38】従来例1を説明する構成図である。FIG. 38 is a configuration diagram for explaining Conventional Example 1.

【図39】従来例2を説明する構成図である。FIG. 39 is a configuration diagram illustrating a second conventional example.

【図40】従来例3を説明する構成図である。FIG. 40 is a configuration diagram illustrating a third conventional example.

【符号の説明】[Explanation of symbols]

1 プリンタ装置 10 プリンタ制御部 11 プリンタ制御回路(PCT) 12 プリンタ制御部用RAM 13 プリンタ制御部用ROM 20 プリンタ・ユニット(PU) 30 カードデバイス制御部(CCT) 31 カード制御回路(CCNT) 32 カード制御部用RAM 33 カード制御部用ROM 40 実施形態3および実施形態4のカード制御回
路(CCNT) 50 実施形態1および実施形態2の電源 55 実施形態3および実施形態4の電源 100 ホスト装置 110 システム・メイン制御部 111 システム制御部(SCT) 112 リアルタイムクロック(RTC) 120 読出し専用記憶デバイス(RDV) 130 操作パネル(CP) 140 画像入出力装置(DISP)および音声入出力装
置(AUD) 150 拡張ユニット(PCD) 170 外部接続装置(EDV) 180 外部メモリ(EMM) 200 カードデバイス(CDV) 210 カードデバイス通信制御部(WCT) 300 オプション的装置群 310 キーボード入力装置(KB) 320 ポインティグデバイス(PDV) 400 外部通信機器群 410 無線キーボード入力装置(WKB) 420 無線ポインティングデバイス(WPDV) 430 セルラーフォーン(CPH) 440 無線操作パネル(WCP)
DESCRIPTION OF SYMBOLS 1 Printer apparatus 10 Printer control part 11 Printer control circuit (PCT) 12 RAM for printer control part 13 ROM for printer control part 20 Printer unit (PU) 30 Card device control part (CCT) 31 Card control circuit (CCNT) 32 card Control unit RAM 33 Card control unit ROM 40 Card control circuit (CCNT) of the third and fourth embodiments 50 Power supply of the first and second embodiments 55 Power supply of the third and fourth embodiments 100 Host device 110 system -Main control unit 111 System control unit (SCT) 112 Real-time clock (RTC) 120 Read-only storage device (RDV) 130 Operation panel (CP) 140 Image input / output device (DISP) and audio input / output device (AUD) 150 Expansion unit (PCD) 170 External connection device (EDV) 180 External memory (EMM) 200 Card device (CDV) 210 Card device communication control unit (WCT) 300 Optional devices 310 Keyboard input device (KB) 320 Pointing device (PDV) 400 External communication devices 410 Wireless keyboard input device (WKB) 420 Wireless pointing device (WKB) WPDV) 430 Cellular phone (CPH) 440 Wireless operation panel (WCP)

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06K 19/00 G06K 19/00 T Fターム(参考) 5B014 FA06 GD37 HC05 HC08 5B035 BB09 BC03 CA11 5B065 BA09 CA11 ZA05 5B076 AA03 AA05 AB17 5C062 AA05 AA14 AA29 AA31 AB10 AB13 AB38 AB42 AC22 AC51 AC58 AD05 AE15 BA00 Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat II (reference) G06K 19/00 G06K 19/00 TF term (reference) 5B014 FA06 GD37 HC05 HC08 5B035 BB09 BC03 CA11 5B065 BA09 CA11 ZA05 5B076 AA03 AA05 AB17 5C062 AA05 AA14 AA29 AA31 AB10 AB13 AB38 AB42 AC22 AC51 AC58 AD05 AE15 BA00

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 読取り専用記憶メディアに記憶されたプ
ログラムデータを読み出して実行するホスト装置と、カ
ードデバイス機能を付加した機器を接続して構成する画
像処理システムであって、該システムに接続する機器
が、 前記ホスト装置と機器との間で通信を制御するための通
信制御手段と、 カードデバイスに接続するカードインターフェースと、 前記カードインターフェースに着脱自在に接続可能なカ
ードデバイスを制御するカード制御手段と、 前記カード制御手段および通信制御手段を介して前記ホ
スト装置と前記カードデバイスとの間での機器情報を相
互に共有するための通信手段と、 前記通信手段によって共有化された情報を、前記カード
デバイスを介して接続した他の機器が利用可能にするた
めの制御手段と、を有し、 前記ホスト装置が、前記通信制御手段により接続した機
器を認識する認識手段と、 前記認識手段により認識した機器に最適なドライバソフ
トを自動的に検出するドライバ検出手段と、を有し、 前記カード制御手段は前記検出されたドライバソフト
と、前記カードデバイスとの適合性を判断して、該カー
ドデバイスの制御用プログラムを自動的に更新すること
を特徴とする画像処理システム。
1. An image processing system configured by connecting a host device that reads and executes program data stored in a read-only storage medium and a device having a card device function, wherein the device is connected to the system. A communication control unit for controlling communication between the host device and the device, a card interface connected to a card device, and a card control unit controlling a card device detachably connectable to the card interface. Communication means for mutually sharing device information between the host device and the card device via the card control means and communication control means; and information shared by the communication means, Control means for enabling other devices connected via a device to use the device, A host device comprising: recognition means for recognizing a device connected by the communication control means; and driver detection means for automatically detecting optimum driver software for the device recognized by the recognition means, wherein the card control means The image processing system according to claim 1, wherein the compatibility of the detected driver software with the card device is determined, and the control program of the card device is automatically updated.
【請求項2】 前記ドライバソフトは、前記ホスト装置
に接続したCD―ROMあるいはDVD-ROMあるいは外部メモリ
のいずれかに予め記憶されていることを特徴とする請求
項1に記載の画像処理システム。
2. The image processing system according to claim 1, wherein the driver software is stored in advance in one of a CD-ROM, a DVD-ROM, and an external memory connected to the host device.
【請求項3】 前記ドライバソフトは、ネットワーク上
に接続されている装置の記憶手段に予め記憶されている
ことを特徴とする請求項1に記載の画像処理システム。
3. The image processing system according to claim 1, wherein the driver software is stored in a storage unit of a device connected on a network in advance.
【請求項4】 前記カード制御手段は、前記検出された
ドライバソフトと、前記カードデバイスの制御プログラ
ムが適合できないと判断した場合は、前記ホスト装置に
対して該ドライバソフトの変更を要求し、該要求に基づ
きホスト装置は前記カードデバイスにも適合する最適な
ドライバソフトを検出し、変更することを特徴とする請
求項1に記載の画像処理システム。
4. The card control means, when judging that the detected driver software and the control program of the card device are incompatible, requests the host device to change the driver software. 2. The image processing system according to claim 1, wherein the host device detects and changes the optimum driver software suitable for the card device based on the request.
【請求項5】 読取り専用記憶メディアに記憶されたプ
ログラムデータを読み出して実行するホスト装置と、カ
ードデバイス機能を付加した機器の間で情報を授受して
データを処理するための画像データ処理方法であって、 前記ホスト装置と機器との間で通信を制御するための通
信制御工程と、 カードインターフェースを介してカードデバイスに接続
処理する工程と、 前記カードインターフェースに着脱自在に接続可能なカ
ードデバイスを制御するカード制御工程と、 前記カード制御工程および通信制御工程の処理を介して
前記ホスト装置と前記カードデバイスとの間での機器情
報を相互に共有するための通信工程と、 前記通信工程の処理によって共有化された情報を、前記
カードデバイスを介して接続した他の機器が利用可能に
するための制御工程と、 前記通信制御工程の処理により接続した機器を認識する
認識工程と、 前記認識工程の処理により認識した機器に最適なドライ
バソフトを自動的に検出するドライバ検出工程と、 を有し、 前記カード制御工程の処理は前記検出されたドライバソ
フトと、前記カードデバイスとの適合性を判断して、該
カードデバイスの制御用プログラムを自動的に更新する
ことを特徴とする画像データ処理方法。
5. An image data processing method for exchanging information between a host device for reading and executing program data stored in a read-only storage medium and a device having a card device function and processing the data. A communication control step for controlling communication between the host device and a device; a step of connecting to a card device via a card interface; and a card device detachably connectable to the card interface. A card control step of controlling; a communication step for mutually sharing device information between the host device and the card device via the processing of the card control step and the communication control step; and a processing of the communication step To make the information shared by other devices available via the card device A control step, a recognition step of recognizing the device connected by the processing of the communication control step, and a driver detection step of automatically detecting an optimal driver software for the device recognized by the processing of the recognition step, The image data processing method according to claim 1, wherein the card control process automatically updates a control program of the card device by determining compatibility between the detected driver software and the card device.
【請求項6】 前記カード制御工程の処理は、前記検出
されたドライバソフトと、前記カードデバイスの制御プ
ログラムが適合できないと判断した場合は、前記ホスト
装置に対して該ドライバソフトの変更を要求し、該要求
に基づきホスト装置は前記カードデバイスにも適合する
最適なドライバソフトを検出し、変更することを特徴と
する請求項5に記載の画像データ処理方法。
6. The processing in the card control step, when determining that the detected driver software and the control program of the card device are incompatible, requests the host device to change the driver software. 6. The image data processing method according to claim 5, wherein, based on the request, the host device detects and changes an optimum driver software suitable for the card device.
【請求項7】 読取り専用記憶メディアに記憶されたプ
ログラムデータを読み出して実行するホスト装置と、カ
ードデバイス機能を付加した機器の間で情報を授受して
データを処理するための画像データ処理方法をコンピュ
ータで実行するためのプログラムコードを記憶したコン
ピュータ可読の記憶媒体であって、該プログラムコード
が、 前記ホスト装置と機器との間で通信を制御するための通
信制御工程のコードと、 カードインターフェースを介してカードデバイスに接続
処理する工程のコードと、 前記カードインターフェースに着脱自在に接続可能なカ
ードデバイスを制御するカード制御工程のコードと、 前記カード制御工程のコードおよび通信制御工程のコー
ドの処理を介して前記ホスト装置と前記カードデバイス
との間での機器情報を相互に共有するための通信工程の
コードと、 前記通信工程のコードの処理によって共有化された情報
を、前記カードデバイスを介して接続した他の機器が利
用可能にするための制御工程のコードと、 前記通信制御工程の処理により接続した機器を認識する
認識工程と、 前記認識工程のコードの処理により認識した機器に最適
なドライバソフトを自動的に検出するドライバ検出工程
のコードと、 を有し、 前記カード制御工程のコードの処理は前記検出されたド
ライバソフトと、前記カードデバイスとの適合性を判断
して、該カードデバイスの制御用プログラムを自動的に
更新することを特徴とする画像データ処理方法。を備え
ることを特徴とする記憶媒体。
7. An image data processing method for exchanging information between a host device for reading and executing program data stored in a read-only storage medium and a device having a card device function and processing the data. A computer-readable storage medium storing a program code to be executed by a computer, the program code comprising: a code of a communication control step for controlling communication between the host device and a device; and a card interface. A code for a process of connecting to a card device via a card, a code for a card control process for controlling a card device detachably connectable to the card interface, a code for the card control process, and a process for a code for the communication control process. Device information between the host device and the card device via And a code for a control step for making the information shared by the processing of the code for the communication step available to other devices connected via the card device. And a recognition step of recognizing a device connected by the processing of the communication control step; and a code of a driver detection step of automatically detecting driver software optimal for the device recognized by the processing of the code of the recognition step. The code processing in the card control step judges the compatibility between the detected driver software and the card device, and automatically updates a control program of the card device. Data processing method. A storage medium comprising:
【請求項8】 前記カード制御工程のコードの処理は、
前記検出されたドライバソフトと、前記カードデバイス
の制御プログラムが適合できないと判断した場合は、前
記ホスト装置に対して該ドライバソフトの変更を要求
し、該要求に基づきホスト装置は前記カードデバイスに
も適合する最適なドライバソフトを検出し、変更するこ
とを特徴とする請求項7に記載の記憶媒体。
8. The processing of the code in the card control step is as follows:
If it is determined that the detected driver software and the control program of the card device are not compatible, the host device requests the host device to change the driver software. 8. The storage medium according to claim 7, wherein a suitable optimum driver software is detected and changed.
JP2000144029A 2000-05-16 2000-05-16 Image processing system, image data processing method and storage medium Pending JP2001326766A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2000144029A JP2001326766A (en) 2000-05-16 2000-05-16 Image processing system, image data processing method and storage medium
US09/853,710 US7068386B2 (en) 2000-05-16 2001-05-14 Image processing system, image data processing method, and storage medium
EP01304309A EP1156661A3 (en) 2000-05-16 2001-05-15 Image processing system, image data processing method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000144029A JP2001326766A (en) 2000-05-16 2000-05-16 Image processing system, image data processing method and storage medium

Publications (1)

Publication Number Publication Date
JP2001326766A true JP2001326766A (en) 2001-11-22

Family

ID=18650755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000144029A Pending JP2001326766A (en) 2000-05-16 2000-05-16 Image processing system, image data processing method and storage medium

Country Status (1)

Country Link
JP (1) JP2001326766A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339191A (en) * 2004-05-27 2005-12-08 Hitachi Ltd Remote copy with worm guarantee
JP2006072957A (en) * 2004-08-03 2006-03-16 Hitachi Ltd Storage device for executing data migration with worm function, storage system and data moving method
US7068386B2 (en) 2000-05-16 2006-06-27 Canon Kabushiki Kaisha Image processing system, image data processing method, and storage medium
JP2007519998A (en) * 2003-12-30 2007-07-19 インテル コーポレイション Chipset function detection and configuration by I / O device
JP2007206923A (en) * 2006-02-01 2007-08-16 Brother Ind Ltd Print data editing device and print data editing program
JP2007258892A (en) * 2006-03-22 2007-10-04 Seiko Epson Corp Compound machine unit and its data synchronization method
JP2009122742A (en) * 2007-11-12 2009-06-04 Seiko Epson Corp Ic card, method of controlling ic card, and control program for ic card
JP2010152936A (en) * 2002-05-15 2010-07-08 Oce Technologies Bv Programming print order
US8085417B2 (en) 2006-03-14 2011-12-27 Seiko Epson Corporation Multifunction peripheral unit that executes a selected processing function using two selected devices
CN112629477A (en) * 2020-12-12 2021-04-09 江苏德罗智能科技有限公司 Novel gauze plane bag detection and rejection counting control algorithm

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7068386B2 (en) 2000-05-16 2006-06-27 Canon Kabushiki Kaisha Image processing system, image data processing method, and storage medium
JP2010152936A (en) * 2002-05-15 2010-07-08 Oce Technologies Bv Programming print order
JP2007519998A (en) * 2003-12-30 2007-07-19 インテル コーポレイション Chipset function detection and configuration by I / O device
JP2005339191A (en) * 2004-05-27 2005-12-08 Hitachi Ltd Remote copy with worm guarantee
JP2006072957A (en) * 2004-08-03 2006-03-16 Hitachi Ltd Storage device for executing data migration with worm function, storage system and data moving method
JP2007206923A (en) * 2006-02-01 2007-08-16 Brother Ind Ltd Print data editing device and print data editing program
US8149453B2 (en) 2006-02-01 2012-04-03 Brother Kogyo Kabushiki Kaisha Print data-editing apparatus and print data-editing program stored in computer readable medium
US8085417B2 (en) 2006-03-14 2011-12-27 Seiko Epson Corporation Multifunction peripheral unit that executes a selected processing function using two selected devices
JP2007258892A (en) * 2006-03-22 2007-10-04 Seiko Epson Corp Compound machine unit and its data synchronization method
JP2009122742A (en) * 2007-11-12 2009-06-04 Seiko Epson Corp Ic card, method of controlling ic card, and control program for ic card
CN112629477A (en) * 2020-12-12 2021-04-09 江苏德罗智能科技有限公司 Novel gauze plane bag detection and rejection counting control algorithm

Similar Documents

Publication Publication Date Title
EP1156661A2 (en) Image processing system, image data processing method, and storage medium
JP4378323B2 (en) Information processing apparatus, printing apparatus, printing system, setting method, storage medium storing computer-readable program, and program
JP3513147B2 (en) USB storage device and its control device
US7231435B2 (en) Network system, information processing apparatus, information processing method, and control program
US20060002352A1 (en) Information processing device, printing device, printing system, system setting method, storage medium storing computer-readable program, and program
JP4725559B2 (en) Information processing apparatus and installation program
US8451484B2 (en) Information processing apparatus, printing apparatus, electronic device, and computer program therefor based on existence of printer configuration file
US8587811B2 (en) Information processing apparatus and method thereof
US20110075207A1 (en) Information processing apparatus and method thereof
JP2003216378A (en) Information processor, information processing method, computer program and computer readable storage medium
JP2003175657A (en) Printer and method for setting printing condition of printer
JP2001326766A (en) Image processing system, image data processing method and storage medium
JP2010039684A (en) Image forming apparatus, information processing apparatus, data processing method, and program
KR100601684B1 (en) external storage device, image aquisition device, method and system for driving driver
JP2003114859A (en) Usb connector
JP2006079634A (en) Usb storage device and program
JP4612761B2 (en) Electronic device, method for controlling electronic device, and computer-readable storage medium storing control program for electronic device
JP5388623B2 (en) Information processing apparatus, method thereof, and program
CN101246459B (en) Status processing system, status processor, and status displaying method
JP3814461B2 (en) Printer, printer control method, and storage medium
JP2001325114A (en) Image processing system, its method and storage medium
JP2001325079A (en) Image-processing system, image data processing method and storage medium
JP2001322335A (en) Image processing system, image data processing method and storage medium
JP2001325088A (en) Image-processing system, image data-processing method and storage medium
JP2007280035A (en) Printing process system and method, and information processing apparatus and method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040922

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050131