JPH04302021A - printing device - Google Patents

printing device

Info

Publication number
JPH04302021A
JPH04302021A JP3066287A JP6628791A JPH04302021A JP H04302021 A JPH04302021 A JP H04302021A JP 3066287 A JP3066287 A JP 3066287A JP 6628791 A JP6628791 A JP 6628791A JP H04302021 A JPH04302021 A JP H04302021A
Authority
JP
Japan
Prior art keywords
print data
host computer
interrupt
printing device
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.)
Pending
Application number
JP3066287A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yamada
博之 山田
Zenshi Hayashi
林 善嗣
Takashi Yumi
弓 孝志
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3066287A priority Critical patent/JPH04302021A/en
Publication of JPH04302021A publication Critical patent/JPH04302021A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically operate the selective setting of an interface means in a printer equipped with two or more kinds of interface means. CONSTITUTION:In the printer having an I/F part 3 equipped with two or more kinds of interface means, an interruption control means 4 stores input data in a receiving buffer 5, and allows a controller means 6 to operate the interruption processing to the data in order to print the data, according to the level of a priority order applied according to the kind of the above-mentioned interface means.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は印字装置、とくにレーザ
ビームプリンタ、ドットマトリックスプリンタインクジ
ェットプリンタなどのように、セントロニクス、RS2
32C,RS422,GP−IBなどのインターフェー
ス手段(以下、I/F手段と記す)を介して印字する印
字装置に関する。
[Industrial Application Field] The present invention is applicable to printing devices such as Centronics, RS2
The present invention relates to a printing device that prints via interface means (hereinafter referred to as I/F means) such as 32C, RS422, and GP-IB.

【0002】0002

【従来の技術】近年、コンピュータの普及に併せて印字
装置も広く利用され、その使い勝手が重要な課題である
2. Description of the Related Art In recent years, with the spread of computers, printing devices have also been widely used, and their ease of use has become an important issue.

【0003】以下、従来の印字装置について説明する。 印字装置はセントロニクス、RS232C,RS422
,GP−IBなど種々のI/F手段を介してホストコン
ピュータから印字データを受信して印字する。印字装置
が複数種類のI/F手段を備えている場合、ユーザはフ
ロントパネルやディップスイッチなどでI/F手段を選
択指定し、その指定したI/F手段だけを用いてホスト
コンピュータと通信している。
[0003] A conventional printing device will be explained below. Printing device is Centronics, RS232C, RS422
, GP-IB, etc., receives print data from the host computer and prints it. If the printing device is equipped with multiple types of I/F means, the user can select and specify the I/F means using the front panel or dip switch, and communicate with the host computer using only the specified I/F means. ing.

【0004】0004

【発明が解決しようとする課題】このような従来の印字
装置では、印字装置がホストコンピュータと通信可能な
相異なる方式のI/F手段を複数個備えたものであって
も、ユーザがフロントパネルやスイッチなどでI/F手
段を指定しなければ、ホストコンピュータとの通信は不
可能であった。
[Problems to be Solved by the Invention] In such conventional printing devices, even if the printing device is equipped with a plurality of I/F means of different types that can communicate with a host computer, it is difficult for the user to access the front panel. Communication with the host computer was impossible unless an I/F means was specified using a switch or a switch.

【0005】本発明は上記の課題を解決するもので、ユ
ーザがホストコンピュータとのI/F方式を指定する必
要がなく、また、ホストコンピュータに対応したI/F
手段であればどのI/F手段でも通信可能状態となる印
字装置を提供することを目的とする。
The present invention solves the above problems, and eliminates the need for the user to specify the I/F method with the host computer.
It is an object of the present invention to provide a printing device that can communicate with any I/F means.

【0006】[0006]

【課題を解決するための手段】本発明は上記の目的を達
成するために、ホストコンピュータと通信する少なくと
も2種類以上のインターフェース手段を備えたI/F部
と、装置の動作を制御するコントローラ手段とを備えた
印字装置において、前記インターフェース手段の種類に
対応する優先順位を設定し、前記インターフェース手段
ごとに設けた受信バッファと、前記ホストコンピュータ
から印字データを入力したときに、前記優先順位に従う
印字データだけを受信して前記受信バッファに格納する
とともに、その印字データを前記コントローラ手段で割
り込み処理して印字させる割り込み制御手段を備えた印
字装置とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides an I/F unit having at least two types of interface means for communicating with a host computer, and a controller means for controlling the operation of the device. In a printing device, a priority order corresponding to the type of the interface means is set, and a reception buffer provided for each of the interface means, and a printing device according to the priority order when print data is input from the host computer. The printing apparatus is provided with an interrupt control means that receives only data and stores it in the reception buffer, and causes the controller means to interrupt and print the print data.

【0007】[0007]

【作用】本発明は上記の構成において、I/F手段の種
類に応じて与えた優先順位のレベルに従って割り込み制
御手段が入力データを受信バッファに格納するとともに
、その印字データをコントローラ手段で割り込み処理さ
せて印字する。
[Operation] In the above configuration, the interrupt control means stores the input data in the reception buffer according to the priority level given depending on the type of I/F means, and the print data is processed by the controller means with an interrupt. to print.

【0008】[0008]

【実施例】以下、本発明の一実施例の印字装置について
図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A printing apparatus according to an embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は本発明の一実施例の印字装置の構成
をブロック図で示す。この装置は図に示すようにホスト
コンピュータ2a,2bおよび2cから印字データを入
力する相異なる3つのI/F手段を有するI/F部3と
、前記I/F手段のそれぞれに対応して設けた受信デー
タ格納用の受信バッファ5a,5bおよび5cと、印字
装置の動作を制御するコントローラ6と、I/F部3に
入力されたデータに対応して前記コントローラ部6に割
り込み処理を行なわせる割り込み制御回路4と、印字作
業を行なう印字部7を備える。
FIG. 1 is a block diagram showing the configuration of a printing device according to an embodiment of the present invention. As shown in the figure, this device includes an I/F section 3 having three different I/F means for inputting print data from host computers 2a, 2b, and 2c, and an I/F section 3 provided corresponding to each of the I/F means. a controller 6 that controls the operation of the printing device; and a controller 6 that performs interrupt processing in response to data input to the I/F unit 3. It includes an interrupt control circuit 4 and a printing section 7 that performs printing work.

【0010】上記構成において動作を説明すると、たと
えば、RS232Cに対応し印字データをホストコンピ
ュータ2aから送信された場合、そのデータがI/F部
3に入力され、割り込み制御回路4がRS232Cに対
応した割り込み要求をコントローラ部6に入力して割り
込み状態にするとともに、前記印字データがRS232
Cに対応した受信バッファ5aに蓄積される。コントロ
ーラ部6がそのデータを解釈して印字部7に印字させる
To explain the operation in the above configuration, for example, when print data corresponding to RS232C is transmitted from the host computer 2a, the data is input to the I/F section 3, and the interrupt control circuit 4 corresponds to RS232C. An interrupt request is input to the controller unit 6 to set it to an interrupt state, and the print data is transferred to the RS232
It is accumulated in the reception buffer 5a corresponding to C. The controller section 6 interprets the data and causes the printing section 7 to print it.

【0011】このとき、コントローラ6はRS232C
よりも割り込みレベルの低いI/Fの割り込みを受信不
可の状態にする。たとえば、セントロニクスによる割り
込みレベルがRS232Cの割り込みレベルよりも低い
場合、ホストコンピュータ2aがRS232Cを用いて
印字データを送信中にホストコンピュータ2bからセン
トロニクスを用いて印字データを送信しても、セントロ
ニクスはビジー状態となっているので、RS232Cの
割り込みから復帰するまでセントロニクスによるデータ
を受信しない。RS232C割り込み状態から復帰する
とビジー状態が解除され、セントロニクスによる印字デ
ータを受信してセントロニクスに対応した受信バッファ
5bに蓄える。
[0011] At this time, the controller 6
Interrupts from I/Fs whose interrupt level is lower than the interrupt level are set to a state in which they cannot be received. For example, if the interrupt level by Centronics is lower than the interrupt level by RS232C, even if host computer 2b sends print data using Centronics while host computer 2a is sending print data using RS232C, Centronics is busy. Therefore, it will not receive data from Centronics until it returns from the RS232C interrupt. When the CPU returns from the RS232C interrupt state, the busy state is released, and print data from the Centronics is received and stored in the reception buffer 5b corresponding to the Centronics.

