JPH08249137A - Printing system - Google Patents

Printing system

Info

Publication number
JPH08249137A
JPH08249137A JP7080736A JP8073695A JPH08249137A JP H08249137 A JPH08249137 A JP H08249137A JP 7080736 A JP7080736 A JP 7080736A JP 8073695 A JP8073695 A JP 8073695A JP H08249137 A JPH08249137 A JP H08249137A
Authority
JP
Japan
Prior art keywords
data transfer
interface
data
bidirectional
host computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7080736A
Other languages
Japanese (ja)
Inventor
Naofumi Fukutome
直文 福留
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP7080736A priority Critical patent/JPH08249137A/en
Publication of JPH08249137A publication Critical patent/JPH08249137A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To transfer much data at a comparatively high speed by providing this printing system with a data transfer means for transferring data by using plural virtual communication channels in an interface capable of executing bidirectional communication and handshaking means for executing handshaking by hardware in the bidirectionally communicatable interface. CONSTITUTION: A control part 11 switches data transfer to/from a host computer 2, allocates a communication channel and controls the operation of another recorder 1. A RAM 12 stores variables for controlling data transfer or communication channels, a receiving buffer, a bit map developing area, etc. A ROM 13 stores a program for executing bidirectional data transfer to be executed by simultaneously using plural communication channels and a program for controlling the operation of other recorders 1. An operation panel 14 is used for inputting and setting up a printing environment for the recoder 1. An interface 15 can execute bidirectional data transfer at a high speed. An engine 16 outputs printing data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は双方向通信可能なインタ
ーフェースを備えた印刷システムに関し、詳しくは、複
数の仮想的な通信チャネルを使用してデータ転送を行う
印刷システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing system having an interface capable of bidirectional communication, and more particularly to a printing system which transfers data using a plurality of virtual communication channels.

【0002】[0002]

【従来の技術】従来、ホストコンピュータと記録装置と
の間で、イメージデータなどの大量で特定の制御コード
と区別できないようなデータを転送するとともに記録装
置からステータスを返却する動作を行うためのインター
フェースとして、RS−232Cのような双方向インタ
ーフェースが使用されている。
2. Description of the Related Art Conventionally, an interface for transferring a large amount of data such as image data which cannot be distinguished from a specific control code between a host computer and a printing apparatus and returning the status from the printing apparatus. For example, a bidirectional interface such as RS-232C is used.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
双方向インターフェースが使用されている従来の印刷シ
ステムにあっては、例えばRS−232Cインターフェ
ースの場合、ハンドシェークを行うのにXon/Xoff の
ような特定の制御コードが使用されており、イメージデ
ータと区別できないという課題がある。また、RS−2
32Cインターフェースでは信号線によるハンドシェー
クを行うこともできるが、その場合は転送速度が遅いた
め、大量データの転送には時間がかかるという課題もあ
る。さらに、一度大量データの転送を始めてしまうと、
その転送が終わるまで、記録装置のステータスの返却が
できないという課題もある。
However, in the conventional printing system in which the above-mentioned bidirectional interface is used, for example, in the case of the RS-232C interface, it is necessary to specify the Xon / Xoff for the handshake. However, there is a problem that it cannot be distinguished from image data. Also, RS-2
Although the 32C interface can perform a handshake using a signal line, in that case, there is a problem that it takes time to transfer a large amount of data because the transfer speed is low. Furthermore, once you start transferring large amounts of data,
There is also a problem that the status of the recording device cannot be returned until the transfer is completed.

【0004】本発明はこのような技術課題に鑑みてなさ
れたものであり、本発明の目的は、ホストコンピュータ
と記録装置との間のデータ転送を行う双方向通信可能な
インターフェースとして例えば双方向セントロニクスイ
ンターフェースなどを使用する場合に、先ずイメージデ
ータの転送中もハンドシェークはハードウェアで行うこ
とができ、また、大量のデータも比較的速く転送するこ
とができ、さらに、ある通信チャネルでイメージデータ
を転送中に別の通信チャネルで記録装置のステータスの
返却を行うことができる印刷システムを提供することで
ある。
The present invention has been made in view of the above technical problems, and an object of the present invention is, for example, a bidirectional Centronics as an interface capable of bidirectional communication for transferring data between a host computer and a recording device. When using an interface, the handshake can be performed by hardware even during the transfer of image data, and a large amount of data can be transferred relatively quickly. Furthermore, the image data can be transferred via a certain communication channel. It is an object of the present invention to provide a printing system capable of returning the status of the recording device through another communication channel.

【0005】[0005]

【課題解決のための手段】本発明は、ホストコンピュー
タから印刷データを記録装置へ転送し、該記録装置によ
り記録媒体に印刷パターンを形成する印刷システムにお
いて、ホストコンピュータと記録装置との間のデータ転
送を行うための双方向通信可能なインターフェースと、
双方向通信可能なインターフェースにおける複数の仮想
的な通信チャネルを使用してデータ転送を行うデータ転
送手段と、双方向通信可能なインターフェースにおける
ハードウェアによるハンドシェークを行うハンドシェー
ク手段と、を備える構成とすることにより、上記目的を
達成するものである。
SUMMARY OF THE INVENTION The present invention relates to a printing system for transferring print data from a host computer to a recording device and forming a print pattern on the recording medium by the recording device. An interface capable of two-way communication for performing transfer,
Data transfer means for performing data transfer using a plurality of virtual communication channels in a bidirectional communication interface, and handshake means for performing a handshake by hardware in the bidirectional communication interface. Thus, the above object is achieved.

【0006】[0006]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1は本発明を適用した印刷システムの一実施例
の概略構成を示すブロック図である。図1において、1
は記録装置(印刷装置)であり、2はホストコンピュー
タである。このホストコンピュータ2は高速で双方向デ
ータ転送が可能なインターフェースを備えている。前記
記録装置1は、制御部11、RAM12、ROM13、
操作パネル14、インターフェース15およびエンジン
16を備えている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a printing system to which the present invention is applied. In FIG. 1, 1
Is a recording device (printing device), and 2 is a host computer. The host computer 2 has an interface capable of bidirectional data transfer at high speed. The recording device 1 includes a control unit 11, a RAM 12, a ROM 13,
An operation panel 14, an interface 15 and an engine 16 are provided.

【0007】前記制御部11は、ホストコンピュータ2
との間のデータ転送の切換え、通信チャネルの割当て、
その他の記録装置1の動作制御を行うものである。前記
RAM12は、データ転送あるいは通信チャネルの制御
用の変数、受信バッファ、ビットマップ展開用の領域な
どを確保するためのものである。前記ROM13には、
図2を参照して後述するような複数の通信チャネルを同
時に使用した双方向データ転送を行うプログラムあるい
はその他の記録装置1の動作を制御するためのプログラ
ムが格納されている。
The control unit 11 includes a host computer 2
Switching of data transfer between and, allocation of communication channels,
The operation control of the other recording apparatus 1 is performed. The RAM 12 is for securing variables for data transfer or communication channel control, a reception buffer, an area for expanding a bitmap, and the like. In the ROM 13,
A program for performing bidirectional data transfer using a plurality of communication channels as described later with reference to FIG. 2 or a program for controlling other operations of the recording apparatus 1 is stored.

【0008】前記操作パネル14は、記録装置1の印刷
環境を入力設定するためのものである。前記インターフ
ェース15は高速で双方向データ転送が可能なインター
フェースである。前記エンジン16はビットマップに展
開された印刷データを出力するためのものである。
The operation panel 14 is for inputting and setting the printing environment of the recording apparatus 1. The interface 15 is an interface capable of high-speed bidirectional data transfer. The engine 16 is for outputting print data expanded into a bitmap.

【0009】図2は図1の印刷システムの記録装置(印
刷装置)1がイメージデータを受信している最中に該記
録装置1からのステータスの返却を行う動作のフローチ
ャートである。図3は図1の印刷システムのホストコン
ピュータ2がイメージデータを送信している最中に印刷
装置1へステータス返却を要求する動作のフローチャー
トである。次に、図2および図3を参照して、図1の構
成から成る本発明の印刷システムにおける動作を説明す
る。
FIG. 2 is a flow chart of the operation of returning the status from the recording apparatus 1 (printing apparatus) 1 of the printing system of FIG. 1 while receiving the image data. FIG. 3 is a flowchart of an operation in which the host computer 2 of the printing system of FIG. 1 requests the printer 1 to return the status while transmitting image data. Next, the operation of the printing system of the present invention having the configuration of FIG. 1 will be described with reference to FIGS.

【0010】なお、データ処理の制御、ビットマップへ
の展開、ビットマップの出力処理などの動作内容は公知
技術のものと同じであるので、その詳細説明は省略す
る。また、ここでは、説明を簡明にするため、インター
フェースとして双方向セントロニクスを使用し、通信チ
ャネルとしてはチャネル0とチャネル1の2個を使用で
き、ホストコンピュータ2からのイメージデータの転送
中に印刷装置1からのステータス返却を行う場合につい
て説明する。
Since the contents of operations such as data processing control, bit map expansion, and bit map output processing are the same as those of the known art, detailed description thereof will be omitted. Further, here, for the sake of simplification of description, bidirectional Centronics is used as an interface, and two communication channels, channel 0 and channel 1, can be used, and the printing device can be used during transfer of image data from the host computer 2. A case where the status is returned from 1 will be described.

【0011】図1〜図3において、先ず、記録装置(印
刷装置)1においては、制御部11の制御のもとで、ス
テップS11では、ホストコンピュータ2からのステー
タス要求コマンド受信待ちの状態となっている。ここ
で、ステータス要求コマンドを受信するとステップS1
2へ進み、ROM13に格納されているプログラムに従
って、RAM12上に要求されたステータスを作成す
る。そして、ステップS13では、RAM12上のステ
ータスをインターフェース15からホストコンピュータ
2へ送信する。
1 to 3, first, in the recording apparatus (printing apparatus) 1, under the control of the control section 11, in step S11, a status request command reception waiting state from the host computer 2 is waited. ing. Here, when the status request command is received, step S1
2, the requested status is created on the RAM 12 according to the program stored in the ROM 13. Then, in step S13, the status on the RAM 12 is transmitted from the interface 15 to the host computer 2.

【0012】ここではイメージデータを受信するために
チャネル0が使用されており、ホストコンピュータ2側
でステータス要求コマンド送信時にチャネル1に切換え
ているため、そのままチャネル1を使用してステータス
を送信する。そして、ステップS11へ戻り、再びステ
ータス要求コマンド受信待ちの状態となる。
Here, channel 0 is used to receive the image data, and since the host computer 2 switches to channel 1 when transmitting the status request command, channel 1 is used as it is to transmit the status. Then, the procedure returns to step S11, and the status request command reception waiting state is again entered.

【0013】一方、ホストコンピュータ2においては、
ステップS21においてアプリケーションプログラムか
らのステータス要求待ちの状態となっており、ステータ
ス要求が発生するとステップS22へ進む。ステップS
22では、チャネル0を使用中か否かを調べる。ここで
はイメージデータを印刷装置(プリンタ)1に送信する
ためにチャネル0を使用しているので、ステップS23
へ進んでインターフェースをチャネル1に切換える。そ
して、ステップS24へ進んでステータス要求を印刷装
置(記録装置)1へ送信し、ステップS25では記録装
置(印刷装置)1からのステータス応答の受信待ちの状
態となる。ステータス応答を受信するとステップS21
へ戻り、再びステータス要求待ちの状態となる。
On the other hand, in the host computer 2,
In step S21, the status is waiting for a status request from the application program, and when a status request occurs, the process proceeds to step S22. Step S
At 22 it is checked whether channel 0 is in use. Since channel 0 is used here to transmit the image data to the printing apparatus (printer) 1, step S23 is performed.
Go to and switch the interface to channel 1. Then, the process proceeds to step S24, the status request is transmitted to the printing device (printing device) 1, and in step S25, the status response is waited for from the printing device (printing device) 1. When the status response is received, step S21
It returns to and returns to the status request waiting state.

【0014】[0014]

【発明の効果】以上の説明から明らかなごとく、本発明
によれば、ホストコンピュータから印刷データを記録装
置へ転送し、該記録装置により記録媒体に印刷パターン
を形成する印刷システムにおいて、ホストコンピュータ
と記録装置との間のデータ転送を行うための双方向通信
可能なインターフェースと、双方向通信可能なインター
フェースにおける複数の仮想的な通信チャネルを使用し
てデータ転送を行うデータ転送手段と、双方向通信可能
なインターフェースにおけるハードウェアによるハンド
シェークを行うハンドシェーク手段と、を備える構成と
したので、双方向通信可能なインターフェースとして例
えば双方向セントロニクスインターフェースなどを使用
する場合に、先ずイメージデータの転送中もハンドシェ
ークはハードウェアで行うことができ、また、大量のデ
ータも比較的速く転送することができ、さらに、ある通
信チャネルでイメージデータを転送中に別の通信チャネ
ルで記録装置のステータスの返却を行うことができる印
刷システムが提供される。
As is apparent from the above description, according to the present invention, in a printing system in which print data is transferred from a host computer to a recording device and the recording device forms a print pattern on a recording medium, An interface capable of bidirectional communication for transferring data to and from a recording device, a data transfer means for transferring data using a plurality of virtual communication channels in the interface capable of bidirectional communication, and a bidirectional communication Since the handshake means for performing handshake by hardware in a possible interface is provided, when a bidirectional Centronics interface, for example, is used as an interface capable of bidirectional communication, the handshake is performed while the image data is being transferred. In addition, a large amount of data can be transferred relatively quickly, and the status of the recording device can be returned through another communication channel while the image data is being transferred through another communication channel. A system is provided.

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

【図1】本発明を適用した印刷システムの一実施例の概
略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a printing system to which the present invention is applied.

【図2】図1中の記録装置がイメージデータを受信して
いる最中に該記録装置からステータスを返却する動作の
フローチャートである。
FIG. 2 is a flowchart of an operation in which the recording apparatus in FIG. 1 returns a status from the recording apparatus while receiving image data.

【図3】図1中のホストコンピュータがイメージデータ
を送信している最中に該ホストコンピュータが記録装置
へステータス返却を要求する動作のフローチャートであ
る。
FIG. 3 is a flowchart of an operation in which the host computer in FIG. 1 requests the recording apparatus to return a status while the host computer is transmitting image data.

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

1 記録装置(印刷装置) 2 ホストコンピュータ 11 制御部 12 RAM 13 ROM 14 操作パネル 15 インターフェース 16 エンジン 1 recording device (printing device) 2 host computer 11 control unit 12 RAM 13 ROM 14 operation panel 15 interface 16 engine

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータから印刷データを
記録装置へ転送し、該記録装置により記録媒体に印刷パ
ターンを形成する印刷システムにおいて、ホストコンピ
ュータと記録装置との間のデータ転送を行うための双方
向通信可能なインターフェースと、双方向通信可能なイ
ンターフェースにおける複数の仮想的な通信チャネルを
使用してデータ転送を行うデータ転送手段と、双方向通
信可能なインターフェースにおけるハードウェアによる
ハンドシェークを行うハンドシェーク手段と、を備える
ことを特徴とする印刷システム。
1. In a printing system in which print data is transferred from a host computer to a recording device and a print pattern is formed on the recording medium by the recording device, bidirectional data transfer between the host computer and the recording device is performed. A communicable interface, a data transfer means for performing data transfer using a plurality of virtual communication channels in the bidirectional communication interface, and a handshake means for performing a handshake by hardware in the bidirectional communication interface, A printing system comprising:
JP7080736A 1995-03-13 1995-03-13 Printing system Pending JPH08249137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7080736A JPH08249137A (en) 1995-03-13 1995-03-13 Printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7080736A JPH08249137A (en) 1995-03-13 1995-03-13 Printing system

Publications (1)

Publication Number Publication Date
JPH08249137A true JPH08249137A (en) 1996-09-27

Family

ID=13726683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7080736A Pending JPH08249137A (en) 1995-03-13 1995-03-13 Printing system

Country Status (1)

Country Link
JP (1) JPH08249137A (en)

Similar Documents

Publication Publication Date Title
US6567184B2 (en) Network system, printer, and information memory medium
US6147765A (en) Printer system, printer, computer with printer, printing control method, and medium for recording printing control program
JP3342236B2 (en) Information processing apparatus and control method therefor
JPH08249137A (en) Printing system
JP3129679B2 (en) Printer
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JP3251429B2 (en) Printing apparatus, host computer, printing system, and print control method thereof
JPH08123639A (en) Information processing system and printer used for the same
JP4307952B2 (en) Status monitoring method
KR100402917B1 (en) Method for reprint and system thereof
KR100346186B1 (en) Apparatus and method for reprinting the printed documents in pc
JP3178578B2 (en) PRINTING APPARATUS AND PRINTING SYSTEM USING THE APPARATUS
JPH08110883A (en) Access method for non-scsi device
JPH04163614A (en) Repeater
JP2004246571A (en) Information processor
JPH08137638A (en) Printer and print method
JPH08185286A (en) Printer controller
JPH08185277A (en) Output system, device, and its control method
JPH086742A (en) Data transfer device and data transfer method
JPH08272559A (en) Information processor
JP2002259072A (en) Data communication control method for printer
JPH07325679A (en) Printing system and method for notifying printer working status of printing system
JPH04205223A (en) Radio printing device
JPH08263235A (en) Printing system, printer, printing method and information processor
KR19980029266A (en) Data transmission method according to device of multifunction device