JPS6358532A - Printer device - Google Patents

Printer device

Info

Publication number
JPS6358532A
JPS6358532A JP61202994A JP20299486A JPS6358532A JP S6358532 A JPS6358532 A JP S6358532A JP 61202994 A JP61202994 A JP 61202994A JP 20299486 A JP20299486 A JP 20299486A JP S6358532 A JPS6358532 A JP S6358532A
Authority
JP
Japan
Prior art keywords
data
received data
analysis
processing
section
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
JP61202994A
Other languages
Japanese (ja)
Inventor
Yutaka Miyagi
宮城 裕
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 JP61202994A priority Critical patent/JPS6358532A/en
Publication of JPS6358532A publication Critical patent/JPS6358532A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To process received data in a single analyzing action as long as no received data exists within a printer device and the next print data can be compiled, by adding a 3rd analyzing part to an interface part to analyze the received data. CONSTITUTION:When a printer contains no received data, the received data are fetched via an interface part 12 and analyzed by the 3rd analyzing part 1. At the same time, the interface signal which is transmitted in response to the result of analysis is changed. These analyzed data are shown by deforming the received data with the analysis information and sent to a compiling part 16 together with the internal processing data to be printed at a printing part 17. In such a manner, those data can be printed just through a single analyzing action since the processing is carried out in a route (c). While the processing route is switched to a route (a) if the printer contains the received data and these data are temporarily stored in a reception buffer 14 after the analysis is finished at the part 13. Then the processing is set in a route (b) and those data are processed when the printing job is finished at the part 17.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリンタ装置にかかり、とくにプリンタ装置
におけるデータ解析処理に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device, and particularly relates to data analysis processing in the printer device.

〔従来の技術〕[Conventional technology]

一般に、プリンタ装置においては、入力したデータが制
御コードのフォーマットに合致しているか否かをチェッ
クする解析部を備え、これによって内部における処理を
有効に行うように構成されている。即ち、あるデータを
受信したとき、そのデータに対応する制御コードがある
か否かを確認し、あればそのまま処理を行うが、なけれ
ばそのデータを廃棄する処理が行われる。
In general, printer devices are configured to include an analysis section that checks whether input data conforms to the format of a control code, thereby effectively performing internal processing. That is, when certain data is received, it is checked whether there is a control code corresponding to the data, and if there is, it is processed as is, but if there is not, the data is discarded.

第2図に、従来のこの種のプリンタ装置の内部処理を示
すブロック図を示す。この第2図において、インタフェ
ース部12は、図示されないホスト側の装置とプリンタ
装置との相互のインタフェース処理を行うために設けら
れている。このインタフェース部12を経て取り込んだ
受信データに対し、第1の解析部13で所定の解析を行
う。この際、第1の解析部13では、インタフェース部
12を経て外部に接続されているホスト側の装置に対し
、第1の解析部13から送出されるインタフェース信号
を受信後直ちに変化させることによって、プリンタ装置
側の状態を通知する機能を同時に行うようになっている
場合がある。例えば、rDC3コード」の場合、解析の
結果DC3コードと判明したときは、その時点でインタ
フェース信号rsELEcTJを変化させるようになっ
ている。
FIG. 2 shows a block diagram showing the internal processing of a conventional printer of this type. In FIG. 2, an interface unit 12 is provided to perform mutual interface processing between a host side device (not shown) and a printer device. A first analysis section 13 performs a predetermined analysis on the received data taken in through the interface section 12. At this time, the first analysis section 13 changes the interface signal sent from the first analysis section 13 to the host-side device connected to the outside via the interface section 12 immediately after receiving it. In some cases, a function for notifying the status of the printer device is performed at the same time. For example, in the case of "rDC3 code", when it is determined as a DC3 code as a result of analysis, the interface signal rsELEcTJ is changed at that point.

その後、受信したデータは、そのままの形で−H受信バ
ッファ14に格納される。
Thereafter, the received data is stored in the -H reception buffer 14 as is.

次に、編集部16を経て受信バッファ14から取り出し
たデータに対し、第2の解析部15において再び解析を
行ったのち、編集部16において編集処理を行い、さら
に印字部17に送って印字処理を行うように構成されて
いる。
Next, the data retrieved from the reception buffer 14 via the editing section 16 is analyzed again in the second analysis section 15, then edited in the editing section 16, and then sent to the printing section 17 for printing processing. is configured to do so.

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

従来のプリンタ装置においては、受信データを受信バッ
ファ14に格納するに際し、第1の解析部13で行う解
析処理と、受信バッファ14からデータを読み出したの
ちに編集のために第2の解析部で行う解析処理とを必要
とした。
In conventional printer devices, when storing received data in the reception buffer 14, the first analysis section 13 performs analysis processing, and after reading the data from the reception buffer 14, the second analysis section performs editing for editing. analysis processing to be performed.

