JP2738696B2 - Printing control device - Google Patents

Printing control device

Info

Publication number
JP2738696B2
JP2738696B2 JP63068288A JP6828888A JP2738696B2 JP 2738696 B2 JP2738696 B2 JP 2738696B2 JP 63068288 A JP63068288 A JP 63068288A JP 6828888 A JP6828888 A JP 6828888A JP 2738696 B2 JP2738696 B2 JP 2738696B2
Authority
JP
Japan
Prior art keywords
data
analysis
analysis system
unit
control device
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
JP63068288A
Other languages
Japanese (ja)
Other versions
JPH01241616A (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.)
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 JP63068288A priority Critical patent/JP2738696B2/en
Publication of JPH01241616A publication Critical patent/JPH01241616A/en
Application granted granted Critical
Publication of JP2738696B2 publication Critical patent/JP2738696B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えばポストコンピュータのような外部装
置から入力したデータに従って、記録用紙等に印字出力
を行う印字装置に適用可能な印字制御装置に関するもの
である。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing control device applicable to a printing device that prints out on a recording paper or the like in accordance with data input from an external device such as a post computer. Things.

〔従来の技術〕[Conventional technology]

第4図のブロック図に示すように一般にこの種の印字
装置1においては、例えばホストコンピュータのような
外部装置2から送られたデータを受信バッファ4に一度
格納する。データ解析部5は、受信バッファ4からデー
タを取り出してから解析を行い、解析データバッファ6
を作成する。出力部8は、解析データバッファ6に従っ
て例えば記録用紙のような被記録媒体9に印字出力を行
っている。
Generally, as shown in the block diagram of FIG. 4, in this type of printing apparatus 1, data sent from an external device 2 such as a host computer is once stored in a reception buffer 4. The data analysis unit 5 extracts data from the reception buffer 4 and analyzes the data.
Create The output unit 8 outputs a printout to a recording medium 9 such as a recording sheet according to the analysis data buffer 6.

外部装置2のコマンド体系に合わせた解析体系にデー
タ解析部5を切り替える場合には、使用者が操作パネル
10を操作し、その操作結果をパネル制御部11で検知し、
この検知に基づいてデータ解析部5に解析体系切り替え
の指示を行う。データ解析部5が解析体系切り替えの指
示を受けたときは、解析体系をその時点で無条件に切り
替える。そして、それ以後の入力データに対しては、切
り替わった解析体系による解析を行い、解析データバッ
ファ6を作成する。
When switching the data analysis unit 5 to an analysis system that matches the command system of the external device 2, the user operates the operation panel.
Operate 10 and the operation result is detected by the panel control unit 11,
Based on the detection, the data analysis unit 5 is instructed to switch the analysis system. When the data analysis unit 5 receives an instruction to switch the analysis system, the analysis system is unconditionally switched at that time. Then, the input data after that is analyzed by the switched analysis system, and the analysis data buffer 6 is created.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら上述の従来例においては、データ解析部
5が解析体系切り替えの指示を受けると解析体系をその
時点で無条件に切り替えるため、受信バッファ4に格納
されているデータが、解析体系切り替え前のコマンド体
系のデータであっても、切り替え後の解析体系によって
解析されてしまうという欠点があった。
However, in the above-described conventional example, when the data analysis unit 5 receives an instruction to switch the analysis system, the data stored in the reception buffer 4 is unconditionally switched at that time. There is a disadvantage that even the data of the system is analyzed by the analysis system after switching.

よって本発明の目的は、上述の点に鑑み、記憶手段に
入力データが記憶されているか否かに基づいて、印字部
を制御するための制御プログラムの変更を許可するか否
かを制御するようにした印字制御装置を提供することに
ある。
Therefore, an object of the present invention is to control whether or not to permit a change of a control program for controlling a printing unit based on whether or not input data is stored in a storage unit in view of the above points. It is another object of the present invention to provide a print control device.

〔課題を解決するための手段〕[Means for solving the problem]

上記の目的を達成するために、本発明は、受信した入
力データに基づき、所定の制御プログラムを用いて印字
部を制御する印字制御装置であって、受信した入力デー
タを記憶する記憶手段と、前記印字部を制御する制御プ
ログラムを変更する変更手段と、前記記憶手段に前記入
力データが記憶されているか否かに基づいて、前記変更
手段による前記制御プログラムの変更を許可するか否か
を制御する制御手段とを備えたものである。
In order to achieve the above object, the present invention is a print control device that controls a printing unit using a predetermined control program based on received input data, and a storage unit that stores the received input data, Changing means for changing a control program for controlling the printing unit; and controlling whether or not to allow the changing means to change the control program based on whether or not the input data is stored in the storage means. And control means for performing the control.

〔実施例〕〔Example〕

以下、図面を参照して本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

本発明に係る印字装置は、第1図に示すように、入力
された印字データを解析するデータ解析手段101と、解
析手段が有する解析体系を入力された印字データのコマ
ンド体系に合わせて切り替える切り替え手段102と、切
り替え手段による解析体系の切り替えを行うか否かを判
定する判定手段103とを備えたことを特徴とするもので
ある。
As shown in FIG. 1, a printing apparatus according to the present invention includes a data analysis unit 101 that analyzes input print data, and a switch that switches an analysis system of the analysis unit in accordance with a command system of the input print data. And a determination means for determining whether or not to switch the analysis system by the switching means.

第2図は、本発明を実施したデータ解析部5におい
て、解析体系切り替えの指示を受け取った際のデータ解
析部5による処理の流れを示している。
FIG. 2 shows the flow of processing by the data analysis unit 5 when receiving an instruction to switch the analysis system in the data analysis unit 5 embodying the present invention.

パネル制御部11から送られた解析体系切り替えの指示
を受けとると、まずステップS1において受信バッファ4
あるいは解析データバッファ6上に解析体系切り替え前
に格納されたデータが残っているかどうかを調べる。
When receiving an instruction to switch the analysis system sent from the panel control unit 11, first, in step S1, the reception buffer 4
Alternatively, it is checked whether or not data stored before switching the analysis system remains in the analysis data buffer 6.

ステップS1においてデータがないと判断された場合に
は、解析体系を切り替えてよいとみなし、ステップS2に
移って解析体系の切り替えを行い、次にステップS3に移
って切り替え後の解析体系によってデータの解析を行
う。
If it is determined in step S1 that there is no data, it is considered that the analysis system may be switched, and the process proceeds to step S2 to switch the analysis system. Perform analysis.

ステップS1の判断によりもしデータが残っていた場合
には、現在の解析体系で解析すべきデータがさらに入力
される可能性があるものとみなして解析体系の切り替え
は行わず、ステップS4に移って現在の解析体系によって
データの解析を行う。
If data remains in the judgment of step S1, it is assumed that data to be analyzed by the current analysis system may be further input, and the analysis system is not switched, and the process proceeds to step S4. Analyze the data using the current analysis system.

第3図は本発明の他の実施例を示すフローチャートで
ある。解析体系切り替えの指示を受け取った際に、ステ
ップS1において受信バッファ4あるいは、解析データバ
ッファ6上にデータが残っていると判断された場合に
は、ステップS4に移り、受信バッファ4上のデータのす
べてを現在の解析体系で解析し、受信バッファ上のデー
タがなくなったら、解析データバッファ6上のデータを
全て出力部8に出力する。そして、出力終了後に、ステ
ップSに移って解析体系を切り替え、ステップS3の処理
を行ってもよい。
FIG. 3 is a flowchart showing another embodiment of the present invention. If it is determined in step S1 that data remains in the reception buffer 4 or the analysis data buffer 6 when the instruction to switch the analysis system is received, the process proceeds to step S4, where the data in the reception buffer 4 is deleted. Everything is analyzed by the current analysis system, and when there is no more data in the reception buffer, all data in the analysis data buffer 6 is output to the output unit 8. Then, after the output is completed, the process may proceed to step S to switch the analysis system and perform the process of step S3.

このように解析体系を切り替えるのは、データ入力の
なくなった時点を、現在のコマンド体系のデータの終了
とみなす方法である。この方法によれば操作者は切り替
えの操作は1度行えばよいという利点がある。
Switching the analysis system in this way is a method in which the point at which data input is stopped is regarded as the end of the data of the current command system. This method has the advantage that the operator only has to perform the switching operation once.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、記憶手段に入
力データが記憶されているか否かに基づいて、印字部を
制御するための制御プログラムの変更を許可するか否か
を制御するようにした印字制御装置を実現することがで
きる。
As described above, according to the present invention, based on whether or not input data is stored in a storage unit, whether to permit a change of a control program for controlling a printing unit is controlled. It is possible to realize a printing control device that has been improved.

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

