Nothing Special   »   [go: up one dir, main page]

JPH0939339A - How to control the printer - Google Patents

How to control the printer

Info

Publication number
JPH0939339A
JPH0939339A JP19384595A JP19384595A JPH0939339A JP H0939339 A JPH0939339 A JP H0939339A JP 19384595 A JP19384595 A JP 19384595A JP 19384595 A JP19384595 A JP 19384595A JP H0939339 A JPH0939339 A JP H0939339A
Authority
JP
Japan
Prior art keywords
switch
printer
specific
data processing
switches
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
JP19384595A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Okada
充弘 岡田
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP19384595A priority Critical patent/JPH0939339A/en
Publication of JPH0939339A publication Critical patent/JPH0939339A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

(57)【要約】 【課題】プリンタのデータ処理中のフロントパネル(特
にキースイッチ)の制御を無駄な処理なく行えるように
する。 【解決手段】まず、スイッチSW1〜SW4のON動作
の有無を確認する。ON動作があった場合にはプリンタ
がデータ処理中か否かを判断する。データ処理中の場合
には押されたスイッチが特定のスイッチか否かを判断す
る。特定のスイッチでない場合にはスイッチのON動作
を無視し、特定のスイッチの場合にはCPU4がそのス
イッチに対応する動作処理を行う。
(57) Abstract: [PROBLEMS] To control a front panel (especially a key switch) during data processing of a printer without wasteful processing. First, it is confirmed whether or not switches SW1 to SW4 are turned on. If there is an ON operation, it is determined whether the printer is processing data. If data is being processed, it is determined whether the pressed switch is a specific switch. When the switch is not the specific switch, the ON operation of the switch is ignored, and when the switch is the specific switch, the CPU 4 performs an operation process corresponding to the switch.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタに関し、
特に、データ処理中に操作パネル上のスイッチのON動
作があった時のプリンタの制御方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer,
In particular, it relates to a printer control method when a switch on the operation panel is turned on during data processing.

【0002】[0002]

【従来の技術】従来は、プリンタがデータ処理中の時
に、操作パネル上の複数個のスイッチのいずれかがON
動作となったとき、すなわち外部からキースイッチが押
されたときに次の2つのいずれかの処理を行って制御し
ていた。
2. Description of the Related Art Conventionally, when a printer is processing data, one of a plurality of switches on an operation panel is turned on.
When the operation is performed, that is, when the key switch is pressed from the outside, the control is performed by performing one of the following two processes.

【0003】(1)スイッチを全てマトリックス回路で
構成し、一定時間毎にスイッチがON動作されたかどう
かをチェック(スキャン)していく。
(1) All switches are composed of a matrix circuit, and it is checked (scanned) whether or not the switches are turned on at regular intervals.

【0004】(2)割り込み制御を行い、いずれのスイ
ッチがON動作されても、CPUに対して割り込み要求
を行わせる。
(2) Interrupt control is performed to cause the CPU to issue an interrupt request regardless of which switch is turned on.

【0005】[0005]

【発明が解決しようとする課題】ところが、従来の制御
方法では、次のような問題があった。
However, the conventional control method has the following problems.

【0006】(1)の場合、一定時間毎にスイッチのス
キャンが生じるために、特にプリンタが印字データの処
理中などの忙しい時でも、必ずスキャンしなければなら
ず、データ処理が遅くなってしまう。また、それを助け
るためにスキャンの間隔を長くすると、スイッチのON
動作によるプリンタの動作の対応が遅くなったり、スイ
ッチのON動作が受け付けられなくなったりしてしま
う。
In the case of (1), since the switch is scanned at regular intervals, it must be scanned, especially when the printer is busy processing print data, and the data processing becomes slow. . Also, if you increase the scan interval to help that, the switch turns on.
The response of the operation of the printer due to the operation becomes slow, or the ON operation of the switch cannot be accepted.

【0007】(2)の場合、すべてのスイッチのON動
作に対して割り込み要求が発生するために、データ処理
中でも特に緊急性のないスイッチの場合にも割り込み要
求が発生して、無駄な時間が費やされてしまい、データ
処理中に無駄な時間がかかってしまう。
In the case of (2), since an interrupt request is generated for the ON operation of all the switches, an interrupt request is generated even in the case of a switch that is not particularly urgent during data processing, resulting in a waste of time. It is spent, and wastes time during data processing.

【0008】[0008]

【課題を解決するための手段】本発明は、上記問題に鑑
みてなされたものであり、操作パネル上に複数個のスイ
ッチを有し、スイッチのON動作によりプリンタに特定
の動作を行わせる制御方法において、データ処理中にス
イッチのON動作の有無を検出し、特定のスイッチから
のON動作があった場合には、割り込み要求信号を発生
させてプリンタを動作させ、それ以外のスイッチからの
ON動作があった場合には、そのON動作を無視するプ
リンタの制御方法としたものである。
The present invention has been made in view of the above problems, and has a plurality of switches on an operation panel, and controls the printer to perform a specific operation by turning on the switches. In the method, the presence / absence of a switch ON operation is detected during data processing, and if there is an ON operation from a specific switch, an interrupt request signal is generated to operate the printer, and an ON operation from other switches is performed. When there is an operation, the printer control method is to ignore the ON operation.

【0009】[0009]

【発明の実施の形態】以下本発明の実施例を図面を用い
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は、本発明のプリンタの構成概略図で
あり、フロントパネル部1、割り込み要求回路2、キー
スイッチコントロール回路3、CPU4、ROM5、R
AM6よりなる。
FIG. 1 is a schematic configuration diagram of a printer of the present invention, which includes a front panel unit 1, an interrupt request circuit 2, a key switch control circuit 3, a CPU 4, a ROM 5, and an R.
It consists of AM6.

【0011】フロントパネル部1は、複数のスイッチS
W1〜SW4を有する。このスイッチSW1〜SW4
は、外部から押されるとONとなり、プリンタの特定の
動作を行わせることができる。
The front panel unit 1 includes a plurality of switches S.
It has W1 to SW4. These switches SW1 to SW4
Is turned on when it is pressed from the outside, and a specific operation of the printer can be performed.

【0012】割り込み要求回路2は、特定のスイッチが
押されたことを認識する回路であり、特定のスイッチが
押された時のみ、CPU4に対して割り込み要求を発生
させる。なお、特定のスイッチとしては、データ処理中
でもすぐに対応する必要がある動作を行わせるためのス
イッチで、例えばオンラインキーや印字キャンセルキー
などが挙げられる。
The interrupt request circuit 2 is a circuit for recognizing that a specific switch has been pressed, and generates an interrupt request to the CPU 4 only when the specific switch is pressed. It should be noted that the specific switch is a switch for performing an operation that needs to be dealt with immediately even during data processing, and examples thereof include an online key and a print cancel key.

【0013】キースイッチコントロール回路3は、割り
込み要求回路2が対応しないスイッチが押されたことを
認識する回路であり、このキースイッチコントロール回
路3からのCPU4に対する要求は、上述した従来の
(1)または(2)の方法を用いればよい。
The key switch control circuit 3 is a circuit for recognizing that a switch not corresponding to the interrupt request circuit 2 has been pressed. The request from the key switch control circuit 3 to the CPU 4 is the above-mentioned conventional (1). Alternatively, the method (2) may be used.

【0014】CPU4は、プリンタ全体を制御するが、
本実施例では、少なくとも割り込み要求回路2、および
キースイッチコントロール回路3からの信号に対応し、
特定の動作をするように制御する部分である。
The CPU 4 controls the entire printer,
In this embodiment, at least the signals from the interrupt request circuit 2 and the key switch control circuit 3 are dealt with,
It is a part that controls to perform a specific operation.

【0015】ROM5には、プリンタが作動するための
プログラムが記録されている。
A program for operating the printer is recorded in the ROM 5.

【0016】RAM6には、印字するためのデータ等を
記録する。
Data and the like for printing are recorded in the RAM 6.

【0017】本実施例の動作を図2のフローチャートを
用いて説明する。
The operation of this embodiment will be described with reference to the flowchart of FIG.

【0018】まず、スイッチSW1〜SW4のON動作
の有無を確認する(STEP1)。ON動作が無い場合
には、STEP1を繰り返し、ON動作があった場合に
は、プリンタがデータ処理中か否かを判断する(STE
P2)。データ処理中でない場合には、CPU4がその
押されたスイッチに対応する動作処理を行い(STEP
6)、データ処理中の場合には、押されたスイッチが特
定のスイッチか否かを判断する(STEP3)。特定の
スイッチでない場合には、キースイッチコントロール回
路3が作動するが、CPU4はスイッチのON動作を無
視し(STEP4)、特定のスイッチの場合には、割り
込み要求回路2が作動してCPU4に対して割り込み要
求を出し(STEP5)、CPU4がそのスイッチに対
応する動作処理を行う(STEP6)。
First, it is confirmed whether or not the switches SW1 to SW4 are turned on (STEP1). If there is no ON operation, STEP 1 is repeated, and if there is an ON operation, it is determined whether or not the printer is performing data processing (STE).
P2). If the data is not being processed, the CPU 4 performs the operation process corresponding to the pressed switch (STEP
6) If data is being processed, it is determined whether the pressed switch is a specific switch (STEP 3). If it is not a specific switch, the key switch control circuit 3 operates, but the CPU 4 ignores the ON operation of the switch (STEP 4), and in the case of a specific switch, the interrupt request circuit 2 operates and the CPU 4 To issue an interrupt request (STEP 5), and the CPU 4 performs an operation process corresponding to the switch (STEP 6).

【0019】[0019]

【発明の効果】以上説明したように、本発明のプリンタ
の制御方法によれば、データ処理中でも緊急性を要する
スイッチやデータ処理に関係するスイッチが押された場
合にのみ、そのスイッチに対応する動作処理を行うため
に、以下のような効果を有するプリンタとなる。
As described above, according to the printer control method of the present invention, only when a switch that requires urgency even during data processing or a switch related to data processing is pressed, the switch is handled. In order to perform the operation processing, the printer has the following effects.

【0020】(1)プリンタがデータ処理中に、CPU
は割り込み要求があるまで、データ処理に専念すること
ができるために、プリントアウトされた絵が途中で切れ
ることが少なくなる。
(1) While the printer is processing data, the CPU
Since it can concentrate on data processing until there is an interrupt request, the printed picture is less likely to be cut off in the middle.

【0021】(2)特定のスイッチ以外が押された場合
には、無視するために、データ処理中に無駄な時間を費
やさない。
(2) When a switch other than a specific switch is pressed, it is ignored, so that no time is wasted during data processing.

【0022】(3)データ処理中の特定のスイッチへの
応答が良くなる。
(3) Response to a specific switch during data processing is improved.

【0023】(4)外部からスイッチを押す場合に、デ
ータ処理中に押しても良いスイッチかどうかの判断をす
る必要がなくなる。
(4) When the switch is pressed from the outside, it is not necessary to judge whether the switch can be pressed during data processing.

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

【図1】本発明のプリンタを示す構成概略図である。FIG. 1 is a schematic configuration diagram showing a printer of the present invention.

【図2】本発明のプリンタの制御方法を示すフローチャ
ートである。
FIG. 2 is a flowchart showing a printer control method of the present invention.

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

1:フロントパネル部 2:割り込み要求回路 3:キースイッチコントロール回路 4:CPU 5:ROM 6:RAM 1: Front panel section 2: Interrupt request circuit 3: Key switch control circuit 4: CPU 5: ROM 6: RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】操作パネル上に複数個のスイッチを有し、
該スイッチのON動作によりプリンタに特定の動作を行
わせる制御方法において、データ処理中に前記スイッチ
のON動作の有無を検出し、特定のスイッチからのON
動作があった場合には、割り込み要求信号を発生させて
プリンタを動作させ、それ以外のスイッチからのON動
作があった場合には、そのON動作を無視することを特
徴とするプリンタの制御方法。
1. An operation panel having a plurality of switches,
In a control method for causing a printer to perform a specific operation by turning on the switch, the presence or absence of the turning on operation of the switch is detected during data processing to turn on from the specific switch.
When there is an operation, an interrupt request signal is generated to operate the printer, and when there is an ON operation from another switch, the ON operation is ignored. .
JP19384595A 1995-07-28 1995-07-28 How to control the printer Pending JPH0939339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19384595A JPH0939339A (en) 1995-07-28 1995-07-28 How to control the printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19384595A JPH0939339A (en) 1995-07-28 1995-07-28 How to control the printer

Publications (1)

Publication Number Publication Date
JPH0939339A true JPH0939339A (en) 1997-02-10

Family

ID=16314707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19384595A Pending JPH0939339A (en) 1995-07-28 1995-07-28 How to control the printer

Country Status (1)

Country Link
JP (1) JPH0939339A (en)

Similar Documents

Publication Publication Date Title
US5563986A (en) Image processing system
JPH0939339A (en) How to control the printer
JP2004198889A (en) Image forming apparatus
JPH034318A (en) Printer device
JPS59129182A (en) Printing apparatus
JPH0640128A (en) Printer device
JPH05345462A (en) Printing method and device
JPS6117018B2 (en)
JP2738696B2 (en) Printing control device
JPH0536702Y2 (en)
JP3293337B2 (en) Printer device
JPH09146723A (en) Printer
JPS63160873A (en) Power source controlling system for printing device
JPH06155820A (en) Data management system for printer
JPH09191355A (en) Digital image forming device
JPH0592647A (en) Printer
JP2000043376A (en) Imaging system
KR20010038869A (en) Method for saving toner using the exclusive set up key in printer
JPH0557986A (en) Printing system of printer
JPH04370845A (en) System for buzzer sounding from background picture
JP2001341384A (en) Printer
JP2004106255A (en) Image forming apparatus
JPH03214228A (en) Control system for serial printer
JPH0624048A (en) Printer
JPH0671979A (en) Printing control device