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

Printer system and operation control method thereof Download PDF

Info

Publication number
JP4262724B2
JP4262724B2 JP2006027816A JP2006027816A JP4262724B2 JP 4262724 B2 JP4262724 B2 JP 4262724B2 JP 2006027816 A JP2006027816 A JP 2006027816A JP 2006027816 A JP2006027816 A JP 2006027816A JP 4262724 B2 JP4262724 B2 JP 4262724B2
Authority
JP
Japan
Prior art keywords
printer
image data
data
printer controller
controller
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
JP2006027816A
Other languages
Japanese (ja)
Other versions
JP2006150978A (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 JP2006027816A priority Critical patent/JP4262724B2/en
Publication of JP2006150978A publication Critical patent/JP2006150978A/en
Application granted granted Critical
Publication of JP4262724B2 publication Critical patent/JP4262724B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Storing Facsimile Image Data (AREA)

Description

この発明は,バス接続されたプリンタ・コントローラとプリンタとから構成され,プリンタ・コントローラは画像データをバスを通してプリンタに供給し,プリンタはプリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するプリンタ・システムに関する。この発明はまたこのプリンタ・システムを構成するプリンタ・コントローラに関する。この発明はさらにプリンタ・システムの動作制御方法,およびプリンタ・コントローラの動作制御方法に関する。   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 controller constituting the printer system. The present invention further relates to an operation control method for a printer system and an operation control method for a printer controller.

プリンタ・コントローラからプリンタに画像データを送信するにはセントロニクス,SCSI(Small Computer system interface )などのパラレル通信,RS232C,RS422,USB(Universal Serial Bus)などのシリアル通信が利用される。これらの通信方式ではいずれもプリンタの印画速度と無関係にプリンタ・コントローラからプリンタに画像データが送信される。プリンタには少なくとも一駒分の画像(一枚の用紙上に印画される画像)を表わす画像データを記憶できる容量をもつ画像メモリを設けておく必要がある。このためプリンタのコスト・ダウンを図ることは困難である。   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.

この発明は,比較的小容量の画像メモリを用いてプリンタを構成できるようにすることを目的とする。   An object of the present invention is to make it possible to configure a printer using a relatively small-capacity image memory.

この発明は,プリンタ・コントローラからプリンタに画像データを供給するために,現在検討されつつある高速シリアル伝送のためのIEEE標準1394(IEEE Standard 1394,IEEE=The Institute of Electrical and Electronic Engineers,Inc.)を利用するものである。このIEEE標準1394ではアイソクロナス(Isochronaus )転送とアシンクロナス(Asynchronaus)転送とが可能である。   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.

アイソクロナス転送ではバスによって接続された複数のノードのいずれかからサイクル・スタート・パケット・データと呼ばれるデータが原則としてアイソクロナス・サイクル( 125μs周期)で発生する。アイソクロナス・サイクルごとにあるノード(このノードは後述のようにサイクル・マスタである)から他のノードにデータが送信される。アイソクロナス転送ではアイソクロナス・サイクル内に必ずデータ送信を行なうことが可能である。アイソクロナス転送は送信装置から受信装置に一方的にデータを送信する転送である。アシンクロナス転送は受診装置が送信データを受信すると,受信した旨を送り返す転送である。   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 in each isochronous cycle (this node is a cycle master as described later) to another node. 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 that sends back a receipt when the receiving device receives the transmission data.

この発明はプリンタとプリンタ・コントローラとから構成されるプリンタ・システムを提供している。このプリンタ・システムにおいてプリンタとプリンタ・コントローラとはバス接続されており,プリンタ・コントローラは画像データをバスを通してプリンタに供給する。プリンタはプリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するものである。   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.

上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリが備えられており,上記プリンタおよび上記プリンタ・コントローラのいずれか一方に画像データの供給の開始を示すスタート信号を発生する手段が設けられているものである。   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. , Means for generating a start signal indicating the start of the supply of image data is provided in one of the printer and the printer controller.

上記プリンタ・コントローラは,上記スタート信号の発生から所定の期間経過後にパケット単位での上記プリンタへの画像データの送信を開始する画像データ送信開始制御手段,および上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタへの画像データの送信をパケット単位で繰返す画像データ送信制御手段を備えている。   The printer controller includes image data transmission start control means for starting transmission of image data to the printer in units of packets after a predetermined period has elapsed since the start signal is generated, and an image stored in the buffer memory. Image data transmission control means for repeating transmission of image data to the printer in units of packets is provided so that data is not lost.

上記プリンタは,上記プリンタ・コントローラから送信される画像データを受信し,上記バッファ・メモリに記憶させる記憶制御手段,および上記バッファ・メモリに記憶された画像データを読出し,読出された画像データによって表わされる画像を一定速度で印画する印画制御手段をさらに備えている。   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.

この発明は上記プリンタ・システムに適した動作制御方法も提供している。すなわち,バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラから画像データをバスを通して上記プリンタに供給し,上記プリンタにおいて上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するプリンタ・システムの動作を制御する方法である。上記プリンタには,一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ供給された画像データを一時記憶するバッファ・メモリを設けておき,上記プリンタおよび上記プリンタ・コントローラのいずれか一方からスタート信号を発生させる。   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 is provided with 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 the supplied image data. A start signal is generated from one of the printer controllers.

そして,上記スタート信号の発生から所定の期間経過後に,上記プリンタ・コントローラから画像データの送信を開始させ,かつ上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタ・コントローラからの画像データの送信をパケット単位で繰返し,上記プリンタにおいて,上記プリンタ・コントローラから送信される画像データを受信して上記バッファ・メモリに記憶させ,かつ上記バッファ・メモリに記憶された画像データを読出し,読出された画像データによって表わされる画像を一定速度で印画させる。   Then, after a predetermined period from the generation of the start signal, the printer controller starts transmission of image data from the printer controller, and the printer controller does not lose the image data stored in the buffer memory. The image data is repeatedly transmitted in units of packets, and the printer receives the image data transmitted from the printer controller, stores it in the buffer memory, and reads the image data stored in the buffer memory. , The image represented by the read image data is printed at a constant speed.

この発明によると,プリンタには一駒の画像(一駒分の画像とは上述のように一枚の用紙上に印画される画像をいう)を表わす画像データのデータ量よりも少ない画像データの記憶容量をもつバッファ・メモリが備えられている。   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.

上記プリンタ・コントローラにおいて,上記スタート信号の発生から所定の期間経過後に,パケット単位での画像データの送信が開始され,かつ上記バッファ・メモリに記憶されている画像データが無くならないようにパケット単位での上記プリンタへの送信が繰返される。   In the printer controller, transmission of image data in packets is started after a predetermined period of time has elapsed from the generation of the start signal, and image data stored in the buffer memory is not lost in packet units. Are repeatedly transmitted to the printer.

プリンタでは送信された画像データをパケット単位で受信し,バッファ・メモリに一時記憶する。バッファ・メモリに記憶された画像データが読出され,読出された画像データによって表わされる画像が一定速度で印画される。   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.

プリンタには一駒分の画像を表わす画像データのデータ量を記憶できる大きな容量をもつメモリを設ける必要がなく,容量の少ないバッファ・メモリを備えれば足りコスト・ダウンを図ることができる。   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.

バッファ・メモリのデータが無くならないうちに次のデータが上記プリンタ・コントローラから送信されるので画像データの連続性を保つことができる。したがってプリンタは一定速度で画像を印画するものを用いることができる。   Since the next data is transmitted from the printer controller before the data in the buffer memory is lost, the continuity of the image data can be maintained. Therefore, a printer that prints an image at a constant speed can be used.

上記プリンタに,上記印画速度を表わす印画速度データおよび上記バッファ・メモリの記憶容量を表わす記憶容量データを記憶させてもよい。この場合,記憶されている上記印画速度データおよび上記記憶容量データを上記プリンタ・コントローラに送信する。   The printer may store printing speed data representing the printing speed and storage capacity data representing the storage capacity of the buffer memory. In this case, the stored printing speed data and the storage capacity data are transmitted to the printer controller.

また上記プリンタ・コントローラは,上記プリンタから送信される上記印画速度データおよび上記記憶容量データを受信し,受信した上記印画速度データおよび上記記憶容量データにもとづいてパケットに含まれる画像データ量を定める。   The printer controller receives the printing speed data and the storage capacity data transmitted from the printer, and determines the amount of image data included in the packet based on the received printing speed data and the storage capacity data.

上記プリンタ・コントローラにおいて,上記印画速度および上記バッファ・メモリの記憶容量を入力してもよい。この場合には入力した上記印画速度データおよび上記記憶容量データにもとづいてパケットに含まれる画像データ量を定めることとなろう。   In the printer controller, the printing speed and the storage capacity of the buffer memory may be input. In this case, the amount of image data included in the packet will be determined based on the input print speed data and the storage capacity data.

いずれにしてもパケットに含まれる画像データ量を最適に定めることができる。   In any case, the amount of image data included in the packet can be determined optimally.

プリンタによる印画動作の開始に先立ち,プリンタ・コントローラからプリンタにプリント準備コマンドを送信してもよい。この場合には,上記プリンタ・コントローラから送信されたプリント準備コマンドに応答してプリント用紙のホーム・ポジションへの位置決めを含むプリント準備を行ない,プリント準備の終了によりその終了の旨を表わすプリント準備終了データを上記プリンタ・コントローラに送信し,上記プリント準備終了データの送信後に,上記スタート信号が発生することとなろう。   Prior to the start of the printing operation by the printer, a print preparation command may be transmitted from the printer controller to the printer. In this case, in response to the print preparation command transmitted from the printer controller, the print preparation including the positioning of the print paper to the home position is performed, and the completion of the print preparation indicating the end of the print preparation is completed. After the data is transmitted to the printer controller and the print preparation completion data is transmitted, the start signal will be generated.

プリントの準備が終了したあとにプリンタ・コントローラからプリンタに画像データが送られるので,プリンタが印画可能な状態となっていないうちに画像データが送信されることを防ぐことができ,印画処理のミスを未然に防止できる。   Since the image data is sent from the printer controller to the printer after the print preparation is completed, it is possible to prevent the image data from being transmitted while the printer is not ready for printing. Can be prevented.

上記プリント準備コマンドに,コマンドであることを表わすコマンド識別データを付加し,かつ上記プリンタ・コントローラから送信される画像データに画像データであることを表わす画像データ識別データを付加してもよい。この場合,上記プリンタにおいて,上記コマンド識別データまたは上記画像データ識別データにもとづいて受信データが上記プリント準備コマンドか上記画像データかを判別し,上記プリント準備コマンドと判別されたことにより上記プリント準備を行ない,上記画像データと判別されたことにより上記画像データによって表わされる画像を印画してもよい。   Command identification data indicating a command may be added to the print preparation command, and image data identification data indicating image data may be added to the image data transmitted from the printer controller. In this case, the printer determines whether the received data is the print preparation command or the image data based on the command identification data or the image data identification data. If it is determined that the image data is determined, the image represented by the image data may be printed.

これにより受信したデータがコマンドか画像データかを迅速に認識できるので,プリント準備および印画を迅速に実行できる。   As a result, it is possible to quickly recognize whether the received data is a command or image data, so that print preparation and printing can be performed quickly.

上記プリンタ・コントローラに,第1の制御手段と第2の制御手段とを備え,上記第1の制御手段に,上記プリンタへの画像データの送信に関する送信制御を行なわせ,上記第2の制御手段に,上記送信制御を除く動作を制御するようにしてもよい。   The printer controller comprises first control means and second control means, and the first control means performs transmission control relating to transmission of image data to the printer, and the second control means. In addition, operations other than the above transmission control may be controlled.

これにより第2の制御手段による制御動作の負担が軽くなる。   Thereby, the burden of the control operation by the second control means is reduced.

上記プリンタが複数台あり,それぞれのプリンタに固有のプリンタ識別記号を割当て,かつ上記プリンタ・コントローラから出力される画像データに固有の上記プリンタ識別記号を表わすプリンタ識別データを付加するとよい。   There may be a plurality of the printers, each printer may be assigned a unique printer identification symbol, and printer identification data representing the unique printer identification symbol may be added to the image data output from the printer controller.

この場合には,上記プリンタにおいて,受信した画像データに付加されたプリンタ識別データによって表わされるプリンタ識別記号が割当てられたプリンタ識別記号と一致するかどうかを判別し,一致すると判別されたときにその識別記号を表わすプリンタ識別データが付加されている画像データにもとづいて上記印画ヘッドによる印画を行なうこととなる。   In this case, the printer determines whether or not the printer identification symbol represented by the printer identification data added to the received image data matches the assigned printer identification symbol. Printing by the print head is performed based on image data to which printer identification data representing an identification symbol is added.

プリンタ・コントローラに複数のプリンタを接続した場合でも所望のプリンタにのみ所望の画像データを送信できる。もちろんすべてのプリンタに同じ画像データを送信することもできる。   Even when a plurality of printers are connected to the printer controller, desired image data can be transmitted only to the desired printer. Of course, the same image data can be transmitted to all printers.

さらに,上記プリンタ・システムを構成するプリンタおよびプリンタ・コントローラをそれぞれ単独で構成することもできる。   Furthermore, the printer and the printer controller that constitute the printer system can be configured independently.

(1) IEEE標準1394にもとづくデータ転送この実施例によるプリンタ・システムについて説明する前にIEEE標準1394にもとづくデータ転送について説明する。   (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.

図10はバスを用いて複数の機器(コンピュータ,プリンタ,ディジタル・ビデオ・テープ・レコーダなど)A,B,C,D,EおよびFを接続した様子を示している。各機器は1または複数個のポートをもつことができる(図10の例ではすべての機器が3個のポートをもっている)。各機器のポートを接続することにより,最大63台の機器の接続が可能である。IEEE標準1394ではデイジー・チェイン接続が16を越えない限り機器を接続できる。ループ接続は無い。   FIG. 10 shows a state in which 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 (in the example of FIG. 10, all devices have three ports). 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.

IEEE標準1394ではアイソクロナス転送とアシンクロナス転送との2種類のデータ転送が可能である。アイソクロナス転送およびアシンクロナス転送のいずれにおいてもパケット単位でデータ転送が行なわれる。   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.

図13はサイクル・スタート・パケットのフォーマットを示している。サイクル・スタート・パケット・データはアイソクロナス・サイクル周期(この期間は原則として 125μs)の開始を表わすもので,後述のようにサイクル・マスタからアイソクロナス転送によって送信される。   FIG. 13 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.

サイクル・スタート・パケットには,送信先のID(機器に固有のものである),トランザクション・ラベル,リトライ・コード,アシンクロナス転送データかアイソクロナス転送データかを示すtコード,送信データの優先度を示すプライオリティ,送信元ID,読書きするアドレスのオフセット,データ長,拡張トランザクション・コード,サイクル・タイム・データおよびデータCRC(Cyclic Redundansy Check )が含まれている。   The cycle start packet indicates a transmission destination ID (which is unique to the device), a transaction label, a retry code, a 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).

IEEE標準1394では,後述のサイクル・マスタが電源立上げ時から時間の計測を開始する。この計測時間を表わすデータがサイクル・タイム・データである。後述の各ノードはカウンタを有しており,時間の計測ができる。各ノードのカウンタはサイクル・マスタから送信されるサイクル・スタート・パケット・データを受信するとリセットされる。サイクル・スタート・パケットは上述のように 125μsごとに出力されるのが原則であるが,遅延することも許される(詳しくは後述する)。この遅延時間はサイクル・スタート遅延時間と呼ばれる。サイクル・スタート遅延時間は,サイクル・タイム・データによって表わされるサイクル・マスタの計測時間と,各ノードの計測時間との差にもとづいて各ノードにおいて算出される。例えばサイクル・マスタの計測時間が 130μsであり,サイクル・スタート・パケット・データが与えられたときの各ノードの計測時間が125μsであれば,サイクル・スタート遅延時間は130 μs− 125μs=5μsとなる。   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. .

1台の被制御機器に対してこれを制御する2台以上の制御機器がある場合,1台の制御機器のみが被制御機器を制御することも可能であり,これを排他的制御という。この排他的制御が行なわれているかどうかをチェックするのに用いられる演算を特定するのが拡張トランザクション・コードである。   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.

アシンクロナス転送によってデータを送信する場合に用いられるのが図14に示すアシンクロナス・データ・パケット・フォーマットである。このフォーマットはサイクル・スタート遅延時間を表わすデータに代えて送信データがパケットに含まれる点でのみサイクル・スタート・パケット・フォーマットと異なっている。   The asynchronous data packet format shown in FIG. 14 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.

図15および図16はアイソクロナス転送で用いられるパケットのフォーマットを示すものである。図15はコマンドを送る場合に用いられるアイソクロナス・コマンド・パケットのフォーマットを,図16は画像データを送信する場合に用いられるアイソクロナス・データ・パケットのフォーマットをそれぞれ示している。   15 and 16 show the format of a packet used in isochronous transfer. FIG. 15 shows the format of an isochronous command packet used when sending a command, and FIG. 16 shows the format of an isochronous data packet used when sending image data.

これらのパケット・フォーマットには,データの長さを示すデータ長,コマンドまたは画像データに付与されるチャネル番号,tコード,同期ビットを示すSy ,データ長から同期ビットSy までのデータの誤り検出コードであるヘッダCRC,コマンドまたは画像データ,およびコマンドまたは画像データの誤り検出コードであるデータCRCが含まれている。後述のようにアイソクロナス転送ではチャネル番号が各機器に割当てられ,機器に割当てられたチャネル番号と送信されるパケットに含まれているチャネル番号とが一致するときに,その一致するチャネル番号が割当てられた機器が送信されたコマンドまたは画像データを受信する。またTg は現在のIEEE標準1394の規格では使用目的は定められておらず,「00」が記録される。   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.

図10に戻ってIEEE標準1394ではバスによって接続された各機器間における親子関係が決定される。この親子関係の決定方法は次の通りである。   Returning to FIG. 10, according to the IEEE standard 1394, a parent-child relationship between devices connected by a bus is determined. The method for determining this parent-child relationship is as follows.

各装置の電源が投入されると,ある装置から他の機器に親子関係の問い合わせが行なわれる。親子関係を問い合わせた機器が子となり,親子関係の問い合わせを受けた機器が親となる。   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 the child, and the device that has received the parent-child relationship inquiry becomes the parent.

すべての機器について親子関係が決まると,図11に示すように,全体はツリー構造となる。図11の例では,機器Bが親(ルート)である。機器AおよびCは機器Bの子となっており,機器DおよびFは機器Aの子(機器Bからみれば孫),機器Eは機器Cの子(機器Bからみれば孫)となっている。   When the parent-child relationship is determined for all devices, the whole has a tree structure as shown in FIG. In the example of FIG. 11, 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.

IEEE標準1394では上述のようにアイソクロナス転送のデータを受信するために各機器にチャネル番号が割当てられ,かつアシンクロナス転送のデータを受信するために各機器にIDが割当てられる。図示の例では機器Aにチャネル番号AおよびIDa が割当てられ,機器Bにチャネル番号BおよびIDb が割当てられ,機器Cにチャネル番号CおよびIDc が割当てられ,機器Dにチャネル番号DおよびIDd が割当てられ,機器Eにチャネル番号EおよびIDe が割当てられ,機器Fにチャネル番号FおよびIDf が割当てられている。   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.

図12はアイソクロナス転送のタイム・チャートである。   FIG. 12 is a time chart of isochronous transfer.

アイソクロナス転送の制御はサイクル・マスタと呼ばれる機器によって行なわれる。ルートがサイクル・マスタとなる。   Isochronous transfer control is performed by a device called a cycle master. The root becomes the cycle master.

サイクル・スタート・パケットがサイクル・マスタ(ルート)から出力されることによりサイクル期間が開始する。サイクル・スタート・パケットはルートに接続されているすべての機器(孫の機器を含む)に与えられる。   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.

サイクル・スタート・パケットの送出の後にアイソクロナス・データの転送が開始する。   After the cycle start packet is transmitted, transfer of isochronous data starts.

サイクル・スタート・パケットの送出後から第1の期間(ショート・ギャップの期間)Sg 経過すると,アイソクロナス転送したいすべての機器の間でアービトレーションが行なわれる。アービトレーションはバスの使用許可を受けることであり,次のようにして行なわれる。   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.

まずアイソクロナス転送をしようとする機器からその親機器にバスの使用の要求信号が送信される。この要求信号はルートに近い機器から順に送信される。要求信号を受信した親機器はさらにその親機器に要求信号を中継する。結果的には,アイソクロナス転送したいすべての機器からの要求信号がサイクル・マスタにまで到達する。サイクル・マスタにはどの機器が優先的にバスの使用をできるかが記憶されており,その優先順位にしたがってショート・ギャップSg の経過時点でバスを使用できる機器が決定される。この決定された機器にのみ,バスの使用を許可する信号がショート・ギャップSg の経過時点のタイミングでサイクル・マスタから出力される。他の機器にはショート・ギャップSg の経過時点のタイミングにおいてバスの使用を拒否する信号がサイクル・マスタから送信される。バスの使用を許可する信号を受信した機器がデータを送信できる。   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.

図11に示す例では,機器A,CおよびFからバスの使用を要求する要求信号が送信され,これらの要求信号はルートである機器Bが受信している。ルートである機器Bから機器Cにバスの使用を許可する許可信号が送信され,機器Cからデータの送信が可能となる。機器Aおよび機器Fにはバスの使用を拒否する拒否信号が送信され,機器Aおよび機器Fからはその時点においてデータの送信はできないこととなる。機器Aおよび機器Fは,機器Cが1パケット分のデータを送信した後,再びアービトレーションを行ない,バスの使用を許可する許可信号を受信したときにデータの送信を行なうこととなる。   In the example shown in FIG. 11, request signals requesting the use of the bus are transmitted from the devices A, C, and F, and these request signals are received by the device B as a route. A permission signal for permitting the use of the bus is transmitted from the device B as the route to the device C, and data can be transmitted from the device C. 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.

図12に戻ってサイクル・スタート・パケットの送出後からショート・ギャップSg の経過の時点においてバスの使用権を得た機器からアイソクロナス転送データがパケット単位で送信される。このパケット(図15または図16に示すフォーマットをもつ)のデータの前にはデータの始まりを表わすプレフィクス・データが付加され,パケットの後にはデータの終りを表わすエンド・データが付加される。   Returning to FIG. 12, 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. 15 or FIG. 16), and end data indicating the end of the data is added after the packet.

エンド・データはすべての機器に与えられる。これによりすべての機器はバスが空いていることを認識する。エンド・データの受信後からショート・ギャップSg の期間が経過した時点においてアイソクロナス転送データを送信したい機器が上述のように再びバスの使用の要求信号を送信する(アービトレーション)(アイソクロナス・サイクル期間内において1度バスの使用権を得た機器はそのアイソクロナス・サイクル期間内では再び要求信号は出力しない。アイソクロナス転送するすべての機器がアイソクロナス・サイクル期間内のいずれかの時点において1パケット分のデータを送信できる)。   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).

アイソクロナス期間内における,アイソクロナス転送が終ると第2の期間(ロング・ギャップlg )が経過した時点においてアシンクロナス転送のためのバスの使用権の確保が行なわれる。バスの使用権を得た機器からアシンクロナス転送のデータがパケット単位で送信される。アシンクロナス転送においても,パケットの前にデータの始まりを表わすプレフィクス・データが付加され,パケットの後にエンド・データが付加される。アシンクロナス転送においては,アシンクロナス転送において受信した機器からアシンクロナス転送データを送信した機器に受信した旨を表わすアクナリッジ・データACKが出力される。このアクナリッジ・データの前後にもプレフィクス・データおよびエンド・データが付加される。   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.

