JPH07117317A - Printer - Google Patents

Printer

Info

Publication number
JPH07117317A
JPH07117317A JP5267485A JP26748593A JPH07117317A JP H07117317 A JPH07117317 A JP H07117317A JP 5267485 A JP5267485 A JP 5267485A JP 26748593 A JP26748593 A JP 26748593A JP H07117317 A JPH07117317 A JP H07117317A
Authority
JP
Japan
Prior art keywords
state
function
printer
printing
test
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
JP5267485A
Other languages
Japanese (ja)
Inventor
Tomohiro Oguchi
朝弘 小口
Masahiro Minowa
政寛 箕輪
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP5267485A priority Critical patent/JPH07117317A/en
Publication of JPH07117317A publication Critical patent/JPH07117317A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To simplify a testing process and facilitate a maintenance work by providing a second function-selecting means for selecting a test printing function according to a first state and a set state-printing function according to a second state among special functions. CONSTITUTION:An MPU block 20 constitutes a printer-controlling part 26, to which a reset signal from a source switch 12, signals from a line change switch 13 and a cover sensor 14 are input, and also signals from switches 18 setting a state of the printer and from an interface part 19 receiving a printing instruction and printing data from an external device, etc., are connected. Moreover, a signal for controlling each part of the printer is output from the MPU block 20 to a driving circuit block 21, when a printing head 17 and a motor 22 for the printing head are driven to print to a printing medium. At the same time, not only a motor 23 for sending the printing medium is driven to change lines and pages, but a display block 25 is driven to indicate the state or the like to an operator.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプリンタの動作試験機能
に関し、特に通常機能と特殊機能の選択及び異常状態検
出手段の動作確認に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer operation test function, and more particularly to selection of a normal function and a special function and confirmation of operation of an abnormal state detecting means.

【0002】[0002]

【従来の技術】従来、プリンタの特殊機能の選択はプリ
ンタ内の機能選択部が、電源投入時から一定時間後に動
作指定手段の状態を読み、例えば動作指定手段が指定状
態の時に特殊機能を選択するなどして行なっていた。そ
して、テスト印字機能及び設定状態印字機能等、特殊機
能が複数ある場合には、例えば改行スイッチと改頁スイ
ッチ等、複数の動作指定手段を有する場合はこれらの組
合せで機能の選択を行なっており、また、動作指定手段
を複数有していないプリンタに於いては、特開昭60−
15185に於いて開示されているように、テスト印字
機能の内に設定状態印字機能を取り込んで複数の特殊機
能を単数化して同時に実行し、特殊機能間の選択を省略
していた。
2. Description of the Related Art Conventionally, in selecting a special function of a printer, a function selecting section in the printer reads the state of an operation designating means after a predetermined time has elapsed since power-on, and selects the special function when the operation designating means is in the designated state. I was doing it. If there are multiple special functions such as the test print function and the setting status print function, for example, if there are a plurality of operation designating means such as a line feed switch and a page break switch, the functions are selected by combining them. Further, in a printer which does not have a plurality of operation designating means, Japanese Patent Laid-Open No. 60-
As disclosed in 15185, the setting state printing function is incorporated into the test printing function to singularize a plurality of special functions and execute them simultaneously, and selection between special functions is omitted.

【0003】また、従来、特殊機能が選択されると電源
を再投入しない限り通常機能へは戻ることができず、特
殊機能が複数ある場合もそれらの間の切り換えは電源の
再投入によって行なっていた。
Further, conventionally, when the special function is selected, the normal function cannot be restored unless the power is turned on again. Even when there are a plurality of special functions, switching between them is performed by turning the power on again. It was

【0004】[0004]

【発明が解決しようとする課題】しかし、このような従
来の技術は次のような課題を有していた。
However, such a conventional technique has the following problems.

【0005】(1)電源投入後の動作指定手段のみの状
態で機能が選択されるので、プリンタの異常状態検出手
段の動作は確認できず、この確認を行なうためには別の
試験工程が必要となり、プリンタの試験工程全体が複雑
化した。
(1) Since the function is selected only by the operation designating means after the power is turned on, the operation of the abnormal state detecting means of the printer cannot be confirmed, and a separate test process is required to make this confirmation. Therefore, the entire printer testing process became complicated.

