JPH0315551B2 - - Google Patents

Info

Publication number
JPH0315551B2
JPH0315551B2 JP20165083A JP20165083A JPH0315551B2 JP H0315551 B2 JPH0315551 B2 JP H0315551B2 JP 20165083 A JP20165083 A JP 20165083A JP 20165083 A JP20165083 A JP 20165083A JP H0315551 B2 JPH0315551 B2 JP H0315551B2
Authority
JP
Japan
Prior art keywords
processing register
end point
register
processing
time
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
Application number
JP20165083A
Other languages
Japanese (ja)
Other versions
JPS6092879A (en
Inventor
Ichiro Kato
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 JP58201650A priority Critical patent/JPS6092879A/en
Publication of JPS6092879A publication Critical patent/JPS6092879A/en
Publication of JPH0315551B2 publication Critical patent/JPH0315551B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/32Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads
    • B41J2/35Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads providing current or voltage to the thermal head
    • B41J2/355Control circuits for heating-element selection
    • B41J2/36Print density control
    • B41J2/365Print density control by compensation for variation in temperature
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/32Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads
    • B41J2/35Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads providing current or voltage to the thermal head
    • B41J2/355Control circuits for heating-element selection
    • B41J2/36Print density control

Landscapes

  • Electronic Switches (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はサーマルプリンタに係り、特にその端
点および孤立点の部分が印字品質よく印刷できる
ようにして印字品質を向上させたサーマルプリン
タに関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a thermal printer, and more particularly to a thermal printer in which end points and isolated point portions can be printed with good print quality to improve print quality.

〔技術の排景〕[Technology overview]

例えばワードプロセツサの如きデータ処理装置
の出力装置としてサーマルプリンタが使用されて
いる。このサーマルプリンタには用紙面に加熱さ
れたとき発色する感熱発色剤が塗布された用紙を
使用する発色式のものと、加熱されたときリボン
上のインクが溶融されて用紙上に転写するサーマ
ル・インクの塗布されたサーマル・インク・リボ
ンを使用する転写式のものが存在する。このよう
なサーマルプリンタにおいて、シリアルヘツドを
有するシリアル型のものでは、サーマル・ヘツド
に設けられた、縦方向に配置された複数の発熱素
子のうち必要な発熱素子を選択的に通電させてサ
ーマル・ヘツドを移動しつつ任意の印刷を行う。
そしてこのとき印刷の濃度はサーマル・ヘツドの
発熱部の温度により決定される。
For example, thermal printers are used as output devices for data processing devices such as word processors. There are two types of thermal printers: a color-forming type that uses paper coated with a heat-sensitive coloring agent that colors when heated, and a thermal type that uses paper coated with a heat-sensitive coloring agent that colors when heated, and a thermal type that uses paper coated with a heat-sensitive coloring agent that colors when heated, and a thermal type that uses paper coated with a heat-sensitive coloring agent that colors when heated, and a thermal type that uses paper coated with a heat-sensitive coloring agent that develops color when heated, and a thermal type that uses paper coated with a heat-sensitive coloring agent that develops color when heated, and a thermal type that uses paper coated with a heat-sensitive coloring agent that develops color when heated. There are transfer types that use a thermal ink ribbon coated with ink. Among such thermal printers, in the case of a serial type having a serial head, the thermal printer is operated by selectively energizing the necessary heating elements among the plurality of heating elements arranged in the vertical direction provided in the thermal head. Perform arbitrary printing while moving the head.
At this time, the printing density is determined by the temperature of the heat generating part of the thermal head.

第1図aに転写式のサーマルプリンタの一部を
示す。
FIG. 1a shows a part of a transfer type thermal printer.

プラテン1上に通常の用紙2を載置し、これに
サーマル・インク・リボン3を配置してこの上よ
りサーマル・ヘツド4で印刷する。このサーマ
ル・ヘツド4には、第1図bで示す如く、細長い
発熱部5が設けられている。この発熱部5は、複
数の発熱体、例えば16ドツト印刷の場合には1
6個の発熱体が設けられ、これらを選択的に加熱
することにより文字、記号、図形等を印刷するこ
とができる。
A normal paper 2 is placed on a platen 1, a thermal ink ribbon 3 is placed on it, and a thermal head 4 prints on it. The thermal head 4 is provided with an elongated heat generating section 5, as shown in FIG. 1b. This heating section 5 includes a plurality of heating elements, for example, one heating element in the case of 16-dot printing.
Six heating elements are provided, and characters, symbols, figures, etc. can be printed by selectively heating them.

〔従来技術と問題点〕[Conventional technology and problems]

ところで、このようなシリアル型のサーマルプ
リンタを使用する場合、第1図eに示す如く、縦
罫線を印刷する場合にその接続部分Lが接続せず
に切れた状態で印刷されたり、同fに示す如く孤
立点Pの部分が薄く印刷される等の印字品質が部
分的に悪いという問題が存在する。この理由は、
例えば第1図cの如く、縦線を印刷するとき、そ
の両端部分が同dの拡大図のEで示す如く、丸く
なり、本来は点線の如く角が矩形状に印刷されな
ければならないのがこのため断線状態になる。そ
してこのような現象の生ずる理由は各発熱素子の
通電を同一に行つても、隣接する発熱素子等の影
響により、温度差を生じ、端点部分の温度が低下
していることによることがわかつた。これは、第
1図fに示す孤立点Pにおける印字品質の劣化に
ついても同じ理由である。
By the way, when using such a serial type thermal printer, as shown in Figure 1e, when printing vertical ruled lines, the connecting part L is not connected and is printed in a disconnected state, or the vertical ruled line is printed in a disconnected state. As shown, there is a problem that the print quality is poor in some parts, such as the isolated point P being printed thinly. The reason for this is
For example, when printing a vertical line as shown in Figure 1c, both ends are rounded, as shown by E in the enlarged view of Figure 1d, and the corners should originally be printed in a rectangular shape as shown in the dotted line. This results in a disconnection state. It was found that the reason why this phenomenon occurs is that even if each heating element is energized at the same rate, a temperature difference occurs due to the influence of adjacent heating elements, and the temperature at the end point decreases. . This is the same reason for the deterioration of print quality at the isolated point P shown in FIG. 1f.

すなわち、従来の此種サーマルプリンタの印字
制御は、第2図に示す如く、印字データを印字す
る際に、通電時間制御部が各ドライバに対してサ
ーマル・ヘツドの発熱素子に対する通電時間を均
一に制御していたことに起因する。
That is, in the conventional printing control of this type of thermal printer, as shown in Fig. 2, when printing print data, the energization time control section uniformly controls the energization time to the heating element of the thermal head for each driver. This is due to the fact that it was under control.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、此種のサーマルプリンタにお
ける端点および孤立点の印字品質が劣化する場合
があるという前記問題点を改善したサーマルプリ
ンタを提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a thermal printer that improves the above-mentioned problem that the printing quality at end points and isolated points may deteriorate in this type of thermal printer.

〔発明の構成〕[Structure of the invention]

この目的を達成するために本発明のサーマルプ
リンタでは、各々隣接して配置された複数の発熱
素子を有するサーマル・ヘツドと、印字媒体に対
し、サーマル・ヘツドを相対的に移送する手段
と、印刷パターンの端点又は孤立点を検出する端
点検出部と、該端点又は孤立点の印刷時点以前に
印刷される印刷パターンから、該端点又は孤立点
の近傍の印刷パターンの有無を検出する手段と、
端点又は孤立点に対応する発熱素子の発熱量を端
点又は孤立点近傍の印刷パターンの有無に応じて
制御する手段とを備えることを特徴とする。
In order to achieve this object, the thermal printer of the present invention includes a thermal head having a plurality of heating elements arranged adjacent to each other, a means for moving the thermal head relative to a printing medium, and a printing device. an end point detection unit that detects an end point or isolated point of a pattern; a means for detecting the presence or absence of a print pattern near the end point or isolated point from a print pattern printed before the end point or isolated point;
The present invention is characterized by comprising means for controlling the amount of heat generated by the heating element corresponding to the end point or isolated point depending on the presence or absence of a printed pattern in the vicinity of the end point or isolated point.

〔発明の実施例〕[Embodiments of the invention]

本発明を一実施例にもとずき詳述するに先立ち
その概略を説明する。本発明では、印刷パターン
のうち端点(孤立点)を検出して、この端点の周
縁部分がその印字の前々回までに印字されなかつ
たときにその通電時間を長くする或はより高温を
発生し得るように制御する。これにより端点(孤
立点)部分の温度の低下を防止できるので、前記
の如き印字品質の劣化を防止することができる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the present invention in detail based on one embodiment, an outline thereof will be explained. In the present invention, an end point (isolated point) in a printing pattern is detected, and when the peripheral part of this end point has not been printed by the previous printing, the energization time can be lengthened or a higher temperature can be generated. Control as follows. This makes it possible to prevent a drop in temperature at the end points (isolated points), thereby preventing the deterioration of print quality as described above.

本発明の一実施例を第3図〜第27図にもとづ
き説明する。
An embodiment of the present invention will be described based on FIGS. 3 to 27.

本発明のサーマルプリンタの外観は第3図に示
される。第3図において、用紙2は上部カバー1
0の挿入口より挿入され、用紙ホルダー11より
印字されたものが受けられる。第4図はサーマル
プリンタの内部を説明するものであり、サーマ
ル・インク・リボン12が使用され、スペース・
モータ13によりサーマル・ヘツド14を有する
キヤリア15が走行制御される。サーマルプリン
タにはその内部に用紙送り用のライン・フイー
ド・モータ(LE)や、サーマル・インク・リボ
ンが送られるとき用紙上に付着しないよう、用紙
と該リボンとの接近状態を制御するアプローチ・
エスケープ・モータ(AE)等の図示省略した機
構が設備されている。なお第3図,第4図は転写
式サーマルプリンタの例を示すものである。
The external appearance of the thermal printer of the present invention is shown in FIG. In FIG. 3, paper 2 is attached to upper cover 1.
The paper is inserted through the paper insertion slot 0, and the printed material is received from the paper holder 11. Figure 4 explains the inside of a thermal printer, in which a thermal ink ribbon 12 is used and space is
A motor 13 controls the movement of a carrier 15 having a thermal head 14. Thermal printers have internal line feed motors (LE) for feeding the paper, and an approach motor that controls the proximity of the thermal ink ribbon to the paper so that it does not stick to the paper as it is fed.
Mechanisms (not shown) such as an escape motor (AE) are installed. Note that FIGS. 3 and 4 show examples of transfer type thermal printers.

次に本発明の制御の概略を説明する。 Next, an outline of the control according to the present invention will be explained.

例えば第5図に示す如く、レジスタR1に斜線
部で示す如く、ドツト4〜16まで示される印字パ
ターンにより直線状の印字を行う場合、後述詳記
する動作を行う端点検出部EDによりこの印字パ
ターンの上下の端点E1,E2を抽出してこれをレ
ジスタR2にセツトする。そしてこの端点E1,E2
に対する通電時間を通常の通りにするか、通常よ
り長くするかの判定を、第7図に示す端点通電判
定部TDで行う。
For example, as shown in Fig. 5, when printing in a straight line using a printing pattern showing dots 4 to 16 as shown by the diagonal lines in register R1 , the end point detection unit ED performs the operation described in detail later. Extract the upper and lower end points E 1 and E 2 of the pattern and set them in register R 2 . And this end point E 1 , E 2
The end point energization determination unit TD shown in FIG. 7 determines whether the energization time for the terminal is kept as usual or longer than usual.

この通電時間の判定は、第6図に示す如く、判
定対象端点をE1としたとき印刷データバツフア
BUに記憶されている前回の印刷データd2および
前々回の印刷データd1を読み出し、端点E1に対し
てその上下各2ドツトずつの領域で印刷があつた
か否かをチエツクする。すなわち、第6図のチエ
ツク領域CH内の〜の合計10ドツトをチエツ
クする。そしてこのチエツク領域CH内に1ドツ
ト分の印刷もなければ端点E1の通電時間を増加
させる判定を行う。しかしこのチエツク領域CH
内の1ビツトでも印刷が行なわれていれば、端点
E1の通電時間は増加せず、通常の通電時間で加
熱を行う。
As shown in Fig. 6, this energization time judgment is based on the print data buffer when the end point to be judged is E1 .
The previous print data d2 and the print data d1 from the time before the previous time stored in the BU are read out, and it is checked whether or not printing was performed in an area of two dots each above and below the end point E1 . That is, a total of 10 dots .about. in the check area CH in FIG. 6 are checked. If one dot is not printed within this check area CH, a determination is made to increase the energization time at the end point E1 . However, this check area CH
If even 1 bit of the bit is printed, the end point
The energization time of E1 is not increased, and heating is performed at the normal energization time.

それ故、第7図に示す如く、レジスタR1-3
おける端点E1,E2の通電を判定するとき、レジ
スタR1-1,R1-2に示す如き前々回の印刷データ
および前回の印刷データをチエツクする。端点
E1についてはそのチエツク領域CH1に印刷データ
が存在しないが端点E2についてはそのチエツク
領域CH2に印刷データが存在するので、この場
合、端点E1についてのみ通電時間を長くするよ
うに端点通電判定部TDは判定し、その判定結果
をレジスタR2-1に出力する。これにより端点E1
について通電時間を長くする制御が行われる。
Therefore, as shown in FIG. 7, when determining the energization of the end points E 1 and E 2 in the register R 1-3 , the print data from the previous printing and the previous printing as shown in the registers R 1-1 and R 1-2 are used. Check the data. end point
For E 1 , there is no print data in its check area CH 1 , but for end point E 2 , there is print data in its check area CH 2 . The energization determination unit TD makes a determination and outputs the determination result to the register R2-1 . This results in endpoint E 1
Control is performed to lengthen the energization time.

第8図は本発明のサーマルプリンタのブロツク
図である。第8図において、20はMPU(マイク
ロプロセツサ)でありこのサーマルプリンタの総
括的制御部、21はROMであつてMPU20を
動作するのに必要なプログラム等が格納されるも
の、22はRAMであつて入力データを保持した
り、MPU20が動作するためのデータ処理用の
レジスタとして使用するもの、23は入出力ポー
トであり、このサーマルプリンタと外部装置とを
接続するものであり、サーマルプリンタで印字す
べき印刷データが入力されたり、印字結果を報告
する報告信号が出力されるもの、24は出力ポー
トであつてサーマルプリンタで使用される各種装
置、例えばスペース・モータ13、サーマル・ヘ
ツド14,アプローチ・エスケープ・モータ2
7、ライン・フイード・モータ28等を制御する
バツフア26−1〜26−4に対する制御信号等
を出力するもの、25は入力ポートであつてサー
マルプリンタに内蔵されている各種センサや応動
スイツチ等からの信号が入力されるものであり、
例えばサーマル・ヘツド14が用紙とどのような
状態にあるのかつまりサーマル・ヘツド14がど
こまで下つているのか、どこまで上つているのか
を検出するアプローチ検出用のマイクロスイツチ
30、キヤリア15が左端に位置しているかどう
かを検出する左端センサ31、用紙2の有無を検
出する用紙セツト・センサ32、サーマル・イン
ク・リボンがリボン・エンド状態であることをリ
ボンの最終端に設けられた銀紙等により検出する
リボン・エンド・センサ33等からの出力信号が
入力されるものである。このうち左端センサ3
1、用紙セツト・センサ32およびリボン・エン
ド・センサ33はフオトセンサで構成されている
ので、フオト・アンプ29のそれぞれのアンプ2
9−1〜29−3にて増幅された検出信号が入力
される。
FIG. 8 is a block diagram of a thermal printer according to the present invention. In FIG. 8, 20 is an MPU (microprocessor), which is a general control unit for this thermal printer, 21 is a ROM, which stores programs necessary to operate the MPU 20, and 22 is a RAM. 23 is an input/output port that is used to hold input data and as a data processing register for the operation of the MPU 20, and is used to connect this thermal printer with an external device. 24 is an output port into which print data to be printed is input and a report signal reporting the print result is output, and various devices used in a thermal printer, such as a space motor 13, a thermal head 14, Approach escape motor 2
7. Outputs control signals, etc. to buffers 26-1 to 26-4 that control line feed motor 28, etc., and 25 is an input port from various sensors, response switches, etc. built into the thermal printer. The signal is input,
For example, a micro switch 30 for approach detection that detects the state in which the thermal head 14 is in relation to the paper, that is, how far down or up the thermal head 14 is, and the carrier 15 are located at the left end. A left end sensor 31 detects whether the paper 2 is present, a paper set sensor 32 detects the presence or absence of the paper 2, and a silver paper or the like provided at the final end of the ribbon detects that the thermal ink ribbon is in the ribbon end state. Output signals from the ribbon end sensor 33 and the like are input. Of these, the leftmost sensor 3
1. Since the paper set sensor 32 and the ribbon end sensor 33 are composed of photo sensors, each amplifier 2 of the photo amplifier 29
The amplified detection signals are input at 9-1 to 29-3.

次にこの第8図の動作について説明する。 Next, the operation shown in FIG. 8 will be explained.

上位装置より入出力ポート23に対して印刷デ
ータが伝達されたとき、MPU20は一度これを
RAM22に記憶させ、ROM21の制御指示に
したがつてサーマル・ヘツド14に対して印字デ
ータを1ラインずつ供給して印字を行う。このと
きサーマル・ヘツド14が最初左端に位置してい
たかを左端センサ31が検出し、以降スペース・
モータ13がこのサーマル・ヘツド14を順次印
字方向に駆動する。そして1行分の印字が終る
と、アプローチ・エスケープ・モータ27がサー
マル・ヘツド14を用紙上より離し、スペース・
モータ13はサーマル・ヘツド14とサーマル・
インク・リボンを一緒に左端に移行させ、次行の
印刷を行う。勿論このときライン・フイード・モ
ータ28により用紙は改行される。用紙のなくな
つたときこれが用紙セツト・センサ32により検
知され、またサーマル・インク・リボンの取替が
必要になれば、これをリボン・エンド・センサ3
3が検出し、それぞれMPU20に報告すること
になる。
When print data is transmitted from the host device to the input/output port 23, the MPU 20
The data is stored in the RAM 22, and printing is performed by supplying print data line by line to the thermal head 14 according to control instructions from the ROM 21. At this time, the left end sensor 31 detects whether the thermal head 14 was initially located at the left end, and thereafter the space
A motor 13 sequentially drives this thermal head 14 in the printing direction. When one line of printing is finished, the approach/escape motor 27 moves the thermal head 14 away from the paper to create a space.
The motor 13 is connected to the thermal head 14 and the thermal head 14.
Shift the ink ribbon together to the left end and print the next line. Of course, at this time, the paper is fed a new line by the line feed motor 28. When the paper runs out, this is detected by the paper set sensor 32, and if the thermal ink ribbon needs to be replaced, it is detected by the ribbon end sensor 3.
3 will detect and report to the MPU 20 respectively.

ところでMPU20には、第9図に示す如く、
端点検出部40、端点通電判定部41、通電時間
制御部42、レジスタ部43等が設けられてい
る。端点検出部40および端点通電判定部41の
構成については後述詳記する。
By the way, the MPU20 has the following information as shown in Figure 9.
An end point detection section 40, an end point energization determination section 41, an energization time control section 42, a register section 43, and the like are provided. The configurations of the end point detection section 40 and the end point energization determination section 41 will be described in detail later.

例えば第5図に示す如き入力データに対して端
点検出が端点検出部40にて行われて端点E1
E2が検出され、第7図に示す如き状態で端点通
電判定部41が端点E1の通電時間を長くすべき
ものと判定したとき、第11図に示す如く、第5
図のレジスタR1の1〜3ドツトについては印字
制御は行われず、5〜16ドツトについては従来通
りの通電時間T0でサーマル・ヘツドの発熱素子
に対する通電制御が行われるが、第4のドツトに
対してはT0より前後に△Tだけ延長された時間
で発熱素子が通電されるので、この端点E1に対
する温度低下は防止され、正しい濃度、形状で印
字が行われることになる。なお第10図は本発明
との比較のために、従来の通電状態を示す。従来
の場合には、端点であろうと否とにかかわらず文
字パターン部分に対しては均一のT0の通電時間
で発熱素子を制御しているので、レジスタR1
文字パターンに対しては、第10図に示す如く、
1〜3ドツトに対しては通電せず、4〜16ドツト
に対してはいずれも通電時間T0で通電制御する
ことを示している ところで第12図に示す如く、サーマル・ヘツ
ド14には、各ドツト対応に16個の発熱素子h1
h16が設けられ、各発熱素子は一方にはそれぞれ
ドライバー(ダーリントン回路構成のトランジス
タ)D1〜D16が接続されている。したがつてこの
ドライバーに選択的にパルス信号を入力すれば、
このパルス幅に応じた時間だけ各発熱素子は発熱
される。
For example, the end point detection unit 40 performs end point detection on input data as shown in FIG .
When E 2 is detected and the end point energization determination unit 41 determines that the energization time of the end point E 1 should be lengthened in the state shown in FIG.
Printing control is not performed for dots 1 to 3 of register R1 in the figure, and for dots 5 to 16, energization control to the heating element of the thermal head is performed at the conventional energization time T0 , but the fourth dot Since the heating element is energized for a time extended by ΔT before and after T 0 , a temperature drop with respect to this end point E 1 is prevented, and printing is performed with the correct density and shape. Note that FIG. 10 shows a conventional energized state for comparison with the present invention. In the conventional case, the heating element is controlled with a uniform energization time of T 0 for the character pattern part regardless of whether it is an end point or not, so for the character pattern of register R 1 , As shown in Figure 10,
This shows that dots 1 to 3 are not energized, and dots 4 to 16 are energized for an energizing time T0.As shown in FIG. 12, the thermal head 14 has the following: 16 heating elements h 1 for each dot
h 16 is provided, and drivers (transistors having a Darlington circuit configuration) D 1 to D 16 are connected to one end of each heating element. Therefore, if you selectively input a pulse signal to this driver,
Each heating element generates heat for a time corresponding to this pulse width.

またスペース・モータ13はA相〜D相の4相
パルス・モータで構成され、それぞれ各相コイル
A〜Dに接続されたドライバー(ダーリントン回
路構成のトランジスタ)Da〜Ddを選択的にオ
ン・オフ制御することにより各相コイルA〜Dに
選択的に電流が流れ、例えば第14図に示す如
く、1・2相方式で制御されることになる。
In addition, the space motor 13 is composed of a four-phase pulse motor of A phase to D phase, and selectively turns on drivers (transistors with Darlington circuit configuration) D a to D d connected to each phase coil A to D. - By performing OFF control, current flows selectively to each phase coil A to D, and the control is performed in a 1/2 phase system, as shown in FIG. 14, for example.

スペース・モータ13は、起動のときA相が長
時間励磁され、次いでAB相、B相、BC相……
と順次励磁時間が短くなりこの加速時間が経過す
ると印字速度で定速運転される。この定速運転時
もA相、AB相、B相……と1・2相方式で制御
される。そして、第15図に示す如く、このスペ
ース・モータの相切換時点を基準としてサーマ
ル・ヘツド通電が行われる。サーマル・ヘツドの
発熱素子に対する通電は、この相切換時点よりt1
だけおくれて行われるが、端点通電制御を行う場
合にはこの相切換時点よりt2(t1>t2)だけおくれ
たときに通電開始される。
When the space motor 13 is started, the A phase is excited for a long time, then the AB phase, B phase, BC phase...
The excitation time is sequentially shortened, and when this acceleration time has elapsed, constant speed operation is performed at the printing speed. Even during this constant speed operation, the A phase, AB phase, B phase, etc. are controlled in a 1/2 phase system. Then, as shown in FIG. 15, the thermal head is energized based on the phase switching point of the space motor. The heating element of the thermal head is energized at t 1 from this phase switching point.
However, when end point energization control is performed, energization is started after a delay of t 2 (t 1 >t 2 ) from this phase switching point.

次に本発明の特徴的な端点検出制御および端点
通電判定制御について説明する。
Next, the characteristic end point detection control and end point energization determination control of the present invention will be explained.

端点検出制御および端点通電判定制御は、第1
6図に示す如く、端点検出部40、端点通電判定
部41および第1バツフアBU1〜第3バツフア
BU3、第1処理レジスタr1〜第4処理レジスタ
r4等により行われ、処理された結果得られた印刷
データを出力ボートpにセツトすることによりサ
ーマル・ヘツドの通電を行う。
The end point detection control and the end point energization determination control are performed in the first
As shown in FIG.
BU3, 1st processing register r 1 to 4th processing register
The thermal head is energized by setting the print data obtained as a result of processing such as r4 to the output port p.

A まず端点検出処理について2つの実施例を説
明する。
A First, two embodiments of end point detection processing will be described.

(1) 端点検出処理(第1実施例) この第1実施例では、第17図に示す如く、今
回印刷データが記入されている第3バツフアBU
3と、第1処理レジスタr1〜第3処理レジスタr3
を使用する。この第1処理レジスタr1はキヤリイ
が出力するように構成されている。
(1) End point detection processing (first embodiment) In this first embodiment, as shown in FIG.
3, and the first processing register r 1 to third processing register r 3
use. This first processing register r1 is configured to be output by the carry.

第18図のフローチヤートに示す如く、第3処
理レジスタr3をクリアし、次に第3バツフアBU
3にセツトされている今回印刷データを第1処理
レジスタr1に転記する。このとき第1処理レジス
タr1にセツトされた印刷データがオール「〓」で
なければ第2処理レジスタr2に16進で「0001」を
記入する。この結果、第2処理レジスタr2の最下
位ビツト1に「1」がセツトされ、第17図およ
び第19図aの状態になる。
As shown in the flowchart of Figure 18, the third processing register r3 is cleared, and then the third buffer BU
The current print data set to 3 is transferred to the first processing register r1 . At this time, if the print data set in the first processing register r1 are not all "〓", "0001" is written in hexadecimal in the second processing register r2 . As a result, "1" is set in the least significant bit 1 of the second processing register r2 , resulting in the states shown in FIGS. 17 and 19a.

この状態で第1処理レジスタr1を右方向にロー
テートする。このとき第1処理レジスタr1からキ
ヤリイが出力しないとき第2処理レジスタr2を左
方向にローテートする。この結果、第1処理レジ
スタr1及び第2処理レジスタr2は第19図bの如
くなる。
In this state, the first processing register r1 is rotated to the right. At this time, if the carry is not output from the first processing register r1 , the second processing register r2 is rotated to the left. As a result, the first processing register r 1 and the second processing register r 2 become as shown in FIG. 19b.

これで第1処理レジスタr1を右方向にローテー
トする。このときもキヤリイが出力しないので第
2処理レジスタr2は左方向にローテートされ、第
19図cの状態となる。それから第1処理レジス
タr1を右方向にローテートするがキヤリイが出力
されないので、第2処理レジスタr2も左方向にロ
ーテートされる。このようにして第19図dの状
態となる。そして第1処理レジスタr1を右方向に
出力すれば、第19図eの如く第1処理レジスタ
r1からキヤリイCR=「1」が出力されるので、こ
の時点で第2処理レジスタr2のデータを第3処理
レジスタr3にセツトする。このとき第19図dに
示す如く、第2処理レジスタr2はビツト4の部分
に「1」が存在しているので、これが第3バツフ
アBU3にセツトされた上端の端点E1を示してい
る。
This rotates the first processing register r1 to the right. At this time as well, since the carry does not output any output, the second processing register r2 is rotated to the left, resulting in the state shown in FIG. 19c. Then, the first processing register r1 is rotated to the right, but since no carry is output, the second processing register r2 is also rotated to the left. In this way, the state shown in FIG. 19d is reached. Then, if the first processing register r1 is output to the right, the first processing register
Carry CR=" 1 " is output from r1, so at this point the data in the second processing register r2 is set in the third processing register r3 . At this time, as shown in Figure 19d, since "1" exists in bit 4 of the second processing register r2 , this indicates the upper end point E1 set in the third buffer BU3. .

次に第3バツフアBU3のデータを再び第1処
理レジスタr1にセツトし、第2処理レジスタr2
16進表示で「8000」、つまり2進表示で「100……
00」をセツトする。これにより第1処理レジスタ
r1および第2処理レジスタr2は、第20図aの状
態にデータがセツトされる。そして第1処理レジ
スタr1を今度は左にローテートする。このとき第
1処理レジスタr1から第20図bに示す如くキヤ
リイCR=「1」が出力されるので、このとき第2
処理レジスタr2にセツトされたデータが下方端点
を示すことになるので、第2処理レジスタr2の状
態から第3バツフアBU3にセツトされた今回印
刷データの下端端点は最上位ビツト16であるこ
とがわかる。
Next, the data in the third buffer BU3 is set again in the first processing register r1 , and then in the second processing register r2 .
"8000" in hexadecimal notation, or "100..." in binary notation
00”. This allows the first processing register
The data of r 1 and second processing register r 2 are set to the state shown in FIG. 20a. Then, the first processing register r1 is now rotated to the left. At this time, carry CR="1" is output from the first processing register r1 as shown in FIG. 20b, so at this time the second
Since the data set in the processing register r2 indicates the lower end point, the lower end point of the current print data set in the third buffer BU3 from the state of the second processing register r2 must be the most significant bit 16. I understand.

(2) 端点検出処理(第2実施例) 端点検出の第2実施例を第21図および第22
図により説明する。この第2実施例では第3バツ
フアBU3に保持されている印刷データを第1処
理レジスタr1にセツトするとともに、カウンタと
して使用する第4処理レジスタr4に初期値をセツ
トし、第1処理レジスタr1をローテートする毎に
+1または−1し、キヤリイが出力するまでこれ
を続けるものである。以下これを第22図のフロ
ーチヤートを参照しつつ説明する。
(2) End point detection processing (second embodiment) The second embodiment of end point detection is shown in FIGS. 21 and 22.
This will be explained using figures. In this second embodiment, the print data held in the third buffer BU3 is set in the first processing register r1 , and an initial value is set in the fourth processing register r4 used as a counter. Each time r1 is rotated, it is incremented by +1 or -1, and this continues until the carry outputs. This will be explained below with reference to the flowchart of FIG.

まず、第2処理レジスタr2〜第4処理レジスタ
r4をクリヤし、第3バツフアBU3に記入されて
いる印刷データを第1処理レジスタr1に転記す
る。このとき第1処理レジスタr1にセツトされた
印刷データがオール「0」でなければ、第4処理
レジスタr4に「1」を加算する。これにより第4
処理レジスタr4に数値1が記入される。この状態
で第1処理レジスタr1を右方向にローテートす
る。このとき第1処理レジスタr1からキヤリイが
出力されないと、第4処理レジスタr4に更に+1
する。そして第1処理レジスタr1を右方向にロー
テートする。このようなことを第1処理レジスタ
r1からキヤリイCR=「1」が出力されるまで繰返
す。そしてキヤリイCR=「1」が出力されたとき
第4処理レジスタr4に記入された数値が第3バツ
フアBU3にセツトされた印刷データの上端端点
の位置を示すことになる。第21図の例では、第
1処理レジスタr1が4回右にローテートされたと
き、キヤリイCR=「1」が出力されるので、この
とき第4処理レジスタr4に記入された数値「4」
がこの印刷データの上端端点を示している。した
がつて第3処理レジスタr3に対してこの第4処理
レジスタr4のカウント値に相当するビツトを
「1」にすれば、第3処理レジスタr3に上端端点
をセツトすることができる。
First, the second processing register r2 to the fourth processing register
r4 is cleared and the print data written in the third buffer BU3 is transferred to the first processing register r1 . At this time, if the print data set in the first processing register r1 is not all "0", "1" is added to the fourth processing register r4 . This allows the fourth
The value 1 is written in the processing register r4 . In this state, the first processing register r1 is rotated to the right. At this time, if a carry is not output from the first processing register r 1 , the fourth processing register r 4 is further +1
do. Then, the first processing register r1 is rotated to the right. This kind of thing is done in the first processing register.
Repeat from r 1 until Carry CR="1" is output. When carry CR="1" is output, the numerical value written in the fourth processing register r4 indicates the position of the upper end point of the print data set in the third buffer BU3. In the example of FIG. 21, when the first processing register r1 is rotated to the right four times, carry CR="1" is output, so the value " 4 " written in the fourth processing register r4 at this time is output. ”
indicates the upper end point of this print data. Therefore, by setting the bit corresponding to the count value of the fourth processing register r4 to " 1 " in the third processing register r3, the upper end point can be set in the third processing register r3 .

このようにして上端端点がセツトされたら次に
下端端点をセツトする。このため、第3バツフア
BU3にセツトされた印刷データを再び第1処理
レジスタr1にセツトし、第4処理レジスタr4に今
度は数値17を初期セツトする。この数値17は
1列の印字データのビツト数より+1した数値を
示している。次にこの第4処理レジスタr4にセツ
トされた数値を−1し、それから第1処理レジス
タr1を左にローテートする。このときキヤリイ
CR=「1」が出力されるので、そのとき第4処理
レジスタr4のカウントした数値(このときは17−
1=16)に相当する第2処理レジスタr2のビツト
を「1」にする。つまり第2処理レジスタr2の16
番目のビツトが「1」にセツトされ、これが下端
端点の位置を示すことになる。
Once the upper end point is set in this way, the lower end point is then set. For this reason, the third buffer
The print data set in BU3 is set again in the first processing register r1 , and this time a numerical value 17 is initially set in the fourth processing register r4 . This numerical value 17 indicates a value obtained by adding 1 to the number of bits of one column of print data. Next, the value set in this fourth processing register r4 is decremented by 1, and then the first processing register r1 is rotated to the left. At this time, carry
Since CR="1" is output, the number counted by the fourth processing register r4 (in this case, 17-
1=16) is set to "1" in the second processing register r2 . In other words, 16 of the second processing register r 2
The th bit is set to ``1'' and indicates the location of the bottom endpoint.

B 端点通電判定制御について2つの実施例を説
明する。
B Two embodiments of end point energization determination control will be described.

(1) 端点通電判定制御(第1実施例) この第1実施例では、第23図に示す如く、
前々回印刷データが記入されている第1バツフア
BU1と、前回印刷データが記入されている第2
バツフアBU2と、第1処理レジスタr1〜第3処
理レジスタr3を使用する。この場合、第2処理レ
ジスタr2には前記Aにより下端端点E2がセツトさ
れ、第3処理レジスタr3には上端端点E1がセツト
されている。
(1) End point energization determination control (first embodiment) In this first embodiment, as shown in FIG.
The first buffer where the print data from the previous printing is entered
BU1 and 2nd BU where the previous print data was entered.
Buffer BU2 and first processing register r1 to third processing register r3 are used. In this case, the lower end point E2 is set in the second processing register r2 by the above A, and the upper end point E1 is set in the third processing register r3 .

第24図aのフローチヤートに示す如く、第
3処理レジスタr3の上端端点E1を第1処理レジ
スタr1に転記する。そして第1バツフアBU1
の前々回印刷データと、第1処理レジスタr1
データとを、各ビツト対応で論理積を求め、こ
の演算結果を第1処理レジスタr1にセツトす
る。そしてこれが、オール零か否か判定する。
この場合、前々回の印刷データは、第7図
R1-1に示され、また第1処理レジスタr1にはビ
ツト4の位置に上端端点E1を示す「1」が記
入されているのみで他のビツト1〜3,5〜16
は「0」である。それ故、上記第1処理レジス
タr1と第1バツフアBU1の各ビツト対応の論
理積はいずれも「0」である。もしこの論理積
の結果、「1」が出力されるということは、
前々回の印刷データのビツト4部分に「1」が
存在しており、印刷され加熱したことを示すの
で、この場合はE1の通電時間を長くする必要
はなく、第3処理レジスタr3にセツトされてい
る上端端点E1をクリアすることになる。
As shown in the flowchart of FIG. 24a, the upper end point E1 of the third processing register r3 is transferred to the first processing register r1 . And the first bath BU1
The logical product of the previous print data and the data in the first processing register r1 is calculated for each bit, and the result of this operation is set in the first processing register r1 . Then, it is determined whether this is all zero or not.
In this case, the print data from the previous printing is shown in Figure 7.
R1-1 , and in the first processing register r1 , only "1" indicating the upper end point E1 is written in the position of bit 4, and other bits 1 to 3 and 5 to 16 are written.
is "0". Therefore, the logical product of each bit of the first processing register r1 and the first buffer BU1 is "0". If “1” is output as a result of this logical product, then
"1" exists in the bit 4 part of the print data from the previous time, indicating that it was printed and heated, so in this case there is no need to lengthen the energization time of E1 , and it is set in the third processing register r3 . This will clear the upper end point E1 .

次に再び第3処理レジスタr3の上端端点E1
第1処理レジスタr1にセツトし、今度は第2バ
ツフアBU2とビツト対応に論理積を求め演算
結果を第1処理レジスタr1にセツトする。この
結果「1」があれば第3処理レジスタr3をクリ
アすることになるが、第2バツフアBU2の前
回印刷データが、第7図のレジスタR1-2に示
される場合には、オール「0」となる。
Next, set the upper end point E 1 of the third processing register r 3 in the first processing register r 1 again, and this time perform a logical product with the second buffer BU 2 corresponding to the bits and set the operation result in the first processing register r 1 . do. If the result is "1", the third processing register r3 will be cleared, but if the previous print data of the second buffer BU2 is shown in register R1-2 in FIG. 0".

次に第6図の領域,に印刷データが存在
するか否かがチエツクされる。このため第3処
理レジスタr3の上端端点E1を第1処理レジスタ
r1にセツトし、次にこれを左方向に1ビツトだ
けローテートする。そして第1処理レジスタr1
と第1バツフアBU1との論理積を求め、この
演算結果を第1処理レジスタr1にセツトしこれ
が「0」ならば、再び第3処理レジスタr3の上
端端点E1第1処理をレジスタr1にセツトしてこ
れを左方向に1ビツトローテートし、第2バツ
フアBU2の論理積を求めこの演算結果を第1
処理レジスタr1にセツトする。そしてこれが
「0」ならば次ので第6図の領域,のチ
エツクを行う。
Next, it is checked whether print data exists in the area shown in FIG. Therefore, the upper end point E 1 of the third processing register r 3 is set to the first processing register
Set r to 1 , then rotate it to the left by 1 bit. and the first processing register r 1
and the first buffer BU1, and set this operation result to the first processing register r1 . If this is "0", the upper end point E1 of the third processing register r3 is set to the first processing register r1 again. 1 , rotate it 1 bit to the left, calculate the AND of the second buffer BU2, and apply this operation result to the first buffer.
Set processing register r1 . If this is "0", then the area shown in FIG. 6 is checked.

このため第3処理レジスタr3の上端端点E1
第1処理レジスタr1にセツトしてこれを左方向
に2ビツトローテートし、第1バツフアBU1
との論理積を求めこの演算結果を第1処理レジ
スタr1にセツトする。これが「0」ならば再び
第3処理レジスタr3の上端端点E1を第1処理レ
ジスタr1にセツトし、これを左方向に2ビツト
ローテートし、今度はは第2バツフアBU2と
の論理積を求め、この演算結果を第1処理レジ
スタr1にセツトし、これが「0」か否か判定す
る。これが「0」ならば次ので第6図の領域
〜のチエツクを行うことになる。
Therefore, the upper end point E1 of the third processing register r3 is set to the first processing register r1 , and it is rotated 2 bits to the left, and the upper end point E1 of the third processing register r3 is set to the first processing register r1.
and the result of this operation is set in the first processing register r1 . If this is "0", the upper end point E1 of the third processing register r3 is set to the first processing register r1 again, this is rotated 2 bits to the left, and this time it is ANDed with the second buffer BU2. The result of this calculation is set in the first processing register r1 , and it is determined whether or not this is "0". If this is ``0'', the next check is performed in the areas ~ in Figure 6.

前記〜と同様に第3処理レジスタr3の上
端端点E1を第1処理レジスタr1に転記してこれ
を今度は右に1ビツトだけローテートし、第1
バツフアBU1および第2バツフアBU2との
論理積を求める。これらの演算結果の少くとも
一方が「0」でなければ第3処理レジスタr3
上端端点E1をクリアするが、両方とも「0」
ならば、第3処理レジスタr3の上端端点E1を第
1処理レジスタr1に転記してこれを右に2ビツ
ドローテートし、第1バツフアBU1、第2バ
ツフアBU2との論理積を求め、同様の処理を
行う。このようにして上端端点E1に関する演
算がすべて「0」の場合には、第3処理レジス
タr3に記入されている上端端点E1をそのまま残
して今度は下端端点E2に対する端点通電判定
制御に移行する。
Similarly to ~ above, transfer the upper end point E1 of the third processing register r3 to the first processing register r1 , rotate it to the right by 1 bit, and
A logical product is calculated between the buffer BU1 and the second buffer BU2. If at least one of these operation results is not "0", the upper end point E1 of the third processing register r3 is cleared, but both are "0".
If so, transfer the upper end point E1 of the third processing register r3 to the first processing register r1 , rotate it to the right by 2 bits, and find the AND with the first buffer BU1 and the second buffer BU2. , performs similar processing. In this way, if all the calculations regarding the upper end point E 1 are "0", the upper end end point E 1 written in the third processing register r 3 is left as is, and the end point energization judgment control is performed for the lower end end point E 2 . to move to.

今度は第24図bのフローチヤートに示す如
く、第2処理レジスタr2に記入されている下端
端点E2のデータを第1処理レジスタr1にセツト
し、第1バツフアBU1にセツトされている
前々回印刷データとの論理積を求める。前々回
印刷データが第7図のレジスタR1-1にセツト
されている状態の場合には、この演算結果に
「1」が存在するので、第2処理レジスタr2
クリアして下端端点E2のデータを消去し、下
端端点E2の印字のとき通電時間を延長しない。
This time, as shown in the flowchart of FIG. 24b, the data of the lower end point E2 written in the second processing register r2 is set in the first processing register r1 , and is set in the first buffer BU1. Calculate the logical product with the print data from the time before last. If the print data from the previous printing is set in register R1-1 in Fig. 7, this calculation result contains "1", so the second processing register r2 is cleared and the lower end point E2 is set. data is erased and the energization time is not extended when printing the lower end point E2 .

しかしこの論理積が「0」の場合には、再び
第2処理レジスタr2の下端端点E2のデータを第
1処理レジスタr1にセツトして、次に第2バツ
フアBU2にセツトされている前回印刷データ
との論理積を求める。これも「0」の場合には
前記上端端点E1に対する〜と同様に第2
処理レジスタr2の下端端点E2のデータを第1処
理レジスタr1にセツトしてこれを1ビツト、ま
たは2ビツト左または右にシフトして第1バツ
フアBBU1または第2バツフアBU2との論理
積を求める。そしてこれらのチエツクの結果い
ずれか1回でも「1」があれば、第2処理レジ
スタr2をクリアする。しかしいずれも「0」で
あれば、この下端端点E2を通電時間延長すべ
きものと判定することになる。
However, if this logical product is "0", the data at the lower end point E2 of the second processing register r2 is set again in the first processing register r1 , and then in the second buffer BU2. Calculate the logical product with the previous print data. If this is also "0", the second
Set the data at the lower end point E2 of the processing register r2 to the first processing register r1 , shift it 1 or 2 bits to the left or right, and perform a logical product with the first buffer BBU1 or the second buffer BU2. seek. If the result of these checks is "1" even once, the second processing register r2 is cleared. However, if both are "0", it is determined that the energization time should be extended for this lower end point E2 .

このようにして第2処理レジスタr2にセツト
された下端端点E2のデータと、第3処理レジ
スタr3にセツトされた上端端点E1のデータの論
理和を求め、これを第1処理レジスタr1にセツ
トする。そしてこの第1処理レジスタr1に記入
された端点のみを通電時間延長すべきものとし
て判定制御する。
In this way, the logical sum of the data of the lower end point E2 set in the second processing register r2 and the data of the upper end point E1 set in the third processing register r3 is calculated, and this is added to the first processing register. r Set to 1 . Then, only the end point written in this first processing register r1 is determined and controlled as the one whose energization time should be extended.

ところでこの第24図a,bで示した手順は基
本的な考え方に沿つたものであつて単純な処理の
繰返しのため、処理時間がかかる。それ故、処理
レジスタを1つ追加して、第6図のチエツク領域
10ドツトをまとめてチエツクする手順にすれば処
理時間は大幅に短縮できる。次にこれを第25
図、第26図a,bにもとづき、端点通電判定制
御の第2実施例として説明する。この第2実施例
では第2処理レジスタr2または第3処理レジスタ
r3の端点データからウインドウとなるデータを第
4処理レジスタr4に作成し、第1バツフアBU1、
第2バツフアBU2にセツトされている前々回、
前回の印刷データを論理和としてまとめて第1処
理レジスタr1に移行し、第1処理レジスタr1と第
4処理レジスタr4にてチエツクを行うようにした
ものであり、判定は上端と下端に分けて行う。
By the way, the procedure shown in FIGS. 24a and 24b is based on the basic concept and requires a long processing time because it is a simple process that is repeated. Therefore, by adding one processing register, we can check the check area in Figure 6.
Processing time can be significantly reduced by checking 10 dots at once. Next, add this to the 25th
26a and 26b, a second embodiment of end point energization determination control will be described. In this second embodiment, the second processing register r2 or the third processing register
Create window data from the end point data of r3 in the fourth processing register r4 , and
The previous time set in the second buffer BU2,
The previous print data is summarized as a logical sum and transferred to the first processing register r1 , and the first processing register r1 and the fourth processing register r4 are checked, and the judgment is made at the top and bottom edges. This will be done separately.

(2) 端点通電判定制御(第2実施例) まず第3処理レジスタr3の上端端点E1のデー
タを第1処理レジスタr1および第4処理レジス
タr4にセツトする。そして第1処理レジスタr1
を右に1ビツトだけローテートする。そしてこ
の状態で第1処理レジスタr1と第4処理レジス
タr4とのデータの論理和を演算してこれを第4
処理レジスタr4に記入する。
(2) End point energization determination control (second embodiment) First, the data of the upper end point E1 of the third processing register r3 is set in the first processing register r1 and the fourth processing register r4 . and the first processing register r 1
Rotate 1 bit to the right. In this state, the logical OR of the data in the first processing register r1 and the fourth processing register r4 is calculated and this is added to the fourth processing register r4.
Fill in processing register r4 .

前記演算の終了後第1処理レジスタr1を更に
右に1ビツトローテートする。この状態で第1
処理レジスタr1と第4処理レジスタr4とのデー
タの論理和を演算してこれを第4処理レジスタ
r4に記入する。
After the above operation is completed, the first processing register r1 is further rotated to the right by one bit. In this state, the first
The logical OR of the data of processing register r1 and fourth processing register r4 is calculated and this is sent to the fourth processing register.
Fill in r 4 .

次に再び第3処理レジスタr3の上端端点E1
データを第1処理レジスタr1にセツトして、今
度はこれを左方向に1ビツトローテートする。
この状態で第1処理レジスタr1と第4処理レジ
スタr4との論理和を求めこの演算結果を第4処
理レジスタr4に記入する。
Next, the data at the upper end point E1 of the third processing register r3 is set in the first processing register r1 again, and this time it is rotated 1 bit to the left.
In this state, the logical sum of the first processing register r1 and the fourth processing register r4 is calculated and the result of this operation is written in the fourth processing register r4 .

そして前記の演算終了後第1処理レジスタ
r1を更に左に1ビツトローテートする。この第
1処理レジスタr1と第4処理レジスタr4との論
理和を求めこれを第4処理レジスタr4に記入す
る。このようにして、第4処理レジスタr4には
上端端点E1を含めてその左右2ドツトの領域
に「1」が記入されたものとなる。
After the above operation is completed, the first processing register
Rotate r 1 further to the left by 1 bit. The logical sum of the first processing register r1 and the fourth processing register r4 is calculated and written in the fourth processing register r4 . In this way, "1" is written in the area of two dots on the left and right sides of the fourth processing register r4 , including the upper end point E1 .

それから第1バツフアBU1にセツトされた
前々回印刷データを第1処理レジスタr1に転記
してこれと第2バツフアBU2とのデータをビ
ツト対応に論理和を求め、その演算結果を第1
処理レジスタr1に記入する。
Then, the print data from the previous printing set in the first buffer BU1 is transferred to the first processing register r1 , and the logical sum of this data and the data in the second buffer BU2 is determined in correspondence with bits, and the result of the operation is transferred to the first processing register r1.
Fill in processing register r1 .

この第1処理レジスタr1と前記の演算結果
の記入された第4処理レジスタr4のデータとを
ビツト対応で論理積を求め、その演算結果を第
1処理レジスタr1にセツトする。このとき、第
6図においてCHで示される10ビツトのチエツ
ク領域に前々回または前回の印刷データが存在
すれば、この演算結果には「1」が存在するの
で、このときは第3処理レジスタr3にセツトさ
れている上端端点E1をクリアするが、印刷デ
ータが存在しなければこの演算結果はオール
「0」となり、上端端点E1は通電時間を延長す
べきものであると判定される。このようにして
上端端点E1についての判定が終了するので今
度は第26図bで示される下端端点E2に対す
る判定が行われる。
The logical product of this first processing register r1 and the data of the fourth processing register r4 in which the aforesaid operation result has been written is determined in correspondence with the bits, and the result of the operation is set in the first processing register r1 . At this time, if the print data from the previous or last time exists in the 10-bit check area indicated by CH in FIG . However, if there is no print data, the result of this calculation will be all "0", and it is determined that the upper end point E1 should have its energization time extended. Since the determination for the upper end point E1 is thus completed, the determination for the lower end point E2 shown in FIG. 26b is now performed.

下端端点E2に対する判定は、下端端点E2
記入されている第2処理レジスタr2のデータを
第1処理レジスタr1および第4処理レジスタr4
にそれぞれセツトし、以降は前記上端端点E1
に対する判定と同一の手順で行われるのでその
詳細は省略する。この結果、下端端点E2は通
電時間の延長が必要でない場合には、第2処理
レジスタr2がクリアされることになる。
The determination for the lower end point E 2 is performed by inputting the data of the second processing register r 2 in which the lower end end point E 2 is written into the first processing register r 1 and the fourth processing register r 4
from then on, the upper end point E 1
The details are omitted because the procedure is the same as the determination for . As a result, if the lower end point E2 does not require an extension of the energization time, the second processing register r2 will be cleared.

このようにして上端端点E1および下端端点
E2に関する判定が終了したとき、第2処理レ
ジスタr2と第3処理レジスタr3の各データの論
理和が演算され、その演算結果が第1処理レジ
スタr1にセツトされる。このようにして最終的
に第1処理レジスタr1にセツトされたデータに
対してのみ端点通電時間延長が行われることに
なる。
In this way the upper endpoint E 1 and the lower endpoint
When the determination regarding E2 is completed, the logical sum of each data in the second processing register r2 and the third processing register r3 is calculated, and the result of the calculation is set in the first processing register r1 . In this way, the end point energization time is extended only for the data finally set in the first processing register r1 .

本発明のサーマルプリンタにより例えば「H」
を印字するときは、第27図に示す如く、Hの左
右両側の上下端点のみ他の印刷データよりサーマ
ル素子の通電時間を長くする。これにより端点部
分も正しく印刷された印字品質のすぐれた印刷を
行うことができる。
For example, "H" can be printed by the thermal printer of the present invention.
When printing, as shown in FIG. 27, only the upper and lower end points on both the left and right sides of H are energized for a longer time than other print data. As a result, it is possible to perform printing with excellent print quality in which even the end points are printed correctly.

なお本発明では、第11図に示す如く、通電時
間を延長するとき、通常の期間の前後にそれぞれ
△Tだけ延長することが望ましい。これは前、ま
たは後の一方にのみ延長したときその延長した部
分の方に少し突出部分が存在し、印字形態がやゝ
不自然な状態になることがあることを避けること
による。
In the present invention, as shown in FIG. 11, when extending the energization time, it is desirable to extend it by ΔT before and after the normal period. This is to avoid the possibility that when extending only to the front or the rear, a slightly protruding portion may exist on the extended portion, resulting in a somewhat unnatural print form.

〔発明の効果〕〔Effect of the invention〕

本発明によれば端点や孤立点を抽出して、これ
らの部分を、それまでの印刷状態にもとづき通電
時間を長くするように制御して印字するので、端
点の欠除や孤立点が薄いという状態を改善するこ
とができる。したがつて印字品質のすぐれたサー
マルプリンタを提供することができる。
According to the present invention, end points and isolated points are extracted, and these parts are printed by controlling the energization time to be extended based on the previous printing conditions, so that missing end points and isolated points are thin. condition can be improved. Therefore, it is possible to provide a thermal printer with excellent printing quality.

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

第1図a,bはサーマルプリンタの印字部分説
明図、同c,d,e,fは従来のサーマルプリン
タの問題点説明図、第2図は従来のサーマルプリ
ンタのヘツド制御状態説明図、第3図および第4
図はサーマルプリンタの構成図、第5図は端点検
出状態説明図、第6図、第7図は本発明における
端点通電判定状態説明図、第8図は本発明の概略
構成図、第9図は本発明の要部詳細図、第10図
は従来のサーマルプリンタの動作説明図、第11
図は本発明のサーマルプリンタの動作説明図、第
12図はサーマルヘツド制御部、第13図はスペ
ースモータ制御部、第14図はスペースモータ制
御状態説明図、第15図はサーマルヘツド通電状
態説明図、第16図は本発明の要部構成図、第1
7図〜第20図は端点検出第1実施例説明図、第
21図、第22図は端点検出第2実施例説明図、
第23図は端点通電判定の第1実施例に使用され
るバツフアおよびレジスタ、第24図は端点通電
判定第1実施例動作説明図、第25図は端点通電
判定第2実施例に使用されるバツフアおよびレジ
スタ、第26図は端点通電判定第2実施例動作説
明図、第27図は本発明における印字状態説明図
である。 図中、1はプラテン、2は用紙、3はサーマ
ル・インク・リボン、4はサーマル・ヘツド、5
は発熱部、10は上部カバー、11は用紙ホルダ
ー、12はサーマル・インク・リボン、13はス
ペース・モータ、14はサーマル・ヘツド、15
はキヤリア、20はマイクロプロセツサ、21は
ROM、22はRAM、23は入出力ポート、2
4は出力ポート、25は入力ポート、26はドラ
イバ、27はアプローチ・エスケープ・モータ、
28はライン・フイード・モータ、29はフオ
ト・アンプ、30はアプローチ検出用のマイクロ
スイツチ、31は左端センサ、32は用紙セツ
ト・センサ、33はリボン・エンド・センサ、4
0は端点検出部、41は端点通電判定部、42は
通電時間制御部、43はレジスタ部を示す。
Figures 1a and b are diagrams explaining the printing part of a thermal printer, c, d, e, and f are diagrams explaining the problems of a conventional thermal printer, and Figure 2 is a diagram explaining the head control state of a conventional thermal printer. Figures 3 and 4
5 is an explanatory diagram of the end point detection state, FIG. 6 and FIG. 7 are explanatory diagrams of the end point energization determination state in the present invention, FIG. 8 is a schematic diagram of the present invention, and FIG. 9 is a diagram of the configuration of the thermal printer. 10 is a detailed diagram of the main part of the present invention, FIG. 10 is an explanatory diagram of the operation of a conventional thermal printer, and FIG.
12 is a thermal head control section, FIG. 13 is a space motor control section, FIG. 14 is a space motor control state diagram, and FIG. 15 is a thermal head energization state diagram. Figure 16 is a configuration diagram of the main parts of the present invention,
7 to 20 are explanatory diagrams of the first embodiment of end point detection, FIGS. 21 and 22 are explanatory diagrams of the second embodiment of end point detection,
Figure 23 shows the buffer and register used in the first embodiment of end point energization determination, Figure 24 is an explanatory diagram of the operation of the first embodiment of end point energization determination, and Figure 25 is used in the second embodiment of end point energization determination. Buffer and register, FIG. 26 is an explanatory diagram of the operation of the second embodiment of end point energization determination, and FIG. 27 is an explanatory diagram of the printing state in the present invention. In the figure, 1 is the platen, 2 is the paper, 3 is the thermal ink ribbon, 4 is the thermal head, and 5 is the thermal ink ribbon.
10 is a heat generating part, 10 is an upper cover, 11 is a paper holder, 12 is a thermal ink ribbon, 13 is a space motor, 14 is a thermal head, 15
is the carrier, 20 is the microprocessor, 21 is the
ROM, 22 is RAM, 23 is input/output port, 2
4 is an output port, 25 is an input port, 26 is a driver, 27 is an approach/escape motor,
28 is a line feed motor, 29 is a photo amplifier, 30 is a micro switch for approach detection, 31 is a left end sensor, 32 is a paper set sensor, 33 is a ribbon end sensor, 4
0 indicates an end point detection section, 41 indicates an end point energization determination section, 42 indicates an energization time control section, and 43 indicates a register section.

Claims (1)

【特許請求の範囲】[Claims] 1 各々隣接して配置された複数の発熱素子を有
するサーマル・ヘツドと、印字媒体に対し、サー
マル・ヘツドを相対的に移送する手段と、印刷パ
ターンの端点又は孤立点を検出する端点検出部
と、該端点又は孤立点の印刷時点以前に印刷され
る印刷パターンから、該端点又は孤立点の近傍の
印刷パターンの有無を検出する手段と、端点又は
孤立点に対応する発熱素子の発熱量を端点又は孤
立点近傍の印刷パターンの有無に応じて制御する
手段とを備えることを特徴とするサーマルプリン
タ。
1 A thermal head having a plurality of heating elements arranged adjacent to each other, means for moving the thermal head relative to the print medium, and an end point detection section for detecting end points or isolated points of a print pattern. , means for detecting the presence or absence of a printed pattern near the end point or isolated point from a print pattern printed before the end point or isolated point, and detecting the amount of heat generated by the heating element corresponding to the end point or isolated point at the end point. or a means for controlling according to the presence or absence of a print pattern in the vicinity of an isolated point.
JP58201650A 1983-10-27 1983-10-27 Thermal printer Granted JPS6092879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58201650A JPS6092879A (en) 1983-10-27 1983-10-27 Thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58201650A JPS6092879A (en) 1983-10-27 1983-10-27 Thermal printer

Publications (2)

Publication Number Publication Date
JPS6092879A JPS6092879A (en) 1985-05-24
JPH0315551B2 true JPH0315551B2 (en) 1991-03-01

Family

ID=16444600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58201650A Granted JPS6092879A (en) 1983-10-27 1983-10-27 Thermal printer

Country Status (1)

Country Link
JP (1) JPS6092879A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100348203B1 (en) * 1994-08-17 2002-09-18 다이낑 고오교 가부시키가이샤 Process for producing pentafluoroethane

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1928213B1 (en) * 2006-11-30 2012-08-01 Harman Becker Automotive Systems GmbH Headtracking system and method
JP5293291B2 (en) * 2009-03-11 2013-09-18 ヤマハ株式会社 Speaker array device

Also Published As

Publication number Publication date
JPS6092879A (en) 1985-05-24

Similar Documents

Publication Publication Date Title
EP0193342B1 (en) Thermal printer
US4760408A (en) Color ink jet system printer
EP0280707B1 (en) Thermal printing control system
JPS6196870A (en) Drive method of thermal head
JPH0315551B2 (en)
JPH10109435A (en) Driving method of thermal line printer
US8137015B2 (en) Image forming method for determining a position of an ink ribbon with a boundary line
JPS642076B2 (en)
JPH0129712B2 (en)
JP2570363B2 (en) How to energize the thermal head in a thermal printer
JPS61217278A (en) Printing-controlling system for printer
JPS6259675B2 (en)
JPS6256076A (en) Color printer
JPS5842465A (en) Multi-color printer
JP2582349B2 (en) Thermal printer
KR100234145B1 (en) Print speed controlling method of thermal printer
JPH05305727A (en) Thermal transfer printer
JPS63286367A (en) End-face type thermal printer
JP3003791B2 (en) Color printing equipment
JP3150116B2 (en) Thermal head control circuit capable of multicolor printing and thermal head control method
JPH03146383A (en) Recorder
US6283648B1 (en) Thermal head control circuit and thermal head control method permitting multicolor printing
JPH11334128A (en) Thermal head of multicolor simultaneous print type and thermal printer using the same
JPH0671925A (en) Driving apparatus for thermal head
JPS60172560A (en) Recording apparatus