【0012】前記RS232Cによる印字データを送信
中にRS232Cよりもレベルの高いI/Fに関する割
り込みが発生した場合、たとえば、RS422によるデ
ータがホストコンピュータ2cから送信されたとき、割
り込み制御回路4からRS422に対応した割り込み要
求がコントローラ部6に出力され、印字データはRS4
22に対応した受信バッファ5cに蓄えられるとともに
、RS232CのDTR制御ならばDTR信号を用いて
現在受信中のI/F手段を受信不可の状態にし、RS4
22の受信が終了した後、引き続いてRS232Cのデ
ータを受信する。
[0012] If an interrupt related to an I/F with a higher level than RS232C occurs while transmitting print data by RS232C, for example, when data by RS422 is transmitted from the host computer 2c, the interrupt control circuit 4 sends an interrupt to RS422. The corresponding interrupt request is output to the controller section 6, and the print data is sent to RS4.
In the case of RS232C DTR control, the DTR signal is used to disable the I/F means currently receiving data, and the RS4
After the reception of RS232C is completed, the data of RS232C is successively received.

【0013】このように本発明の実施例の印字装置によ
れば、ホストコンピュータと通信する少なくとも2種類
以上のインターフェース手段を備えたI/F部と、装置
の動作を制御するコントローラ手段とを備えた印字装置
において、前記インターフェース手段の種類に対応する
優先順位を設定し、前記インターフェース手段ごとに設
けた受信バッファと、前記ホストコンピュータから印字
データを入力したときに、前記優先順位に従う印字デー
タだけを受信して前記受信バッファに格納するとともに
、その印字データを前記コントローラ手段で割り込み処
理して印字させる割り込み制御手段を備えた印字装置と
することにより、ユーザがI/F手段を指定することな
く、また、ホストコンピュータと印字装置に対応したI
/F手段であれば全てのI/F手段が使用可能となり、
また、I/F方式を変えることにより複数個のホストコ
ンピュータとの接続が可能となる。
As described above, the printing apparatus according to the embodiment of the present invention includes an I/F section having at least two types of interface means for communicating with a host computer, and a controller means for controlling the operation of the apparatus. In the printing device, a priority order corresponding to the type of the interface means is set, and when print data is input from the reception buffer provided for each interface means and the host computer, only the print data according to the priority order is received. By providing the printing apparatus with an interrupt control means that receives and stores the print data in the reception buffer, and causes the controller means to interrupt and print the print data, the user does not have to specify the I/F means. In addition, an I
/F means, all I/F means can be used,
Furthermore, by changing the I/F method, connection with multiple host computers is possible.

【0014】なお、同種類のI/F手段に対しても優先
順位のレベルを設定することで、2種類以上のI/F手
段と複数の同一種類のI/F手段を備えた印字装置にお
いてもI/F手段の自動選択ができることは言うまでも
ない。
[0014] Furthermore, by setting priority levels for I/F means of the same type, printing apparatuses equipped with two or more types of I/F means and a plurality of I/F means of the same type can Needless to say, the I/F means can be automatically selected.

【0015】[0015]

【発明の効果】以上の実施例から明らかなように、本発
明は、ホストコンピュータと通信する少なくとも2種類
以上のインターフェース手段を備えたI/F部と、装置
の動作を制御するコントローラ手段とを備えた印字装置
において、前記インターフェース手段の種類に対応する
優先順位を設定し、前記インターフェース手段ごとに設
けた受信バッファと、前記ホストコンピュータから印字
データを入力したときに、前記優先順位に従う印字デー
タだけを受信して前記受信バッファに格納するとともに
、その印字データを前記コントローラ手段で割り込み処
理して印字させる割り込み制御手段を備えた印字装置と
することにより、ユーザがI/F手段を指定することな
く、また、ホストコンピュータと印字装置に対応したI
/F手段であれば全てのI/F手段が使用可能となり、
また、I/F方式を変えることにより複数個のホストコ
ンピュータとの接続が可能となる。
Effects of the Invention As is clear from the above embodiments, the present invention comprises an I/F unit equipped with at least two types of interface means for communicating with a host computer, and a controller means for controlling the operation of the device. In the printing device equipped with the above-mentioned printer, a priority order corresponding to the type of the interface means is set, and a reception buffer is provided for each of the interface means, and when print data is input from the host computer, only the print data according to the priority order is set. By providing a printing device equipped with an interrupt control means that receives and stores the print data in the reception buffer, and causes the controller means to interrupt and print the print data, the user does not have to specify an I/F means. , and an I corresponding to the host computer and printing device.
/F means, all I/F means can be used,
Furthermore, by changing the I/F method, connection with multiple host computers is possible.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例の印字装置の構成を示すブロ
ック図
FIG. 1 is a block diagram showing the configuration of a printing device according to an embodiment of the present invention.

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

