JPH0531942A - Thermal printer - Google Patents

Thermal printer

Info

Publication number
JPH0531942A
JPH0531942A JP19234291A JP19234291A JPH0531942A JP H0531942 A JPH0531942 A JP H0531942A JP 19234291 A JP19234291 A JP 19234291A JP 19234291 A JP19234291 A JP 19234291A JP H0531942 A JPH0531942 A JP H0531942A
Authority
JP
Japan
Prior art keywords
shift register
print data
printing
shift
data
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
JP19234291A
Other languages
Japanese (ja)
Inventor
Hideo Urata
秀夫 浦田
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP19234291A priority Critical patent/JPH0531942A/en
Publication of JPH0531942A publication Critical patent/JPH0531942A/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To prolong the life of a printer by avoiding a situation collectively using only the heating resistor of a specific part even when the printing of the same form is performed. CONSTITUTION:A printing format shift circuit 12 forms printing data D-1, D-2, D-3 respectively shifted in shifting timing by 1, 2, 3 dots (bits) on the basis of the printing data D taken in from a memory 14. For example, when the printing data D are taken in a shift register 11 to be outputted in parallel, heating registers R1-Rm generate heat corresponding to the printing data to perform the color development corresponding to one scanning line. This operation is continued to make it possible to form one printed matter. When the printing data D-1, D-2, D-3 are used, the heating resistors R1-Rm generate heat in a state respectively shifted by 1, 2, 3 dots to develop a color. The printing data D, D-1, D-2, D-3 are cyclically outputted at each time when paper is changed to the next one.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はサーマルプリンタに関
し、特に同一フォームの印字を毎回行うものに適用して
有用である。つまり、同一フォームの印字をしても、特
定の発熱抵抗体が集中して使用されることがないように
して、寿命を伸ばすようにしたものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thermal printer, and is particularly useful when applied to a printer that prints the same form every time. In other words, even if the same form is printed, the specific heat generating resistor is not concentratedly used and the life is extended.

【0002】[0002]

【従来の技術】有料道路の入口ゲート、出口ゲート、チ
ェックバリア、乗継券発行ゲート等のブース内には、有
料道路料金収受システム用の端末機が備えられる。図5
は端末機の一例を示している。この端末機1は、通行券
処理部2と、操作表示部3と、カード類処理部4と、領
収書発行部5を備えている。
2. Description of the Related Art Terminals for toll road toll collection systems are installed in booths such as entrance gates, exit gates, check barriers, and transfer ticket issuing gates of toll roads. Figure 5
Shows an example of a terminal. The terminal 1 includes a pass ticket processing unit 2, an operation display unit 3, a card processing unit 4, and a receipt issuing unit 5.

【0003】通行券処理部2は、この端末機1が有料道
路の入口ゲートに設置される場合には、ホッパ・スタッ
カ6のホッパ部から新通行券を取り出してこれに入口情
報を磁気記録及び印字し、挿入兼排出口7から排出する
という発券動作を行う。出口ゲートに設置される場合に
は、収受員が道路利用者から通行券を受け取って挿入兼
排出口7に挿入すると、この通行券の情報を読み取り、
出口情報を磁気記録及び印字してホッパ・スタッカ6の
スタッカ部に収納するという確認動作を行う。
When the terminal 1 is installed at the entrance gate of a toll road, the pass ticket processing unit 2 takes out a new pass ticket from the hopper section of the hopper / stacker 6 and magnetically records the entry information on it. A ticketing operation is performed in which printing is performed and the sheet is ejected from the insertion / ejection port 7. When installed at the exit gate, when the toll collector receives the pass ticket from the road user and inserts it into the insertion and discharge port 7, the information of this pass ticket is read,
A confirmation operation of magnetically recording and printing the exit information and storing it in the stacker portion of the hopper / stacker 6 is performed.

【0004】操作表示部3は、液晶表示器の上に透明な
タッチパネルを重ねた構成となっており、タッチパネル
をタッチすることにより操作指令を入力することができ
るとともに、液晶表示器により各種表示をすることがで
きる。
The operation display unit 3 has a structure in which a transparent touch panel is superposed on a liquid crystal display, and an operation command can be input by touching the touch panel, and various displays can be displayed by the liquid crystal display. can do.

【0005】カード類処理部4は、ICカードやクレジ
ットカードやハイウェイカードと称されるプリペイドカ
ード等を、利用者が料金支払の手段として用いるときの
カードの処理、並びに、収受員や保守員が保持するプレ
ートを読み取る処理を行うものである。各種カードは挿
入兼排出口8を介して挿排される。ハイウェイカードを
利用するときには、ハイウェイカードは、カード類処理
部4に挿入されて所要の処理(残金計算等)がされた
後、使用日時や残金が裏面に印字された後、挿入兼排出
口8から出てくる。このハイウェイカードには、1枚ご
とに固有の番号が磁気記録されている。
The card processing unit 4 processes a card when a user uses an IC card, a credit card, or a prepaid card called a highway card as a means of paying a fee, and a receipt person and a maintenance person. The process of reading the plate to be held is performed. Various cards are inserted and ejected through the insertion and ejection port 8. When using a highway card, the highway card is inserted into the card processing unit 4 and subjected to required processing (remaining amount calculation, etc.), after the date of use and remaining amount are printed on the back surface, and then the insertion / eject port 8 Come out of. A unique number is magnetically recorded on each highway card.

【0006】領収書発行部5は、図6に示すような領収
書Rを印字して発行する。
The receipt issuing unit 5 prints and issues a receipt R as shown in FIG.

【0007】カード類処理部4や領収書発行部5には感
熱式プリンタが組み込まれており、このプリンタヘッド
としてはライン型サーマルヘッドが採用されている。薄
膜技術を用いたライン型サーマルヘッドは、一走査線の
長さにわたって多数の発熱抵抗体を一列に並べた構成と
なっており、1ドット分を印字する発熱ドットの密度は
6〜8ドット/mmとなっている。なお厚膜技術を用いた
ライン型サーマルヘッドでは、棒状の発熱抵抗体を備え
ており、この発熱抵抗体に対し、1ドット分に相当する
区間に分けて、各区間ごとにパルス電圧を印加するか否
かを制御するようにしている。図6に示すように、例え
ばライン型サーマルヘッドHにより印字をするときに
は、領収書RはA方向に紙送りされつつ印字される。
A thermal printer is incorporated in the card processing section 4 and the receipt issuing section 5, and a line type thermal head is adopted as this printer head. A line type thermal head using thin film technology has a structure in which a large number of heating resistors are arranged in a line over the length of one scanning line, and the density of heating dots for printing one dot is 6 to 8 dots / It is mm. The line-type thermal head using the thick film technology is provided with a rod-shaped heat generating resistor, and a pulse voltage is applied to each of the heat generating resistors divided into sections corresponding to one dot. Whether or not it is controlled. As shown in FIG. 6, for example, when printing is performed by the line thermal head H, the receipt R is printed while being fed in the A direction.

【0008】[0008]

【発明が解決しようとする課題】ライン型サーマルヘッ
ドの寿命は、一般に走行寿命(印字した紙の送り方向長
さに相当する)とパルス寿命(発熱抵抗体にパルス電圧
を印加した回数に相当する)とで予測することができ
る。ところが、各用紙に対し印字する際に、毎回、同じ
字を同じ位置に多数印字する状態になると、この字を印
字する発熱抵抗体の使用頻度(パルス電圧印加頻度)が
高くなり、この部分の発熱抵抗体は他の部分の発熱抵抗
体に比べ、寿命が短かくなってしまう。このようにして
使用頻度の高い一部の発熱抵抗体の寿命が尽きてしまう
状態になると、印字を行っても、寿命が尽きた発熱抵抗
体により発色されるべきドットが抜けてしまい、いわゆ
る「歯抜け印字」になってしまう。
The life of the line type thermal head generally corresponds to the running life (corresponding to the length of the printed paper in the feeding direction) and the pulse life (the number of times the pulse voltage is applied to the heating resistor). ) And can be predicted. However, when printing a large number of the same characters at the same position each time when printing on each sheet, the heating resistor that prints these characters is used more frequently (pulse voltage application frequency), and The heating resistor has a shorter life than the heating resistors in other parts. In this way, when the life of a part of the heating resistors that are frequently used is exhausted, even if printing is performed, dots that should be colored due to the exhausted heating resistors are missing, and the so-called " The printout is missing.