第1図は、本発明に係る印字装置の基本構成図、 第2図は、本発明の実施例のフローチャート、 第3図は、本発明の他の実施例のフローチャート、 第4図は、印字装置の構成を示すブロック図である。 1……印字装置、 2……外部装置、 4……受信バッファ、 5……データ解析部、 6……解析データバッファ、 8……出力部、 9……被記録媒体、 10……操作パネル、 11……パネル制御部。 FIG. 1 is a basic configuration diagram of a printing apparatus according to the present invention, FIG. 2 is a flowchart of an embodiment of the present invention, FIG. 3 is a flowchart of another embodiment of the present invention, FIG. FIG. 2 is a block diagram illustrating a configuration of the device. DESCRIPTION OF SYMBOLS 1 ... Printing device, 2 ... External device, 4 ... Reception buffer, 5 ... Data analysis part, 6 ... Analysis data buffer, 8 ... Output part, 9 ... Recording medium, 10 ... Operation panel , 11 ... Panel control unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】受信した入力データに基づき、所定の制御
プログラムを用いて印字部を制御する印字制御装置であ
って、 受信した入力データを記憶する記憶手段と、 前記印字部を制御する制御プログラムを変更する変更手
段と、 前記記憶手段に前記入力データが記憶されているか否か
に基づいて、前記変更手段による前記制御プログラムの
変更を許可するか否かを制御する制御手段と を備えたことを特徴とする印字制御装置。
1. A print control device for controlling a printing unit based on received input data using a predetermined control program, comprising: storage means for storing received input data; and a control program for controlling the printing unit. And control means for controlling whether to permit the change means to change the control program based on whether or not the input data is stored in the storage means. A print control device characterized by the above-mentioned.
JP63068288A 1988-03-24 1988-03-24 Printing control device Expired - Fee Related JP2738696B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63068288A JP2738696B2 (en) 1988-03-24 1988-03-24 Printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63068288A JP2738696B2 (en) 1988-03-24 1988-03-24 Printing control device

Publications (2)

Publication Number Publication Date
JPH01241616A JPH01241616A (en) 1989-09-26
JP2738696B2 true JP2738696B2 (en) 1998-04-08

Family

ID=13369433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63068288A Expired - Fee Related JP2738696B2 (en) 1988-03-24 1988-03-24 Printing control device

Country Status (1)

Country Link
JP (1) JP2738696B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878275A (en) * 1990-04-12 1999-03-02 Canon Kabushiki Kaisha Information processing apparatus which discriminates whether or not input information is stored in memory and controlling the switching from a first control program to a second control program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2921899B2 (en) * 1990-02-16 1999-07-19 カシオ電子工業株式会社 Printing operation control device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0746335B2 (en) * 1985-06-27 1995-05-17 キヤノン株式会社 Command data processing method
JPH0785214B2 (en) * 1986-03-14 1995-09-13 キヤノン株式会社 Printer
JPS62245477A (en) * 1986-04-18 1987-10-26 Fujitsu Ltd Input data processor
JPS6358532A (en) * 1986-08-29 1988-03-14 Nec Corp Printer device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878275A (en) * 1990-04-12 1999-03-02 Canon Kabushiki Kaisha Information processing apparatus which discriminates whether or not input information is stored in memory and controlling the switching from a first control program to a second control program
US6154795A (en) * 1990-04-12 2000-11-28 Canon Kabushiki Kaisha System for switching from control program stored in an output apparatus to control program stored in detachable memory based on discriminated feeding status of recording medium
US6397271B1 (en) 1990-04-12 2002-05-28 Canon Kabushiki Kaisha System for switching from a first control program to a second control program based on discriminated transport status of recording medium

Also Published As

Publication number Publication date
JPH01241616A (en) 1989-09-26

Similar Documents

Publication Publication Date Title
JP2615137B2 (en) Printing device
JP2738696B2 (en) Printing control device
JPH01269565A (en) Printer
JPH01241618A (en) Printer
JPH0546935Y2 (en)
JP3092327B2 (en) Printer
JPH0312729A (en) Recorder
JP3017363B2 (en) Printing equipment
JPH05158664A (en) Information processor
JPH03214228A (en) Control system for serial printer
JPH04294417A (en) Information processor and its control method
JPH01317954A (en) Printing device
JPH05101218A (en) Handwritten character input device
JPS62236745A (en) Data processing device
JPH0373894B2 (en)
JPH05131682A (en) Printing controller
JPH04189570A (en) Printer device
JPH01175026A (en) Receiving data storage system in printer
JPH0872332A (en) Damp output method in printer
JPH03264381A (en) Printer
JPH05212914A (en) Image processor
JPH0671950A (en) Printer device
JPH05558A (en) Evaluation test system of printing device
JPH06115221A (en) Printer
JPH0761065A (en) Device and method for printing

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees