JPH02131979A - Thermal printer controller - Google Patents

Thermal printer controller

Info

Publication number
JPH02131979A
JPH02131979A JP63287063A JP28706388A JPH02131979A JP H02131979 A JPH02131979 A JP H02131979A JP 63287063 A JP63287063 A JP 63287063A JP 28706388 A JP28706388 A JP 28706388A JP H02131979 A JPH02131979 A JP H02131979A
Authority
JP
Japan
Prior art keywords
program
self
thermal printer
plates
printed
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
JP63287063A
Other languages
Japanese (ja)
Inventor
Takashi Nakajima
孝 中島
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63287063A priority Critical patent/JPH02131979A/en
Publication of JPH02131979A publication Critical patent/JPH02131979A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To easily detect the number of plates of an internal program even if associated in an external unit, and to facilitate the management of the number of the plates by simultaneously printing symbol or numeral representing the number of plates of the program when a self-diagnosing program is started to print an inner character pattern. CONSTITUTION:A microprocessor(MPU) 3 has internal or external read only memory(ROM) 31, and contains, in addition to a main control program area 41, a microprogram having a self-diagnosing program area 42 and a character pattern area 43 as a program for controlling a thermal printer in a ROM 31. When a self-diagnosing program is started, a contained character pattern 44 is sequentially read, and, for example, printed on a heat sensitive sheet. When all character patterns are printed completely, the number of plates of the program is read, and a symbol or numeral 45 indicating the number of plates is printed after the printed pattern. Thus, even if associated with the external unit, the number of the plates of the program can be easily detected to easily manage the number of the plates.

Description

【発明の詳細な説明】 〔概 要〕 各種データを印字するサーマルプリンタに関し、外部装
置内に組み込まれていても内蔵プログラムの版数が容易
に検知でき、版数管理の容易なサーマルプリンタ制御装
置の提供を目的とし、サーマルプリンタの動作を制御す
る主制御プログラムや、サーマルプリンタの動作状態を
自己診断する自己診断プログラムが、文字パターンと共
に記憶されてなるROMを存し、マイクロプロセッサに
よって制御されるサーマルプリンタにおいて、自己診断
プログラムを起動させて内蔵文字パターンを印字する際
に、内蔵プログラムの版数を表す記号若しくは数字が同
時に印字されるように構成する。
[Detailed Description of the Invention] [Summary] A thermal printer control device that can easily detect the version number of a built-in program even if it is incorporated in an external device and can easily manage the version number, regarding a thermal printer that prints various data. The main control program for controlling the operation of the thermal printer and the self-diagnosis program for self-diagnosing the operational status of the thermal printer are stored in a ROM along with character patterns, and are controlled by a microprocessor. In a thermal printer, when a self-diagnosis program is activated and a built-in character pattern is printed, a symbol or number representing the version number of the built-in program is simultaneously printed.

〔産業上の利用分野] 本発明は各種データを印字させるサーマルプリンタに係
り、特に内蔵プログラムの版数管理が容易なサーマルプ
リンタ制御装置に関する。
[Industrial Field of Application] The present invention relates to a thermal printer that prints various data, and particularly to a thermal printer control device that facilitates version number management of built-in programs.

サーマルプリンタはサーマルヘッドや駆動モータ等を有
する機構部の他に、外部から入力される命令に従って機
構部を制御する制御装置を具えており、制御装置は内蔵
しているマイクロプログラムによって上記命令を遂行す
る。
In addition to a mechanical section that includes a thermal head and a drive motor, a thermal printer is equipped with a control device that controls the mechanical section according to commands input from the outside, and the control device executes the above commands using a built-in microprogram. do.

しかし外部からの命令を遂行する上で不都合な点がある
と、上記マイクロプログラムは改良が加えられ改版され
る。したがって命令を確実に遂行し良好な印字状態を維
持するには、常に最新版のマイクロプログラムに書き換
える必要がある。
However, if there are any inconveniences in executing instructions from the outside, the microprograms are improved and revised. Therefore, in order to reliably execute commands and maintain good printing conditions, it is necessary to constantly update the microprogram to the latest version.

しかるに制御装置はサーマルプリンタの一部として外部
装置に組み込まれる場合が多く、例えばマイクロプログ
ラムの版数が制御装置に表示されていても、外部装置を
分解し制御装置を取り出さない限り版数を見ることがで
きない。
However, the control device is often built into an external device as part of the thermal printer, and even if the version number of the microprogram is displayed on the control device, the version number cannot be seen unless the external device is disassembled and the control device is removed. I can't.

そこで外部装置の内部に組み込まれていても内蔵プログ
ラムの版数が容易に検知でき、版数管理の容易なサーマ
ルプリンタ制御装置の実現が要望されている。
Therefore, there is a need for a thermal printer control device that can easily detect the version number of a built-in program even if it is built into an external device, and that can easily manage the version number.

[従来の技術〕 第3図はサーマルプリンタの構成を示すブロック図、第
4図は内蔵プログラムのアドレスマップ、第5図は従来
の自己診断による印字例である。
[Prior Art] FIG. 3 is a block diagram showing the configuration of a thermal printer, FIG. 4 is an address map of a built-in program, and FIG. 5 is an example of printing by conventional self-diagnosis.

第3図においてサーマルプリンタは機構部1と制御回路
2からなり、機構部lは例えば感熱紙を発色させ印字す
るサーマルヘッド11、感熱紙を移動させる紙送り機構
用の駆動モータ12、サーマルヘッド1lのヘッドアッ
プやヘッドダウンを検知するスイッチ13、感熱紙上の
印字位置を検知する位置検出機横14、感熱紙の有無を
検知する用紙検出機構15等を具えている。
In FIG. 3, the thermal printer consists of a mechanism section 1 and a control circuit 2. The mechanism section 1 includes, for example, a thermal head 11 that colors and prints on thermal paper, a drive motor 12 for a paper feeding mechanism that moves the thermal paper, and a thermal head 1l. The apparatus includes a switch 13 for detecting head-up or head-down, a horizontal position detector 14 for detecting the print position on thermal paper, a paper detection mechanism 15 for detecting the presence or absence of thermal paper, and the like.

一方、制御回路2はマイクロプロセッサ(以下MPUと
略称する)3を具えており、MPU3はヘッド制御回路
21、モータ制御回路22、ヘッドアップ検出回路23
、位置検出回路24、用紙検出回路25等を介して上記
の機構部1と接続されている。
On the other hand, the control circuit 2 includes a microprocessor (hereinafter abbreviated as MPU) 3, and the MPU 3 includes a head control circuit 21, a motor control circuit 22, and a head-up detection circuit 23.
, a position detection circuit 24, a paper detection circuit 25, and the like to the above-mentioned mechanism section 1.

また図示省略された外部装置からMPU3への印字デー
タや印字命令の入力、或いはMPU3から外部装置への
アラーム信号出力等はインターフェース26を介して行
われる。
Input of print data and print commands from an external device (not shown) to the MPU 3, output of an alarm signal from the MPU 3 to the external device, etc. are performed via the interface 26.

上記MPU3は内蔵または外付けされた読出専用記憶装
置(以下ROMと略称する)31を具えており、第4図
のアドレスマ・ソプに示す如く主制御プログラム領域4
1の他に、自己診断プログラム領域42や文字パターン
領域43を有するマイクロプログラムが、サーマルプリ
ンタ制1′n用のプログラムとしてROM31に内蔵さ
れている。
The MPU 3 has a built-in or external read-only storage device (hereinafter referred to as ROM) 31, and has a main control program area 4 as shown in the address map in FIG.
In addition to 1, a microprogram having a self-diagnosis program area 42 and a character pattern area 43 is built into the ROM 31 as a program for the thermal printer system 1'n.

いまインターフェース26を介して外部から印字命令が
入力されると、主制御プログラム領域41に格納されて
いる主制御プログラムが起動され、文字パターン頷域4
3内の文字パターンに基づいて印字データが例えば感熱
紙に印字される。
When a printing command is inputted from the outside via the interface 26, the main control program stored in the main control program area 41 is started, and the character pattern nodding area 4 is started.
The print data is printed on, for example, thermal paper based on the character pattern in 3.

またインターフェース26を介して自己診断命令が入力
されると、自己診断プログラム領域42に格納されてい
る自己診断プログラムが起動され、文字パターン領域4
3内の全ての文字パターン44が第5図に示す如く、例
えば感熱紙に印字されて機構部1の動作状態が自己診断
される。
Further, when a self-diagnosis command is input via the interface 26, the self-diagnosis program stored in the self-diagnosis program area 42 is started, and the character pattern area
As shown in FIG. 5, all the character patterns 44 in 3 are printed on, for example, thermal paper to self-diagnose the operating state of the mechanism section 1.

このような主制御プログラムや自己診断プログラム領域
、或いは文字パターン等のROMに内蔵されているマイ
クロプログラムは、命令を遂行する上で不都合な点があ
ると改良が加えられ改版される。したがって命令を確実
に遂行し良好な印字状態を維持するには、常に最新版の
マイクロプログラムに占き換える必要がある。
The microprograms contained in the ROM, such as the main control program, self-diagnosis program area, character patterns, etc., are improved and revised if there is any problem in executing instructions. Therefore, in order to reliably execute commands and maintain good printing conditions, it is necessary to always update the microprogram to the latest version.

内蔵プログラムの版数はROMの外観で識別することが
できず、ROMにマイクロプログラムを書き込んだ時点
でその版数を、ROMに表示しなければ版数の異なるも
のが使用される恐れがある。
The version number of a built-in program cannot be identified by the appearance of the ROM, and if the version number is not displayed on the ROM when the microprogram is written into the ROM, there is a risk that a different version number will be used.

そこで一般にROMの表面または裏面に版数が表示され
ており、従来のサーマルプリンタ制御装置ではかかる版
数によって版数管理を行っている。
Therefore, the version number is generally displayed on the front or back side of the ROM, and in conventional thermal printer control devices, the version number is managed based on the version number.

〔発明が解決しようとする課題] しかし制御装置はサーマルプリンタの一部として外部装
置に組み込まれる場合が多く、ROMの表面または裏面
に表示されている内蔵プログラムの版数を検知するため
、外部装置から制御装置を取り出し更に制御装置を開か
なければならないという問題があった。
[Problems to be Solved by the Invention] However, the control device is often incorporated into an external device as part of a thermal printer, and in order to detect the version number of the built-in program displayed on the front or back side of the ROM, the control device is often incorporated into an external device. There was a problem in that the control device had to be taken out from the machine and the control device had to be opened.

本発明の目的は外部装置内に組み込まれていても内蔵プ
ログラムの版数が容易に検知でき、版数管理の容易なサ
ーマルプリンタ制f’ff装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a thermal printer-based f'ff device in which the version number of a built-in program can be easily detected even if it is installed in an external device, and version number management is easy.

〔課題を解決するための手段] 第1図は本発明になる制御装置の動作原理を示すフロー
チャートである。なお企図を通し同じ対象物は同一記号
で表している。
[Means for Solving the Problems] FIG. 1 is a flowchart showing the operating principle of a control device according to the present invention. The same objects are represented by the same symbols throughout the plan.

」−記課題はナーマルプリンタの動作を制御する主制御
プログラムや、サーマルプリンタの動作状、態を自己診
断する自己診断プログラムが、文字パターンと共に記憶
されてなるROMを有し、マイクロプロセッサによって
制御されるサーマルプリンタにおいて、自己診断プログ
ラムを起動させて内蔵文字パターンを印字する際に、内
蔵プログラムの版数を表す記号若しくは数字が同時に印
字されるように、構成されてなる本発明のサーマルプリ
ンタ制御装置によって達成される。
” - The problem is to have a ROM in which a main control program that controls the operation of a thermal printer and a self-diagnosis program that self-diagnoses the operating status and status of a thermal printer are stored together with character patterns, and is controlled by a microprocessor. A thermal printer control according to the present invention is configured such that when a self-diagnosis program is activated and a built-in character pattern is printed, a symbol or number representing the version number of the built-in program is printed at the same time in the thermal printer. achieved by the device.

〔作 用〕[For production]

第1図において自己診断プログラムを起動させて内藏文
字パターンを印字する際に、内蔵プログラムの版数を表
す記号若しくは数字を同時に印字さゼることによって、
外部装置内に組み込まれていても内蔵プログラムの版数
が容易に検知でき、版数管理の容易なサーマルプリンタ
制御装置を提供することができる。
In Figure 1, when starting the self-diagnosis program and printing the inner character pattern, by simultaneously printing a symbol or number representing the version number of the built-in program,
It is possible to provide a thermal printer control device in which the version number of a built-in program can be easily detected even if it is incorporated in an external device, and version number management is easy.

〔実施例] 以下添付図により本発明の実施例について説明する。な
お第2図は本発明の自己診断による印字例である。
[Examples] Examples of the present invention will be described below with reference to the accompanying drawings. Note that FIG. 2 is an example of printing by the self-diagnosis of the present invention.

従来のサーマルプリンタ制御装置では自己診断プログラ
ムを起動させると、内蔵されている文字バクーンを順次
読み出して例えば惑熱紙に印字し、全文字パターンの印
字が完了すると同時に自己診断も終了する。
In a conventional thermal printer control device, when a self-diagnosis program is started, the built-in character patterns are sequentially read out and printed on, for example, thermal paper, and the self-diagnosis ends at the same time as printing of all character patterns is completed.

それに対し本発明になるサーマルプリンタ制御装置では
、第1図に示す如く自己診断プログラムを起動させると
、第2図に示す如く内蔵されている文字パターン44を
順次読み出して例えば感熱紙に印字し、全文字パターン
の印字が完了すると内蔵プログラムの版数を読み出し、
印字された文字パターンの後に版数を表す記号若しくは
数字45が印字される。
On the other hand, in the thermal printer control device according to the present invention, when the self-diagnosis program is started as shown in FIG. 1, the built-in character patterns 44 are sequentially read out and printed on, for example, thermal paper, as shown in FIG. When printing of all character patterns is completed, the version number of the built-in program is read out,
A symbol or number 45 representing the version number is printed after the printed character pattern.

このように自己診断プログラムを起動させて内蔵文字パ
ターンを印字する際に、内蔵プログラムの版数を表す記
号若しくは数字を同時に印字させることによって、外部
装置内に組み込まれていても内蔵プログラムの版数が容
易に検知でき、版数管理の容易なサーマルプリンタ制御
装置を提供することができる。
In this way, when starting the self-diagnosis program and printing the built-in character pattern, by simultaneously printing the symbol or number representing the version number of the built-in program, you can check the version number of the built-in program even if it is installed in an external device. Accordingly, it is possible to provide a thermal printer control device that can easily detect and easily manage version numbers.

第3図はサーマルプリンタの構成を示すブロック図、 第4図は内蔵プログラムのアドレスマップ、第5図は従
来の自己診断による印字例、である。
FIG. 3 is a block diagram showing the configuration of the thermal printer, FIG. 4 is an address map of the built-in program, and FIG. 5 is an example of printing by conventional self-diagnosis.

(発明の効果〕 上述の如く本発明によれば版数管理の容易なサーマルプ
リンタ制御装置を提供することができる。
(Effects of the Invention) As described above, according to the present invention, it is possible to provide a thermal printer control device that facilitates version number management.

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

第1図は本発明になる制御装置の動作原理を示すフロー
チャート、 第2図は本発明の自己診断による印字例、YES 木発明になる制御装置の動作 原理を示すフローチ島一ト 従来の自己診断による印字例 第 図 第 5 図 サーマルプリンタの構成を示すブロック図第 図
Fig. 1 is a flowchart showing the operating principle of the control device according to the present invention. Fig. 2 is an example of printing by the self-diagnosis of the present invention. Example of printing by Figure 5 Figure 5 Block diagram showing the configuration of a thermal printer

Claims (1)

【特許請求の範囲】 サーマルプリンタの動作を制御する主制御プログラムや
、サーマルプリンタの動作状態を自己診断する自己診断
プログラムが、文字パターンと共に記憶されてなる読出
専用記憶装置を有し、マイクロプロセッサによって制御
されるサーマルプリンタにおいて、 自己診断プログラムを起動させて内蔵文字パターンを印
字する際に、内蔵プログラムの版数を表す記号若しくは
数字が同時に印字されるように、構成されてなることを
特徴とするサーマルプリンタ制御装置。
[Claims] A main control program that controls the operation of the thermal printer and a self-diagnosis program that self-diagnoses the operational status of the thermal printer are stored together with character patterns in a read-only storage device, and are executed by a microprocessor. The controlled thermal printer is characterized in that, when the self-diagnosis program is activated and the built-in character pattern is printed, a symbol or number representing the version number of the built-in program is simultaneously printed. Thermal printer control device.
JP63287063A 1988-11-14 1988-11-14 Thermal printer controller Pending JPH02131979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63287063A JPH02131979A (en) 1988-11-14 1988-11-14 Thermal printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63287063A JPH02131979A (en) 1988-11-14 1988-11-14 Thermal printer controller

Publications (1)

Publication Number Publication Date
JPH02131979A true JPH02131979A (en) 1990-05-21

Family

ID=17712571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63287063A Pending JPH02131979A (en) 1988-11-14 1988-11-14 Thermal printer controller

Country Status (1)

Country Link
JP (1) JPH02131979A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61143172A (en) * 1984-12-17 1986-06-30 Tokyo Electric Co Ltd Printer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61143172A (en) * 1984-12-17 1986-06-30 Tokyo Electric Co Ltd Printer

Similar Documents

Publication Publication Date Title
JPH03192038A (en) Recording device
KR950019980A (en) Consumable Parts Engineering Apparatus and Method of Image Forming Device by Secret Code
JP3149168B2 (en) Printing device
JPH01235680A (en) Electronic typewriter
JPH02131979A (en) Thermal printer controller
JPH07271471A (en) Peripheral equipment with control panel
JPH06149550A (en) Image forming device
US4894798A (en) Automatic stop code insertion feature for a word processing apparatus
JPS58114289A (en) Printer controller
JP2716087B2 (en) Output device
KR100200958B1 (en) Menu flow setting method of image forming device
JPH0422664A (en) Method of initializing printer
JPH05221097A (en) Printer
JPH0227469A (en) Document editing device
JPS61123555A (en) Printer-controlling system
JPS6317062A (en) Printing controller
JPH0220370A (en) Printing apparatus
JPH11348390A (en) Printer, method for dealing with failure and memory medium
JPH08332760A (en) Printer and expansion function printing method thereof
JPH10278382A (en) Printer
JPH0264661A (en) Printer
JPS63170068A (en) Output device
JPH047183A (en) Printing apparatus
JPH0531960U (en) Printer device
JPH0234371A (en) Printer