【0009】例えば図6に示す領収書Rでは、各枚ごと
に「円」という字を多数回、同じ位置に印字しなければ
ならないため、「円」という字を構成する左側の縦線や
右側の縦線を印字する発熱抵抗体の使用頻度が高くな
り、この部分を印字する発熱抵抗体が他のものに対し早
く故障してしまう。上述した事情は、ハイウェイカード
に対して印字するときも同様である。
For example, in the receipt R shown in FIG. 6, since the character "circle" must be printed many times at the same position for each sheet, the left vertical line and the right side forming the character "circle" are formed. The heating resistor that prints the vertical line becomes more frequently used, and the heating resistor that prints this portion will fail faster than the others. The above-mentioned circumstances are the same when printing on a highway card.

【0010】本発明は、上記従来技術に関し、発熱抵抗
体の使用頻度を分散してライン型サーマルヘッドの寿命
を長くするサーマルプリンタを提供することを目的とす
る。
It is an object of the present invention to provide a thermal printer, which is related to the above-mentioned conventional technique, and which distributes the frequency of use of the heating resistors to prolong the life of the line type thermal head.

【0011】[0011]

【課題を解決するための手段】上記目的を達成する本発
明の構成は、バイナリーデータである印字データが直列
入力され、入力された印字データを並列出力するシフト
レジスタと、前記シフトレジスタの並列出力端に接続さ
れており、一定周期の各印字タイミングにおいて、シフ
トレジスタの並列出力のうちハイレベルになっている部
分に対応して、発熱抵抗体を駆動発熱するライン型サー
マルヘッドと、メモリから取り込んだ印字データを基
に、シフトレジスタに取り込むタイミングをずらした印
字データを作り、タイミングのずれていない印字データ
及びタイミングのずれている印字データのうち、いずれ
か1つの印字データを、印刷する1枚分の用紙が変わる
毎に、サイクリックにまたはランダムに選んで前記シフ
トレジスタに送る印字フォーマットシフト回路と、を有
することを特徴とする。
The structure of the present invention for achieving the above object is a shift register for serially inputting print data which is binary data and outputting the input print data in parallel, and a parallel output of the shift register. It is connected to the end, and at each printing timing of a fixed cycle, corresponding to the high level part of the parallel output of the shift register, it drives the heating resistor and generates heat from the line type thermal head and the memory. A print data is created by shifting the timing of loading the shift register based on the print data, and any one of the print data without timing deviation and the print data with timing deviation is printed. A mark sent cyclically or randomly to the shift register each time the minute paper changes. And having the format shift circuit.

【0012】[0012]

【作用】本発明では印字する用紙(領収書やハイウェイ
カード)が次の用紙に移ると、印字するフォームが横方
向に1〜数ドットずれるように印字データのシフト状態
が変わる。このため発熱抵抗体の使用頻度が分散され
る。
In the present invention, when the paper to be printed (receipt or highway card) moves to the next paper, the shift state of the print data is changed so that the form to be printed is laterally displaced by one to several dots. Therefore, the frequency of use of the heating resistor is dispersed.

【0013】[0013]

【実施例】以下に本発明の実施例を図面に基づき詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0014】図1は本発明の実施例を示す。同図に示す
ようにライン型サーマルヘッド10は、m個(設置密度
は5〜6個/mm)の発熱抵抗体R1〜Rm及びm個のナ
ンドゲートNAND1〜NANDmを備えている。VP
は電源の正電位端子である。このため、ナンドゲート出
力が「0」になるとそのナンドゲートに接続された発熱
抵抗体に電流が流れ、感熱紙を発色させることができ
る。
FIG. 1 shows an embodiment of the present invention. As shown in the figure, the line type thermal head 10 is provided with m heating resistors R1 to Rm (installation density is 5 to 6 / mm) and m NAND gates NAND1 to NANDm. V P
Is the positive potential terminal of the power supply. Therefore, when the output of the NAND gate becomes "0", a current flows through the heating resistor connected to the NAND gate, and the thermal paper can be colored.

【0015】シフトレジスタ11は、直列入力並列出力
型のシフトレジスタであり、シフトインクロックSCL
Kが入力される毎に、印字データD(「1」と「0」の
バイナリーデータ)を1ビットづつシフト(右送り)し
つつデータを取り込んでいく。
The shift register 11 is a serial input parallel output type shift register, and has a shift-in clock SCL.
Each time K is input, the print data D (binary data of “1” and “0”) is shifted by 1 bit (right feed) and fetched.

【0016】印字フォーマットシフト回路12は、DM
Aコントローラ13の制御によりメモリ14からDMA
(Direct Memory Access)転送された印字データDを受
ける。詳細は後述するが印字フォーマットシフト回路1
2は、図2に示すように、受けた印字データDをシフト
レジスタ11の動作開始タイミングに合せて出力する印
字データDと、この印字データDからそれぞれ1ビッ
ト、2ビット、3ビット遅れて出力される印字データD
−1,D−2,D−3を発生する。これら印字データD
−1,D−2,D−3のデータ内容は同一であるが、印
字フォーマットシフト回路12から出力されるタイミン
グ、つまり、シフトレジスタ11に取り込まれていくタ
イミングが1ビット(1ドット)分ずれたものとなって
いる。これら印字データD,D−1,D−2,D−3
は、コントローラ(CPU)15により、いずれか一つ
が選択されて出力される。なお図2のデータD,D−
1,D−2,D−3において、先端のデータは、図6の
領収書Rの例でいうと、第1走査線の左端のドットに相
当し、後端のデータは最終走査線の右端のデータに相当
する。
The print format shift circuit 12 is a DM
DMA from memory 14 under control of A controller 13
(Direct Memory Access) Receives the transferred print data D. The print format shift circuit 1 will be described in detail later.
As shown in FIG. 2, reference numeral 2 denotes print data D that outputs the received print data D in synchronization with the operation start timing of the shift register 11, and outputs the print data D with 1 bit, 2 bits, and 3 bits delayed respectively. Print data D
-1, D-2, D-3 are generated. These print data D
Although the data contents of -1, D-2, and D-3 are the same, the timing of output from the print format shift circuit 12, that is, the timing of being taken into the shift register 11 is deviated by 1 bit (1 dot). It has become a thing. These print data D, D-1, D-2, D-3
Any one is selected and output by the controller (CPU) 15. Data D and D- in FIG.
In D, D-2, and D-3, the data at the leading edge corresponds to the dot at the left end of the first scanning line in the example of the receipt R in FIG. 6, and the data at the trailing end corresponds to the right end of the final scanning line. Corresponding to the data of.

【0017】また、印字フォーマットシフト回路12
は、各走査線を発色させるタイミングで印字タイミング
信号HP を「1」にする。つまりシフトレジスタ11に
一走査線分のデータが新たに取り込まれる毎に、印字タ
イミング信号HP が「1」となる。ナンドゲートNAN
D1〜NANDmには印字タイミング信号HP 及びシフ
トレジスタ11の並列出力が入力されており、印字タイ
ミング信号HP が「1」となっているときに入力された
シフトレジスタ出力が「1」となっているナンドゲート
の出力が「0」となり、このナンドゲートに接続されて
いる発熱抵抗体に電流が流れ発色させることができる。
Further, the print format shift circuit 12
Is "1" print timing signal H P at the timing to develop the respective scan lines. That is, every time one scanning line data newly taken into the shift register 11, the print timing signal H P becomes "1". Nand Gate NAN
The D1~NANDm is input parallel output of the print timing signal H P and the shift register 11, shift register output that is input when the print timing signal H P is "1" is set to "1" The output of the current NAND gate becomes "0", and a current flows through the heating resistor connected to this NAND gate to develop color.