このように従来のプリンタ装置では、1個のデータに対
して常に二度解析を行わなければならないため、処理速
度を向上することができないという問題があった。
As described above, in conventional printer devices, one piece of data must always be analyzed twice, so there is a problem in that the processing speed cannot be improved.

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

本発明は、かかる従来例の有する不都合を改善し、受信
信号の処理速度を著しく向上せしめたプリンタ装置を提
供することを、その目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printer device that improves the disadvantages of the prior art and significantly improves the processing speed of received signals.

〔問題点を解決するための手段〕[Means for solving problems]

本発明では、インタフェース部で受信したデータを第1
の解析部によって解析したのち受信バ・ソファに一旦格
納し、この格納されたデータを第2の解析部によって再
び解析したのち編集処理を行って印字するプリンタ装置
において、前記インタフェース部に受信データを解析す
る第3の解析部を新たに装備した。そして、プリンタ装
置内において編集処理中のデータがないときは、受信デ
ータをこの第3の解析部において解析したのち直ちに編
集処理を行うように構成した。
In the present invention, the data received by the interface section is
In a printer device that analyzes the data by a second analysis unit, stores it once in a reception bar sofa, analyzes the stored data again by a second analysis unit, performs editing processing, and prints the data, the received data is sent to the interface unit. We have newly equipped a third analysis section for analysis. When there is no data being edited in the printer device, the third analysis section analyzes the received data and immediately performs the editing process.

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

第1図は本発明の一実施例を示すプリンタの内部処理を
示すブロック図である。ここで前述した従来例と同一の
構成部分については同一の符号を用いることとする。
FIG. 1 is a block diagram showing internal processing of a printer showing an embodiment of the present invention. Here, the same reference numerals are used for the same components as in the conventional example described above.

第1図において、プリンタ内部に受信済みのデータがな
い場合には、受信データの処理はCに示す経路で行われ
る。即ちインタフェース部12を経て取り込まれた受信
データは、第3の解析部1において解析が行われ、同時
に解析結果に応じてインタフェース部12から送出され
るインタフェース信号を変化させる。解析が行われたデ
ータは、解析情報、即ち制御コードによって指定される
うちのどの機能であるかを受信データを変形して表すこ
とにより、編集しやすくしたデータである内部処理デー
タとともに編集部16に送られる。編集部16ではこれ
らのデータに対して編集処理を行ったのち、処理済みの
データを印字部17に送り、これによって印字部17で
印字処理が行われる。
In FIG. 1, if there is no received data inside the printer, the received data is processed through the path shown in C. That is, the received data taken in through the interface section 12 is analyzed in the third analysis section 1, and at the same time, the interface signal sent out from the interface section 12 is changed according to the analysis result. The analyzed data is sent to the editing unit 16 together with analysis information, i.e., internal processing data that is data that is made easier to edit by transforming the received data to represent which function is specified by the control code. sent to. The editing section 16 performs editing processing on these data, and then sends the processed data to the printing section 17, whereupon printing processing is performed in the printing section 17.

このようにプリンタ内部に受信済みのデータがない場合
にはCの経路で処理が行われるので、受信データに対す
る解析を一度行うだけで、印字を行うことが可能である
In this way, if there is no received data inside the printer, processing is performed through route C, so that printing can be performed by analyzing the received data only once.

プリンタ装置が印字状態となって、印字が終わるまで次
の編集処理を行うことができない状態になったとき、即
ちプリンタ装置内部に受信済みのデータがある場合には
、内部処理をaに示す経路に切り替える。これによって
インタフェース部12を経て取り込まれた受信データを
、第1の解析部3が解析を行い、インタフェース部12
から送出されるインタフェース信号を変化させる処理を
行ったのち、受信データをそのままの形で−H受信バッ
ファ14に格納する。
When the printer device is in a printing state and the next editing process cannot be performed until printing is finished, that is, if there is data that has already been received inside the printer device, the internal processing is performed using the route shown in a. Switch to As a result, the first analysis section 3 analyzes the received data taken in through the interface section 12, and the first analysis section 3
After performing processing to change the interface signal sent from the terminal, the received data is stored in the -H reception buffer 14 as is.

印字部17における印字処理が終了し、次の印字データ
の編集処理に入れる状態になった時点で、内部処理経路
をbに切り替えてそれまでに受信したデータの処理を行
う。即ち、編集部16を経て受信バッファ14から取り
出したデータを、第2の解析部において再び解析を行っ
たのち、解析情報とともに編集部16へ送る。編集部1
6において編集処理を行い、編集処理されたデータは印
字部17に送られて印字処理が行われる。
When the printing process in the printing unit 17 is completed and the state is ready for editing the next print data, the internal processing path is switched to b and the data received up to that point is processed. That is, the data taken out from the reception buffer 14 via the editing section 16 is analyzed again in the second analysis section, and then sent to the editing section 16 together with the analysis information. Editorial department 1
Editing processing is performed in step 6, and the edited data is sent to a printing unit 17 where printing processing is performed.

