JP4298805B2 - Printer system and operation control method thereof - Google Patents

Printer system and operation control method thereof Download PDF

Info

Publication number
JP4298805B2
JP4298805B2 JP27684596A JP27684596A JP4298805B2 JP 4298805 B2 JP4298805 B2 JP 4298805B2 JP 27684596 A JP27684596 A JP 27684596A JP 27684596 A JP27684596 A JP 27684596A JP 4298805 B2 JP4298805 B2 JP 4298805B2
Authority
JP
Japan
Prior art keywords
printer
image data
printer controller
output
data
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
JP27684596A
Other languages
Japanese (ja)
Other versions
JPH10108113A (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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP27684596A priority Critical patent/JP4298805B2/en
Priority to CNB2004100013493A priority patent/CN100502456C/en
Priority to CNB971150397A priority patent/CN1156146C/en
Priority to TW086110775A priority patent/TW353259B/en
Priority to EP97305782A priority patent/EP0822510B1/en
Priority to DE69734856T priority patent/DE69734856T2/en
Priority to US08/903,878 priority patent/US6665082B1/en
Publication of JPH10108113A publication Critical patent/JPH10108113A/en
Priority to US09/253,001 priority patent/US6636325B1/en
Application granted granted Critical
Publication of JP4298805B2 publication Critical patent/JP4298805B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Description

【0001】
【技術分野】
この発明は,バス接続されたプリンタ・コントローラとプリンタとから構成され,プリンタ・コントローラは画像データをバスを通してプリンタに供給し,プリンタはプリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するプリンタ・システムに関する。この発明はまたこのプリンタ・システムを構成するプリンタおよびプリンタ・コントローラに関する。この発明はさらにプリンタ・システムの動作制御方法,プリンタの動作制御方法およびプリンタ・コントローラの動作制御方法に関する。
【0002】
【発明の背景】
プリンタ・コントローラからプリンタに画像データを送信するにはセントロニクス,SCSI(Small Computer system interface )などのパラレル通信,RS232C,RS422,USB(Universal Serial Bus)などのシリアル通信が利用される。これらの通信方式ではいずれもプリンタの印画速度と無関係にプリンタ・コントローラからプリンタに画像データが送信される。プリンタには少なくとも一駒分の画像(一枚の用紙上に印画される画像)を表わす画像データを記憶できる容量をもつ画像メモリを設けておく必要がある。このためプリンタのコスト・ダウンを図ることは困難である。
【0003】
【発明の開示】
この発明は,比較的小容量の画像メモリを用いてプリンタを構成できるようにすることを目的とする。
【0004】
この発明は,プリンタ・コントローラからプリンタに画像データを供給するために,現在検討されつつある高速シリアル伝送のためのIEEE標準1394(IEEE Standard 1394,IEEE=The Institute of Electrical and Electronic Engineers,Inc.)を利用するものである。このIEEE標準1394ではアイソクロナス(Isochronaus )転送とアシンクロナス(Asynchronaus)転送とが可能である。
【0005】
アイソクロナス転送ではバスによって接続された複数のノードのいずれかからサイクル・スタート・パケット・データと呼ばれるデータが原則としてアイソクロナス・サイクル( 125μs周期)で発生する。アイソクロナス・サイクルごとに,あるノード(このノードは後述のようにサイクル・マスタである)から他のノードにデータが送信される。アイソクロナス転送ではアイソクロナス・サイクル内に必ずデータ送信を行なうことが可能である。アイソクロナス転送は送信装置から受信装置に一方的にデータを送信する転送である。アシンクロナス転送は受信装置が送信データを受信すると,受信した旨を送り返す転送である。
【0006】
この発明はプリンタとプリンタ・コントローラとから構成されるプリンタ・システムを提供している。このプリンタ・システムにおいてプリンタとプリンタ・コントローラとはバス接続されており,プリンタ・コントローラは画像データをバスを通してプリンタに供給する。プリンタはプリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するものである。
【0007】
上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリおよび画像データの転送要求を出力する手段が設けられているものである。
【0008】
上記プリンタ・コントローラは,上記転送要求の出力に応答して,パケット単位で上記プリンタへ画像データを送信する画像データ送信制御手段を備えている。
【0009】
上記プリンタは,上記プリンタ・コントローラから送信される画像データを受信し,上記バッファ・メモリに記憶させる記憶制御手段,および上記バッファ・メモリに記憶された画像データを読出し,読出された画像データによって表わされる画像を一定速度で印画する印画制御手段をさらに備えている。
【0010】
この発明は上記プリンタ・システムに適した動作制御方法も提供している。すなわち,バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラから画像データをバスを通して上記プリンタに供給し,上記プリンタにおいて上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するプリンタ・システムの動作を制御する方法である。上記プリンタには,一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ供給された画像データを一時記憶するバッファ・メモリおよび画像データの転送要求を出力する手段を設けておく。
【0011】
そして,上記プリンタからの転送要求の出力に応答して,パケット単位で上記プリンタ・コントローラから画像データを送信し,上記プリンタにおいて,上記プリンタ・コントローラから送信される画像データを受信して上記バッファ・メモリに記憶させ,かつ上記バッファ・メモリに記憶された画像データを読出し,読出された画像データによって表わされる画像を一定速度で印画させる。
【0012】
この発明によると,プリンタには一駒の画像(一駒分の画像とは上述のように一枚の用紙上に印画される画像をいう)を表わす画像データのデータ量よりも少ない画像データの記憶容量をもつバッファ・メモリが備えられている。
【0013】
上記プリンタ・コントローラにおいて,プリンタからの転送要求の出力に応答してパケット単位での上記プリンタへの送信が行なわれる。
【0014】
プリンタでは送信された画像データをパケット単位で受信し,バッファ・メモリに一時記憶する。バッファ・メモリに記憶された画像データが読出され,読出された画像データによって表わされる画像が一定速度で印画される。
【0015】
プリンタには一駒分の画像を表わす画像データのデータ量を記憶できる大きな容量をもつメモリを設ける必要がなく,容量の少ないバッファ・メモリを備えれば足りコスト・ダウンを図ることができる。
【0016】
上記転送要求はたとえば一駒分の画像のほぼ1ライン分の印画ごとに上記プリンタから出力すればよい。
【0017】
また上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタが上記画像データの転送要求を出力することにより画像データの連続性を保つことができる。
【0018】
さらに上記バッファ・メモリに記憶されている画像データが無くならないように,上記パケットに含まれる画像データ量を変更して上記コントローラから画像データを送信してもよい。この場合も画像データの連続性を保つことができる。
【0019】
上記プリンタ・コントローラによって,上記転送要求の出力に応答して上記画像データ送信制御手段によって画像データが送信された後次の上記転送要求出力までの間,空データの送信をパケット単位で繰返すようにしてもよい。
【0020】
これによりバッファ・メモリに記憶される画像データの量を調整することができる。
【0021】
好ましくは上記プリンタは,印画準備設定要求コマンドを入力したことにより印画に関する準備(プリンタのヒートアップ,印画用紙の位置決め,印画ヘッドの位置決めなど)を行なう。この場合には印画に関する準備の終了後に上記転送要求を出力することとなろう。印画に関する準備が終了しないうちにプリンタ・コントローラから画像データが転送されることを防止できる。
【0022】
上記印画準備設定要求コマンドは,プリンタ・コントローラから出力されるようにしてもよい。この場合には上記プリンタ・コントローラは,上記印画準備設定要求コマンドの出力後から上記転送要求の出力までの間,空データの送信をパケット単位で繰返す。
【0023】
画像データの送信のためのルーチンを変更することなく,あらかじめ定められたルーチンを用いることができる。
【0024】
上記プリンタ・コントローラに上記プリンタを複数台接続してもよい。この場合には,上記プリンタは,すべての上記プリンタからの上記転送要求の出力があったことに応答して,パケット単位で上記プリンタへ画像データを送信することとなろう。
【0025】
さらに,上記プリンタ・システムを構成するプリンタおよびプリンタ・コントローラをそれぞれ単独で構成することもできる。
【0026】
【実施例の説明】
(1) IEEE標準1394にもとづくデータ転送
この実施例によるプリンタ・システムについて説明する前にIEEE標準1394にもとづくデータ転送について説明する。
【0027】
図9はバスを用いて複数の機器(コンピュータ,プリンタ,ディジタル・ビデオ・テープ・レコーダなど)A,B,C,D,EおよびFを接続した様子を示している。各機器は1または複数個のポートをもつことができる(図9の例ではすべての機器が3個のポートをもっている)。各機器のポートを接続することにより,最大63台の機器の接続が可能である。IEEE標準1394ではデイジー・チェイン接続が16を越えない限り機器を接続できる。ループ接続は無い。
【0028】
IEEE標準1394ではアイソクロナス転送とアシンクロナス転送との2種類のデータ転送が可能である。アイソクロナス転送およびアシンクロナス転送のいずれにおいてもパケット単位でデータ転送が行なわれる。
【0029】
図12はサイクル・スタート・パケットのフォーマットを示している。サイクル・スタート・パケット・データはアイソクロナス・サイクル周期(この期間は原則として 125μs)の開始を表わすもので,後述のようにサイクル・マスタからアイソクロナス転送によって送信される。
【0030】
サイクル・スタート・パケットには,送信先のID(機器に固有のものである),トランザクション・ラベル,リトライ・コード,アシンクロナス転送データかアイソクロナス転送データかを示すtコード,送信データの優先度を示すプライオリティ,送信元ID,読書きするアドレスのオフセット,データ長,拡張トランザクション・コード,サイクル・タイム・データおよびデータCRC(Cyclic Redundansy Check )が含まれている。
【0031】
IEEE標準1394では,後述のサイクル・マスタが電源立上げ時から時間の計測を開始する。この計測時間を表わすデータがサイクル・タイム・データである。後述の各ノードはカウンタを有しており,時間の計測ができる。各ノードのカウンタはサイクル・マスタから送信されるサイクル・スタート・パケット・データを受信するとリセットされる。サイクル・スタート・パケットは上述のように 125μsごとに出力されるのが原則であるが,遅延することも許される(詳しくは後述する)。この遅延時間はサイクル・スタート遅延時間と呼ばれる。サイクル・スタート遅延時間は,サイクル・タイム・データによって表わされるサイクル・マスタの計測時間と,各ノードの計測時間との差にもとづいて各ノードにおいて算出される。例えばサイクル・マスタの計測時間が 130μsであり,サイクル・スタート・パケット・データが与えられたときの各ノードの計測時間が 125μsであれば,サイクル・スタート遅延時間は130 μs− 125μs=5μsとなる。
【0032】
1台の被制御機器に対してこれを制御する2台以上の制御機器がある場合,1台の制御機器のみが被制御機器を制御することも可能であり,これを排他的制御という。この排他的制御が行なわれているかどうかをチェックするのに用いられる演算を特定するのが拡張トランザクション・コードである。
【0033】
アシンクロナス転送によってデータを送信する場合に用いられるのが図13に示すアシンクロナス・データ・パケット・フォーマットである。このフォーマットはサイクル・スタート遅延時間を表わすデータに代えて送信データがパケットに含まれる点でのみサイクル・スタート・パケット・フォーマットと異なっている。
【0034】
図14および図15はアイソクロナス転送で用いられるパケットのフォーマットを示すものである。図14はコマンドを送る場合に用いられるアイソクロナス・コマンド・パケットのフォーマットを,図15は画像データを送信する場合に用いられるアイソクロナス・データ・パケットのフォーマットをそれぞれ示している。
【0035】
これらのパケット・フォーマットには,データの長さを示すデータ長,コマンドまたは画像データに付与されるチャネル番号,tコード,同期ビットを示すSy ,データ長から同期ビットSy までのデータの誤り検出コードであるヘッダCRC,コマンドまたは画像データ,およびコマンドまたは画像データの誤り検出コードであるデータCRCが含まれている。後述のようにアイソクロナス転送ではチャネル番号が各機器に割当てられ,機器に割当てられたチャネル番号と送信されるパケットに含まれているチャネル番号とが一致するときに,その一致するチャネル番号が割当てられた機器が送信されたコマンドまたは画像データを受信する。またTg は現在のIEEE標準1394の規格では使用目的は定められておらず,「00」が記録される。
【0036】
図9に戻ってIEEE標準1394ではバスによって接続された各機器間における親子関係が決定される。この親子関係の決定方法は次の通りである。
【0037】
各装置の電源が投入されると,ある装置から他の機器に親子関係の問い合わせが行なわれる。親子関係を問い合わせた機器が子となり,親子関係の問い合わせを受けた機器が親となる。
【0038】
すべての機器について親子関係が決まると,図10に示すように,全体はツリー構造となる。図10の例では,機器Bが親(ルート)である。機器AおよびCは機器Bの子となっており,機器DおよびFは機器Aの子(機器Bからみれば孫),機器Eは機器Cの子(機器Bからみれば孫)となっている。
【0039】
IEEE標準1394では上述のようにアイソクロナス転送のデータを受信するために各機器にチャネル番号が割当てられ,かつアシンクロナス転送のデータを受信するために各機器にIDが割当てられる。図示の例では機器Aにチャネル番号AおよびIDa が割当てられ,機器Bにチャネル番号BおよびIDb が割当てられ,機器Cにチャネル番号CおよびIDc が割当てられ,機器Dにチャネル番号DおよびIDd が割当てられ,機器Eにチャネル番号EおよびIDe が割当てられ,機器Fにチャネル番号FおよびIDf が割当てられている。
【0040】
図11はアイソクロナス転送のタイム・チャートである。
【0041】
アイソクロナス転送の制御はサイクル・マスタと呼ばれる機器によって行なわれる。ルートがサイクル・マスタとなる。
【0042】
サイクル・スタート・パケットがサイクル・マスタ(ルート)から出力されることによりサイクル期間が開始する。サイクル・スタート・パケットはルートに接続されているすべての機器(孫の機器を含む)に与えられる。
【0043】
サイクル・スタート・パケットの送出の後にアイソクロナス・データの転送が開始する。
【0044】
サイクル・スタート・パケットの送出後から第1の期間(ショート・ギャップの期間)Sg 経過すると,アイソクロナス転送したいすべての機器の間でアービトレーションが行なわれる。アービトレーションはバスの使用許可を受けることであり,次のようにして行なわれる。
【0045】
まずアイソクロナス転送をしようとする機器からその親機器にバスの使用の要求信号が送信される。この要求信号はルートに近い機器から順に送信される。要求信号を受信した親機器はさらにその親機器に要求信号を中継する。結果的には,アイソクロナス転送したいすべての機器からの要求信号がサイクル・マスタにまで到達する。サイクル・マスタにはどの機器が優先的にバスの使用をできるかが記憶されており,その優先順位にしたがってショート・ギャップSg の経過時点でバスを使用できる機器が決定される。この決定された機器にのみ,バスの使用を許可する信号がショート・ギャップSg の経過時点のタイミングでサイクル・マスタから出力される。他の機器にはショート・ギャップSg の経過時点のタイミングにおいてバスの使用を拒否する信号がサイクル・マスタから送信される。バスの使用を許可する信号を受信した機器がデータを送信できる。
【0046】
図10に示す例では,機器A,CおよびFからバスの使用を要求する要求信号が送信され,これらの要求信号はルートである機器Bが受信している。ルートである機器Bから機器Cにバスの使用を許可する許可信号が送信され,機器Cからデータの送信が可能となる。機器Aおよび機器Fにはバスの使用を拒否する拒否信号が送信され,機器Aおよび機器Fからはその時点においてデータの送信はできないこととなる。機器Aおよび機器Fは,機器Cが1パケット分のデータを送信した後,再びアービトレーションを行ない,バスの使用を許可する許可信号を受信したときにデータの送信を行なうこととなる。
【0047】
図11に戻ってサイクル・スタート・パケットの送出後からショート・ギャップSg の経過の時点においてバスの使用権を得た機器からアイソクロナス転送データがパケット単位で送信される。このパケット(図14または図15に示すフォーマットをもつ)のデータの前にはデータの始まりを表わすプレフィクス・データが付加され,パケットの後にはデータの終りを表わすエンド・データが付加される。
【0048】
エンド・データはすべての機器に与えられる。これによりすべての機器はバスが空いていることを認識する。エンド・データの受信後からショート・ギャップSg の期間が経過した時点においてアイソクロナス転送データを送信したい機器が上述のように再びバスの使用の要求信号を送信する(アービトレーション)(アイソクロナス・サイクル期間内において1度バスの使用権を得た機器はそのアイソクロナス・サイクル期間内では再び要求信号は出力しない。アイソクロナス転送するすべての機器がアイソクロナス・サイクル期間内のいずれかの時点において1パケット分のデータを送信できる)。
【0049】
アイソクロナス期間内における,アイソクロナス転送が終ると第2の期間(ロング・ギャップlg )が経過した時点においてアシンクロナス転送のためのバスの使用権の確保が行なわれる。バスの使用権を得た機器からアシンクロナス転送のデータがパケット単位で送信される。アシンクロナス転送においても,パケットの前にデータの始まりを表わすプレフィクス・データが付加され,パケットの後にエンド・データが付加される。アシンクロナス転送においては,アシンクロナス転送において受信した機器からアシンクロナス転送データを送信した機器に受信した旨を表わすアクナリッジ・データACKが出力される。このアクナリッジ・データの前後にもプレフィクス・データおよびエンド・データが付加される。
【0050】
アシンクロナス転送するデータ量が多いとサイクル・スタート・パケットの送出間隔が 125μsよりも遅れる。サイクル・スタート・パケットの送出間隔が 125μs期間を越えた場合,上述のように送出サイクル・スタート・パケットの遅延時間Δtはサイクル・タイム・データによって表わされる計測時間と各ノードの計測時間にもとづいて算出される(図12参照)。
【0051】
(2) プリンタ・システム
この実施例によるプリンタ・システムは,プリンタ20とプリンタ20によるプリントを制御するプリンタ・コントローラ10とがIEEE標準1394にもとづくケーブルによって互いに接続されることにより構成される。
【0052】
図1はプリンタ・コントローラ10の電気的構成を示すブロック図である。
【0053】
プリンタ・コントローラ10はメインCPU11によって全体の動作が統括される。プリンタ・コントローラ10にはメイン・メモリ12が含まれている。このメイン・メモリ12にはプリンタ・コントローラ10の動作プログラム,プリンタ20に送信し,プリンタ20によってプリントすべき画像を表わす画像データ,その他のデータが格納されている。またプリンタ・コントローラ10には上述したアイソクロナス転送およびアシンクロナス転送を行なうための通信制御回路13が含まれている。この通信制御回路13には送信すべき1パケット分のデータを一時記憶するための送信用転送メモリ13A,プリンタ20から送信されてきた1パケット分のデータを一時記憶するための受信用転送メモリ13B,ならびにプリンタ・コントローラ10のIDを表わすデータおよびチャネル番号を表わすデータを記憶するレジスタ13Cが含まれている。アイソクロナス転送が行なわれるときは,アイソクロナス期間ごとに通信制御回路13からメインCPU11に割込みが行なわれる。この割込みに応答してメインCPU11によってメイン・メモリ12から画像データの読出しが行なわれる。
【0054】
図2はプリンタ20の電気的構成を示すブロック図である。
【0055】
プリンタ20の全体の動作はシステム・コントローラ21によって統括される。システム・コントローラ21にはプリント用紙の有無を含むプリンタ20の現在の状態を表わすデータなどを一時記憶するRAM22およびプリンタ20の動作プログラム,プリンタ20の印画速度,後述する送信用転送メモリ25A,受信用転送メモリ25BおよびFIFO(first in first out)メモリ26のメモリ容量を含むプリンタの仕様データその他のデータが記憶されているROM23が接続されている。さらにプリンタ20には操作キーおよび状態表示回路24が含まれている。操作キーによる設定を表わす信号はシステム・コントローラ21に与えられ,かつプリンタ20の状態が状態表示回路24に表示される。
【0056】
プリンタ20にも上述したアイソクロナス転送およびアシンクロナス転送を行なうための通信制御回路25が含まれている。この通信制御回路25には送信すべき1パケット分のデータを一時記憶するための送信用転送メモリ25A,およびプリンタ・コントローラ10から送信されてきた1パケット分のデータを一時記憶するための受信用転送メモリ25Bならびにプリンタ20のIDを表わすデータおよびチャネル番号を記憶するレジスタ25Cが含まれている。通信制御回路25において1パケット分のデータを受信すると通信割込みが発生しシステム・コントローラ21に与えられる。この割込みに応答して,受信したデータのFIFOメモリ26への転送が行なわれる。
【0057】
プリンタ20にはFIFOメモリ26が含まれている。このFIFOメモリ26はプリンタ20によってプリントされる画像を表わす画像データのうち2ライン分の画像データを記憶できる容量をもつものである。
【0058】
プリント・エンジン28は印画ヘッドを含み,システム・コントローラ21からのプリント開始要求信号に応答してプリントを開始する。システム・コントローラ21からプリント・エンジン28にプリント開始要求信号が与えられると,プリント・エンジン28からデータ要求信号が発生しFIFOメモリ26に与えられる。プリント・エンジン28からのデータ要求信号に応答して,記憶している画像データがFIFOメモリ26から出力される。1ライン分の画像データがFIFOメモリ26から出力されると転送完了割込信号が,FIFOメモリ26からシステム・コントローラ21に与えられる。これによりシステム・コントローラ21はFIFOメモリ26から1ライン分の画像データが出力されたことを認識する。
【0059】
FIFOメモリ26から出力されたデータはデータ処理回路27に与えられ,システム・コントローラ21によって設定された色変換係数にもとづく色変換処理を含むデータ処理が行なわれ,出力される。データ処理回路27から出力された画像データがプリント・エンジン28に与えられ,プリント・エンジン28に含まれる印画ヘッドによって一定速度でプリントされる。
【0060】
図3は,プリンタ・コントローラ10からプリンタ20に画像データを送信するときのタイム・チャート,図4は,プリンタ・コントローラ10からプリンタ20に画像データを送信するときにプリンタ・コントローラ10とプリンタ20との間において行なわれるコマンドおよびデータの送受信の様子を表わしている。ここでは簡単のために1台のプリンタ・コントローラ10と1台のプリンタ20とが接続されているものとする。上述したようにIEEE標準1394では合計63台の機器の接続が可能であるので,プリンタ・コントローラとプリンタを含めて合計63台の機器を接続し,所望のプリンタに画像データを送信し,プリントすることもできる。図1および図2の例ではたとえばプリンタ・コントローラ10が親(サイクル・マスタ)であり,プリンタ20が子である。
【0061】
この実施例では,プリンタ20から画像データの転送要求が出力されプリンタ・コントローラ10に与えられる。転送要求をプリンタ・コントローラ10が入力すると,その転送要求に応答して通信制御回路13によってプリント・データがプリンタ・コントローラ10からプリンタ20に送信される。
【0062】
まず,レディ信号の出力要求コマンドがプリンタ・コントローラ10から出力され,プリンタ20に与えられる。プリンタ20においてレディ信号出力要求信号が受信されると,システム・コントローラ21によってRAM22が参照されレディ状態であればレディ信号が出力される。プリント・コントローラ10においてレディ信号が受信されると,第1のプリンタ仕様データ要求コマンドがプリンタ・コントローラ10から出力されプリンタ20に与えられる。プリンタ20において第1のプリンタ仕様データ要求コマンドが受信されるとシステム・コントローラ21によってプリンタ20の印画速度,FIFOメモリ26の記憶容量を含むプリンタ20の固定仕様データがROM23から読出される。この固定の仕様データはプリンタ20からプリント・コントローラ10に与えられる。
【0063】
つづいてプリンタ・コントローラ10からプリンタ20にプリンタ予約データが与えられる。プリンタ予約データはプリンタ20がプリンタ・コントローラ10からの画像データの送信を受付けるようにプリンタを設定するデータであり,プリンタ20のRAM22に書込まれる。さらに第2のプリンタ仕様データ要求コマンドがプリンタ・コントローラ10から出力されプリンタ20に与えられる。プリンタにおいて第2のプリンタ仕様データ要求コマンドが受信されるとシステム・コントローラ21によってプリンタ20の現在の状態を表わすデータがRAM22から読出される。この現在の状態を表わすデータはプリンタ20からプリント・コントローラ10に与えられる。第2のプリンタ仕様データ要求コマンドの送信から第2のプリンタ仕様データの受信までの間は,プリンタ・コントローラ10からプリンタ20に空データ(空データとは図12に示すアシンクロナス・データ・パケット・フォーマットにおいて送信データが空のデータまたは図15に示すアイソクロナス・データ・パケット・フォーマットにおいて画像データが空のデータをいう)を送信してもよい。
【0064】
ここまでのプリンタ・コントローラ10とプリンタ20とのデータまたはコマンドの送受信は図13に示すフォーマットにしたがってアシンクロナス転送で行なわれる。もっともアシンクロナス転送ではなく,アイソクロナス転送を用いるようにしてもよい。次に述べるプリント・スタンバイ・コマンド以降の転送データはアイソクロナス転送となる。
【0065】
つづいてプリンタ・コントローラ10とプリンタ20との間においてアイソクロナス転送を行なうためにプリンタ・コントローラ10およびプリンタ20にチャネル番号の設定が行なわれる。プリンタ・コントローラ10に設定されたチャネル番号を表わすデータはレジスタ13Cに記憶され,プリンタ20に設定されたチャネル番号を表わすデータはレジスタ25Cにも記憶される。
【0066】
チャネル番号が設定されると,図15に示すパケット・フォーマットにしたがって,メインCPU11の制御のもとに通信制御回路13においてプリンタ・スタンバイ・コマンドが生成され,プリンタ・コントローラ10からプリンタ20に送信される。プリンタ20においてプリンタ・スタンバイ・コマンドが受信されると,プリンタ用紙のホーム・ポジションへの位置決めなどのプリント準備が開始する。プリンタ20においてプリント準備が終了するとプリント準備完了および転送要求データがプリンタ20から出力され,プリンタ・コントローラ10に与えられる。プリント・スタンバイ・コマンドの送信からプリント準備完了および転送要求データの受信までの間も,プリンタ・コントローラ10からプリンタ20に空データが送信される。
【0067】
プリント準備完了および転送要求データがプリンタ20から出力されると,1パケットで送信できるデータ量の送信プリント・データ(画像データ)がメイン・メモリ12から読出され通信制御回路13に含まれる送信用転送メモリ13Aに与えられ一時記憶される。通信制御回路13において図14のフォーマットにしたがってパケットが生成される。画像の最初の部分を表わすプリント・データを送信するときにはその旨を表わすように同期ビットSy が「1」とされる。このようにして生成されたプリント・データはプリント準備完了および転送要求データの出力後にプリンタ・コントローラ10から送信され,プリンタ20において受信される。
【0068】
図1および図2に示す例では1台のプリンタ・コントローラ10に1台のプリンタ20が接続されているので,アイソクロナス・サイクル期間内におけるデータの送受信をこれらのプリント・コントローラ10とプリンタ20とだけで使用できる。プリント・コントローラ10からプリンタ20に送信する画像データのデータ量をアイソクロナス転送において許容される範囲まで大きくできる。画像データの転送が迅速となる。
【0069】
プリンタ・コントローラ10から送信された1パケット分のデータは,通信制御回路25に含まれる受信用転送メモリ25Bに一時記憶される。通信用制御回路25において1パケット分のデータに含まれるチャネル番号を表わすデータとレジスタ25に記憶されているチャネル番号を表わすデータとの比較により自分宛に送信されたデータかどうかが判断される。自分宛に送信されたデータであることが判断されると通信割込みが発生し,システム・コントローラ21の制御のもとFIFOメモリ26に順次書込まれていく。
【0070】
FIFOメモり26に格納されたプリント・データは,プリント・エンジン28からのデータ要求信号にしたがって読出され,データ処理回路27を介してプリント・エンジン28に与えられる。これによりプリント・エンジン28に含まれる印画ヘッドによって一定速度で画像がプリントされていく。
【0071】
プリンタ20においてFIFOメモリ26からシステム・コントローラ21に転送完了割込みが入力すると,システム・コントローラ21から転送要求コマンドが出力される。この転送要求コマンドは通信制御回路25からプリンタ・コントローラ10に与えられる。転送要求コマンドがプリンタ・コントローラ10に与えられることにより再び図15に示すフォーマットにしたがってパケットが生成され,プリント・データがプリンタ・コントローラ10からプリンタ20に送信される。このようにプリンタ・コントローラ10からプリンタ20へのプリント・データの送信タイミングは,プリンタ20からプリンタ・コントローラ10に与えられる転送要求コマンドによって規定される。プリント・データの送信後転送要求コマンドの入力までの間は,プリンタ・コントローラ10からプリンタ20には空データが送信される。
【0072】
転送要求コマンドの入力に応答してプリンタ・コントローラ10からプリンタ20にプリント・データが送信されるので,プリンタ20には一駒分の画像データを格納する大容量の画像メモリを備える必要がない。わずか数ライン分の画像データを格納できるFIFOメモリ26を備えておくだけで一定速度のプリントが可能となる。
【0073】
画像の最後の部分を表わす画像データがメイン・メモリ12から読出されると,画像の最後の部分を表わすように同期ビットSy が「2」に設定されて,通信制御回路13においてパケット・データが生成される。この最後の画像データがプリンタ・コントローラ10からプリンタ20に送信されて一駒分の画像データの送信が終了する。
【0074】
プリント・データの送信が終了すると,プリントの終了を表わすデータがプリンタ20からプリンタ・コントローラ10に与えられる。プリンタ・コントローラ10においてプリンタの終了を表わすデータが受信されると,プリンタ動作解除コマンドがプリンタ・コントローラ10からプリンタ20に与えられる。プリンタ20においてプリンタ動作解除コマンドが受信されると,RAM22に記憶されたプリンタのデータなどが消去され,プリンタ20は初期化される。
【0075】
また空データを送信するときには同期ビットSy を「4」に設定してもよい。これにより同期ビットSy の内容を読取ることによって空データか否かを検出できる。空データの検出により,プリンタ20が受信したデータのFIFOメモリ26への転送が不要となる。
【0076】
上述の実施例においては,プリンタ20のシステム・コントローラ21はFIFOメモリ26から出力される転送完了割込を入力することにより転送要求コマンドを出力し,プリンタ・コントローラ10に与えている。しかしながら,FIFOメモリ26に記憶されているデータ量をシステム・コントローラ21が監視し,FIFOメモリ26に記憶されているデータ量が少なくなったときにシステム・コントローラ21から転送要求コマンドを出力するようにしてもよい。
【0077】
図5および図6は他の実施例を示している。図5は,プリンタ・コントローラ10からプリンタ20に画像データを送信するときのタイム・チャート,図6は,プリンタ・コントローラ10からプリンタ20にプリント・データを送信するときにプリンタ・コントローラ10とプリンタ20との間において行なわれるコマンドおよびデータの送受信一部の様子を表わしている。
【0078】
図5および図6に示す実施例では,プリンタ20からプリンタ・コントローラ10にプリント・データの送信周期を表わす転送レートが与えられる。プリンタ・コントローラ10はプリンタ20から与えられる転送レートにしたがった送信周期によってプリント・データをプリンタ20に送信する。
【0079】
プリンタ・コントローラ10からプリンタ20へのプリント・データの送信処理を繰返しているときに,プリント・データの受信周期(送信周期)が長いためにFIFOメモリ26が空になることがある。図5および図6に示す実施例ではプリンタ20のシステム・コントローラ21はFIFOメモリ26を監視し,現在の転送レートを維持するとFIFOメモリ26が空になるかどうかを判断する。FIFOメモリ26が空になる場合には,システム・コントローラ21は転送レートを短縮することを表わす転送レート短縮要求コマンドを出力し,プリンタ・コントローラ10に与える。プリンタ・コントローラ10は転送レート短縮要求コマンドを入力すると,プリント・データの送信周期を短かくする。これによりFIFOメモリ26が空になることを防止でき,画像データの連続性を保つことができる。
【0080】
またプリンタ・コントローラ10からプリンタ20へのプリント・データの送信処理を繰返しているときに,プリント・データの受信周期が短かいために受信したプリント・データがFIFOメモリ26からあふれ,FIFOメモリ26への記憶ができなくなることがある。図5および図6に示す実施例ではプリンタ20のシステム・コントローラ21はFIFOメモリ26を監視し,現在の転送レートを維持するとプリント・データがFIFOメモリ26からあふれるかどうかを判断する。FIFOメモリ26から受信したプリント・データがあふれる場合には,システム・コントローラは転送レートを延長することを表わす転送レート延長要求コマンドを出力し,プリンタ・コントローラ10に与える。プリンタ・コントローラ10は転送レート延長要求コマンドを入力すると,プリント・データの送信周期を長くする。これによりプリンタ20において受信したプリント・データがFIFOメモリ26からあふれることを防止でき,画像データの連続性を保つことができる。
【0081】
上述した実施例においては,FIFOメモリ26が空になりそうな場合およびFIFOメモリ26からプリント・データがあふれそうな場合にはプリント・データの送信の転送レートを変えている。しかしながら,転送レートを変えなくとも,パケットに含まれるプリント・データのデータ量を調整することにより対処してもよい。すなわち,FIFOメモリ26が空になりそうな場合には1パケットに含まれるプリント・データのデータ量を多くするようなコマンドをプリンタ20からプリンタ・コントローラ10に与え,FIFOメモリ26からプリント・データがあふれそうな場合には1パケットに含まれるプリント・データのデータ量を少なくするようなコマンドをプリンタ20からプリンタ・コントローラ10に与える。
【0082】
図7および図8はさらに他の実施例を示すもので,図7はプリンタ・コントローラとプリンタとの接続例を示し,図8はプリンタ・コントローラ10からプリンタ20にプリント・データを送信するときにプリンタ・コントローラ10をプリンタ20との間において行なわれるコマンドおよびデータの送受信の様子を表わしている。
【0083】
図7に示すようにプリンタ・コントローラ10に複数台のプリンタ30,40および50がIEEE1394にもとづくケーブルによって接続されている。
【0084】
図7および図8に示す実施例においてはプリンタ・コントローラ10に接続されているすべてのプリンタ30,40および50から転送要求が出力されたときにプリント・データを,プリンタ・コントローラ10から送信する。プリンタ・コントローラ10に接続されているプリンタ30,40および50のうちのいずれかのプリンタから転送要求が出力されても,プリンタ・コントローラ10に接続されているすべてのプリンタ30,40および50から転送要求が出力されるまではプリンタ・コントローラ10は空データを出力する。
【0085】
図7に示す実施例では,プリンタ・コントローラ10に接続されているすべてのプリンタ30,40および50から転送要求が出力されたときにプリント・データをプリンタ・コントローラ10から送信するのでブロード・キャスト(同じデータをすべてのノードに対して送信すること)が実現できる。
【図面の簡単な説明】
【図1】プリンタ・コントローラの電気的構成を示すブロック図である。
【図2】プリンタの電気的構成を示すブロック図である。
【図3】プリンタ・コントローラからプリンタに画像データを送信する場合のタイム・チャートである。
【図4】プリンタ・コントローラからプリンタに画像データを送信する場合にプリンタ・コントローラとプリンタとの間で送受信されるコマンドおよびデータを示している。
【図5】プリンタ・コントローラからプリンタに画像データを送信する場合のタイム・チャートである。
【図6】プリンタ・コントローラからプリンタに画像データを送信する場合にプリンタ・コントローラとプリンタとの間で送受信されるコマンドおよびデータを示している。
【図7】プリンタとプリンタ・コントローラとの接続例を示している。
【図8】プリンタ・コントローラからプリンタに画像データを送信する場合にプリンタ・コントローラとプリンタとの間で送受信されるコマンドおよびデータを示している。
【図9】IEEE1394によって接続された機器のブロック図である。
【図10】IEEE1394によって接続された機器をツリー構造にして示すブロック図である。
【図11】アイソクロナス転送のタイム・チャートである。
【図12】サイクル・スタート・パケット・フォーマットを示す。
【図13】アシンクロナス転送されるデータのパケット・フォーマットを示す。
【図14】アイソクロナス・コマンド・パケット・フォーマットを示す。
【図15】アイソクロナス・データ・パケット・フォーマットを示す。
【符号の説明】
10 プリンタ・コントローラ
11 メインCPU
12 メイン・メモリ
13,25 通信制御回路
13A,25A 送信用転送メモリ
13B,25B 受信用転送メモリ
20,30,40,50 プリンタ
21 システム・コントローラ
26 FIFOメモリ
28 プリンタ・エンジン
[0001]
【Technical field】
The present invention comprises a printer controller connected to a bus and a printer. The printer controller supplies image data to the printer through a bus, and the printer transmits an image represented by the image data supplied from the printer controller at a constant speed. The present invention relates to a printer system that prints images. The present invention also relates to a printer and a printer controller constituting the printer system. The present invention further relates to a printer system operation control method, a printer operation control method, and a printer controller operation control method.
[0002]
BACKGROUND OF THE INVENTION
In order to transmit image data from the printer controller to the printer, parallel communication such as Centronics, SCSI (Small Computer System Interface), or serial communication such as RS232C, RS422, USB (Universal Serial Bus) is used. In any of these communication systems, image data is transmitted from the printer controller to the printer regardless of the printing speed of the printer. The printer needs to be provided with an image memory having a capacity capable of storing image data representing an image for at least one frame (an image printed on one sheet of paper). For this reason, it is difficult to reduce the cost of the printer.
[0003]
DISCLOSURE OF THE INVENTION
An object of the present invention is to make it possible to configure a printer using a relatively small-capacity image memory.
[0004]
The present invention is an IEEE standard 1394 (IEEE Standard 1394, IEEE = The Institute of Electrical and Electronic Engineers, Inc.) for high-speed serial transmission that is currently being studied to supply image data from a printer controller to a printer. Is to be used. According to the IEEE standard 1394, isochronous transfer and asynchronous transfer are possible.
[0005]
In isochronous transfer, data called cycle start packet data is generated in an isochronous cycle (125 μs period) from any of a plurality of nodes connected by a bus. Data is transmitted from one node (this node is a cycle master as will be described later) to another node in each isochronous cycle. In isochronous transfer, data transmission can always be performed within an isochronous cycle. Isochronous transfer is a transfer in which data is unilaterally transmitted from a transmission device to a reception device. Asynchronous transfer is a transfer in which when a receiving device receives transmission data, it sends back a message indicating that it has been received.
[0006]
The present invention provides a printer system comprising a printer and a printer controller. In this printer system, the printer and the printer controller are connected by a bus, and the printer controller supplies image data to the printer through the bus. The printer prints an image represented by image data supplied from a printer controller at a constant speed.
[0007]
The printer has a storage capacity for image data smaller than the amount of image data representing an image for one frame, and a buffer memory for temporarily storing image data supplied from the printer controller, and transfer of image data A means for outputting the request is provided.
[0008]
The printer controller includes image data transmission control means for transmitting image data to the printer in units of packets in response to the output of the transfer request.
[0009]
The printer receives the image data transmitted from the printer controller and stores it in the buffer memory, reads out the image data stored in the buffer memory, and represents the read image data. The image forming apparatus further includes print control means for printing the image to be printed at a constant speed.
[0010]
The present invention also provides an operation control method suitable for the printer system. That is, a printer controller and a printer connected by a bus are connected, and image data is supplied from the printer controller to the printer through a bus, and an image represented by the image data supplied from the printer controller in the printer is displayed. This is a method for controlling the operation of a printer system for printing at a constant speed. The printer has a storage capacity for image data smaller than the amount of image data representing an image for one frame, and outputs a buffer memory for temporarily storing the supplied image data and an image data transfer request. Means are provided.
[0011]
In response to the output of the transfer request from the printer, image data is transmitted from the printer controller in packet units. The printer receives image data transmitted from the printer controller and receives the buffer The image data stored in the memory and stored in the buffer memory is read, and the image represented by the read image data is printed at a constant speed.
[0012]
According to the present invention, the printer stores image data smaller than the data amount of image data representing one frame image (an image for one frame means an image printed on one sheet as described above). A buffer memory having a capacity is provided.
[0013]
In the printer controller, transmission to the printer in units of packets is performed in response to the output of a transfer request from the printer.
[0014]
The printer receives the transmitted image data in packet units and temporarily stores it in the buffer memory. The image data stored in the buffer memory is read, and the image represented by the read image data is printed at a constant speed.
[0015]
The printer does not need to be provided with a memory having a large capacity capable of storing the amount of image data representing an image for one frame, and it is sufficient to provide a buffer memory with a small capacity, thereby reducing the cost.
[0016]
For example, the transfer request may be output from the printer for each print of approximately one line of an image for one frame.
[0017]
Further, the continuity of the image data can be maintained by outputting the image data transfer request from the printer so that the image data stored in the buffer memory is not lost.
[0018]
Further, the image data may be transmitted from the controller while changing the amount of image data included in the packet so that the image data stored in the buffer memory is not lost. Also in this case, the continuity of the image data can be maintained.
[0019]
In response to the output of the transfer request by the printer controller, the transmission of empty data is repeated in units of packets after the image data is transmitted by the image data transmission control means until the next transfer request output. May be.
[0020]
As a result, the amount of image data stored in the buffer memory can be adjusted.
[0021]
Preferably, the printer prepares for printing (heating the printer, positioning the printing paper, positioning the printing head, etc.) by inputting the print preparation setting request command. In this case, the transfer request will be output after completion of preparation for printing. It is possible to prevent image data from being transferred from the printer controller before the preparation for printing is completed.
[0022]
The print preparation setting request command may be output from a printer controller. In this case, the printer controller repeats transmission of empty data in units of packets from the output of the print preparation setting request command to the output of the transfer request.
[0023]
A predetermined routine can be used without changing the routine for transmitting image data.
[0024]
A plurality of the printers may be connected to the printer controller. In this case, the printer will transmit image data to the printer in units of packets in response to the output of the transfer request from all the printers.
[0025]
Furthermore, the printer and the printer controller that constitute the printer system can be configured independently.
[0026]
[Explanation of Examples]
(1) Data transfer based on IEEE standard 1394 Before describing the printer system according to this embodiment, data transfer based on IEEE standard 1394 will be described.
[0027]
FIG. 9 shows a state where a plurality of devices (computer, printer, digital video tape recorder, etc.) A, B, C, D, E, and F are connected using a bus. Each device can have one or more ports (all devices have three ports in the example of FIG. 9). By connecting the ports of each device, up to 63 devices can be connected. IEEE standard 1394 allows devices to be connected as long as the daisy chain connection does not exceed 16. There is no loop connection.
[0028]
In the IEEE standard 1394, two types of data transfer, isochronous transfer and asynchronous transfer, are possible. Data transfer is performed in packet units in both isochronous transfer and asynchronous transfer.
[0029]
FIG. 12 shows the format of the cycle start packet. The cycle start packet data indicates the start of an isochronous cycle period (this period is in principle 125 μs) and is transmitted from the cycle master by isochronous transfer as described later.
[0030]
The cycle start packet indicates the transmission destination ID (which is unique to the device), transaction label, retry code, t code indicating whether the data is asynchronous transfer data or isochronous transfer data, and the priority of the transmission data. It includes priority, transmission source ID, read / write address offset, data length, extended transaction code, cycle time data, and data CRC (Cyclic Redundansy Check).
[0031]
According to the IEEE standard 1394, a cycle master described later starts measuring time from when the power is turned on. Data representing this measurement time is cycle time data. Each node described later has a counter and can measure time. The counter of each node is reset when the cycle start packet data transmitted from the cycle master is received. In principle, the cycle start packet is output every 125 μs as described above, but it is allowed to be delayed (details will be described later). This delay time is called cycle start delay time. The cycle start delay time is calculated at each node based on the difference between the measurement time of the cycle master represented by the cycle time data and the measurement time of each node. For example, if the measurement time of the cycle master is 130 μs and the measurement time of each node when the cycle start packet data is given is 125 μs, the cycle start delay time is 130 μs−125 μs = 5 μs. .
[0032]
When there are two or more control devices for controlling one controlled device, only one control device can control the controlled device, which is called exclusive control. The extended transaction code specifies the operation used to check whether this exclusive control is in effect.
[0033]
The asynchronous data packet format shown in FIG. 13 is used when data is transmitted by asynchronous transfer. This format differs from the cycle start packet format only in that transmission data is included in the packet instead of data representing the cycle start delay time.
[0034]
14 and 15 show the format of a packet used in isochronous transfer. FIG. 14 shows the format of an isochronous command packet used when sending a command, and FIG. 15 shows the format of an isochronous data packet used when sending image data.
[0035]
These packet formats include a data length indicating the length of data, a channel number given to a command or image data, a t code, Sy indicating a synchronization bit, and an error detection code for data from the data length to the synchronization bit Sy. Header CRC, command or image data, and data CRC which is an error detection code of the command or image data. As will be described later, in isochronous transfer, a channel number is assigned to each device, and when the channel number assigned to the device matches the channel number included in the transmitted packet, the matching channel number is assigned. The received device receives the transmitted command or image data. The purpose of use of Tg is not defined in the current IEEE standard 1394 standard, and "00" is recorded.
[0036]
Returning to FIG. 9, according to the IEEE standard 1394, the parent-child relationship between the devices connected by the bus is determined. The method for determining this parent-child relationship is as follows.
[0037]
When the power of each device is turned on, an inquiry about the parent-child relationship is made from one device to another device. The device that inquires about the parent-child relationship becomes a child, and the device that receives the parent-child relationship inquiry becomes the parent.
[0038]
When the parent-child relationship is determined for all devices, the whole becomes a tree structure as shown in FIG. In the example of FIG. 10, the device B is a parent (root). Devices A and C are children of device B, devices D and F are children of device A (grandchild when viewed from device B), and device E is a child of device C (grandchild when viewed from device B). Yes.
[0039]
In the IEEE standard 1394, as described above, a channel number is assigned to each device in order to receive isochronous transfer data, and an ID is assigned to each device in order to receive asynchronous transfer data. In the illustrated example, channel number A and IDa are assigned to device A, channel number B and IDb are assigned to device B, channel number C and IDc are assigned to device C, and channel number D and IDd are assigned to device D. The device E is assigned channel numbers E and IDe, and the device F is assigned channel numbers F and IDf.
[0040]
FIG. 11 is a time chart of isochronous transfer.
[0041]
Isochronous transfer control is performed by a device called a cycle master. The root becomes the cycle master.
[0042]
The cycle period starts when a cycle start packet is output from the cycle master (root). The cycle start packet is given to all devices (including grandchild devices) connected to the route.
[0043]
After the cycle start packet is transmitted, transfer of isochronous data starts.
[0044]
When the first period (short gap period) Sg has elapsed after the transmission of the cycle start packet, arbitration is performed between all the devices to be isochronously transferred. Arbitration is to obtain permission to use the bus and is performed as follows.
[0045]
First, a request signal for using the bus is transmitted from the device that is to perform isochronous transfer to its parent device. This request signal is transmitted in order from the device closest to the route. The parent device that has received the request signal further relays the request signal to the parent device. As a result, request signals from all devices that wish to perform isochronous transfer reach the cycle master. The cycle master stores which devices can use the bus preferentially, and the devices that can use the bus are determined when the short gap Sg elapses according to the priority. Only for the determined device, a signal permitting the use of the bus is output from the cycle master at the timing when the short gap Sg has elapsed. To the other devices, a signal for refusing to use the bus is transmitted from the cycle master at the timing when the short gap Sg has elapsed. A device that receives a signal permitting use of the bus can transmit data.
[0046]
In the example shown in FIG. 10, request signals requesting use of the bus are transmitted from the devices A, C, and F, and these request signals are received by the device B that is the route. A permission signal for permitting use of the bus is transmitted from the device B as a route to the device C, and data transmission from the device C is enabled. The device A and the device F are transmitted with a rejection signal for refusing to use the bus, and the device A and the device F cannot transmit data at that time. The device A and the device F perform arbitration again after the device C transmits one packet of data, and transmit data when receiving a permission signal permitting use of the bus.
[0047]
Returning to FIG. 11, isochronous transfer data is transmitted in units of packets from a device which has obtained the right to use the bus at the time when the short gap Sg has elapsed after the transmission of the cycle start packet. Prefix data indicating the start of data is added before the data of this packet (having the format shown in FIG. 14 or FIG. 15), and end data indicating the end of the data is added after the packet.
[0048]
End data is given to all devices. As a result, all devices recognize that the bus is free. When the short gap Sg period elapses after the end data is received, the device that wishes to transmit the isochronous transfer data again transmits the bus use request signal as described above (arbitration) (within the isochronous cycle period). A device that has obtained the right to use the bus once does not output a request signal again within the isochronous cycle period, and all devices that perform isochronous transfer transmit data for one packet at any time within the isochronous cycle period. it can).
[0049]
When isochronous transfer ends within the isochronous period, the right to use the bus for asynchronous transfer is secured when the second period (long gap lg) elapses. Asynchronous transfer data is transmitted in units of packets from the device that has obtained the right to use the bus. Also in asynchronous transfer, prefix data indicating the start of data is added before the packet, and end data is added after the packet. In the asynchronous transfer, an acknowledge data ACK indicating that the asynchronous transfer data has been received is output from the device that has received the asynchronous transfer to the device that has transmitted the asynchronous transfer data. Prefix data and end data are also added before and after the acknowledge data.
[0050]
If the amount of data to be transferred asynchronously is large, the cycle start packet transmission interval will be delayed more than 125μs. When the cycle start packet transmission interval exceeds the 125 μs period, the delay time Δt of the transmission cycle start packet is based on the measurement time represented by the cycle time data and the measurement time of each node as described above. Calculated (see FIG. 12).
[0051]
(2) Printer System The printer system according to this embodiment is configured by connecting a printer 20 and a printer controller 10 for controlling printing by the printer 20 to each other by a cable based on the IEEE standard 1394.
[0052]
FIG. 1 is a block diagram showing the electrical configuration of the printer controller 10.
[0053]
The overall operation of the printer controller 10 is controlled by the main CPU 11. The printer controller 10 includes a main memory 12. The main memory 12 stores an operation program of the printer controller 10, image data representing an image to be transmitted to the printer 20 and printed by the printer 20, and other data. The printer controller 10 includes a communication control circuit 13 for performing the above-described isochronous transfer and asynchronous transfer. The communication control circuit 13 includes a transmission transfer memory 13A for temporarily storing data for one packet to be transmitted, and a reception transfer memory 13B for temporarily storing data for one packet transmitted from the printer 20. And a register 13C for storing data representing the ID of the printer controller 10 and data representing the channel number. When isochronous transfer is performed, an interruption is performed from the communication control circuit 13 to the main CPU 11 every isochronous period. In response to this interruption, the main CPU 11 reads image data from the main memory 12.
[0054]
FIG. 2 is a block diagram showing the electrical configuration of the printer 20.
[0055]
The overall operation of the printer 20 is controlled by the system controller 21. The system controller 21 includes a RAM 22 for temporarily storing data representing the current state of the printer 20 including the presence or absence of printing paper, an operation program for the printer 20, a printing speed of the printer 20, a transmission transfer memory 25A, which will be described later, and a reception A ROM 23 storing printer specification data and other data including the memory capacity of the transfer memory 25B and FIFO (first in first out) memory 26 is connected. Further, the printer 20 includes operation keys and a status display circuit 24. A signal representing setting by the operation keys is given to the system controller 21 and the status of the printer 20 is displayed on the status display circuit 24.
[0056]
The printer 20 also includes a communication control circuit 25 for performing the above-described isochronous transfer and asynchronous transfer. The communication control circuit 25 includes a transmission transfer memory 25A for temporarily storing data for one packet to be transmitted, and a reception for temporarily storing data for one packet transmitted from the printer controller 10. A transfer memory 25B and a register 25C for storing data representing the ID of the printer 20 and a channel number are included. When the communication control circuit 25 receives one packet of data, a communication interrupt is generated and given to the system controller 21. In response to this interrupt, the received data is transferred to the FIFO memory 26.
[0057]
The printer 20 includes a FIFO memory 26. The FIFO memory 26 has a capacity capable of storing two lines of image data representing image data printed by the printer 20.
[0058]
The print engine 28 includes a print head, and starts printing in response to a print start request signal from the system controller 21. When a print start request signal is given from the system controller 21 to the print engine 28, a data request signal is generated from the print engine 28 and given to the FIFO memory 26. In response to a data request signal from the print engine 28, the stored image data is output from the FIFO memory 26. When image data for one line is output from the FIFO memory 26, a transfer completion interrupt signal is given from the FIFO memory 26 to the system controller 21. As a result, the system controller 21 recognizes that one line of image data has been output from the FIFO memory 26.
[0059]
The data output from the FIFO memory 26 is applied to the data processing circuit 27, where data processing including color conversion processing based on the color conversion coefficient set by the system controller 21 is performed and output. The image data output from the data processing circuit 27 is given to the print engine 28, and is printed at a constant speed by the print head included in the print engine 28.
[0060]
3 is a time chart when image data is transmitted from the printer controller 10 to the printer 20. FIG. 4 is a time chart when image data is transmitted from the printer controller 10 to the printer 20. It shows the state of command and data transmission / reception performed between the two. Here, for simplicity, it is assumed that one printer controller 10 and one printer 20 are connected. As described above, a total of 63 devices can be connected in the IEEE standard 1394. Therefore, a total of 63 devices including a printer controller and a printer are connected, and image data is transmitted to a desired printer and printed. You can also In the example of FIGS. 1 and 2, for example, the printer controller 10 is a parent (cycle master), and the printer 20 is a child.
[0061]
In this embodiment, an image data transfer request is output from the printer 20 and given to the printer controller 10. When the transfer request is input by the printer controller 10, print data is transmitted from the printer controller 10 to the printer 20 by the communication control circuit 13 in response to the transfer request.
[0062]
First, a ready signal output request command is output from the printer controller 10 and given to the printer 20. When the printer 20 receives a ready signal output request signal, the system controller 21 refers to the RAM 22 and outputs a ready signal if it is in a ready state. When the ready signal is received by the print controller 10, a first printer specification data request command is output from the printer controller 10 and given to the printer 20. When the printer 20 receives the first printer specification data request command, the system controller 21 reads the printer 20 fixed specification data including the printing speed of the printer 20 and the storage capacity of the FIFO memory 26 from the ROM 23. This fixed specification data is given from the printer 20 to the print controller 10.
[0063]
Subsequently, printer reservation data is given from the printer controller 10 to the printer 20. The printer reservation data is data for setting the printer so that the printer 20 accepts transmission of image data from the printer controller 10, and is written in the RAM 22 of the printer 20. Further, a second printer specification data request command is output from the printer controller 10 and given to the printer 20. When the second printer specification data request command is received at the printer, the system controller 21 reads data representing the current state of the printer 20 from the RAM 22. Data representing the current state is supplied from the printer 20 to the print controller 10. Between the transmission of the second printer specification data request command and the reception of the second printer specification data, the printer controller 10 sends empty data to the printer 20 (empty data is the asynchronous data packet format shown in FIG. 12). The transmission data may be empty data or the image data may be empty in the isochronous data packet format shown in FIG.
[0064]
Transmission / reception of data or commands between the printer controller 10 and the printer 20 so far is performed by asynchronous transfer according to the format shown in FIG. However, isochronous transfer may be used instead of asynchronous transfer. Transfer data after the print standby command described below is isochronous transfer.
[0065]
Subsequently, in order to perform isochronous transfer between the printer controller 10 and the printer 20, channel numbers are set in the printer controller 10 and the printer 20. Data representing the channel number set in the printer controller 10 is stored in the register 13C, and data representing the channel number set in the printer 20 is also stored in the register 25C.
[0066]
When the channel number is set, according to the packet format shown in FIG. 15, a printer standby command is generated in the communication control circuit 13 under the control of the main CPU 11 and transmitted from the printer controller 10 to the printer 20. The When the printer standby command is received by the printer 20, preparation for printing such as positioning of the printer paper to the home position starts. When the printer 20 completes the print preparation, the print preparation completion and transfer request data are output from the printer 20 and given to the printer controller 10. The empty data is transmitted from the printer controller 10 to the printer 20 from the transmission of the print standby command to the completion of the print preparation and the transfer request data.
[0067]
When print preparation completion and transfer request data are output from the printer 20, transmission print data (image data) having a data amount that can be transmitted in one packet is read from the main memory 12 and included in the communication control circuit 13. It is given to the memory 13A and temporarily stored. The communication control circuit 13 generates a packet according to the format of FIG. When print data representing the first part of the image is transmitted, the synchronization bit Sy is set to "1" to indicate that fact. The print data generated in this way is transmitted from the printer controller 10 and received by the printer 20 after the print preparation is completed and the transfer request data is output.
[0068]
In the example shown in FIG. 1 and FIG. 2, since one printer 20 is connected to one printer controller 10, only the print controller 10 and the printer 20 transmit and receive data within the isochronous cycle period. Can be used in The amount of image data transmitted from the print controller 10 to the printer 20 can be increased to an allowable range for isochronous transfer. Transfer of image data is quick.
[0069]
The data for one packet transmitted from the printer controller 10 is temporarily stored in the reception transfer memory 25B included in the communication control circuit 25. The communication control circuit 25 determines whether or not the data is transmitted to itself by comparing the data representing the channel number included in the data for one packet with the data representing the channel number stored in the register 25. When it is determined that the data has been transmitted to itself, a communication interrupt is generated and sequentially written into the FIFO memory 26 under the control of the system controller 21.
[0070]
The print data stored in the FIFO memory 26 is read in accordance with a data request signal from the print engine 28 and supplied to the print engine 28 via the data processing circuit 27. As a result, an image is printed at a constant speed by the print head included in the print engine 28.
[0071]
When a transfer completion interrupt is input from the FIFO memory 26 to the system controller 21 in the printer 20, a transfer request command is output from the system controller 21. This transfer request command is given from the communication control circuit 25 to the printer controller 10. When the transfer request command is given to the printer controller 10, a packet is generated again according to the format shown in FIG. 15, and the print data is transmitted from the printer controller 10 to the printer 20. As described above, the transmission timing of print data from the printer controller 10 to the printer 20 is defined by the transfer request command given from the printer 20 to the printer controller 10. The empty data is transmitted from the printer controller 10 to the printer 20 until the transfer request command is input after the print data is transmitted.
[0072]
Since print data is transmitted from the printer controller 10 to the printer 20 in response to the input of the transfer request command, the printer 20 does not need to have a large-capacity image memory for storing image data for one frame. It is possible to print at a constant speed only by providing the FIFO memory 26 that can store image data for only a few lines.
[0073]
When the image data representing the last part of the image is read from the main memory 12, the synchronization bit Sy is set to "2" so as to represent the last part of the image, and the communication control circuit 13 receives the packet data. Generated. This last image data is transmitted from the printer controller 10 to the printer 20, and the transmission of the image data for one frame is completed.
[0074]
When the transmission of the print data is completed, data indicating the end of printing is given from the printer 20 to the printer controller 10. When the printer controller 10 receives data indicating the end of the printer, a printer operation release command is given from the printer controller 10 to the printer 20. When the printer operation cancel command is received by the printer 20, the printer data stored in the RAM 22 is erased and the printer 20 is initialized.
[0075]
Further, when transmitting empty data, the synchronization bit Sy may be set to “4”. Thus, it is possible to detect whether or not the data is empty by reading the contents of the synchronization bit Sy. Detection of empty data eliminates the need to transfer data received by the printer 20 to the FIFO memory 26.
[0076]
In the above-described embodiment, the system controller 21 of the printer 20 outputs a transfer request command by inputting the transfer completion interrupt output from the FIFO memory 26 and gives it to the printer controller 10. However, the system controller 21 monitors the amount of data stored in the FIFO memory 26 and outputs a transfer request command from the system controller 21 when the amount of data stored in the FIFO memory 26 decreases. May be.
[0077]
5 and 6 show another embodiment. FIG. 5 is a time chart when image data is transmitted from the printer controller 10 to the printer 20, and FIG. 6 is a time chart when the print data is transmitted from the printer controller 10 to the printer 20. This shows a part of command and data transmission / reception performed between and.
[0078]
In the embodiment shown in FIGS. 5 and 6, a transfer rate representing a print data transmission period is given from the printer 20 to the printer controller 10. The printer controller 10 transmits print data to the printer 20 at a transmission cycle according to the transfer rate given from the printer 20.
[0079]
When the print data transmission process from the printer controller 10 to the printer 20 is repeated, the FIFO memory 26 may become empty because the print data reception cycle (transmission cycle) is long. In the embodiment shown in FIGS. 5 and 6, the system controller 21 of the printer 20 monitors the FIFO memory 26 and determines whether the FIFO memory 26 becomes empty when the current transfer rate is maintained. When the FIFO memory 26 becomes empty, the system controller 21 outputs a transfer rate shortening request command indicating that the transfer rate is shortened and gives it to the printer controller 10. When the printer controller 10 inputs a transfer rate reduction request command, the print data transmission cycle is shortened. As a result, the FIFO memory 26 can be prevented from being emptied, and the continuity of the image data can be maintained.
[0080]
In addition, when print data transmission processing from the printer controller 10 to the printer 20 is repeated, the received print data overflows from the FIFO memory 26 because the print data reception cycle is short, and the FIFO data 26 is received. You may not be able to remember. In the embodiment shown in FIGS. 5 and 6, the system controller 21 of the printer 20 monitors the FIFO memory 26 and determines whether the print data overflows from the FIFO memory 26 if the current transfer rate is maintained. When the print data received from the FIFO memory 26 overflows, the system controller outputs a transfer rate extension request command indicating that the transfer rate is extended and gives it to the printer controller 10. When the printer controller 10 inputs a transfer rate extension request command, the printer controller 10 lengthens the print data transmission cycle. As a result, the print data received by the printer 20 can be prevented from overflowing from the FIFO memory 26, and the continuity of the image data can be maintained.
[0081]
In the above-described embodiment, when the FIFO memory 26 is likely to be empty and when print data is likely to overflow from the FIFO memory 26, the transfer rate of print data transmission is changed. However, this may be dealt with by adjusting the data amount of the print data included in the packet without changing the transfer rate. That is, when the FIFO memory 26 is likely to be empty, a command is given from the printer 20 to the printer controller 10 to increase the amount of print data included in one packet, and the print data is transferred from the FIFO memory 26. If it is likely to overflow, a command for reducing the amount of print data contained in one packet is given from the printer 20 to the printer controller 10.
[0082]
7 and 8 show still another embodiment. FIG. 7 shows an example of connection between a printer controller and a printer. FIG. 8 shows a case where print data is transmitted from the printer controller 10 to the printer 20. The figure shows how commands and data are sent and received between the printer controller 10 and the printer 20.
[0083]
As shown in FIG. 7, a plurality of printers 30, 40 and 50 are connected to the printer controller 10 by cables based on IEEE1394.
[0084]
In the embodiment shown in FIGS. 7 and 8, print data is transmitted from the printer controller 10 when transfer requests are output from all the printers 30, 40 and 50 connected to the printer controller 10. Even if a transfer request is output from one of the printers 30, 40, and 50 connected to the printer controller 10, it is transferred from all the printers 30, 40, and 50 connected to the printer controller 10. Until the request is output, the printer controller 10 outputs empty data.
[0085]
In the embodiment shown in FIG. 7, print data is transmitted from the printer controller 10 when a transfer request is output from all the printers 30, 40 and 50 connected to the printer controller 10, so that the broadcast ( Transmitting the same data to all nodes).
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an electrical configuration of a printer controller.
FIG. 2 is a block diagram illustrating an electrical configuration of the printer.
FIG. 3 is a time chart when image data is transmitted from the printer controller to the printer.
FIG. 4 shows commands and data transmitted and received between the printer controller and the printer when image data is transmitted from the printer controller to the printer.
FIG. 5 is a time chart when image data is transmitted from the printer controller to the printer.
FIG. 6 shows commands and data transmitted and received between the printer controller and the printer when image data is transmitted from the printer controller to the printer.
FIG. 7 shows an example of connection between a printer and a printer controller.
FIG. 8 shows commands and data transmitted and received between the printer controller and the printer when image data is transmitted from the printer controller to the printer.
FIG. 9 is a block diagram of devices connected by IEEE1394.
FIG. 10 is a block diagram showing devices connected by IEEE 1394 in a tree structure.
FIG. 11 is a time chart of isochronous transfer.
FIG. 12 shows a cycle start packet format.
FIG. 13 shows a packet format of data transferred asynchronously.
FIG. 14 shows an isochronous command packet format.
FIG. 15 shows an isochronous data packet format.
[Explanation of symbols]
10 Printer controller
11 Main CPU
12 Main memory
13, 25 Communication control circuit
13A, 25A Transfer memory for transmission
13B, 25B Reception transfer memory
20, 30, 40, 50 printer
21 System controller
26 FIFO memory
28 Printer engine

