JP3880431B2 - Composite device and control method thereof - Google Patents

Composite device and control method thereof Download PDF

Info

Publication number
JP3880431B2
JP3880431B2 JP2002106506A JP2002106506A JP3880431B2 JP 3880431 B2 JP3880431 B2 JP 3880431B2 JP 2002106506 A JP2002106506 A JP 2002106506A JP 2002106506 A JP2002106506 A JP 2002106506A JP 3880431 B2 JP3880431 B2 JP 3880431B2
Authority
JP
Japan
Prior art keywords
recording
data
interface
unit
recording unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002106506A
Other languages
Japanese (ja)
Other versions
JP2003304368A (en
Inventor
斉 齋藤
晃 森沢
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 JP2002106506A priority Critical patent/JP3880431B2/en
Priority to EP03252101A priority patent/EP1353496A3/en
Priority to US10/406,194 priority patent/US7436529B2/en
Priority to CNB031092578A priority patent/CN1231828C/en
Publication of JP2003304368A publication Critical patent/JP2003304368A/en
Application granted granted Critical
Publication of JP3880431B2 publication Critical patent/JP3880431B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ホスト機能を有するインタフェースを備えた外部処理装置に接続される複合装置及びその制御方法に関するものである。
【0002】
【従来の技術】
パーソナルコンピュータ等の情報処理端末に接続可能なファクシミリ装置として、例えば特開平7−288625号公報等に記載されているように、セントロニクス等の双方向パラレルポート(IEEE1284準拠)、又はユニバーサルシリアルバス(Universal Serial Bus: USB)を介して、コンピュータ機器である情報処理端末に接続できるファクシミリ装置が知られている。このように互いに接続されたファクシミリ装置と情報処理端末とを備える画像処理システムにおいて、ファクシミリ装置と情報処理端末との接続形態は、単一の物理インターフェース上に単一の論理インターフェースだけを設けたものであった。このため、プリンタ、スキャナ、ファクシミリ通信等の複数の機能を併せ持つ複合ファクシミリ装置を、この情報処理端末で制御しようとした場合に、そのファクシミリ装置が備えている複数の機能を同時に動作させることが不可能なため、複合ファクシミリ装置のメリットを十分に生かせていなかった。また、無理に同時動作を行わせるためには、以下の作業が必要であった。
【0003】
情報処理端末は、本来の制御コマンドに対して、プリンタ、スキャナ、ファクシミリ通信等の機能を特定するヘッダ情報を制御コマンドの先頭に付加し、編集した上でパケット化し、そのパケット化したデータを複合ファクシミリ装置に送信する必要があった。それゆえに情報処理端末にインストールするドライバの改造作業の負荷、制御の複雑さ、スループットの点で大きな問題があった。
【0004】
更に、情報処理端末からパケット化されたデータを受信する複合ファクシミリ装置では、そのデータがプリンタを使用するデータなのか、スキャナを使用するデータなのか、ファクシミリ通信に関するデータなのかを特定するために、そのパケット化されたデータを解析する必要があり、更には制御コマンドの先頭に付加されているヘッダ情報を削除、編集する必要があり、そのための制御の複雑さ、スループットの点で大きな問題があった。
【0005】
そこで近年、情報処理端末とファクシミリ装置の物理インターフェースにUSBを採用し、USB規格で定める複数の論理チャネルを設ける(USB複合デバイス)ことにより、プリンタ、スキャナ、デジタルカメラ、ファクシミリ通信等の機能の同時動作を簡単に実現する手法が提案されている。この場合、複数の論理チャネルを設けることにより、制御コマンドに機能を示すヘッダ情報を付加する必要がなくなり、制御の簡素化、スループットの向上が期待できる。
【0006】
【発明が解決しようとする課題】
しかしながら、情報処理端末とファクシミリ装置の物理インターフェースにUSBを採用し、USB規格で定める複数の論理チャネルを設けることにより新たな問題も発生している。従来の単一の論理インターフェースしか持たない複合ファクシミリ装置では、情報処理端末が、プリンタ(記録部)、スキャナ、ファクシミリ通信等の機能を特定するヘッダ情報を制御コマンドの先頭に付加し、編集した上でそのデータをパケット化して複合ファクシミリ装置に送信していた。このため、このファクシミリ装置では、その受信したデータがプリンタにより記録を行うためのデータなのか、スキャナに関するデータなのか、ファクシミリ通信に関するデータなのかを特定するために、そのパケット化されたデータを解析した上で動作を開始していた。このため、記録処理、原稿画像の読み取り、ファクシミリ送受信といった全ての動作は、そのファクシミリ装置の主制御部で管理されるため、プリンタ等の同一のハードウェア資源を必要とする動作間の競合によるトラブルは発生しなかった。
【0007】
しかし、最近の複合型ファクシミリ装置では、複数の論理チャネルを使用して情報処理端末からの制御コマンドをファクシミリ装置内部の主制御部によって解析することなく各部に直接伝送されて、各部がその情報処理端末の指示に従って独立して動作可能となっている。このため、このファクシミリ装置の主制御部がローカルで、例えば記録部を使用してコピー等の記録動作を行おうとした場合には、外部の情報処理端末からの指示による動作と、ローカルな動作との間でハードウェア資源の競合によるトラブルが発生する虞がある。
【0009】
本発明は上記従来例に鑑みてなされたもので、記録部を使用した記録制御を行う場合に記録セマフォを獲得して記録処理を開始することにより、外部処理装置からの記録データや、他のデータ源からの記録データに基づく記録部を使用した記録処理の競合を防止した複合装置及びその制御方法を提供することにある。
【0010】
【課題を解決するための手段】
上記目的を達成するために本発明の複合装置は以下のような構成を備える。即ち、
ホスト機能を有するインタフェースを備えた外部処理装置に接続される複合装置において、
記録部と、
原稿を読取る読取部と、
前記外部処理装置と、前記記録部及び読取部との間のデータ送受信チャネルを含み、それぞれ独立して送受信の可否が設定可能な複数の論理チャネルを有する第1インタフェース手段と、
前記記録部のインタフェースに対してホスト機能を有し、前記第1インタフェースと異なる論理チャネルで構成された第2インタフェース手段と、
前記第1インタフェース手段の論理チャネルのそれぞれに設けられ記録データをバッファするバッファ手段と、
前記バッファ手段の状態に応じて記録セマフォを獲得する制御手段とを有し、
前記第1インタフェース手段の前記記録部に対応した論理チャネルを経由して前記外部処理装置からデータを受信した時、前記制御手段は記録セマフォを獲得し、受信したデータを前記第2インタフェース手段を経由して前記記録部で記録するように制御することを特徴とする。
【0011】
上記目的を達成するために本発明の複合装置の制御方法は以下のような工程を備える。即ち、
ホスト機能を有するインタフェースを備えた外部処理装置に接続される複合装置の制御方法において、
前記外部処理装置と、記録部及び読取部との間のデータ送受信チャネルを含み、それぞれ独立して送受信の可否が設定可能な複数の論理チャネルを有する第1インタフェースを介してデータを受信する受信工程と、
前記記録部のインタフェースに対してホスト機能を有し、前記第1インタフェースと異なる論理チャネルで構成された第2インタフェースを介して前記記録部にデータを伝送する工程と、
前記第1インタフェースの論理チャネルのそれぞれに設けられ記録データをバッファするバッファの状態に応じて記録セマフォを獲得する制御工程とを有し、
前記受信工程で、前記第1インタフェースの前記記録部に対応した論理チャネルを経由して前記外部処理装置からデータを受信した時、前記制御工程で記録セマフォを獲得し、受信したデータを前記第2インタフェースを経由して前記記録部で記録することを特徴とする。
【0012】
【発明の実施の形態】
以下、添付図面を参照して本発明の好適な実施の形態を詳細に説明する。
【0013】
図1は、本発明の実施の形態に係る印刷制御装置の一例である複合型ファクシミリ装置100の概略構成を示すブロック図である。但し、本実施の形態では、複合型ファクシミリ装置の場合で説明するが、本発明はこれに限定されるものではなく、プリンタ部を有し、そのプリンタ部を使用した印刷処理が自装置で生成された記録データに基づいて実行されると共に、インターフェースを介してコンピュータ機器を接続し、そのコンピュータ機器からの記録データに基づいてその記録部により記録を行うことができる装置或いはシステムであれば、本発明に含まれる。
【0014】
図において、CPU101は、ROM102に記憶されている制御プログラムに従って、このファクシミリ装置100全体の動作を制御する主制御部である。ROM102は、CPU101が実行する制御プログラムや、組込みオペレーティングシステム(OS)プログラム、及び各種データを記憶している。この実施の形態では、ROM102に格納されている各制御プログラムは、ROM102に格納されている組込みOSの管理下で、スケジューリングやタスクスイッチ等のソフトウエア制御を行うと共に、後述する各種制御を実行している。RAM103は、例えばSRAMやDRAM等で構成され、プログラム制御用の変数、オペレータが登録した設定値、この装置100の管理データ等を格納するとともに、CPU101による制御動作時に各種ワークデータを格納するワーク用バッファ領域が設けられている。画像メモリ104はDRAM等で構成され、スキャナ等の読取部107で読み取った画像データや、通信回線131を介して受信した画像データ等を蓄積する。データ変換部105は、外部処理装置141から入力されたページ記述言語(PDL)等を解析してイメージデータに展開したり、キャラクタデータをイメージデータに展開したり、また画像データの変換等を行う。読取部107は、CISイメージセンサ(密着型イメージセンサ)によって原稿を光学的に読み取り、電気的な画像データに変換した画像信号を出力する。読取制御部106は、この画像信号を入力して2値化処理や中間調処理等の各種画像処理を施し、高精細な画像データを出力する。尚、この実施の形態では、読取制御部106は、原稿を搬送しながら読み取りを行うシート読取制御方式と、原稿台にある原稿をスキャンするブック読取制御方式の両制御方式の読取部107に対応している。
【0015】
操作表示部108は、数値入力キー、文字入力キー、ワンタッチ電話番号キー、モード設定キー、決定キー、取り消しキー等を備えて、オペレータが画像送信の相手先データを決定したり、設定データの登録動作を行うための操作部と、各種キー、LED(発光ダイオード)とLCD(液晶ディスプレイ)等を有し、オペレータによる各種入力操作や、ファクシミリ装置100の動作状況、ステータス状況の表示等を行う表示部等を備えている。通信制御部109は、モデム(変復調装置)や、NCU(網制御装置)等を備え、アナログの通信回線(PSTN)131に接続され、T30プロトコルでの通信制御、通信回線に対する発呼と着呼等の回線制御を行っている。しかし、この通信制御部109による制御はアナログ回線との通信制御に限定されず、デジタル回線との通信制御機能を備えていても良いことはもちろんである。解像度変換処理部110は、画像データを例えばミリ単位からインチ単位への解像度変換等の変換制御を行うとともに、画像データの拡大・縮小処理も可能である。
【0016】
符号復号化処理部111は、このファクシミリ装置100で扱う画像データの符号化(MH、MR、MMR、JBIG、JPEG等)及び復号処理や、拡大・縮小処理を行う。記録制御部112は、プリンタ等の記録部115で印刷される画像データに対し、図示しない画像処理制御部を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を施して高精細な画像データに変換し、USBホスト制御部114(後述)に出力する。また、USBホスト制御部114を制御することにより、定期的に記録部115の動作状況データを取得する役割も果たす。USBファンクション制御部113は、USBインターフェース116の通信制御を行うものであり、USB通信規格に従ってプロトコル制御を行い、CPU101が実行するUSB制御タスクからのデータをパケットに変換して外部処理装置141に送信する、USBパケット送信を行ったり、逆に、外部処理装置141からのUSBパケットを受信してデータに変換し、CPU101に対して送信したりする。USBホスト制御部114は、USB通信規格で定められたプロトコルで通信を行うための制御部である。このUSBホスト制御部114におけるUSB通信規格は、双方向のデータ通信を高速に行うことができる規格であり、1台のホスト(マスタ)に対し、複数のハブ又はファンクション(スレーブ)を接続することができる。このUSBホスト制御部114は、USB通信におけるホストの機能を有している。記録部115は、例えばレーザビームプリンタやインクジェットプリンタ等の印刷装置であり、カラー画像データ又はモノクロ画像データに基づいて画像を記録媒体に印刷する。この記録部115とUSBホスト制御部114とは、USB通信規格で定められたプロトコルで通信を行い、特に記録部115はファンクション機能を有している。117はタイマで、CPU101の指示に従って所定時間の計時を行ったり、或いはCPU101により指定された時間が経過するとCPU101に対して割込み等を発生して、その指定された時間が経過したことを通知する。
【0017】
尚、本実施の形態においては、記録機能のUSB通信は1対1の接続形態を用いる。以上説明した構成要素101〜106、108〜114,117は、CPU101が管理するCPUバス121を介して相互に接続されている。
【0018】
次に、USBファンクション制御部113のUSBインターフェースにおける構成を詳細に説明する。
【0019】
図2は、本実施の形態に係るUSBファンクション制御部113のUSBインターフェースを説明する概念図である。
【0020】
最も大きい枠で示されるデバイス(Device)201は、USB通信規格において1つだけ定義することができ、この装置100全体の属性を示している。このデバイス201の属性は、デバイス記述(Device Descriptor)で表現され、このデバイス記述には、装置の製造者ID、製品ID、リリース番号、コンフィグレーション(Configuration)数などが含まれている。本実施の形態においては、このコンフィグレーション数は「1」である。
【0021】
このデバイス201には、コンフィグレーションが1つ(Cofiguration1(202))定義されている。このCofiguration1(202)の属性は、コンフィグレーション記述(Configuration Descriptor)で表現され、このコンフィグレーション記述には、そのコンフィグレーションのインターフェース(Interface)数などが含まれている。本実施の形態においては、このインターフェース数は「3」である。
【0022】
このCofiguration1(202)には、インターフェースが3つ(Interface0〜Interface2(204,207,211))定義されている。これら3つのインターフェース(Interface0〜Interface2(204,207,211))の各属性は、インターフェース記述(Interface Descriptor)で表現され、このインターフェース記述には、各インターフェースのエンドポイント(Endpoint)数、クラスコードなどが含まれている。本実施の形態においては、Interface0(204)は記録部115用であり、このInterface0(204)のエンドポイント数は「2」である。また、Interface1(207)は読取部107用であり、このInterface1(207)の中のエンドポイント数は「3」である。また、Interface2(211)はファクシミリ送受信用に使用され、このInterface2(211)のエンドポイント数は「3」である。
【0023】
ここで、記録部115用に使用するInterface0(204)の中には、エンドポイントが2つ(Endpoint1, Endpoint2(205、206))定義されており、これら2つのEndpoint1, Endpoint2(205、206)の各属性は、エンドポイント記述(Endpoint Descriptor)で表現され、このエンドポイント記述には、そのエンドポイント番号、通信方向、転送タイプ、パケットサイズなどが含まれている。そして、Endpoint1(205)は、主に外部処理装置141から記録部115に送信される制御データの受信や印刷データの受信のために使用され、Endpoint2(206)は、主に受信した印刷データに基づく動作状況を、記録部115から外部処理装置141に送信するために使用される。
【0024】
また読取部107用に使用するInterface1(207)の中には、エンドポイントが3つ(Endpoint3, Endpoint4, Endpoint5(208、209、210))定義されている。これらEndpoint3, Endpoint4, Endpoint5(208、209、210)の各属性は、エンドポイント記述で表現され、このエンドポイント記述には、そのエンドポイント番号、通信方向、転送タイプ、パケットサイズなどが含まれている。そして、Endpoint3(208)は、主に読取部107から外部処理装置141に読取データを送信するために使用され、Endpoint4(209)は、主に外部処理装置141からの制御データを受信するために使用される。またEndpoint5(210)は、主に読取部107でスキャンが起動されたことを、読取部107から外部処理装置141に通知するために使用される。
【0025】
更に、ファクシミリ送受信用に使用するInterface2(211)には、エンドポイントが3つ(Endpoint6, Endpoint7, Endpoint8(212、213、214))定義されている。これらEndpoint6, Endpoint7, Endpoint8(212、213、214)の各属性は、エンドポイント記述で表現され、このエンドポイント記述には、そのエンドポイント番号、通信方向、転送タイプ、パケットサイズなどが含まれている。ここでEndpoint6(212)は、主に外部処理装置141からの制御データの受信やファクシミリ送信データの受信のために使用される。またEndpoint7(213)は、主にファクシミリ受信データや、ファクシミリ送受信の通信状況を外部処理装置141に送信するために使用される。更にEndpoint8(214)は、主にファクシミリ受信が終了したことを外部処理装置141に通知するために使用される。
【0026】
次に、記録部115のUSBインターフェースにおける構成を詳細に説明する。
【0027】
図3は、本実施の形態に係るファクシミリ装置100における記録部115のUSBインターフェースを説明する概念図である。
【0028】
最も大きい枠で示されるデバイス(Device)301は、USB通信規格において1つだけ定義することができ、この装置100全体の属性を示している。このデバイス301の属性は、デバイス記述(Device Descriptor)で表現され、このデバイス記述には、装置の製造者ID、製品ID、リリース番号、コンフィグレーション(Configuration)数などが含まれている。この実施の形態においては、コンフィグレーション数は「1」である。このデバイス301には、コンフィグレーションが1つ(Configuration1(302))定義されている。このConfiguration1(302)の属性は、コンフィグレーション記述(Configuration Descriptor)で表現され、このコンフィグレーション記述には、そのコンフィグレーションの中のインターフェース数などが含まれている。本実施の形態においては、このインターフェース数は「1」である。
【0029】
このConfiguration1(302)には、インターフェースが1つ(Interface0(304))定義されており、このInterface0(304)の属性は、インターフェース記述(Interface Descriptor)で表現され、このインターフェース記述には、そのインターフェースの中のエンドポイント(Endpoint)数、クラスコードなどが含まれている。この実施の形態においては、この印刷用に使用するInterface0(304)の中のエンドポイント数は「2」である。このConfiguration1(302)において、Endpoint0(403)は、この装置100の制御用に用いられており、装置の構成データの送信経路となっている。また、このファクシミリ装置100においては、CPU101が記録部115の動作状況を送信するためにも使用される。
【0030】
印刷用に使用するInterface0(304)の中には、エンドポイントが2つ(Endpoint1, Endpoint2(305、306))定義されており、これらEndpoint1, Endpoint2(305、306)の各属性は、エンドポイント記述(Endpoint Descriptor)で表現され、このエンドポイント記述には、そのエンドポイントのエンドポイント番号、通信方向、転送タイプ、パケットサイズなどが含まれている。この内、Endpoint1(305)は、主にCPU101或いは外部処理装置141からの制御データの受信や印刷データの受信のために使用される。またEndpoint2(306)は、主に受信した印刷データに基づく動作状況を、CPU101或いは外部処理装置141に送信するために使用される。
【0031】
次に、上述の構成を備える複合ファクシミリ装置100の基本的な動作について説明する。
【0032】
本実施の形態に係るファクシミリ装置100は、PC等の外部処理装置141とUSBを介して接続される(第1インターフェース手段)。このファクシミリ装置100内で外部処理装置141との通信を受け持つのはUSBファンクション制御部113であり、このUSBは、図2に示したように複数のインターフェースを有している。これら複数のインターフェースの中で、記録部115(プリンタ)用に使用されるInterface0(204)が第1論理チャネルであり、外部処理装置141からの制御データ及び印刷データの受信用のEndpoint1(205)と、記録部115から外部処理装置141に動作状況を送信するためのEndpoint2(206)とを有している。
【0033】
又、このファクシミリ装置100の記録部115と、CPU101とはUSBを介して接続されており、記録部115による記録処理がCPU101により制御される(第2インターフェース手段)。ファクシミリ装置100内で、記録部115との通信を受け持つのはUSBホスト制御部114であり、このUSBは図3に示したように1つのインターフェース(Interface0)を有している。このInterface0(304)(第2論理チャネル)は、CPU101からの制御データ及び印刷データの受信用のEndpoint1(305)と、記録部115の動作状況をCPU101に送信するためのEndpoint2(306)とを有している。
【0034】
このファクシミリ装置100のCPU101は、外部処理装置141からUSBファンクション制御部113のEndpoint1(205)経由で受信した制御データ及び印刷データを、USBホスト制御部114のEndpoint1(305)を経由して記録部115に転送する。この際、転送するデータには一切の編集を行わない。
【0035】
同様に、USBホスト制御部114のEndpoint2(306)経由で受信した記録部115からの動作状況を、USBファンクション制御部113のEndpoint2(206)を経由して外部処理装置141に転送する。この際も、転送するデータには一切の編集を行わない。これによりデータは完全に透過的に通信されるため、外部処理装置141と記録部115が恰も直結されているかのように、外部処理装置141が記録部115を制御して印刷を行い、その動作状況を知ることができる。
【0036】
以上の構成において、外部処理装置141よりの記録データにより記録部115が印刷を行っている際には、CPU101は、その記録データの解析を行う必要がないためCPU101の処理が軽減される。また、記録部115を変更してもCPU101の動作が影響されないため任意の機種のプリンタを記録部115として選択できる。また外部処理装置141でも、ベースとしているプリンタドライバをそのまま利用できるので、新規にプリンタドライバを開発したり実装する手間がなくなるという利点がある。
【0037】
以下、本実施の形態を詳しく説明する前に、本実施の形態の特徴について簡単に説明する。
【0038】
本実施の形態は、記録部115に対して記録セマフォを設定することを特徴としている。ここで、資源(記録部115)の数は「1」であるから、一つのアプリケーションが記録セマフォを取得すれば、それ以後、その記録セマフォを取得したアプリケーションがその記録セマフォを解放するまで、他のアプリケーションはその記録セマフォを取得できなくなる。これにより記録部115の排他制御を可能にしている。
【0039】
また本実施の形態では、主制御部(CPU101)がローカルで記録部115を使用する、例えばコピー等の記録動作を行う場合には、その記録タスクはまず記録セマフォの取得を試み、その取得に成功した場合にのみ記録部115を使用して記録(コピー)を行う。ローカルでの記録中は外部処理装置141からの記録データの受信を禁止するので、このローカルでの記録中は、外部処理装置141からの記録データが記録部115に入力される危険がなくなる。そしてローカルでの記録終了後、その記録タスクは、記録セマフォを解放すると共に外部処理装置141からの記録データの受信を許可し、その外部処理装置141からの記録データに基づく記録部115を用いた記録を可能とする。
【0040】
他方、外部処理装置141により記録を行う場合には、外部とのUSBインターフェース116(USBファンクション制御部113)を介して記録データを受信した時点で、外部処理装置141からの記録データによる記録のために記録セマフォの取得を行う。これにより外部処理装置141からの記録データによる記録が開始され、その記録中は、主制御部(CPU101)がローカルで記録を行うことができなくなり記録部115の排他使用が実現できる。
【0041】
また外部処理装置141からの記録データの受信により記録セマフォの取得を行った場合は、それ以後は、USBホスト制御部114により記録部115の動作状況を監視し、記録部115の動作状況が「動作中」となった後に「スタンバイ」に戻るとその記録処理を終了したとみなして記録セマフォを解放する。また、記録セマフォの取得後、所定の時間内に記録部115の動作状況が「動作中」とならなかった場合は、「動作中」の時間が短かったために「動作中」を示すステータスを見落としたと判断し、その記録セマフォを解放することにより、より安全性を高めている。
【0042】
以下、具体例を挙げて、本実施の形態に係る複合型ファクシミリ装置の記録動作を詳細に説明する。
【0043】
図4は、本発明の実施の形態に係る複合型ファクシミリ装置におけるコピー或いはレポート出力、受信画像の記録等により、ローカルで記録を行う場合の処理を示すフローチャートである。尚、この処理を実行するプログラムはROM102に記憶されている。
【0044】
このファクシミリ装置100がローカルで記録処理を開始する場合、まずステップS401で、USBファンクション制御部113に対して外部処理装置141からの制御データ及び印刷データの受信に使用するEndpoint1(205)の受信を禁止する設定を行う。次にステップS402に進み、USBファンクション制御部113は、図2のUSB機能で示した様に複数のエンドポイントを有しており、それぞれのエンドポイントは、それぞれ独立して送信及び受信の可否が設定できる。各エンドポイントは、対応する非図示の送受信バッファを有しており、受信が許可されている場合には、受信したデータが自動的に、そのバッファに格納されるが、受信が禁止されている場合には、そのバッファにデータは格納されず、パケットの転送終了時にホスト(外部処理装置141)に対してNAK(否定応答)が返される。
【0045】
次にステップS402に進み、USBファンクション制御部113のEndpoint1(205)に対応する送受信バッファのチェックを行う。この時、ステップS401で受信禁止の設定を行った時点で既に、外部処理装置141からのデータ転送が開始されていた場合には、そのバッファにデータが格納されているので、その場合にはステップS407に進み、USBファンクション制御部113のEndpoint1(205)の受信禁止の設定を解除し、ローカルでの記録動作を開始しないままエラー終了する。
【0046】
一方ステップS402で、送受信バッファが空であった場合はステップS403に進み、記録セマフォの取得を試みる。この記録セマフォは、オペレーティングシステム(OS)が提供する記録部の資源管理機構であり、プリンタ等の記録部の資源(ハードウェア資源)を必要とするアプリケーションは、そのOSに対して、その資源に対応する記録セマフォの取得を要求し、それが受け入れられた場合にのみ、そのアプリケーションが、その資源(記録部)を操作することにより、その記録部における排他処理を実現するものである。このステップS403で記録セマフォの取得に失敗した場合には、既に外部処理装置141からの記録データに基づく記録動作が開始されているのでステップS407に進み、USBファンクション制御部113のEndpoint1(205)の受信禁止の設定を解除し、ローカルでの記録動作を開始しないままエラー終了する。
【0047】
一方ステップS403で、記録セマフォの取得に成功した場合はステップS404に進んで、ローカルでの記録を行う。このローカルでの記録は、CPU101がUSBホスト制御部114のEndpoint1(305)を経由して記録部115に制御データ及び印刷データを伝送することにより実行される。そしてCPU101から全ての記録データの伝送が終了するとステップS405に進み、そのセマフォを解放してステップS406に進み、USBファンクション制御部113のEndpoint1(205)の受信禁止の設定を解除して正常終了する。
【0048】
以上が、ローカルで記録を行う場合の制御処理の流れである。
【0049】
図5は、本発明の実施の形態に係る複合型ファクシミリ装置100における、外部処理装置141からの記録データに基づいて記録を行う場合の処理を示すフローチャートである。尚、この処理を実行するプログラムはROM102に記憶されている。
【0050】
まずステップS501で、USBファンクション制御部113のEndpoint1(205)の送受信バッファをチェックする。ここで、このバッファにデータがあれば外部処理装置141からの記録データの転送が開始されているのでステップS502へ進み、そのバッファが空であれば、まだ記録データの伝送が開始されていないのでステップS501へ戻る。ステップS502では、記録セマフォの取得を試みる。ここで、この記録セマフォの取得に失敗した場合は、ローカルな記録のためにセマフォが取得されているのでステップS503に進み、受信バッファをクリアして、そこに記憶されていた内容を破棄した上でステップS501に戻る。
【0051】
一方ステップS502で、記録セマフォが取得できた場合はステップS504に進み、タイマ117による計時値を「0」に初期化して計時を開始させ、RAM103に設けられたフラグをオフに初期化する。
【0052】
次にステップS505に進み、USBファンクション制御部113のEndpoint1(205)を経由して受信したデータを、USBホスト制御部114のEndpoint1(305)を経由して記録部115に伝送する。そして次のステップ以降では記録終了のチェックを開始する。まずステップS506で、前述のフラグがオフかどうかをチェックする。前述の様に、このフラグは、記録開始時にステップS504でオフに初期化されている。ステップS506でフラグがオフの場合はステップS507へ進み、記録部115の動作状況をチェックする。
【0053】
本実施の形態では、記録部115の動作状況は、CPU101がUSBホスト制御部114のEndpoint2(306)を経由して記録部115の動作状況を読み取ることにより行う。この動作状況の取得は、PCとプリンタの間で一般的に行われているもので公知の技術であるが概略を説明すると、CPU101は予め記録部115に対して返送する動作状況を指定しておく。この動作状況には、例えば動作ステータス、ビジーステータス、警告ステータス、オペレータコール・ステータス、サービスコール・ステータス等がある。これらステータス情報は、それぞれ「DJS(動作ステータス)」,「DBS(ビジーステータス)」,「DWS(警告ステータス)」,「DOC(オペレータコールステータス)」,「DSC(サービスコールステータス)」と表記される。これらのステータスの中で必要とするものをステータス指定コマンドに続いて送信する。
【0054】
本実施の形態では、ステータス指定コマンドはSSRであり、動作ステータス「DJS」とビジーステータス「DBS」を必要とする場合には、「SSR=DJS,DBS」というように、2つのコマンドをカンマで連結して送信する。これを受信した記録部115は、その指定された内容を記憶し、以後ステータス要求があると指定されたステータスを返送する。この返送フォーマットは、「コマンド:ステータス」で、全てASCIIコードで表されている。
【0055】
このステータスの要求は、USBホスト制御部114のUSBのEndpoint2(306)に対してInトークンを与えることで行われる。即ち、CPU101は、記録部115の動作状況を知りたい場合には、USBホスト制御部114に対してInトークンを発行した後、そのUSBホスト制御部114から受信したデータを検索し、必要としているコマンドの後に続くステータスを抽出することで、その記録部115の動作状況を知ることができる。ここでは記録部115が動作中であるかどうかが知りたいので、返送フォーマット「コマンド:ステータス」のコマンド「DJS(動作ステータス)」の後に続くステータスコードを読みとることにより、記録部115が「動作中」かどうかを判定できる。
【0056】
このステップS507における判定結果が「動作中」を示していればステップS509に進み、フラグをオンしてステップS505へ戻る。そして、それ以後は、USBファンクション制御部113のEndpoint1(205)に受信したデータがあれば、USBホスト制御部114のEndpoint1(305)経由で記録部115に転送しながら、記録終了のチェックを繰り返す。尚、記録部115が「動作中」とは、記録部115が実際に記録中である場合、或いは回復動作中等であり、記録部115が受信したデータに対して行う処理の全てに対して処理中であることを示すステータスである。
【0057】
こうしてステップS507で、記録部115が「動作中」でなくなるとステップS510に進み、タイマ117による計時時間をチェックする。このタイマ117は、前述した様に、記録開始時にステップS504で「0」に初期化されて計時が起動されている。このステップS510で、タイマ117による計時値が閾値以上であったら、外部処理装置141から送られてきた記録データが無効なデータであったか、或いは「動作中」のステータスが極めて短い時間しか有効とならなかったために見落としたものと判断してステップS511へ進み、記録セマフォを解放して処理を終了する。尚、この実施の形態では、この閾値は15秒としている。またステップS510で、タイマ117の計時値が閾値以下の場合はステップS505に戻って前述の処理を繰り返す。
【0058】
一方、ステップS506でフラグがオフでなかった場合は、記録部115が、受信したデータの処理を既に開始していることを示しているのでステップS508に進み、記録部115の動作状況をチェックする。ここでもステップS507と同様に、USBホスト制御部114のEndpoint2(206)を経由して、記録部115の動作状況を入力してチェックする。このチェックの結果、「動作中」であれば、記録部115の処理が継続しているのでステップS505へ戻り、前述の処理を繰り返す。こうしてステップS508で、記録部115の動作状況が「動作中」ではなくなると、記録部115における処理が終了したものと判断してステップS510へ進み、記録セマフォを解放して処理を終了する。
【0059】
(その他の実施の形態)
本発明の目的は前述したように、実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体をシステム或は装置に提供し、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フロッピィディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM,CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
【0060】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれている。
【0061】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含む。
【0062】
以上説明したように本実施の形態によれば、複合ファクシミリ装置における記録動作の排他処理を容易に実現でき、その複合ファクシミリ装置の記録部(プリンタ装置)の実用性を大幅に高めることができる。
【0063】
また排他処理を実現するにあたり、CPU(制御部)による記録データの解析を必要としないため、CPUの処理に負担を与えることなく、かつ、記録データの言語仕様に依存しないために記録部の機種選択が自由に行えるというメリットがある。
【0064】
また、新規にハードウェアを必要とせずに、上記目的を達成できるため低コストで実現できるという効果がある。
【0065】
【発明の効果】
以上説明したように本発明によれば、セマフォを用いて、ハードウェア資源の排他制御を行う記録制御装置及び該装置における制御方法が提供できた。
【0066】
又本発明によれば、記録部を使用した記録制御を行う場合に記録セマフォを獲得して記録処理を開始することにより、外部処理装置からの記録データや、他のデータ源からの記録データに基づく記録部を使用した記録処理の競合を防止できるという効果がある。
【図面の簡単な説明】
【図1】本発明の実施の形態に係る複合型ファクシミリ装置の構成を示すブロック図である。
【図2】本発明の実施の形態に係る複合型ファクシミリ装置のUSBインターフェースを説明する概念図である。
【図3】本発明の実施の形態に係る複合型ファクシミリ装置の記録部のUSB構成を説明する概念図である。
【図4】本発明の実施の形態に係る複合型ファクシミリ装置におけるコピー或いはレポート出力、受信画像の記録等により、ローカルで記録を行う場合の処理を示すフローチャートである。
【図5】本発明の実施の形態に係る複合型ファクシミリ装置における外部処理装置からの記録データに基づいて記録を行う場合の処理を示すフローチャートである。
[0001]
BACKGROUND OF THE INVENTION
The present invention COMPOSITE DEVICE CONNECTED TO EXTERNAL PROCESSING DEVICE HAVING INTERFACE HAVING HOST FUNCTION AND ITS It relates to a control method.
[0002]
[Prior art]
As a facsimile apparatus that can be connected to an information processing terminal such as a personal computer, for example, as described in JP-A-7-288625, a bidirectional parallel port such as Centronics (compliant with IEEE 1284), or a universal serial bus (Universal A facsimile apparatus that can be connected to an information processing terminal, which is a computer device, via Serial Bus (USB) is known. In such an image processing system including a facsimile apparatus and an information processing terminal connected to each other, the connection form between the facsimile apparatus and the information processing terminal is a single physical interface provided with only a single logical interface. Met. For this reason, when a composite facsimile apparatus having a plurality of functions such as a printer, a scanner, and a facsimile communication is to be controlled by this information processing terminal, it is impossible to simultaneously operate the plurality of functions of the facsimile apparatus. Because it is possible, the advantage of the composite facsimile machine was not fully utilized. In addition, the following work was required to force simultaneous operation.
[0003]
The information processing terminal adds header information specifying the functions of the printer, scanner, facsimile communication, etc. to the head of the control command, edits it into a packet after editing it, and combines the packetized data. There was a need to send it to a facsimile machine. Therefore, there are major problems in terms of the load of remodeling the driver installed in the information processing terminal, the control complexity, and the throughput.
[0004]
Further, in the composite facsimile apparatus that receives packetized data from the information processing terminal, in order to specify whether the data is data using a printer, data using a scanner, or data related to facsimile communication, It is necessary to analyze the packetized data, and furthermore, it is necessary to delete and edit the header information added to the head of the control command, which has a big problem in terms of control complexity and throughput. It was.
[0005]
Therefore, in recent years, USB has been adopted as the physical interface between the information processing terminal and the facsimile apparatus, and a plurality of logical channels defined by the USB standard are provided (USB composite device), so that functions such as printers, scanners, digital cameras, and facsimile communication can be performed simultaneously. A method for easily realizing the operation has been proposed. In this case, by providing a plurality of logical channels, it is not necessary to add header information indicating a function to the control command, and simplification of control and improvement of throughput can be expected.
[0006]
[Problems to be solved by the invention]
However, a new problem has arisen by adopting USB as the physical interface between the information processing terminal and the facsimile apparatus and providing a plurality of logical channels defined by the USB standard. In a conventional composite facsimile machine having only a single logical interface, an information processing terminal adds header information for specifying functions such as a printer (recording unit), a scanner, and facsimile communication to the head of a control command and edits it. The data is packetized and transmitted to the composite facsimile machine. For this reason, in this facsimile apparatus, the packetized data is analyzed in order to specify whether the received data is data for recording by a printer, data relating to a scanner, or data relating to facsimile communication. The operation was started. For this reason, all operations such as recording processing, document image reading, and facsimile transmission / reception are managed by the main control unit of the facsimile apparatus, and therefore troubles caused by conflicts between operations that require the same hardware resources, such as a printer. Did not occur.
[0007]
However, in recent complex type facsimile machines, control commands from the information processing terminal are directly transmitted to each part without being analyzed by the main control part inside the facsimile machine using a plurality of logical channels, and each part receives the information processing. It can operate independently according to the instructions of the terminal. For this reason, when the main control unit of the facsimile apparatus tries to perform a recording operation such as copying using a recording unit, for example, an operation based on an instruction from an external information processing terminal, a local operation, May cause trouble due to hardware resource conflicts.
[0009]
The present invention has been made in view of the above conventional example. When recording control using a recording unit is performed, a recording unit based on recording data from an external processing device or recording data from another data source is used by acquiring a recording semaphore and starting recording processing Prevented recording process conflicts Compound device and its It is to provide a control method.
[0010]
[Means for Solving the Problems]
In order to achieve the above object, the composite apparatus of the present invention has the following configuration. That is,
In a composite device connected to an external processing device having an interface having a host function,
A recording section;
A reading unit for reading a document;
A first interface means including a data transmission / reception channel between the external processing device and the recording unit and the reading unit, and having a plurality of logical channels that can be independently set for transmission / reception;
A second interface means having a host function with respect to the interface of the recording unit and configured by a logical channel different from the first interface;
Buffer means provided in each of the logical channels of the first interface means for buffering recording data;
Control means for acquiring a recording semaphore according to the state of the buffer means;
When data is received from the external processing device via a logical channel corresponding to the recording unit of the first interface means ,in front The recording control unit acquires a recording semaphore and controls the recording unit to record the received data via the second interface unit.
[0011]
In order to achieve the above object, the control method of the composite apparatus of the present invention includes the following steps. That is,
In a control method of a composite device connected to an external processing device having an interface having a host function,
A receiving step of receiving data via a first interface including a plurality of logical channels including a data transmission / reception channel between the external processing device, the recording unit, and the reading unit, each of which can be independently set for transmission / reception When,
Having a host function for the interface of the recording unit, and transmitting data to the recording unit via a second interface configured with a different logical channel from the first interface;
A control step of acquiring a recording semaphore according to a state of a buffer provided in each of the logical channels of the first interface to buffer recording data,
When receiving data from the external processing device via a logical channel corresponding to the recording unit of the first interface in the receiving step ,in front A recording semaphore is acquired in the recording step, and the received data is recorded by the recording unit via the second interface.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
[0013]
FIG. 1 is a block diagram showing a schematic configuration of a composite facsimile machine 100 which is an example of a print control apparatus according to an embodiment of the present invention. However, in this embodiment, the case of a composite type facsimile apparatus will be described. However, the present invention is not limited to this, and has a printer unit, and print processing using the printer unit is generated by the own device. Any device or system that can be executed based on the recorded data and can be connected to a computer device via an interface and can be recorded by the recording unit based on the recorded data from the computer device. Included in the invention.
[0014]
In the figure, a CPU 101 is a main control unit that controls the operation of the entire facsimile apparatus 100 in accordance with a control program stored in a ROM 102. The ROM 102 stores a control program executed by the CPU 101, an embedded operating system (OS) program, and various data. In this embodiment, each control program stored in the ROM 102 performs software control such as scheduling and task switching under the management of the embedded OS stored in the ROM 102 and executes various controls described later. ing. The RAM 103 is composed of, for example, SRAM or DRAM, and stores variables for program control, setting values registered by the operator, management data of the device 100, and various work data during control operations by the CPU 101. A buffer area is provided. The image memory 104 is configured by a DRAM or the like, and stores image data read by the reading unit 107 such as a scanner, image data received via the communication line 131, and the like. The data conversion unit 105 analyzes a page description language (PDL) or the like input from the external processing device 141 and expands it into image data, expands character data into image data, converts image data, and the like. . The reading unit 107 optically reads a document with a CIS image sensor (contact image sensor) and outputs an image signal converted into electrical image data. The reading control unit 106 receives the image signal, performs various image processing such as binarization processing and halftone processing, and outputs high-definition image data. In this embodiment, the reading control unit 106 corresponds to both the reading unit 107 of the sheet reading control method for reading while conveying a document and the book reading control method for scanning the document on the document table. is doing.
[0015]
The operation display unit 108 includes a numeric input key, a character input key, a one-touch telephone number key, a mode setting key, a determination key, a cancel key, and the like so that an operator can determine destination data for image transmission and register setting data. An operation unit for performing operations, various keys, LEDs (light emitting diodes), LCDs (liquid crystal displays), and the like, and a display for performing various input operations by the operator, operation status of the facsimile machine 100, display of status status, etc. Part. The communication control unit 109 includes a modem (modem / demodulation device), an NCU (network control device), and the like, and is connected to an analog communication line (PSTN) 131, and performs communication control using the T30 protocol, and outgoing and incoming calls to the communication line. Etc. are being controlled. However, the control by the communication control unit 109 is not limited to the communication control with the analog line, and it is needless to say that the communication control function with the digital line may be provided. The resolution conversion processing unit 110 performs conversion control such as resolution conversion of image data from, for example, millimeter units to inch units, and can also perform enlargement / reduction processing of image data.
[0016]
The encoding / decoding processing unit 111 performs encoding (MH, MR, MMR, JBIG, JPEG, etc.) and decoding processing of image data handled by the facsimile apparatus 100, and enlargement / reduction processing. The recording control unit 112 performs various types of image processing such as smoothing processing, recording density correction processing, and color correction on the image data printed by the recording unit 115 such as a printer via an image processing control unit (not shown). It is converted into fine image data and output to the USB host control unit 114 (described later). In addition, by controlling the USB host control unit 114, the operation status data of the recording unit 115 is periodically acquired. The USB function control unit 113 performs communication control of the USB interface 116, performs protocol control according to the USB communication standard, converts data from the USB control task executed by the CPU 101 into a packet, and transmits the packet to the external processing device 141. USB packet transmission is performed, or conversely, a USB packet from the external processing device 141 is received, converted into data, and transmitted to the CPU 101. The USB host control unit 114 is a control unit for performing communication using a protocol defined by the USB communication standard. The USB communication standard in the USB host control unit 114 is a standard capable of performing bidirectional data communication at high speed, and a plurality of hubs or functions (slave) are connected to one host (master). Can do. The USB host control unit 114 has a host function in USB communication. The recording unit 115 is a printing apparatus such as a laser beam printer or an ink jet printer, and prints an image on a recording medium based on color image data or monochrome image data. The recording unit 115 and the USB host control unit 114 communicate with each other using a protocol defined by the USB communication standard. In particular, the recording unit 115 has a function function. 117 is a timer that counts a predetermined time in accordance with an instruction from the CPU 101, or generates an interrupt to the CPU 101 when a time specified by the CPU 101 elapses to notify that the specified time has elapsed. .
[0017]
In this embodiment, the USB communication of the recording function uses a one-to-one connection form. The components 101 to 106, 108 to 114, and 117 described above are connected to each other via a CPU bus 121 managed by the CPU 101.
[0018]
Next, the configuration of the USB interface of the USB function control unit 113 will be described in detail.
[0019]
FIG. 2 is a conceptual diagram illustrating the USB interface of the USB function control unit 113 according to the present embodiment.
[0020]
Only one device 201 indicated by the largest frame can be defined in the USB communication standard, and indicates the attributes of the entire apparatus 100. The attributes of the device 201 are expressed by a device description (Device Descriptor), and the device description includes a device manufacturer ID, a product ID, a release number, the number of configurations, and the like. In the present embodiment, the number of configurations is “1”.
[0021]
One configuration (Cofiguration 1 (202)) is defined in the device 201. The attribute of Configuration 1 (202) is expressed by a configuration description (Configuration Descriptor), and the configuration description includes the number of interfaces of the configuration. In the present embodiment, the number of interfaces is “3”.
[0022]
In this configuration 1 (202), three interfaces (Interface0 to Interface2 (204, 207, 211)) are defined. Each attribute of these three interfaces (Interface0 to Interface2 (204, 207, 211)) is expressed by an interface description (Interface Descriptor), and this interface description includes the number of endpoints of each interface, class code, and the like. It is included. In the present embodiment, Interface0 (204) is for the recording unit 115, and the number of endpoints of Interface0 (204) is “2”. Interface1 (207) is for the reading unit 107, and the number of endpoints in Interface1 (207) is “3”. Interface2 (211) is used for facsimile transmission / reception, and the number of endpoints of Interface2 (211) is “3”.
[0023]
Here, two endpoints (Endpoint1, Endpoint2 (205, 206)) are defined in Interface0 (204) used for the recording unit 115, and these two Endpoint1, Endpoint2 (205, 206) are defined. Each attribute is expressed by an endpoint description (Endpoint Descriptor), which includes the endpoint number, communication direction, transfer type, packet size, and the like. The Endpoint 1 (205) is mainly used for receiving control data and print data transmitted from the external processing device 141 to the recording unit 115, and the Endpoint 2 (206) is mainly used for the received print data. It is used to transmit the operating status based on the recording unit 115 to the external processing device 141.
[0024]
Also, three endpoints (Endpoint 3, Endpoint 4, Endpoint 5 (208, 209, 210)) are defined in Interface 1 (207) used for the reading unit 107. Each attribute of these Endpoint3, Endpoint4, and Endpoint5 (208, 209, 210) is expressed by an endpoint description, and this endpoint description includes the endpoint number, communication direction, transfer type, packet size, and the like. Yes. Endpoint 3 (208) is mainly used for transmitting read data from the reading unit 107 to the external processing device 141, and Endpoint 4 (209) is mainly used for receiving control data from the external processing device 141. used. Endpoint 5 (210) is mainly used for notifying the external processing device 141 from the reading unit 107 that scanning has been started by the reading unit 107.
[0025]
Further, three endpoints (Endpoint6, Endpoint7, Endpoint8 (212, 213, 214)) are defined in Interface2 (211) used for facsimile transmission / reception. Each attribute of Endpoint6, Endpoint7, Endpoint8 (212, 213, 214) is expressed by an endpoint description, and this endpoint description includes the endpoint number, communication direction, transfer type, packet size, and the like. Yes. Here, Endpoint6 (212) is mainly used for receiving control data from the external processing device 141 and receiving facsimile transmission data. The Endpoint 7 (213) is mainly used to transmit facsimile reception data and communication status of facsimile transmission / reception to the external processing device 141. Furthermore, Endpoint 8 (214) is mainly used to notify the external processing device 141 that facsimile reception has been completed.
[0026]
Next, the configuration of the USB interface of the recording unit 115 will be described in detail.
[0027]
FIG. 3 is a conceptual diagram illustrating the USB interface of recording unit 115 in facsimile apparatus 100 according to the present embodiment.
[0028]
Only one device 301 shown in the largest frame can be defined in the USB communication standard, and shows the attributes of the entire apparatus 100. The attributes of the device 301 are represented by a device description (Device Descriptor), and the device description includes a device manufacturer ID, a product ID, a release number, the number of configurations, and the like. In this embodiment, the number of configurations is “1”. In this device 301, one configuration (Configuration1 (302)) is defined. The attribute of Configuration1 (302) is expressed by a configuration description (Configuration Descriptor), and the configuration description includes the number of interfaces in the configuration. In the present embodiment, the number of interfaces is “1”.
[0029]
In this Configuration 1 (302), one interface (Interface 0 (304)) is defined, and the attribute of the Interface 0 (304) is expressed by an interface description (Interface Descriptor). The number of endpoints, class code, etc. are included. In this embodiment, the number of endpoints in Interface 0 (304) used for printing is “2”. In this Configuration 1 (302), Endpoint 0 (403) is used for control of the device 100 and is a transmission path for the configuration data of the device. In the facsimile apparatus 100, the CPU 101 is also used for transmitting the operation status of the recording unit 115.
[0030]
Two endpoints (Endpoint1, Endpoint2 (305, 306)) are defined in Interface0 (304) used for printing, and each attribute of these Endpoint1, Endpoint2 (305, 306) is an endpoint. This endpoint description includes an endpoint number, a communication direction, a transfer type, a packet size, and the like. Among these, Endpoint1 (305) is mainly used for receiving control data from the CPU 101 or the external processing device 141 and receiving print data. Endpoint 2 (306) is mainly used to transmit the operation status based on the received print data to the CPU 101 or the external processing device 141.
[0031]
Next, a basic operation of the composite facsimile machine 100 having the above-described configuration will be described.
[0032]
The facsimile apparatus 100 according to the present embodiment is connected to an external processing apparatus 141 such as a PC via a USB (first interface means). In the facsimile apparatus 100, the USB function control unit 113 is responsible for communication with the external processing apparatus 141, and the USB has a plurality of interfaces as shown in FIG. Among these interfaces, Interface0 (204) used for the recording unit 115 (printer) is the first logical channel, and Endpoint1 (205) for receiving control data and print data from the external processing device 141. And Endpoint 2 (206) for transmitting the operation status from the recording unit 115 to the external processing device 141.
[0033]
The recording unit 115 of the facsimile apparatus 100 and the CPU 101 are connected via a USB, and the recording process by the recording unit 115 is controlled by the CPU 101 (second interface means). In the facsimile apparatus 100, the USB host controller 114 is responsible for communication with the recording unit 115, and the USB has one interface (Interface0) as shown in FIG. This Interface 0 (304) (second logical channel) includes Endpoint 1 (305) for receiving control data and print data from the CPU 101, and Endpoint 2 (306) for transmitting the operation status of the recording unit 115 to the CPU 101. Have.
[0034]
The CPU 101 of the facsimile apparatus 100 receives the control data and print data received from the external processing device 141 via the Endpoint 1 (205) of the USB function control unit 113 via the Endpoint 1 (305) of the USB host control unit 114. 115. At this time, no editing is performed on the data to be transferred.
[0035]
Similarly, the operation status from the recording unit 115 received via the Endpoint2 (306) of the USB host control unit 114 is transferred to the external processing device 141 via the Endpoint2 (206) of the USB function control unit 113. At this time, no editing is performed on the transferred data. As a result, the data is communicated completely transparently, so that the external processing device 141 controls the recording unit 115 to perform printing as if the external processing device 141 and the recording unit 115 are directly connected. I can know the situation.
[0036]
In the above configuration, when the recording unit 115 performs printing using the recording data from the external processing device 141, the CPU 101 does not need to analyze the recording data, so the processing of the CPU 101 is reduced. Further, since the operation of the CPU 101 is not affected even if the recording unit 115 is changed, any type of printer can be selected as the recording unit 115. Also, the external processing device 141 can use the base printer driver as it is, which has the advantage of eliminating the trouble of newly developing or mounting a printer driver.
[0037]
Hereinafter, before describing this embodiment in detail, features of this embodiment will be briefly described.
[0038]
The present embodiment is characterized in that a recording semaphore is set for the recording unit 115. Here, since the number of resources (recording unit 115) is “1”, if one application acquires a recording semaphore, then the application that acquired the recording semaphore releases the recording semaphore. Application will not be able to get the recorded semaphore. This enables exclusive control of the recording unit 115.
[0039]
In the present embodiment, when the main control unit (CPU 101) performs a recording operation such as copying using the recording unit 115 locally, the recording task first tries to acquire a recording semaphore. Recording (copying) is performed using the recording unit 115 only when successful. Since recording data reception from the external processing device 141 is prohibited during local recording, there is no risk of recording data from the external processing device 141 being input to the recording unit 115 during local recording. Then, after the local recording ends, the recording task releases the recording semaphore and permits reception of the recording data from the external processing device 141, and uses the recording unit 115 based on the recording data from the external processing device 141. Enable recording.
[0040]
On the other hand, when recording is performed by the external processing device 141, when recording data is received via the external USB interface 116 (USB function control unit 113), recording is performed using the recording data from the external processing device 141. The record semaphore is acquired. Thereby, recording by the recording data from the external processing device 141 is started, and during the recording, the main control unit (CPU 101) cannot perform recording locally, and exclusive use of the recording unit 115 can be realized.
[0041]
In addition, when the recording semaphore is acquired by receiving the recording data from the external processing device 141, the USB host control unit 114 thereafter monitors the operation status of the recording unit 115, and the operation status of the recording unit 115 is “ When it returns to “standby” after becoming “in operation”, the recording semaphore is released assuming that the recording process is completed. In addition, if the operating status of the recording unit 115 does not become “operating” within a predetermined time after acquiring the recording semaphore, the status indicating “operating” is overlooked because the “operating” time is short. By releasing the recorded semaphore, the safety is improved.
[0042]
Hereinafter, the recording operation of the composite facsimile apparatus according to this embodiment will be described in detail with a specific example.
[0043]
FIG. 4 is a flowchart showing a process when recording is locally performed by copying or report output, recording of a received image, or the like in the composite facsimile apparatus according to the embodiment of the present invention. Note that a program for executing this processing is stored in the ROM 102.
[0044]
When the facsimile apparatus 100 starts recording processing locally, first, in step S401, the USB function control unit 113 receives Endpoint1 (205) used for receiving control data and print data from the external processing apparatus 141. Set to prohibit. Next, in step S402, the USB function control unit 113 has a plurality of end points as shown by the USB function in FIG. 2, and each end point independently determines whether transmission or reception is possible. Can be set. Each endpoint has a corresponding transmission / reception buffer (not shown). When reception is permitted, the received data is automatically stored in the buffer, but reception is prohibited. In this case, no data is stored in the buffer, and a NAK (negative response) is returned to the host (external processing device 141) at the end of packet transfer.
[0045]
In step S402, the transmission / reception buffer corresponding to Endpoint1 (205) of the USB function control unit 113 is checked. At this time, if the data transfer from the external processing device 141 has already started at the time of setting the reception prohibition in step S401, the data is stored in the buffer. Proceeding to step S407, the USB function control unit 113 cancels the reception prohibition setting of Endpoint1 (205), and ends the error without starting the local recording operation.
[0046]
On the other hand, if it is determined in step S402 that the transmission / reception buffer is empty, the process advances to step S403 to try to acquire a recording semaphore. This recording semaphore is a resource management mechanism of a recording unit provided by an operating system (OS), and an application that requires resources (hardware resources) of a recording unit such as a printer is assigned to the OS as its resource. Only when the corresponding recording semaphore is requested to be acquired and accepted, the application operates the resource (recording unit) to realize the exclusive processing in the recording unit. If acquisition of the recording semaphore has failed in step S403, the recording operation based on the recording data from the external processing device 141 has already been started, and thus the process proceeds to step S407, where Endpoint1 (205) of the USB function control unit 113 is set. Cancel the reception prohibition setting and end the error without starting the local recording operation.
[0047]
On the other hand, if the recording semaphore has been successfully acquired in step S403, the process proceeds to step S404 to perform local recording. This local recording is executed by the CPU 101 transmitting control data and print data to the recording unit 115 via the Endpoint1 (305) of the USB host control unit 114. When the transmission of all the recording data from the CPU 101 is completed, the process proceeds to step S405, the semaphore is released and the process proceeds to step S406, the setting for prohibiting reception of Endpoint1 (205) of the USB function control unit 113 is canceled, and the process ends normally. .
[0048]
The above is the flow of control processing when recording is performed locally.
[0049]
FIG. 5 is a flowchart showing processing when recording is performed based on the recording data from the external processing device 141 in the composite facsimile apparatus 100 according to the embodiment of the present invention. Note that a program for executing this processing is stored in the ROM 102.
[0050]
First, in step S501, the transmission / reception buffer of Endpoint1 (205) of the USB function control unit 113 is checked. Here, if there is data in this buffer, transfer of the recording data from the external processing device 141 has started, so the process proceeds to step S502. If the buffer is empty, transmission of the recording data has not yet started. The process returns to step S501. In step S502, an attempt is made to acquire a recording semaphore. If acquisition of this recording semaphore has failed, since the semaphore has been acquired for local recording, the process proceeds to step S503, the reception buffer is cleared, and the contents stored therein are discarded. Then, the process returns to step S501.
[0051]
On the other hand, if the recording semaphore can be acquired in step S502, the process proceeds to step S504, where the time value by the timer 117 is initialized to "0" to start time measurement, and the flag provided in the RAM 103 is initialized to off.
[0052]
In step S 505, the data received via the Endpoint 1 (205) of the USB function control unit 113 is transmitted to the recording unit 115 via the Endpoint 1 (305) of the USB host control unit 114. In the next step and after, the recording end check is started. First, in step S506, it is checked whether or not the aforementioned flag is off. As described above, this flag is initialized to OFF in step S504 at the start of recording. If the flag is off in step S506, the process proceeds to step S507, and the operation status of the recording unit 115 is checked.
[0053]
In the present embodiment, the operation state of the recording unit 115 is performed by the CPU 101 reading the operation state of the recording unit 115 via Endpoint2 (306) of the USB host control unit 114. The acquisition of the operation status is generally performed between the PC and the printer and is a well-known technique. However, in brief, the CPU 101 designates the operation status to be returned to the recording unit 115 in advance. deep. Examples of the operation status include an operation status, a busy status, a warning status, an operator call status, and a service call status. The status information is expressed as “DJS (operation status)”, “DBS (busy status)”, “DWS (warning status)”, “DOC (operator call status)”, and “DSC (service call status)”, respectively. The A necessary one of these statuses is transmitted following the status designation command.
[0054]
In this embodiment, the status designation command is SSR, and when the operation status “DJS” and the busy status “DBS” are required, two commands are commad as “SSR = DJS, DBS”. Connect and send. Receiving this, the recording unit 115 stores the designated contents, and returns the designated status when there is a status request thereafter. This return format is “command: status” and is all expressed in ASCII code.
[0055]
This status request is made by giving an In token to the USB Endpoint 2 (306) of the USB host control unit 114. That is, when the CPU 101 wants to know the operation status of the recording unit 115, after issuing an In token to the USB host control unit 114, it searches the data received from the USB host control unit 114 and needs it. By extracting the status following the command, the operating status of the recording unit 115 can be known. Here, since it is desired to know whether or not the recording unit 115 is in operation, the recording unit 115 is “in operation” by reading the status code following the command “DJS (operation status)” in the return format “command: status”. Can be determined.
[0056]
If the determination result in step S507 indicates “in operation”, the process proceeds to step S509, the flag is turned on, and the process returns to step S505. After that, if there is data received at Endpoint 1 (205) of the USB function control unit 113, the recording end check is repeated while being transferred to the recording unit 115 via Endpoint 1 (305) of the USB host control unit 114. . The recording unit 115 “being in operation” means that the recording unit 115 is actually recording, or is in a recovery operation, etc., and processing is performed for all processing performed on the data received by the recording unit 115. It is a status indicating that it is in progress.
[0057]
Thus, when the recording unit 115 is not “in operation” in step S507, the process proceeds to step S510, and the time measured by the timer 117 is checked. As described above, the timer 117 is initialized to “0” in step S504 at the start of recording, and time measurement is started. In this step S510, if the time value measured by the timer 117 is equal to or greater than the threshold value, the recorded data sent from the external processing device 141 is invalid data, or the “in operation” status is valid only for a very short time. Since it is determined that it has been overlooked, the process proceeds to step S511, where the recording semaphore is released and the process is terminated. In this embodiment, this threshold is 15 seconds. If the time value of the timer 117 is equal to or smaller than the threshold value in step S510, the process returns to step S505 and the above-described processing is repeated.
[0058]
On the other hand, if the flag is not OFF in step S506, it indicates that the recording unit 115 has already started processing the received data, so the process proceeds to step S508, and the operation status of the recording unit 115 is checked. . Here, as in step S507, the operation status of the recording unit 115 is input and checked via the Endpoint2 (206) of the USB host control unit 114. If the result of this check is “in operation”, the processing of the recording unit 115 is continuing, so the process returns to step S505 and the above-described processing is repeated. Thus, when the operation status of the recording unit 115 is not “in operation” in step S508, it is determined that the processing in the recording unit 115 has been completed, the process proceeds to step S510, the recording semaphore is released, and the process ends.
[0059]
(Other embodiments)
As described above, the object of the present invention is to provide a system or apparatus with a storage medium storing software program codes for realizing the functions of the embodiment, and the computer of the system or apparatus (or CPU or MPU) stores it. It is also achieved by reading and executing the program code stored on the medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying such a program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like is used. Can do.
[0060]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code Includes a case where the function of the above-described embodiment is realized by performing part or all of the actual processing.
[0061]
Furthermore, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function is determined based on the instruction of the program code. This includes the case where the CPU of the expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0062]
As described above, according to the present embodiment, the exclusive process of the recording operation in the composite facsimile apparatus can be easily realized, and the practicality of the recording unit (printer apparatus) of the composite facsimile apparatus can be greatly enhanced.
[0063]
Further, since the exclusive processing is not required to analyze the recording data by the CPU (control unit), it does not impose a burden on the processing of the CPU and does not depend on the language specification of the recording data. There is an advantage that you can choose freely.
[0064]
Further, since the above object can be achieved without newly requiring hardware, there is an effect that it can be realized at low cost.
[0065]
【The invention's effect】
As described above, according to the present invention, a recording control apparatus that performs exclusive control of hardware resources using a semaphore and a control method in the apparatus can be provided.
[0066]
According to the present invention, when recording control using a recording unit is performed, a recording semaphore is acquired and recording processing is started, so that recording data from an external processing device or recording data from another data source can be recorded. There is an effect that it is possible to prevent the competition of the recording process using the recording unit based thereon.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a composite facsimile apparatus according to an embodiment of the present invention.
FIG. 2 is a conceptual diagram illustrating a USB interface of the composite facsimile apparatus according to the embodiment of the present invention.
FIG. 3 is a conceptual diagram illustrating a USB configuration of a recording unit of the composite facsimile apparatus according to the embodiment of the present invention.
FIG. 4 is a flowchart showing processing when recording is locally performed by copying, report output, reception image recording, or the like in the composite facsimile apparatus according to the embodiment of the present invention;
FIG. 5 is a flowchart showing processing when recording is performed based on recording data from an external processing device in the composite facsimile apparatus according to the embodiment of the present invention.

Claims (8)

ホスト機能を有するインタフェースを備えた外部処理装置に接続される複合装置において、
記録部と、
原稿を読取る読取部と、
前記外部処理装置と、前記記録部及び読取部との間のデータ送受信チャネルを含み、それぞれ独立して送受信の可否が設定可能な複数の論理チャネルを有する第1インタフェース手段と、
前記記録部のインタフェースに対してホスト機能を有し、前記第1インタフェース手段と異なる論理チャネルで構成された第2インタフェース手段と、
前記第1インタフェース手段の論理チャネルのそれぞれに設けられ記録データをバッファするバッファ手段と、
前記バッファ手段の状態に応じて記録セマフォを獲得する制御手段とを有し、
前記第1インタフェース手段の前記記録部に対応した論理チャネルを経由して前記外部処理装置からデータを受信した時、前記制御手段は記録セマフォを獲得し、受信したデータを前記第2インタフェース手段を経由して前記記録部で記録するように制御することを特徴とする複合装置。
In a composite device connected to an external processing device having an interface having a host function,
A recording section;
A reading unit for reading a document;
A first interface means including a data transmission / reception channel between the external processing device and the recording unit and the reading unit, and having a plurality of logical channels that can be independently set for transmission / reception;
A second interface means having a host function for the interface of the recording unit and configured by a different logical channel from the first interface means;
Buffer means provided in each of the logical channels of the first interface means for buffering recording data;
Control means for acquiring a recording semaphore according to the state of the buffer means;
When data is received from the external processing apparatus via the logical channel corresponding to the recording portion of said first interface means, before Symbol control means acquires the recording semaphore, the second interface means the received data And a recording apparatus that controls the recording unit to perform recording.
前記制御手段は、前記読取部からのデータを前記記録部で記録する際、前記バッファ手段の状態に空きがある場合、記録セマフォを獲得して前記読取部からのデータを前記第2インタフェース手段を経由して前記記録部で記録するように制御するとともに、前記外部処理装置からの記録データの受信を禁止するために前記第1インタフェース手段の前記記録部に対応した論理チャネルの受信禁止を設定することを特徴とする請求項1に記載の複合装置。 When the data from the reading unit is recorded by the recording unit, the control unit acquires a recording semaphore when the buffer unit is empty, and sends the data from the reading unit to the second interface unit. The recording unit is controlled to record via, and the reception prohibition of the logical channel corresponding to the recording unit of the first interface means is set in order to prohibit the reception of the recording data from the external processing device The composite apparatus according to claim 1. 前記制御手段は、前記記録部における動作状況を取得する取得手段を有し、前記取得手段により取得された前記動作状況が動作中でなくなると前記記録セマフォを解放することを特徴とする請求項に記載の複合装置。 The control means according to claim 1, characterized in that said has an acquisition means for acquiring an operation state of the recording unit, the operating condition acquired by the acquiring means to release a said recording semaphore not in operation The composite device described in 1. 前記制御手段は、前記記録部における動作状況を取得する取得手段を有し、前記取得手段により取得された動作状況が、所定時間経過後も動作中にならない場合は前記記録セマフォを解放することを特徴とする請求項に記載の複合装置。 The control means includes an acquisition means for acquiring an operation status in the recording unit, and releases the recording semaphore when the operation status acquired by the acquisition means does not become active even after a predetermined time has elapsed. The composite apparatus according to claim 1 . ホスト機能を有するインタフェースを備えた外部処理装置に接続される複合装置の制御方法において、
前記外部処理装置と、記録部及び読取部との間のデータ送受信チャネルを含み、それぞれ独立して送受信の可否が設定可能な複数の論理チャネルを有する第1インタフェースを介してデータを受信する受信工程と、
前記記録部のインタフェースに対してホスト機能を有し、前記第1インタフェースと異なる論理チャネルで構成された第2インタフェースを介して前記記録部にデータを伝送する工程と、
前記第1インタフェースの論理チャネルのそれぞれに設けられ記録データをバッファするバッファの状態に応じて記録セマフォを獲得する制御工程とを有し、
前記受信工程で、前記第1インタフェースの前記記録部に対応した論理チャネルを経由して前記外部処理装置からデータを受信した時、前記制御工程で記録セマフォを獲得し、受信したデータを前記第2インタフェースを経由して前記記録部で記録することを特徴とする複合装置の制御方法。
In a control method of a composite device connected to an external processing device having an interface having a host function,
A receiving step of receiving data via a first interface including a plurality of logical channels including a data transmission / reception channel between the external processing device, the recording unit, and the reading unit, each of which can be independently set for transmission / reception When,
Having a host function for the interface of the recording unit, and transmitting data to the recording unit via a second interface configured with a different logical channel from the first interface;
A control step of acquiring a recording semaphore according to a state of a buffer provided in each of the logical channels of the first interface to buffer recording data,
In the reception step, upon receiving the data from the external processing apparatus via the logical channel corresponding to the recording portion of the first interface, win record semaphore before Symbol control step, the received data first 2. A control method for a composite apparatus, wherein recording is performed by the recording unit via an interface.
前記制御工程は、前記読取部からのデータを前記記録部で記録する際、前記バッファのIn the control step, when the recording unit records data from the reading unit, 状態に空きがある場合、記録セマフォを獲得して前記読取部からのデータを前記第2インタフェース手段を経由して前記記録部で記録するように制御するとともに、前記外部処理装置からの記録データの受信を禁止するために前記第1インタフェースの前記記録部に対応した論理チャネルの受信禁止を設定することを特徴とする請求項5に記載の複合装置の制御方法。If there is a vacancy in the state, a recording semaphore is acquired, and the data from the reading unit is controlled to be recorded by the recording unit via the second interface means, and the recording data from the external processing device is recorded. 6. The method of controlling a composite apparatus according to claim 5, wherein reception prohibition of a logical channel corresponding to the recording unit of the first interface is set in order to prohibit reception. 前記記録部における動作状況を取得する取得工程を更に有し、前記取得工程で取得された前記動作状況が動作中でなくなると前記記録セマフォを解放することを特徴とする請求項5に記載の複合装置の制御方法。6. The composite according to claim 5, further comprising an acquisition step of acquiring an operation state in the recording unit, and releasing the recording semaphore when the operation state acquired in the acquisition step is not in operation. Control method of the device. 前記記録部における動作状況を取得する取得工程を更に有し、前記取得工程で取得された動作状況が、所定時間経過後も動作中にならない場合は前記記録セマフォを解放することを特徴とする請求項5に記載の複合装置の制御方法。An acquisition step of acquiring an operation status in the recording unit is further provided, and the recording semaphore is released when the operation status acquired in the acquisition step is not in operation even after a predetermined time has elapsed. Item 6. A control method for a composite device according to Item 5.
JP2002106506A 2002-04-09 2002-04-09 Composite device and control method thereof Expired - Fee Related JP3880431B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2002106506A JP3880431B2 (en) 2002-04-09 2002-04-09 Composite device and control method thereof
EP03252101A EP1353496A3 (en) 2002-04-09 2003-04-02 Recording control apparatus and control method using the same
US10/406,194 US7436529B2 (en) 2002-04-09 2003-04-04 Recording control apparatus and control method using the same recording control apparatus
CNB031092578A CN1231828C (en) 2002-04-09 2003-04-08 Recording controller and controlling method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002106506A JP3880431B2 (en) 2002-04-09 2002-04-09 Composite device and control method thereof

Publications (2)

Publication Number Publication Date
JP2003304368A JP2003304368A (en) 2003-10-24
JP3880431B2 true JP3880431B2 (en) 2007-02-14

Family

ID=29390808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002106506A Expired - Fee Related JP3880431B2 (en) 2002-04-09 2002-04-09 Composite device and control method thereof

Country Status (1)

Country Link
JP (1) JP3880431B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005316951A (en) * 2004-03-30 2005-11-10 Seiko Epson Corp Information terminal, information processing system, and control method therefor
JP4503392B2 (en) * 2004-08-06 2010-07-14 シャープ株式会社 Device controller and control method therefor, central controller and control method therefor, control device, device controller control program, central controller control program, and recording medium recording the program
JPWO2006038260A1 (en) * 2004-09-30 2008-07-31 株式会社ルネサステクノロジ USB storage system and USB storage device

Also Published As

Publication number Publication date
JP2003304368A (en) 2003-10-24

Similar Documents

Publication Publication Date Title
JP2910116B2 (en) Facsimile machine with interface
JP3817494B2 (en) Image processing apparatus and control method thereof
JP4876998B2 (en) Communications system
JP3787535B2 (en) Image processing apparatus and control method thereof
JP3880431B2 (en) Composite device and control method thereof
JP3962696B2 (en) Information processing apparatus, control method thereof, and control program
US20070103709A1 (en) Data processing apparatus, and method for controlling the same
JP2003304367A (en) Record control apparatus and control method for the same
CN115904265A (en) Monitoring method and monitoring device for print jobs and electronic device
US7436529B2 (en) Recording control apparatus and control method using the same recording control apparatus
US20050062997A1 (en) Image processing apparatus, and image processing method and program therefor
JP3253275B2 (en) Data communication device, data processing method, and storage medium storing program
JP3636359B2 (en) A system with multiple devices that are connected in a master-slave relationship
JP3935295B2 (en) Network adapter
JP2001067193A (en) Printing system, printer and its controlling method
JP2004032536A (en) Printing control method in image processing apparatus, program, storage medium, and image processing apparatus
JP2003198779A (en) Image processor and controlling method
JP3028805B2 (en) Communication device
JP2006159438A (en) Image processor
JP2002185693A (en) Internet facsimile equipment and method for controlling the same
JP2004023478A (en) Image processing apparatus, control method for image processing apparatus, program and information storage medium
JP5058023B2 (en) Image processing apparatus, image processing system, and image processing method
JP2004050726A (en) Image processor
CN114500762A (en) Data transfer control apparatus, method and system for image forming apparatus
JP2004248041A (en) Image forming apparatus, and control method and program thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050325

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060110

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061020

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061107

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101117

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101117

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111117

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121117

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131117

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees