JPH01173221A - Printing device - Google Patents

Printing device

Info

Publication number
JPH01173221A
JPH01173221A JP62333195A JP33319587A JPH01173221A JP H01173221 A JPH01173221 A JP H01173221A JP 62333195 A JP62333195 A JP 62333195A JP 33319587 A JP33319587 A JP 33319587A JP H01173221 A JPH01173221 A JP H01173221A
Authority
JP
Japan
Prior art keywords
data
sent
printing
information
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62333195A
Other languages
Japanese (ja)
Inventor
Takaaki Yokoi
孝明 横井
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62333195A priority Critical patent/JPH01173221A/en
Publication of JPH01173221A publication Critical patent/JPH01173221A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To get collected results as a data file which can be reread in a different system by adding identification data to reception contents, status information, etc., from a host device by a control part to transmit them to the host side as necessary. CONSTITUTION:Data from a host device 1 is received by a reception part 3 and is sent to a control part 4. Since the identification information of the recording mode is sent from a switch part 5 at this time, the control part 4 adds identification data indicating a data part to reception data and transmits them to the device 1 through the reception part 3. The control part 4 converts data to such format that data can be easily converted to print data, and this converted data is stored in an internal data buffer. The identification information indicating a status part is added to status information of the processing result and they are transmitted to the device 1. After the processing of one-page components of data is terminated, data in the buffer is converted to print data and is sent to a printing part 6 and is printed. Identification information is added to information sent to the printing part 6 and the termination result from the printing part 6 and they are sent to the device 1. Thus, the host side gets collected results as a data file.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリンタ装置に係り、とくに、情報処理シス
テムにおいて出力装置として使用されるプリンタ装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device, and particularly to a printer device used as an output device in an information processing system.

〔従来の技術〕[Conventional technology]

従来より情報処理システムにおいてプリンタ装置は、ホ
ストコンピュータ等の上位装置の処理結果を紙面に出力
するために使用される出力装置として用いられ、プリン
ト出力する機能は今後共変わらないと考えられる。近年
コンピュータシステムで処理するデータが文字、イメー
ジグラフ等種々のメディアに拡大する傾向にあり、必然
的にプリンタ装置で出力するデータも多彩になり、プリ
ンタ装置を制御するデータも複雑になって来ている。
BACKGROUND ART In information processing systems, printer devices have traditionally been used as output devices for outputting processing results of host computers and other host devices on paper, and it is thought that the function of printing will not change in the future. In recent years, the data processed by computer systems has tended to expand to include various media such as characters and image graphs, and the data output by printers has inevitably become more diverse, and the data that controls printers has also become more complex. There is.

このように複雑なシステムにおいて複雑な制御を必要と
するプリンタ装置を使用する場合、システム内の他の機
器、通信網あるいは利用ソフトウェア等で問題が発生す
る確立も高くなっている。
When using a printer device that requires complicated control in such a complicated system, there is a high probability that problems will occur with other devices in the system, the communication network, or the software used.

この種のプリンタ装置におけるトラブル発生時の情報採
取手段としては、上位装置から受信したデータを16進
数として対応する文字コードに変 □換して印字する動
作モードを付加する方法、あるいはプリンタ装置の内部
状態を紙面に印字する機能を付加する方法等が提案され
ている。
When a problem occurs in this type of printer, the means to collect information include adding an operation mode that converts the data received from the host device into a hexadecimal character code and printing, or adding an operation mode to the printer's internal A method of adding a function of printing the status on paper has been proposed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記従来のいずれの場合にあっても情報
を採取した後、データの解析を人手で行う必要があり、
また、実際に動作させテストを行うにはシステム環境を
同一にする必要があるが、これはシステムが多様化する
現状にあっては容易には実現出来ない。
However, in any of the above conventional cases, it is necessary to manually analyze the data after collecting the information.
Furthermore, in order to actually operate and test the systems, it is necessary to make the system environment the same, but this cannot be easily achieved in the current situation where systems are diversifying.

一方、異なるシステム環境でテストを行うには紙面によ
り採取したデータを一つ、一つ入力する必要が生じ、文
字、イメージ、図形のデータが混在したいわゆるマルチ
メディア化したデータは膨大であるため、必然的にその
入力作業に多大な時間及び労力を要するという問題点を
有していた。
On the other hand, in order to conduct tests in different system environments, it is necessary to input the data collected on paper one by one, and the so-called multimedia data containing a mixture of text, images, and graphic data is enormous. There is a problem in that the input work inevitably requires a great deal of time and effort.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、かかる従来例の有する不都合を改善し
、とくに、情報の採取結果を異るシステムで再読み出し
可能なデータファイルとして入手せしめることの出来る
比較的安価なプリンタ装置を提供することにある。
An object of the present invention is to improve the disadvantages of the conventional example and, in particular, to provide a relatively inexpensive printer device that allows information collection results to be obtained as a data file that can be reread by a different system. be.