Claims (14)

バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラは画像データをバスを通して上記プリンタに供給し,上記プリンタは上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するプリンタ・システムにおいて,
上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリおよび画像データの転送要求を出力する手段が設けられており,
上記プリンタ・コントローラは,
パケットを一定周期で送信するアイソクロナス転送にもとづいて一定周期で送信されるパケットに,上記転送要求の出力に応答して画像データを格納することにより,上記プリンタへ画像データを送信する画像データ送信制御手段,および
アイソクロナス転送にもとづいて一定周期で送信されるパケットに,上記転送要求の出力に応答して上記画像データ送信制御手段によって画像データが送信された後次の上記転送要求出力までの間,空データを格納することにより,上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画する上記プリンタへの空データの送信をパケット単位で繰返す空データ送信制御手段をさらに備え,
上記プリンタは,
上記プリンタ・コントローラからアイソクロナス転送にもとづいて一定周期で送信されるパケットに格納されている画像データを受信し,上記バッファ・メモリに記憶させる記憶制御手段,および
上記バッファ・メモリに記憶された画像データを読出し,読出された画像データによって表わされる画像を一定速度で印画する印画制御手段をさらに備えている,
プリンタ・システム。
A printer controller connected to the bus and a printer are provided. The printer controller supplies image data to the printer through a bus, and the printer transmits an image represented by the image data supplied from the printer controller at a constant speed. In the printer system that prints with
The printer has a storage capacity for image data smaller than the amount of image data representing an image for one frame, and a buffer memory for temporarily storing image data supplied from the printer controller, and transfer of image data Means to output the request,
The printer controller above
Image data transmission control for transmitting image data to the printer by storing image data in response to the output of the transfer request in a packet transmitted at a constant cycle based on isochronous transfer for transmitting the packet at a constant cycle And, in response to the output of the transfer request, after the image data is transmitted by the image data transmission control means until the next transfer request output in response to the output of the transfer request. Empty data transmission control means for repeating the transmission of empty data to the printer for printing the image represented by the image data supplied from the printer controller at a constant speed by storing empty data;
The above printer
Storage control means for receiving image data stored in a packet transmitted at a constant cycle based on isochronous transfer from the printer controller and storing it in the buffer memory, and image data stored in the buffer memory And printing control means for printing an image represented by the read image data at a constant speed,
Printer system.
上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタが,上記画像データの転送要求を出力するものである,請求項1に記載のプリンタ・システム。  2. The printer system according to claim 1, wherein the printer outputs a transfer request for the image data so that the image data stored in the buffer memory is not lost. 上記画像データ送信制御手段が,上記バッファ・メモリに記憶されている画像データが無くならないように上記パケットに含まれる画像データ量を変更して画像データを送信するものである,請求項1に記載のプリンタ・システム。  The image data transmission control means changes the amount of image data included in the packet so as not to lose the image data stored in the buffer memory, and transmits the image data. Printer system. 上記プリンタが,印画準備設定要求コマンドを入力したことにより印画に関する準備を行なうものであり,この準備の終了後に上記転送要求を出力する請求項1に記載のプリンタ・システム。  2. The printer system according to claim 1, wherein the printer prepares for printing by inputting a print preparation setting request command, and outputs the transfer request after completion of the preparation. 上記印画準備設定要求コマンドが上記プリンタ・コントローラから出力されるものであり,
上記プリンタ・コントローラは,
上記印画準備設定要求コマンドの出力後から上記転送要求の出力までの間,空データの送信をパケット単位で繰返す空データ送信制御手段をさらに備えている,
請求項4に記載のプリンタ・システム。
The print preparation setting request command is output from the printer controller.
The printer controller above
It further comprises empty data transmission control means for repeating the transmission of empty data in units of packets from the output of the print preparation setting request command to the output of the transfer request.
The printer system according to claim 4.
上記プリンタ・コントローラには上記プリンタが複数台接続されており,
上記プリンタは,すべての上記プリンタからの上記転送要求の出力があったことに応答して,パケット単位で上記プリンタへ画像データを送信するものである,請求項1に記載のプリンタ・システム。
A plurality of printers are connected to the printer controller.
The printer system according to claim 1, wherein the printer transmits image data to the printer in units of packets in response to the output of the transfer request from all the printers.
バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラは画像データをバスを通して上記プリンタに供給し,上記プリンタは上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画し,上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリおよび画像データの転送要求を出力する手段が設けられているプリンタ・システムに用いられるプリンタ・コントローラであり,
パケットを一定周期で送信するアイソクロナス転送にもとづいて一定周期で送信されるパケットに,上記転送要求の出力に応答して画像データを格納することにより,上記プリンタへ画像データを送信する画像データ送信制御手段,および
アイソクロナス転送にもとづいて一定周期で送信されるパケットに,上記転送要求の出力に応答して上記画像データ送信制御手段によって画像データが送信された後次の上記転送要求出力までの間,空データを格納することにより,上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画する上記プリンタへの空データの送信をパケット単位で繰返す空データ送信制御手段をさらに備えている,
プリンタ・コントローラ。
A printer controller connected to the bus and a printer are provided. The printer controller supplies image data to the printer through a bus, and the printer transmits an image represented by the image data supplied from the printer controller at a constant speed. A buffer memory having a storage capacity of image data smaller than the amount of image data representing an image for one frame, and temporarily storing image data supplied from the printer controller; A printer controller used in a printer system provided with means for outputting a transfer request for image data;
Image data transmission control for transmitting image data to the printer by storing image data in response to the output of the transfer request in a packet transmitted at a constant cycle based on isochronous transfer for transmitting the packet at a constant cycle And, in response to the output of the transfer request, after the image data is transmitted by the image data transmission control means until the next transfer request output in response to the output of the transfer request. It further comprises empty data transmission control means for repeating empty data transmission to the printer for storing the empty data to print the image represented by the image data supplied from the printer controller at a constant speed. Is,
Printer controller.
バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラは画像データをバスを通して上記プリンタに供給し,上記プリンタは上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するプリンタ・システムにおいて,
上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリおよび画像データの転送要求を出力する手段が設けられており,
上記プリンタ・コントローラは,
パケットを一定周期で送信するアイソクロナス転送にもとづいて一定周期で送信されるパケットに,上記転送要求の出力に応答して画像データを格納することにより,上記プリンタへ画像データを送信し,
アイソクロナス転送にもとづいて一定周期で送信されるパケットに,上記転送要求の出力に応答して上記画像データ送信制御手段によって画像データが送信された後次の上記転送要求出力までの間,空データを格納することにより,上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画する上記プリンタへの空データの送信をパケット単位で繰返し,
上記プリンタは,
上記プリンタ・コントローラからアイソクロナス転送にもとづいて一定周期で送信されるパケットに格納されている画像データを受信し,上記バッファ・メモリに記憶させ,
上記バッファ・メモリに記憶された画像データを読出し,読出された画像データによって表わされる画像を一定速度で印画する,
プリンタ・システムの動作制御方法。
A printer controller connected to the bus and a printer are provided. The printer controller supplies image data to the printer through a bus, and the printer transmits an image represented by the image data supplied from the printer controller at a constant speed. In the printer system that prints with
The printer has a storage capacity for image data smaller than the amount of image data representing an image for one frame, and a buffer memory for temporarily storing image data supplied from the printer controller, and transfer of image data Means to output the request,
The printer controller above
The image data is transmitted to the printer by storing the image data in response to the output of the transfer request in a packet transmitted at a constant cycle based on isochronous transfer for transmitting the packet at a constant cycle.
In response to the output of the transfer request, empty data is transmitted from the image data transmission control means to the next transfer request output in response to the output of the transfer request in a packet transmitted at a constant period based on isochronous transfer. By storing, the transmission of empty data to the printer for printing the image represented by the image data supplied from the printer controller at a constant speed is repeated in units of packets,
The above printer
Receives image data stored in a packet transmitted at a constant cycle based on isochronous transfer from the printer controller, stores it in the buffer memory,
Reading the image data stored in the buffer memory and printing the image represented by the read image data at a constant speed;
An operation control method for a printer system.
上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタが,上記画像データの転送要求を出力するものである,請求項に記載のプリンタ・システムの動作制御方法。As the image data stored in the buffer memory is not eliminated, the printer, and outputs the transfer request of the image data, the operation control method for a printer system of claim 8. 上記プリンタ・コントローラは,上記バッファ・メモリに記憶されている画像データが無くならないように上記パケットに含まれる画像データ量を変更して画像データを送信するものである,請求項に記載のプリンタ・システムの動作制御方法。9. The printer according to claim 8 , wherein the printer controller changes the amount of image data included in the packet so that the image data stored in the buffer memory is not lost, and transmits the image data. -System operation control method. 上記プリンタは,印画準備設定要求コマンドを入力したことにより印画に関する準備を行なうものであり,この準備の終了後に上記転送要求を出力するものである,請求項に記載のプリンタ・システムの動作制御方法。The printer is to perform the preparation relating to printing by entered the printing preparation setting request command and outputs the transfer request after completion of this preparation, operation control of the printer system according to claim 8 Method. 上記印画準備設定要求コマンドが上記プリンタ・コントローラから出力されるものであり,
上記プリンタ・コントローラは,上記印画準備設定要求コマンドの出力後から上記転送要求の出力までの間,空データの送信をパケット単位で繰返すものである,請求項11に記載のプリンタ・システムの動作制御方法。
The print preparation setting request command is output from the printer controller.
12. The operation control of the printer system according to claim 11 , wherein the printer controller repeats transmission of empty data in units of packets from the output of the print preparation setting request command to the output of the transfer request. Method.
上記プリンタ・コントローラには上記プリンタが複数台接続されており,
上記プリンタは,すべての上記プリンタからの上記転送要求の出力があったことに応答して,パケット単位で上記プリンタへ画像データを送信するものである,請求項に記載のプリンタ・システムの動作制御方法。
A plurality of printers are connected to the printer controller.
9. The operation of the printer system according to claim 8 , wherein the printer transmits image data to the printer in units of packets in response to the output of the transfer request from all the printers. Control method.
バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラは画像データをバスを通して上記プリンタに供給し,上記プリンタは上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画し,上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリおよび画像データの転送要求を出力する手段が設けられているプリンタ・システムに用いられるプリンタ・コントローラの動作制御方法であり,
パケットを一定周期で送信するアイソクロナス転送にもとづいて一定周期で送信されるパケットに,上記転送要求の出力に応答して画像データを格納することにより,上記プリンタへ画像データを送信し,および
アイソクロナス転送にもとづいて一定周期で送信されるパケットに,上記転送要求の出力に応答して上記画像データ送信制御手段によって画像データが送信された後次の上記転送要求出力までの間,空データを格納することにより,上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画する上記プリンタへの空データの送信をパケット単位で繰返す,
プリンタ・コントローラの動作制御方法。
A printer controller connected to the bus and a printer are provided. The printer controller supplies image data to the printer through a bus, and the printer transmits an image represented by the image data supplied from the printer controller at a constant speed. A buffer memory having a storage capacity of image data smaller than the amount of image data representing an image for one frame, and temporarily storing image data supplied from the printer controller; An operation control method for a printer controller used in a printer system provided with means for outputting a transfer request for image data,
The image data is sent to the printer by storing the image data in response to the output of the transfer request in the packet transmitted at a constant cycle based on the isochronous transfer that transmits the packet at a constant cycle, and the isochronous transfer is performed. In response to the output of the transfer request, empty data is stored in the packet transmitted at a constant cycle based on the time until the next transfer request output after the image data is transmitted by the image data transmission control means. Thus, transmission of empty data to the printer for printing an image represented by the image data supplied from the printer controller at a constant speed is repeated in units of packets.
Printer controller operation control method.
JP27684596A 1996-07-31 1996-09-30 Printer system and operation control method thereof Expired - Fee Related JP4298805B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP27684596A JP4298805B2 (en) 1996-09-30 1996-09-30 Printer system and operation control method thereof
CNB2004100013493A CN100502456C (en) 1996-07-31 1997-07-25 Printer system and its motion control method
CNB971150397A CN1156146C (en) 1996-07-31 1997-07-25 Printer system and method of controlling operation of the same
TW086110775A TW353259B (en) 1996-07-31 1997-07-29 Printer system and method of controlling operation of the same
EP97305782A EP0822510B1 (en) 1996-07-31 1997-07-31 Printer system and method of controlling operation of the same
DE69734856T DE69734856T2 (en) 1996-07-31 1997-07-31 Printing device and control method therefor
US08/903,878 US6665082B1 (en) 1996-07-31 1997-07-31 Printer system and method of controlling operation of the same
US09/253,001 US6636325B1 (en) 1996-07-31 1999-02-19 Printer system and method of controlling operation of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27684596A JP4298805B2 (en) 1996-09-30 1996-09-30 Printer system and operation control method thereof