アシンクロナス転送するデータ量が多いとサイクル・スタート・パケットの送出間隔が 125μsよりも遅れる。サイクル・スタート・パケットの送出間隔が 125μs期間を越えた場合,上述のように送出サイクル・スタート・パケットの遅延時間Δtはサイクル・タイム・データによって表わされる計測時間と各ノードの計測時間にもとづいて算出される(図13参照)。   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. 13).

(2) プリンタ・システムこの実施例によるプリンタ・システムは,プリンタ20とプリンタ20によるプリントを制御するプリンタ・コントローラ10とがIEEE標準1394にもとづくケーブルによって互いに接続されることにより構成される。   (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.

図1はプリンタ・コントローラ10の電気構成を示すブロック図である。   FIG. 1 is a block diagram showing the electrical configuration of the printer controller 10.

プリンタ・コントローラ10はメインCPU11によって全体の動作が統括される。プリンタ・コントローラ10にはメイン・メモリ12が含まれている。このメイン・メモリ12にはプリンタ・コントローラ10の動作プログラム,プリンタ20に送信し,プリンタ20によってプリントすべき画像を表わす画像データ,その他のデータが格納されている。またプリンタ・コントローラ10には上述したアイソクロナス転送およびアシンクロナス転送を行なうための通信制御回路13が含まれている。この通信制御回路13には送信すべき1パケット分のデータを一時記憶するための送信用転送メモリ13A,プリンタ20から送信されてきた1パケット分のデータを一時記憶するための受信用転送メモリ13B,ならびにプリンタ・コントローラ10のIDを表わすデータおよびチャネル番号を表わすデータを記憶するレジスタ13Cが含まれている。アイソクロナス転送が行なわれるときは,アイソクロナス期間ごとに通信制御回路13からメインCPU11に割込みが行なわれる。この割込みに応答してメインCPU11によってメイン・メモリから画像データの読出しが行なわれる。   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.

図2はプリンタ20の電気的構成を示すブロック図である。   FIG. 2 is a block diagram showing the electrical configuration of the printer 20.

プリンタ20の全体の動作はシステム・コントローラ21によって統括される。システム・コントローラ21にはプリント用紙の有無を含むプリンタ20の現在の状態を表わすデータなどを一時記憶するRAM22およびプリンタ20の動作プログラム,プリンタ20の印画速度,後述する送信用転送メモリ25A,受信用転送メモリ25BおよびFIFO(first in first out)メモリ26のメモリ容量を含むプリンタの仕様データその他のデータが記憶されているROM23が接続されている。さらにプリンタ20には操作キーおよび状態表示回路24が含まれている。操作キーによる設定を表わす信号はシステム・コントローラ21に与えられ,かつプリンタ20の状態が状態表示回路24に表示される。   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 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.

プリンタ20にも上述したアイソクロナス転送およびアシンクロナス転送を行なうための通信制御回路25が含まれている。この通信制御回路25には送信すべき1パケット分のデータを一時記憶するための送信用転送メモリ25A,およびプリンタ・コントローラ10から送信されてきた1パケット分のデータを一時記憶するための受信用転送メモリ25Bならびにプリンタ20のIDを表わすデータおよびチャネル番号を記憶するレジスタ25Cが含まれている。通信制御回路25において1パケット分のデータを受信すると通信割込みが発生しシステム・コントローラ21に与えられる。この割込みに応答して,受信したデータのFIFOメモリ26への転送が行なわれる。   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.

プリンタ20にはFIFOメモリ26が含まれている。このFIFOメモリ26はプリンタ20によってプリントされる画像を表わす画像データのうち2ライン分の画像データを確認できる容量をもつものである。   The printer 20 includes a FIFO memory 26. The FIFO memory 26 has a capacity capable of confirming image data for two lines of image data representing an image printed by the printer 20.

プリント・エンジン28は印画ヘッドを含み,システム・コントローラ21からのプリント開始要求信号に応答してプリントを開始する。システム・コントローラ21からプリント・エンジン28にプリント開始要求信号が与えられると,プリント・エンジン28からデータ要求信号が発生しFIFOメモり26に与えられる。プリント・エンジン28からのデータ要求信号に応答して,記憶している画像データがFIFOメモリ26から出力される。1ライン分の画像データがFIFOメモリ26から出力されると転送完了割込信号が,FIFOメモリ26からシステム・コントローラ21に与えられる。これによりシステム・コントローラ21はFIFOメモリ26から1ライン分の画像データが出力されたことを認識する。   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.

FIFOメモリ26から出力されたデータはデータ処理回路27に与えられ,システム・コントローラ21によって設定された色変換係数にもとづく色変換処理を含むデータ処理が行なわれ,出力される。データ処理回路27から出力された画像データがプリント・エンジン28に与えられ,プリント・エンジン28に含まれる印画ヘッドによって一定速度でプリントされる。 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.

図3は,プリンタ・コントローラ10からプリンタ20に画像データを送信するときのタイム・チャート,図4は,プリンタ・コントローラ10からプリンタ20に画像データを送信するときにプリンタ・コントローラ10とプリンタ20との間において行なわれるコマンドおよびデータの送受信の様子を表わしている。ここでは簡単のために1台のプリンタ・コントローラ10と1台のプリンタ20とが接続されているものとする。上述したようにIEEE標準1394では合計63台の機器の接続が可能であるので,プリンタ・コントローラとプリンタを含めて合計63台の機器を接続し,所望のプリンタに画像データを送信し,プリントすることもできる。図1および図2の例ではたとえばプリンタ・コントローラ10が親(サイクル・マスタ)であり,プリンタ20が子である。   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.

まず,レディ信号の出力要求コマンドがプリンタ・コントローラ10から出力され,プリンタ20に与えられる。プリンタ20においてレディ信号出力要求信号が受信されると,システム・コントローラ20によってRAM21が参照されレディ状態であればレディ信号が出力される。プリント・コントローラ10においてレディ信号が受信されると,第1のプリンタ仕様データ要求コマンドがプリンタ・コントローラ10から出力されプリンタ20に与えられる。プリンタ20において第1のプリンタ仕様データ要求コマンドが受信されるとシステム・コントローラ21によってプリンタ20の印画速度,FIFOメモリ26の記憶容量を含むプリンタ20の固定仕様データがROM23から読出される。この固定の仕様データはプリンタ20からプリント・コントローラ10に与えられる。   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 20 refers to the RAM 21 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.

つづいてプリンタ・コントローラ10からプリンタ20にプリンタ予約データが与えられる。プリンタ予約データはプリンタ20がプリンタ・コントローラ10からの画像データの送信を受付けるようにプリンタを設定するデータであり,プリンタ20のRAM22に書込まれる。さらに第2のプリンタ仕様データ要求コマンドがプリンタ・コントローラ10から出力されプリンタ20に与えられる。プリンタにおいて第2のプリンタ仕様データ要求コマンドが受信されるとシステム・コントローラ21によってプリンタ20の現在の状態を表わすデータがRAM22から読出される。この現在の状態を表わすデータはプリンタ20からプリント・コントローラ10に与えられる。   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.

ここまでのプリンタ・コントローラ10とプリンタ20とのデータまたはコマンドの送受信は図14に示すフォーマットにしたがってアシンクロナス転送で行なわれる。もっともアシンクロナス転送ではなく,アイソクロナス転送を用いるようにしてもよい。次に述べるプリント・スタンバイ・コマンド以降の転送データはアイソクロナス転送となる。   Data / command transmission / reception 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.

つづいてプリント・コントローラ10とプリンタ20との間においてアイソクロナス転送を行なうためにプリンタ・コントローラ10およびプリンタにチャネル番号の設定が行なわれる。プリンタ・コントローラ10に設定されたチャネル番号を表わすデータはレジスタ13Cに記憶され,プリンタ20に設定されたチャネル番号を表わすデータはレジスタ25Cにも記憶される。   Subsequently, in order to perform isochronous transfer between the print controller 10 and the printer 20, channel numbers are set in the printer controller 10 and the printer. 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.

チャネル番号が設定されると,図16に示すパケット・フォーマットにしたがって,メインCPU11の制御のもとに通信制御回路13においてプリンタ・スタンバイ・コマンドが生成され,プリンタ・コントローラ10からプリンタ20に送信される。プリンタ20においてプリンタ・スタンバイ・コマンドが受信されると,プリンタ用紙のホーム・ポジションへの位置決めなどのプリント準備が開始する。プリンタ20においてプリント準備が終了するとプリント準備完了データがプリンタ20から出力され,プリンタ・コントローラ10に与えられる。   When the channel number is set, 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 in accordance with the packet format shown in FIG. 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 print preparation is completed in the printer 20, print preparation completion data is output from the printer 20 and given to the printer controller 10.

プリンタ・コントローラ10においては,プリント準備完了データを受信するとプリント・スタート・コマンドが生成される。プリント・スタート・コマンドでは,プリント・スタート・コマンドを表わすために同期ビットSy の内容が「3」とされる。このプリント・スタート・コマンドはプリンタ・コントローラ10からプリンタ20に与えられる。   When the printer controller 10 receives print preparation completion data, a print start command is generated. In the print start command, the content of the synchronization bit Sy is set to “3” to indicate the print start command. This print start command is given from the printer controller 10 to the printer 20.

プリント・スタート・コマンドがプリンタ・コントローラ10から出力されると,1パケットで送信できるデータ量の送信データがメイン・メモリ12から読出され通信制御回路13に含まれる送信用転送メモリ13Aに与えられ一時記憶される。通信制御回路13において図16のフォーマットにしたがってパケットが生成される。画像の最初の部分を表わす画像データを送信するときにはその旨を表わすように同期ビットSy が「1」とされる。このようにして生成されたパケット・データはプリント・スタート・コマンドの出力後一定のディレイ期間経過後にプリンタ・コントローラ10から送信され,プリンタ20において受信される。一定のディレイ時間を確保しているのでプリンタ20に含まれる印画ヘッドが実際に動き出すときに画像データが送られてくることとなる。少ない容量のFIFOメモリ26を使用できる。   When the print start command is output from the printer controller 10, transmission data having a data amount that can be transmitted in one packet is read from the main memory 12 and given to the transmission transfer memory 13 A included in the communication control circuit 13. Remembered. The communication control circuit 13 generates a packet according to the format of FIG. When image data representing the first part of the image is transmitted, the synchronization bit Sy is set to "1" to indicate that fact. The packet data generated in this way is transmitted from the printer controller 10 and received by the printer 20 after a certain delay period has elapsed after the output of the print start command. Since a certain delay time is secured, image data is sent when the print head included in the printer 20 actually starts moving. A small capacity FIFO memory 26 can be used.

図1および図2に示す例では1台のプリンタ・コントローラ10に1台のプリンタ20が接続されているので,アイソクロナス・サイクル期間内におけるデータの送受信をこれらのプリント・コントローラ10とプリンタ20とだけで使用できる。プリント・コントローラ10からプリンタ20に送信する画像データのデータ量をアイソクロナス転送において許容される範囲まで大きくできる。画像データの転送が迅速となる。   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.

プリンタ・コントローラ10から送信された1パケット分のデータは,通信制御回路25に含まれる受信用転送メモリ25Bに一時記憶される。通信用制御回路25において1パケット分のデータに含まれるチャネル番号を表わすデータとレジスタ25に記憶されているチャネル番号を表わすデータとの比較により自分宛に送信されたデータかどうかが判断される。自分宛に送信されたデータであることが判断されると通信割込みが発生し,システム・コントローラ21の制御のもとFIFOメモリ26に順次書込まれていく。   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.

つづいて画像データが1パケット分ずつプリンタ・コントローラ10からプリンタ20に一定周期で送信されていく。画像の最後の部分を表わす画像データまではパケットの同期ビットSy は「0」とされており,画像データがまだ続くことを表わしている。   Subsequently, the image data is transmitted from the printer controller 10 to the printer 20 at regular intervals for each packet. Up to the image data representing the last part of the image, the synchronization bit Sy of the packet is set to “0”, indicating that the image data still continues.

プリンタ20において受信された画像データは順次FIFOメモり26に格納されていき,プリント・エンジン28からのデータ要求信号にしたがって読出され,データ処理回路27を介してプリント・エンジン28に与えられる。これによりプリント・エンジン28に含まれる印画ヘッドによって一定速度で画像がプリントされていく。   Image data received by the printer 20 is sequentially stored in the FIFO memory 26, read out in accordance with a data request signal from the print engine 28, and supplied to the print engine 28 through 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.

プリント・コントローラ10からは常に一定の周期で画像データが送信されてくるので,プリンタ20には一駒分の画像データを格納する大容量の画像メモリを備える必要がない。わずか数ライン分の画像データを格納できるFIFOメモリ26を備えておくだけで一定速度のプリントが可能となる。   Since image data is always transmitted from the print controller 10 at a constant cycle, 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.

画像の最後の部分を表わす画像データがメイン・メモリ12から読出されると,同期ビットSy が「2」に設定されて,通信制御回路13においてパケット・データが生成される。この最後の画像データがプリンタ・コントローラ10からプリンタ20に送信されて一駒分の画像データの送信が終了する。   When image data representing the last part of the image is read from the main memory 12, the synchronization bit Sy is set to "2" and packet data is generated in the communication control circuit 13. 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.

画像データの送信が終了すると,プリントの終了を表わすデータがプリンタ20からプリンタ・コントローラ10に与えられる。プリンタ・コントローラ10においてプリンタの終了を表わすデータが受信されると,プリンタ動作解除コマンドがプリンタ・コントローラ10からプリンタ20に与えられる。プリンタ20においてプリンタ動作解除コマンドが受信されると,RAM22に記憶されたプリンタのデータなどが消去され,プリンタ20は初期化される。   When the transmission of the image 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.

また空パケット(送信データが0のパケット)を送信するときには同期ビットSy を「4」に設定してもよい。これにより同期ビットSy の内容を読取ることによって空パケットか否かを検出できる。空パケットの検出により,プリンタ20が受信したデータのFIFOメモリ26への転送が不要となる。   Alternatively, the synchronization bit Sy may be set to “4” when transmitting an empty packet (packet whose transmission data is 0). Thus, it is possible to detect whether or not the packet is an empty packet by reading the contents of the synchronization bit Sy. Due to the detection of the empty packet, the transfer of the data received by the printer 20 to the FIFO memory 26 becomes unnecessary.

図5は,画像データの具体的な転送レートを示すタイム・チャートである。   FIG. 5 is a time chart showing a specific transfer rate of image data.

ここではR(赤),G(緑)およびB(青)のデータによって画像が表現されるものとする。またプリントされる画像は1色の1ラインあたり2560バイト必要とする。したがってR,GおよびBの3色では1ラインあたり7680バイトの画像データが必要となる。さらに1ラインを印画するために必要とされる時間(プリンタのライン周期)を7(ms),アイソクロナス転送によって1パケット当り512 バイト分の画像データを送ることができるとする。1ライン当りに必要な画像データのデータ量7680バイトを1パケット当りに送ることができる画像データ量512 バイトで割ると,1ラインに必要なパケット数(7680バイト/512 バイト=15パケット)が算出できる。 Here, it is assumed that an image is represented by R (red), G (green), and B (blue) data. An image to be printed requires 2560 bytes per line of one color. Therefore, for the three colors R, G, and B, image data of 7680 bytes per line is required. Further, it is assumed that the time required for printing one line (printer line cycle) is 7 (ms), and image data of 512 bytes per packet can be sent by isochronous transfer. Dividing the data amount of 7680 bytes necessary for one line by 512 bytes of image data that can be sent per packet, the number of packets required for one line (7680 bytes / 512 bytes = 15 packets) is calculated. it can.

また,プリンタ20の1ライン周期のアイソクロナス転送サイクル数はプリンタ20の1ライン周期(7ms)をアイソサイクル周期( 125μs)で割ることにより算出できる(7ms/ 125μs=56サイクル)。   Further, the number of isochronous transfer cycles in one line cycle of the printer 20 can be calculated by dividing one line cycle (7 ms) of the printer 20 by the isocycle cycle (125 μs) (7 ms / 125 μs = 56 cycles).

プリンタ20の1ライン周期に含まれるアイソクロナス・サイクルが56サイクルであり,この56サイクル中に15パケットを送信できれば良いから56サイクルを15パケットで割って(56サイクル/15パケット=3.733 サイクル),3.733 サイクルごとに1パケット分の画像データをプリンタ・コントローラ10からプリンタ20に送信するようにすればよい。この3.733 サイクルの間のサイクルにおいては空のデータをプリンタ・コントローラ10からプリンタ20に送信する。   The isochronous cycle included in one line cycle of the printer 20 is 56 cycles, and it is sufficient if 15 packets can be transmitted during the 56 cycles. Therefore, 56 cycles are divided by 15 packets (56 cycles / 15 packets = 3.733 cycles). The image data for one packet may be transmitted from the printer controller 10 to the printer 20 for each cycle. In the cycle between the 3.733 cycles, empty data is transmitted from the printer controller 10 to the printer 20.

図6は,画像データの他の転送レートを示すタイム・チャートである。   FIG. 6 is a time chart showing other transfer rates of image data.

上述したように1ライン分の画像データは7msあたり7680バイト必要であるから 125μsの1アイソサイクルあたり137.1 バイトの画像データが必要となる(7680バイト/7μs=137.1 バイト/ 125μs)。したがって1アイソサイクルの周期でメイン・メモリ12から137.1 バイト分の画像データを読出し,通信制御回路13に含まれる送信用転送メモリ13Aに与え,この送信用転送メモリ13Aに512 バイトの1パケット分の画像データが蓄積されたあとにプリンタ・コントローラ10からプリンタ10に画像データを転送してもよい。 As described above, since image data for one line requires 7680 bytes per 7 ms, 137.1 bytes of image data is required per 125 μs isocycle (7680 bytes / 7 μs = 137.1 bytes / 125 μs). Therefore, 137.1 bytes of image data is read from the main memory 12 in a cycle of one isocycle and given to the transmission transfer memory 13A included in the communication control circuit 13, and one packet of 512 bytes is sent to the transmission transfer memory 13A. The image data may be transferred from the printer controller 10 to the printer 10 after the image data is accumulated.

図7は画像データのさらに他の転送レートを示すタイム・チャートである。   FIG. 7 is a time chart showing still another transfer rate of image data.

図7においては,1アイソクロナス・サイクルおきに1パケット分の画像データをメイン・メモリ12から読出し,通信制御回路13に含まれる送信用転送メモリ13Aに格納している。送信用転送メモリ13Aに格納された画像データが1アイソクロナス・サイクルおきにプリンタ・コントローラ10からプリンタ20に送信される。   In FIG. 7, image data for one packet is read from the main memory 12 every other isochronous cycle and stored in the transmission transfer memory 13A included in the communication control circuit 13. The image data stored in the transmission transfer memory 13A is transmitted from the printer controller 10 to the printer 20 every other isochronous cycle.

図5から図7に示すように画像データを転送せずにすでに上述したように1アイソクロナス・サイクルごとに1パケット分の画像データを連続してプリンタ・コントローラ10からプリンタ20に送信するようにしてもよい。   As shown in FIGS. 5 to 7, image data for one packet is continuously transmitted from the printer controller 10 to the printer 20 every isochronous cycle as described above without transferring the image data. Also good.

図8はプリンタ・コントローラからプリンタへの画像データの転送の様子を示すもので,図3に相当している。   FIG. 8 shows how image data is transferred from the printer controller to the printer, and corresponds to FIG.

図8に示す画像データの転送では1駒の画像をプリントするために,図3に示す画像データの転送が1色ごとに複数回行なわれる。1色について1駒分の画像データの転送が終了すると,プリント用紙が再びホーム・ポジションに戻され次の色についての1駒分の画像データの転送が行なわれる。各色ごとに1駒分の画像データがプリンタ・コントローラからプリンタに送信される。これにより高精細なカラー画像がプリントされる。   In the transfer of image data shown in FIG. 8, in order to print one frame image, the transfer of image data shown in FIG. 3 is performed a plurality of times for each color. When the transfer of image data for one frame for one color is completed, the printing paper is returned to the home position again, and image data for one frame for the next color is transferred. Image data for one frame is transmitted from the printer controller to the printer for each color. As a result, a high-definition color image is printed.

図9は他の実施例を示すものでプリンタ・コントローラ10Aの電気的構成を示すブロック図である。図9において図1に示すものと同一物には同一符号を付して説明を省略する。   FIG. 9 shows another embodiment and is a block diagram showing the electrical configuration of the printer controller 10A. In FIG. 9, the same components as those shown in FIG.

図9に示すプリンタ・コントローラ10Aにおいては,新たにサブ・プロセス回路15が設けられている。このサブ・プロセス回路15はPCI(peripheral component interconnect )14を介してメインCPU11との間でデータ転送が行なわれる。メインCPU11とサブ・プロセス回路15との間で転送されるコマンドを一時記憶するためのコマンド・レジスタ16も設けられている。   In the printer controller 10A shown in FIG. 9, a sub-process circuit 15 is newly provided. This sub-process circuit 15 performs data transfer with the main CPU 11 via a PCI (peripheral component interconnect) 14. A command register 16 for temporarily storing commands transferred between the main CPU 11 and the sub-process circuit 15 is also provided.

メイン・メモリ12に格納されている画像データはサブ・プロセス回路15により読出され一時バッファ・メモリ17に転送される。バッファ・メモリ17に記憶された画像データが通信制御回路13に含まれる送信用転送メモリ13Aに与えられ,プリンタ20に送信されることとなる。   The image data stored in the main memory 12 is read by the sub-process circuit 15 and transferred to the temporary buffer memory 17. The image data stored in the buffer memory 17 is given to the transmission transfer memory 13 A included in the communication control circuit 13 and transmitted to the printer 20.

図9に示すプリンタ・コントローラ10Aではメイン・メモリ12からの画像データの読出しをサブ・プロセス回路15によって行なっているのでメインCPU11の負担が軽くなる。   In the printer controller 10A shown in FIG. 9, image data is read from the main memory 12 by the sub-process circuit 15, so that the burden on the main CPU 11 is reduced.

さらに図9に示すプリンタ・コントローラでは操作キー18が設けられている。この操作キー18によりユーザは画像データを送信すべきプリンタの仕様を入力することができる。これによりプリンタ・コントローラ10Aとプリンタ20とのデータの送受信回数を少なくできる。またプリンタ・コントローラ10Aに,プリンタの仕様をプリンタごとに記憶するメモリを設けておき,メモリからプリンタの仕様を読出して操作キー18によって選択するようにしてもよい。   Further, an operation key 18 is provided in the printer controller shown in FIG. The operation key 18 allows the user to input the specifications of the printer to which image data is to be transmitted. As a result, the number of data transmission / reception between the printer controller 10A and the printer 20 can be reduced. Alternatively, the printer controller 10A may be provided with a memory for storing the printer specifications for each printer, and the printer specifications may be read from the memory and selected by the operation key 18.

プリンタ・コントローラの電気的構成を示すブロック図である。FIG. 2 is a block diagram illustrating an electrical configuration of a printer controller. プリンタの電気的構成を示すブロック図である。FIG. 2 is a block diagram illustrating an electrical configuration of a printer. プリンタ・コントローラからプリンタに画像データを送信する場合のタイム・チャートである。6 is a time chart when image data is transmitted from a printer controller to a printer. プリンタ・コントローラからプリンタに画像データを送信する場合にプリンタ・コントローラとプリンタとの間で送受信されるコマンドおよびデータを示している。The figure 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. 画像データの転送レートの一例を示すタイム・チャートである。It is a time chart which shows an example of the transfer rate of image data. 画像データの転送レートの他の一例を示すタイム・チャートである。It is a time chart which shows another example of the transfer rate of image data. 画像データの転送レートの他の一例を示すタイム・チャートである。It is a time chart which shows another example of the transfer rate of image data. プリンタ・コントローラからプリンタに画像データを送信する場合のタイム・チャートである。6 is a time chart when image data is transmitted from a printer controller to a printer. プリンタ・コントローラの電気的構成を示すブロック図である。FIG. 2 is a block diagram illustrating an electrical configuration of a printer controller. IEEE1394によって接続された機器のブロック図である。It is a block diagram of the apparatus connected by IEEE1394. IEEE1394によって接続された機器をツリー構造にして示すブロック図である。It is a block diagram which shows the apparatus connected by IEEE1394 as a tree structure. アイソクロナス転送のタイム・チャートである。It is a time chart of isochronous transfer. サイクル・スタート・パケット・フォーマットを示す。Indicates the cycle start packet format. アシンクロナス転送されるデータのパケット・フォーマットを示す。Indicates the packet format of data transferred asynchronously. アイソクロナス・コマンド・パケット・フォーマットを示す。Indicates the isochronous command packet format. アイソクロナス・データ・パケット・フォーマットを示す。Indicates the isochronous data packet format.

符号の説明Explanation of symbols

10,10A プリンタ・コントローラ
11 メインCPU
12 メイン・メモリ
13,25 通信制御回路
13A,25A 送信用転送メモリ
13B,25B 受信用転送メモリ
20 プリンタ
21 システム・コントローラ
26 FIFOメモリ
28 プリンタ・エンジン

10, 10A 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 Printer
21 System controller
26 FIFO memory
28 Printer engine

Claims (16)

バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラは画像データをバスを通して上記プリンタに供給し,上記プリンタは上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するプリンタ・システムにおいて,
上記プリンタ・コントローラと上記プリンタとのそれぞれの機器が送信先を表わすチャネル番号が付加されたデータの送受信を相互にでき,機器を識別するためのチャネル番号がそれぞれの機器に付与されており,
上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,かつ上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリが備えられており,上記プリンタおよび上記プリンタ・コントローラのいずれか一方に画像データの供給の開始を示すスタート信号を発生する手段が設けられており,
上記プリンタ・コントローラは,
上記スタート信号の発生から所定の期間経過後にパケット単位であって,上記プリンタの上記チャネル番号と一致する上記チャネル番号が付加された画像データの上記プリンタへの送信を開始する画像データ送信開始制御手段,および
上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタへの画像データの送信をパケット単位で繰返す画像データ送信制御手段をさらに備え,
上記プリンタは,
上記プリンタ・コントローラから送信される画像データを受信し,画像データに付加されているチャネル番号と自己の機器に付与されているチャネル番号とが一致するときに,受信した画像データを上記バッファ・メモリに記憶させる記憶制御手段,および
上記バッファ・メモリに記憶された画像データを読出し,読出された画像データによって表わされる画像を一定速度で印画する印画制御手段をさらに備えている,
プリンタ・システム。
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
Each device of the printer controller and the printer can mutually transmit and receive data to which a channel number indicating a transmission destination is added, and a channel number for identifying the device is assigned to each device.
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. , A means for generating a start signal indicating the start of supply of image data is provided in one of the printer and the printer controller,
The printer controller above
A packet unit after a predetermined time period from the occurrence of the start signal, the image data transmission start control for starting the transmit to the printer of the image data in which the channel number is added to matching the channel number of the printer And image data transmission control means for repeating the transmission of the image data to the printer in units of packets so that the image data stored in the buffer memory is not lost,
The above printer
When the image data transmitted from the printer controller is received, and the channel number added to the image data matches the channel number assigned to its own device, the received image data is stored in the buffer memory. Storage control means for storing the image data, and print control means for reading the image data stored in the buffer memory and printing the image represented by the read image data at a constant speed,
Printer system.
上記プリンタが,
印画速度を表わす印画速度データおよび上記バッファ・メモリの記憶容量を表わす記憶容量データを記憶するプリンタ仕様データ記憶手段,ならびに
上記プリンタ仕様データ記憶手段に記憶されている上記印画速度データおよび上記記憶容量データを上記プリンタ・コントローラに送信するプリンタ仕様データ送信手段をさらに備え,
上記プリンタ・コントローラが,
上記プリンタ仕様データ送信手段から送信される上記印画速度データおよび上記記憶容量データを受信するプリンタ仕様データ受信手段をさらに備え,
上記プリンタ仕様データ受信手段において受信した上記印画速度データおよび上記記憶容量データにもとづいてパケットに含まれる画像データ量を定めるものである,
請求項1に記載のプリンタ・システム。
The printer
Printer specification data storage means for storing print speed data representing the print speed and storage capacity data representing the storage capacity of the buffer memory, and the print speed data and the storage capacity data stored in the printer specification data storage means Is further provided with a printer specification data transmitting means for transmitting to the printer controller,
The printer controller is
Printer specification data receiving means for receiving the printing speed data and the storage capacity data transmitted from the printer specification data transmitting means;
The amount of image data included in the packet is determined based on the printing speed data and the storage capacity data received by the printer specification data receiving means.
The printer system according to claim 1.
上記プリンタ・コントローラが,
上記印画速度および上記バッファ・メモリの記憶容量を入力するプリンタ仕様情報入力手段を備え,
上記プリンタ仕様情報入力手段から入力された上記印画速度データおよび上記記憶容量データにもとづいて,パケットに含まれる画像データ量を定めるものである,
請求項1に記載のプリンタ・システム。
The printer controller is
Printer specification information input means for inputting the printing speed and the storage capacity of the buffer memory;
The image data amount included in the packet is determined based on the printing speed data and the storage capacity data input from the printer specification information input means.
The printer system according to claim 1.
上記プリンタ・コントローラが,
プリンタ準備コマンドを上記プリンタに送信する準備コマンド送信手段をさらに備え,
上記プリンタが,
上記準備コマンド送信手段から送信されるプリント準備コマンドに応答してプリント用紙のホーム・ポジションへの位置決めを含むプリント準備を行なうプリント準備制御手段,および
上記プリント準備制御手段によるプリント準備の終了によりその終了の旨を表わすプリント準備終了データを上記プリンタ・コントローラに送信するプリント準備終了送信手段をさらに備え,
上記プリント準備終了送信手段からの上記プリント準備終了データの送信後に,上記スタート信号が発生する,
請求項1に記載のプリンタ・システム。
The printer controller is
A preparation command transmitting means for transmitting a printer preparation command to the printer;
The printer
In response to the print preparation command transmitted from the preparation command transmission means, the print preparation control means for preparing the print including positioning of the print paper to the home position, and the termination upon completion of the print preparation by the print preparation control means Print preparation completion transmission means for transmitting print preparation completion data representing the above to the printer controller,
The start signal is generated after transmission of the print preparation end data from the print preparation end transmission means.
The printer system according to claim 1.
上記プリント準備コマンドに,コマンドであることを表わすコマンド識別データが付加されており,かつ上記プリンタ・コントローラから送信される画像データに画像データであることを表わす画像データ識別データが付加されており,
上記プリンタが,
上記コマンド識別データまたは上記画像データ識別データにもとづいて受信データが上記プリント準備コマンドか上記画像データかを判別するデータ判別手段を備え,
上記データ判別手段により,上記プリント準備コマンドと判別されたことにより上記プリント準備を行ない,上記画像データと判別されたことにより上記画像データによって表わされる画像を印画する,
請求項4に記載のプリンタ・システム。
Command identification data indicating a command is added to the print preparation command, and image data identification data indicating image data is added to the image data transmitted from the printer controller.
The printer
Data discrimination means for discriminating whether received data is the print preparation command or the image data based on the command identification data or the image data identification data;
The data determination means performs the print preparation when it is determined as the print preparation command, and prints the image represented by the image data when it is determined as the image data.
The printer system according to claim 4.
上記プリンタ・コントローラが,
第1の制御手段と第2の制御手段とを備えており,
上記第1の制御手段が,上記プリンタへの画像データの送信に関する送信制御を行なうものであり,
上記第2の制御手段が,上記送信制御を除く動作を制御するものである,請求項1に記載のプリンタ・システム。
The printer controller is
First control means and second control means,
The first control means performs transmission control relating to transmission of image data to the printer;
2. The printer system according to claim 1, wherein the second control means controls an operation excluding the transmission control.
上記プリンタが複数台あり,それぞれのプリンタに固有のプリンタ識別記号が割当てられており,かつ上記プリンタ・コントローラから出力される画像データに固有の上記プリンタ識別記号を表わすプリンタ識別データが付加されており,
上記プリンタが,
受信した画像データに付加されたプリンタ識別データによって表わされるプリンタ識別記号が割当てられたプリンタ識別記号と一致するかどうかを判別するプリンタ識別記号判別手段をさらに備え,
上記プリンタ識別記号判別手段において一致すると判別されたときにその識別記号を表わすプリンタ識別データが付加されている画像データにもとづいて上記印画を行なう,
請求項1に記載のプリンタ・システム。
There are a plurality of printers, each printer is assigned a unique printer identification symbol, and printer identification data representing the unique printer identification symbol is added to the image data output from the printer controller. ,
The printer
Printer identification symbol discrimination means for discriminating whether the printer identification symbol represented by the printer identification data added to the received image data matches the assigned printer identification symbol;
The printing is performed based on the image data to which the printer identification data representing the identification symbol is added when it is determined by the printer identification symbol identification means that they match.
The printer system according to claim 1.
バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラは画像データをバスを通して上記プリンタに供給し,上記プリンタは上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画し,上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリが備えられており,上記プリンタおよびプリンタ・コントローラのいずれか一方から画像データ供給の開始を表わすスタート信号が発生するプリンタ・システムにおいて用いられる上記プリンタ・コントローラであり,
上記プリンタ・コントローラと上記プリンタとのそれぞれの機器が送信先を表わすチャネル番号が付加されたデータの送受信を相互にでき,機器を識別するためのチャネル番号がそれぞれの機器に付与されており,かつ送信されたデータに付加されているチャネル番号と自己の機器に付与されているチャネル番号とが一致するときに送信されたデータを受信するものであり,
上記スタート信号の発生から所定の期間経過後にパケット単位であって,上記プリンタの上記チャネル番号と一致する上記チャネル番号が付加された画像データの上記プリンタへの送信を開始する画像データ送信開始制御手段,および
上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタへの画像データの送信をパケット単位で繰返す画像データ送信制御手段を備えている,
プリンタ・コントローラ。
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. The printer has a buffer memory for temporarily storing image data supplied from the printer controller having a storage capacity for image data smaller than the amount of image data representing an image for one frame. The printer controller used in a printer system in which a start signal indicating the start of image data supply is generated from either one of the printer and the printer controller,
Each device of the printer controller and the printer can mutually transmit and receive data to which a channel number indicating a transmission destination is added, a channel number for identifying the device is assigned to each device, and Receives data transmitted when the channel number added to the transmitted data matches the channel number assigned to its own device.
A packet unit after a predetermined time period from the occurrence of the start signal, the image data transmission start control for starting the transmit to the printer of the image data in which the channel number is added to matching the channel number of the printer Image data transmission control means for repeating transmission of image data to the printer in units of packets so that image data stored in the buffer memory is not lost,
Printer controller.
バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラから画像データをバスを通して上記プリンタに供給し,上記プリンタにおいて上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画するプリンタ・システムの動作を制御する方法であり,
上記プリンタ・コントローラと上記プリンタとのそれぞれの機器が送信先を表わすチャネル番号が付加されたデータの送受信を相互にでき,機器を識別するためのチャネル番号がそれぞれの機器に付与されており,
上記プリンタには,一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,供給された画像データを一時記憶するバッファ・メモリを設けておき,
上記プリンタおよび上記プリンタ・コントローラのいずれか一方からスタート信号を発生させ,
上記スタート信号の発生から所定の期間経過後に,上記プリンタ・コントローラから上記プリンタのチャネル番号と一致する上記チャネル番号が付加された画像データの送信を開始させ,かつ上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタ・コントローラからの画像データの送信をパケット単位で繰返し,
上記プリンタにおいて,上記プリンタ・コントローラから送信される画像データを受信し,画像データに付加されているチャネル番号と自己の機器に付与されているチャネル番号とが一致するときに,受信した画像データを上記バッファ・メモリに記憶させ,かつ上記バッファ・メモリに記憶された画像データを読出し,読出された画像データによって表わされる画像を一定速度で印画させる,
プリンタ・システムの動作制御方法。
A printer controller connected to the bus and a printer are connected. The printer controller supplies image data to the printer through a bus, and the printer expresses an image represented by the image data supplied from the printer controller at a constant speed. To control the operation of the printer system that prints with
Each device of the printer controller and the printer can mutually transmit and receive data to which a channel number indicating a transmission destination is added, and a channel number for identifying the device is assigned to each device.
The printer has a storage capacity for image data smaller than the amount of image data representing an image for one frame, and is provided with a buffer memory for temporarily storing the supplied image data.
Generate a start signal from either the printer or the printer controller,
After the elapse of a predetermined period from the generation of the start signal, transmission of the image data to which the channel number matching the printer channel number is added is started from the printer controller and stored in the buffer memory. In order not to lose the image data, the transmission of the image data from the printer controller is repeated in units of packets,
In the printer, when the image data transmitted from the printer controller is received and the channel number added to the image data matches the channel number assigned to its own device, the received image data is Reading the image data stored in the buffer memory and 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.
上記プリンタが,上記印画速度を表わす印画速度データおよび上記バッファ・メモリの記憶容量を表わす記憶容量データを記憶しており,かつ記憶されている上記印画速度データおよび上記記憶容量データを上記プリンタ・コントローラに送信し,
上記プリンタ・コントローラが,上記プリンタから送信される上記印画速度データおよび上記記憶容量データを受信し,受信した上記印画速度データおよび上記記憶容量データにもとづいてパケットに含まれる画像データ量を定める,
請求項9に記載のプリンタ・システムの動作制御方法。
The printer stores printing speed data representing the printing speed and storage capacity data representing the storage capacity of the buffer memory, and stores the printing speed data and the storage capacity data stored in the printer controller. To
The printer controller receives the print speed data and the storage capacity data transmitted from the printer, and determines the amount of image data included in the packet based on the received print speed data and the storage capacity data;
The operation control method of the printer system according to claim 9.
上記プリンタ・コントローラにおいて,上記印画速度および上記バッファ・メモリの記憶容量を入力し,入力した上記印画速度データおよび上記記憶容量データにもとづいてパケットに含まれる画像データ量を定めるものである,
請求項9に記載のプリンタ・システムの動作制御方法。
In the printer controller, the printing speed and the storage capacity of the buffer memory are input, and the amount of image data included in the packet is determined based on the input printing speed data and the storage capacity data.
The operation control method of the printer system according to claim 9.
プリント準備コマンドを上記プリンタ・コントローラから上記プリンタに送信し,
上記プリンタ・コントローラから送信されたプリント準備コマンドに応答してプリント用紙のホーム・ポジションへの位置決めを含むプリント準備を行ない,
プリント準備の終了によりその終了の旨を表わすプリント準備終了データを上記プリンタ・コントローラに送信し,
上記プリント準備終了データの送信後に,上記スタート信号が発生する,
請求項9に記載のプリンタ・システムの動作制御方法。
Send a print preparation command from the printer controller to the printer,
In response to the print preparation command sent from the printer controller, prepare for printing including positioning the print paper to the home position,
Upon completion of print preparation, print preparation completion data indicating the completion is sent to the printer controller.
The start signal is generated after sending the print preparation completion data.
The operation control method of the printer system according to claim 9.
上記プリント準備コマンドに,コマンドであることを表わすコマンド識別データが付加されており,かつ上記プリンタ・コントローラから送信される画像データに画像データであることを表わす画像データ識別データが付加されており,
上記プリンタにおいて,上記コマンド識別データまたは上記画像データ識別データにもとづいて受信データが上記プリント準備コマンドか上記画像データかを判別し,
上記プリント準備コマンドと判別されたことにより上記プリント準備を行ない,上記画像データと判別されたことにより上記画像データによって表わされる画像を印画する,
請求項12に記載のプリンタ・システムの動作制御方法。
Command identification data indicating a command is added to the print preparation command, and image data identification data indicating image data is added to the image data transmitted from the printer controller.
The printer determines whether the received data is the print preparation command or the image data based on the command identification data or the image data identification data.
When the print preparation command is determined, the print preparation is performed, and when the image data is determined, the image represented by the image data is printed.
13. The operation control method for a printer system according to claim 12.
上記プリンタ・コントローラが,
第1の制御手段と第2の制御手段とを備えており,
上記第1の制御手段が,上記プリンタへの画像データの送信に関する送信制御を行なうものであり,
上記第2の制御手段が,上記送信制御を除く動作を制御するものである,請求項9に記載のプリンタ・システムの動作制御方法。
The printer controller is
First control means and second control means,
The first control means performs transmission control relating to transmission of image data to the printer;
10. The operation control method for a printer system according to claim 9, wherein the second control means controls an operation excluding the transmission control.
上記プリンタが複数台あり,それぞれのプリンタに固有のプリンタ識別記号が割当てられており,かつ上記プリンタ・コントローラから出力される画像データに固有の上記プリンタ識別記号を表わすプリンタ識別データが付加されており,
上記プリンタにおいて,受信した画像データに付加されたプリンタ識別データによって表わされるプリンタ識別記号が割当てられたプリンタ識別記号と一致するかどうかを判別し,
一致すると判別されたときにその識別記号を表わすプリンタ識別データが付加されている画像データにもとづいて上記印画を行なう,
請求項9に記載のプリンタ・システムの動作制御方法。
There are a plurality of printers, each printer is assigned a unique printer identification symbol, and printer identification data representing the unique printer identification symbol is added to the image data output from the printer controller. ,
Determining whether the printer identification symbol represented by the printer identification data added to the received image data matches the assigned printer identification symbol in the printer;
The above-mentioned printing is performed based on the image data to which printer identification data representing the identification symbol is added when it is determined that they match.
The operation control method of the printer system according to claim 9.
バス接続されたプリンタ・コントローラとプリンタとから構成され,上記プリンタ・コントローラは画像データをバスを通して上記プリンタに供給し,上記プリンタは上記プリンタ・コントローラから供給される画像データによって表わされる画像を一定速度で印画し,上記プリンタには一駒分の画像を表わす画像データのデータ量よりも少ない画像データの記憶容量をもち,上記プリンタ・コントローラから供給される画像データを一時記憶するバッファ・メモリが備えられており,上記プリンタおよびプリンタ・コントローラのいずれか一方から画像データ供給の開始を表わすスタート信号が発生するプリンタ・システムにおいて用いられる上記プリンタ・コントローラの動作制御方法であり,上記プリンタ・コントローラと上記プリンタとのそれぞれの機器が送信先を表わすチャネル番号が付加されたデータの送受信を相互にでき,機器を識別するためのチャネル番号がそれぞれの機器に付与されており,かつ送信されたデータに付加されているチャネル番号と自己の機器に付与されているチャネル番号とが一致するときに送信されたデータを受信するものであり,
上記スタート信号の発生から所定の期間経過後にパケット単位での上記プリンタへの画像データの送信を開始し,
上記バッファ・メモリに記憶されている画像データが無くならないように,上記プリンタへの上記プリンタのチャネル番号と一致する上記チャネル番号が付加された画像データの送信をパケット単位で繰返す,
プリンタ・コントローラの動作制御方法。


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. The printer has a buffer memory for temporarily storing image data supplied from the printer controller having a storage capacity for image data smaller than the amount of image data representing an image for one frame. is is a the printer controller of the operation control method used in a printer system start signal representing the start of the image data supplied from one of the printer and printer controller occurs, the printer controller and the Pudding Each device can send and receive data to which a channel number indicating the transmission destination is added, and a channel number for identifying the device is assigned to each device and is added to the transmitted data. Receive the data sent when the channel number assigned to the device matches the channel number assigned to the device.
Start transmission of image data to the printer in packet units after a lapse of a predetermined period from the generation of the start signal,
In order not to lose the image data stored in the buffer memory, the transmission of the image data to which the channel number matching the printer channel number is added to the printer is repeated in units of packets.
Printer controller operation control method.


JP2006027816A 2006-02-06 2006-02-06 Printer system and operation control method thereof Expired - Fee Related JP4262724B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006027816A JP4262724B2 (en) 2006-02-06 2006-02-06 Printer system and operation control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006027816A JP4262724B2 (en) 2006-02-06 2006-02-06 Printer system and operation control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP21698696A Division JP4163266B2 (en) 1996-07-31 1996-07-31 Printer and control method thereof

Publications (2)

Publication Number Publication Date
JP2006150978A JP2006150978A (en) 2006-06-15
JP4262724B2 true JP4262724B2 (en) 2009-05-13

Family

ID=36629806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006027816A Expired - Fee Related JP4262724B2 (en) 2006-02-06 2006-02-06 Printer system and operation control method thereof

Country Status (1)

Country Link
JP (1) JP4262724B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5171458B2 (en) * 2008-07-28 2013-03-27 キヤノン株式会社 Print control apparatus, print control method, and computer program

Also Published As

Publication number Publication date
JP2006150978A (en) 2006-06-15

Similar Documents

Publication Publication Date Title
US6665082B1 (en) Printer system and method of controlling operation of the same
US7430660B2 (en) Data transmission apparatus, system and method, and image processing apparatus
JP3927647B2 (en) Information processing apparatus, information processing method, and information processing system
US6717694B1 (en) Data transmission apparatus, system and method, and recording medium
JP3721234B2 (en) Printer system and operation control method thereof
US6603737B1 (en) Data transmission apparatus, system and method, and image processing apparatus
EP0959590B1 (en) Data communication system operating at maximum data rate
JP4018187B2 (en) Image forming apparatus, image forming system, and image forming method
US20060242340A1 (en) Image sensing device
US6580711B1 (en) Serial interface circuit and signal processing method of the same
US6952276B2 (en) Printer detecting data precisely in response to change in data transmission speed
JP4262724B2 (en) Printer system and operation control method thereof
JPH10290247A (en) Method, device, system, and storage medium for data communication
JP4163266B2 (en) Printer and control method thereof
JPH10228365A (en) Printer, print system, and printing method
JP3682512B2 (en) Image capturing apparatus and control method thereof, printing system, printing method, and printing apparatus and control method thereof
JP4298805B2 (en) Printer system and operation control method thereof
JP4209476B2 (en) Printer system and operation control method thereof
JPH10112789A (en) Printer system and its operation control method
JP3566495B2 (en) Data transfer device, data transfer system and method, image processing device, and recording medium
JPH10109464A (en) Printer system and operation controlling method therefor
JP3647328B2 (en) Image processing apparatus, control method therefor, and image processing system
JPH10228364A (en) Data transfer device, its controlling method and printing system
JP3495879B2 (en) Data processing method, data processing device, and computer-readable recording medium
JP2000196873A (en) Information processor, information processing system, method for them, and storage medium

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090113

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

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

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

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees