JPH01278384A - Printer control method - Google Patents

Printer control method

Info

Publication number
JPH01278384A
JPH01278384A JP63105527A JP10552788A JPH01278384A JP H01278384 A JPH01278384 A JP H01278384A JP 63105527 A JP63105527 A JP 63105527A JP 10552788 A JP10552788 A JP 10552788A JP H01278384 A JPH01278384 A JP H01278384A
Authority
JP
Japan
Prior art keywords
printer
cover
open
state
switch
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
JP63105527A
Other languages
Japanese (ja)
Inventor
Kanji Nagai
長井 寛治
Hitoshi Sekine
均 関根
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP63105527A priority Critical patent/JPH01278384A/en
Publication of JPH01278384A publication Critical patent/JPH01278384A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To realize a lower production cost and an easy operation by operators without using a latch-type switch, by a method wherein, a flag signal is generated by an arithmetic means, and a printer action is controlled according to an output from a detection means, detecting the open/close state of a cover, and the state of the flag signal. CONSTITUTION:The open/close state of a cover 64 is detected by a switch 65. According to the detection signal of the switch 65 and the state of a FLG obtained by a logical operation in a CPU 55 the actions of a space motor 52 and a line feed motor 53 are controlled, and a printing action is conducted. For the maintenance or measurement of a printer 60 by an operator, a power is thrown-in with the cover 64 of the printer 60 open, whereby the printer 60 conducts a normal printing action. If the cover 64 is closed thereafter, the printer 60 continues the action. In another case that the cover 64 is closed when a power is thrown in, the printer 60 conducts a normal action as long as the cover 64 is closed. But, if the cover 64 is opened during the actuation of the printer 60, the printer 60 stops actuating and issues an alarm.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はプリンタの動作、特にカバーの開閉にともなう
プリンタの動作、を制御するプリンタの制御方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a printer control method for controlling printer operations, particularly printer operations associated with opening and closing of a cover.

〈従来の技術) 第2図に従来用いられているプリンタの一例の斜視図を
示す、第2図において、プリンタ2oの内部には、プラ
テン21に沿って往復移動するヘッド22を搭載したキ
ャリッジ23が設けられている。また、該プリンタ20
の一隅には、該プリンタ2oのカバー24の開閉状態を
検出するスイッチ25が設けられている。該スイッチ2
5は、例えば第3図に示すようなラッチタイプの3段ス
イッチが用いられる。
<Prior Art> FIG. 2 shows a perspective view of an example of a conventionally used printer. In FIG. is provided. In addition, the printer 20
A switch 25 is provided at one corner of the printer 2o to detect whether the cover 24 of the printer 2o is open or closed. The switch 2
Reference numeral 5 uses a latch type three-stage switch as shown in FIG. 3, for example.

第4図は、この様なプリンタの動作を制御する従来の回
路構成の一例を示すブロック図である。
FIG. 4 is a block diagram showing an example of a conventional circuit configuration for controlling the operation of such a printer.

第4図において、制御回路ユニット40は、中央演算処
理装置(以下rcPUJと略記する)45と、該CPU
45にプログラムされた信号やデータの入出力を行うプ
ログラマブル・リード・オンリー・メモリ(以下rRO
MJと略記する)47及びランダム・アクセス・メモリ
(以下rRAMJと略記する)48、並びに外部回路と
信号の入出力を行う入出力ボート(以下「■10ボート
」と略記する)46とから成る。該I10ボート46に
は、前記スイッチ25、並びに前記キャリッジ23を水
平方向に移動させるためのスペースモータ42、及び改
行用モータ43が接続されている。
In FIG. 4, the control circuit unit 40 includes a central processing unit (hereinafter abbreviated as rcPUJ) 45 and a CPU
Programmable read-only memory (hereinafter referred to as rRO) that inputs and outputs signals and data programmed in
It consists of a random access memory (hereinafter abbreviated as rRAMJ) 47, a random access memory (hereinafter abbreviated as rRAMJ) 48, and an input/output boat (hereinafter abbreviated as "10 boat") 46 for inputting and outputting signals to and from external circuits. The I10 boat 46 is connected to the switch 25, a space motor 42 for horizontally moving the carriage 23, and a line feed motor 43.

スイッチ25からのカバーの開閉状態を示す信号(以下
「カバー信号」と略記する)は、I10ボート46を介
して、CPU45へ入力される。該CPU45では、R
OM47.RAM48にプログラムされた制御信号に基
づいて前記カバー信号を演算処理する。そしてこの演算
結果に基づいて、各モータ42,43の動作を制御する
制御信号を、再びI10ボート46を介して、該各モー
タ42,43へ印加する。
A signal indicating the open/closed state of the cover from the switch 25 (hereinafter abbreviated as "cover signal") is input to the CPU 45 via the I10 boat 46. In the CPU 45, R
OM47. The cover signal is processed based on the control signal programmed in the RAM 48. Based on this calculation result, a control signal for controlling the operation of each motor 42, 43 is again applied to each motor 42, 43 via the I10 boat 46.

この様な従来のプリンタ20の操作において、プリンタ
20の印字動作中に、オペレーターかカバー24を開け
た場合に前記キャリッジ23か移動動作をしていると、
オペレーターに危険が発生する。そのため、カバー24
が開けられた場合には、前記キャリッジ23等の移動動
作を一旦停止させ、オペレーターがカバー24を閉じた
後に、プリンタ20の動作を復活させる様に制御されて
いた。
In the operation of such a conventional printer 20, if the operator opens the cover 24 during the printing operation of the printer 20, and the carriage 23 moves,
Danger to the operator. Therefore, cover 24
When the cover 24 is opened, the movement of the carriage 23 and the like is temporarily stopped, and after the operator closes the cover 24, the operation of the printer 20 is resumed.

また、プリンタ20の保守や内部動作の測定をする等の
場合には、第3図に示すスイッチ25の操作により、カ
バー24を開いた状態でもプリンタ20が動作するよう
制御していた。
Further, when maintaining the printer 20 or measuring its internal operation, the printer 20 is controlled to operate even when the cover 24 is open by operating a switch 25 shown in FIG.

即ち、通常の動作時には、カバー24が閉じている場合
には、スイッチ25のスイッチレバー31は第3図(A
)の3b状態となり、スイッチ回路は同図(B)の■状
態となって、00M端子とNC端子とが接続されてプリ
ンタ20は正常に動作する。
That is, during normal operation, when the cover 24 is closed, the switch lever 31 of the switch 25 is in the position shown in FIG.
), the switch circuit enters the state 3b shown in FIG. 3(B), the 00M terminal and the NC terminal are connected, and the printer 20 operates normally.

また、カバー24が開いた場合には、スイッチレバー3
1は第3図(A)の38状態になり、スイッチ回路は同
図(B)の■状態となって、00M端子とNC端子とが
接続されてプリンタ20の動作が停止する。
In addition, when the cover 24 is opened, the switch lever 3
1 is in state 38 in FIG. 3(A), the switch circuit is in state 3 in FIG. 3(B), the 00M terminal and the NC terminal are connected, and the operation of the printer 20 is stopped.

更に、プリンタ20の保守や内部動作の測定をする等の
場合には、スイッチレバー31を引上げて第3図(A)
の30の位置にし、スイッチ回路を同図(B)の■状態
とすれば、スイッチ回路の00M端子とNo端子とが接
続され、スイッチレバー31が3bの位置にある場合と
同様に、プリンタ20は動作可能な状態となる。この様
にして、保守や測定を行っていた。
Furthermore, when performing maintenance or measuring internal operations of the printer 20, pull up the switch lever 31 and switch to the position shown in FIG. 3(A).
If the switch circuit is set to the 30 position in the figure (B), the 00M terminal and the No terminal of the switch circuit are connected, and the printer 20 becomes operational. Maintenance and measurements were performed in this way.

〈発明が解決しようとする課題〉 上述した従来のプリンタの制御方法では、保守や測定の
際にカバーを開けたままプリンタを動作させるためには
、カバーの開閉状態を検出するスイッチとしてラッチタ
イプのスイッチを用いなければならなかった。その為、
カバーの状態を検出する検出機構部の占有面積が大きく
なってしまい、実装方法を含めて、カバー設計の制約条
件が大きく、外観デザインの上でも規制されてしまうと
いう欠点があった。
<Problems to be Solved by the Invention> In the conventional printer control method described above, in order to operate the printer with the cover open during maintenance or measurement, a latch type switch is used to detect the open/closed state of the cover. I had to use a switch. For that reason,
This has disadvantages in that the area occupied by the detection mechanism section that detects the state of the cover becomes large, and there are large constraints on the cover design, including the mounting method, and the external design is also restricted.

また、スイッチ選択の自由度も制約され、コストアップ
の原因ともなった。
Furthermore, the degree of freedom in selecting switches was also restricted, leading to an increase in costs.

更に、カバーを開けたままプリンタを動作させたい場合
には、前述したラッチタイプのスイッチレバーをいちい
ち持上げなければならないという煩わしさがあった。
Furthermore, if you want to operate the printer with the cover open, you have to lift the aforementioned latch type switch lever one by one, which is a hassle.

本発明は従来のプリンタの制御方法の上述した欠点を解
消するために成されたものであり、ラッチタイプのスイ
ッチを用いないで、設計上の自由度が大きく、生産コス
トが安く、またオペレーターの操作も容易なプリンタの
制御方法を提供することを目的とする。
The present invention has been made to eliminate the above-mentioned drawbacks of the conventional printer control method, and does not use a latch type switch, allowing greater freedom in design, lower production costs, and improved operator control. The object of the present invention is to provide a printer control method that is easy to operate.

〈課題を解決するための手段〉 本発明のプリンタの制御方法は、 カバーの開閉状態を検知手段により検知してプリンタの
動作を制御するプリンタの制御方法において、 前記検知手段と協働してプリンタの動作を制御する標識
信号を発生する演算手段を設け、初期状態において、前
記標識信号を第1の状態に設定し、 前記標識信号かこの第1の状態にあるときは、カバーが
開いている場合はプリンタの動作を行わせ、カバーが閉
じている場合は前記標識信号を第2の状態に切換え、 前記標識信号が第2の状態にあるときは、カバーか開い
ている場合はプリンタの動作を禁止するとともにカバー
が開いている状態の警報を発し、カバーが閉じている場
合はプリンタの動作を行わせるよう制御することを特徴
とするものである。
<Means for Solving the Problems> A method for controlling a printer according to the present invention is a method for controlling a printer in which the operation of the printer is controlled by detecting the opening/closing state of a cover by a detection means, the printer controlling the operation of the printer in cooperation with the detection means. further comprising a calculation means for generating a beacon signal for controlling the operation of the beacon, and in an initial state, the beacon signal is set to a first state, and when the beacon signal is in the first state, the cover is open. If the cover is closed, the indicator signal is switched to a second state, and if the cover is open, the printer is operated. This feature is characterized in that it prohibits printing, issues an alarm if the cover is open, and controls the printer to operate if the cover is closed.

〈作用〉 本発明のプリンタの制御方法では、演算手段で標識信号
を発生させ、カバーの開閉状態を検出する検知手段の出
力と前記標識信号の状態とによってプリンタの動作を制
御する。その為、ラッチタイプのスイッチを設ける必要
がなく、前記ラッチタイプのスイッチを設けることによ
る前述した欠点を回避することができる。
<Operation> In the printer control method of the present invention, an indicator signal is generated by the calculation means, and the operation of the printer is controlled based on the output of the detection means for detecting the open/closed state of the cover and the state of the indicator signal. Therefore, there is no need to provide a latch type switch, and the above-described drawbacks caused by providing the latch type switch can be avoided.

即ち、初期状態において、前記標識信号を第1の状態に
設定し、この状態でカバーが開いている場合、即ちカバ
ーを開けたまま電源を投入した場合、のみプリンタの動
作を行わせてプリンタの保守や内部動作の測定を可能に
する。
That is, in the initial state, the indicator signal is set to the first state, and the printer is operated only when the cover is open in this state, that is, when the power is turned on with the cover open. Enables maintenance and measurement of internal operations.

電源投入時にカバーが閉じている場合や、前述のカバー
を開けたまま電源を投入した後にカバーを閉じた場合に
は、前記標識信号を第2の状態に切換える。そして、こ
の状態ではカバーが閉じたままでいる限りプリンタの動
作を正常に行わせる。更に、標識信号が第2の状態でオ
ペレーターがカバーを開けた場合、即ち意図的にカバー
を開けたまま電源を投入したのでなく、カバーが開けら
れた場合にはプリンタの動作を禁止するとともにカバー
が開いている状態の警報を発する。そして、この状態で
オペレーターがカバーを閉じればプリンタを再び正常に
動作せしめるものである。
If the cover is closed when the power is turned on, or if the cover is closed after the power is turned on with the cover open, the indicator signal is switched to the second state. In this state, the printer operates normally as long as the cover remains closed. Furthermore, if the operator opens the cover while the indicator signal is in the second state, that is, the operator did not intentionally turn on the power with the cover open, but the cover was opened, the operation of the printer is prohibited and the cover is closed. Issues an alarm when the door is open. If the operator closes the cover in this state, the printer will operate normally again.

以上の本発明の制御方法で、標識信号の状態の切換えは
演算回路で自動的に行われる。そのため、オペレーター
がラッチタイプのスイッチレバーないちいち操作して保
守や測定を行うという手間が不要となる。
In the control method of the present invention described above, switching of the state of the beacon signal is automatically performed by the arithmetic circuit. This eliminates the need for the operator to operate each latch-type switch lever for maintenance and measurements.

〈実施例) 以下、図面を参照しながら本発明の実施例を説明する。<Example) Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明のプリンタの制御方法の一実施例を示す
フローチャートであり、第5図は本制御方法を実現する
ための回路構成の一例を示すブロック図である。また、
第6図は本発明のプリンタの制御方法により制御するプ
リンタの一例を示す斜視図である。
FIG. 1 is a flowchart showing an embodiment of the printer control method of the present invention, and FIG. 5 is a block diagram showing an example of a circuit configuration for realizing the present control method. Also,
FIG. 6 is a perspective view showing an example of a printer controlled by the printer control method of the present invention.

まず、第6図のプリンタの構成を説明する0図において
、プリンタ60の内部には、プラテン61に沿って往復
移動するヘッド62を搭載したキャリッジ63が設けら
れている。また、該プリンタ60の一隅には、前記プリ
ンタ60のカバー64の開閉状態を検出するスイッチ6
5が設けられている。前記スイッチ65は、内部にホー
ルICが組込まれており、一方該ホールICをカバー6
4の開閉に従ってオン・オフするための磁石66が該カ
バー64の前記ホールICに対応する位置に埋め込まれ
ている。
First, in FIG. 0 illustrating the configuration of the printer shown in FIG. 6, a carriage 63 is provided inside the printer 60 on which a head 62 that reciprocates along a platen 61 is mounted. Further, in one corner of the printer 60, there is a switch 6 for detecting the open/closed state of the cover 64 of the printer 60.
5 is provided. The switch 65 has a Hall IC incorporated therein, and the Hall IC is covered with a cover 6.
A magnet 66 is embedded in the cover 64 at a position corresponding to the Hall IC.

次に、第5図の制御回路の構成を説明する。図において
、制御回路ユニット50は、cpussと、該cpus
sにプログラムされた信号やデータの入出力を行うRO
M 57及びRA M 58、並びに外部回路と信号の
入出力を行うI10ボート56とから成る。該I10ボ
ート56には、前記スイッチ65、並びに前記キャリッ
ジ63を水平方向に移動させるためのスペースモータ5
2、及び改行用モータ53が接続されている。
Next, the configuration of the control circuit shown in FIG. 5 will be explained. In the figure, a control circuit unit 50 includes a cpuss and a cpuss
RO that inputs and outputs signals and data programmed in s.
It consists of an M 57, a RAM 58, and an I10 port 56 that inputs and outputs signals to and from external circuits. The I10 boat 56 includes the switch 65 and a space motor 5 for horizontally moving the carriage 63.
2, and a line feed motor 53 are connected.

スイッチ65からのカバーの開閉状態を示すカバー信号
は、I10ボート56を介して、CPU55へ入力され
る。該cpussでは、ROM57.RAM58にプロ
グラムされた制御信号に基づいて前記カバー信号を演算
処理する。そして、この演算結果に基づいて、各モータ
52.53の動作を制御する制御信号を、再びI10ボ
ート56を介して、前記各モータ52,53へ引加する
A cover signal indicating the open/closed state of the cover from the switch 65 is input to the CPU 55 via the I10 boat 56. In the cpuss, ROM57. The cover signal is processed based on the control signal programmed in the RAM 58. Then, based on this calculation result, a control signal for controlling the operation of each motor 52, 53 is applied to each of the motors 52, 53 via the I10 boat 56 again.

以上に述べたプリンタ60を制御回路50で制御する方
法の一例を第1図のフローチャートを参照しながら説明
する。
An example of a method for controlling the printer 60 described above using the control circuit 50 will be described with reference to the flowchart shown in FIG.

まず、電源が投入されると、制御回路50の各部の状態
を初期状態に設定するイニシャル処理が行われる(ステ
ップII)。
First, when the power is turned on, an initial process is performed to set the state of each part of the control circuit 50 to an initial state (step II).

次に、前記スイッチ65から入力されるカバー信号と協
働してプリンタ60の動作を制御する標識信号であるカ
バーフラグ(以下rFLGJと略記する)にOを立てる
(ステップ12)。かくして、電源投入時にまずFLG
はOに設定されることとなる。
Next, a cover flag (hereinafter abbreviated as rFLGJ), which is an indicator signal that controls the operation of the printer 60 in cooperation with the cover signal input from the switch 65, is set to O (step 12). Thus, when the power is turned on, the FLG
will be set to O.

次に、FLGが1であるか否かを判別する(ステップ1
3)。現在の状態では、FLGはOに設定したのだから
、この判断結果はNOということになる。
Next, it is determined whether FLG is 1 (step 1
3). In the current state, FLG is set to O, so the result of this judgment is NO.

次に、カバー64が開かれているか否かを判別する(ス
テップ14)。
Next, it is determined whether the cover 64 is opened (step 14).

ここで、カバー64が開かれている場合、即ちオペレー
ターがカバー64を開いた状態で電源を投入した場合は
、プリンタ60はその本来のプリント動作を開始する(
ステップ16)。従って、オペレーターはカバー64を
開いたままプリンタ60の動作を確認して、その保守や
測定をなし得る。
Here, if the cover 64 is opened, that is, if the operator turns on the power with the cover 64 open, the printer 60 starts its original printing operation (
Step 16). Therefore, the operator can check the operation of the printer 60 and perform maintenance and measurements while keeping the cover 64 open.

そして、カバー64か開かれている間はFLGは0に保
たれ、引続きプリンタ60はその本来の動作を行う。即
ち、メインルーチン(ステップ16)終了後引続きFL
Gが0か1かの判別を行い(ステップ17)、FLGが
Oであれば、カバー64の開閉状態を判別するステップ
14に復帰して、更にメインルーチンを継続する(ステ
ップ16)。
Then, while the cover 64 is open, FLG is kept at 0, and the printer 60 continues to perform its original operation. That is, after the main routine (step 16) is finished, the FL
It is determined whether G is 0 or 1 (step 17), and if FLG is O, the process returns to step 14 to determine whether the cover 64 is opened or closed, and the main routine is further continued (step 16).

この過程てオペレーターがカム−64を閉じた場合には
、ステップ14の判別結果がNOとなり、FLGに1を
設定しくステップ15)、ステップ13に復帰する。な
お、カバー64が最初から閉じていた場合にも、ステッ
プ14の判定結果はNoとなり、FLGに1が設定され
る。即ち、プリンタ60の保守や測定等の場合でない通
常の使用時には、カバー64は最初から閉じられている
ので、電源投入後直ちにFLGに1が立てられることと
なる。
If the operator closes the cam 64 during this process, the determination result in step 14 becomes NO, FLG is set to 1 (step 15), and the process returns to step 13. Note that even if the cover 64 is closed from the beginning, the determination result in step 14 is No, and 1 is set in FLG. That is, during normal use of the printer 60, not for maintenance or measurement, the cover 64 is closed from the beginning, so 1 is set in FLG immediately after the power is turned on.

ステップ13では、今度はFLGは1であるから、判定
結果はYesとなり、次のステップI8に進む。
In step 13, since FLG is 1 this time, the determination result is Yes, and the process proceeds to the next step I8.

ステップ18では、再びカバー64が開かれているか否
かを判定する。即♂、プリンタ50の動作中にオペレー
ターが誤ってカバー64を開いてしまった様な場合に、
プリンタ6Gの動作を停止せしめ警報を発するためであ
る。
In step 18, it is determined again whether the cover 64 is opened. Immediately, if the operator accidentally opens the cover 64 while the printer 50 is operating,
This is to stop the operation of the printer 6G and issue an alarm.

従って、このステップ18の判定結果がYesである場
合は、プリンタ60の動作を禁止し、カバー64が開い
ている状態の警報を発する(ステップ19)。
Therefore, if the determination result in step 18 is Yes, the operation of the printer 60 is prohibited and an alarm is issued indicating that the cover 64 is open (step 19).

また、このステップ18の判定結果がNoである場合、
即ちカバー64が閉じている場合、はプリンタ60の通
常のプリント動作を行い(ステップ16)、電源が切ら
れる等の原因によりFLGがOにならない限り、次のス
テップ17を経由して、再びカバー64の開閉を確認し
て(ステップ18)プリント動作を繰返す。
Moreover, if the determination result of this step 18 is No,
That is, when the cover 64 is closed, the printer 60 performs the normal printing operation (step 16), and unless the FLG becomes O due to the power being turned off or the like, the cover 64 is closed again via the next step 17. 64 is opened and closed (step 18), and the printing operation is repeated.

以上の如く、本実施例においては、スイッチ65により
カバー64の開閉状態を検知し、該スイッチ65の検知
信号とcpussの論理演算によるFLGの状態により
、スペースモータ52.改行用モータ53の動作を制御
し、プリント動作を行わしめる。
As described above, in this embodiment, the open/closed state of the cover 64 is detected by the switch 65, and the space motor 52. The operation of the line feed motor 53 is controlled to perform the printing operation.

そして、オペレーターがプリンタ60の保守や測定を行
うためには、プリンタ60のカバー64を開けたまま電
源を投入すれば良く、この場合はプリンタ60は正常の
プリント動作を行う、そして、その後カバー64が閉じ
られてもプリンタ60はその動作を継続する。
Then, in order for the operator to perform maintenance or measurement on the printer 60, it is sufficient to turn on the power with the cover 64 of the printer 60 open.In this case, the printer 60 performs normal printing operation, and then the cover 64 The printer 60 continues its operation even when the printer 60 is closed.

その他の場合、即ち電源投入時にカバー64が閉じられ
ていた場合には、カバー64が閉じられている限りプリ
ンタ60は正常の動作を行い、該プリンタ60の動作中
にカバー64が開けられた場合に、プリンタ60はその
動作を停止し、警報を発する。
In other cases, that is, if the cover 64 is closed when the power is turned on, the printer 60 operates normally as long as the cover 64 is closed, and if the cover 64 is opened while the printer 60 is in operation. At that time, printer 60 stops its operation and issues an alarm.

なお、本実施例のプリンタの制御方法を適用するプリン
タ60のスイッチ65としてはホールICを用いたが、
該スイッチ65はこれに限定されるものではなく、通常
のマイクロスイッチや光スィッチ等であっても良いのは
もちろんである。
Note that although a Hall IC was used as the switch 65 of the printer 60 to which the printer control method of this embodiment is applied,
The switch 65 is not limited to this, and it goes without saying that it may be a normal micro switch, optical switch, or the like.

〈発明の効果〉 本発明のプリンタの制御方法においては、演算手段に標
識信号を設け、カバーの開閉状態を検知する検知手段と
協働してプリンタの動作を制御するようにしたので、ラ
ッチタイプのスイッチを用いる必要かなくなり、設計の
自由度が大きく、生産コストも安く出来る。また、保守
や測定を行いたい場合やオペレーターがカバーを開けた
ままプリント動作をさせたい場合、更には小売店の店頭
などで同様の動作をさせたい場合には、カバーを開けた
まま電源を投入しさえすれば良く、操作が極めて容易で
ある。
<Effects of the Invention> In the printer control method of the present invention, a beacon signal is provided in the calculation means, and the operation of the printer is controlled in cooperation with the detection means for detecting the open/closed state of the cover. It is no longer necessary to use a switch, which increases the degree of freedom in design and reduces production costs. In addition, when performing maintenance or measurement, when an operator wants to print with the cover open, or when performing similar operations at a retail store, turn on the power with the cover open. All you have to do is do it, and the operation is extremely easy.

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

第1図は、本発明のプリンタの制御方法の一実施例を示
すフローチャート、 第2図は、従来のプリンタの一例を示す斜視図、 第3図は、従来のプリンタに用いられるラッチタイプの
スイッチの一例を示す斜視図及び該スイッチの回路図、 第4図は、従来のプリンタの制御方法を実現するための
制御回路例を示すブロック図、第5図は、本発明のプリ
ンタの制御方法を実現するための制御回路の一例を示す
ブロック図、第6図は、本発明のプリンタの制御方法を
適用するプリンタの一例を示す斜視図である。 20 、60・・・プリンタ、  21.61・・・プ
ラテン。 22、62・・・ヘッド、   23.63・・・キャ
リッジ。 24.64・・・カバー、   25.65・・・スイ
ッチ。 31・・・スイッチレバー。 40.50・・・制御回路ユニット。 42.52・・・スペースモータ。 4]、5:l・・・改行用モータ、  45.55−C
P U 。 46.56・・・I10ボート、  47.57−・・
ROM。 48.58・・・RAM。 特許出願人    沖電気工業株式会社第1図 第2図 (A)      CB) ラレlzり2つノーメ飾シ9才グシクン8第3図 フ0クンタcy)f−y’M a 第6図
FIG. 1 is a flowchart showing an embodiment of the printer control method of the present invention, FIG. 2 is a perspective view showing an example of a conventional printer, and FIG. 3 is a latch type switch used in a conventional printer. FIG. 4 is a block diagram showing an example of a control circuit for realizing the conventional printer control method; FIG. 5 is a perspective view showing an example of the switch; FIG. FIG. 6 is a block diagram showing an example of a control circuit for realizing the present invention, and is a perspective view showing an example of a printer to which the printer control method of the present invention is applied. 20, 60...Printer, 21.61...Platen. 22, 62...head, 23.63...carriage. 24.64...Cover, 25.65...Switch. 31...Switch lever. 40.50...Control circuit unit. 42.52... Space motor. 4], 5:l... Line feed motor, 45.55-C
PU. 46.56...I10 boat, 47.57-...
ROM. 48.58...RAM. Patent Applicant Oki Electric Industry Co., Ltd. Figure 1 Figure 2 (A) CB) 2 Rare lzri Nome Decoration Shi 9 years old Gushikun 8 Figure 3 F0 Kuntacy) f-y'M a Figure 6

Claims (1)

【特許請求の範囲】  カバーの開閉状態を検知手段により検知してプリンタ
の動作を制御するプリンタの制御方法において、 前記検知手段と協働してプリンタの動作を制御する標識
信号を発生する演算手段を設け、 初期状態において、前記標識信号を第1の状態に設定し
、 前記標識信号がこの第1の状態にあるときは、カバーが
開いている場合はプリンタの動作を行わせ、カバーが閉
じている場合は前記標識信号を第2の状態に切換え、 前記標識信号が第2の状態にあるときは、カバーが開い
ている場合はプリンタの動作を禁止するとともにカバー
が開いている状態の警報を発し、カバーが閉じている場
合はプリンタの動作を行わせるよう制御することを特徴
とするプリンタの制御方法。
[Scope of Claims] A printer control method in which the operation of the printer is controlled by detecting the open/closed state of a cover by a detection means, comprising: arithmetic means for generating an indicator signal for controlling the operation of the printer in cooperation with the detection means; and in an initial state, the indicator signal is set to a first state, and when the indicator signal is in the first state, the printer is operated if the cover is open, and the printer is operated when the cover is closed. If the indicator signal is in the second state, the indicator signal is switched to a second state, and if the cover is open, the operation of the printer is prohibited and a warning is issued when the cover is open. A method for controlling a printer, characterized in that the printer is controlled to emit a message and to cause the printer to operate when the cover is closed.
JP63105527A 1988-04-30 1988-04-30 Printer control method Pending JPH01278384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63105527A JPH01278384A (en) 1988-04-30 1988-04-30 Printer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63105527A JPH01278384A (en) 1988-04-30 1988-04-30 Printer control method

Publications (1)

Publication Number Publication Date
JPH01278384A true JPH01278384A (en) 1989-11-08

Family

ID=14410063

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63105527A Pending JPH01278384A (en) 1988-04-30 1988-04-30 Printer control method

Country Status (1)

Country Link
JP (1) JPH01278384A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7572989B2 (en) 2004-11-30 2009-08-11 Brother Kogyo Kabushiki Kaisha Information apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7572989B2 (en) 2004-11-30 2009-08-11 Brother Kogyo Kabushiki Kaisha Information apparatus

Similar Documents

Publication Publication Date Title
JP3975740B2 (en) Vehicle door control device
JP2004132019A (en) Lock/unlock device
JPH01278384A (en) Printer control method
CA2288409A1 (en) Traction lock/momentary override
US5014201A (en) Automatic car-speed controller with detection of abnormality of the electromagnetic clutch
ITMI961556A1 (en) DEVICE OF CONSENT TO START A MOTORCYCLE
JP2000351560A (en) Door opening and closing control unit of elevator
GB2103840A (en) Machine capable of operating in a diagnosis mode
KR100677571B1 (en) Apparatus for controlling driving of an image forming apparatus
JP2007327265A (en) Driving control method of opening/closing body for vehicle
JPH0885037A (en) Safety device of machine tool
US6194857B1 (en) Electromotive actuator
EP1264678A1 (en) Drive control apparatus for an injection molding machine
JP4073178B2 (en) Vehicle control device
JP3129115B2 (en) Machine control device
JP3235156B2 (en) Door opening and closing device
JP2007032105A (en) Vehicle door control device and vehicle door control method
JPH08249081A (en) Method and device for power saving
KR940001478B1 (en) Elevator drive method and apparatus using card reader
JP2527502Y2 (en) Control device for power window for back door
JPH1087210A (en) Control device for hydraulic elevator
JP2001302168A (en) Method and device for setting maintenance operation position for escalator
JPH0789497A (en) Automatic collision avoidance device and artificial satellite provided therewith
JPH0441884A (en) Power window device
JP2871461B2 (en) Sewing machine drive