Publications (2)

Publication Number Publication Date
JPH10108113A JPH10108113A (en) 1998-04-24
JP4298805B2 true JP4298805B2 (en) 2009-07-22

Family

ID=25681206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27684596A Expired - Fee Related JP4298805B2 (en) 1996-07-31 1996-09-30 Printer system and operation control method thereof

Country Status (1)

Country Link
JP (1) JP4298805B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0859326A3 (en) 1997-02-14 1999-05-12 Canon Kabushiki Kaisha Data transmission apparatus, system and method, and image processing apparatus

Also Published As

Publication number Publication date
JPH10108113A (en) 1998-04-24

Similar Documents

Publication Publication Date Title
US6665082B1 (en) Printer system and method of controlling operation of the same
JP3927647B2 (en) Information processing apparatus, information processing method, and information processing system
JP3721234B2 (en) Printer system and operation control method thereof
US6717694B1 (en) Data transmission apparatus, system and method, and recording medium
EP0959590B1 (en) Data communication system operating at maximum data rate
JPH10229427A (en) Information processing device and method
US20020057448A1 (en) Information processing apparatus, method and memory medium therefor
JP4018187B2 (en) Image forming apparatus, image forming system, and image forming method
JP4298805B2 (en) Printer system and operation control method thereof
JPH10290247A (en) Method, device, system, and storage medium for data communication
JPH10228365A (en) Printer, print system, and printing method
US20010043361A1 (en) Printer detecting data precisely in response to change in data transmission speed
JP4163266B2 (en) Printer and control method thereof
JP3682512B2 (en) Image capturing apparatus and control method thereof, printing system, printing method, and printing apparatus and control method thereof
JP4262724B2 (en) Printer system and operation control method thereof
JP4209476B2 (en) Printer system and operation control method thereof
JP3647328B2 (en) Image processing apparatus, control method therefor, and image processing system
JPH10112789A (en) Printer system and its operation control method
JPH10228364A (en) Data transfer device, its controlling method and printing system
JPH10109464A (en) Printer system and operation controlling method therefor
JP2001067193A (en) Printing system, printer and its controlling method
JP3774542B2 (en) Data processing method, data processing apparatus, printer, and storage medium
JP2000196873A (en) Information processor, information processing system, method for them, and storage medium
JP3869941B2 (en) Printing system, printing apparatus, and printing method
JPH10228355A (en) Data transfer device and its control method, and print system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060411

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060609

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060704

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060831

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060915

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20061006

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061206

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090416

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: 20120424

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees