JP3251786B2 - Printer mode switching method - Google Patents

Printer mode switching method

Info

Publication number
JP3251786B2
JP3251786B2 JP21497094A JP21497094A JP3251786B2 JP 3251786 B2 JP3251786 B2 JP 3251786B2 JP 21497094 A JP21497094 A JP 21497094A JP 21497094 A JP21497094 A JP 21497094A JP 3251786 B2 JP3251786 B2 JP 3251786B2
Authority
JP
Japan
Prior art keywords
printer
mode
local test
host computer
switching method
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 - Lifetime
Application number
JP21497094A
Other languages
Japanese (ja)
Other versions
JPH0876945A (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.)
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 JP21497094A priority Critical patent/JP3251786B2/en
Publication of JPH0876945A publication Critical patent/JPH0876945A/en
Application granted granted Critical
Publication of JP3251786B2 publication Critical patent/JP3251786B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、プリンタのモード切換
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer mode switching method.

【0002】[0002]

【従来の技術】従来、プリンタはホストコンピュータに
接続され、該ホストコンピュータからの印刷データをプ
リンタに転送し、該印刷データによって印刷を行うこと
ができるようになっている。また、プリンタには、テス
ト印刷(以下「ローカルテスト」という。)機能を有す
るものがあり、プリンタ単独でローカルテストを行い、
印刷動作を確認することができるようになっている。
2. Description of the Related Art Conventionally, a printer is connected to a host computer so that print data from the host computer can be transferred to the printer and printing can be performed using the print data. Some printers have a test print (hereinafter, referred to as “local test”) function.
The printing operation can be checked.

【0003】この場合、この種のプリンタにおいては、
通常の印刷を行うための通常印刷モードと、ローカルテ
ストを行うためのローカルテストモードとを選択するこ
とができる。図2は従来のプリンタのブロック図であ
る。図において、11はインタフェース(I/F)部で
あり、該インタフェース部11は図示しないインタフェ
ースコネクタ、インタフェース用IC等から成り、ホス
トコンピュータからの印刷データをプリンタ制御部12
に送る。この場合、ホストコンピュータとプリンタと
は、ホストコンピュータからプリンタへの単方向通信が
可能になっている。
In this case, in this type of printer,
A normal print mode for performing normal printing and a local test mode for performing a local test can be selected. FIG. 2 is a block diagram of a conventional printer. In the figure, reference numeral 11 denotes an interface (I / F) unit. The interface unit 11 includes an interface connector, an interface IC (not shown), and the like.
Send to In this case, the host computer and the printer can perform one-way communication from the host computer to the printer.

【0004】また、13は操作パネルであり、該操作パ
ネル13は図示しないスイッチによって構成された入力
部14、及び図示しないLED、LCD等によって構成
された表示部15から成る。そして、前記入力部14を
操作することによって、フォントの選択等のプリンタに
おける各種のモードを設定することができる。また、前
記表示部15には、入力部14によって設定されたモー
ドが表示される。
Reference numeral 13 denotes an operation panel. The operation panel 13 includes an input unit 14 constituted by switches (not shown) and a display unit 15 constituted by LEDs (not shown) and LCD. By operating the input unit 14, various modes of the printer, such as selection of a font, can be set. The display unit 15 displays a mode set by the input unit 14.

【0005】そして、前記プリンタ制御部12は、図示
しないCPU、メモリ、周辺ロジック等によって構成さ
れ、前記インタフェース部11を介して受けた印刷デー
タに従って図示しない印刷機構部を作動させ、印刷を行
う。ところで、前記構成のプリンタにおいては、前記入
力部14を操作することによって、通常印刷モードとロ
ーカルテストモードとを選択することができるようにな
っている。そして、ローカルテストモードが選択される
と、プリンタ制御部12はモードの判定を行い、プリン
タをローカルテストモードに切り換える。そして、ホス
トコンピュータからのコマンドを受け付けず、メモリに
内蔵されたローカルテストパターンを印刷する。
The printer control unit 12 is constituted by a CPU, a memory, peripheral logic, and the like (not shown), and operates a printing mechanism (not shown) in accordance with print data received via the interface unit 11 to perform printing. By the way, in the printer having the above configuration, the normal print mode and the local test mode can be selected by operating the input unit 14. When the local test mode is selected, the printer control unit 12 determines the mode and switches the printer to the local test mode. Then, a command from the host computer is not accepted, and the local test pattern stored in the memory is printed.

【0006】なお、前記ローカルテストモードを選択す
る別の方法としては、入力部14の所定のスイッチを押
しながら図示しない電源をオンにする方法等がある。こ
のように、プリンタにおいてローカルテストモードを選
択する場合、入力部14を操作するか、該入力部14を
操作しながら電源をオンにするようになっている。
As another method of selecting the local test mode, there is a method of turning on a power source (not shown) while pressing a predetermined switch of the input unit 14. As described above, when selecting the local test mode in the printer, the user operates the input unit 14 or turns on the power while operating the input unit 14.

【0007】しかしながら、前記従来のプリンタのモー
ド切換方法においては、プリンタとホストコンピュータ
との間において双方向通信が可能であっても、プリンタ
には入力部14が必要になるので、コストが高くなって
しまう。すなわち、前記双方向通信が可能なプリンタ及
びホストコンピュータを使用する場合、プリンタの情報
をホストコンピュータに送信することができるので、ホ
ストコンピュータの入力手段によってプリンタのモード
を設定することができ、また、ホストコンピュータの表
示手段によってプリンタのモードを表示することができ
る。したがって、操作パネル13の入力部14及び表示
部15が不要になり、プリンタのコストを低くすること
ができる。
However, in the above-described conventional printer mode switching method, even if bidirectional communication is possible between the printer and the host computer, the input unit 14 is required for the printer, which increases the cost. Would. That is, when using a printer and a host computer capable of the two-way communication, the information of the printer can be transmitted to the host computer, so that the mode of the printer can be set by the input means of the host computer, The mode of the printer can be displayed by the display means of the host computer. Therefore, the input unit 14 and the display unit 15 of the operation panel 13 become unnecessary, and the cost of the printer can be reduced.

【0008】ところが、ローカルテストはホストコンピ
ュータからのコマンドを受け付けることなくプリンタ単
独で行うものであるので、ローカルテストを行うためだ
けに入力部14が必要になってしまう。したがって、ロ
ーカルテスト機能を有するプリンタを使用した場合にお
いては、コストを低くすることができない。本発明は、
前記従来のプリンタのモード切換方法の問題点を解決し
て、ローカルテスト機能を有するプリンタを使用した場
合でも、入力部が不要になり、コストを低くすることが
できるプリンタのモード切換方法を提供することを目的
とする。
However, since the local test is performed only by the printer without receiving a command from the host computer, the input unit 14 is required only for performing the local test. Therefore, when a printer having a local test function is used, the cost cannot be reduced. The present invention
A printer mode switching method that solves the problem of the conventional printer mode switching method and eliminates the need for an input unit even when a printer having a local test function is used, thereby reducing costs. The purpose is to:

【0009】[0009]

【課題を解決するための手段】そのために、本発明のプ
リンタのモード切換方法においては、プリンタの外部の
動作状態が動作可能であるか動作不能であるかを示し、
かつ、モードの切換えを行うための接続状態を示す入力
信号が入力されるプリンタに適用される。そして、前記
入力信号のハイレベル及びローレベルから成るパターン
と、ローカルテストモードが選択されたかどうかを判定
するためにあらかじめ設定された所定のパターンとが同
じであるかどうかを判断し、前記入力信号のハイレベル
及びローレベルから成るパターンと前記所定のパターン
とが同じである場合にローカルテストモードに切り換え
る。
For this purpose, in the printer mode switching method of the present invention, it is indicated whether the external operating state of the printer is operable or inoperable,
Further, the present invention is applied to a printer to which an input signal indicating a connection state for performing mode switching is input. Then, it is determined whether a pattern consisting of a high level and a low level of the input signal is the same as a predetermined pattern set in advance to determine whether the local test mode has been selected, and When the pattern consisting of the high level and the low level is the same as the predetermined pattern, the mode is switched to the local test mode.

【0010】本発明の他のプリンタのモード切換方法に
おいては、あらかじめ選択され、プリンタの印刷機構部
を構成する部材の使用態様を検出する。そして、前記印
刷機構部における前記部材の使用態様がモードの判定を
行うためにあらかじめ設定された所定の使用態様と異な
るかどうかを判断する。また、前記印刷機構部における
前記部材の使用態様が前記所定の使用態様と異なる場合
にモードを切り換える。
In another mode switching method for a printer according to the present invention, a use mode of a member selected in advance and constituting a printing mechanism of the printer is detected. Then, it is determined whether or not the usage mode of the member in the printing mechanism section is different from a predetermined usage mode set in advance to determine a mode. The mode is switched when the use mode of the member in the printing mechanism section is different from the predetermined use mode.

【0011】本発明の更に他のプリンタのモード切換方
法においては、さらに、プリンタの外部の動作状態が動
作可能であるか動作不能であるかを示す入力信号が入力
されるプリンタに適用される。前記入力信号が、プリン
タの外部の動作状態が動作不能であることを示している
場合に、前記印刷機構部における前記部材の使用態様の
変化がモードの判定を行うためにあらかじめ設定された
所定の変化と異なるかどうかを判断する。
In still another mode switching method for a printer according to the present invention, the method is applied to a printer to which an input signal indicating whether an external operating state of the printer is operable or inoperable is input. When the input signal indicates that the operation state outside the printer is inoperable, a change in the use mode of the member in the printing mechanism unit is determined in advance by a predetermined mode for performing mode determination. Determine if it is different from the change.

【0012】[0012]

【作用】本発明によれば、前記のようにプリンタのモー
ド切換方法においては、プリンタの外部の動作状態が動
作可能であるか動作不能であるかを示し、かつ、モード
の切換えを行うための接続状態を示す入力信号が入力さ
れるプリンタに適用される。そして、前記入力信号のハ
イレベル及びローレベルから成るパターンと、ローカル
テストモードが選択されたかどうかを判定するためにあ
らかじめ設定された所定のパターンとが同じであるかど
うかを判断し、前記入力信号のハイレベル及びローレベ
ルから成るパターンと前記所定のパターンとが同じであ
る場合にローカルテストモードに切り換える。
According to the present invention, as described above, in the printer mode switching method, it is possible to indicate whether the external operating state of the printer is operable or inoperable, and to switch the mode. The present invention is applied to a printer to which an input signal indicating a connection state is input. Then, it is determined whether a pattern consisting of a high level and a low level of the input signal is the same as a predetermined pattern set in advance to determine whether the local test mode has been selected, and When the pattern consisting of the high level and the low level is the same as the predetermined pattern, the mode is switched to the local test mode.

【0013】この場合、プリンタの外部の接続状態に基
づいて、入力信号のハイレベル及びローレベルから成る
パターンと、ローカルテストモードが選択されたかどう
かを判定するためにあらかじめ設定された所定のパター
ンとが同じであると判断されると、ローカルテストモー
ドに切り換えられる。
In this case, a pattern consisting of a high level and a low level of an input signal and a predetermined pattern set in advance to determine whether or not the local test mode has been selected, based on the external connection state of the printer. Are determined to be the same, the mode is switched to the local test mode.

【0014】本発明の他のプリンタのモード切換方法に
おいては、あらかじめ選択され、プリンタの印刷機構部
を構成する部材の使用態様を検出する。そして、前記印
刷機構部における前記部材の使用態様がモードの判定を
行うためにあらかじめ設定された所定の使用態様と異な
るかどうかを判断する。また、前記印刷機構部における
前記部材の使用態様が前記所定の使用態様と異なる場合
にモードを切り換える。
In another printer mode switching method according to the present invention, a use mode of a member selected in advance and constituting a printing mechanism of the printer is detected. Then, it is determined whether or not the usage mode of the member in the printing mechanism section is different from a predetermined usage mode set in advance to determine a mode. The mode is switched when the use mode of the member in the printing mechanism section is different from the predetermined use mode.

【0015】この場合、前記部材の使用態様がモードの
判定を行うためにあらかじめ設定された所定の使用態様
と異なると判断されると、モードが切り換えられる。
In this case, when it is determined that the usage mode of the member is different from a predetermined usage mode set in advance to determine the mode, the mode is switched.

【0016】[0016]

【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1は本発明の第1の実施例に
おけるプリンタのブロック図である。図において、11
はインタフェース部であり、該インタフェース部11は
図示しないインタフェースコネクタ、インタフェース用
IC等から成る。この場合、ホストコンピュータとの間
において双方向通信が可能になっていて、ホストコンピ
ュータからプリンタに印刷データやフォントの選択等の
各種のモードを設定するためのデータなどを送信した
り、プリンタからホストコンピュータに各種のモードの
状態を表すデータを送信したりすることができるように
なっている。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a printer according to a first embodiment of the present invention. In the figure, 11
Denotes an interface unit, and the interface unit 11 comprises an interface connector (not shown), an interface IC, and the like. In this case, two-way communication with the host computer is possible, and the host computer transmits data for setting various modes such as selection of print data and fonts to the printer, and the host computer transmits the data. Data indicating the status of various modes can be transmitted to a computer.

【0017】また、23は操作パネルであり、該操作パ
ネル23はプリンタの図示しない電源がオンであること
を表示する表示部24を有する。そして、プリンタ制御
部12は、図示しないCPU、メモリ、周辺ロジック等
によって構成され、前記インタフェース部11を介して
受けた印刷データに従って図示しない印刷機構部を作動
させ、印刷を行う。
Reference numeral 23 denotes an operation panel. The operation panel 23 has a display section 24 for displaying that a power source (not shown) of the printer is on. The printer controller 12 includes a CPU (not shown), a memory, peripheral logic, and the like. The printer controller 12 operates a printing mechanism (not shown) in accordance with print data received via the interface 11 to perform printing.

【0018】図3は本発明の第1の実施例における通常
モード時の接続状態図、図4は本発明の第1の実施例に
おけるローカルテストモード時の接続状態図である。図
において、12はプリンタ制御部、31はプリンタ、3
2はホストコンピュータ、33はプリンタ31側のイン
タフェースコネクタ、34はホストコンピュータ32側
のインタフェースコネクタ、35はプリンタ31とホス
トコンピュータ32とを接続するケーブル、37はレシ
ーバ、38はドライバである。
FIG. 3 is a connection state diagram in the normal mode in the first embodiment of the present invention, and FIG. 4 is a connection state diagram in the local test mode in the first embodiment of the present invention. In the figure, 12 is a printer control unit, 31 is a printer, 3
2 is a host computer, 33 is an interface connector on the printer 31 side, 34 is an interface connector on the host computer 32 side, 35 is a cable connecting the printer 31 and the host computer 32, 37 is a receiver, and 38 is a driver.

【0019】また、HSTはホストコンピュータ32の
ロジックの動作状態を示す入力信号としてのホストロジ
ックハイ信号である。該ホストロジックハイ信号HST
は、ホストコンピュータ32の図示しないロジック電源
がオンになっていてロジックが動作可能であることをプ
リンタ31に知らせる。そして、PTRはプリンタ31
のロジックの動作状態を示す出力信号としてのプリンタ
ロジックハイ信号である。該プリンタロジックハイ信号
PTRは、プリンタ31の図示しないロジック電源がオ
ンになっていてロジックが動作可能であることをホスト
コンピュータ32に知らせる。
HST is a host logic high signal as an input signal indicating the operation state of the logic of the host computer 32. The host logic high signal HST
Informs the printer 31 that the logic power supply (not shown) of the host computer 32 is on and the logic is operable. And the PTR is the printer 31
Is a printer logic high signal as an output signal indicating the operation state of the logic. The printer logic high signal PTR informs the host computer 32 that the logic power (not shown) of the printer 31 is turned on and the logic is operable.

【0020】通常モード時において、前記ホストロジッ
クハイ信号HSTはレシーバ37を介してプリンタ制御
部12に入力され、一方、プリンタロジックハイ信号P
TRはプリンタ制御部12からドライバ38を介して出
力される。ローカルテストモード時においては、プリン
タ31側のインタフェースコネクタ33に代えてローカ
ルテストモード設定用コネクタ41がプリンタ31に接
続される。そして、前記プリンタ制御部12は、プリン
タ31の外部においてローカルテストモード設定用コネ
クタ41が接続されたことを検出して、ローカルテスト
モードが選択されたと判定し、ローカルテストモードに
移る。
In the normal mode, the host logic high signal HST is input to the printer controller 12 via the receiver 37, while the printer logic high signal PST is
TR is output from the printer control unit 12 via the driver 38. In the local test mode, the local test mode setting connector 41 is connected to the printer 31 instead of the interface connector 33 on the printer 31 side. Then, the printer control unit 12 detects that the local test mode setting connector 41 is connected outside the printer 31, determines that the local test mode is selected, and shifts to the local test mode.

【0021】そのために、プリンタロジックハイ信号P
TRをあらかじめ設定されたパターンで出力させ、前記
ホストロジックハイ信号HSTのパターンと、前記プリ
ンタロジックハイ信号PTRのパターンとが同じである
かどうかを前記プリンタ制御部12が判断する。図5は
本発明の第1の実施例におけるプリンタのモード切換方
法を示すフローチャートである。ステップS1 プリン
タ31(図3)の電源をオンにする。ステップS2 プ
リンタロジックハイ信号PTRをローレベルにする。ス
テップS3 ホストロジックハイ信号HSTがハイレベ
ルであるかローレベルであるかを判断する。ホストロジ
ックハイ信号HSTがハイレベルである場合はステップ
S4に、ローレベルである場合はステップS6に進む。
ステップS4 ホストコンピュータ32のロジックが動
作可能であることが分かるので、プリンタロジックハイ
信号PTRをハイレベルにする。ステップS5 ホスト
コンピュータ32とプリンタ31との間で通信可能にな
り通常モードになる。ステップS6 プリンタロジック
ハイ信号PTRをハイレベルにする。ステップS7 ホ
ストロジックハイ信号HSTがハイレベルであるかロー
レベルであるかを判断する。ホストロジックハイ信号H
STがローレベルである場合はステップS8に、ハイレ
ベルである場合はステップS10に進む。ステップS8
ホストコンピュータ32のロジックが動作不能である
ので、ホストコンピュータ32とプリンタ31との間で
通信不能になる。ステップS9 ホストロジックハイ信
号HSTを監視し、ホストロジックハイ信号HSTがハ
イレベルになるまで待機する。ホストロジックハイ信号
HSTがハイレベルになった場合はステップS5に戻
る。ステップS10 プリンタロジックハイ信号PTR
をローレベルにする。ステップS11 ホストロジック
ハイ信号HSTがハイレベルであるかローレベルである
かを判断する。ホストロジックハイ信号HSTがハイレ
ベルである場合はステップS12に、ローレベルである
場合はステップS13に進む。ステップS12 途中で
ホストコンピュータ32のロジックが動作可能になった
と判断し、ステップS4に戻る。ステップS13 ロー
カルテストモード設定用コネクタ41(図4)が接続さ
れ、ローカルテストモードが選択されたと判定し、ロー
カルテストモードに移る。
For this purpose, the printer logic high signal P
TR is output in a preset pattern, and the printer control unit 12 determines whether the pattern of the host logic high signal HST and the pattern of the printer logic high signal PTR are the same. FIG. 5 is a flowchart showing a printer mode switching method according to the first embodiment of the present invention. Step S1 The power of the printer 31 (FIG. 3) is turned on. Step S2: Set the printer logic high signal PTR to low level. Step S3: It is determined whether the host logic high signal HST is at a high level or a low level. When the host logic high signal HST is at a high level, the process proceeds to step S4, and when it is at a low level, the process proceeds to step S6.
Step S4: Since the logic of the host computer 32 is operable, the printer logic high signal PTR is set to high level. Step S5: The communication between the host computer 32 and the printer 31 becomes possible, and the mode becomes the normal mode. Step S6: Set the printer logic high signal PTR to high level. Step S7: It is determined whether the host logic high signal HST is at a high level or a low level. Host logic high signal H
When ST is at the low level, the process proceeds to step S8, and when ST is at the high level, the process proceeds to step S10. Step S8
Since the logic of the host computer 32 is inoperable, communication between the host computer 32 and the printer 31 is disabled. Step S9: Monitor the host logic high signal HST and wait until the host logic high signal HST becomes high level. If the host logic high signal HST has gone high, the process returns to step S5. Step S10 Printer logic high signal PTR
To low level. Step S11: It is determined whether the host logic high signal HST is at a high level or a low level. When the host logic high signal HST is at a high level, the process proceeds to step S12, and when it is at a low level, the process proceeds to step S13. Step S12 It is determined that the logic of the host computer 32 becomes operable on the way, and the process returns to step S4. Step S13: The local test mode setting connector 41 (FIG. 4) is connected, it is determined that the local test mode has been selected, and the mode shifts to the local test mode.

【0022】この場合、プリンタロジックハイ信号PT
Rをハイレベルとローレベルとで切り換えるようになっ
ているが、プリンタロジックハイ信号PTRの切換え
は、プリンタ31とホストコンピュータ32との通信に
支障をきたさない短時間で行われる。なお、ローカルテ
ストモードから通常モードに復帰させる場合は、図4の
接続状態を図3の接続状態に切り換え、ホストロジック
ハイ信号HSTがハイレベルになるのを検出するか、再
度プリンタ31の電源をオンにする。
In this case, the printer logic high signal PT
Although R is switched between a high level and a low level, switching of the printer logic high signal PTR is performed in a short time without interfering with communication between the printer 31 and the host computer 32. When returning from the local test mode to the normal mode, the connection state shown in FIG. 4 is switched to the connection state shown in FIG. 3, and it is detected that the host logic high signal HST becomes high level, or the power supply of the printer 31 is turned off again. turn on.

【0023】また、前記ホストロジックハイ信号HST
及びプリンタロジックハイ信号PTRはIEEE128
4インタフェースに準拠した信号であるが、それぞれロ
ーアクティブな他の入力信号及び他の出力信号を利用す
ることもできる。このように、プリンタ31のインタフ
ェース部11(図1)においてホストコンピュータ32
のロジックが動作可能であることを示すホストロジック
ハイ信号HSTと、プリンタ31のロジックが動作可能
であることを示すプリンタロジックハイ信号PTRとが
プリンタ31の外部において接続されていることが検出
されたときに、プリンタ31がローカルテストモードに
移るようになっているので、操作パネル23には入力部
が不要になる。
The host logic high signal HST
And the printer logic high signal PTR is IEEE128
Although it is a signal conforming to the four interfaces, other input signals and other output signals which are respectively low active can also be used. As described above, in the interface unit 11 (FIG. 1) of the printer 31, the host computer 32
It is detected that the host logic high signal HST indicating that the logic of the printer 31 is operable and the printer logic high signal PTR indicating that the logic of the printer 31 is operable are connected outside the printer 31. At this time, since the printer 31 is shifted to the local test mode, the operation panel 23 does not need an input unit.

【0024】次に、本発明の第2の実施例について説明
する。図6は本発明の第2の実施例におけるプリンタの
ブロック図である。図において、11はインタフェース
部であり、該インタフェース部11は図示しないインタ
フェースコネクタ、インタフェース用IC等から成る。
この場合、ホストコンピュータ32(図3)とプリンタ
31との間において双方向通信が可能になっていて、ホ
ストコンピュータ32からプリンタ31に印刷データや
フォントの選択等の各種のモードを設定するためのデー
タなどを送信したり、プリンタ31からホストコンピュ
ータ32に各種のモードの状態を表すデータを送信した
りすることができるようになっている。
Next, a second embodiment of the present invention will be described. FIG. 6 is a block diagram of a printer according to the second embodiment of the present invention. In the figure, reference numeral 11 denotes an interface unit, and the interface unit 11 comprises an interface connector (not shown), an interface IC, and the like.
In this case, two-way communication is possible between the host computer 32 (FIG. 3) and the printer 31, and various modes such as selection of print data and fonts from the host computer 32 to the printer 31 are set. Data and the like can be transmitted, and data representing the state of various modes can be transmitted from the printer 31 to the host computer 32.

【0025】また、23は操作パネルであり、該操作パ
ネル23はプリンタ31の図示しない電源がオンである
ことを表示する表示部24を有する。そして、51はカ
バーオープンスイッチであり、該カバーオープンスイッ
チ51の信号がプリンタ制御部12に入力される。前記
カバーオープンスイッチ51は、プリンタ31の図示し
ないカバーが開放されたときに高圧系の電源をオフに
し、オペレータを保護するためのものである。
Reference numeral 23 denotes an operation panel. The operation panel 23 has a display unit 24 for displaying that the power supply (not shown) of the printer 31 is on. Reference numeral 51 denotes a cover open switch, and a signal of the cover open switch 51 is input to the printer control unit 12. The cover open switch 51 is for protecting the operator by turning off the power of the high voltage system when a cover (not shown) of the printer 31 is opened.

【0026】例えば、ジャムになった用紙を除去する
際、トナーカートリッジを交換する際等には、オペレー
タによってプリンタ31のカバーが開放される。そこ
で、本実施例においては、ジャムになった用紙を除去し
たり、トナーカートリッジを交換したりすることができ
ない程度の短時間だけ、カバーが開放されたことをプリ
ンタ制御部12が検出したときに、ローカルテストモー
ドが選択されたと判定し、ローカルテストモードに移る
ようになっている。
For example, when removing a jammed sheet or replacing a toner cartridge, the operator opens the cover of the printer 31. Therefore, in the present embodiment, when the printer control unit 12 detects that the cover has been opened for such a short time that the jammed paper cannot be removed or the toner cartridge cannot be replaced. , It is determined that the local test mode has been selected, and the mode shifts to the local test mode.

【0027】図7は本発明の第2の実施例におけるプリ
ンタのモード切換方法を示すフローチャートである。ス
テップS21 プリンタ31(図3)の電源をオンにす
る。ステップS22 プリンタロジックハイ信号PTR
をローレベルにする。ステップS23 ホストロジック
ハイ信号HSTがハイレベルであるかローレベルである
かを判断する。ホストロジックハイ信号HSTがハイレ
ベルである場合はステップS24に、ローレベルである
場合はステップS26に進む。ステップS24 ホスト
コンピュータ32のロジックが動作可能であるので、プ
リンタロジックハイ信号PTRをハイレベルにする。ス
テップS25 ホストコンピュータ32とプリンタ31
との間で通信可能になり通常モードになる。ステップS
26 プリンタ31のカバーが開放されているかどうか
をカバーオープンスイッチ51(図6)の信号によって
判断する。カバーが開放されていない場合はステップS
27に、カバーが開放されている場合はステップS30
に進む。ステップS27 プリンタロジックハイ信号P
TRをハイレベルにする。ステップS28 ホストコン
ピュータ32のロジックが動作不能であるので、ホスト
コンピュータ32とプリンタ31との間で通信不能にな
る。ステップS29 ホストロジックハイ信号HSTを
監視し、ホストロジックハイ信号HSTがハイレベルに
なるまで待機する。ホストロジックハイ信号HSTがハ
イレベルになった場合はステップS25に戻る。ステッ
プS30 時間t秒が経過するまで待機する。この場
合、時間t秒はジャムになった用紙を除去したり、トナ
ーカートリッジを交換したりすることができない程度の
短時間に設定される。ステップS31 カバーが開放さ
れているかどうかを再度判断する。カバーが開放されて
いない場合はステップS34に、カバーが開放されてい
る場合はステップS32に進む。ステップS32 ジャ
ムになった用紙を除去したり、トナーカートリッジを交
換したりしていると判定して、プリンタロジックハイ信
号PTRをハイレベルにする。ステップS33 カバー
が開放されているかどうかを再度判断する。カバーが閉
鎖されるまで待機し、閉鎖されたらステップS29に戻
る。ステップS34 ローカルテストモードが選択され
たと判定し、ローカルテストモードに移る。
FIG. 7 is a flowchart showing a printer mode switching method according to the second embodiment of the present invention. Step S21: The power of the printer 31 (FIG. 3) is turned on. Step S22: Printer logic high signal PTR
To low level. Step S23: It is determined whether the host logic high signal HST is at a high level or a low level. When the host logic high signal HST is at a high level, the process proceeds to step S24, and when it is at a low level, the process proceeds to step S26. Step S24: Since the logic of the host computer 32 is operable, the printer logic high signal PTR is set to the high level. Step S25: Host computer 32 and printer 31
Communication becomes possible with the device, and the device enters the normal mode. Step S
26 Whether the cover of the printer 31 is open or not is determined by the signal of the cover open switch 51 (FIG. 6). If the cover is not open, step S
If the cover is open in step S27, step S30
Proceed to. Step S27: Printer logic high signal P
Set TR to high level. Step S28: Since the logic of the host computer 32 is inoperable, communication between the host computer 32 and the printer 31 is disabled. Step S29: Monitor the host logic high signal HST and wait until the host logic high signal HST becomes high level. If the host logic high signal HST has gone high, the process returns to step S25. Step S30: Wait until time t seconds have elapsed. In this case, the time t is set to such a short time that the jammed paper cannot be removed or the toner cartridge cannot be replaced. Step S31: It is determined again whether the cover is open. If the cover is not open, the process proceeds to step S34, and if the cover is open, the process proceeds to step S32. Step S32: It is determined that the jammed sheet is removed or the toner cartridge is replaced, and the printer logic high signal PTR is set to a high level. Step S33: It is determined again whether the cover is open. It waits until the cover is closed, and if closed, returns to step S29. Step S34: It is determined that the local test mode has been selected, and the mode shifts to the local test mode.

【0028】なお、ローカルテストモードから通常モー
ドに復帰させる場合は、ホストロジックハイ信号HST
がハイレベルになるのを検出するか、プリンタ31の電
源を再びオンにする。あるいは、ローカルテストモード
によって所定のページ分の印刷が行われた後に、自動的
に復帰させることもできる。本実施例においては、ホス
トロジックハイ信号HSTを監視し、該ホストロジック
ハイ信号HSTがローレベルになってホストコンピュー
タ32のロジックが動作不能になったときにモードの判
定を行うようにしているが、ローカルテストモード中は
ホストコンピュータ32からの送信要求を受け付けない
ので、次に示すような実施例にすることもできる。
When returning from the local test mode to the normal mode, the host logic high signal HST
Becomes high level, or the power of the printer 31 is turned on again. Alternatively, after the printing of a predetermined page is performed in the local test mode, the printing operation can be automatically restored. In the present embodiment, the host logic high signal HST is monitored, and the mode is determined when the host logic high signal HST becomes low level and the logic of the host computer 32 becomes inoperable. Since the transmission request from the host computer 32 is not accepted during the local test mode, the following embodiment can be adopted.

【0029】次に、本発明の第3の実施例について説明
する。図8は本発明の第3の実施例におけるプリンタの
モード切換方法を示すフローチャートである。ステップ
S41 プリンタ31(図3)の電源をオンにする。ス
テップS42 プリンタロジックハイ信号PTRをハイ
レベルにする。ステップS43 プリンタ31のカバー
が開放されているかどうかをカバーオープンスイッチ5
1(図6)の信号によって判断する。カバーが開放され
ていない場合はステップS44に、開放されている場合
はステップS46に進む。ステップS44 ホストコン
ピュータ32のロジックが動作不能であるので、ホスト
ロジックハイ信号HSTを監視し、ホストロジックハイ
信号HSTがハイレベルになるまで待機する。ホストロ
ジックハイ信号HSTがハイレベルになるとステップS
45に進む。ステップS45 ホストコンピュータ32
とプリンタ31との間で通信可能になり通常モードにな
る。ステップS46 時間t秒が経過するのを待機す
る。ステップS47 カバーが開放されているかどうか
を再度判断する。カバーが開放されていない場合はステ
ップS49に、開放されている場合はステップS48に
進む。ステップS48 カバーが開放されているかどう
かを再度判断する。カバーが閉鎖されるまで待機し、閉
鎖されたらステップS44に戻る。ステップS49 ロ
ーカルテストモードが選択されたと判定し、ローカルテ
ストモードに移る。
Next, a third embodiment of the present invention will be described. FIG. 8 is a flowchart showing a mode switching method of the printer according to the third embodiment of the present invention. Step S41: The power of the printer 31 (FIG. 3) is turned on. Step S42 The printer logic high signal PTR is set to high level. Step S43: The cover open switch 5 determines whether or not the cover of the printer 31 is open.
The determination is made based on the signal of FIG. 1 (FIG. 6). If the cover has not been opened, the process proceeds to step S44, and if it has been opened, the process proceeds to step S46. Step S44: Since the logic of the host computer 32 is inoperable, the host logic high signal HST is monitored and the process waits until the host logic high signal HST becomes high level. When the host logic high signal HST becomes high level, step S
Proceed to 45. Step S45 Host computer 32
And the printer 31 can communicate with each other, and the mode becomes the normal mode. Step S46: Wait for time t seconds to elapse. Step S47: It is determined again whether the cover is open. If the cover has not been opened, the process proceeds to step S49, and if it has been opened, the process proceeds to step S48. Step S48: It is determined again whether the cover is open. It waits until the cover is closed, and if closed, returns to step S44. Step S49: It is determined that the local test mode has been selected, and the mode shifts to the local test mode.

【0030】なお、ローカルテストモードから通常モー
ドへの復帰は、第2の実施例と同様に行うことができ
る。このように、プリンタ31のカバーの使用態様が通
常のものと異なることがプリンタ制御部12によって検
出されたときに、プリンタ31はローカルテストモード
に移るようになっているので、操作パネル23には入力
部が不要になる。
The return from the local test mode to the normal mode can be performed in the same manner as in the second embodiment. As described above, when the printer control unit 12 detects that the use mode of the cover of the printer 31 is different from the normal mode, the printer 31 shifts to the local test mode. The input unit becomes unnecessary.

【0031】なお、本実施例においては、プリンタ31
のカバーの使用態様が通常のものと異なることをプリン
タ制御部12が検出することによってモードの判定を行
っている。また、カバー以外のプリンタ31の部材の使
用態様が通常のものと異なることをプリンタ制御部12
が検出することによってモードの判定を行うこともでき
る。
In this embodiment, the printer 31
The mode is determined by the printer control unit 12 detecting that the usage mode of the cover is different from the normal usage mode. Also, the printer control unit 12 confirms that the usage of the members of the printer 31 other than the cover is different from the normal usage.
, The mode can be determined.

【0032】なお、本発明は前記実施例に限定されるも
のではなく、本発明の趣旨に基づいて種々変形させるこ
とが可能であり、これらを本発明の範囲から排除するも
のではない。
It should be noted that the present invention is not limited to the above-described embodiment, but can be variously modified based on the gist of the present invention, and these are not excluded from the scope of the present invention.

【0033】[0033]

【発明の効果】以上詳細に説明したように、本発明によ
れば、プリンタのモード切換方法においては、プリンタ
の外部の動作状態が動作可能であるか動作不能であるか
を示し、かつ、モードの切換えを行うための接続状態を
示す入力信号が入力されるプリンタに適用される。そし
て、前記入力信号のハイレベル及びローレベルから成る
パターンと、ローカルテストモードが選択されたかどう
かを判定するためにあらかじめ設定された所定のパター
ンとが同じであるかどうかを判断し、前記入力信号のハ
イレベル及びローレベルから成るパターンと前記所定の
パターンとが同じである場合にローカルテストモードに
切り換える。
As described above in detail, according to the present invention, in the method of switching the mode of the printer, the external operation state of the printer indicates whether it is operable or inoperable, and The present invention is applied to a printer to which an input signal indicating a connection state for performing the switching is input. Then, it is determined whether a pattern consisting of a high level and a low level of the input signal is the same as a predetermined pattern set in advance to determine whether the local test mode has been selected, and When the pattern consisting of the high level and the low level is the same as the predetermined pattern, the mode is switched to the local test mode.

【0034】この場合、プリンタの外部の接続状態に基
づいて、入力信号のハイレベル及びローレベルから成る
パターンと、ローカルテストモードが選択されたかどう
かを判定するためにあらかじめ設定された所定のパター
ンとが同じであると判断されると、ローカルテストモー
ドに切り換えられる。したがって、操作パネルの入力部
が不要になるので、プリンタのコストを低くすることが
できる。
In this case, a pattern consisting of a high level and a low level of the input signal and a predetermined pattern set in advance to determine whether or not the local test mode has been selected, based on the external connection state of the printer. Are determined to be the same, the mode is switched to the local test mode. Therefore, the input unit of the operation panel becomes unnecessary, and the cost of the printer can be reduced.

【0035】本発明の他のプリンタのモード切換方法に
おいては、あらかじめ選択され、プリンタの印刷機構部
を構成する部材の使用態様を検出する。そして、前記印
刷機構部における前記部材の使用態様がモードの判定を
行うためにあらかじめ設定された所定の使用態様と異な
るかどうかを判断する。また、前記印刷機構部における
前記部材の使用態様が前記所定の使用態様と異なる場合
にモードを切り換える。
In another printer mode switching method according to the present invention, a use mode of a member which is selected in advance and forms a printing mechanism of the printer is detected. Then, it is determined whether or not the usage mode of the member in the printing mechanism section is different from a predetermined usage mode set in advance to determine a mode. The mode is switched when the use mode of the member in the printing mechanism section is different from the predetermined use mode.

【0036】この場合、オペレータがプリンタの外部に
おいて前記印刷機構部における部材を極めて短時間だけ
操作すると、前記部材の使用態様がモードの判定を行う
ためにあらかじめ設定された所定の使用態様と異なると
判断され、モードが切り換えられる。したがって、操作
パネルの入力部が不要になるので、プリンタのコストを
低くすることができる。
In this case, if the operator operates the member in the printing mechanism outside the printer for a very short time, the usage of the member is different from the predetermined usage which is set in advance to determine the mode. It is determined and the mode is switched. Therefore, the input unit of the operation panel becomes unnecessary, and the cost of the printer can be reduced.

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

【図1】本発明の第1の実施例におけるプリンタのブロ
ック図である。
FIG. 1 is a block diagram of a printer according to a first embodiment of the present invention.

【図2】従来のプリンタのブロック図である。FIG. 2 is a block diagram of a conventional printer.

【図3】本発明の第1の実施例における通常モード時の
接続状態図である。
FIG. 3 is a connection state diagram in a normal mode in the first embodiment of the present invention.

【図4】本発明の第1の実施例におけるローカルテスト
モード時の接続状態図である。
FIG. 4 is a connection state diagram in a local test mode in the first embodiment of the present invention.

【図5】本発明の第1の実施例におけるプリンタのモー
ド切換方法を示すフローチャートである。
FIG. 5 is a flowchart illustrating a printer mode switching method according to the first embodiment of the present invention.

【図6】本発明の第2の実施例におけるプリンタのブロ
ック図である。
FIG. 6 is a block diagram of a printer according to a second embodiment of the present invention.

【図7】本発明の第2の実施例におけるプリンタのモー
ド切換方法を示すフローチャートである。
FIG. 7 is a flowchart illustrating a printer mode switching method according to a second embodiment of the present invention.

【図8】本発明の第3の実施例におけるプリンタのモー
ド切換方法を示すフローチャートである。
FIG. 8 is a flowchart illustrating a printer mode switching method according to a third embodiment of the present invention.

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

31 プリンタ 32 ホストコンピュータ 31 printer 32 host computer

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プリンタの外部の動作状態が動作可能で
あるか動作不能であるかを示し、かつ、モードの切換え
を行うための接続状態を示す入力信号が入力されるプリ
ンタのモード切換方法において、 (a)前記入力信号のハイレベル及びローレベルから成
るパターンと、ローカルテストモードが選択されたかど
うかを判定するためにあらかじめ設定された所定のパタ
ーンとが同じであるかどうかを判断し、 (b)前記入力信号のハイレベル及びローレベルから成
るパターンと前記所定のパターンとが同じである場合に
ローカルテストモードに切り換えることを特徴とするプ
リンタのモード切換方法。
An external operating state of a printer is operable.
To indicate whether it is inoperable or not, and to switch modes
In mode switching method of a printer to which an input signal is input indicating a connection state for performing a pattern consisting of a high level and a low level of (a) the input signal, etc. or local test mode has been selected
Determining whether the predetermined pattern set in advance to determine are the same out if, (b) if the high-level and consisting of a low-level pattern of the input signal and the predetermined pattern is the same And a local test mode.
【請求項2】 (a)あらかじめ選択され、プリンタの
印刷機構部を構成する部材の使用態様を検出し、 (b)前記印刷機構部における前記部材の使用態様が
ードの判定を行うためにあらかじめ設定された所定の使
用態様と異なるかどうかを判断し、 (c)前記印刷機構部における前記部材の使用態様が
所定の使用態様と異なる場合にモードを切り換えるこ
とを特徴とするプリンタのモード切換方法。
Wherein (a) the pre-selected to detect the mode of use of the members constituting the printing mechanism of the printer, (b) use aspect of said member in said printing mechanism is motor
Determining whether different from the preset predetermined usage mode to make a determination of over-de, (c) embodiments uses of the member in the printing mechanism portion before
Mode switching method of a printer, characterized by switching the mode to be different from the serial predetermined usage mode.
【請求項3】 プリンタの外部の動作状態が動作可能で
あるか動作不能であるかを示す入力信号が入力されるプ
リンタのモード切換方法において、 前記入力信号が、プリンタの外部の動作状態が動作不能
であることを示している場合に、前記印刷機構部におけ
る前記部材の使用態様の変化がモードの判定を行うため
にあらかじめ設定された所定の変化と異なるかどうかを
判断する請求項2に記載のプリンタのモード切換方法。
3. A printer mode switching method in which an input signal indicating whether an external operation state of the printer is operable or inoperable is input, wherein the input signal is an external operation state of the printer. In the case where it indicates that it is impossible, a change in the use mode of the member in the printing mechanism unit determines the mode.
3. The method according to claim 2, wherein it is determined whether the change is different from a predetermined change set in advance .
JP21497094A 1994-09-08 1994-09-08 Printer mode switching method Expired - Lifetime JP3251786B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21497094A JP3251786B2 (en) 1994-09-08 1994-09-08 Printer mode switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21497094A JP3251786B2 (en) 1994-09-08 1994-09-08 Printer mode switching method

Publications (2)

Publication Number Publication Date
JPH0876945A JPH0876945A (en) 1996-03-22
JP3251786B2 true JP3251786B2 (en) 2002-01-28

Family

ID=16664576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21497094A Expired - Lifetime JP3251786B2 (en) 1994-09-08 1994-09-08 Printer mode switching method

Country Status (1)

Country Link
JP (1) JP3251786B2 (en)

Also Published As

Publication number Publication date
JPH0876945A (en) 1996-03-22

Similar Documents

Publication Publication Date Title
US5722781A (en) Printing apparatus
US8032774B2 (en) Information processing apparatus
US7852501B2 (en) Information processing apparatus and information processing method
JP3346956B2 (en) Image forming device
JP3251786B2 (en) Printer mode switching method
US5270774A (en) Testing device for electrophotographic imaging apparatus
US7755789B2 (en) Printing system and printing method to conserve developer
KR100350982B1 (en) Image forming apparatus and method of operating the same
JP3757748B2 (en) Copy device input device
JP3179695B2 (en) Image forming apparatus and control method thereof
JP2000293344A (en) Computer system provided with printer monitoring function, computer system, printer, method therefor and computer readable recording medium
JP2002067449A (en) Imaging apparatus having backup means
JP3228637B2 (en) Printing apparatus and control method thereof
JP2001260435A (en) Imaging apparatus
KR100285751B1 (en) Method for recovering error in printer
JP3914346B2 (en) Image forming apparatus
JPH07234766A (en) Page printer
JP2859976B2 (en) Printing equipment
JP4125361B2 (en) Information processing apparatus, control method therefor, and recording medium
KR100808872B1 (en) Office machine and power saving control method thereof
JP3293337B2 (en) Printer device
JPH0766927A (en) Facsimile equipment
JPH06210936A (en) Printing control device of printer
JP2000321943A (en) Image forming device
JPH10228358A (en) Printer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011106

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081116

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081116

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091116

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091116

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 12

EXPY Cancellation because of completion of term