〔問題点を解決するための手段] 本発明では、上位装置からの印刷データを受信する受信
部と、受信データを信号処理した後一時的に記憶する機
能を有する制御部と、この制御部からの印字指令により
当該制御部に記憶されたデータを最終的に紙面に印字出
力する印字部とを備えている。そして、制御部が、必要
に応じて上位装置からの受信内容やステータス情報等を
識別データを付加して上位装置に送信する双方向情報伝
送機能を有する、という構成を採り、これによって前述
した目的を達成しようするものである。
[Means for Solving the Problems] The present invention includes a receiving unit that receives print data from a host device, a control unit that has a function of temporarily storing received data after signal processing, and and a printing section that finally prints out the data stored in the control section on paper according to the printing command. The control unit is configured to have a two-way information transmission function that adds identification data to the received content, status information, etc. from the higher-level device as necessary and transmits it to the higher-level device. The aim is to achieve this.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図に基づいて説明する。 An embodiment of the present invention will be described below with reference to FIG.

この第1図の実施例は、上位装置1とこの上位装WXの
出力装置としてのプリンタ装置2とを有している。
The embodiment shown in FIG. 1 includes a host device 1 and a printer device 2 as an output device of the host device WX.

プリンタ装置2は、上位装置1からのデータを受信する
受信部3と、上位装置1とのインターフェース(図示せ
ず)の制御及びプリンタ装置2全体の動作制′a機能を
有する制御部4と、制御部4の動作モードを選択するス
イッチ部5と、制御部4からの印字指令により最終的に
データを紙面に印字出力する印字部6とから構成されて
いる。
The printer device 2 includes a receiving section 3 that receives data from the host device 1, a control section 4 that has a function of controlling an interface (not shown) with the host device 1 and controlling the overall operation of the printer device 2. It is comprised of a switch section 5 that selects the operation mode of the control section 4, and a printing section 6 that finally prints out data on paper in response to a print command from the control section 4.

この内、制御部2は実際にはCPU (中央演算素子)
であるマイクロプロセッサ(図示せず)を中心として構
成され、受信部1を通して入力されたデータを所定処理
後一時的に格納するデータバッファ(図示せず)が含ま
れている。
Of these, the control unit 2 is actually a CPU (central processing element)
It is mainly configured with a microprocessor (not shown), and includes a data buffer (not shown) for temporarily storing data input through the receiving section 1 after predetermined processing.

スイッチ部5は、通常動作モードと記録動作モードとを
選択的に設定するためのもので、通常動作モードと記録
動作モードの識別情報を発生する。
The switch section 5 is for selectively setting the normal operation mode and the recording operation mode, and generates identification information for the normal operation mode and the recording operation mode.

この識別情報は制御部4によって判読されるようになっ
ている。
This identification information is readable by the control unit 4.

次に上記実施例の全体的動作を説明する。Next, the overall operation of the above embodiment will be explained.

通常動作モードの場合は、通常のオンラインプリンタと
同様に、上位装置1からのデータを受信部3で受信し、
制御部4で印字部6が取り扱う印刷データへ変換し易い
形式への第1の変換を行い、しかる後、当該データを図
示しないデータバッファに記憶する。このような動作を
繰り返し、1ページのデータ処理が終了した時、制御部
4内の図示しないデータバッファに完成したデータに従
い第2の変換を行って即ち印刷データに変換して後、印
字部6に印刷データを送出し印字部6によって紙面に印
字出力される。
In the normal operation mode, data from the host device 1 is received by the receiving unit 3, like a normal online printer.
The control section 4 performs a first conversion into a format that is easy to convert into print data handled by the printing section 6, and then stores the data in a data buffer (not shown). After repeating these operations and completing the data processing for one page, the second conversion is performed in accordance with the completed data in the data buffer (not shown) in the control unit 4, that is, it is converted into print data, and then the printing unit 6 The print data is sent out and printed out on paper by the printing section 6.

一方、記憶動作モードの場合は、上位装置1からのデー
タを受信部3で受信し、制御部4へ送出する。この時制
御部4にはスイッチ部5から記録モードの識別情報が送
られているため、制御部4は記録動作モードと判断して
受信したデータにデータ部であることを表わす識別デー
タを付加し、上位装置1へ受信部3を介して送信する。
On the other hand, in the storage operation mode, data from the host device 1 is received by the receiving section 3 and sent to the control section 4. At this time, since the recording mode identification information has been sent to the control unit 4 from the switch unit 5, the control unit 4 determines that the recording operation mode is selected and adds identification data indicating that the received data is a data section. , is transmitted to the host device 1 via the receiving section 3.

次に、前述した通常モードの場合と同様に、制御部2内
で印字部3が取り扱う印刷データへ変換し易い形式への
第1の変換を行い制御部2内の図示しないデータバッフ
ァへ記憶する。
Next, as in the case of the normal mode described above, first conversion is performed in the control unit 2 to a format that is easy to convert into print data handled by the printing unit 3, and the data is stored in a data buffer (not shown) in the control unit 2. .