もしも、編集処理を行っている段階で受信バッファにお
けるデータがなくなったときは、その時点で内部処理経
路を再びCに切り替える。
If the receiving buffer runs out of data while editing is being performed, the internal processing path is switched to C again at that point.

このように上記プリンタ装置においては、プリンタ装置
内部に受信済みのデータがなく、次に印字すべきデータ
の編集処理を行うことが可能な場合には、データを受信
したとき、−度の解析を行うだけで印字のための内部デ
ータ処理を完了することができる。
In this way, in the above printer device, if there is no received data inside the printer device and it is possible to edit the data to be printed next, when the data is received, -degree analysis is performed. The internal data processing for printing can be completed just by doing this.

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

以上説明したように、本発明によれば、プリンタ装置内
部に受信済みのデータがなく、次の印字データの編集が
可能なときは、受信データが一度の解析だけで処理でき
るので、常に二度の解析を必要とした従来のプリンタ装
置に比較して、処理時間を短縮できる効果がある。
As explained above, according to the present invention, when there is no received data inside the printer device and the next print data can be edited, the received data can be processed with only one analysis, so it is always possible to process the received data twice. This has the effect of shortening the processing time compared to conventional printer devices that require analysis.

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

第1図は本発明の一実施例を示すプリンタ装置の内部処
理ブロック図、第2図は従来のプリンタ装置の内部処理
ブロック図である。 1・・・・・・第3の解析部、12・・・・・・インタ
フェース部、13・・・・・・第1の解析部、14・・
・・・・受信バッファ、15・・・・・・第2の解析部
、16・・・・・・編集部、17・・・・・・印字部。
FIG. 1 is an internal processing block diagram of a printer device showing an embodiment of the present invention, and FIG. 2 is an internal processing block diagram of a conventional printer device. 1... Third analysis section, 12... Interface section, 13... First analysis section, 14...
. . . Reception buffer, 15 . . . Second analysis section, 16 . . . Editing section, 17 . . . Printing section.

Claims (1)

【特許請求の範囲】[Claims] (1)、インタフェース部で受信したデータを第1の解
析部によって解析したのち受信バッファに一旦格納し、
該格納されたデータを第2の解析部によって再び解析し
たのち編集処理を行って印字するプリンタ装置において
、 前記インタフェース部に受信データを解析する第3の解
析部を併設し、 該プリンタ装置内に編集処理中のデータがないときは、
受信データを該第3の解析部において解析したのち直ち
に編集処理を行うようにしたことを特徴とするプリンタ
装置。
(1) After the data received by the interface unit is analyzed by the first analysis unit, it is temporarily stored in the reception buffer,
In a printer device that analyzes the stored data again by a second analysis section, performs editing processing, and prints the data, a third analysis section that analyzes the received data is attached to the interface section, and a third analysis section that analyzes the received data is installed in the printer device. If there is no data being edited,
A printer device characterized in that editing processing is performed immediately after the received data is analyzed by the third analysis section.
JP61202994A 1986-08-29 1986-08-29 Printer device Pending JPS6358532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61202994A JPS6358532A (en) 1986-08-29 1986-08-29 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61202994A JPS6358532A (en) 1986-08-29 1986-08-29 Printer device

Publications (1)

Publication Number Publication Date
JPS6358532A true JPS6358532A (en) 1988-03-14

Family

ID=16466573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61202994A Pending JPS6358532A (en) 1986-08-29 1986-08-29 Printer device

Country Status (1)

Country Link
JP (1) JPS6358532A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01241616A (en) * 1988-03-24 1989-09-26 Canon Inc Printing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01241616A (en) * 1988-03-24 1989-09-26 Canon Inc Printing device

Similar Documents

Publication Publication Date Title
JPS6358532A (en) Printer device
JPH01188374A (en) Printing system
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JPH01171960A (en) Printer apparatus
JP3254758B2 (en) Printing system
JP2716168B2 (en) Compatible printer system
US5664209A (en) Document processing apparatus for processing information having different data formats
JP2000057130A (en) Method and device for automatically discriminating and printing correction place in document preparation
JPH01241616A (en) Printing device
JPH035878A (en) Converting method for japanese language business form typing image data in host computer
JPH03105421A (en) Document output device
JPH02136917A (en) Recorder
JPH0213631B2 (en)
JPS63250735A (en) Image output device
JPS6054039A (en) Print controller
JPS588010B2 (en) Program creation device
JPH0511818B2 (en)
JPH01241618A (en) Printer
JPH0434618A (en) Printing device
JPS60173684A (en) Composite inputting system of image and character information
JPS6092881A (en) Data-processing system
JPH10329367A (en) Printer capable of printing content of communication data analysis
JPH0241252A (en) Change device mechanism
JP2002118757A (en) Data compression/expansion method and printer
JPH02309449A (en) Conversion system from document data into image data