【0018】領収書発行枚数検出部16は、領収書を印
字する際に、領収書の発行枚数を検出して検出データを
CPU15へ送る。またハイウェイカードナンバー検出
部17は、ハイウェイカードが使用されてこのハイウェ
イカードに残金等を印字する際に、ハイウェイカードに
磁気記録されている固有のナンバーを検出し、このナン
バーの下1桁の数値データをCPU15へ送る。
When printing the receipt, the receipt issuance number detecting unit 16 detects the number of receipts issued and sends detection data to the CPU 15. The highway card number detection unit 17 detects the unique number magnetically recorded on the highway card when a highway card is used and the balance etc. is printed on the highway card, and the last digit of the number is detected. The data is sent to the CPU 15.

【0019】CPU15は、印字フォーマットシフト回
路12で発生した印字データD,D−1,D−2,D−
3のうち、いずれか1つのデータを、次のような条件に
合せて選択して出力させる。
The CPU 15 has print data D, D-1, D-2, D- generated by the print format shift circuit 12.
One of the three data is selected and output according to the following conditions.

【0020】つまり領収書を発行しているときには、次
表1に示す対応関係でもって印字データの選択をする。
That is, when the receipt is issued, the print data is selected according to the correspondence shown in Table 1 below.

【0021】[0021]

【表1】 [Table 1]

【0022】ハイウェイカードを使用するときには、次
表2に示す対応関係でもって印字データの選択をする。
When using a highway card, print data is selected according to the correspondence shown in Table 2 below.

【表2】 [Table 2]

【0023】たとえば印字データDが選択されて図6に
示すような領収書Rが図示した位置に印字されたとする
と、印字データD−1,D−2,D−3が選択されたと
きには、それぞれ、1ドット、2ドット、3ドット分だ
け文字が左方向にずれて印字が行なわれることになる。
この関係は、ハイウェイカードに印字するときも同様と
なる。このように、印字位置がずれていくので、同じ文
字(例えば「円」)を同じ位置に印字するときであって
も、用紙が次の用紙に変わると、使用(発熱)する発熱
抵抗体がずれるので、特定の発熱抵抗体だけが特に多く
使用されるという状態を回避することができる。つま
り、発熱抵抗体の使用頻度が分散され均一化されるの
で、全体としてサーマルヘッドの寿命が伸びる。なお、
印刷位置が1〜3ドットずれたとしても、そのずれ量は
僅であるので、人間が見てもそのずれはほとんどわから
ず、実用上はまったく問題はない。
For example, if the print data D is selected and the receipt R as shown in FIG. 6 is printed at the illustrated position, when the print data D-1, D-2, D-3 are selected, respectively. Characters are shifted by 1 dot, 2 dots, and 3 dots to the left, and printing is performed.
This relationship also applies when printing on a highway card. In this way, the printing position shifts, so even when the same character (for example, "circle") is printed at the same position, when the paper changes to the next paper, the heating resistor that is used (heats) Since it shifts, it is possible to avoid a state where only a specific heating resistor is used particularly often. That is, since the usage frequency of the heating resistors is dispersed and uniformized, the life of the thermal head is extended as a whole. In addition,
Even if the printing position deviates by 1 to 3 dots, the amount of the deviation is small, so even if seen by humans, the deviation is almost unknown and there is no problem in practical use.

【0024】次に印字フォーマットシフト回路12の詳
細な構成及び動作を、図3及び図4を参照しつつ説明す
る。この印字フォーマットシフト回路12は、DMA転
送によってメモリから8bit (ビット)単位で印字デー
タDを受け取り、それをシリアルデータに変換してサー
マルヘッドにシフトインする回路であり、CPUから印
字フォーマットのずらし量を設定しておくことによっ
て、印字データを水平方向に設定量ずらす回路である。
Next, the detailed configuration and operation of the print format shift circuit 12 will be described with reference to FIGS. The print format shift circuit 12 is a circuit that receives print data D from the memory in units of 8 bits by DMA transfer, converts the print data D into serial data, and shifts the serial data into the thermal head, and shifts the print format from the CPU. Is a circuit for shifting the print data in the horizontal direction by the setting amount.

【0025】図3において入力ラッチ回路INLは、D
MAの応答サイクル(DAK)において、メモリからバ
スを通して送られた印字データD0〜D7をラッチし、
出力端子Q1〜Q7から出力する。
In FIG. 3, the input latch circuit INL is D
In the MA response cycle (DAK), the print data D0 to D7 sent from the memory through the bus are latched,
Output from the output terminals Q1 to Q7.

【0026】コマンドレジスタCMRには、CPUによ
り印字フォーマットのずらし量と、DMA転送の開始ま
たは終了タイミングが設定される。3bit のバイナリカ
ウンタBCTは印字データシフトサイクルをカウント
し、クロックイネーブルCEが「1」の間クロックCL
Kをカウントし、外部のゲートによりカウント「0」と
カウント「1」を出力する。
In the command register CMR, the shift amount of the print format and the start or end timing of DMA transfer are set by the CPU. The 3-bit binary counter BCT counts the print data shift cycle, and while the clock enable CE is "1", the clock CL
K is counted, and a count “0” and a count “1” are output by an external gate.

【0027】プリセット付シフトレジスタPSRは、P
=1でクロックCLKが立上った時に印字データD0〜
D7を内部のシフトレジスタにプリセットし、P=0で
クロックCLKが立上った時にLSB(Least Signific
ant Bit :最小桁)方向(S7→S0)にレジスタ内容
を1bitシフトする。
The shift register PSR with preset is P
= 1, the print data D0 to 0 when the clock CLK rises
D7 is preset in the internal shift register, and when the clock CLK rises at P = 0, the LSB (Least Significant
ant Bit: The register contents are shifted by 1 bit in the direction of the smallest digit (S7 → S0).

【0028】DタイプフリップフロップFD0は、DM
A転送信号を、バイナリ付カウンタBCTのカウントが
0でクロックCLKの立上り時にラッチする。Dタイプ
フリップフロップFD1,FD2,FD3は、シフトレ
ジスタとして使用され、本発明の印字データのずらし調
整に用いられる。
The D type flip-flop FD0 is DM
The A transfer signal is latched when the counter BCT with binary has a count of 0 and the clock CLK rises. The D type flip-flops FD1, FD2, FD3 are used as shift registers and are used for shift adjustment of the print data of the present invention.

【0029】8bit シフトレジスタSR8は、入力端子
SIのデータ内容を8bit 遅られて出力端子S0から出
力する。
The 8-bit shift register SR8 delays the data content of the input terminal SI by 8 bits and outputs it from the output terminal S0.

【0030】ずらし量調整のセレクタSELは、F1,
F2の2bit の組合せで示されるS0〜S3の1つをセ
レクトし、印字データD,D−1,D−2,D−3のう
ちの1つを出力する。この選択された印字データが、図
1のシフトレジスタ11へ送られる。
The selector SEL for adjusting the shift amount is F1,
One of S0 to S3 indicated by the combination of 2 bits of F2 is selected and one of the print data D, D-1, D-2, D-3 is output. The selected print data is sent to the shift register 11 in FIG.

【0031】次に、図3、図4を参照して動作を説明す
る。この印字フォーマットシフト回路12は、CPUに
よりコマンドレジスタCMRのD2bit に「1」を書込
むことによって起動される。また、同時に書込まれるD
0,D1ビットの組合せにより、印字位置(印字フォー
マット)のずらし量を0〜3ビットの範囲で調整でき
る。
Next, the operation will be described with reference to FIGS. The print format shift circuit 12 is activated by the CPU writing "1" in the D2 bit of the command register CMR. Also, D written at the same time
By combining 0 and D1 bits, the shift amount of the print position (print format) can be adjusted within the range of 0 to 3 bits.

【0032】図4におけるのタイミングでコマンドレ
ジスタCMRは設定され、DタイプフリップフロップF
D0がクロックCLKの立上りでラッチされてバイナリ
カウンタBCTのカウントがイネーブルになるととも
に、DMAコントローラへの転送要求信号DR0が
「1」となる。
At the timing shown in FIG. 4, the command register CMR is set and the D type flip-flop F
D0 is latched at the rising edge of the clock CLK, the count of the binary counter BCT is enabled, and the transfer request signal DR0 to the DMA controller becomes "1".

【0033】DMAの応答サイクルである図4ののタ
イミングでメモリのデータが入力ラッチ回路INLに8
bit パラレルでラッチされる。最初の転送要求信号DR
0から8クロック後にシフトレジスタSR8の出力は
「1」となり、サーマルヘッドへ送られるシフトインク
ロックSCLKが有効になるとともに、入力ラッチ回路
INLの出力はプリセット付レジスタPSRにプリセッ
トされ最下位ビットがセレクタSELのS0に入力され
る。セレクタSELの出力は、コマンドレジスタCMR
のQ0,Q1出力の組合せでS0〜S3の1つがセレク
トされ、図1のシフトレジスタ11に出力される。
At the timing shown in FIG. 4, which is the response cycle of DMA, the memory data is transferred to the input latch circuit INL by 8 times.
It is latched in bit parallel. First transfer request signal DR
After 0 to 8 clocks, the output of the shift register SR8 becomes "1", the shift-in clock SCLK sent to the thermal head becomes valid, and the output of the input latch circuit INL is preset in the preset register PSR and the least significant bit is selected. Input to S0 of SEL. The output of the selector SEL is the command register CMR.
One of S0 to S3 is selected according to the combination of Q0 and Q1 outputs and is output to the shift register 11 in FIG.

【0034】結局、コマンドレジスタCMRのずらし量
設定にしたがって、シフトレジスタ11(図1)に出力
される印字データD,D−1,D−2,D−3の先頭ビ
ットは、図4のの範囲に調整することができる。
After all, the head bits of the print data D, D-1, D-2, D-3 output to the shift register 11 (FIG. 1) according to the shift amount setting of the command register CMR are as shown in FIG. Can be adjusted to range.

【0035】以上述べたデータシフト、サーマルヘッド
へのデータシフトインは印字1ラインについてである
が、各ラインにおけるずらし量は同じにして印字をす
る。そして、領収書1枚ごとにずらし量をサイクリック
に変えることによって特定ドットへの印加パルス頻度を
分散することができる。
The data shift and the data shift-in to the thermal head described above are for one printing line, but printing is performed with the same shift amount in each line. Then, by changing the shift amount cyclically for each receipt, it is possible to disperse the applied pulse frequency to the specific dots.

【0036】[0036]

【発明の効果】以上実施例を基に具体的に説明したよう
に、本発明によれば、同一フォームの印字をしても、印
字用紙が次のものに変わる毎に印字フォームの位置が全
体的に1〜数ドット分だけ横ずれして印字を行うため、
同一の発熱抵抗体を集中して使用することが避けられ
る。このように発熱抵抗体の使用頻度を分散して均一化
するようにしたので、同一フォームの印字をしても、寿
命が長くなる。
As described above in detail with reference to the embodiments, according to the present invention, even if the same form is printed, the position of the printing form is changed as a whole every time the printing paper is changed to the next one. Printing is performed by laterally shifting one to several dots,
Concentrated use of the same heating resistor can be avoided. As described above, since the heating resistors are used in a distributed manner so as to be uniform, even if the same form is printed, the service life is extended.

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

【図1】本発明の実施例を示すブロック回路図。FIG. 1 is a block circuit diagram showing an embodiment of the present invention.

【図2】印字データのシフト状態を示す説明図。FIG. 2 is an explanatory diagram showing a shift state of print data.

【図3】印字フォーマットシフト回路の詳細を示すブロ
ック回路図。
FIG. 3 is a block circuit diagram showing details of a print format shift circuit.

【図4】印字フォーマットシフト回路の信号を示すタイ
ムチャート。
FIG. 4 is a time chart showing signals of a print format shift circuit.

【図5】端末機を示す斜視図。FIG. 5 is a perspective view showing a terminal.

【図6】領収書を示す平面図。FIG. 6 is a plan view showing a receipt.

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

10 ライン型サーマルヘッド 11 シフトレジスタ 12 印字フォーマットシフト回路 13 DMAコントローラ 14 メモリ 15 CPU 16 領収書発行枚数検出部 17 ハイウェイカードナンバー検出部 10 line type thermal head 11 shift register 12 printing format shift circuit 13 DMA controller 14 memory 15 CPU 16 receipt issued number detector 17 highway card number detector

Claims (1)

【特許請求の範囲】 【請求項1】 バイナリーデータである印字データが直
列入力され、入力された印字データを並列出力するシフ
トレジスタと、 前記シフトレジスタの並列出力端に接続されており、一
定周期の各印字タイミングにおいて、シフトレジスタの
並列出力のうちハイレベルになっている部分に対応し
て、発熱抵抗体を駆動発熱するライン型サーマルヘッド
と、 メモリから取り込んだ印字データを基に、シフトレジス
タに取り込むタイミングをずらした印字データを作り、
タイミングのずれていない印字データ及びタイミングの
ずれている印字データのうち、いずれか1つの印字デー
タを、印刷する1枚分の用紙が変わる毎に、サイクリッ
クにまたはランダムに選んで前記シフトレジスタに送る
印字フォーマットシフト回路と、 を有することを特徴とするサーマルプリンタ。
Claims: 1. A shift register for serially inputting print data, which is binary data, and outputting the input print data in parallel, and a shift register connected to a parallel output terminal of the shift register for a fixed period. At each printing timing of the shift register, the line type thermal head that drives the heating resistor to generate heat corresponds to the high level part of the parallel output of the shift register and the shift register based on the print data fetched from the memory. Create print data with a different timing to import to
Either one of the print data with no timing deviation and the print data with timing deviation is selected in the shift register cyclically or randomly every time one sheet of paper to be printed changes. A thermal printer, comprising: a print format shift circuit for sending.
JP19234291A 1991-07-31 1991-07-31 Thermal printer Pending JPH0531942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19234291A JPH0531942A (en) 1991-07-31 1991-07-31 Thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19234291A JPH0531942A (en) 1991-07-31 1991-07-31 Thermal printer

Publications (1)

Publication Number Publication Date
JPH0531942A true JPH0531942A (en) 1993-02-09

Family

ID=16289682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19234291A Pending JPH0531942A (en) 1991-07-31 1991-07-31 Thermal printer

Country Status (1)

Country Link
JP (1) JPH0531942A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08108561A (en) * 1994-10-07 1996-04-30 Nec Corp Control device for thermal transfer printing head
JP2002211024A (en) * 2001-01-15 2002-07-31 Oki Electric Ind Co Ltd Print controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08108561A (en) * 1994-10-07 1996-04-30 Nec Corp Control device for thermal transfer printing head
JP2002211024A (en) * 2001-01-15 2002-07-31 Oki Electric Ind Co Ltd Print controller

Similar Documents

Publication Publication Date Title
US4858138A (en) Secure vault having electronic indicia for a value printing system
US3803628A (en) Apparatus and method for postionally controlled document marking
JPH02501646A (en) Dot printer with data latch selection token bit and driver circuit used for the printer
US5412406A (en) Line head driving with batch-printing
JPH0531942A (en) Thermal printer
JP2557049B2 (en) Printing method of thermal printer
US6606108B2 (en) Thermal print head high-speed driving apparatus and method
US4425844A (en) Home pulse compensation for multiple speed line printer
US4956717A (en) Method of and apparatus for controller duplex page printer
US7990563B2 (en) Printing unit and inkjet recording apparatus
EP0303124A1 (en) Control for enabling flight timing of hammers during printing
JPS6045892A (en) Frequency display system for stored card
JPH02209249A (en) Life control of printing head and dot impact printer
JP2673052B2 (en) Label printer
JPS5832933Y2 (en) Half dot print control device
JP2582349B2 (en) Thermal printer
JPH10324015A (en) Thermal printer
JPH0740556A (en) Record medium handling device
JP3053258B2 (en) Recording medium processing apparatus and recording medium processing method
JPH08224868A (en) Recording device
JP3525826B2 (en) Time clock
JPS6072757A (en) Thermal recorder
JPS6264571A (en) Thermal recorder
JPH0379371A (en) Printing control circuit
JPS6114968A (en) Dot printer

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991005