【0006】(2)動作指定手段を複数有しない場合に
はテスト印字機能のみ或は設定状態印字機能のみを選択
することができないので、例えば保守を行なう際にも設
定状態と同時にテストデータまでが印字されてしまい、
保守作業の障害となった。
(2) If a plurality of operation designating means are not provided, it is not possible to select only the test print function or only the set state print function. Therefore, for example, even when performing maintenance, the test state and the test data are not displayed at the same time. It was printed,
It became an obstacle to maintenance work.

【0007】(3)電源を再投入しなければ複数の特殊
機能の切り換え及び通常機能への切り換えができないの
で、これらを連続して行なう場合には電源の再投入時の
装置の初期化時間がオーバヘッドとなった。
(3) A plurality of special functions and normal functions cannot be switched unless the power is turned on again. Therefore, when these operations are continuously performed, the initialization time of the device when the power is turned on again is required. It became an overhead.

【0008】本発明は上記の課題に鑑みて為されたもの
で、その目的は試験工程が簡潔で且つ保守作業の容易な
プリンタを提供することにある。
The present invention has been made in view of the above problems, and an object thereof is to provide a printer having a simple test process and easy maintenance work.

【0009】[0009]

【課題を解決するための手段】本発明のプリンタは、通
常機能の他に印字媒体にテスト印字を行ってプリンタの
動作を試験するテスト印字機能と前記プリンタの設定状
態等を印字する設定状態印字機能等の複数の特殊機能を
有するプリンタに於て、プリンタの設定を初期化する初
期化手段と、プリンタに所定の動作を行なわせる動作指
定手段と、プリンタの異常状態を検出する状態検出手段
と、テスト印字機能、設定状態印字機能及び通常機能の
うち一つの機能を選択し実行するプリンタ制御部を有
し、プリンタ制御部は初期化手段が開始状態となってか
ら一定時間後の動作指定手段の第1の状態により特殊機
能を、第2の状態により通常機能を選択する第1の機能
選択手段と、状態検出手段の第1の状態により特殊機能
の内のテスト印字機能を、第2の状態により設定状態印
字機能を選択する第2の機能選択手段とから構成される
ことを特徴とする。
In addition to the normal function, the printer of the present invention has a test printing function for performing test printing on a print medium to test the operation of the printer and a setting status printing for printing the setting status of the printer. In a printer having a plurality of special functions such as functions, an initialization means for initializing printer settings, an operation designating means for causing the printer to perform a predetermined operation, and a status detection means for detecting an abnormal state of the printer. , A printer control unit for selecting and executing one of a test printing function, a setting status printing function, and a normal function, and the printer control unit is an operation designating unit after a predetermined time has passed since the initialization unit was in the starting state. Of the special function according to the first state of the first function selecting means for selecting the special function according to the first state and the normal function according to the second state, and the test printing machine of the special function according to the first state of the state detecting means. And characterized in that it is composed of a second function selecting means for selecting a set state printing function by the second state.

【0010】また、プリンタ制御部は、テスト印字機能
に於いて動作指定手段の前記第1の状態が再び現われた
場合に通常機能へ遷移する第1の機能遷移手段と、テス
ト印字機能に於いて状態検出手段の前記第2の状態によ
り設定状態印字機能へ遷移する第2の機能遷移手段と、
設定状態印字機能の終了時に於いて動作指定手段の前記
第2の状態により通常機能へ遷移する第3の機能遷移手
段とを有することを特徴とする。
Further, the printer control section, in the test print function, has the first function transition means for transitioning to the normal function when the first state of the operation designating means is reappeared, and the test print function. Second function transition means for transitioning to the set state printing function according to the second state of the state detection means,
It is characterized in that it has a third function transition means for making a transition to a normal function according to the second state of the operation designating means at the end of the set state printing function.

【0011】また、本発明のプリンタは、状態検出手段
が印字部のカバー開閉センサであることを特徴とする。
Further, the printer of the present invention is characterized in that the state detecting means is a cover opening / closing sensor of the printing section.

【0012】[0012]

【作用】上記のような手段を用いた本発明の作用を説明
する。本発明のプリンタ制御部は初期化手段が開始状態
となってから一定時間後に動作指定手段の状態を検知
し、オン状態であれば特殊機能を、そうでなければ通常
機能を選択する。ここで動作指定手段が故障していれば
このような選択が正しく行なわれないので、操作者は動
作指定手段の故障を発見することができる。
The operation of the present invention using the above means will be described. The printer control unit of the present invention detects the state of the operation designating unit after a fixed time after the initialization unit is in the starting state, and selects the special function if it is in the ON state, and selects the normal function otherwise. If the operation designating means is out of order, such a selection cannot be made correctly, so that the operator can detect the failure in the operation designating means.

【0013】そして特殊機能を選択した場合にはプリン
タ制御部は異常状態を検出する状態検出手段の状態を検
知し、例えばオンであれば特殊機能の内のテスト印字機
能を、そうでなければ設定状態印字機能を選択する。こ
のように動作指定手段が一つしかないプリンタに於いて
もテスト印字機能と設定状態印字機能とを選択して別々
に実行することができる。更にこの時、状態検出手段が
故障していればこのような選択が正しく行なわれないの
で、操作者は状態検出手段の故障をも発見することがで
きる。
When the special function is selected, the printer control section detects the state of the state detecting means for detecting an abnormal state. For example, if it is on, the test print function of the special functions is set, and if not, it is set. Select the status print function. Thus, even in a printer having only one operation designating means, the test print function and the setting state print function can be selected and executed separately. Further, at this time, if the state detecting means is out of order, such a selection cannot be made correctly, so that the operator can detect the failure in the state detecting means.

【0014】また、プリンタ制御部は、テスト印字機能
の処理を実行中に動作指定手段が再びオン状態となれば
通常機能へ遷移し、状態検出手段が非検出状態となれば
設定状態印字機能へ遷移し、更に設定状態印字機能の終
了時に動作指定手段がオフ状態で有れば通常機能へ遷移
する。これにより二つの特殊機能間及び特殊機能から通
常機能への遷移が可能となる。
Further, the printer control unit shifts to a normal function if the operation designating means is turned on again during the execution of the test printing function, and to the set state printing function if the status detecting means is in a non-detecting state. If the operation designating means is in the OFF state at the end of the setting state printing function, the function shifts to the normal function. This enables transitions between two special functions and from special functions to normal functions.

【0015】また、状態検出手段が印字部のカバー開閉
センサである場合は、カバーが閉状態即ち印字部が保護
された状態の時にテスト印字機能を、また開状態即ち印
字結果が直ちに視認可能な状態の時に設定状態印字機能
を各々選択するというように、プリンタの状態に適した
特殊機能を選択することができる。
Further, when the state detecting means is a cover opening / closing sensor of the printing section, the test printing function can be performed when the cover is closed, that is, the printing section is protected. It is possible to select a special function suitable for the state of the printer, such as selecting each of the set state printing functions in the state.

【0016】[0016]

【実施例】以下、本発明の実施例について詳細に説明す
る。図1は本発明の実施例に於けるプリンタ制御部の動
作を示すフローチャート、図2は実施例のプリンタの外
観を示す図、図3は実施例の構成を示すブロック図であ
る。図2に於て電源スイッチ12はオン状態になった時
にプリンタの設定の初期化を開始する初期化手段として
機能する。また、改行スイッチ13はプリンタの手動動
作である改行を指定する動作指定手段である。カバー開
閉センサ14は印字部のカバー15の開閉の状態を検出
するリミットスイッチで、異常状態検出手段の一つであ
る。図はカバーの開状態を示しており印字媒体16に印
字を行なう印字ヘッド17及び不図示のヘッド駆動部等
が露出した状態である。
EXAMPLES Examples of the present invention will be described in detail below. FIG. 1 is a flow chart showing the operation of the printer control unit in the embodiment of the present invention, FIG. 2 is a diagram showing the external appearance of the printer of the embodiment, and FIG. 3 is a block diagram showing the configuration of the embodiment. In FIG. 2, the power switch 12 functions as an initialization means for starting initialization of printer settings when the power switch 12 is turned on. The line feed switch 13 is an action designating unit that designates a line feed which is a manual action of the printer. The cover open / close sensor 14 is a limit switch for detecting the open / closed state of the cover 15 of the printing section, and is one of the abnormal state detecting means. The figure shows an open state of the cover, in which the print head 17 for printing on the print medium 16 and a head drive unit (not shown) are exposed.

【0017】図3に示す回路ブロック図に於て、MPU
ブロック20はプリンタ制御部26を構成しており、電
源スイッチ12からのリセット信号24、改行スイッチ
13及びカバー開閉センサ14からの信号が入力されて
いる他、プリンタの状態を設定するスイッチ類18から
の信号、外部装置から印字命令及び印字データを受信す
るインタフェース部19からの信号等が接続されてい
る。更に、MPUブロック20からはプリンタの各部を
制御するための信号が駆動回路ブロック21に出力され
ており、印字ヘッド17及び印字ヘッド送りモータ25
を駆動して印字媒体に印字を行なったり、印字媒体送り
モータ23を駆動して改行及び改頁を行なったり、表示
ブロック25を駆動して操作者に対する状態表示及び警
告音の発生を行なったりするように構成されている。
In the circuit block diagram shown in FIG. 3, the MPU
A block 20 constitutes a printer control unit 26, which receives a reset signal 24 from the power switch 12, signals from the line feed switch 13 and the cover opening / closing sensor 14, and switches 18 for setting the printer state. Signal, a signal from the interface unit 19 that receives a print command and print data from an external device, and the like are connected. Further, the MPU block 20 outputs signals for controlling each part of the printer to the drive circuit block 21, and the print head 17 and the print head feed motor 25
To print on a print medium, to drive the print medium feed motor 23 to perform line feed and page break, and to drive the display block 25 to display a status and generate an alarm sound to the operator. Is configured.

【0018】以上のように構成された本実施例のプリン
タ制御部の動作を図1のフローチャートを用いて説明す
る。電源スイッチの投入1によってMPUブロックはリ
セットされプリンタの制御を開始する。システムの初期
化2に於いてはIOポートの設定、メモリーチェック等
の異常チェック、駆動回路ブロックの初期化、印字媒体
の有無のチェック等を行い、異常があればその内容に応
じた異常処理3を行なう。また、この時印字媒体がセッ
トされていなかった場合には印字媒体無しの表示をする
とともに警告音を発する等の印字媒体無しの処理4を実
行する。次にプリンタ制御部は改行スイッチの状態検出
5を行い、スイッチが押されている状態(以下、オン状
態と称する)なら特殊機能の処理に移り、そうでなけれ
ば通常機能の処理6を開始する。以上の処理が第1の機
能選択手段を構成する。
The operation of the printer controller of the present embodiment having the above-mentioned configuration will be described with reference to the flow chart of FIG. When the power switch is turned on 1, the MPU block is reset and control of the printer is started. In the initialization 2 of the system, IO port setting, memory check, etc. abnormality check, drive circuit block initialization, print medium presence / absence check, etc. are performed. Do. At this time, if the print medium is not set, the display indicating that the print medium is absent and the process 4 for the print medium absent such as issuing a warning sound is executed. Next, the printer control unit detects the state 5 of the line feed switch, and if the switch is pressed (hereinafter referred to as the ON state), the special function processing is started. If not, the normal function processing 6 is started. . The above processing constitutes the first function selecting means.

【0019】特殊機能の処理ではまずカバー開閉センサ
の状態検出7を行い、カバーが閉じている状態(以下、
オン状態と称する)ならテスト印字機能を選択し、そう
でなければ設定状態印字機能を選択する。以上の処理が
第2の機能選択手段を構成する。
In the processing of the special function, first, the state detection 7 of the cover opening / closing sensor is performed, and the state in which the cover is closed (hereinafter,
If it is called ON state), the test print function is selected, and if not, the setting state print function is selected. The above processing constitutes the second function selecting means.

【0020】設定状態印字機能を選択した後プリンタ制
御部は、プリンタの状態を設定するスイッチ類からの信
号の状態、単位長印字数等の印字条件、インタフェース
部の状態、ROMに格納されている制御プログラムの版
数等の情報を予め決められた書式に編集して印字媒体に
印字する、設定状態印字処理8を実行する。そしてこの
印字処理が終了すると、フローチャートに示すように改
行スイッチの状態検出5へ戻る。従ってこの時改行スイ
ッチが依然としてオン状態であった場合は更に特殊機能
の処理を継続し、そうでない場合は通常機能の処理6を
開始する。以上の処理が第3の機能遷移手段を構成す
る。従って改行スイッチを押し続けている間は設定状態
印字を繰り返して行い、改行スイッチを離したところで
通常機能とする事ができる。
After selecting the setting status printing function, the printer control section stores the status of signals from switches for setting the status of the printer, printing conditions such as the number of prints per unit length, the status of the interface section, and the ROM. A setting state printing process 8 is executed in which information such as the version number of the control program is edited in a predetermined format and printed on a print medium. When the printing process is completed, the process returns to the line feed switch state detection 5 as shown in the flowchart. Therefore, at this time, if the line feed switch is still in the ON state, the special function processing is further continued, and if not, the normal function processing 6 is started. The above processing constitutes the third function transition means. Therefore, while the line feed switch is held down, the setting status printing is repeated, and when the line feed switch is released, the normal function can be performed.

【0021】一方、カバー開閉センサの状態検出7に於
いてオン状態が検出され、テスト印字機能を選択した場
合にはプリンタ制御部は、先ず印字開始位置までヘッド
を移動し、予め決められたテスト印字データを順次印字
バッファに移すテスト印字データ準備処理9を行いテス
ト印字を開始する。プリンタ制御部は行末まで一文字印
字する毎にカバー開閉センサの状態検出10を行い、オ
ン状態なら次の一文字を印字し、そうでなければ設定状
態印字機能へ遷移して設定状態印字処理8以下を実行す
る。以上の処理が第2の機能遷移手段を構成する。この
処理はテスト印字処理の実行中に操作者がカバーを開け
た場合の処理であり、この操作により現在印字中の一文
字を印字した所でテスト印字を終了させ、プリンタの設
定状態を印字させることができる。
On the other hand, when the ON state is detected by the state detection 7 of the cover open / close sensor and the test print function is selected, the printer control section first moves the head to the print start position and executes a predetermined test. The test print data preparation process 9 for sequentially moving the print data to the print buffer is performed, and the test print is started. The printer control unit detects the state of the cover open / close sensor 10 each time one character is printed up to the end of the line. If the printer is on, it prints the next character. Run. The above processing constitutes the second function transition means. This process is a process when the operator opens the cover during the test print process. By this operation, the test print is terminated at the place where one character currently being printed is printed, and the printer setting status is printed. You can

【0022】印字処理が行末まで到達した場合には、プ
リンタ制御部は改行スイッチの状態検出11を行いその
結果がオン状態なら通常機能へ遷移して通常機能の処理
を行ない、そうでなければテスト印字を継続して実行す
る。以上の処理が第1の機能遷移手段を構成する。この
処理はテスト印字処理の実行中に操作者が再び改行スイ
ッチをオン状態にした場合の処理であり、この操作によ
って現在印字中の行末までテスト印字を実行した所でテ
スト印字を終了させ通常機能とする事ができる。
When the printing process reaches the end of the line, the printer control section detects the state of the line feed switch 11, and if the result is the ON state, transitions to the normal function and performs the normal function process. Continue printing. The above processing constitutes the first function transition means. This process is a process when the operator turns on the line feed switch again during the test print process. By this operation, the test print is finished up to the end of the line currently being printed, and the test print is ended. Can be

【0023】プリンタ制御部はテスト印字データが終了
するまで上述のテスト印字処理を続け、テスト印字デー
タの終了が検出されると再びテスト印字データ準備処理
9へ戻ってテスト印字を継続する。また、各行末に於い
ては印字媒体の有無をも検査し、印字媒体が無くなった
場合には印字媒体がセットされるまでテスト印字を中断
する。この場合、改行スイッチがオン状態となれば前述
のようにテスト印字を終了して通常機能へ遷移する。
The printer control section continues the above-mentioned test print processing until the test print data ends, and when the end of the test print data is detected, returns to the test print data preparation processing 9 again to continue the test print. Also, at the end of each line, the presence or absence of the print medium is also inspected. If the print medium is exhausted, the test printing is suspended until the print medium is set. In this case, if the line feed switch is turned on, the test printing is terminated and the normal function is entered as described above.

【0024】本実施例に於いてはテスト印字を1文字或
は1行行なう毎にスイッチ、センサ類の状態検出を行な
っているが、これらの検出は数文字印字或は数行印字毎
に行なってもよく、割り込み処理で行なってもよい。
In this embodiment, the state of the switches and sensors is detected every time one character or one line of test printing is performed. These detections are performed every several characters or every few lines. Alternatively, it may be performed by interrupt processing.

【0025】また、カバー開閉センサとしては本実施例
で用いたリミットスイッチに限らず、ホトセンサ、磁気
センサ等の非接触のセンサでもよい。
The cover opening / closing sensor is not limited to the limit switch used in this embodiment, but may be a non-contact sensor such as a photo sensor or a magnetic sensor.