1    印字装置 2a,2b,2c  ホストコンピュータ3    2
種類以上のインターフェース手段を備えたI/F部 4    割り込み制御回路(割り込み制御手段)5a
,5b,5c  インターフェースの種類ごとに設けた
受信バッファ 6    コントローラ部
1 Printing device 2a, 2b, 2c Host computer 3 2
I/F section 4 equipped with more than one type of interface means Interrupt control circuit (interrupt control means) 5a
, 5b, 5c Receive buffer 6 provided for each type of interface Controller section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ホストコンピュータと通信する少なく
とも2種類以上のインターフェース手段を備えたI/F
部と、装置の動作を制御するコントローラ手段とを備え
た印字装置において、前記インターフェース手段の種類
に対応する優先順位を設定し、前記インターフェース手
段ごとに設けた受信バッファと、前記ホストコンピュー
タから印字データを入力したときに、前記優先順位に従
う印字データだけを受信して前記受信バッファに格納す
るとともに、その印字データを前記コントローラ手段で
割り込み処理して印字させる割り込み制御手段を備えた
印字装置。
[Claim 1] I/F equipped with at least two or more types of interface means for communicating with a host computer.
In the printing device, a priority order corresponding to the type of the interface device is set, and a reception buffer provided for each interface device, and a controller device for controlling the operation of the device, are configured to print data from the host computer. The printer is provided with an interrupt control means for receiving only the print data according to the priority order and storing it in the reception buffer when inputting the print data, and for causing the controller means to perform interrupt processing on the print data and print the print data.
JP3066287A 1991-03-29 1991-03-29 printing device Pending JPH04302021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3066287A JPH04302021A (en) 1991-03-29 1991-03-29 printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3066287A JPH04302021A (en) 1991-03-29 1991-03-29 printing device

Publications (1)

Publication Number Publication Date
JPH04302021A true JPH04302021A (en) 1992-10-26

Family

ID=13311460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3066287A Pending JPH04302021A (en) 1991-03-29 1991-03-29 printing device

Country Status (1)

Country Link
JP (1) JPH04302021A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002192809A (en) * 2000-12-25 2002-07-10 Toshiba Tec Corp Printer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002192809A (en) * 2000-12-25 2002-07-10 Toshiba Tec Corp Printer device

Similar Documents

Publication Publication Date Title
EP0674787B1 (en) Virtual printer
US6369905B1 (en) Information processing apparatus and output apparatus
MXPA97003805A (en) System and method of communication with print
EP0769177A4 (en) VIRTUAL PRINTER
KR0184647B1 (en) Method and apparatus for resetting shared computer output apparatus
KR100299972B1 (en) Method for controlling order of print job in printer
KR100325809B1 (en) Saving method of waiting time in network printer
JP2828005B2 (en) Printer device
JPH01263064A (en) Printer device
JP3217485B2 (en) Printing device
JPH09109515A (en) Image forming device
JPH05338329A (en) Language system changeover method of printer device
JPH1145137A (en) Interface control device, interface control method, and printing device
JPH05303473A (en) Printer device
KR930001473B1 (en) Printer driving apparatus for multi user
JP3241902B2 (en) Print control device and print control method
JPH0348358A (en) Method for communicating information between host system and peripheral apparatus
JP2859035B2 (en) Printing equipment
JPH06155820A (en) Data management system for printer
JPS62102329A (en) printing device
JPH04125177A (en) Printer setting apparatus
JPH08297548A (en) Printer device
JPH03158924A (en) Printer controller
JPH0532765B2 (en)
JPH07101111A (en) Printer