次いで上位装置1へ通知する処理結果としてのステータ
ス(ST)情報をステータス部であることを表わす識別
データを付加し、上位装置へ送信する。以上の動作を繰
り返し1ページのデータの処理が終了したとき、前述し
た通常モードの場合6一 と同様に制御部2内のデータバッファに完成したデータ
に従い印刷データに変換する第2の変換を行って後、印
字部6に印刷データを送出し、印字部6によって紙面に
印字結果が出力される。この場合、動作モードが記録動
作モードであることから、制御部4は印字部6へ送出し
た情報および印字部6からの終了結果を識別情報を付加
して上位装置1へ送信する。
Next, status (ST) information as a processing result to be notified to the higher-level device 1 is added with identification data indicating that it is a status part, and is transmitted to the higher-level device. After repeating the above operations and completing the processing of one page of data, a second conversion is performed to convert the data into print data according to the data completed in the data buffer in the control unit 2, similar to 6-1 in the normal mode described above. After that, the print data is sent to the printing section 6, and the printing result is outputted on paper by the printing section 6. In this case, since the operation mode is the recording operation mode, the control section 4 sends the information sent to the printing section 6 and the completion result from the printing section 6 to the host device 1 with identification information added thereto.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によると制御部が、所定の
場合に上位装置からの受信内容やステータス情報(ST
情報)等に識別データを付加して上位装置に送信するよ
うにしたことから、上位装置側でプリンタ装置からの送
信データをファイルに記録することは容易に行うことが
出来る。これがため、情報の採取結果を異るシステムで
再読み出し可能なデータファイルとして入手せしめるこ
とが出来るという従来にない優れたプリンタ装置を提供
することが出来る。
As explained above, according to the present invention, the control unit receives received contents and status information (ST
Since identification data is added to the data such as information) and transmitted to the higher-level device, the data sent from the printer device can be easily recorded in a file on the higher-level device side. Therefore, it is possible to provide an unprecedented and excellent printer device in which information collection results can be obtained as a data file that can be reread by a different system.

このように、本発明のプリンタ装置は、何らの付加装置
をも必要としない構成となっていることから、構成が簡
単で比較的安価なものとなっている。
As described above, since the printer device of the present invention does not require any additional devices, the printer device has a simple structure and is relatively inexpensive.

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

第1図は本発明の一実施例を示すブロック図である。 1・・・上位装置、3・・・受信部、4・・・制御部、
6・・・印字部。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1... Host device, 3... Receiving section, 4... Control section,
6...Printing section.

Claims (1)

【特許請求の範囲】[Claims] (1)、上位装置からの印刷データを受信する受信部と
、前記受信データを信号処理した後一時的に記憶する機
能を有する制御部と、この制御部からの印字指令により
当該制御部に記憶されたデータを最終的に紙面に印字出
力する印字部とを備え、前記制御部が、必要に応じて上
位装置からの受信内容やステータス情報等を識別データ
を付加して前記上位装置に送信する双方向情報伝送機能
を有することを特徴とするプリンタ装置。
(1) A receiving unit that receives print data from a host device, a control unit that has a function of temporarily storing the received data after signal processing, and a printing command from the control unit that causes the data to be stored in the control unit. and a printing unit that finally prints out the received data on paper, and the control unit adds identification data to the received content, status information, etc. from the higher-level device as necessary, and transmits it to the higher-level device. A printer device characterized by having a bidirectional information transmission function.
JP62333195A 1987-12-28 1987-12-28 Printing device Pending JPH01173221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62333195A JPH01173221A (en) 1987-12-28 1987-12-28 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62333195A JPH01173221A (en) 1987-12-28 1987-12-28 Printing device

Publications (1)

Publication Number Publication Date
JPH01173221A true JPH01173221A (en) 1989-07-07

Family

ID=18263373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62333195A Pending JPH01173221A (en) 1987-12-28 1987-12-28 Printing device

Country Status (1)

Country Link
JP (1) JPH01173221A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57146340A (en) * 1981-03-06 1982-09-09 Hitachi Ltd Data transfer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57146340A (en) * 1981-03-06 1982-09-09 Hitachi Ltd Data transfer system

Similar Documents

Publication Publication Date Title
US5617518A (en) Output control method and system of servers
US6476938B1 (en) Print control system and method
JPH0736145B2 (en) Printer
EP0480593A2 (en) PCL vertical graphics scaling using macros
JPH01173221A (en) Printing device
JPH01171960A (en) Printer apparatus
JP2833512B2 (en) Facsimile machine
JP3004440B2 (en) Printing method and apparatus
JP2647374B2 (en) Output interface device
JP3890087B2 (en) System, printing apparatus and display method
KR100238846B1 (en) Method of confirming print out for wysiwyg
JP2001047706A (en) Imaging system in network environment
JPH0660002A (en) Mode setting system of output device
JP2607502B2 (en) Facsimile interface device
JP2859035B2 (en) Printing equipment
JPH0536702Y2 (en)
JPH05204566A (en) Network print control system
JPS63272145A (en) Dump output device
JPH1139117A (en) Printer controller
JPS6327889A (en) Printer
KR19990056561A (en) Printing method using computer's memory
JPH07261958A (en) Image processor
JPH07244565A (en) Information processor
JPH035811A (en) Forms overlay for terminal of image data
JPH0277977A (en) Picture data processor