【0026】また、初期化手段は本実施例で用いた電源
スイッチに限らず、MPUブロックのリセットスイッチ
やIOポートに入力される信号線に接続されたスイッチ
でもよい。後者の場合には外部装置から指定されるプリ
ンタの設定項目のみを初期化しないようにすることによ
って、これらの項目も設定状態印字時に併せて印字する
ことができる。
The initialization means is not limited to the power switch used in this embodiment, but may be a reset switch of the MPU block or a switch connected to a signal line input to the IO port. In the latter case, by not initializing only the setting items of the printer designated by the external device, these items can be printed together with the setting state printing.

【0027】[0027]

【発明の効果】本発明のプリンタは、通常機能の他にテ
スト印字機能と設定状態印字機能の二つの特殊機能を有
するプリンタに於て、初期化手段と、動作指定手段と、
状態検出手段と、テスト印字機能、設定状態印字機能及
び通常機能のうち一つの機能を選択し実行するプリンタ
制御部を有し、プリンタ制御部は初期化手段が開始状態
となってから一定時間後の動作指定手段の第1の状態に
より特殊機能を、第2の状態により通常機能を選択する
第1の機能選択手段を有するようにしたので、動作指定
手段が故障していればこのような選択が正しく行なわれ
ず、操作者は動作指定手段の故障を発見することができ
る。
The printer of the present invention is a printer having two special functions of the test printing function and the setting status printing function in addition to the normal function, and the initialization means, the operation designating means,
The printer has a status detection unit and a printer control unit that selects and executes one of the test printing function, the setting status printing function, and the normal function. The printer control unit waits for a certain period of time after the initialization unit has started. Since the first function selecting means for selecting the special function according to the first state of the operation specifying means and the normal function according to the second state of the operation specifying means are provided, if the operation specifying means is out of order, such a selection is made. Is not performed correctly, and the operator can detect the failure of the operation designating means.

【0028】また、状態検出手段の第1の状態により特
殊機能の内のテスト印字機能を、第2の状態により設定
状態印字機能を選択する第2の機能選択手段を有するよ
うにしたので、動作指定手段が一つしかないプリンタに
於いてもテスト印字機能と設定状態印字機能とを選択し
て別々に実行することができる。これによりテスト印字
機能のみ或は設定状態印字機能のみを選択することがで
きるので、例えば保守を行なう際に設定状態と同時にテ
ストデータまでが印字されてしまうということが無くな
り、保守作業を効率よく行うことができる。更に、状態
検出手段が故障していればこのような選択が正しく行な
われず、操作者は状態検出手段の故障をも発見すること
ができる。このようにプリンタの動作確認を行なう際
に、特殊機能選択と同時に動作指定手段及び状態検出手
段の故障の確認ができるのでスイッチ、センサ類の試験
を別に行なう必要がなく、動作確認工程が簡略化でき
る。
Further, since the first state of the state detecting means has the test printing function of the special functions and the second state has the second function selecting means for selecting the setting state printing function, the operation is performed. Even in a printer having only one designating means, the test printing function and the setting status printing function can be selected and executed separately. As a result, it is possible to select only the test printing function or only the setting status printing function. For example, when performing maintenance, test data will not be printed at the same time as the setting status, and maintenance work will be performed efficiently. be able to. Further, if the state detecting means is out of order, such a selection cannot be made correctly, and the operator can detect the failure of the state detecting means. In this way, when checking the operation of the printer, it is possible to check the failure of the operation designating means and the state detecting means at the same time as selecting the special function, so that it is not necessary to separately test switches and sensors, and the operation checking process is simplified. it can.

【0029】また、プリンタ制御部は、テスト印字機能
に於いて動作指定手段の前記第1の状態が再び現われた
場合に通常機能へ遷移する第1の機能遷移手段を有する
ようにしたので、動作指定手段を再度操作するだけでテ
スト印字機能を終了して通常機能へ移ることができる。
更に、テスト印字機能に於いて状態検出手段の前記第2
の状態により設定状態印字機能へ遷移する第2の機能遷
移手段を有するようにしたので、状態検出手段の検出す
る状態を変更するだけでテスト印字を中断して設定状態
印字を行なわせることができる。また、設定状態印字機
能の終了時に於いて動作指定手段の前記第2の状態によ
り通常機能へ遷移する第3の機能遷移手段を有するよう
にしたので、設定状態印字が終了したときに動作指定手
段が操作されていなければ特殊機能を終了して通常機能
へ移ることができる。これにより複数の特殊機能の切り
換え及び特殊機能から通常機能への切り換えが電源の再
投入無しで容易に行えるので、これらを連続して行なう
場合でも電源再投入時の装置の初期化時間がオーバヘッ
ドとなることはない。
Further, the printer control unit has the first function transition means for transitioning to the normal function when the first state of the operation designating means is reappeared in the test print function. The test print function can be ended and the normal function can be entered by simply operating the designating means again.
Further, in the test printing function, the second of the state detecting means is used.
Since the second function transition means for making a transition to the setting state printing function depending on the state is provided, the test printing can be interrupted and the setting state printing can be performed only by changing the state detected by the state detecting means. . Further, since the third function transition means for transitioning to the normal function according to the second state of the operation designating means at the end of the setting status printing function is provided, the operation designating means at the end of the setting status printing. If is not operated, the special function can be terminated and the normal function can be performed. This makes it possible to easily switch between multiple special functions and from a special function to a normal function without restarting the power supply. It never happens.

【0030】また、状態検出手段が印字部のカバー開閉
センサであるようにしたので、カバーが閉状態即ち印字
部が保護された状態の時にテスト印字機能を、また開状
態即ち印字結果が直ちに視認可能な状態の時に設定状態
印字機能を各々選択するというように、プリンタの状態
に適した特殊機能を選択し実行することができる。
Further, since the state detecting means is the cover opening / closing sensor of the printing portion, the test printing function is performed when the cover is closed, that is, the printing portion is protected, and the open state, that is, the printing result is immediately visible. It is possible to select and execute a special function suitable for the state of the printer, such as selecting each setting state printing function in the possible state.

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

【図1】本発明の一実施例に於けるプリンタ制御部の動
作を示すフローチャート。
FIG. 1 is a flowchart showing the operation of a printer control unit according to an embodiment of the present invention.

【図2】本発明の一実施例であるプリンタの外観を示す
図。
FIG. 2 is a diagram showing an appearance of a printer which is an embodiment of the present invention.

【図3】本発明の一実施例の構成を示すブロック図。FIG. 3 is a block diagram showing the configuration of an embodiment of the present invention.

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

1 電源スイッチの投入 2 システムの初期化 3 異常処理 4 紙無し処理 5 改行スイッチの状態検出1 6 通常機能の処理 7 カバー開閉センサの状態検出1 8 設定状態印字処理 9 テスト印字データ準備処理 10 カバー開閉センサの状態検出2 11 改行スイッチの状態検出2 12 電源スイッチ 13 改行スイッチ 14 カバー開閉センサ 15 印字部のカバー 16 印字媒体 17 印字ヘッド 18 プリンタの状態を設定するスイッチ類 19 インタフェース部 20 MPUブロック 21 駆動回路ブロック 22 印字ヘッド送りモータ 23 印字媒体送りモータ 24 リセット信号 25 表示ブロック 26 プリンタ制御部 1 Turn on the power switch 2 System initialization 3 Abnormal processing 4 Paper-free processing 5 Line feed switch status detection 1 6 Normal function processing 7 Cover open / close sensor status detection 1 8 Setting status printing processing 9 Test print data preparation processing 10 Cover Open / close sensor state detection 2 11 Line feed switch state detection 2 12 Power switch 13 Line feed switch 14 Cover open / close sensor 15 Printing section cover 16 Printing medium 17 Printing head 18 Switches for setting printer status 19 Interface section 20 MPU block 21 Drive circuit block 22 Print head feed motor 23 Print medium feed motor 24 Reset signal 25 Display block 26 Printer control unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 通常機能の他に印字媒体にテスト印字を
行ってプリンタの動作を試験するテスト印字機能と前記
プリンタの設定状態等を印字する設定状態印字機能等の
複数の特殊機能を有するプリンタに於て、 前記プリンタの設定を初期化する初期化手段と、 前記プリンタに所定の動作を行なわせる動作指定手段
と、 前記プリンタの異常状態を検出する状態検出手段と、 前記テスト印字機能、前記設定状態印字機能及び前記通
常機能のうち一つの機能を選択し実行するプリンタ制御
部を有し、 前記プリンタ制御部は前記初期化手段が開始状態となっ
てから一定時間後の前記動作指定手段の第1の状態によ
り前記特殊機能を、第2の状態により前記通常機能を選
択する第1の機能選択手段と、 前記状態検出手段の第1の状態により前記特殊機能の内
の前記テスト印字機能を、第2の状態により前記設定状
態印字機能を選択する第2の機能選択手段とから構成さ
れることを特徴とするプリンタ。
1. A printer having a plurality of special functions such as a test printing function for performing test printing on a print medium to test the operation of the printer and a setting status printing function for printing the setting status of the printer in addition to the normal function. In the above, initialization means for initializing settings of the printer, operation designating means for causing the printer to perform a predetermined operation, state detection means for detecting an abnormal state of the printer, the test print function, the The printer control unit has a printer control unit for selecting and executing one of the setting state printing function and the normal function, and the printer control unit is provided for the operation designating unit after a predetermined time has passed since the initialization unit was in the start state. A first function selecting means for selecting the special function in the first state and a normal function in the second state; and the special machine for the first state of the state detecting means. A printer comprising: a test printing function of the functions, and a second function selecting means for selecting the setting status printing function according to a second status.
【請求項2】 前記プリンタ制御部は、前記テスト印字
機能に於いて前記動作指定手段の前記第1の状態が再び
現われた場合に前記通常機能へ遷移する第1の機能遷移
手段と、 前記テスト印字機能に於いて前記状態検出手段の前記第
2の状態により前記設定状態印字機能へ遷移する第2の
機能遷移手段と、 前記設定状態印字機能の終了時に於いて前記動作指定手
段の前記第2の状態により前記通常機能へ遷移する第3
の機能遷移手段とを有することを特徴とする請求項1記
載のプリンタ。
2. The printer control unit includes a first function transition unit that transitions to the normal function when the first state of the operation designating unit appears again in the test print function, and the test. In the printing function, second function transition means for transitioning to the setting state printing function according to the second state of the state detecting means, and the second of the operation designating means at the end of the setting state printing function. The third that transitions to the normal function depending on the state of
2. The printer according to claim 1, further comprising:
【請求項3】 前記状態検出手段は印字部のカバー開閉
センサであることを特徴とする請求項1または2記載の
プリンタ。
3. The printer according to claim 1, wherein the state detecting means is a cover opening / closing sensor of the printing section.
JP5267485A 1993-10-26 1993-10-26 Printer Pending JPH07117317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5267485A JPH07117317A (en) 1993-10-26 1993-10-26 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5267485A JPH07117317A (en) 1993-10-26 1993-10-26 Printer

Publications (1)

Publication Number Publication Date
JPH07117317A true JPH07117317A (en) 1995-05-09

Family

ID=17445511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5267485A Pending JPH07117317A (en) 1993-10-26 1993-10-26 Printer

Country Status (1)

Country Link
JP (1) JPH07117317A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006056064A (en) * 2004-08-18 2006-03-02 Canon Inc Image forming apparatus
US8462374B2 (en) 2007-02-05 2013-06-11 Shandong New Beiyang Information Technology Co., Ltd. Printer control method, an apparatus and a printer using the method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006056064A (en) * 2004-08-18 2006-03-02 Canon Inc Image forming apparatus
US8462374B2 (en) 2007-02-05 2013-06-11 Shandong New Beiyang Information Technology Co., Ltd. Printer control method, an apparatus and a printer using the method

Similar Documents

Publication Publication Date Title
JPH07117317A (en) Printer
JPS6015185A (en) Printer
EP0341671B1 (en) Bidirectional printing device
JPH05210470A (en) Printer and method for processing its type selection
JPH09164747A (en) Printer and control method therefor
JPH0343283A (en) Page printer
JP2001191626A (en) Stencil printing system, stencil printing method and computer-readable recording medium storing stencil printing program
JPH08249081A (en) Method and device for power saving
JP2830383B2 (en) Printer interface switching device
JPH10159134A (en) Control system of construction machinery
JP2880658B2 (en) Runaway detection device for multitask program
JPH06143757A (en) Printer
JPH08197811A (en) Printer
JPH0239980A (en) Terminal apparatus
JP2006015571A (en) Controller, image processor, and method of controlling power source
JPH01244885A (en) Abnormal state resetting system for printer
JPH086811A (en) Self-diagnostic result output control system
JPS6158494A (en) Method of diagnosing origin detection circuit of pulse motor
JPH01146778A (en) Automatic control system
JPH05151510A (en) Magnetic disk device
JPH0558009A (en) Printer
JPS63160873A (en) Power source controlling system for printing device
JPH03172922A (en) Printer interface circuit
JPS62214974A (en) Printer
JPH0418622A (en) Information equipment